bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getcwd infinite recursion


From: Ralf Wildenhues
Subject: Re: getcwd infinite recursion
Date: Mon, 29 Oct 2007 20:40:55 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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  <address@hidden>

        * 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
address@hidden 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
address@hidden 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)},
address@hidden, and a @option{-I} pointing to the directory holding
address@hidden (if you've used @code{AC_CONFIG_HEADERS} or
address@hidden).  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

[Prev in Thread] Current Thread [Next in Thread]