Commit Graph

307 Commits

Author SHA1 Message Date
Akim Demaille
5b23e50984 * configure.ac: Bump to 2.59a.
Require 2.59.
2003-11-12 15:21:00 +00:00
Akim Demaille
99a48ad6c1 Version 2.59. 2003-11-06 09:32:24 +00:00
Akim Demaille
76c0108d23 Regen. 2003-11-06 09:28:14 +00:00
Alexandre Duret-Lutz
727294e819 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
and ac_abs_top_srcdir are absolute paths.
* lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2003-11-05 11:58:43 +00:00
Akim Demaille
8cde79a28b * configure.ac: Bump to 2.58a. 2003-11-05 10:38:00 +00:00
Akim Demaille
22cc67b23b Version 2.58.
* doc/standards.texi: Update from master.
2003-11-04 08:48:23 +00:00
Akim Demaille
32ae8f6d07 Bump to 2.57h. 2003-10-24 10:01:27 +00:00
Akim Demaille
3be5747a55 Bump to 2.57g, as should have been done on 2003-10-01. 2003-10-23 09:11:57 +00:00
Akim Demaille
e33f0affba * configure.ac: Look for emacs, not macs.
Reported by Eric Sunshine.
2003-10-03 13:58:37 +00:00
Akim Demaille
8d5d3bd898 * configure.ac: Quotation and formatting changes.
(EMACS): Don't set it if it is not recent enough to support
autoconf-mode.el.
From Eric Sunshine.
2003-10-03 07:07:13 +00:00
Akim Demaille
83424320dc Bump to 2.57f. 2003-09-30 13:02:07 +00:00
Akim Demaille
259006c2c7 Bump to 2.57e. 2003-09-25 15:22:43 +00:00
Akim Demaille
f2e174acbe Version 2.57d.
* config/install-sh: Upgrade from CVS Automake.
2003-09-25 08:33:32 +00:00
Akim Demaille
538d939e6b * configure.ac: Bump to 2.57c. 2003-08-24 12:05:20 +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
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
Akim Demaille
d1398d196e * configure.ac: Bump to 2.57b. 2003-06-20 10:58:56 +00:00
Akim Demaille
2e52204a16 Regen. 2003-06-20 07:34:29 +00:00
Akim Demaille
3cb00cdb8b * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
* lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
* lib/autoconf/c.m4, lib/autoconf/fortran.m4,
* lib/autoconf/general.m4, lib/autoconf/headers.m4,
* lib/autoconf/lang.m4, lib/autoconf/libs.m4,
* lib/autoconf/programs.m4, lib/autoconf/specific.m4,
* lib/autoconf/status.m4, lib/autoconf/types.m4,
* lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
* tests/atspecific.m4, tests/base.at, tests/compile.at,
* tests/foreign.at, tests/m4sh.at, tests/semantics.at,
* tests/tools.at, tests/torture.at:
Whitespace clean up.
Suggested by Jim Meyering.
2003-05-22 13:24:04 +00:00
Akim Demaille
f2da1c1ca5 Regen. 2003-05-06 07:17:42 +00:00
Akim Demaille
830fd374fe Regen. 2003-04-01 07:24:38 +00:00
Akim Demaille
94a099a5ff Regen. 2003-02-20 16:57:46 +00:00
Paul Eggert
934fc7e269 Regenerate. 2002-12-03 08:03:07 +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
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
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
3497f1fb5c Regenerate. 2002-11-05 07:16:59 +00:00
Akim Demaille
e4a94324d2 Bump to 2.54d. 2002-11-04 10:22:53 +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
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
Akim Demaille
12da19c97b * configure.ac: Bumpto 2.54c. 2002-10-28 10:52:05 +00:00
Akim Demaille
c54fb7e2e7 * configure.ac: Bump to 2.54b. 2002-10-27 18:14:58 +00:00
Akim Demaille
02d19480e5 Regen. 2002-10-25 10:53:46 +00:00
Akim Demaille
7134f17d88 * lib/autoconf/autoscan.m4: New file.
* lib/autoconf/autoconf.m4: Include it.
* lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
that were listed in the original autoscan.list.
* lib/autoconf/headers.m4: Similarly with headers.
* lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
(.m4.m4f): Don't pass --prepend-include, since that's done by
tests/autom4te itself.
* lib/autoscan/Makefile.am: Include freeze.mk.
(autoscan.list): New target --this file is no longer a source.
(autoscan.pre): New file.
2002-09-28 14:06:07 +00:00
Akim Demaille
9a56bdde71 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
from /tmp.
Thanks to Bill Moseley and Paul Eggert.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
the tmpdir must be created.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
dir be in the build tree, instead of $TMPDIR.
2002-09-27 08:20:26 +00:00
Akim Demaille
82a86b0b89 Bump to 2.54a. 2002-09-13 10:21:07 +00:00
Akim Demaille
c202d060ca Version 2.54.
* config/config.sub, config/config.guess: Update.
* Makefile.maint: Update from bits of the Coreutils 4.5.1.
* Makefile.am: Adjust.
2002-09-13 08:41:53 +00:00
Akim Demaille
533c668ec2 Regen. 2002-09-11 10:01:54 +00:00
Akim Demaille
0086dd21dd Remove. 2002-09-04 09:18:52 +00:00
Akim Demaille
b2888aa57e * configure.ac: Bump to 2.53d.
* Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
as of today, on Automake's team suggestion.
2002-09-03 09:17:44 +00:00
Akim Demaille
d417d35b57 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
SITE_MACRO_DIR.
* configure.ac: Disable SITE_MACRO_DIR.
2002-09-03 06:09:30 +00:00
Paul Eggert
52a290c19c Regenerate. 2002-09-01 10:33:45 +00:00
Paul Eggert
0288fc2b7f Regenerate with self. 2002-08-31 05:52:09 +00:00
Akim Demaille
0e12fedfa9 Bump to 2.53c. 2002-07-18 15:37:49 +00:00
Akim Demaille
c812b8148d Regen. 2002-07-17 09:56:13 +00:00
Akim Demaille
7dc9c2f081 Regen. 2002-04-25 08:54:38 +00:00
Akim Demaille
fd87ebaf1e Regen. 2002-04-23 16:58:42 +00:00
Akim Demaille
d2b5e4e883 Bump to 2.53b. 2002-04-22 14:33:05 +00:00
Akim Demaille
12bec8f5ef Regen. 2002-04-22 13:27:31 +00:00
Akim Demaille
9d658eddd9 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
workaround for ${1+"$@"}.
* doc/autoconf.texi (Shell Substitutions): Explain it.
From Oliver Kiddle and Peter Stephenson.
Have M4sh perform minimal shell sanitizing.
* lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
part into...
(_AS_PREPARE): this new macro.
(AS_PREPARE): New.
(AS_INIT): Invoke AS_SHELL_SANITIZE.
* tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
Adjust Autoconf and Autotest.
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
Invoke _AS_PREPARE (not AS_PREPARE) in addition to
AS_SHELL_SANITIZE.
Use this M4sh to generate Autoconf's shell scripts.
* tests/wrapsh.as: New, precursor of wrapsh.in.
* tests/Makefile.am: Include lib/freeze.mk to get the dependencies
on Autotest and M4sh.
($(TESTSUITE)): Use $(autotest_m4f_dependencies).
(wrapsh.in): New target.
* bin/autoconf.as: New, precursor of autoconf.in.
(autoconf.in): New target.
2002-04-10 15:58:19 +00:00
Akim Demaille
a831586a53 * doc/autoconf.texi (Header Portability): New.
Add information about stdint.h and inttypes.h from Paul Eggert.
2002-03-13 09:58:41 +00:00
Akim Demaille
1944e2c527 Regen. 2002-03-12 16:13:37 +00:00
Akim Demaille
879187bfcc Bump to 2.53a. 2002-03-11 14:38:59 +00:00
Akim Demaille
84c660d6dd Version 2.53. 2002-03-08 13:10:19 +00:00
Akim Demaille
fbee53ee14 * Makefile.am (AUTOMAKE_OPTIONS): 1.6. 2002-03-08 12:44:46 +00:00
Akim Demaille
47856180fe Bump to 2.52j. 2002-03-05 09:37:21 +00:00
Akim Demaille
f12cd33d89 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
parallel builds.
2002-03-04 15:08:23 +00:00
Akim Demaille
22f21780b7 Version 2.52h. 2002-02-11 14:04:54 +00:00
Akim Demaille
b485e31746 Bump to 2.52h. 2002-01-28 12:16:23 +00:00
Akim Demaille
b78cf4bd13 Bump to 2.52h. 2002-01-28 10:44:29 +00:00
Akim Demaille
fa91df12dd * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
(_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
Bourne. Use /bin/sh.
From Andreas Buening.
2002-01-24 17:53:52 +00:00
Akim Demaille
b6f98b4ec1 Regen. 2002-01-24 17:39:46 +00:00
Akim Demaille
fa4c430e6e * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
* config/auxdir.m4, config/cond.m4, config/depend.m4,
* config/init.m4, config/install-sh.m4, config/lispdir.m4,
* config/missing.m4, config/sanity.m4, config/select.m4,
* config/strip.m4: Remove, to ease sync'ing with any version of
Automake.
2002-01-24 17:30:58 +00:00
Akim Demaille
eb93e2e245 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
(_AC_INIT_PREPARE): Support -n as --no-create, as documented.
Reported by Geir Ove Myhr.
2002-01-24 17:15:54 +00:00
Pavel Roskin
90965f1a64 Regenerate. 2002-01-22 20:44:28 +00:00
Akim Demaille
3593206439 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
trailing files, don't apply `-rf' to files which might not be
created by configure (core, core.*, and *.core), but just `rm -f'.
Suggested by Jonathan Kamens.
2001-12-14 18:06:28 +00:00
Akim Demaille
7e51b629b6 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
abs_builddir, top_buildpath to abs_top_builddir, srcpath to
abs_srcdir, top_srcpath to abs_top_srcdir.
(_AC_OUTPUT_FILES): Adjust.
* NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
* tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
* tests/wrappl.in, tests/wrapsh.in: Adjust.
2001-12-14 17:57:27 +00:00
Akim Demaille
ad3db0c13b * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
Remove, replaced by...
* tests/wrappl.in: Be common for all the Perl executables.
In particular autoscan and autoheader want -I.
* configure.ac: Adjust.
* lib/autoscan/headers: errno.h is portable.
2001-11-26 10:52:31 +00:00
Akim Demaille
21b8d2f2dc * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
* lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
(_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
* bin/autom4te.in (warn_forbidden): New.
(handle_output): Use it.
Read m4_pattern_forbid with messages.
2001-11-07 19:34:20 +00:00
Akim Demaille
eec4a3470d * bin/autom4te.in (--normalize): Remove.
* lib/autom4te.in: Adjust.
2001-11-05 17:39:33 +00:00
Akim Demaille
43aaa22d43 * configure.ac: Bump to 2.52g. 2001-11-02 17:35:50 +00:00
Akim Demaille
f232611884 * config/config.guess, config/config.sub, doc/standards.texi:
* config/lispdir.m4: Update from masters.
* configure.ac: Bump to 2.52f.
2001-11-02 16:38:15 +00:00
Paul Eggert
68229d3f39 Regen. 2001-11-01 22:46:36 +00:00
Paul Eggert
b933c62967 Regen. 2001-11-01 20:16:49 +00:00
Paul Eggert
d0ee48e065 Regen. 2001-10-31 20:11:46 +00:00
Akim Demaille
89af419b83 Regen. 2001-10-31 10:43:31 +00:00
Paul Eggert
67b5412d75 Regenerate for Perl 5.005_03 and LINENO patches. 2001-10-26 19:49:45 +00:00
Akim Demaille
d7089440fc * m4/: Remove, merged into...
* config/: here.
2001-10-24 13:30:56 +00:00
Akim Demaille
e4ac357228 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
file in @configure_input@.
Don't mention `automatically' in addition to `generated'.
* tests/torture.at (#define header templates): Adjust.
2001-10-19 17:34:53 +00:00
Paul Eggert
76dccc3b04 Regen. 2001-10-19 00:24:47 +00:00
Akim Demaille
99277947ff Use m4_bmatch. 2001-10-08 08:25:34 +00:00
Paul Eggert
f376f89dcd Regen. 2001-10-08 04:15:29 +00:00
Paul Eggert
6004aba874 Regen. 2001-10-05 18:45:45 +00:00
Akim Demaille
e16f9eefe0 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
* configure.ac: Adjust.
2001-09-28 11:56:26 +00:00
Akim Demaille
fdbf12e8a5 Regen. 2001-09-27 09:04:50 +00:00
Akim Demaille
bf2b9ed651 Regen. 2001-09-23 17:19:45 +00:00
Akim Demaille
e7808696f5 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
(_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
builddir, buildpath, top_builddir, and top_buildpath.
(_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
the current directory.
* lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
variables *before* changing the current directory.
Skip nonexistent dirs.
* doc/autoconf.texi (Preset Output Variables): Document these
variables.
* lib/autotest/general.m4: Do not reset AT_victims.
Don't compute at_srcdir nor at_top_srcdir.
* tests/tools.at: Hence use top_srcdir.
* tests/Makefile.am, tests/autoconf, tests/autoheader,
* tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
Remove.
* tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
* tests/wrapsh.in, tests/autoupdate.in: New.
* tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
* configure.ac: Build the position independent wrappers.
* man/Makefile.am: Now that test wrappers are position
independent, use them and drop dark envvar magic.
2001-09-23 17:17:46 +00:00
Pavel Roskin
588bd27a33 Regenerated. The old version didn't create package.m4 for the testsuite. 2001-09-23 03:36:36 +00:00
Akim Demaille
c737451f8c * bin/ifnames.in: Rewrite in Perl.
* configure.ac: Don't look for AWK.
* tests/tools.at (AWK portability): Remove.
(Syntax of the shell scripts): Don't check ifnames.
(AT_CHECK_PERL_SYNTAX): New.
(Syntax of the Perl scripts): Check ifnames.
* tests/ifnames: New.
2001-09-13 06:54:35 +00:00
Akim Demaille
5fd6e6f70a * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
doesn't neutralize SIGINT, making autoconf etc. non interruptible.
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
related variables into `at_package_*'.
* lib/autotest/general.m4 (AT_VICTIMS): New.
(AT_INIT): Adjust for stand-alone/embedded test suites.
(AS_MESSAGE_LOG_FD): Define and use it.
* tests/suite.at (AT_VICTIMS): Use it.
* tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
at_version.
2001-09-07 08:26:57 +00:00
Akim Demaille
a83e6a6d60 Bump to 2.52e. 2001-08-31 15:57:17 +00:00
Akim Demaille
b7e02fa0e5 Version 2.52d. 2001-08-31 14:46:17 +00:00
Akim Demaille
d19fa10fd6 * bin/autoconf.in: Don't bother with acsite.m4' and aclocal.m4'.
* bin/autom4te.in (&find_file): Support `FILE?' standing for
optionally `FILE'.
Use -e, not -f, since /dev/null for instance is OK.
(&parse_args): Adjust.
* lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
2001-08-31 13:31:37 +00:00
Akim Demaille
75fb1995be * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
quotes inside single quotes.
Reported by Nicolas Joly.
2001-08-28 09:37:20 +00:00
Akim Demaille
36d80ab363 Regen. 2001-08-27 08:38:45 +00:00
Akim Demaille
1e3115ec74 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
New file.
* m4/Makefile.am (EXTRA_DIST): Oops, adjust...
2001-08-27 07:18:39 +00:00
Akim Demaille
ba3b08af20 Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 07:12:16 +00:00
Akim Demaille
9cd559746e * configure.ac (AT_CONFIG): Fix the path.
* m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
can be used.
2001-08-20 17:57:06 +00:00
Akim Demaille
dea5c9a3f1 Complete. 2001-08-13 15:18:44 +00:00