Re: @....@ how does it work ?

Le vendredi 09 septembre 2005 �0:05 +1000, Rod Butcher a �it :
> Can somebody explain or point me to some documentation on what's going 
> on with lines like :-
> in my (built via glade & then automake) which then gets 
> translated into :-
> CFLAGS = -g -O2
> by configure.
> So how/where from does @CFLAGS@ become -g -O2 (medium-optimised) ?
> My test program works OK, but I want to know what's going on in the 
> configure. I have the Goat Book text but can't find the @...@  bit. I 
> presume it's a substitution, but from where ?

There is a call to AC_SUBST in

If you use any variable:
MY_VAR="some value"

you can use @MY_VAR@ in or some .in files such as configure will replace with the value.

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