]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Point at AM_SUBST_NOTMAKE.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 3 Nov 2008 21:52:43 +0000 (22:52 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 3 Nov 2008 21:52:43 +0000 (22:52 +0100)
* doc/autoconf.texi (Setting Output Variables): Add cross
reference to new Automake macro AM_SUBST_NOTMAKE.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
doc/autoconf.texi

index 0b0eaf05a6c81d219347a3d195b98a413cf0b6dd..9024ea0a0f62f96c90231745f12eeac2ab857647 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       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  <bonzini@gnu.org>
 
        Eliminate a fork per invocation of AC_LANG_CONFTEST.
index 2a7fc4a106f8e2b609130a871862d49f454c1804..20fd9a047aae49eb0792c91c6f803d43b107c02c 100644 (file)
@@ -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.