Commit Graph

3706 Commits

Author SHA1 Message Date
Paul Eggert
e644967478 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
Improve the accuracy of the wording about obsolescence.
2003-09-08 00:56:16 +00:00
Paul Eggert
eb767047ca (AC_SYS_RESTARTABLE_SYSCALLS):
Improve the accuracy of the wording about obsolescence.
2003-09-08 00:55:50 +00:00
Paul Eggert
5a157e6b6e Try -ffree-form, too. 2003-09-05 22:56:26 +00:00
Paul Eggert
1ecafc3dc7 (AC_FC_FREEFORM): Try -ffree-form too,
for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
2003-09-05 22:55:40 +00:00
Akim Demaille
eeb3cbd9a6 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
AC_FUNC_WAIT3.
2003-09-04 14:33:03 +00:00
Akim Demaille
29be1600df * bin/autom4te.in: Use &fatal where more appropriate than &error.
(freeze): When exiting, use $exit_code.
* lib/autoconf/fortran.m4: Comment changes.
2003-09-04 13:01:09 +00:00
Akim Demaille
e99011cfd5 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC. 2003-09-04 12:52:35 +00:00
Paul Eggert
bfbc355ad4 Add support for newer Fortran dialects. The F77 interface is
unchanged, and continues to support Fortran 77.  New FC macros
correspond to all the old F77 macros.
2003-09-03 00:35:52 +00:00
Paul Eggert
84c0e87bb3 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
Document problems with timestamp resolution that 'make', 'cp -p', and
'touch -r' have.
2003-09-02 19:13:58 +00:00
Akim Demaille
9a71d441c5 * tests/m4sugar.at (cross_warning): Make sure to enable the
output, so that we can track spurious m4sugar output.
* tests/local.at: Require 2.57.
(AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
are defaulted by AT_CHECK anyway.
Use AT_CHECK_AUTOM4TE.
* lib/m4sugar/m4sugar.m4: There should be no output at all: add a
missing dnl.
2003-08-27 15:14:03 +00:00
Akim Demaille
2e24ee3582 * bin/autoheader.in: Issue the "Using auxiliary..." message only
when -Wobsolete is set.
Set it on by default.
Suggested by Klee Dienes.
2003-08-27 11:35:08 +00:00
Akim Demaille
9359f8b2c9 More S. Gildea spam neutraliation. 2003-08-27 07:30:23 +00:00
Akim Demaille
4a7536e370 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
documentation.
From Guido Draheim.
2003-08-27 07:29:30 +00:00
Akim Demaille
dee0ba77f6 Obfuscate S. Gildea's email. 2003-08-26 07:39:30 +00:00
Akim Demaille
10faaad494 * doc/autoconf.texi (Output): Make clear that one can run code
after AC_OUTPUT.
2003-08-26 07:36:39 +00:00
Akim Demaille
875d49ba6f * config/announce-gen, GNUmakefile, Makefile.maint: Update from
CVS Bison.
2003-08-26 07:28:36 +00:00
Akim Demaille
8bed799f4c Update email. 2003-08-26 07:01:01 +00:00
Alexandre Duret-Lutz
6feb338dd0 * bin/autoreconf.in (parse_args): Do not pass --no-force to
Automake versions prior to 1.8.
2003-08-25 06:38:39 +00:00
Akim Demaille
550208e189 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
From Ville Karaila.
2003-08-25 06:29:48 +00:00
Akim Demaille
538d939e6b * configure.ac: Bump to 2.57c. 2003-08-24 12:05:20 +00:00
Akim Demaille
ea07f5391d . 2003-08-24 11:47:59 +00:00
Akim Demaille
4f4fbef146 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
* configure.ac: Require Automake 1.7.6.
2003-08-22 15:33:47 +00:00
Akim Demaille
4c0b8bf37a Version 2.57b.
* Makefile.cfg (local-checks-to-skip): New.
* Makefile.maint (local-check): Rename as...
(local-checks-available): this.
(local-check): New.
2003-08-22 13:57:21 +00:00
Akim Demaille
d01b613808 Version 2.57b. 2003-08-22 13:44:12 +00:00
Akim Demaille
b5d34bfc90 Update. 2003-08-22 13:43:27 +00:00
Akim Demaille
358bc50517 Output stack traces in warnings.
* lib/m4sugar/m4sugar.m4 (_m4_warn): New.
Replace the former...
(m4_warn): Pass the call stack to _m4_warn.
* bin/autom4te.in: Adjust to output the call stack.
* tests/m4sugar.at (m4@&t@_warn): Adjust.
2003-08-22 13:38:33 +00:00
Akim Demaille
b9d97d70dc * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
* bin/autom4te.in: Adjust.
2003-08-22 08:09:12 +00:00
Akim Demaille
edcae78e07 Typo. 2003-08-22 07:02:34 +00:00
Akim Demaille
a5b49f45d6 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
(&verbose): Remove.
(&getopt): Adjust the note and verb channels, depending upon
--verbose.
* bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
* bin/autoupdate.in: Adjust.
Use &verb, not &verbose.
2003-08-21 17:50:11 +00:00
Akim Demaille
cf2308cf7b * bin/autoheader.in (&parse_args): Use &parse_warnings and
&parse_WARNINGS.
($help): Use Autom4te::ChannelDefs::usage.
* bin/autoscan.in: Use Autom4te::ChannelDefs.
* lib/Autom4te/General.pm: Don't export error: you don't own it.
2003-08-21 17:31:25 +00:00
Akim Demaille
e491f83180 First stab at preserving warnings between calls to autom4te,
including when the cache is used.
There are still several issues: (i) there are too many runs of m4
(one for include, one for warnings, and some more), (ii) warnings
spreading on several lines are not handled gracefully, (iii) the
code meant to have the call stack display for errors does not work
(its handling should move from m4 to autom4te).
* bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
Use them.
(@preselect): Add m4_warn.
($exit_status): Remove, use $exit_code.
($help): Use Autom4te::ChannelDefs::usage.
(&handle_m4): No longer define the m4_warnings.
At each run, extract and report the warnings.
Always cache the result, including if the exit status is on
failure, since if nothing changes, we should result in the same
failure, hence we can use the cache.
* lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
(_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
Remove.
(m4_warn): Redefine as a do-nothing: it is its invocation that
matters, as warnings are now reported via traces.
* lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
the contents of m4_warn: make it _call_ m4_warn, so that tracing
the latter reveals calls to the former.
Adjust the tests.
* tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2003-08-21 17:25:28 +00:00
Akim Demaille
6a7d12b98f * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
Use them.
2003-08-21 16:17:32 +00:00
Akim Demaille
561b426684 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
forward order.
* lib/Autom4te/ChannelDefs.pm: Doc typos.
(&parse_warnings): Accept a list of warning requests.
(&usage): Return a string, not a side effect.
(cross): New warning category.
2003-08-21 16:15:40 +00:00
Akim Demaille
59b8e13699 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
(&require_configure_ac): Accept an optional directory argument.
($configure_ac): Remove.
* lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
(&catfile): Remove.
* bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
* bin/autoscan.in: Adjust.
2003-08-21 06:55:41 +00:00
Akim Demaille
cadfc16c0b * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
Reported by Alexandre Duret-Lutz.
2003-08-20 17:22:06 +00:00
Akim Demaille
c99bf18b5c * bin/autoupdate.in, bin/auheader.in, bin/autoreconf.in,
* bin/autom4te: Adjust.
In particular, be Autoconf tools are really silent when properly
working, bind the verbosity of the 'note' channel to $verbose.
* lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
(&xsystem, &contents): Remove, since they are exported by...
* lib/Autom4te/FileUtils.pm: this.
More perldoc.
* lib/Autom4te/General.pm (&up_to_date_p): Move to...
* lib/Autom4te/FileUtils.pm: here.
2003-08-20 12:52:18 +00:00
Akim Demaille
253af07582 Regen. 2003-08-20 07:02:32 +00:00
Akim Demaille
990192b641 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
* lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
from CVS Automake.
2003-08-20 06:51:33 +00:00
Akim Demaille
1649ca79e6 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
(autom4te-update): New.
* Makefile.cfg (update): Bind autom4te-update.
2003-08-20 06:29:54 +00:00
Derek Price
e5333fb2d2 * lib/autotest/general.m4: Comment various HELP_* diversions.
(PARSE_ARGS_BEGIN): New section for option parsing related
initialization.
(AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
package specific options and associated help.
2003-08-19 18:21:39 +00:00
Akim Demaille
b6429a8e5f * config/announce-gen, Makefile.cfg: New.
* Makefile.am: Adjust.
* GNUmakefile, Makefile.maint: Update from CVS Coreutils.
2003-08-19 08:12:18 +00:00
Alexandre Duret-Lutz
50af7ca5ab * lib/autom4te.in (Automake-preselections): Preselect
AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
and m4_sinclude.
2003-08-19 07:58:37 +00:00
Alexandre Duret-Lutz
51e84cdd91 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
(Autoconf-without-aclocal-m4): ... this new language.
* doc/autoconf.texi (autom4te Invocation): Mention
Autoconf-without-aclocal-m4.
2003-08-19 07:56:56 +00:00
Derek Price
2ce00b8afd * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
RUN-IF-PASS optional arguments.
2003-08-18 16:48:26 +00:00
Derek Price
f4799aff77 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF. 2003-08-18 15:28:16 +00:00
Derek Price
da285ec31b * doc/autoconf.texi (Writing testsuite.at): Document defaults for
STDOUT & STDERR arguments.
2003-08-16 16:15:15 +00:00
Derek Price
30c4fcea69 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
shorter column three.  Add DESCRIPTION to log file content.
2003-08-14 13:49:05 +00:00
Derek Price
b2722eb1c8 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
output.
2003-08-13 21:35:28 +00:00
Derek Price
43eea41b9e * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
(AT_CHECK_NOESCAPE): Move core functionality to...
(_AT_CHECK): ...this new macro.
2003-08-12 19:01:34 +00:00
Derek Price
bdb8ae014e * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
(AT_CHECK_NOESCAPE): ...to this new macro.
2003-08-07 17:47:48 +00:00