Go to file
Akim Demaille c0bc015e7b Extend the concept of `INIT-CMDS' to the AC_CONFIG_FOOS.
* acgeneral.m4 (_AC_CONFIG_COMMANDS_INIT): New macro which will
collect the `INIT-CMDS'.
(AC_CONFIG_COMMANDS, AC_CONFIG_LINKS, AC_CONFIG_HEADERS,
AC_CONFIG_FILES): Use it, and also temporarily divert to -1
instead of spamming dnl everywhere.
(AC_OUTPUT_CONFIG_STATUS): Make sure to output the INIT-CMDS
before the other sections, it'd be a pity to initialize after the
use :).

* doc/autoconf.texi (Configuration Actions): New section,
documenting the common behavior of AC_CONFIG_FILES,
AC_CONFIG_HEADERS, macro AC_CONFIG_COMMANDS, and AC_CONFIG_LINKS.
(Configuration Files): Document $2 and $3 of AC_CONFIG_FILES.
(Configuration Headers): Document $2 and $3 of AC_CONFIG_HEADERS.
(Configuration Commands): Document $2 and $3 of AC_CONFIG_COMMANDS.
(Configuration Links): Document $2 and $3 of AC_CONFIG_FILES.
2000-02-09 17:01:44 +00:00
bin * autoheader.sh (debug): Initialize to `false', not 0. 2000-02-08 17:23:25 +00:00
doc Extend the concept of `INIT-CMDS' to the AC_CONFIG_FOOS. 2000-02-09 17:01:44 +00:00
lib Extend the concept of `INIT-CMDS' to the AC_CONFIG_FOOS. 2000-02-09 17:01:44 +00:00
m4 Start a new series of tests which check the semantics. 2000-02-07 11:54:29 +00:00
man Revamp the autoupdate/AC_OBSOLETE chain. All the details are 2000-02-08 13:25:49 +00:00
tests * tests/base.m4: Really added to the CVS repository. 2000-02-09 08:36:01 +00:00
testsuite 1999-11-11 Akim Demaille <akim@epita.fr> 2000-01-29 12:18:40 +00:00
acfunctions 1999-04-17 Paul Eggert <eggert@twinsun.com> 1999-04-22 21:38:24 +00:00
acgeneral.m4 Extend the concept of `INIT-CMDS' to the AC_CONFIG_FOOS. 2000-02-09 17:01:44 +00:00
acheaders more tweaks 1996-11-15 00:04:39 +00:00
acidentifiers various small adjustments 1994-08-23 15:04:53 +00:00
aclocal.m4 1999-11-11 Akim Demaille <akim@epita.fr> 2000-01-29 12:18:40 +00:00
acmakevars various small adjustments 1994-08-23 15:04:53 +00:00
acoldnames.m4 Revamp the autoupdate/AC_OBSOLETE chain. All the details are 2000-02-08 13:25:49 +00:00
acprograms various small adjustments 1994-08-23 15:04:53 +00:00
acspecific.m4 Introduce a concept index, and update a bit the documentation. 2000-02-08 13:38:45 +00:00
acversion.m4.in 1999-10-31 Ben Elliston <bje@cygnus.com> 1999-10-31 01:54:28 +00:00
AUTHORS rewhack the compiler checking and fix some minor bugs 1996-11-20 00:21:34 +00:00
autoconf.in * autoupdate.sh: Don't dump --help on --wrong-option. 2000-02-08 13:45:24 +00:00
autoconf.m4 Clean up some m4 files. 2000-02-08 13:16:01 +00:00
autoconf.sh * autoupdate.sh: Don't dump --help on --wrong-option. 2000-02-08 13:45:24 +00:00
autoconf.texi Extend the concept of `INIT-CMDS' to the AC_CONFIG_FOOS. 2000-02-09 17:01:44 +00:00
autoheader.in * autoheader.sh (debug): Initialize to `false', not 0. 2000-02-08 17:23:25 +00:00
autoheader.m4 Open the access to AH_ to users. 2000-02-08 13:54:48 +00:00
autoheader.sh * autoheader.sh (debug): Initialize to `false', not 0. 2000-02-08 17:23:25 +00:00
autoreconf.in * autoupdate.sh: Don't dump --help on --wrong-option. 2000-02-08 13:45:24 +00:00
autoreconf.sh * autoupdate.sh: Don't dump --help on --wrong-option. 2000-02-08 13:45:24 +00:00
autoscan.in 1999-10-31 Akim Demaille <akim@epita.fr> 2000-01-10 10:11:57 +00:00
autoscan.pl 1999-10-31 Akim Demaille <akim@epita.fr> 2000-01-10 10:11:57 +00:00
autoupdate.m4 Revamp the autoupdate/AC_OBSOLETE chain. All the details are 2000-02-08 13:25:49 +00:00
ChangeLog Extend the concept of `INIT-CMDS' to the AC_CONFIG_FOOS. 2000-02-09 17:01:44 +00:00
ChangeLog.0 . 1995-06-23 02:57:42 +00:00
ChangeLog.1 . 1995-06-23 02:57:42 +00:00
config.guess Indenting fix. 1999-10-31 01:16:52 +00:00
config.sub 1999-09-22 Linas Vepstas <linas@linas.org> 1999-09-22 09:25:12 +00:00
configure Clean up a bit the user interface. 2000-02-08 11:39:46 +00:00
configure.in * testsuite/autoconf.g/init.exp: Removed, test performed by 2000-02-04 14:24:34 +00:00
COPYING fix a couple of bugs 1996-12-11 00:49:47 +00:00
ifnames.in 1999-11-10 Akim Demaille <akim@epita.fr> 2000-01-29 09:46:28 +00:00
ifnames.sh 1999-11-10 Akim Demaille <akim@epita.fr> 2000-01-29 09:46:28 +00:00
INSTALL * merged from the experimental branch. 1999-10-26 03:54:59 +00:00
install-sh 1999-02-26 Ben Elliston <bje@cygnus.com> 1999-02-25 18:31:19 +00:00
install.texi * merged from the experimental branch. 1999-10-26 03:54:59 +00:00
libm4.m4 * libm4.m4 (m4_sign, m4_cmp, m4_list_cmp): New macros. 2000-02-09 11:59:24 +00:00
make-stds.texi Mention YFLAGS and LFLAGS along with CFLAGS. 1997-10-27 03:47:03 +00:00
Makefile.am Revamp the autoupdate/AC_OBSOLETE chain. All the details are 2000-02-08 13:25:49 +00:00
Makefile.in * acgeneral.m4 (AC_INCLUDES_DEFAULT): Make it more robust to 2000-02-08 13:50:52 +00:00
mdate-sh 1999-10-31 Ben Elliston <bje@cygnus.com> 1999-10-31 01:54:28 +00:00
missing 1999-10-31 Ben Elliston <bje@cygnus.com> 1999-10-31 01:54:28 +00:00
mkinstalldirs 1999-04-10 Ben Elliston <bje@cygnus.com> 1999-04-09 21:44:01 +00:00
NEWS 1999-10-31 Akim Demaille <akim@epita.fr> 2000-01-10 10:13:42 +00:00
README 1998-10-03 Ben Elliston <bje@cygnus.com> 1998-10-02 07:23:22 +00:00
standards.texi 1999-04-01 Ben Elliston <bje@cygnus.com> 1999-03-31 08:16:10 +00:00
texinfo.tex 1999-11-11 Akim Demaille <akim@epita.fr> 2000-01-29 12:29:03 +00:00
THANKS * TODO: Updated. 2000-02-08 08:53:03 +00:00
TODO Promote AC_LANG_CASE. 2000-02-08 09:54:19 +00:00

