With the appended patch, I can configure and build with autoconf 2.52.
Lars, Is it OK to apply it or do you have reasons to believe that it
does not work?

JMarc

Index: ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v
retrieving revision 1.880
diff -u -p -r1.880 ChangeLog
--- ChangeLog	8 Aug 2002 09:07:10 -0000	1.880
+++ ChangeLog	10 Sep 2002 14:03:15 -0000
@@ -1,3 +1,8 @@
+2002-09-10  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
+
+	* autogen.sh: accept autoconf 2.52 too; remove unneeded files
+	depending on autoconf version
+
 2002-08-08  Lars Gullik Bjønnes  <[EMAIL PROTECTED]>
 
 	* .cvsignore: change acconfig.m4 to acconfig.h
Index: autogen.sh
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/autogen.sh,v
retrieving revision 1.34
diff -u -p -r1.34 autogen.sh
--- autogen.sh	10 Aug 2002 12:56:27 -0000	1.34
+++ autogen.sh	10 Sep 2002 14:03:15 -0000
@@ -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
 	;;
     *)
Index: config/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/ChangeLog,v
retrieving revision 1.65
diff -u -p -r1.65 ChangeLog
--- config/ChangeLog	10 Sep 2002 13:35:22 -0000	1.65
+++ config/ChangeLog	10 Sep 2002 14:03:15 -0000
@@ -1,5 +1,8 @@
 2002-09-10  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
+	* relyx_configure.ac: 
+	* configure.ac: only require autoconf 2.52
+
 	* Makefile.am (EXTRA_DIST): distribute also xforms.m4
 
 2002-08-16  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
Index: config/configure.ac
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/configure.ac,v
retrieving revision 1.4
diff -u -p -r1.4 configure.ac
--- config/configure.ac	14 Aug 2002 21:22:27 -0000	1.4
+++ config/configure.ac	10 Sep 2002 14:03:15 -0000
@@ -1,7 +1,7 @@
 dnl Process with autoconf to generate configure script   -*- sh -*-
 
 AC_INIT(lyx,1.3.0cvs,[EMAIL PROTECTED])
-AC_PREREQ(2.53)
+AC_PREREQ(2.52)
 AC_CONFIG_SRCDIR(src/main.C)
 AM_CONFIG_HEADER([src/config.h])
 
Index: config/relyx_configure.ac
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/relyx_configure.ac,v
retrieving revision 1.2
diff -u -p -r1.2 relyx_configure.ac
--- config/relyx_configure.ac	10 Aug 2002 12:26:23 -0000	1.2
+++ config/relyx_configure.ac	10 Sep 2002 14:03:15 -0000
@@ -1,7 +1,7 @@
 dnl Process with autoconf to generate configure script   -*- sh -*-
 AC_INIT
 AC_CONFIG_SRCDIR(reLyX.in)
-AC_PREREQ(2.53)
+AC_PREREQ(2.52)
 AC_CONFIG_AUX_DIR(../../config)
 
 dnl PACKAGE=reLyX

Reply via email to