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/autoconf.texi (Defining Directories): Mention
        AM_CPPFLAGS, as the way to modify CPPFLAGS, because most users
        use Automake.

Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.1160
diff -u -r1.1160 autoconf.texi
--- 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
 
 @noindent

Reply via email to