From e6de71f36d18914b5a719cc4e843e7c323de5d20 Mon Sep 17 00:00:00 2001 From: pmf Date: Mon, 14 May 2007 20:13:28 +0000 Subject: [PATCH] make invocations of autotools version-independent git-svn-id: http://ltt.polymtl.ca/svn@2520 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt-control/autogen.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ltt-control/autogen.sh b/ltt-control/autogen.sh index 709cee9..f0c7b68 100755 --- a/ltt-control/autogen.sh +++ b/ltt-control/autogen.sh @@ -59,7 +59,7 @@ DIE=0 } } -(automake-1.7 --version) < /dev/null > /dev/null 2>&1 || { +(automake --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`automake' installed." echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" @@ -69,7 +69,7 @@ DIE=0 # if no automake, don't bother testing for aclocal -test -n "$NO_AUTOMAKE" || (aclocal-1.7 --version) < /dev/null > /dev/null 2>&1 || { +test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: Missing \`aclocal'. The version of \`automake'" echo "installed doesn't appear recent enough." @@ -126,14 +126,14 @@ do libtoolize --force --copy fi fi - echo "Running aclocal-1.7 $aclocalinclude ..." - aclocal-1.7 $aclocalinclude + echo "Running aclocal $aclocalinclude ..." + aclocal $aclocalinclude if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then echo "Running autoheader..." autoheader fi - echo "Running automake-1.7 --gnu $am_opt ..." - automake-1.7 --add-missing --gnu $am_opt + echo "Running automake --gnu $am_opt ..." + automake --add-missing --gnu $am_opt echo "Running autoconf ..." autoconf ) -- 2.34.1