autogen.sh
changeset 460 b8638c3c7eee
parent 323 3b24a0bd41ee
     1.1 --- a/autogen.sh	Wed Jan 07 17:17:10 2009 +0000
     1.2 +++ b/autogen.sh	Wed Oct 22 12:09:47 2014 +0100
     1.3 @@ -20,7 +20,7 @@
     1.4    DIE=1
     1.5  }
     1.6  
     1.7 -(grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && {
     1.8 +(grep "^LT_INIT\|^A[MC]_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && {
     1.9    (libtool --version) < /dev/null > /dev/null 2>&1 || {
    1.10      echo
    1.11      echo "**Error**: You must have libtool installed."
    1.12 @@ -76,7 +76,7 @@
    1.13  
    1.14        aclocalinclude="-I gl/m4 $ACLOCAL_FLAGS"
    1.15  
    1.16 -      if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then
    1.17 +      if grep "^LT_INIT\|^A[MC]_PROG_LIBTOOL" configure.ac >/dev/null; then
    1.18  	if test -z "$NO_LIBTOOLIZE" ; then 
    1.19  	  echo "Running libtoolize..."
    1.20  	  libtoolize --force --copy