[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prefer AM_CPPFLAGS to @CPPFLAGS@
From: |
Eric Blake |
Subject: |
Re: Prefer AM_CPPFLAGS to @CPPFLAGS@ |
Date: |
Fri, 22 Jun 2007 06:54:05 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Stepan Kasal on 6/11/2007 4:47 AM:
> Hello Ralf,
>
> On Sun, Jun 10, 2007 at 09:13:14AM +0200, Ralf Wildenhues wrote:
>>> -CPPFLAGS = -DDATADIR='"$(datadir)"' @@CPPFLAGS@@
>>> +AM_CPPFLAGS = -DDATADIR='"$(datadir)"'
>> Why not show both (the non-Automake case is useful and conveys
>> additional information)?
>
> A nice idea, but:
>
> It would make the node too complex.
> The node "19.5 How Do I `#define' Installation Directories?" is in
> the FAQ section, so people might expect it is short.
True, but AM_CPPFLAGS is not provided by autoconf, and autoconf can be run
independently of automake. I think we should either provide both
examples, or at least provide a clear disclaimer that this example only
works if you also use Automake, along with a pointer to somewhere else in
the manual on how to do it when avoiding automake.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGe8Zs84KuGfSFAYARAix5AJ4iW07MUdIG2SwimtBmspn7qUMUwACgo1oH
DL857yi2Lxir1G7yIEKDo3g=
=I/DA
-----END PGP SIGNATURE-----