diff options
author | Vincent Richard <[email protected]> | 2010-03-06 12:48:39 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2010-03-06 12:48:39 +0000 |
commit | f69f48437fa66a05fcfa09284d9dfc85d8b20d2a (patch) | |
tree | 2054c45daf8937ae1e09e5585077b920c556e59c | |
parent | Fixed shebang for systems that don't have /bin/bash. (diff) | |
download | vmime-f69f48437fa66a05fcfa09284d9dfc85d8b20d2a.tar.gz vmime-f69f48437fa66a05fcfa09284d9dfc85d8b20d2a.zip |
Use 'glibtoolize' instead of 'libtoolize' on MacOSX.
-rwxr-xr-x | bootstrap | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -13,6 +13,13 @@ rm -Rf autom4te.cache (mkdir autotools >& /dev/null) (cd autotools && rm -f config.guess config.sub missing mkinstalldirs compile ltmain.sh depcomp install-sh) +# Check for "glibtoolize" instead of "libtoolize" on OSX +LIBTOOLIZE=libtoolize +if which glibtoolize > /dev/null 2>&1; then + LIBTOOLIZE=glibtoolize +fi + + DIE=0 echo "" @@ -36,7 +43,7 @@ if test $DIE = 0 ; then fi if test $DIE = 0 ; then - echo -n "* Running libtoolize... " ; (libtoolize --copy --force --automake >& bootstrap.tmpout) \ + echo -n "* Running libtoolize... " ; ($LIBTOOLIZE --copy --force --automake >& bootstrap.tmpout) \ && (echo "[OK]" ; cat bootstrap.tmpout ; rm -f bootstrap.tmpout) \ || (echo "[NO]" ; cat bootstrap.tmpout ; rm -f bootstrap.tmpout ; not_a_command >& /dev/null) || DIE=1 fi |