libtool
[Top][All Lists]
Advanced

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

Re: AC_PROG_LIBTOOL sets CFLAGS


From: Thien-Thi Nguyen
Subject: Re: AC_PROG_LIBTOOL sets CFLAGS
Date: Sun, 26 Aug 2007 22:53:31 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

() Peter O'Gorman <address@hidden>
() 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.

thi




reply via email to

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