From 409466a98d6d20912629a9707000f73131b58b78 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 29 Oct 2007 20:40:38 +0100 Subject: [PATCH] * doc/automake.texi (Program variables): Clarify that Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but passes it directly to compilation commands. --- ChangeLog | 6 ++++++ doc/automake.texi | 13 +++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index a0dce2f..de69a25 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 f6aae8e..c9fd901 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. -- 2.7.4