swig/autogen.sh
Dave Beazley 814eeca449 Use glibtoolize on Mac OSX
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 18:51:43 +00:00

23 lines
809 B
Bash
Executable file

#! /bin/sh
# Bootstrap the development environment - add extra files needed to run configure.
# Note autoreconf should do what this file achieves, but it has a bug when working with automake!
# The latest config.guess and config.sub should be copied into Tools/config and checked into CVS
# when upgrading the autotools. Otherwise this script will ensure the latest is copied from
# your autotool installation.
set -x
test -d Tools/config || mkdir Tools/config
aclocal -I Tools/config
autoheader
# Note: on Mac OS X there is a different program 'libtoolize' that is definitely not
# what we want to run. Instead, we want to use 'glibtoolize'
if test -x /usr/bin/glibtoolize; then
glibtoolize --force --copy
else
libtoolize --force --copy
fi
automake --add-missing --copy --force-missing
autoconf