Go to file
Akim Demaille e92b805c22 1999-10-01 Akim Demaille <akim@epita.fr>
Moving most of the task of creating config.h.in from sh to m4.
	Getting rid of acconfig.h by supply a major new family of macros:
	AH_* which make it possible to insert arbitrary text into
	config.h.in.

	* autoheader.m4: Major rewrite: introduction of a set of macros
 	AH_ that produce code into config.h.in.  There are two sets of
 	macros: generic macros, or specialized, documented below.  The
 	basic idea is that an AC_FOO macro which needs an entry in
 	config.h.in should have a sibling AH_FOO which expands into that
 	entry.  In a near future, these macros will be moved next to their
	siblings.

	* autoheader.m4 (AH_VERBATIM, AH_DEFINE, AH_DEFINE, AH_NEED_DECLS,
 	AH_CHECK_SIZEOF, AH_CHECK_FUNCS, AH_CHECK_HEADERS,
 	AH_CHECK_HEADERS, AH_CHECK_LIB, AH_PROG_LEX, AH_FUNC_ALLOCA,
 	AH_C_CHAR_UNSIGNED, AH_AIX, AH_F77_WRAPPERS): New macros.

	* autoheader.m4 (End section): Bind AC_ macros to their
	AH_siblings.

	* autoheader.sh: Remove the sections in charge of SYMS, TYPES,
	FUNCS, HEADERS, LIBS and DECLS: autoheader.m4 is now in charge of
	these.

	* autoheader.sh (options): Added -d, --debug, which does not
	remove the temporary files.

	* autoheader.sh: Instead of redirecting stdout to the output
	stream, always output to a temporary file.  This allows to change
	slightly the consistency check: before autoheader would check that
	each non documented AC_DEFINE is templated in an acconfig.  Now it
	just checks whether the template is in the output file.

	* acconfig.h: Completely emptied, the remaining templates
	(_ALL_SOURCE, __CHAR_UNSIGNED__, F77_FUNC, F77_FUNC_,
 	HAVE_STRINGIZE, and STACK_DIRECTION) are now either associated to
 	their AC_DEFINE, or to one of the new AH_ macros.

	* acgeneral.m4: Reordering of the m4 macros which are not specific
 	to Autoconf.

	* acgeneral.m4 (AC_HAVE_LIB): Promoted from obsolete to hasbeen.

	* acgeneral.m4 (AC_TR_CPP): Fixed quoting problem, and missing ^
	in patsubst.
	(AC_TR_SH): Fixed quoting problem.
1999-10-04 08:19:04 +00:00
bin 1999-01-11 Akim Demaille <demaille@inf.enst.fr> 1999-04-10 06:18:49 +00:00
doc Merged the trunk 1999-10-01 12:34:27 +00:00
lib 1999-10-01 Akim Demaille <akim@epita.fr> 1999-10-04 08:19:04 +00:00
testsuite 1998-09-27 Ben Elliston <bje@cygnus.com> 1998-09-27 03:26:21 +00:00
acconfig.h 1999-10-01 Akim Demaille <akim@epita.fr> 1999-10-04 08:19:04 +00:00
acfunctions 1999-04-17 Paul Eggert <eggert@twinsun.com> 1999-04-22 21:38:24 +00:00
acgeneral.m4 1999-10-01 Akim Demaille <akim@epita.fr> 1999-10-04 08:19:04 +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
acmakevars various small adjustments 1994-08-23 15:04:53 +00:00
acoldnames.m4 update street address 1996-06-12 17:55:25 +00:00
acprograms various small adjustments 1994-08-23 15:04:53 +00:00
acspecific.m4 1999-10-01 Akim Demaille <akim@epita.fr> 1999-10-04 08:19:04 +00:00
AUTHORS rewhack the compiler checking and fix some minor bugs 1996-11-20 00:21:34 +00:00
autoconf.in 1999-01-13 Ben Elliston <bje@cygnus.com> 1999-01-13 04:38:34 +00:00
autoconf.m4 update street address 1996-06-12 17:55:25 +00:00
autoconf.sh 1999-09-21 Akim Demaille <akim@epita.fr> 1999-09-21 09:58:58 +00:00
autoconf.texi Merged the trunk 1999-10-01 12:34:27 +00:00
autoheader.in 1999-03-22 Pavel Roskin <pavel_roskin@geocities.com> 1999-03-21 13:54:14 +00:00
autoheader.m4 1999-10-01 Akim Demaille <akim@epita.fr> 1999-10-04 08:19:04 +00:00
autoheader.sh 1999-10-01 Akim Demaille <akim@epita.fr> 1999-10-04 08:19:04 +00:00
autoreconf.in 1999-01-11 Akim Demaille <demaille@inf.enst.fr> 1999-04-10 06:18:49 +00:00
autoreconf.sh Merged the trunk 1999-10-01 12:34:27 +00:00
autoscan.in 1999-02-26 Ben Elliston <bje@cygnus.com> 1999-02-25 18:15:07 +00:00
autoscan.pl Merged the trunk 1999-10-01 12:34:27 +00:00
ChangeLog 1999-10-01 Akim Demaille <akim@epita.fr> 1999-10-04 08:19:04 +00:00
ChangeLog.0 . 1995-06-23 02:57:42 +00:00
ChangeLog.1 . 1995-06-23 02:57:42 +00:00
config.guess Sync up with the main trunk. 1999-09-24 23:06:07 +00:00
config.sub Sync up with the main trunk. 1999-09-24 23:06:07 +00:00
configure Merged the trunk 1999-10-01 12:34:27 +00:00
configure.in Sync up with the main trunk. 1999-09-24 23:06:07 +00:00
COPYING fix a couple of bugs 1996-12-11 00:49:47 +00:00
ifnames.in 1999-01-19 Pavel Roskin <pavel_roskin@geocities.com> 1999-01-19 06:58:47 +00:00
ifnames.sh 1999-01-19 Pavel Roskin <pavel_roskin@geocities.com> 1999-01-19 06:58:47 +00:00
INSTALL 1999-09-26 Akim Demaille <akim@epita.fr> 1999-09-27 09:30:20 +00:00
install-sh 1999-02-26 Ben Elliston <bje@cygnus.com> 1999-02-25 18:31:19 +00:00
install.texi Sync up with the main trunk. 1999-09-24 23:06:07 +00:00
make-stds.texi Mention YFLAGS and LFLAGS along with CFLAGS. 1997-10-27 03:47:03 +00:00
Makefile.in Sync up with the main trunk. 1999-09-24 23:06:07 +00:00
mkinstalldirs 1999-04-10 Ben Elliston <bje@cygnus.com> 1999-04-09 21:44:01 +00:00
NEWS 1999-09-26 Akim Demaille <akim@epita.fr> 1999-09-27 09:30:20 +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 1998-09-26 Ben Elliston <bje@cygnus.com> 1998-09-26 06:51:14 +00:00
THANKS 1999-09-21 Akim Demaille <akim@epita.fr> 1999-09-21 09:58:58 +00:00
TODO Merged the trunk 1999-10-01 12:34:27 +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>.