On Tue, Sep 17, 2002 at 12:44:03PM +0200, Ulrich Fahrenberg wrote: > On Tue, 17 Sep 2002, Dominik Vogt wrote: > > > On Tue, Sep 17, 2002 at 01:54:56AM -0400, Suzanne Skinner wrote: > > > > > Also, CFLAGS aren't working at all? > > > > They should be working as usual. I have disabled them in > > configure because they often cause some tests to fail. How did > > you specify the flags? When I run > > > > $ make CFLAGS="..." > > > > it works as it always did. > > If I understand the True Gnu Way Of Doing Things right, configure > should read any CFLAGS (and CXXFLAGS and LDFLAGS and ...) you have set > in your shell and write them to the appropriate Makefiles, such that > afterwards, > > make CFLAGS="$CFLAGS" > > should be equivalent to simply saying > > make
Well, if it's set in your shell, make inherits them automatically unless you unset them between configure an make. (testing) But it doesn't work. Autoconf seems to override the shell settings. > , and > make CFLAGS="aVerySpecialFlag" > > would be the same as > > make CFLAGS="aVerySpecialFlag $CFLAGS" > > Of course there can be good reasons to disable CFLAGS recognition in > configure, Yes, there is a very good reason: configure chokes on the -Werror flag and produces more or less random test results. This can be hell to debug. Maybe I can find a way to enable the original CFLAGS again before they are placed in the Makefiles. > but then things do not work the True Gnu Way anymore (which > is not A Bad Thing, but maybe it deserves to be mentioned in the > INSTALL file). Bye Dominik ^_^ ^_^ -- Dominik Vogt, mail: [EMAIL PROTECTED], phone: 0721/91374-382 Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]