automake
[Top][All Lists]
Advanced

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

Re: AC_PROG_CC sets CFLAGS, what about AM_CFLAGS?


From: Harlan Stenn
Subject: Re: AC_PROG_CC sets CFLAGS, what about AM_CFLAGS?
Date: Mon, 27 Aug 2007 22:28:48 +0000

Beniot wrote:
> OK look, here is how it goes AFAIK:
>   - You want to set project-wide flags, use AM_CFLAGS
>   - Your user wants to set project-wide flags, it does: ./configure  
> CFLAGS=...
>   - If your user didn't set project-wide flags, AM_PROG_CC may put  
> some default flags in CFLAGS (that can be safely overridden by the user)
> 
> What's wrong with this?

It gives the user more things to type.

H




reply via email to

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