>>>>> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:

Dekel> There is a bug in the automatic reconfiguration code: If the
Dekel> user don't have ~/.lyx/lyxrc.default file, then the configure
Dekel> script is invoked. This is wrong: if the user environment is
Dekel> equal to the system environment, then running the configure
Dekel> script does not create a ~/.lyx/lyxrc.default file. In that
Dekel> case, lyx will run the configure script on each startup.

Indeed.

Dekel> The attached patch fixes this. 

Could you describe what the new logic is? I have problems to make
sense of it by looking at the patch (I know I should apply it, sorry)

Dekel> Note that it assumes that the LYXLIBDIR/lyxrc.defaults file is
Dekel> updated whenever a new version of LyX is installed (is this
Dekel> true ?).

Yes, this assumption is true.

Actually, the reason why I delayed my answer is that what I would like
to do is to redirect the output of configure to a file 'config.log' in
.lyx and do the time check on this file. This would allow to have the
information on what happened handy at any time. However, I did not
find time to do this.

Dekel, could you have a look at whether this could be done? I think a
trivial modification to lib/configure would create this config.log,
and then the code could use this code as a good indication of last
configure time.

JMarc

Reply via email to