[Top][All Lists]

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

Re: AM_CFLAGS usage

From: Norbert Sendetzky
Subject: Re: AM_CFLAGS usage
Date: Mon, 12 Jun 2006 18:42:15 +0200
User-agent: KMail/1.9.1

On Monday 12 June 2006 12:53, Ralf Wildenhues wrote:
>   : ${CFLAGS='-Wall -ansi -pedantic'}
> before AC_PROG_CC in  Users with non-GCC compilers won't
> like you because they will have to set CFLAGS to override this, and
> users (with any kind of compiler) won't like you because you take away
> the default (set -g if possible, add -O2 if possible) setting they

OK, not the best option ;-)

> FWIW, I prefer that packages don't override CFLAGS at all.  For specific
> settings, I keep a long-term build tree with a working config.status
> file (and of course a config.cache as well) around.  Or a
> file (if you don't know what this is, read up on it in the Autoconf
> manual).

Ehm, where do I find the documentation to I couldn't find it in 
the automake manual

and in the autobook is only a short notice about this

Google does also not reveal any useful information on the first pages.

OpenPGP public key

Attachment: pgpKALIuTnlkP.pgp
Description: PGP signature

reply via email to

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