]> git.mxchange.org Git - flightgear.git/commitdiff
Automake version check is best done only in the autogen.sh file, and not
authorcurt <curt>
Tue, 3 Sep 2002 21:30:37 +0000 (21:30 +0000)
committercurt <curt>
Tue, 3 Sep 2002 21:30:37 +0000 (21:30 +0000)
in the configure script.

autogen.sh
configure.ac

index 73157d06276ad2f4cac36629ec285dd3d55d3076..e09c31b9115a75df3a5659c4bc37a439ddef7691 100755 (executable)
@@ -3,6 +3,14 @@
 OSTYPE=`uname -s`
 MACHINE=`uname -m`
 AUTO_MAKE_VERSION=`automake --version | head -1 | awk '{print $4}' | sed -e 's/\.\([0-9]*\).*/\1/'`
+if test $AUTO_MAKE_VERSION -lt 15; then
+    echo ""
+    echo "You need to upgrade to automake version 1.5 or greater."
+    echo "Most distributions have packages available to install or you can"
+    echo "find the source for the most recent version at"
+    echo "ftp://ftp.gnu.org/gnu/automake"
+    exit 1
+fi
 
 echo "Host info: $OSTYPE $MACHINE"
 echo -n " automake: `automake --version | head -1 | awk '{print $4}'`"
index ad735106a72fbb349ce6e0f68e98bd493964a183..66d0c94ba523e167f56abb89dd4678c0e88e574f 100644 (file)
@@ -51,18 +51,6 @@ AC_EGREP_CPP(yes,
 echo "IS_CYGWIN = $is_cygwin"
 AM_CONDITIONAL(IS_CYGWIN, test "x$is_cygwin" = "xyes")
 
-# Determine version of automake ... important becuase of
-# incompatibilities between versions
-AUTO_MAKE_VERSION=`automake --version | head -1 | awk '{print $4}' | sed -e 's/\.\([0-9]*\).*/\1/'`
-if test $AUTO_MAKE_VERSION -lt 15; then
-    echo ""
-    echo "You need to upgrade to automake version 1.5 or greater."
-    echo "Most distributions have packages available to install or you can"
-    echo "find the source for the most recent version at"
-    echo "ftp://ftp.gnu.org/gnu/automake"
-    exit 1
-fi
-
 # Used by JSBSim
 AC_DEFINE([FGFS], 1, [Define so that JSBSim compiles in 'library' mode])