-rwxr-xr-x | autogen.sh | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,9 +1,12 @@ #!/bin/sh -WANT_AUTOMAKE=1.8 -export WANT_AUTOMAKE -libtoolize -f \ -&& aclocal \ +test -r autogen.local && source autogen.local +test -z "$tool_libtoolize" && tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)" +if test -z "$tool_libtoolize" ; then + echo "Failed to find libtoolize." ; exit 1; +fi + "$tool_libtoolize" -f \ +&& aclocal ${ACLOCAL_FLAGS} \ && autoheader \ && automake -a \ && autoconf \ -&& ./configure "$@" +&& ./configure ${CONFIGURE_FLAGS} "$@" |