Use env variable LIBTOOLIZE if it's set

This commit is contained in:
Yevgen Muntyan 2012-08-04 00:38:53 -07:00
parent dc47fce234
commit 327777abb9

View File

@ -2,6 +2,7 @@
[ -z "$AUTOCONF" ] && AUTOCONF=autoconf
[ -z "$AUTOHEADER" ] && AUTOHEADER=autoheader
[ -z "$AUTOMAKE" ] && AUTOMAKE=automake
[ -z "$LIBTOOLIZE" ] && LIBTOOLIZE=libtoolize
workingdir=`pwd`
rel_srcdir=`dirname "$0"`
@ -14,7 +15,7 @@ run_cmd() {
"$@" || exit $!
}
run_cmd libtoolize --copy --force
run_cmd $LIBTOOLIZE --copy --force
run_cmd $ACLOCAL --force -I m4 $ACLOCAL_FLAGS
run_cmd $AUTOCONF --force