(autoconf.info.gz) Output
Info Catalog
(autoconf.info.gz) Input
(autoconf.info.gz) Setup
(autoconf.info.gz) Configuration Actions
Outputting Files
================
Every Autoconf script, e.g., `configure.ac', should finish by
calling `AC_OUTPUT'. That is the macro that generates `config.status',
which will create the `Makefile's and any other files resulting from
configuration. This is the only required macro besides `AC_INIT'
( Input).
- Macro: AC_OUTPUT
Generate `config.status' and launch it. Call this macro once, at
the end of `configure.ac'.
`config.status' will perform all the configuration actions: all the
output files (see Configuration Files, macro
DONTPRINTYET `AC_CONFIG_FILES'), header files (see Configuration
Headers, macro `AC_CONFIG_HEADERS'), commands (see *Note
DONTPRINTYET `AC_CONFIG_FILES'), header files (see Configuration
Headers, macro `AC_CONFIG_HEADERS'), commands (see
Configuration Commands, macro `AC_CONFIG_COMMANDS'), links (see
Configuration Links, macro `AC_CONFIG_LINKS'),
subdirectories to configure (see Subdirectories, macro
`AC_CONFIG_SUBDIRS') are honored.
Historically, the usage of `AC_OUTPUT' was somewhat different.
Obsolete Macros, for a description of the arguments that
`AC_OUTPUT' used to support.
If you run `make' in subdirectories, you should run it using the
`make' variable `MAKE'. Most versions of `make' set `MAKE' to the name
of the `make' program plus any options it was given. (But many do not
include in it the values of any variables set on the command line, so
those are not passed on automatically.) Some old versions of `make' do
not set this variable. The following macro allows you to use it even
with those versions.
- Macro: AC_PROG_MAKE_SET
If `make' predefines the variable `MAKE', define output variable
`SET_MAKE' to be empty. Otherwise, define `SET_MAKE' to contain
`MAKE=make'. Calls `AC_SUBST' for `SET_MAKE'.
If you use this macro, place a line like this in each `Makefile.in'
that runs `MAKE' on other directories:
@SET_MAKE@
Info Catalog
(autoconf.info.gz) Input
(autoconf.info.gz) Setup
(autoconf.info.gz) Configuration Actions
automatically generated byinfo2html