mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-12 10:35:06 +08:00
13527a7b56
Fix a bit of the brokenness of AC_CHECK_TYPE. * acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): New macro, inspired from the former AC_CHECK_TYPE. This macro is exactly the one that ought to be named AC_CHECK_TYPE: it just checks, and executes user actions. In the future, this macro ought to be renamed AC_CHECK_TYPE. There is a big difference with the former AC_CHECK_TYPE: instead of grepping in the headers, it tries to compile a variable declaration. This is both safer, slower, and better, since now we can check for compiler types (e.g., unsigned long long). (AC_CHECK_TYPES): The looping and AC_DEFINEing version of the previous macro. Uses m4 loops. (AC_CHECK_TYPE): Reimplemented on top of AC_CHECK_TYPE_INTERNAL. * autoheader.m4 (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros, hooked. * autoconf.texi (@ovar): New macro, for optional variables. (Generic Typedefs): Document AC_CHECK_TYPES. * autoheader.texi: (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros. (Epilogue): Hooks them. |
||
---|---|---|
bin | ||
doc | ||
lib | ||
man | ||
testsuite | ||
acfunctions | ||
acgeneral.m4 | ||
acheaders | ||
acidentifiers | ||
aclocal.m4 | ||
acmakevars | ||
acoldnames.m4 | ||
acprograms | ||
acspecific.m4 | ||
acversion.m4.in | ||
AUTHORS | ||
autoconf.in | ||
autoconf.m4 | ||
autoconf.sh | ||
autoconf.texi | ||
autoheader.in | ||
autoheader.m4 | ||
autoheader.sh | ||
autoreconf.in | ||
autoreconf.sh | ||
autoscan.in | ||
autoscan.pl | ||
ChangeLog | ||
ChangeLog.0 | ||
ChangeLog.1 | ||
config.guess | ||
config.sub | ||
configure | ||
configure.in | ||
COPYING | ||
ifnames.in | ||
ifnames.sh | ||
INSTALL | ||
install-sh | ||
install.texi | ||
make-stds.texi | ||
Makefile.am | ||
Makefile.in | ||
mdate-sh | ||
missing | ||
mkinstalldirs | ||
NEWS | ||
README | ||
standards.texi | ||
texinfo.tex | ||
THANKS | ||
TODO |
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>.