[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prefer AM_CPPFLAGS to @CPPFLAGS@
From: |
Ralf Wildenhues |
Subject: |
Re: Prefer AM_CPPFLAGS to @CPPFLAGS@ |
Date: |
Sun, 10 Jun 2007 09:13:14 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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
> @@ -19152,10 +19152,10 @@
>
> @item
> This solution can be simplified when compiling a program: you may either
> -extend the @code{CPPFLAGS}:
> +extend the @code{CPPFLAGS}, e.g., when using Automake:
>
> @example
> -CPPFLAGS = -DDATADIR='"$(datadir)"' @@CPPFLAGS@@
> +AM_CPPFLAGS = -DDATADIR='"$(datadir)"'
> @end example
Why not show both (the non-Automake case is useful and conveys
additional information)?
Cheers,
Ralf