X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=autogen.sh;h=082be43b758cd1127762d99baa51069ede628505;hb=e8daa48bc163ac9d6372d75337692fdaf9ab549d;hp=2a1a684a69bfeebb3d457780fea9588b25a1944d;hpb=33258e1197c0301278b085d90f966eb5649bca6a;p=lyx.git diff --git a/autogen.sh b/autogen.sh index 2a1a684a69..082be43b75 100755 --- a/autogen.sh +++ b/autogen.sh @@ -11,17 +11,17 @@ automake_version=`$AUTOMAKE --version 2>/dev/null | head -n 1` test "$automake_version" != "" && { echo "Using $automake_version" } || { - echo "LyX requires automake >= 1.5" + echo "LyX requires automake >= 1.8" exit 1 } case $automake_version in - *' '1.[5-9]*|*' '1.10*) + *' '1.[8-9]*|*' '1.1[01]*) ;; *) echo "This automake version is not supported by LyX." - echo "LyX only supports automake 1.5 to 1.10." + echo "LyX only supports automake 1.8 to 1.11." exit 1 ;; esac @@ -32,16 +32,17 @@ autoversion=`$AUTOCONF --version 2>/dev/null | head -n 1` test "$autoversion" != "" && { echo "Using $autoversion" } || { - echo "LyX requires autoconf >= 2.52" + echo "LyX requires autoconf >= 2.59c" exit 1 } + case $autoversion in - *' '2.5[2-9]|*' '2.60[ab]|*' '2.6[0-2]) + *' '2.59[cd]|*' '2.60[ab]|*' '2.6[0-8]) ;; *) echo "This autoconf version is not supported by LyX." - echo "LyX only supports autoconf 2.52-2.61." + echo "LyX only supports autoconf 2.59c-2.68." exit 1 ;; esac @@ -83,6 +84,9 @@ else exit 1 fi +echo "Building po/POTFILES.in..." +make -s -f po/Rules-lyx srcdir=po top_srcdir=. po/POTFILES.in + echo echo 'run "./configure ; make"' echo