autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debug builds with NO optimizations


From: Andre Caldas
Subject: Re: debug builds with NO optimizations
Date: Tue, 14 Feb 2006 12:01:08 +0900
User-agent: Debian Thunderbird 1.0.7 (X11/20051017)

Well, yes, Autoconf had to go the compromise and detect *these* flags
also when they were in the environment.  But it only does so for a few
common variables.  You have to declare a variable as `precious' if you,
the developer, want another variable recorded; see
  info Autoconf 'Setting Output Variables'

By the way, if you use AC_CONFIG_SUBDIRS, you may end up with a "parent configure" script that does not treat CFLAGS as a precious variable. But the "child configure" may need it.

If you type:
./config.status --version
you will not see any 'CFLAGS'. But if you:
./child/config.status --version
then you will.

Andre Caldas.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]