diff --git a/ChangeLog b/ChangeLog index 5d3ac87c..7068a193 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-08-30 Eric Blake + docs: mention Solaris here-docs vs. ${a-"b c"} + * doc/autoconf.texi (Shell Substitutions) <${var:=value}>: + Document problem of "" within here-docs. + Reported by Ralf Wildenhues. + fortran: always avoid AC_LANG_CONFTEST warning * lib/autoconf/lang.m4 (AC_LANG_CONFTEST()): Make the default match the fact that the default AC_LANG_SOURCE does not inline diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 840b4fe5..923fff60 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -15466,7 +15466,8 @@ use null variable substitution patterns in configure scripts. @cindex $@{@var{var}+@var{value}@} When using @samp{$@{@var{var}-@var{value}@}} or @samp{$@{@var{var}-@var{value}@}} for providing alternate substitutions, -@var{value} must either be a single shell word or be quoted. Solaris +@var{value} must either be a single shell word, quoted, or in the +context of an unquoted here-document. Solaris @command{/bin/sh} complains otherwise. @example @@ -15476,12 +15477,17 @@ $ @kbd{/bin/sh -c 'echo $@{a-'\''b c'\''@}'} b c $ @kbd{/bin/sh -c 'echo "$@{a-b c@}"'} b c +$ @kbd{/bin/sh -c 'cat <