]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* doc/automake.texi (Program variables): Clarify that
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 29 Oct 2007 19:40:38 +0000 (20:40 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 29 Oct 2007 19:40:38 +0000 (20:40 +0100)
Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
passes it directly to compilation commands.

ChangeLog
doc/automake.texi

index a0dce2faddd53225f98fa73b9a0113e43cf045f9..de69a259dea0de92c424b06c7695b326f7b3b88e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-29  Bruno Haible  <bruno@clisp.org>
+
+       * doc/automake.texi (Program variables): Clarify that
+       Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
+       passes it directly to compilation commands.
+
 2007-10-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Move to git as primary source repository.
index f6aae8efa1aca9d43922b0cc24216903f96ed338..c9fd901bf52976b342e97f44a1dc973450230693 100644 (file)
@@ -5746,12 +5746,13 @@ The contents of this variable are passed to every compilation that invokes
 the C preprocessor; it is a list of arguments to the preprocessor.  For
 instance, @option{-I} and @option{-D} options should be listed here.
 
-Automake already provides some @option{-I} options automatically.  In
-particular it generates @samp{-I$(srcdir)}, @samp{-I.}, and a
-@option{-I} pointing to the directory holding @file{config.h} (if
-you've used @code{AC_CONFIG_HEADERS} or @code{AM_CONFIG_HEADER}).  You
-can disable the default @option{-I} options using the
-@option{nostdinc} option.
+Automake already provides some @option{-I} options automatically, in a
+separate variable that is also passed to every compilation that invokes
+the C preprocessor.  In particular it generates @samp{-I$(srcdir)},
+@samp{-I.}, and a @option{-I} pointing to the directory holding
+@file{config.h} (if you've used @code{AC_CONFIG_HEADERS} or
+@code{AM_CONFIG_HEADER}).  You can disable the default @option{-I}
+options using the @option{nostdinc} option.
 
 @code{AM_CPPFLAGS} is ignored in preference to a per-executable (or
 per-library) @code{_CPPFLAGS} variable if it is defined.