]> git.lyx.org Git - lyx.git/blobdiff - autogen.sh
Use flag -dCompatibilityLevel=1.3 with ps2pdf
[lyx.git] / autogen.sh
index 93be0416fd1f9604cf463add4fd3336d26ca2677..cd49ec6ed4557334832b8a2890351d388d6aad66 100755 (executable)
@@ -7,10 +7,15 @@ case $autoversion in
     *2.13)
        cp config/acconfig.h .
        cp config/configure.in .
+       rm -f configure.ac
        cp config/relyx_configure.in lib/reLyX/configure.in
+       rm -f lib/reLyX/configure.ac
        ;;
-    *2.53)
+    *2.5[23])
+       rm -f acconfig.h
+       rm -f configure.in
        cp config/configure.ac .
+       rm -f lib/reLyX/configure.in
        cp config/relyx_configure.ac lib/reLyX/configure.ac
        ;;
     *)
@@ -28,7 +33,7 @@ AUTOMAKE="automake -a -c --foreign"
 AUTOCONF="autoconf"
 GNUM4=
 
-ACINCLUDE_FILES="lyxinclude.m4 libtool.m4 codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 xforms.m4 qt2.m4 gtk--.m4 gnome--.m4 gnome.m4 pspell.m4 pkg.m4"
+ACINCLUDE_FILES="lyxinclude.m4 libtool.m4 codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 xforms.m4 qt.m4 gtk--.m4 gnome--.m4 gnome.m4 pspell.m4 pkg.m4"
 SIGCPP_ACINCLUDE_FILES="libtool.m4"
 
 echo -n "Locating GNU m4... "
@@ -41,7 +46,7 @@ for prog in $M4 gm4 gnum4 m4 ; do
     *) ;;
   esac
 done
-if test x$ok = xno ; then
+if test x$ok != xyes ; then
     echo "not found."
 fi