libtoolize is called glibtoolize on Mac OS X

This commit is contained in:
Tobias Brunner 2009-05-05 08:02:07 -04:00
parent a8d938ca18
commit af05cc564c
1 changed files with 14 additions and 1 deletions

View File

@ -1,5 +1,18 @@
#!/bin/sh
libtoolize --force &&
LIBTOOLIZE=`which glibtoolize 2>/dev/null`
case "$LIBTOOLIZE" in
/* ) ;;
* ) LIBTOOLIZE=`which libtoolize 2>/dev/null`
case "$LIBTOOLIZE" in
/* ) ;;
* ) LIBTOOLIZE=libtoolize
;;
esac
;;
esac
$LIBTOOLIZE --force &&
aclocal &&
automake -a &&
autoconf