Commit Graph

3519 Commits

Author SHA1 Message Date
Paul Eggert
689196647b (at_flatten): rewritten to avoid M4 problem when
\(.*\) match is too long and there is something more to be checked.
<http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>

This also undoes the previous patch.
2002-12-03 08:30:12 +00:00
Paul Eggert
4b63b9f8a8 Add Martin Frydl. 2002-12-03 08:23:53 +00:00
Paul Eggert
934fc7e269 Regenerate. 2002-12-03 08:03:07 +00:00
Paul Eggert
8e884317d9 Version 2.57. 2002-12-03 07:59:21 +00:00
Paul Eggert
6745f8efa3 Sync with external sources. 2002-12-03 07:58:02 +00:00
Paul Eggert
53877b5fba (www-gnu): New macro.
(standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
the location has moved.
2002-12-03 07:44:38 +00:00
Paul Eggert
435ae55681 (Obsolete Macros): Fix typos (insert empty
arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
obsolete AC_CHECK_TYPE.
2002-12-03 07:35:31 +00:00
Paul Eggert
44a8557edb Upgrade to FDL 1.2. 2002-12-03 07:27:51 +00:00
Paul Eggert
2c9f4bf3aa (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
nontrivially in main's body, so that f's external declaration is
not optimized away in AIX.  This should fix the bug reported by
Martin Frydl in
<http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
2002-12-03 07:00:37 +00:00
Paul Eggert
1ebbbb55ff (handle_traces): [^ *\(.*\) *$] ->
[^ *\(.*[^ ]\)? *].  The old regular expression was obviously wrong,
and it blunders into a GNU m4 bug as noted by Martin Frydl in
<http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>.
2002-12-03 06:51:15 +00:00
Akim Demaille
55a802a1d5 . 2002-11-15 10:25:13 +00:00
Akim Demaille
c1640cd3d9 Version 2.56.
* config/install-sh: chmod +x.
From Paul Eggert.
* config/move-if-change: Indenting changes.
* Makefile.am (AUTOMAKE_OPTIONS): Move to...
* configure.ac (AM_INIT_AUTOMAKE): here.
Require 1.7.1.
2002-11-15 09:17:30 +00:00
Akim Demaille
adbbc0e9fc . 2002-11-14 18:41:52 +00:00
Akim Demaille
9ac168dc89 Use Automake 1.7.1. 2002-11-14 17:37:45 +00:00
Akim Demaille
c95cfec7a0 Version 2.55.
* config/config.guess, config/config.sub, config/install-sh:
Update from masters.
2002-11-14 11:34:13 +00:00
Akim Demaille
29a5451ab4 * Makefile.maint: Sync with Bison, i.e.:
(po-check): Scan .l and .y files instead of the
.c and the .h files that they generate.  This fixes the bug
reported by Tim Van Holder in:
<http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
Look for N_ as well as for _.  Try to avoid matching #define for
N_ and _.
From Paul Eggert.
2002-11-14 11:16:01 +00:00
Akim Demaille
b37eb00d76 * doc/autoconf.texi (C Compiler): Compiling several files at once.
From Paul Eggert and Albert Chin-A-Young.
2002-11-14 08:42:39 +00:00
Akim Demaille
4aa948e894 * doc/autoconf.texi (C Compiler): Solitary backslashes.
From Paul Eggert and Albert Chin-A-Young.
2002-11-14 08:17:46 +00:00
Kevin Ryde
ce95d6a9dc * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
than assigning in main, to avoid HP cc +O3 optimizing it away.
2002-11-13 23:34:07 +00:00
Akim Demaille
77f69ee45e * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
option.  Process --recheck after parsing all options.  Pass -q
option to configure on --recheck.
(AC_OUTPUT): Pass -q from configure to config.status.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
arguments to record.
* doc/autoconf.texi (config.status Invocation): Document
config.status -q option.
2002-11-12 10:54:44 +00:00
Akim Demaille
ba8d11964a 2.54d. 2002-11-07 14:28:57 +00:00
Alexandre Duret-Lutz
020483fc8e * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
Makefile.in if Makefile.am exists.
(output): Strip `.am' from Makefiles.  Don't
output AC_CONFIG_FILES if no Makefiles were found.
2002-11-07 14:11:31 +00:00
Akim Demaille
dddee0d248 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
(local_updates): New.
* Makefile.maint: Update, from CVS Bison.
(local_updates): New.
2002-11-07 14:03:41 +00:00
Akim Demaille
34afd91665 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
declaration in extern "C" too.
Reported by Roberto Bagnara.
2002-11-06 14:01:49 +00:00
Akim Demaille
4b63001766 * tests/torture.at (Configuring subdirectories): Don't use grep
-w.
* doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
Reported by Ezra Peisach.
2002-11-06 10:29:21 +00:00
Paul Eggert
9ac77be964 Minor fixes, mostly to do with capitalization and spelling. Change
@sc to @acronym where appropriate, and vice versa.
2002-11-06 08:22:00 +00:00
Akim Demaille
6497d928b1 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
Remove.
We _have_ to stop using the old compatibility scheme that tried to
avoid useless backslashes because Libtool 1.4.3 contains a
AC_DEFINE([error_t], [int],
[Define to a type to use for `error_t' if it is not
otherwise available.])
We _have_ to quote the single quote and backslashes with .  The
old compatibility scheme saw that ` was backslashed, and therefore
did not quote the single quote.  Hence before this patch, Autoconf
was not compatible with Libtool.
2002-11-05 20:28:07 +00:00
Paul Eggert
60b954f04e * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
LC_NAME, LC_PAPER, LC_TELEPHONE.
* doc/autoconf.texi (Special Shell Variables): Mention those vars.
2002-11-05 07:17:34 +00:00
Paul Eggert
3497f1fb5c Regenerate. 2002-11-05 07:16:59 +00:00
Paul Eggert
cb9eefa5bf (Special Shell Variables): Mention LC_ADDRESS, LC_IDENTIFICATION,
LC_MEASUREMENT, LC_MONETARY, LC_NAME, LC_PAPER, LC_TELEPHONE.
2002-11-05 07:09:59 +00:00
Paul Eggert
11894d8bfc (AS_SHELL_SANITIZE): Set the following variables,
too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
LC_NAME, LC_PAPER, LC_TELEPHONE.
2002-11-05 07:09:14 +00:00
Akim Demaille
e4a94324d2 Bump to 2.54d. 2002-11-04 10:22:53 +00:00
Akim Demaille
38864a66d7 . 2002-11-04 09:58:46 +00:00
Akim Demaille
82fa4983e9 Version 2.54c.
* Makefile.maint (update, cvs-update, po-update, do-po-update):
New.
* config/texinfo.tex: Update.
2002-11-04 08:47:39 +00:00
Akim Demaille
5c74899ef9 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
from...
(&autoreconf): here.
($help, $make, &parse_args, &autoreconf_current_directory):
Support -m/--make.
* doc/autoconf.texi (autoreconf Invocation): Adjust.
2002-11-03 17:39:29 +00:00
Akim Demaille
cbd2228627 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
Change name of cache variable to ac_cv_func_malloc_0_nonnull.
(AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
(_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
to ac_cv_func_realloc_0_nonnull.
(AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
2002-10-31 17:33:26 +00:00
Akim Demaille
e657196560 The test suite was no longer checking for trailing envvars and files.
* tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
(AT_CHECK_ENV): Make sure the `state-ls.before file exists.
2002-10-31 13:57:37 +00:00
Akim Demaille
1fe8a44d1f * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
`$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
Make variable, not a shell variable.
Suggested by Bruno Haible.
2002-10-31 13:15:03 +00:00
Akim Demaille
fad4a1fa3c * bin/autom4te.in (load_configuration): Reject #args out of any
language.
2002-10-31 08:37:20 +00:00
Akim Demaille
c4e69deefd * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
(_AC_RUN_IFELSE): Use it.
* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
(_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
* lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
inline it.
2002-10-31 08:27:15 +00:00
Akim Demaille
8429b06424 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
* doc/autoconf.texi (autom4te Invocation): Adjust.
Suggested by Tim van Holder.
2002-10-30 09:00:23 +00:00
Paul Eggert
2c5a6c838f * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
Problem reported by Bruno Haible.
2002-10-29 20:23:09 +00:00
Paul Eggert
03b1393359 (Particular Functions): AC_FUNC_MALLOC and AC_FUNC_REALLOC check for
compatibility with glibc, not POSIX.  Problem reported by Bruno
Haible.
2002-10-29 20:22:54 +00:00
Akim Demaille
7b5d569111 * doc/autoconf.texi (Header Templates): Put also in words what the
pictures says to assist free style readers.
(Customizing autom4te): s/--cache=/--cache /.
2002-10-29 13:07:18 +00:00
Akim Demaille
fee20e50c9 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
sys/wait.h.
sparc_address_test returns void.
Use it with an argument, as prototyped.
From Bruno Haible.
2002-10-29 12:52:36 +00:00
Akim Demaille
843be1cfae * doc/autoconf.texi (Subdirectories): Cygnus dirs have
configure.in, not configure.ac.
Reported by Bruno Haible.
2002-10-29 12:41:16 +00:00
Akim Demaille
e69ce16623 * tests/torture.at (Deep Package): New test.
(Configuring subdirectories): Don't use a testSubDir as Autotest
now does it itself.
2002-10-29 08:09:40 +00:00
Akim Demaille
e17454b662 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
* doc/autoconf.texi (Invoking autom4te): Rename as...
(autom4te Invocation): this, for consistency with the other nodes.
2002-10-29 08:09:05 +00:00
Akim Demaille
5082c93acf * lib/autom4te.in (Autoconf): s/automate/autom4te/.
Reported by Ralf Corsepius.
2002-10-29 08:07:29 +00:00
Akim Demaille
f77ff8f591 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
characters is a back as an `obsolete' warning now.
Reported by Ralf Corsepius.
2002-10-29 08:06:36 +00:00