Merge pull request #395 from slr/patch-autotool.sh

add handling of empty LIBTOOLIZE env variable to autotool.sh
This commit is contained in:
miguelfreitas 2016-11-07 21:38:53 -02:00 committed by GitHub
commit 57da812564

View File

@ -138,6 +138,13 @@ AUTOHEADER=`echo $AUTOCONF | sed s/autoconf/autoheader/`
version_check automake AUTOMAKE "automake automake-1.11 automake-1.10" $REQUIRED_AUTOMAKE_VERSION || exit 1
ACLOCAL=`echo $AUTOMAKE | sed s/automake/aclocal/`
if [ "$LIBTOOLIZE" = "" ]; then
if [ "`uname`" = "Darwin" ]; then
LIBTOOLIZE=glibtoolize
else
LIBTOOLIZE=libtoolize
fi
fi
version_check libtool LIBTOOLIZE "libtoolize glibtoolize" $REQUIRED_LIBTOOL_VERSION || exit 1
##########################################