>>>>> "Dominik" == Dominik Vogt <[EMAIL PROTECTED]> writes:

Dominik> When I run the configure script that comes with lyx-1.2.2, it
Dominik> deletes the /dev/null device entry. 

Here is a patch to fix this in 1.3.0cvs. I intend to apply the same
patch to 1.2.3cvs.

Lars?

JMarc

? config.h.in
Index: config/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/ChangeLog,v
retrieving revision 1.83
diff -u -p -r1.83 ChangeLog
--- config/ChangeLog	18 Dec 2002 16:09:11 -0000	1.83
+++ config/ChangeLog	8 Jan 2003 10:37:20 -0000
@@ -1,3 +1,10 @@
+2003-01-08  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
+
+	* lyxinclude.m4 (LYX_CHECK_ERRORS): do not delete $cache_file if
+	there has been an error in configuration. With autoconf 2.5x,
+	$cache_file is often set to /dev/null, and deleting that is not a
+	good idea...
+
 2002-12-18  Lars Gullik Bjønnes  <[EMAIL PROTECTED]>
 
 	* configure.ac (AC_CONFIG_FILES): add sourcedoc/Makefile
Index: config/lyxinclude.m4
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/lyxinclude.m4,v
retrieving revision 1.79
diff -u -p -r1.79 lyxinclude.m4
--- config/lyxinclude.m4	25 Nov 2002 16:02:21 -0000	1.79
+++ config/lyxinclude.m4	8 Jan 2003 10:37:20 -0000
@@ -81,9 +81,7 @@ cat <<EOF
 **** (see the section 'Problems' in the INSTALL file)
 $lyx_error_txt
 $lyx_warning_txt
-deleting cache $cache_file
 EOF
-  rm -f $cache_file
 else
 
 if test x$lyx_warning = xyes; then

Reply via email to