[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_PROG_LIBTOOL sets CFLAGS
From: |
Benoit SIGOURE |
Subject: |
Re: AC_PROG_LIBTOOL sets CFLAGS |
Date: |
Mon, 27 Aug 2007 09:48:16 +0200 |
On Aug 26, 2007, at 10:53 PM, Thien-Thi Nguyen wrote:
() 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.
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