--- autogen.sh.orig 2009-10-08 11:26:39.000000000 -0500 +++ autogen.sh 2024-07-23 00:23:34.000000000 -0500 @@ -18,7 +18,28 @@ DIE=1 } -if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then +if automake-1.17 --version < /dev/null > /dev/null 2>&1 ; then + AUTOMAKE=automake-1.17 + ACLOCAL=aclocal-1.17 +elif automake-1.16 --version < /dev/null > /dev/null 2>&1 ; then + AUTOMAKE=automake-1.16 + ACLOCAL=aclocal-1.16 +elif automake-1.15 --version < /dev/null > /dev/null 2>&1 ; then + AUTOMAKE=automake-1.15 + ACLOCAL=aclocal-1.15 +elif automake-1.14 --version < /dev/null > /dev/null 2>&1 ; then + AUTOMAKE=automake-1.14 + ACLOCAL=aclocal-1.14 +elif automake-1.13 --version < /dev/null > /dev/null 2>&1 ; then + AUTOMAKE=automake-1.13 + ACLOCAL=aclocal-1.13 +elif automake-1.12 --version < /dev/null > /dev/null 2>&1 ; then + AUTOMAKE=automake-1.12 + ACLOCAL=aclocal-1.12 +elif automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then + AUTOMAKE=automake-1.11 + ACLOCAL=aclocal-1.11 +elif automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 elif automake-1.9 --version < /dev/null > /dev/null 2>&1 ; then @@ -38,7 +59,7 @@ DIE=1 fi -(libtool --version) < /dev/null > /dev/null 2>&1 || { +(glibtool --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have libtool installed to compile $PROJECT." echo "Get http://ftp.gnu.org/gnu/libtool/libtool-1.5.22.tar.gz" @@ -49,15 +70,15 @@ exit 1 fi -libtoolize --force --copy +glibtoolize --force --copy --quiet $ACLOCAL $ACLOCAL_FLAGS autoheader -$AUTOMAKE --add-missing +$AUTOMAKE --add-missing < /dev/null > /dev/null 2>&1 autoconf cd $THEDIR -$srcdir/configure --enable-maintainer-mode "$@" +$srcdir/configure "$@" echo echo "Now type 'make' to compile $PROJECT"