Use 'glibtoolize' instead of 'libtoolize' on MacOSX.
This commit is contained in:
parent
9a94a5cac7
commit
f69f48437f
@ -13,6 +13,13 @@ rm -Rf autom4te.cache
|
|||||||
(mkdir autotools >& /dev/null)
|
(mkdir autotools >& /dev/null)
|
||||||
(cd autotools && rm -f config.guess config.sub missing mkinstalldirs compile ltmain.sh depcomp install-sh)
|
(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
|
DIE=0
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
@ -36,7 +43,7 @@ if test $DIE = 0 ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test $DIE = 0 ; then
|
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 "[OK]" ; cat bootstrap.tmpout ; rm -f bootstrap.tmpout) \
|
||||||
|| (echo "[NO]" ; cat bootstrap.tmpout ; rm -f bootstrap.tmpout ; not_a_command >& /dev/null) || DIE=1
|
|| (echo "[NO]" ; cat bootstrap.tmpout ; rm -f bootstrap.tmpout ; not_a_command >& /dev/null) || DIE=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user