]> git.lyx.org Git - lyx.git/commitdiff
Do not error out with too new autoconf/automake
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 2 Feb 2024 07:34:51 +0000 (08:34 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 2 Feb 2024 07:47:30 +0000 (08:47 +0100)
The tests are not useful, since the configure.ac file checks for
minimal version anyway.

autogen.sh

index 0365a10165f105d4c6198c1508c90f7f5e162709..8e8942af3b1515b2222fd6ed13d6c0e32b2982ff 100755 (executable)
@@ -15,16 +15,6 @@ else
     exit 1
 fi
 
-case $automake_version in
-    *' '1.1[456]*)
-       ;;
-    *)
-       echo "This automake version is not supported by LyX."
-       echo "LyX only supports automake 1.14 through 1.16."
-       exit 1
-       ;;
-esac
-
 # Discover what version of autoconf we are using.
 autoversion=$($AUTOCONF --version 2>/dev/null | head -n 1)
 
@@ -35,18 +25,6 @@ else
     exit 1
 fi
 
-case $autoversion in
-    *' '2.6[5-9])
-       ;;
-    *' '2.71)
-       ;;
-    *)
-       echo "This autoconf version is not supported by LyX."
-       echo "LyX only supports autoconf 2.65-2.69, 2.71."
-       exit 1
-       ;;
-esac
-
 # Delete old cache directories.
 # automake will stop if their contents was created by an earlier version.
 rm -rf autom4te.cache