[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The configure
script creates a file named `config.status',
which actually configures, instantiates, the template files. It
also records the configuration options that were specified when the
package was last configured in case reconfiguring is needed.
Synopsis:
./config.status option... [file...] |
It configures the files; if none are specified, all the templates are instantiated. The files must be specified without their dependencies, as in
./config.status foobar |
not
./config.status foobar:foo.in:bar.in |
The supported options are:
This option and the following ones provide one way for separately
distributed packages to share the values computed by configure
.
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 `config.status' file to create files other than the
ones that its `configure.ac' specifies, so it can be used for a
different package.
configure
, so that the
results of some tests might be different from the previous run. The
`--recheck' option re-runs configure
with the same arguments
you used before, plus the `--no-create' option, which prevents
configure
from running `config.status' and creating
`Makefile' and other files, and the `--no-recursion' option,
which prevents configure
from running other configure
scripts in subdirectories. (This is so other `Makefile' rules can
run `config.status' when it changes; see section 4.7.4 Automatic Remaking,
for an example).
`config.status' checks several optional environment variables that can alter its behavior:
configure
for the `--recheck'
option. It must be Bourne-compatible. The default is a shell that
supports LINENO
if available, and `/bin/sh' otherwise.
configure
scripts shouldn't be merged because they are maintained separately.
You can use `./config.status' in your Makefiles. For example, in the dependencies given above (see section 4.7.4 Automatic Remaking), `config.status' is run twice when `configure.ac' has changed. If that bothers you, you can make each run only regenerate the files for that rule:
config.h: stamp-h stamp-h: config.h.in config.status ./config.status config.h echo > stamp-h Makefile: Makefile.in config.status ./config.status Makefile |
The calling convention of `config.status' has changed; see 15.1 Obsolete `config.status' Invocation, for details.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |