X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=autogen.sh;h=3c92d83c3dce49eba2186deaae4e7c43449be4a5;hb=6b5ce8a999028cefcf47a127ec5e8384f24d13dd;hp=7b8a66081d10d17f3833e25de480484a657b2e9f;hpb=3b99db73e431050f2e8cdf71f8f3c8bbdd3d5243;p=lyx.git diff --git a/autogen.sh b/autogen.sh index 7b8a66081d..3c92d83c3d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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-3]) ;; *) 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.63." exit 1 ;; esac @@ -50,15 +51,6 @@ esac # automake will stop if their contents was created by an earlier version. rm -rf autom4te.cache -# Update the gettext files -echo "Copying gettext code... " -if ( autopoint --version ) < /dev/null > /dev/null 2>&1; then - autopoint --force >/dev/null -else - echo "autopoint not found -- aborting" - exit 1 -fi - # Generate the Makefiles and configure files echo "Building macros..." if ( $ACLOCAL --version ) < /dev/null > /dev/null 2>&1; then @@ -92,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