From: Ralf Wildenhues Date: Mon, 3 Nov 2008 21:52:43 +0000 (+0100) Subject: Point at AM_SUBST_NOTMAKE. X-Git-Tag: v2.63b~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5445543c50650c874a92775722d5cfbc20da648;p=thirdparty%2Fautoconf.git Point at AM_SUBST_NOTMAKE. * doc/autoconf.texi (Setting Output Variables): Add cross reference to new Automake macro AM_SUBST_NOTMAKE. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 0b0eaf05a..9024ea0a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-11-03 Ralf Wildenhues + + Point at AM_SUBST_NOTMAKE. + * doc/autoconf.texi (Setting Output Variables): Add cross + reference to new Automake macro AM_SUBST_NOTMAKE. + 2008-11-03 Paolo Bonzini Eliminate a fork per invocation of AC_LANG_CONFTEST. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 2a7fc4a10..20fd9a047 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -8761,7 +8761,12 @@ or more makefiles). This means that @code{AC_OUTPUT} replaces instances of @samp{@@@var{variable}@@} in input files with the value that the shell variable @var{variable} has when @code{AC_OUTPUT} is called. The value can contain any non-@code{NUL} character, including -newline. +newline. If you are using Automake 1.11 or newer, for newlines in values +you might want to consider using @code{AM_SUBST_NOTMAKE} to prevent +@command{automake} from adding a line @code{@var{variable} = +@@@var{variable}@@} to the @file{Makefile.in} files (@pxref{Optional, , +Automake, automake, Other things Automake recognizes}). + Variable occurrences should not overlap: e.g., an input file should not contain @samp{@@@var{var1}@@@var{var2}@@} if @var{var1} and @var{var2} are variable names.