Hello,

The following patch avoids reconfiguring LyX everytime in some
situations. Just a backwards test.

Committing.

JMarc
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.2125
diff -u -r1.2125 ChangeLog
--- src/ChangeLog	15 Feb 2005 19:53:40 -0000	1.2125
+++ src/ChangeLog	20 Feb 2005 18:52:24 -0000
@@ -1,3 +1,7 @@
+2005-02-20  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
+
+	* lyx_main.C (queryUserLyXDir): fix test for rerunning configure
+
 2005-02-15  Angus Leeming  <[EMAIL PROTECTED]>
 
 	* rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
Index: src/lyx_main.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_main.C,v
retrieving revision 1.202
diff -u -r1.202 lyx_main.C
--- src/lyx_main.C	15 Feb 2005 13:45:38 -0000	1.202
+++ src/lyx_main.C	20 Feb 2005 18:52:26 -0000
@@ -625,7 +625,7 @@
 		if (fs::exists(configure_script) &&
 		    fs::exists(userDefaults) &&
 		    fs::last_write_time(configure_script)
-		    < fs::last_write_time(userDefaults)) {
+		    > fs::last_write_time(userDefaults)) {
 			reconfigure = true;
 		}
 		return reconfigure;

Reply via email to