mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-02 09:54:29 +00:00
add handling of empty LIBTOOLIZE env variable to autotool.sh
fix for miguelfreitas/twister-core#393
This commit is contained in:
parent
30a5ebafa6
commit
3a660bc649
@ -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
|
version_check automake AUTOMAKE "automake automake-1.11 automake-1.10" $REQUIRED_AUTOMAKE_VERSION || exit 1
|
||||||
ACLOCAL=`echo $AUTOMAKE | sed s/automake/aclocal/`
|
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
|
version_check libtool LIBTOOLIZE "libtoolize glibtoolize" $REQUIRED_LIBTOOL_VERSION || exit 1
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user