make invocations of autotools version-independent
authorpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 14 May 2007 20:13:28 +0000 (20:13 +0000)
committerpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 14 May 2007 20:13:28 +0000 (20:13 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2520 04897980-b3bd-0310-b5e0-8ef037075253

ltt-control/autogen.sh

index 709cee9e0ed7043a0b822b7bf15554f8cc320e35..f0c7b68f69298f7e2ed04ce48b995d78a1078290 100755 (executable)
@@ -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
     )
This page took 0.025226 seconds and 4 git commands to generate.