[autogen.sh] Prefer glibtoolize to libtoolize if available

Makes OS X users happy.
This commit is contained in:
Behdad Esfahbod 2008-08-27 17:59:13 -04:00
parent 98942f99f3
commit 50b2076a54
2 changed files with 1 additions and 7 deletions

View file

@ -172,11 +172,6 @@ the autogen.sh script. That can be as simple as:
./autogen.sh
Or, if you're using Mac OS X, you'll have to let it know to use
glibtool by instead doing:
LIBTOOLIZE=glibtoolize ./autogen.sh
But before you run that command, note that the autogen.sh script
accepts all the same arguments as the configure script, (and in fact,
will generate the configure script and run it with the arguments you

View file

@ -14,7 +14,6 @@ cd $srcdir
PACKAGE=cairo
LIBTOOLIZE=${LIBTOOLIZE-libtoolize}
LIBTOOLIZE_FLAGS="--copy --force"
AUTOHEADER=${AUTOHEADER-autoheader}
AUTOMAKE_FLAGS="--add-missing --foreign"
@ -142,7 +141,7 @@ version_check automake AUTOMAKE "$AUTOMAKE automake automake-1.10 automake-1.9 a
ACLOCAL=`echo $AUTOMAKE | sed s/automake/aclocal/`
version_check libtool LIBTOOLIZE $LIBTOOLIZE $libtoolize_min_vers \
version_check libtool LIBTOOLIZE "$LIBTOOLIZE glibtoolize libtoolize" $libtoolize_min_vers \
"http://ftp.gnu.org/pub/gnu/libtool/libtool-${libtool_min_vers}.tar.gz" || DIE=1
if test -z "$ACLOCAL_FLAGS"; then