Autoconf

Autoconf is an extensible package of m4 macros that produce shell
scripts to automatically configure software source code packages.
These scripts can adapt the packages to many kinds of UNIX-like
systems without manual user intervention.  Autoconf creates a
configuration script for a package from a template file that lists the
operating system features that the package can use, in the form of m4
macro calls.

Producing configuration scripts using Autoconf requires GNU m4.  You
must install GNU m4 (version 1.1 or later, preferably 1.3 or later
for better performance) before configuring Autoconf, so that
Autoconf's configure script can find it.  The configuration scripts
produced by Autoconf are self-contained, so their users do not need to
have Autoconf (or GNU m4).

Also, some optional utilities that come with Autoconf use Perl, TCL,
and the TCL packages Expect and DejaGNU.  However, none of those
are required in order to use the main Autoconf program.  If they are
not present, the affected Autoconf utilities will not be installed.

The file INSTALL can be distributed with packages that use
Autoconf-generated configure scripts and Makefiles that conform to the
GNU coding standards.  The package's README can just give an overview
of the package, where to report bugs, and a pointer to INSTALL for
instructions on compilation and installation.  This removes the need
to maintain many similar sets of installation instructions.

The file `acconfig.h' contains short descriptions of the C preprocessor
variables that Autoconf can define, suitable for copying into other
packages' configuration headers or Makefile.in files.  You can use the
program `autoheader' to automatically create a configuration header
from a `configure.in', based on the information in `acconfig.h'.

Mail suggestions and bug reports for Autoconf to autoconf@gnu.org.
Please include the Autoconf version number, which you can get by running
"autoconf --version".  The current autoconf maintainer is Ben Elliston
<bje@cygnus.com>.