From: Ralf Wildenhues Date: Mon, 29 Oct 2007 19:40:38 +0000 (+0100) Subject: * doc/automake.texi (Program variables): Clarify that X-Git-Tag: v1.10b~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=409466a98d6d20912629a9707000f73131b58b78;p=thirdparty%2Fautomake.git * 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/ChangeLog b/ChangeLog index a0dce2fad..de69a259d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-29 Bruno Haible + + * 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 Move to git as primary source repository. diff --git a/doc/automake.texi b/doc/automake.texi index f6aae8efa..c9fd901bf 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -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.