From: Ralf Wildenhues Date: Sat, 18 Oct 2008 12:40:56 +0000 (+0200) Subject: Show how to extract single substitutions from config.status. X-Git-Tag: v2.63b~233 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61b66d572b08da5bd671cf53f819cf05172d6cdf;p=thirdparty%2Fautoconf.git Show how to extract single substitutions from config.status. * doc/autoconf.texi (config.status Invocation): Show example using `--file=-'. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 79100bc2..f2c336ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-18 Ralf Wildenhues + + Show how to extract single substitutions from config.status. + * doc/autoconf.texi (config.status Invocation): Show example + using `--file=-'. + 2008-10-17 Eric Blake Add m4_curry. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 3078869a..a6bcb341 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -19100,7 +19100,14 @@ Doing so can be useful if some of the packages need a superset of the features that one of them, perhaps a common library, does. These options allow a @file{config.status} file to create files other than the ones that its @file{configure.ac} specifies, so it can be used for a -different package. +different package, or for extracting a subset of values. For example, + +@example +echo '@@CC@@' | ./config.status --file=- +@end example + +@noindent +provides the value of @code{@@CC@@} on standard output. @item --header=@var{file}[:@var{template}] Same as @option{--file} above, but with @samp{AC_CONFIG_HEADERS}.