On Aug 26, 2007, at 10:53 PM, Thien-Thi Nguyen wrote:
() Peter O'Gorman <[EMAIL PROTECTED]> () Tue, 21 Aug 2007 14:57:55 -0500 AC_PROG_LIBTOOL calls AC_PROG_CC which sets default CFLAGS (but only if they are not already set). so what is the recommended way to get configure-generated flags into AM_CFLAGS, leaving CFLAGS empty? i see in many places: [...] $(AM_CFLAGS) $(CFLAGS) and would like CFLAGS to be settable by the user w/o requiring them to "merge" their values w/ the existing ones. that's what AM_CFLAGS is for, it seems, but i see AM_CFLAGS always empty.
AM_CFLAGS is reserved for developers. It's not a problem if the user overrides the default value of CFLAGS since CFLAGS is reserved for the user.
Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool
