* doc/autoconf.texi (Trailing whitespace in Make Macros):
Document issue with trailing whitespace in macro settings.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2011-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ docs: BSD and Solaris make trailing space macro issue.
+ * doc/autoconf.texi (Trailing whitespace in Make Macros):
+ Document issue with trailing whitespace in macro settings.
+
2011-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix Cray Fortran flag for AC_FC_IMPLICIT_NONE.
@noindent
prints @samp{bar.test .test}.
+BSD and Solaris @command{make} implementations do not honor trailing
+whitespace in macro definitions as Posix requires:
+
+@example
+foo = bar # Note the space after "bar".
+print: ; @@echo $(foo)t
+@end example
+
+@noindent
+prints @samp{bart} instead of @samp{bar t}. To work around this, you
+can use a helper macro as in the previous example.
+
+
@node Command-line Macros and whitespace
@section Command-line Macros and whitespace
@cindex whitespace in command-line macros