Go to file
Eric Blake 5269030d19 AC_CONFIG_MACRO_DIRS: improve tracing and add sanity checks
Too many legacy tools exist for us to unilaterally quit supporting
AC_CONFIG_MACRO_DIR - it is feasible for someone to want their
package to bootstrap with both automake 1.13 and libtool 2.4.2,
where the newer automake will only trace the new style of multiple
directory listings, but the older libtool does a sed and settles
on the one use of the old name.  So, we let both macros forward
to a new tracing macro, which also has the benefit of sanitizing
calls into one directory per trace; we also ensure that the old
macro is always traced, and appears at most once and before any
use of the new macro.

* doc/autoconf.texi (Input) <AC_CONFIG_MACRO_DIRS>: Document how
to trace this macro.
* lib/autom4te.in (Autoreconf-preselections)
(Automake-preselections): Preselect this trace.
* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR_TRACE): New trace.
(_AC_CONFIG_MACRO_DIRS_USED, _AC_CONFIG_MACRO_DIRS): New internal
macros.
(AC_CONFIG_MACRO_DIRS, AC_CONFIG_MACRO_DIR): Use them.
* tests/tools.at (autoconf --trace: AC_CONFIG_MACRO_DIRS): New
test.
2012-11-09 16:16:22 -07:00
bin autoreconf: assume --force-missing automake option is supported 2012-09-21 21:42:19 +02:00
build-aux maint: resync most files from upstream 2012-09-21 21:52:09 +02:00
doc AC_CONFIG_MACRO_DIRS: improve tracing and add sanity checks 2012-11-09 16:16:22 -07:00
lib AC_CONFIG_MACRO_DIRS: improve tracing and add sanity checks 2012-11-09 16:16:22 -07:00
m4 build: quote 'like this', not `like this' 2012-09-21 21:42:59 +02:00
man maint: remove empty lines at EOF 2012-01-21 11:49:40 +01:00
tests AC_CONFIG_MACRO_DIRS: improve tracing and add sanity checks 2012-11-09 16:16:22 -07:00
.gitattributes maint: don't sync elisp-comp or missing from gnulib 2012-06-27 16:59:21 -06:00
.gitignore maint: generate ChangeLog from git log 2012-01-17 09:18:58 +01:00
.prev-version maint: post-release administrivia 2012-04-24 21:06:32 -06:00
.x-update-copyright maint: document use of copyright ranges 2011-01-04 16:32:25 -07:00
AUTHORS maint: update copyright year 2012-01-04 00:20:24 -08:00
BUGS maint: update copyright year 2012-01-04 00:20:24 -08:00
cfg.mk maint: avoid new syntax-check failure 2012-07-22 12:26:26 +02:00
ChangeLog.0 Update uses of all-permissive license. 2009-05-20 06:02:49 -06:00
ChangeLog.1 Update uses of all-permissive license. 2009-05-20 06:02:49 -06:00
ChangeLog.2 maint: fix typos in old ChangeLog files 2012-05-29 12:33:46 +02:00
ChangeLog.3 maint: fix typos in old ChangeLog files 2012-05-29 12:33:46 +02:00
configure.ac build: quote 'like this', not `like this' 2012-09-21 21:42:59 +02:00
COPYING Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00
COPYING.EXCEPTION Update License to GPLv3+ including new Autoconf Exception. 2009-09-09 19:53:31 +02:00
COPYINGv3 Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00
GNUmakefile maint: resync files from upstream 2012-03-01 21:28:52 -07:00
HACKING Release Version 2.68b. 2012-03-01 21:28:54 -07:00
maint.mk maint: resync most files from upstream 2012-09-21 21:52:09 +02:00
Makefile.am build: quote 'like this', not `like this' 2012-09-21 21:42:59 +02:00
NEWS AC_CONFIG_MACRO_DIRS: new macro, mostly for aclocal 2012-11-09 15:45:44 -07:00
README build: require perl 5.6 2012-03-07 10:50:09 -07:00
README-alpha maint: update copyright year 2012-01-04 00:20:24 -08:00
README-hacking build: require perl 5.6 2012-03-07 10:50:09 -07:00
THANKS maint: fix the comment at the end of _AC_FUNC_REALLOC_IF 2012-09-25 08:47:11 -06:00
TODO AC_PROG_CC_STDC: fold into AC_PROG_CC, removing C11 macro 2012-09-20 14:33:32 -07:00

-*- text -*-

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 and
Perl.  You should install GNU M4 (version 1.4.6 or later is required;
1.4.14 or later is recommended) and Perl (5.006 or later) before
configuring Autoconf, so that Autoconf's configure script can find
them.  The configuration scripts produced by Autoconf are
self-contained, so their users do not need to have Autoconf (or GNU
M4, Perl, etc.).

You can get GNU M4 here:

ftp://ftp.gnu.org/gnu/m4/

The file INSTALL should 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.

Be sure to read BUGS and INSTALL.

Mail suggestions to autoconf@gnu.org, report bugs to
bug-autoconf@gnu.org, and submit patches to autoconf-patches@gnu.org.
All changes can be tracked at the read-only autoconf-commit@gnu.org.
Always include the Autoconf version number, which you can get by
running `autoconf --version'.  Archives of bug-autoconf@gnu.org can be
found in <http://lists.gnu.org/archive/html/bug-autoconf/>, and
similarly for the other mailing lists.

Licensing

Autoconf is released under the General Public License version 3 (GPLv3+).
Additionally, Autoconf includes a licensing exception in some of its
source files; see the respective copyright notices for how your
project is impacted by including scripts generated by Autoconf, and the
COPYING.EXCEPTION file for the exception in terms of the Additional
Permissions as described in section 7 of GPLv3.

For more licensing information, see
<http://www.gnu.org/licenses/gpl-faq.html> and
<http://www.gnu.org/licenses/exceptions.html>.

For any copyright year range specified as YYYY-ZZZZ in this package
note that the range specifies every single year in that closed interval.

-----

Copyright (C) 1992-1994, 1998, 2000-2012 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.  This file is offered as-is,
without warranty of any kind.