On Thu, 20 Feb 2003, Andre Poenitz wrote:

> I see this in a tgz version which I believe is the distributed 1.3.0.
> What gives 'grep template-depth *' in your case?

I get three instances (for 2.95.1,, 2.95.*, and 2.96*) in each of
acinclude.m4, aclocal.m4, and configure.

So the problem is (at least in part) my own fault, because I have used
        CXXFLAGS=-O2 configure

I do this routinely in order to defeat the '-g' which configure usually
inserts and I really don't care for.

'CXXFLAGS=-O2 configure' usually works fine, and according to the specs
(autoconf.info) it ought to:

 - Variable: CXXFLAGS
     Debugging and optimization options for the C++ compiler.  If it is
     not set in the environment when `configure' runs, the default
     value is set when you call `AC_PROG_CXX' (or empty if you don't).
     `configure' uses this variable when compiling programs to test for
     C++ features.

This indicates to me, that
        CXXFLAGS=-O2 configure
should not prevent configure from setting other important compiler flags.
Unfortunately this is not so for lyx-1.3.0, and I think this should
eventually be fixed (not terribly urgent).

Peter Breitenlohner <[EMAIL PROTECTED]>

Reply via email to