X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=autogen.sh;h=b30a91d19ef6b23c70a5424ddff7e0d1f416922c;hb=9a17e559f289845db02bc114fad5190280548e4e;hp=e31767b4b7e18e1e98e5a0db15bb9ceb8a763176;hpb=9769d01183c420cc5b76c329a685658f50c0922d;p=lyx.git diff --git a/autogen.sh b/autogen.sh index e31767b4b7..b30a91d19e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,7 +4,7 @@ ACLOCAL="aclocal -I ${PWD}/m4" AUTOHEADER="autoheader" AUTOMAKE="automake --add-missing --copy --foreign" AUTOCONF="autoconf" -ACINCLUDE_FILES="lyxinclude.m4 libtool.m4 qt.m4 qt4.m4 gtk--.m4 gnome--.m4 gnome.m4 spell.m4 pkg.m4" +ACINCLUDE_FILES="lyxinclude.m4 libtool.m4 pkg.m4 qt4.m4 spell.m4" # Discover what version of automake we are using. automake_version=`$AUTOMAKE --version 2>/dev/null | head -n 1` @@ -17,14 +17,14 @@ test "$automake_version" != "" && { } case $automake_version in - *' '1.9*) + *' '1.9*|*' '1.10*) ;; *) - + echo "This automake version is not supported by LyX." - echo "LyX only supports automake 1.9." - exit 1 - ;; + echo "LyX only supports automake 1.9 and 1.10." + exit 1 + ;; esac # Discover what version of autoconf we are using. @@ -38,12 +38,11 @@ test "$autoversion" != "" && { } case $autoversion in - *' '2.5[2-9]) - EXTRA_ACINCLUDE_FILES="lyxinclude25x.m4" + *' '2.5[2-9]|*' '2.60[ab]|*' '2.6[0-1]) ;; *) echo "This autoconf version is not supported by LyX." - echo "LyX only supports autoconf 2.5[2-9]." + echo "LyX only supports autoconf 2.52-2.61." exit 1 ;; esac