From: pmf Date: Mon, 14 May 2007 20:13:28 +0000 (+0000) Subject: make invocations of autotools version-independent X-Git-Tag: 0.80~96 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e6de71f36d18914b5a719cc4e843e7c323de5d20;p=ltt-control.git make invocations of autotools version-independent git-svn-id: http://ltt.polymtl.ca/svn@2520 04897980-b3bd-0310-b5e0-8ef037075253 --- 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 )