[Top][All Lists]

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

Re: --with-*-cflags?

From: Ed Hartnett
Subject: Re: --with-*-cflags?
Date: Fri, 27 May 2005 10:01:26 -0600
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Ralf Corsepius <address@hidden> writes:

> On Fri, 2005-05-27 at 00:56 +0400, Ilya N. Golubev wrote:
>> Is
>> AC_ARG_WITH([cflags-warning],
>> dnl ...
>> )
>> a proper usage of `AC_ARG_WITH'?  Or it violates autoconf conventions,
>> and some other ways of specifying these configuration options
>> (perhaps, `var=value' in command line) are more appropriate?
> The latter.
> Teach your users to use: 
> configure CFLAGS="what ever"
> Ralf

I have a section of my that tries to guess values for

I also have an option --disable-flag-setting to turn this off

Sometimes my configure wants to set a flag, but the user wants to try
a contradictory flag. So I allow a way to stop the configure from
messing with the flags, so that the user can take complete control if
need be.

Ed Hartnett  -- address@hidden

reply via email to

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