diff -r 3b24a0bd41ee -r 3f841a46eab5 autogen.sh --- a/autogen.sh Wed Jan 07 17:17:10 2009 +0000 +++ b/autogen.sh Fri Oct 17 10:10:57 2014 +0100 @@ -20,7 +20,7 @@ DIE=1 } -(grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && { +(grep "^LT_INIT\|^A[MC]_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && { (libtool --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have libtool installed." @@ -76,7 +76,7 @@ aclocalinclude="-I gl/m4 $ACLOCAL_FLAGS" - if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then + if grep "^LT_INIT\|^A[MC]_PROG_LIBTOOL" configure.ac >/dev/null; then if test -z "$NO_LIBTOOLIZE" ; then echo "Running libtoolize..." libtoolize --force --copy