10 Jun 2007 09:13
Re: Prefer AM_CPPFLAGS to <at> CPPFLAGS <at>
Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
2007-06-10 07:13:14 GMT
2007-06-10 07:13:14 GMT
Hi Stepan,
* Stepan Kasal wrote on Wed, Jun 06, 2007 at 11:04:27AM CEST:
>
> --- doc/autoconf.texi 4 Jun 2007 22:49:42 -0000 1.1160
> +++ doc/autoconf.texi 6 Jun 2007 08:40:55 -0000
> <at> <at> -19152,10 +19152,10 <at> <at>
>
> <at> item
> This solution can be simplified when compiling a program: you may either
> -extend the <at> code{CPPFLAGS}:
> +extend the <at> code{CPPFLAGS}, e.g., when using Automake:
>
> <at> example
> -CPPFLAGS = -DDATADIR='"$(datadir)"' <at> <at> CPPFLAGS <at> <at>
> +AM_CPPFLAGS = -DDATADIR='"$(datadir)"'
> <at> end example
Why not show both (the non-Automake case is useful and conveys
additional information)?
Cheers,
Ralf
RSS Feed