Re: [LyX/master] Cleanup autoconf compiler support

2015-01-27 Thread Jean-Marc Lasgouttes
Le 27/01/15 20:08, Enrico Forestieri a écrit : I think the attached is the correct patch for the following two reasons. 1) Otherwise configure fails to find headers. 2) The only alternative would be directly using CPPFLAGS. Look, I have aspell installed in /c/MinGW and configure LyX using th

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-27 Thread Enrico Forestieri
On Tue, Jan 27, 2015 at 07:24:28PM +0100, Jean-Marc Lasgouttes wrote: > Grmpf. So I have to modify the normal variables after all. But how > are users supposed to override CPPFLAGS at make time? Do you know > whether there is a set of rules to separate AM_xxx from plain xxx? There is nothing to ov

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-27 Thread Enrico Forestieri
On Tue, Jan 27, 2015 at 07:24:28PM +0100, Jean-Marc Lasgouttes wrote: > Le 24/01/2015 00:41, Enrico Forestieri a écrit : > >I just discovered that now also the --with-extra-prefix option is broken. > >The inc and lib dirs are now assigned to AM_CPPFLAGS rather than CPPFLAGS > >and configure fails t

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-27 Thread Jean-Marc Lasgouttes
Le 24/01/2015 00:41, Enrico Forestieri a écrit : On Tue, Jan 13, 2015 at 03:10:44PM +0100, Jean-Marc Lasgouttes wrote: Le 13/01/2015 14:59, Jean-Marc Lasgouttes a écrit : Le 13/01/2015 14:43, Enrico Forestieri a écrit : C++ Compiler user flags: -g -O2 So you have explicitly set CXXFLAGS

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-23 Thread Enrico Forestieri
On Tue, Jan 13, 2015 at 03:10:44PM +0100, Jean-Marc Lasgouttes wrote: > Le 13/01/2015 14:59, Jean-Marc Lasgouttes a écrit : > >Le 13/01/2015 14:43, Enrico Forestieri a écrit : > >> C++ Compiler user flags: -g -O2 > > > >So you have explicitly set CXXFLAGS somewhere, or config.status remember >

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 17:28, Enrico Forestieri a écrit : You don't like warnings? Recent compilers tend to be too much verbose and anyway give more warnings by default, without the need of encouraging them ;) Well, I can compile with latest clang without warning (except in Enchant++, that I cannot c

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Enrico Forestieri
On Tue, Jan 13, 2015 at 05:11:38PM +0100, Jean-Marc Lasgouttes wrote: > Le 13/01/2015 17:09, Enrico Forestieri a écrit : > >I don't think so, provided that you have a way to override the default > >settings. In any case, the same set of configure options should not > >change the default settings, i

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 17:09, Enrico Forestieri a écrit : I don't think so, provided that you have a way to override the default settings. In any case, the same set of configure options should not change the default settings, in general, and this is now almost the case. Almost, because previoulsy I was no

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Enrico Forestieri
On Tue, Jan 13, 2015 at 04:02:52PM +0100, Jean-Marc Lasgouttes wrote: > Le 13/01/2015 15:10, Enrico Forestieri a écrit : > >Hmm... I still get "-g" even after "make distclean" and rerunning configure. > > Is it better now? Yes, thanks. > I made the choice of never touching CXXFLAGS, but only AM_

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 15:10, Enrico Forestieri a écrit : Hmm... I still get "-g" even after "make distclean" and rerunning configure. Is it better now? I made the choice of never touching CXXFLAGS, but only AM_CXXFLAGS. Tradionally, autoconf (tries to) set -g and -O in CXXFLAGS. Do you think this is

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 14:59, Jean-Marc Lasgouttes a écrit : Le 13/01/2015 14:43, Enrico Forestieri a écrit : C++ Compiler user flags: -g -O2 So you have explicitly set CXXFLAGS somewhere, or config.status remember the old setting in its cache. Can you re-run ./configure with options? I have remov

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Enrico Forestieri
On Tue, Jan 13, 2015 at 02:59:56PM +0100, Jean-Marc Lasgouttes wrote: > Le 13/01/2015 14:43, Enrico Forestieri a écrit : > >On Tue, Jan 13, 2015 at 12:18:31PM +0100, Jean-Marc Lasgouttes wrote: > >>commit ff42fea8ab70dc048bb28dc51120ae30309a3e81 > >>Author: Jean-Marc Lasgouttes > >>Date: Tue Jan

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 14:43, Enrico Forestieri a écrit : On Tue, Jan 13, 2015 at 12:18:31PM +0100, Jean-Marc Lasgouttes wrote: commit ff42fea8ab70dc048bb28dc51120ae30309a3e81 Author: Jean-Marc Lasgouttes Date: Tue Jan 13 11:48:07 2015 +0100 Cleanup autoconf compiler support Now I always get "

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Enrico Forestieri
On Tue, Jan 13, 2015 at 12:18:31PM +0100, Jean-Marc Lasgouttes wrote: > commit ff42fea8ab70dc048bb28dc51120ae30309a3e81 > Author: Jean-Marc Lasgouttes > Date: Tue Jan 13 11:48:07 2015 +0100 > > Cleanup autoconf compiler support Now I always get "-g" even if I use "--disable-debug --enable-