]> git.lyx.org Git - lyx.git/blobdiff - autogen.sh
Add a document-wide default bibliography style \biblio_style.
[lyx.git] / autogen.sh
index 2a1a684a69bfeebb3d457780fea9588b25a1944d..082be43b758cd1127762d99baa51069ede628505 100755 (executable)
@@ -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