Hello Bruno,

Apologies for the delay.

* Bruno Haible wrote on Mon, Oct 15, 2007 at 10:51:36PM CEST:
> 
> > |      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, `-I' and `-D' options should be
> > |      listed here.
> > | 
> > |      Automake already provides some `-I' options automatically.
> 
> It will be less prone to misunderstandings if you change that last sentence to
> 
>         "Automake already provides some `-I' options automatically, in a
>          separate variable that is also passed to every compilation that
>          invokes the C preprocessor."

Good idea!  I've applied this:

Cheers,
Ralf

2007-10-29  Bruno Haible  <[EMAIL PROTECTED]>

        * doc/automake.texi (Program variables): Clarify that
        Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
        passes it directly to compilation commands.

diff --git a/doc/automake.texi b/doc/automake.texi
index 3b5dc2d..e720d84 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -5745,12 +5745,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
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] 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)},
[EMAIL PROTECTED], and a @option{-I} pointing to the directory holding
[EMAIL PROTECTED] (if you've used @code{AC_CONFIG_HEADERS} or
[EMAIL PROTECTED]).  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.


Reply via email to