Commit Graph

3450 Commits

Author SHA1 Message Date
Akim Demaille
277d32d307 * lib/autoscan/Makefile.am (CLEANFILES): Add autoscan.list. 2002-10-25 14:30:51 +00:00
Akim Demaille
38c162b207 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA): autoscan.pre is not to be installed, and autoscan.list is not to be shipped. 2002-10-25 13:19:25 +00:00
Akim Demaille
12e8751edd * lib/autoscan/Makefile.am: autoscan.list is in srcdir. 2002-10-25 13:04:42 +00:00
Akim Demaille
9fcb17a71c Version 2.54a.
* Makefile.maint: Update from the Coreutils.
(AMTAR): Remove, obsolete.
(-automake_repo): Update to redhat.com.
(cvs_file): New.
Adjust to the fact that ansi2knr is now hosted by Automake.
* Maekfile.am (cvs_files): Add install-sh and mkinstalldirs.
* config/config.guess, config/mkinstalldirs, config/texinfo.tex:
Update from masters.
2002-10-25 12:17:22 +00:00
Akim Demaille
da6caf35ba * bin/autom4te.in (&load_configuration): Take the file as
argument.
(&parse_args): Handle -C, --cache.
($help): Adjust.
(MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
* lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
* doc/autoconf.texi (Invoking autom4te): Document --cache.
Now a subsection of...
(Using autom4te): This new section.
(Customizing autom4te): New.
(autom4te.cache): Adjust.
2002-10-25 11:52:37 +00:00
Akim Demaille
02d19480e5 Regen. 2002-10-25 10:53:46 +00:00
Akim Demaille
31563ce0ad Update. 2002-10-25 09:03:31 +00:00
Akim Demaille
e708abbb75 Regen. 2002-10-25 08:58:42 +00:00
Akim Demaille
a2091f872e * doc/autoconf.texi (Generic Headers): More information on how to
use AC_CHECK_HEADERS.
2002-10-25 08:44:23 +00:00
Akim Demaille
eb898adee6 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
Space changes.
2002-10-25 08:24:16 +00:00
Akim Demaille
bd71c86380 * bin/autoscan.in (output): Output AC_PREREQ.
(%needed_macros): Add AC_PREREQ so that configure.ac without one
be reported.
2002-10-25 08:22:52 +00:00
Akim Demaille
5b2628b92b Typo. 2002-10-23 07:42:13 +00:00
Akim Demaille
4d6410c531 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
document _Bool.
2002-10-23 07:41:20 +00:00
Akim Demaille
3c17011eec * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
Reported by Peter Eisentraut.
2002-10-23 07:37:38 +00:00
Akim Demaille
38999f6a79 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
type _Bool.
Fix a typo.
* doc/autoconf.texi (Particular Headers): Adjust according to Paul
Eggert's recommandations.
2002-10-23 07:27:03 +00:00
Akim Demaille
86c6702369 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
Bison, by Paul Eggert.
* doc/autoconf.texi (Particular Headers): Document it.
2002-10-22 12:34:21 +00:00
Akim Demaille
94ee3f9807 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
`$ac_configure_args'.
2002-10-22 12:18:46 +00:00
Akim Demaille
e6d7289f9e * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
(AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
From Art Haas.
2002-10-22 12:13:21 +00:00
Akim Demaille
a70900d82a Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
(AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
(_AC_CHECK_HEADER_NEW): Rename as...
(AC_CHECK_HEADER): this.
2002-10-22 12:02:08 +00:00
Akim Demaille
de6bcf45c9 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
words about HP-UX cmp: it was actually a user-written cmp.
2002-10-22 11:41:58 +00:00
Akim Demaille
cba40759dd * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
are a few warnings.
* lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
Quote for Perl '' strings, not "".
* bin/autoheader.in: Invoke autoconf to get '' strings, not ""
strings.
2002-10-22 11:14:44 +00:00
Akim Demaille
33c894c0bf * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
characters is a syntax warning now.
(_AS_QUOTE): Accept $2 as list of characters to quote.
* lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
Quote for Perl, not sh.
* bin/autoheader.in: When $debug, report the file which is
`do'ne.
* tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
`@', to tickle Perl's lists.
Reported by Carlos Velasco.
2002-10-22 08:20:19 +00:00
Akim Demaille
a6cc487161 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
missing included files _are_ errors.
Thanks to Alexandre Duret-Lutz.
* tests/tools.at (autom4te cache): Adjust.
* tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
(AT_CHECK_M4SUGAR): Use it.
* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
Adjust.
* tests/tools.at (autom4te): Now it does exit 1.
2002-10-18 15:20:46 +00:00
Akim Demaille
a73415cbc4 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
Fixes the `AC_ARG_VAR' test failures.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
* lib/freeze.mk (check-forbidden-patterns): New.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am
* lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
* doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
/dev/null.
Reported months ago by H. Merijn Brand.
2002-10-17 10:34:09 +00:00
Akim Demaille
9524c5794f * tests/tools.at (autoheader): Put randoms `@' to stress Perl. 2002-10-17 09:57:31 +00:00
Paul Eggert
dfabce7da8 * Makefile.maint (wget_files): Remove ansi2knr.c.
(ansi2knr.c-url_prefix): Remove.
2002-10-17 01:33:37 +00:00
Paul Eggert
9479725e5c (wget_files): Remove ansi2knr.c.
(ansi2knr.c-url_prefix): Remove.
2002-10-17 01:32:23 +00:00
Akim Demaille
aef93a0d75 Because of caching, some files that no longer exist and are no
longer required can still cause errors.
Reported by Alexandre Duret-Lutz.
* bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
to frozen files in @ARGV, as @ARGV must remain being a list of
files.  Rather, at M4 call sites, use this...
(&files_to_options): New function.
(&freeze): Use &error.
(&up_to_date): If a file that was included according to the cache
is no longer there, then the output is out dated.
(&main): Don't even check whether a file is up to date is anyway
--force is given.
* tests/tools.at (autom4te cache): New.
2002-10-16 17:06:57 +00:00
Akim Demaille
03d56d8bbe * bin/autoconf.as: Kill dead options.
* bin/autoupdate.in (&parse_args): Kill old options.
* bin/autoreconf.in (&parse_args): Remove dead options.
Factor some code.
(&autoreconf): Report the directories we enter *and leave*, so
that error messages can be easily located, and use GNU Make
format, so that Emacs' compile mode understands us.
* lib/Autom4te/General.pm (&update_file): Use `verbose' to report
if some file was changed instead of `print'.
* bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
(&parse_args): Remove the dead options.
* tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
autoheader's quiet mode.
(AT_CHECK_AUTOUPDATE): Likewise.
* tests/tools.at (autoupdate): Adjust.
* tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2002-10-16 06:38:50 +00:00
Paul Eggert
cc332d2334 No longer use CPP to check for the existing of headers: use CC to
check for compilability.
2002-10-11 23:53:09 +00:00
Paul Eggert
7006b6880c No longer use CPP to check for the existing of headers: use CC to
check for compilability.

(_AC_CHECK_HEADER_MONGREL, AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
(_AC_CHECK_HEADER_NEW): Rename as...
(AC_CHECK_HEADER): this.
2002-10-11 23:52:06 +00:00
Akim Demaille
1b8a4459ee * lib/autotest/general.m4 (AT_INIT): Include the failed test
numbers in the Subject suggestion.
2002-10-11 13:02:40 +00:00
Akim Demaille
4a3b818a3b Regen. 2002-10-11 12:19:15 +00:00
Akim Demaille
ffd1f452a8 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
Suggest using AC_CHECK_DECLS instead.
2002-10-11 12:17:51 +00:00
Akim Demaille
9877a5cee4 * tests/torture.at (AC_ARG_VAR): Have configure report the value
of `precious'.
2002-10-11 12:05:39 +00:00
Akim Demaille
7260b1d3c2 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
file name to enable parallel executions.
From Sam Varshavchik.
2002-10-11 09:49:31 +00:00
Akim Demaille
035459d652 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
aclocal invocation, as Gettext macros might not be visible to
aclocal.
Instead of blindly running autopoint, scan configure.ac (not the
traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
Reported by Paul D. Smith.
2002-10-11 09:29:20 +00:00
Paul Eggert
86735694d8 Work around problems found when POSIXLY_CORRECT=1 is set.
None of this seems to have anything to do with POSIX, really,
but it's how Perl getopt works.
* bin/autom4te.in (parse_args): Configure GetOpt with
"permute", too.
* doc/autoconf.texi (Invoking autom4te):
--warning -> --warnings.
* lib/autom4te.in: --warning -> --warnings.
2002-10-08 23:06:02 +00:00
Paul Eggert
108afbf59f --warning -> --warnings. 2002-10-08 23:05:41 +00:00
Paul Eggert
777e3a2bd0 (Invoking autom4te): --warning -> --warnings. 2002-10-08 23:05:17 +00:00
Paul Eggert
826b10b108 (parse_args): Configure GetOpt with "permute", too, to work
around POSIXLY_CORRECT problems.
2002-10-08 23:04:33 +00:00
Akim Demaille
1682b2f72f (autoscan.list): Force LC_ALL to C. 2002-10-02 06:07:50 +00:00
Akim Demaille
379333954a Reverse an accidental change. 2002-09-29 08:14:32 +00:00
Akim Demaille
b042fb40ec * doc/autoconf.texi (autom4te.cache): New section. 2002-09-28 16:40:49 +00:00
Akim Demaille
8054f9034f * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
(Automake-preselections): Update.
* bin/autoreconf.in, bin/autoheader.in: Comment changes.
2002-09-28 16:39:22 +00:00
Akim Demaille
ed8b9d7757 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
* lib/autoconf/c.m4, lib/autoconf/functions.m4,
* lib/autoconf/headers.m4, lib/autoconf/libs.m4,
* lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
2002-09-28 16:38:48 +00:00
Akim Demaille
b8ce69bb73 * tests/torture.at (Configuring subdirectories): Be robust to
users who use config.site to require for a cache: in this case,
the two last configure runs, using two different sets of
arguments, trigger a legitimate error.
2002-09-28 14:10:45 +00:00
Akim Demaille
eaa8ee86fb * tests/m4sh.at (Functions Support, Functions and return Support):
New.
2002-09-28 14:10:11 +00:00
Akim Demaille
54b5830601 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
autoheader are Perl programs.
(autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
(autom4te): Specify that the sources are in the $srcdir.
* doc/autoconf.texi (Installation Directory Variables): Adjust.
2002-09-28 14:09:42 +00:00
Akim Demaille
3906e3de21 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
(tm_zone): Move their rules to...
* lib/autoconf/types.m4: here, using AN_ macros.
* lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
(RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
(make, mawk, nawk, ranlib, yacc): Similarly, move to...
* lib/autoconf/programs.m4: here.
* lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
(ETAGS_FOR_AUTOCONF): New.
Use it.
2002-09-28 14:07:47 +00:00