Re: Prefer AM_CPPFLAGS to @CPPFLAGS@

2007-08-21 Thread Ralf Wildenhues
* Stepan Kasal wrote on Tue, Aug 21, 2007 at 10:44:10PM CEST: > > I like the patch provided by Ralf. Thanks. I've applied the patch including your suggested changes, but leaving the "dedicated" in | +Alternatively, create a dedicated header file: Cheers, Ralf

Re: Prefer AM_CPPFLAGS to @CPPFLAGS@

2007-08-21 Thread Stepan Kasal
Hello Ralf and Eric, I like the patch provided by Ralf. (I see I protested in June, but that was silly; sorry.) I would change wording: use Automake -> are using Automake Moreover, in the example below, I would change: datadir.h -> myprog-paths.h I think this is closer to practice. For example

Re: Prefer AM_CPPFLAGS to @CPPFLAGS@

2007-08-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ralf Wildenhues on 8/21/2007 11:59 AM: > Hello Stepan, Eric, all, Hello Ralf, and thanks for following up on this old thread. >> True, but AM_CPPFLAGS is not provided by autoconf, and autoconf can be run >> independently of automake. I

Re: Prefer AM_CPPFLAGS to @CPPFLAGS@

2007-08-21 Thread Ralf Wildenhues
Hello Stepan, Eric, all, * Eric Blake wrote on Fri, Jun 22, 2007 at 02:54:05PM CEST: > According to Stepan Kasal on 6/11/2007 4:47 AM: > > On Sun, Jun 10, 2007 at 09:13:14AM +0200, Ralf Wildenhues wrote: > >>> -CPPFLAGS = -DDATADIR='"$(datadir)"' @@CPPFLAGS@@ > >>> +AM_CPPFLAGS = -DDATADIR='"$(dat

Re: Prefer AM_CPPFLAGS to @CPPFLAGS@

2007-06-22 Thread Eric Blake
-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 (

Re: Prefer AM_CPPFLAGS to @CPPFLAGS@

2007-06-11 Thread Stepan Kasal
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

Re: Prefer AM_CPPFLAGS to @CPPFLAGS@

2007-06-10 Thread Ralf Wildenhues
Hi Stepan, * Stepan Kasal wrote on Wed, Jun 06, 2007 at 11:04:27AM CEST: > > --- doc/autoconf.texi 4 Jun 2007 22:49:42 - 1.1160 > +++ doc/autoconf.texi 6 Jun 2007 08:40:55 - > @@ -19152,10 +19152,10 @@ > > @item > This solution can be simplified when compiling a program: you may

Re: Prefer AM_CPPFLAGS to @CPPFLAGS@

2007-06-06 Thread Paul Eggert
Stepan Kasal <[EMAIL PROTECTED]> writes: > * doc/autoconf.texi (Defining Directories): Mention > AM_CPPFLAGS, as the way to modify CPPFLAGS, because most users > use Automake. Thanks, please install.

Re: Prefer AM_CPPFLAGS to @CPPFLAGS@

2007-06-06 Thread Stepan Kasal
Hello, > I suggest a change to the Autoconf manual, see the patch below. oops, by mistake I attached autoconf.texi instead of the patch. I apologize for the huge mail. Attached to this mail please find the patch. Stepan Kasal 2007-06-06 Stepan Kasal <[EMAIL PROTECTED]> * doc/autoco