[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getcwd infinite recursion
From: |
Bruno Haible |
Subject: |
Re: getcwd infinite recursion |
Date: |
Mon, 15 Oct 2007 22:51:36 +0200 |
User-agent: |
KMail/1.5.4 |
Ralf Wildenhues wrote:
> > To me, it looks like AM_CPPFLAGS is empty by default. Automake's default
> > includes are in a separate variable called DEFAULT_INCLUDES.
>
> Only if you've used nostdinc (`info Automake "Program variables"'):
>
> | `AM_CPPFLAGS' <doc of AM_CPPFLAGS>
Then the doc of AM_CPPFLAGS is misunderstandable. What I've observed with
automake 1.10, is that after running "gnulib-tool --create-testdir ..."
- The generated Makefile.am has a line defining AM_CPPFLAGS to empty.
- The Makefile then has an empty AM_CPPFLAGS as well, and a variable
DEFAULT_INCLUDES that contains -I. and others.
- When I remove the line that defines AM_CPPFLAGS from Makefile.am, it
disappears also from the Makefile. This has no effect on the build.
> | 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."
Bruno
- getcwd infinite recursion, Colin Watson, 2007/10/14
- Re: getcwd infinite recursion, Bruno Haible, 2007/10/14
- Re: getcwd infinite recursion, Colin Watson, 2007/10/14
- Re: getcwd infinite recursion, Bruno Haible, 2007/10/14
- Re: getcwd infinite recursion, Colin Watson, 2007/10/14
- Re: getcwd infinite recursion, Bruno Haible, 2007/10/14
- Re: getcwd infinite recursion, Ralf Wildenhues, 2007/10/15
- Re: getcwd infinite recursion,
Bruno Haible <=
- Re: getcwd infinite recursion, Ralf Wildenhues, 2007/10/29
- Re: getcwd infinite recursion, Colin Watson, 2007/10/15
- Re: getcwd infinite recursion, Bruno Haible, 2007/10/15
- Re: getcwd infinite recursion, Jim Meyering, 2007/10/15
- Re: getcwd infinite recursion, Paul Eggert, 2007/10/16