autoconf
[Top][All Lists]
Advanced

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

Re: Default CGFLAGS


From: Jose Marcio Martins da Cruz
Subject: Re: Default CGFLAGS
Date: Fri, 02 Jan 2004 12:57:08 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Ondrej Jombik wrote:
[ Please CC me in the answer as I'm not in the list ]

I want to ask autoconf advanced users and/or maintainers, if there is
a way how to define default CFLAGS for an application. These default
CFLAGS has to be used, when CFLAGS are empty during ./confgiure run.

Try

  ./configure CFLAGS="what_you_want_to_define_as_cflags_defaults"

or put something like this somewhere at your configure.ac file (but
before checking headers...)



It seems, that autoconf detect, that CFLAGS is empty and add defaults
"-O2 -Wall". I do not know where these come from, however I also do not
know the name of AC macro, which can overide these defaults.

I searched web for solution of this problem, but without any success.

Thank you in advance,

Nepto

[ Please CC me in the answer as I'm not in the list ]

--
  _/|   Ondrej Jombik - address@hidden - http://nepto.sk - ICQ #122428216
 <_  \  Platon SDG - open source software development - http://platon.sk
   `\|  Nech operacia X na mnozine G tvori grupu, potom plati...  rundu!
    '`







--
 ---------------------------------------------------------------
 Jose Marcio MARTINS DA CRUZ           Tel. :(33) 01.40.51.93.41
 Ecole des Mines de Paris              http://j-chkmail.ensmp.fr
 60, bd Saint Michel                http://www.ensmp.fr/~martins
 75272 - PARIS CEDEX 06      mailto:address@hidden






reply via email to

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