Shell functions and variables may share a namespace.
[autoconf.git] / ChangeLog
blob1d697996ff248b52a6765d02da12e2a8d847fa78
1 2007-11-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         Shell functions and variables may share a namespace.
4         * doc/autoconf.texi (Portable Shell): Mention Solaris sh
5         limitation.
7 2007-11-14  Paul Eggert  <eggert@cs.ucla.edu>
9         * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Make comment match
10         gnulib.
12 2007-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
14         * lib/autoconf/status.m4: Fix a couple of comment typos.
16         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Use $as_me, not $me.
18 2007-11-13  Jim Meyering  <meyering@redhat.com>
20         Clean up the rule to create "expr".
21         * tests/Makefile.am (expr): Don't redirect directly to target.
22         Redirect just once, not for each echo statement.
23         Use $@, not literal "expr".
25 2007-11-13  Paul Eggert  <eggert@cs.ucla.edu>
27         Don't worry about preprocessor when testing long long.
28         See: http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00075.html
29         * doc/autoconf.texi (Preprocessor Arithmetic): New section.
30         (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT):
31         These no longer check for preprocessor flaws.
32         * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET):
33         Do not check for preprocessor flaws.
35 2007-11-13  Jim Meyering  <meyering@redhat.com>
37         Adapt dependencies, now that a version change doesn't modify configure.ac
38         * GNUmakefile: Remove "make clean" kludge.
39         * lib/m4sugar/Makefile.am (version.m4): Depend on Makefile, not
40         configure.ac.
41         Don't redirect directly to target.
42         Use $@, not literal "version.m4".
44 2007-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
46         * doc/autoconf.texi (Making testsuite Scripts): Document
47         ":;{" shorthand as in previous patch.
49 2007-11-12  Paul Eggert  <eggert@cs.ucla.edu>
51         * doc/autoconf.texi (Limitations of Builtins): Document problem
52         with { ... } a bit more clearly.  Suggest ":;{" as a shorthand
53         for the workaround.
54         * lib/m4sugar/Makefile.am (version.m4): Detect 'echo' failure.
55         Use ":;{" shorthand.
56         * tests/Makefile.am ($(srcdir)/package.m4): Likewise.
58 2007-11-12  Jim Meyering  <meyering@redhat.com>
60         Add more non-srcdir build support.
61         * GNUmakefile (dummy): Split a long line.
62         Add -v option to autoreconf invocation.
64         Remove the autoreconf-provided INSTALL, so that we regenerate it.
65         * GNUmakefile (dummy): Remove INSTALL.
67         Remove racy commands to build scripts in bin/ and tests/.
68         * man/Makefile.am (.x.1): Now that scripts in bin/ and tests/
69         are guaranteed to be built, remove the rules that tried to build
70         them.  Before, with a parallel build, these rules could lead to
71         two processes writing tests/wrapper.in concurrently.
73         Build in man/ only *after* building in bin/ and tests/.
74         * Makefile.am (SUBDIRS): The man-page-creation process runs $(MAKE)
75         in both bin/ and tests/.
77         Accommodate non-srcdir build-from-checkout.
78         * build-aux/git-version-gen: Require an additional parameter: $srcdir.
79         Use git's --git-dir=$srcdir/.git option.
80         Add quotes, in case tarball_version_file contains shell meta-characters.
81         * GNUmakefile (_curr-ver): Pass $(srcdir) to git-version-gen.
82         * configure.ac: Pass "." to git-version-gen.
84         Avoid spurious test failures due to version skew.
85         * GNUmakefile (dummy): Run $(MAKE) clean after autoreconf -i.
87 2007-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
89         Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
90         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_RUN_IFELSE):
91         Remove conftest.dSYM directory.
92         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT)
93         (_AC_LANG_PROGRAM_C_, _AC_FC_MAIN, __AC_FC_NAME_MANGLING):
94         Remove `conftest.*' recursively.
95         * lib/autoconf/lang.m4 (AC_LINK_IFELSE): Likewise.
96         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
97         Likewise.
98         (_AC_COMPILER_OBJEXT_REJECT): Reject *.dSYM.
99         * THANKS: Update.
100         Report and analysis by Jeff Squyres and Peter O'Gorman.
102 2007-11-12  Benoit Sigoure  <tsuna@lrde.epita.fr>
104         Fix typos in variable names.
105         * tests/semantics.at (test for AC_CHECK_LIB): s/at_m/ac_m/.
107 2007-11-11  Benoit Sigoure  <tsuna@lrde.epita.fr>
109         Document that $((expression)) is not portable.
110         * doc/autoconf.texi (Shell Substitutions): Here.
112 2007-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
114         Ignore configure --help* errors due to LINENO-impaired shells.
115         * tests/torture.at (Configuring subdirectories, Deep Package):
116         In the --help* tests in read-only trees, make `.' temporarily
117         writable again for the `stderr' file, and ignore errors due to
118         the attempt to write configure.lineno.
119         Report by Patrick Welche.
121 2007-11-10  Jim Meyering  <meyering@redhat.com>
123         Generate package.m4 in build-dir, not srcdir.
124         * tests/Makefile.am (package.m4): Adjust target.
125         Don't redirect directly to $@.
126         (CLEANFILES): Add package.m4.
127         ($(TESTSUITE)): Depend on just-built package.m4, not the one
128         in $(srcdir).
129         When running $(AUTOTEST), search "." before searching $(srcdir).
131         Avoid a race condition that would make parallel "distclean" fail.
132         * tests/Makefile.am (distclean-generic): Replace the default,
133         automake-provided rule with an identical one, but with an additional
134         dependency on distclean-local.  Simply adding the dependency would
135         cause automake not to emit the rule at all.
136         * BUGS: Building with -jN works, now.
138         Distribute git-version-gen.
139         * Makefile.am (EXTRA_DIST): Add build-aux/git-version-gen,
140         since GNUmakefile is distributed, and requires it for dist* rules.
142         Remove two more generated files from version control.
143         * INSTALL: Remove generated file.
144         * lib/autoscan/autoscan.list: Remove generated file.
146 2007-11-09  Paul Eggert  <eggert@cs.ucla.edu>
148         * GNUmakefile (PATH): Remove stray apostrophes; they become
149         part of PATH, which isn't wanted here.
151 2007-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
153         New config files output variable `top_build_prefix'.
154         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Substitute
155         `top_build_prefix'.
156         * doc/autoconf.texi (Preset Output Variables): Document it.
157         * NEWS: Update.
158         Report by Bob Friesenhahn.
160         Avoid expr for arithmetic evaluation if the shell accepts $((...)).
161         * lib/autotest/general.m4 (AT_INIT) <at_func_arith>: New
162         function, to parametrize arithmetic with expr vs. the shell.
163         Use it where possible.
164         Suggestion by Benoit Sigoure.
166 2007-11-03  Benoit Sigoure  <tsuna@lrde.epita.fr>
168         Adjust the documentation of autotest WRT atlocal.
169         * doc/autoconf.texi (Making testsuite Scripts): It is not necessary,
170         when using Automake, to write a rule to produce atlocal, since it's
171         an AC_CONFIG_FILES.  Mention that atlocal.in needs to be
172         distributed, not atconfig.in.
174 2007-11-04  Eric Blake  <ebb9@byu.net>
176         Update list information.
177         * README: Mention new autoconf-commit list.
178         * doc/autoconf.texi (Introduction): Mention autoconf-commit list.
180 2007-11-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
182         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Fix comment typo.
184         * lib/m4sugar/Makefile.am (version.m4): Another bash bug workaround.
186         * build-aux/.gitignore: Ignore mkinstalldirs.
188         * doc/autoconf.texi (autoreconf Invocation): Fix an underfull line.
190 2007-11-03  Jim Meyering  <meyering@redhat.com>
192         s/-/./ in snapshot version string: 2.61a-256-8b556 -> 2.61a.256-8b556
193         * build-aux/git-version-gen: This syncs from coreutils.
195         Adjust the build procedure so "make check" works reliably.
196         * README-hacking: Include an extra step between "make" and
197         "make check" to ensure that the latter passes.
199         Use just-built tools, when possible.
200         * GNUmakefile (PATH): Set and export here, ...
201         (dummy): ... rather than here.
203 2007-11-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
204         and Andreas Schwab  <schwab@suse.de>
206         * tests/Makefile.am ($(srcdir)/package.m4): Work around bash
207         exit status bug.
209 2007-11-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
211         * configure.ac (AC_PREREQ): Require version 2.60, for
212         AC_PROG_SED, AC_PROG_GREP.
214 2007-11-02  Benoit Sigoure  <tsuna@lrde.epita.fr>
215         and Jim Meyering  <meyering@redhat.com>
216         and Andreas Schwab <schwab@suse.de>
217         and Eric Blake  <ebb9@byu.net>
219         Document a bug in GNU Bash with compound commands and redirections.
220         * doc/autoconf.texi (Limitations of Builtins): Mention that GNU
221         Bash doesn't properly set $? when `{ ... } >/bad' fails, and give
222         workaround.
224 2007-11-03  Eric Blake  <ebb9@byu.net>
226         Support m4 1.4.5 in testsuite.
227         * tests/torture.at (Define a newline): Exclude line numbers in
228         error message.
229         Reported by Ralf Wildenhues.
231 2007-11-03  Jim Meyering  <meyering@redhat.com>
233         Remove automake-provided files from version control.
234         * build-aux/elisp-comp: Remove file.
235         * build-aux/install-sh: Remove file.
236         * build-aux/missing: Remove file.
237         * build-aux/mdate-sh: Remove file.
238         * build-aux/.gitignore: New file.
239         Suggestion from Ralf Wildenhues.
241 2007-11-03  Eric Blake  <ebb9@byu.net>
243         Adjust version comparison to account for git snapshot numbers.
244         * lib/m4sugar/m4sugar.m4 (_m4_version_unletter): Also treat - as a
245         component separator.
246         * doc/autoconf.texi (Number processing Macros)
247         <m4_version_compare>: Document this change.
248         * tests/m4sugar.at (m4@&t@_version_compare): Test it.
250 2007-10-30  Bruno Haible  <bruno@clisp.org>
252         * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro,
253         extracted from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT.
254         (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT): Use it.
255         Fixes problem with Sun C 5.[0-8] in 32-bit mode, reported in
256         <http://lists.gnu.org/archive/html/autoconf-patches/2007-10/msg00210.html>
257         Suggested by Paul Eggert.
259 2007-10-28  Jim Meyering  <meyering@redhat.com>
261         * README-hacking: Autoconf, Automake, and Perl are required to build.
262         List Gzip and Tar separately.  Suggested by Ralf Wildenhues.
264 2007-10-28  Jim Meyering  <meyering@redhat.com>
266         README-hacking: Recommend running autoreconf -vi.
267         * GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
268         so that we use just-built tools when they're available.
269         Suggestions from Ralf Wildenhues.
271 2007-10-28  Jim Meyering  <meyering@redhat.com>
273         Make inter-release --version output more useful.
275         Now, each unofficial build has a version "number" like 2.61a-19-58dd,
276         which indicates that it is built using the 19th change set
277         (in _some_ repository) following the "v2.61a" tag, and that 58dd
278         is a prefix of the commit SHA1.
279         * build-aux/git-version-gen: New file.
280         * configure.ac: Run it to set the version.
281         (AM_INIT_AUTOMAKE): Don't check NEWS here.
282         * Makefile.am (dist-hook): Arrange so that .version appears only
283         in distribution tarballs, never in a checked-out repository.
284         * .gitignore: Add .version here, too.  Just in case.
285         * tests/Makefile.am ($(srcdir)/package.m4): Depend on Makefile,
286         not configure.ac, now that the version number changes automatically.
288         Ensure that $(VERSION) is up to date for dist-related targets.
289         * GNUmakefile: Arrange to rerun autoconf, if the version reported by
290         git-version-gen doesn't match $(VERSION), but only for dist targets.
292 2007-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
294         Fix `Deep Package' failure with a configure script early in PATH
295         * tests/torture.at (Deep Package): Add `.' early in PATH.
296         Report by Jim Meyering.
298 2007-10-27  Jim Meyering  <meyering@redhat.com>
300         Remove all generated files from version control.
301         * aclocal.m4: Remove.
302         * configure: Remove.
303         * Makefile.in: Remove, along with all other Makefile.in in subdirs.
304         * .gitignore: Add aclocal.m4, configure and Makefile.in.  Sort.
305         * README-hacking: New file: how to build from just-checked-out sources.
307 2007-10-23  Eric Blake  <ebb9@byu.net>
309         Improve corner case of m4_expand.
310         * lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Rewrite more
311         efficiently.
312         * tests/m4sh.at (AS@&t@_HELP_STRING): Test overquoted comma.
313         * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Update
314         documentation.
316 2007-10-23  Paul Eggert  <eggert@cs.ucla.edu>
318         * doc/make-stds.texi: Update from gnulib.
320 2007-10-22  Paul Eggert  <eggert@cs.ucla.edu>
321         and Eric Blake  <ebb9@byu.net>
323         * lib/autoconf/c.m4 (AC_C_RESTRICT): Work around Sun C++ compatibility
324         problem reported by Bruno Haible in
325         <http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00027.html>.
327 2007-10-22  Eric Blake  <ebb9@byu.net>
329         * doc/autoconf.texi (Particular Types): Mention bug in HP-UX 11.00
330         preprocessor.
332 2007-10-22  Paul Eggert  <eggert@cs.ucla.edu>
334         Don't check for bug in HP-UX 11.00 cpp.
335         * lib/autoconf/types.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
336         Use -1ull rather than -1u, since that causes problems with gnulib; see
337         <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
339 2007-10-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
341         * tests/autotest.at (Backquote command substitution)
342         (Multiline backquote command substitution)
343         (Parenthetical command substitution)
344         (Multiline parenthetical command substitution): Fix typos in
345         test names.
347 2007-10-21  Eric Blake  <ebb9@byu.net>
349         * configure: Regenerate.
351 2007-10-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
353         Fix config status generation with Tru64 ksh.
354         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
355         escaping of backslash in here-documents.
357         Fix `Deep Package' test failure on FreeBSD.
358         * tests/torture.at (Deep Package): Do not add `.' to $PATH
359         unnecessarily.  Do not try running `/bin/sh configure' with a
360         configure script to be found in $PATH, if the shell does not do
361         this resolution.  Fixes test failure on FreeBSD.
363         Fix config header generation with AIX awk.
364         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): In awk
365         script, use helper array D_is_set, as `" 0"' does not evaluate
366         to true for AIX awk.
368 2007-10-21  Eric Blake  <ebb9@byu.net>
370         * tests/autotest.at (Banners): Reinstate test, with typo
371         corrected.
373 2007-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
375         * lib/autotest/general.m4 (Defaults): Validate input ranges ...
376         <at_func_validate_ranges>: ... using this new function.
377         * tests/autotest.at (Keywords and ranges): Test invalid ranges.
378         Test --list with ranges and keywords.
379         (Banners): Remove one now-failing test.
381 2007-10-20  Eric Blake  <ebb9@byu.net>
383         Fix testsuite --list subset.
384         * lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
385         back to spaces, before listing subset of tests.
386         Reported by Ralf Wildenhues.
388 2007-10-19  Eric Blake  <ebb9@byu.net>
390         s/parenthesis/parentheses/ where appropriate.
391         * doc/autoconf.texi: Fix typos.
392         * lib/m4sugar/m4sugar.m4: Likewise.
393         Reported by Ralf Wildenhues.
395         Document m4_expand limitation.
396         * lib/m4sugar/m4sugar.m4 (m4_expand): Mention problem with
397         unbalanced parse.
398         * doc/autoconf.texi (Pretty Help Strings, Evaluation Macros)
399         (Writing Testsuites): Mention limitations inherited from
400         m4_expand.
402         Improve AT_BANNER handling.
403         * lib/autotest/general.m4 (BANNERS): New named diversion.
404         (TESTS_END): Diversion no longer used.
405         (AT_INIT) <at_func_banner, BANNERS>: Factor all banners into a
406         shell function, which prints only as needed, using an associative
407         array of banner text from a special diversion.
408         <PARSE_ARGS_END>: No longer need awk to find banners.
409         <TESTS>: Banners are no longer processed by main driver loop, so
410         we no longer need case statement.
411         (AT_BANNER): Rewrite to populate new diversion.
412         (AT_SETUP): Each test invokes its own banner.  No output is needed
413         to the TESTS diversion.
414         * doc/autoconf.texi (Writing Testsuites): Document slight
415         semantics change.
416         * tests/autotest.at (AT_BANNERS): Enhance test.
417         * NEWS: Document AT_BANNER.
419         Document and test AT_BANNER.
420         * doc/autoconf.texi (Writing Testsuites): Document AT_BANNER.
421         * tests/autotest.at (AT_CHECK_EGREP): Share between tests.
422         (AT_CHECK_BANNERS): New test.
424         Doc touchups.
425         * doc/autoconf.texi (Text processing Macros) <m4_strip>
426         <m4_text_wrap>: Clarify and fix typos.
428 2007-10-18  Eric Blake  <ebb9@byu.net>
430         Ignore `make dist' changelogs in testsuite.log.
431         * lib/autotest/general.m4 (AT_INIT) <ChangeLogs>: Prune
432         directories matching AT_PACKAGE_TARNAME-*.
434         Fix AT_TESTED, AT_KEYWORDS.
435         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Warn if separator
436         occurs in string, as duplicates may be added.
437         (_m4_append_uniq): New helper macro.
438         (m4_append_uniq_w): New macro.
439         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Fix
440         duplication bug by using new macro.
441         (AT_INIT) <at_tested>: Restore newline separators.  Invoke tested
442         programs with stdin redirected, so programs that don't
443         understand --version won't try to behave interactively.
444         * tests/autotest.at (Tested programs): Catch this bug.
445         * tests/m4sugar.at (m4@&t@_append): Test new macro.
446         * tests/local.at (AT_TESTED): Add m4, perl.
447         * doc/autoconf.texi (Text processing Macros): Document
448         m4_append_uniq_w, and update text on m4_append.
449         * NEWS: Document the addition.
451 2007-10-17  Eric Blake  <ebb9@byu.net>
453         Function cleanup.
454         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Convert
455         from m4 macro...
456         (AT_INIT) <at_func_create_debugging_script>: ...to shell
457         function.
458         (AT_INIT): Defer function declarations until after --help,
459         --version.  Format functions consistently, trying to fit in 80
460         columns.
461         (TEST_FUNCTIONS): Based on recent changes, rename...
462         (TEST_GROUPS): ...to this.
464         Reject FreeBSD m4.
465         * m4/m4.m4 (AC_PROG_GNU_M4): Also check for frozen file support.
466         * configure: Regenerate.
467         Reported by Bob Friesenhahn.
469         Test recent additions.
470         * tests/m4sugar.at (m4@&t@_map, m4@&t@_combine)
471         (m4@&t_max and m4@&t_min): New tests.
472         * doc/autoconf.texi (Evaluation Macros) <m4_apply>: Enhance
473         description.
475 2007-10-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
477         * TODO: multiline args in config files and headers work now.
479         Autotest: do not use shell functions for individual tests.
480         * lib/autotest/general.m4 (AT_INIT) <at_func_test>: Merely
481         extract the source test source, do not invoke it.
482         (AT_SETUP, AT_CLEANUP): Source test code outside shell function.
483         * tests/autotest.at (Fallacy): Actually let the inner suite fail,
484         expect exit status of 1.
485         * tests/autotest.at (Skip): New test, for bogus zsh exit status.
487         * lib/autotest/general.m4 (at_func_test): Fix test extraction
488         script.
490 2007-10-17  Eric Blake  <ebb9@byu.net>
492         Fix m4_combine for empty suffix list.
493         * lib/m4sugar/m4sugar.m4 (m4_combine): Check for suffix list.
494         * doc/autoconf.texi (Text processing Macros): Document this.
496         Add m4_combine, based on Libtool's lt_combine.
497         * lib/m4sugar/m4sugar.m4 (m4_combine): New macro.
498         * doc/autoconf.texi (Text processing Macros): Document it.
499         * NEWS: Likewise.
501 2007-10-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
503         Fix `configure --help=recursive' in unconfigured/read-only trees.
504         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Avoid errors when `.'
505         is not writable, use 'cp -p' in this case, in the hope that it
506         will not actually be needed.  Still try removing files, in case
507         of other write errors.
508         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): For ac_confdir,
509         use $as_myself, not $0.
510         (_AC_INIT_HELP): For --help=recursive, if the subdir does not
511         exist, try again in the the source tree.  This change assumes
512         that the subpackage configure script is capable of running
513         --help=recursive in the source tree.
514         * tests/torture.at (Configuring subdirectories, Deep Package):
515         Adjust tests to expose both issues, also try invocation as
516         `sh configure ...' and plain `configure ...' with PATH adjusted.
517         * NEWS, THANKS: Update.
518         Report by Hans Ulrich Niedermann.
520 2007-10-16  Paul Eggert  <eggert@cs.ucla.edu>
522         Check for 64-bit int errors in HP-UX 10.20 preprocessor.
523         Problem reported by H.Merijn Brand in
524         <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
525         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
526         (AC_TYPE_UNSIGNED_LONG_LONG_INT):
527         Check that preprocessor handles 64-bit ints, too.
529 2007-10-16  Eric Blake  <ebb9@byu.net>
531         m4_map is a looping construct.
532         * lib/m4sugar/m4sugar.m4 (m4_map, _m4_map, m4_map_sep): Move.
534         Fix m4_map, and add some more utility macros.
535         * lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
536         (m4_echo, m4_make_list): New documented macros.
537         (_m4_quote, _m4_shift2): New helper macros.
538         (m4_map): Change semantics to allow calling macro without
539         arguments.
540         (m4_map_sep): Likewise.  Also change semantics to quote separator,
541         to match m4_join and m4_append.
542         (m4_version_unletter): Fix use of m4_map.
543         * doc/autoconf.texi (Evaluation Macros): Document m4_apply,
544         m4_count, m4_dquote_elt, m4_echo, m4_make_list.
545         (Text processing Macros): Mention m4_dquote as a faster
546         alternative to joining with commas.
547         (Looping constructs): Document m4_map, m4_map_sep.
548         * NEWS: Mention new macros.
550         A few more m4sugar improvements, to benefit libtool.
551         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts, _m4_shiftn): Reduce size
552         of expansion by avoiding extra uses of $@.
553         (m4_shiftn): Avoid extra dnl, and forbid shifting by 0.
554         (_m4_cdr): New helper macro.
555         (_m4_map, m4_map_sep): Use it to reduce size of expansion.
556         (_m4_shift3): New helper macro.
557         (_m4_foreach): Swap argument order, and use new macro to reduce
558         size of expansion.
559         * doc/autoconf.texi (Looping constructs) <m4_shiftn>: Mention that
560         count must be positive.
562         * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Fix typo.
563         Reported by Ralf Wildenhues.
565 2007-10-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
567         * doc/autoconf.texi (Portable Shell): Improve description of zsh
568         4.x function subshell bug with exit and trap.
570 2007-10-15  Eric Blake  <ebb9@byu.net>
572         Enhance AS_HELP_STRING.
573         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't expand arguments,
574         and reduce number of expansions.
575         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Rework to use m4_expand,
576         and to take indent and wrap column numbers.
577         * tests/m4sh.at (AS@&t@_HELP_STRING): Update the test.
578         * doc/autoconf.texi (Pretty Help Strings): Document details about
579         arguments.
580         (Text processing Macros): Minor tweaks.
581         * NEWS: Document this change.
583         Fix 2007-10-03 regression with AT_SETUP([a, b]).
584         * lib/m4sugar/m4sugar.m4 (m4_expand): New macro.
585         (m4_text_box): Use it.
586         * lib/autotest/general.m4 (AT_SETUP): Use it.
587         * lib/m4sugar/m4sh.m4 (_AS_RUN): Use it.
588         * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Test this.
589         * NEWS: Revert caveat about semantics change on comma.
590         * doc/autoconf.texi (Evaluation Macros): Document m4_expand.
592 2007-10-13  Eric Blake  <ebb9@byu.net>
594         Change m4_join to match libtool's ltsugar semantics.
595         * lib/m4sugar/m4sugar.m4 (m4_join): Just define this, not defun.
596         Ignore empty arguments, using...
597         (_m4_join): ...this new helper.
598         * tests/m4sugar.at (m4@&t@_join): New test.
599         * doc/autoconf.texi (Text processing Macros): Document new
600         semantics of m4_join.
602         Make AC_PREREQ faster and more robust.
603         * lib/m4sugar/m4sugar.m4 (m4_ignore, m4_unquote): New macros.
604         (m4_version_prereq): Inline constant expansions.
605         (m4_list_cmp): Reduce number of expansions, by avoiding m4_case.
606         Rewrite in terms of [] list, not () list.
607         (_m4_list_cmp, _m4_version_unletter): New helper macros.
608         (m4_version_unletter): Write wrapper around new implementation to
609         preserve old semantics.
610         (m4_version_compare): Pass correct type of list, and avoid
611         overhead of flattening expressions too early.
612         (m4_do): Move to be near other quoting macros.
613         (m4_max, m4_min): Always result in decimal output.
614         * doc/autoconf.texi (Looping constructs): Add m4_car, m4_cdr.
615         Move m4_do...
616         (Evaluation Macros): ...here.  Add m4_ignore, m4_unquote.
617         (Text processing Macros): Move m4_version_compare...
618         (Number processing Macros): ...to this new node; document m4_cmp,
619         m4_list_cmp, m4_sign, m4_max, m4_min.
620         * tests/m4sugar.at (m4@&t@_version_compare): Enhance test, to pick
621         up on bugs fixed by this patch.
622         * NEWS: Document new macros.
624 2007-10-12  Eric Blake  <ebb9@byu.net>
626         * doc/autoconf.texi (Text processing Macros): Fix bad merge.
627         (Reporting Messages): Fix underfull hbox.
629         Some more m4sugar documentation.
630         * lib/m4sugar/m4sugar.m4: Clean up macro order.
631         * doc/autoconf.texi (Programming in M4): Lighten the warning on
632         using m4sugar; it is stabilizing and useful.
633         (Redefined M4 Macros): Touch up wording on M4 builtins; sort.  Add
634         m4_divert, m4_undivert, __file__, __line__, __oline__.
635         (Diagnostics): New node, documenting m4_assert, m4_errprintn,
636         m4_fatal, m4_location, m4_warn.
637         (Diversion support): New node, documenting m4_divert_push,
638         m4_divert_pop, m4_divert_text, m4_divert_once.
639         (Text processing Macros): Sort.  Add m4_flatten, m4_join,
640         m4_newline, m4_strip, m4_text_box, m4_text_wrap.
641         (Reporting Messages): Mark AC_DIAGNOSE, AC_WARNING, and AC_FATAL
642         as obsolescent.
643         (Printing Messages): Change cross-reference.
645         Document interaction of recent m4_append change with Libtool HEAD.
646         * lib/m4sugar/m4sugar.m4 (m4_append): Document semantics change.
647         (m4_append_uniq): Add new parameters, based on lt_append_uniq.
648         * tests/m4sugar.at (m4@&t@_append): New test.
649         * NEWS: Document semantics change.
650         * doc/autoconf.texi (Text processing Macros): Likewise.
652         s/AC_VERSION/AC_AUTOCONF_VERSION/.
653         * doc/autoconf.texi (Versioning): Change the name.
654         * NEWS: Likewise.
655         * lib/autoconf/general.m4 (AC_AUTOCONF_VERSION): Likewise.
656         * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Likewise.
657         Suggested by Ralf Wildenhues.
659         Namespace cleanup.
660         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
661         (_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
662         autoconf namespace.
663         * doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
664         (Programming in M4sh, Macro Names): Beef up description of
665         namespaces reserved for autoconf.
666         * configure: Regenerate.
668 2007-10-12  Eric Blake  <ebb9@byu.net>
669         and Paolo Bonzini  <bonzini@gnu.org>
671         Speed up execution of subset of testsuite.
672         * lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
673         (AT_INIT) <at_func_test>: New shell function.
674         (AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
675         (AT_INIT) <at_test_source> New variable, names file that holds
676         current test function definition.
677         (AT_SETUP): Start the shell function at_func_test_#, into the
678         TEST_FUNCTIONS diversion.
679         (AT_CLEANUP): End the shell function.  Simplify the TESTS
680         diversion to invoke the function.
682 2007-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
684         * .gitignore: Ignore tags and TAGS files.
686 2007-10-11  Eric Blake  <ebb9@byu.net>
688         Config header generation followup.
689         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
690         which won't work with the preprocessor nor with the awk
691         implementation.
692         * tests/torture.at (Define a newline): Test raw newline detection,
693         removing the XFAIL.
694         * doc/autoconf.texi (Defining Symbols): Document recent change to
695         allow backslash-newline.
696         * THANKS: Update.
698 2007-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
700         * lib/autotest/general.m4: Put function braces in separate line.
702 2007-10-10  Eric Blake  <ebb9@byu.net>
704         Avoid some overhead from m4_defn and m4_popdef.
705         * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
706         pass on first argument, since we are documented that way.
707         (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
708         check where it is safe to do so.
709         (m4_append): Likewise, and quote the separator.
710         (m4_text_box): Likewise, and avoid regex, also be robust to
711         expansion and quadrigraphs.
713         Another AC_DEFINE speedup.
714         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
715         elision...
716         (_AC_DEFINE_Q): ...here, and only do it once.
717         * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
718         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
719         introduced 2007-10-05.
721         Whitespace cleanup.
722         * lib/autoconf/general.m4: Use consistent indentation.
723         * configure: Regenerate.
725         * NEWS: Announce recent round of speed optimizations.
727 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
729         * NEWS: Announce shell function usage in Autotest.
731 2007-10-10  Eric Blake  <ebb9@byu.net>
732         and Paul Eggert  <eggert@cs.ucla.edu>
734         Reduce number of forks at startup.
735         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
736         sanitization.
737         * configure: Regenerate.
739 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
740         and Paul Eggert  <eggert@cs.ucla.edu>
742         Use awk for config header generation.
743         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
744         (_AC_OUTPUT_HEADERS_PREPARE): New macro.  Rewrite of the config
745         header machinery for use with awk and placement outside the main
746         config.status instantiation loop.  Retain multi-line defines
747         through backslash-newline combinations, do not split the script
748         any more.
749         (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
750         (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
751         needed.
752         (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
753         from define values.
754         * NEWS: Update.
755         * tests/torture.at (#define header templates): Extend test by
756         several more cases: white space before and after `#', macros
757         with parameters in config.hin and as defines, multi-line macro
758         values.
759         (Torturing config.status): Use a define value twice the length
760         in order to exercise the awk literal string limit.
761         (Substitute and define special characters): Also try special
762         delimiter, to exercise the special-case code.
763         Suggestion by Eric Lemings.
765 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
767         * tests/local.at (AT_COPYRIGHT): Bump copyright years.
769 2007-10-09  Eric Blake  <ebb9@byu.net>
771         Improve header of bin/autoconf.
772         * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
773         * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
774         from M4sh.
775         * bin/autoconf.as: Put copyright up front in generated file.
777         * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
779 2007-10-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
781         * doc/install.texi (Basic Installation): Document `uninstall'.
782         * INSTALL: Regenerate.
783         Suggestion by Roberto Bagnara.
785 2007-10-08  Paul Eggert  <eggert@cs.ucla.edu>
787         * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
789         Adjust doc. to match latest gnulib.
790         * build-aux/texinfo.tex: Sync from gnulib.
791         * doc/standards.texi: Likewise.
792         * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
793         Documentation License" and remove the subsection.  This simplifies
794         the manual a bit and is more like what other GNU projects do
795         nowadays.
797 2007-10-08  Eric Blake  <ebb9@byu.net>
799         Use recent changes.
800         * configure: Regenerate.
802         Fix regression in m4_text_wrap from 2007-10-05.
803         * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
804         (m4_sign): Sort.
805         (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
806         m4_format.
807         * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
808         * tests/autotest.at (Long test title, Longer test title): Test
809         this fix, beyond what AS_HELP_STRING already tests.
811         Avoid m4 warnings on bad m4_format usage.
812         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
813         evaulates to 0.
814         * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
815         enough arguments are provided.
817 2007-10-06  Paolo Bonzini  <bonzini@gnu.org>
819         * doc/autoconf.texi (Shell portability): Document shell function
820         portability.
822 2007-10-06  Paolo Bonzini  <bonzini@gnu.org>
824         * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
825         at_func_check_skip, at_func_check_status, at_func_filter_trace,
826         at_func_log_failure shell functions.  Use test -s to avoid
827         useless diff invocations.
828         (at_func_check_newline): Renamed from at_check_newline.
829         (AT_SETUP): Define AT_captured_files to empty.
830         (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
831         (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir.  Use all
832         the shell functions.
834 2007-10-05  Paul Eggert  <eggert@cs.ucla.edu>
836         Don't assume "." is writeable, for commands like "autoconf --version".
837         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
838         different heuristic instead, one that doesn't rely on creating
839         files.
841         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
842         correctly.
844 2007-10-05  Jim Meyering  <meyering@redhat.com>
846         Avoid makeinfo warnings.
847         * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
848         (Looping constructs): Add ` ' after @defmac'd name, m4_do.
850 2007-10-05  Eric Blake  <ebb9@byu.net>
852         Resolve Python issue 1676135 regarding configure directory args.
853         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
854         slashes from directory arguments.
855         * tests/base.at (configure directories): New test.
856         * doc/autoconf.texi (Installation Directory Variables): Document
857         the change.
858         * NEWS: Likewise.
859         * THANKS: Update.
860         Reported by Björn Lindqvist.
862         Provide better short-circuiting operation.
863         * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
864         (m4_text_wrap): Use it.  Also avoid useless m4_for.
865         * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
866         new macro.
867         (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
868         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
869         to avoid regexps.
870         * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
871         documentation.  Sort m4_mkstemp, m4_undefine.  Move m4_ifndef...
872         (Conditional constructs): ...here, to new section.  Also document
873         m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
874         m4_bpatsubsts, and m4_default.
875         (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
876         m4_do.
878 2007-10-04  Eric Blake  <ebb9@byu.net>
880         Fix recent testsuite failures.
881         * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
882         that must not be re-expanded after AS_ESCAPE.
883         * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
884         checking if it is an identifier.
886         Whitespace cleanup.
887         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
888         leading whitespace, as it caused space-tab in testsuite.
889         (AT_INIT): Avoid trailing newlines in testsuite.
891         One more round of m4_foreach_w speedups.
892         * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
893         is present.
894         (_m4_split): Avoid useless expansions inside definition.  Move
895         argument defaulting...
896         (m4_split): ...here.  Change alternate quote to something less
897         likely to appear in $1.  Also, special case space as regexp...
898         (m4_foreach_w): ...to avoid regexp on single-term list.
899         (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
900         useless expansions inside definition.
901         * tests/m4sugar.at (m4@&t@_split): Add tests.
903 2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
905         * general.m4 (AT_INIT): Add at_check_newline function.
906         (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
907         (_AT_CHECK): Don't use at_trace_this.
909 2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
911         Fix previous commit.
912         * lib/autotest/general.m4 (AT_LINE): Fix regex.
914 2007-10-04  Eric Blake  <ebb9@byu.net>
916         Speed up building testsuites.
917         * lib/autotest/general.m4 (AT_LINE): Only use regex when file
918         changed since last time.  Use simpler regex.
920 2007-10-03  Eric Blake  <ebb9@byu.net>
922         Optimize checking for identifiers.
923         * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
924         macros, more efficient than regex on m4_re_word.
925         * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
926         Rewrite in terms of new macro.  As a side-effect, AC_DEFINE can
927         now use @&t@.
928         * configure: Regenerate.
930         Remove some XFAILs, and make AT_SETUP output line up.
931         * lib/autotest/general.m4 (AT_SETUP): Only expand description
932         once; thereafter, use its expansion, properly quoted.
933         * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
934         expansion with arguments, and check for aligned output.
935         (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
936         Add a test for macros with parameters.
937         * NEWS: Document the semantics change.
938         * tests/base.at: Fix test titles containing commas.
939         * tests/compile.at: Likewise.
940         * tests/tools.at: Likewise.
941         * tests/torture.at: Likewise.
943         Another round of regex avoidance.
944         * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
945         (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
946         (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
947         (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
948         character ranges useful in m4_translit.
949         (m4_toupper, m4_tolower): Optimize the constant portion of
950         definition.
951         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
952         creates $, and reject [] thanks to AS_TR_SH rewrite.
953         (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
954         (AS_ESCAPE): Factor...
955         (_AS_ESCAPE): ...into new macro, with second argument required.
956         Avoid regex in common case.
957         (_AS_QUOTE): Use new macro.
959         Whitespace cleanup.
960         * lib/autoconf/types.m4: Avoid space-tab.
961         * lib/m4sugar/m4sh.m4: Use tab consistently.
963 2007-10-03  Paul Eggert  <eggert@cs.ucla.edu>
965         * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
966         (m4_shiftn): Remove no-longer-needed optimization.  Perhaps we
967         should remove m4_shiftn entirely?
968         (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
969         Prefer m4_shift2 and m4_shift3 to m4_shiftn.
970         * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
971         * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
972         * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
974 2007-10-03  Eric Blake  <ebb9@byu.net>
976         Comment touchups.
977         * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
979 2007-10-02  Eric Blake  <ebb9@byu.net>
981         Optimize appending text.
982         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
983         expressions.
985         Optimize recursion.
986         * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
987         lot of hot spots; optimize it for 2 and 3 shifts.
989         Optimize AC_PREREQ and other m4sugar numerics.
990         * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
991         (m4_cmp): Compare arbitrary expressions, without overflow.
992         (m4_version_unletter): Also recognize capital letters.
993         (m4_version_compare): Avoid regex when splitting version number
994         string.
996 2007-10-01  Eric Blake  <ebb9@byu.net>
998         Once again, reject IRIX m4.
999         * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
1000         implementations that ignore --trace.
1001         * configure: Regenerate.
1002         Reported by Ralf Wildenhues.
1004         Fix regression in AC_DEFINE([macro(with_arg)]).
1005         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
1006         quotes with a careless m4_substr.
1008 2007-09-30  Eric Blake  <ebb9@byu.net>
1010         Allow nameless iteration.
1011         * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
1012         indirectly.
1013         * tests/m4sugar.at (myvar): Test this.
1015 2007-09-29  Eric Blake  <ebb9@byu.net>
1017         Speed optimization: avoid m4 regex when other algorithms work.
1018         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
1019         (_AS_QUOTE_IFELSE): Likewise.
1020         * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
1021         (m4_bpatsubsts): Split...
1022         (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
1023         regex.
1024         (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
1025         (m4_qlen): Optimize on short strings, to avoid regex.
1026         (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
1027         * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
1028         (AC_DEFINE_TRACE): Likewise.
1030 2007-09-28  Eric Blake  <ebb9@byu.net>
1032         Oops - my earlier 'optimization' caused a regression.
1033         * tests/local.at (AT_CHECK_M4): Fix typo.
1035 2007-09-27  Eric Blake  <ebb9@byu.net>
1036         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1038         Catch even more common AC_CACHE_VAL mistakes.
1039         * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
1040         lacks '_cv_', or if AC_SUBST appears in body.
1041         * tests/base.at (AC_CACHE_CHECK): Test this change.
1043 2007-09-27  Stepan Kasal  <kasal@ucw.cz>
1044         and Eric Blake  <ebb9@byu.net>
1046         Autotest no longer caters to Ultrix redirection limitation.
1047         * doc/autoconf.texi (Writing testsuite.at): Remove the
1048         limitation that the first parameter of AT_CHECK cannot
1049         contain redirection.
1050         (File Descriptors): Mention that Ultrix limitation is no longer a
1051         show-stopper in modern code.
1052         * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
1053         parameter is `stderr' or `experr'.  Optimize if it was `ignore'.
1054         * lib/autotest/general.m4 (AT_CHECK): Update comment.
1056 2007-09-27  Eric Blake  <ebb9@byu.net>
1058         Squelch changeword in m4sugar.
1059         * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
1060         feature of m4 1.4.x.
1062         Configure whitespace touchups.
1063         * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
1064         installation directories, and avoid TAB, in configure --help
1065         output.
1066         * configure.ac: Avoid extra trailing newline.
1067         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
1068         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
1069         config.status --help output.
1070         * configure: Regenerate.
1072         Fix underquotation in AS_HELP_STRING.
1073         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
1074         argument.
1075         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
1076         first-prefix argument.
1077         * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
1078         * NEWS: Document AS_HELP_STRING fix.
1080         Autotest formatting touchups.
1081         * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
1082         output.
1083         (PATH): Simplify computation of new PATH.
1085 2007-09-26  Eric Blake  <ebb9@byu.net>
1087         Fix testsuite breakage in last patch.
1088         * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
1089         font-lock fix.
1090         * tests/torture.at (@%:@define header templates): Rename, so that
1091         output lines up correctly.
1093         More font-lock happiness.
1094         * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
1095         confusion.
1097 2007-09-25  Eric Blake  <ebb9@byu.net>
1099         Typo fixes.
1100         * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
1101         * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
1103         Improve documentation of M4 parameter expansion.
1104         * doc/autoconf.texi (Quoting and Parameters): New section.
1105         (Quotation and Nested Macros): Improve wording.
1107         Improve C99 detection.
1108         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
1109         avoid deprecation warning with icc.
1110         * THANKS: Update.
1111         Reported by Ted Bullock.
1113 2007-09-24  Jim Meyering  <jim@meyering.net>
1115         Whenever possible, use the vertical bar as sed delimiter.
1116         * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
1117         Use "|", not "!".
1118         * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
1119         [ac_dir_suffix]: Use "|", not "," as sed delimiter.
1120         * tests/mktests.sh (as_me): Likewise.
1121         * lib/freeze.mk (check-forbidden-patterns): Likewise.
1122         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
1123         * configure: Regenerate.
1124         * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
1125         * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
1126         in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
1127         This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
1129 2007-09-22  Jim Meyering  <jim@meyering.net>
1131         Add a comment.
1132         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
1133         2004-05-31 change also with a comment in the code.
1135 2007-09-20  Eric Blake  <ebb9@byu.net>
1137         More contribution housekeeping.
1138         * THANKS: Sort.
1139         * AUTHORS: Sort, reflect recent assignment from Helge Deller.
1141         Ignore additional files, when copying cross-repository.
1142         * .gitignore: Ignore CVS directories, emacs edits.
1143         * .cvsignore: Ignore .git directory, emacs edits.
1145 2007-09-15  Eric Blake  <ebb9@byu.net>
1147         Provide AC_VERSION, not m4_AUTOCONF_VERSION.
1148         * doc/autoconf.texi (Text processing Macros): Remove mention of
1149         m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
1150         once again.
1151         (Notices): Move AC_PREREQ...
1152         (Versioning): ...to this new section, alongside the new AC_VERSION
1153         alias for the undocumented m4_PACKAGE_VERSION.
1154         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
1155         * lib/autoconf/general.m4 (AC_VERSION): New macro.
1156         * NEWS: Update to match this rename.
1157         * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
1158         m4_PACKAGE_VERSION.
1159         * tests/tools.at (autoconf: AC_VERSION): New test.
1160         Suggested by Paolo Bonzini and Benoit Sigoure.
1162 2007-09-14  Eric Blake  <ebb9@byu.net>
1164         Prepare for conversion to git.
1165         * doc/.cvsignore: Avoid multiple listings on one line.
1166         * bin/.cvsignore: Likewise.
1167         * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
1168         lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
1169         lib/autoscan/.gitignore, lib/autotest/.gitignore,
1170         lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
1171         tests/.gitignore: New files, identical to .cvsignore counterpart.
1173 2007-09-13  Eric Blake  <ebb9@byu.net>
1175         Editing eye-candy.
1176         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
1177         font-lock balance.
1178         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
1179         * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
1180         * configure: Regenerate.
1182         Clean up 'make dist' of previous patch.
1183         * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
1184         (CLEANFILES): Don't clean the stamp, since we distribute the
1185         generated files pre-built.
1186         (MAINTAINERCLEANFILES): Clean it here instead.
1187         * tests/Makefile.in: Regenerate.
1189         Avoid parallel 'make check' issue.
1190         * tests/Makefile.am (mktests.stamp): New witness.
1191         (TESTSUITE_GENERATED_AT): Use it.
1192         (CLEANFILES): Clean the witness.
1193         * tests/.cvsignore (mktests.stamp): Ignore the witness.
1195         Document another awk pitfall.
1196         * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
1197         limitation of field variables in END.
1198         Reported by Gary V. Vaughan.
1200         * AUTHORS: Add missing entries.
1202 2007-09-12  Eric Blake  <ebb9@byu.net>
1204         Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
1205         * doc/autoconf.texi (Text processing Macros): Document
1206         m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
1207         (Redefined M4 Macros): Document m4_ifndef.
1208         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
1209         can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
1210         used it while it was undocumented.
1211         * NEWS: Document this change.
1212         * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
1213         * lib/m4sugar/Makefile.in: Regenerate.
1214         * tests/m4sugar.at (m4@&t@_version_compare): New test.
1215         Reported by Bruno Haible.
1217         * doc/autoconf.texi (Generic Compiler Characteristics): Add
1218         missing index entries.
1220 2007-09-11  Eric Blake  <ebb9@byu.net>
1222         Centralize all system extensions checks.
1223         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
1224         from AC_AIX, AC_GNU_SOURCE, AC_MINIX.  Add Interix support.
1225         (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
1226         AC_USE_SYSTEM_EXTENSIONS.
1227         (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
1228         (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
1229         * doc/autoconf.texi (Posix Variants): Reword this section,
1230         emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
1231         rather than a series of system-specific checks.
1232         (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
1233         AC_MINIX.
1234         * NEWS: Document this change.
1235         * THANKS: Update.
1236         Reported by Martin Koeppe.
1238 2007-09-08  Eric Blake  <ebb9@byu.net>
1240         Clean up obsolete macros references.
1241         * doc/autoconf.texi: Add anchors to support better
1242         cross-referencing.
1243         (Particular Structures): Move obsolete macros descriptions...
1244         (External Software): Likewise.
1245         (Package Options): Likewise.
1246         (Obsolete Macros): ...to here.  Add cross-references to
1247         documentation on replacements.
1248         * NEWS: Mention that these macros have been obsolete for a while
1249         now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
1251         Improve M4 path searching during configure.
1252         * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
1253         macro.
1254         (_AC_PATH_PROG_FEATURE_CHECK): Rename...
1255         (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
1256         parameter, and kill side effects.
1257         (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
1258         (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
1259         * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
1260         is found.
1261         (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
1262         allow bootstrapping with autoconf 2.61.
1263         * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
1264         * configure: Regenerate.
1265         * doc/autoconf.texi (Generic Programs): Document new macro.
1266         * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
1267         macro.
1268         * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
1269         * NEWS: Document the change.
1270         * THANKS: Update.
1271         Reported by Hans Aberg.
1273         * doc/autoconf.texi (Generic Programs): Fix typo.
1275 2007-09-06  Eric Blake  <ebb9@byu.net>
1277         * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
1278         :, and make it clear that optional @var{path} defaults to $PATH.
1279         (Erlang Compiler and Interpreter): Likewise.
1281         Texinfo cleanup.
1282         * doc/autoconf.texi: Avoid lines > 80 columns when possible.
1283         Reword some paragraphs to avoid overfull, underfull hbox
1284         warnings.  Add index entries to avoid overfull vbox warnings.
1286 2007-09-05  Eric Blake  <ebb9@byu.net>
1288         * NEWS: Adjust wording for AC_CONFIG_LINKS.
1289         Reported by Ralf Wildenhues.
1291 2007-09-03  Eric Blake  <ebb9@byu.net>
1293         * NEWS: Document fixes that have been applied since 2.61a.
1295         Housekeeping.
1296         * THANKS: Update, and convert to UTF-8 encoding.
1297         * AUTHORS: Likewise.
1299 2007-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1301         * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
1302         names beginning with `-' again.
1304 2007-08-22  Stepan Kasal  <kasal@ucw.cz>
1305             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1307         * doc/autoconf.texi (Defining Directories): Mention
1308         AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
1310 2007-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1312         * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
1313         here, this macro is expanded by AC_INIT.  Fixes 2.60 regression.
1314         * tests/base.at (configure arguments): New test.
1315         * THANKS: Update.
1316         Report by Olaf Lenz.
1318         * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
1319         arguments in comment.
1320         Report by Vincent Torri <vtorri at univ minus evry dot fr>.
1322 2007-08-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
1324         * doc/autoconf.texi (File System Conventions): Index the proper
1325         way of detecting absolute file names.
1327 2007-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1329         * build-aux/config.guess, build-aux/config.sub,
1330         build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
1331         build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
1332         doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
1333         * doc/autoconf.texi (GNU Free Documentation License): Adjust for
1334         sectioning change in fdl.texi.
1336         * bin/autoconf.as: Update --version output to match current GCS.
1337         * bin/autoheader.in: Likewise.
1338         * bin/autom4te.in: Likewise.
1339         * bin/autoreconf.in: Likewise.
1340         * bin/autoscan.in: Likewise.
1341         * bin/autoupdate.in: Likewise.
1342         * bin/ifnames.in: Likewise.
1344 2007-08-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1346         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
1347         file to itself if source and build trees coincide.
1348         * tests/torture.at (AC_CONFIG_LINKS and identical files): New
1349         test.
1350         Report by Sebastian Freundt <hroptatyr@gna.org>.
1352 2007-07-20  Paul Eggert  <eggert@cs.ucla.edu>
1354         Reword the copyright notices to match what's suggested in GPLv3.
1355         In ChangeLog files, use more-permissive notice rather than GPL, as
1356         per usual GNU standards these days.
1358 2007-07-13  Paul Eggert  <eggert@cs.ucla.edu>
1360         * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
1361         limitation reported by Leo Moisio in
1362         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
1364 2007-07-03  Paul Eggert  <eggert@cs.ucla.edu>
1366         * COPYING: Update to GPLv3.  All uses changed.
1368 2007-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1369         and Paul Eggert  <eggert@cs.ucla.edu>
1371         * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
1372         fails on AIX 5.3.
1374 2007-06-17  Noah Misch  <noah@cs.caltech.edu>
1376         * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
1377         * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
1378         `srcdir' as subdirectory of `builddir'.
1380 2007-06-13  Noah Misch  <noah@cs.caltech.edu>
1382         * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
1383         * tests/autotest.at (srcdir propagation): New test.
1384         * THANKS: Update.
1385         Reported by Mike Frysinger.
1387 2007-06-13  Paul Eggert  <eggert@cs.ucla.edu>
1389         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
1390         Problem reported by Fred Kreek in
1391         <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
1392         * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
1393         (Macro Names, Defining Directories): Don't mention PATH as a name
1394         for a fully qualified file name, as this usage violates the GNU
1395         coding standards and we shouldn't recommend it.
1397         * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
1398         string and then assume shell builtins like "test" will work.
1400 2007-06-12  Noah Misch  <noah@cs.caltech.edu>
1402         * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
1403         not a valid shell variable name.
1404         * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
1405         * tests/torture.at (AC_SUBST: variable name validation): New test.
1406         Reported by Andreas Schwab.
1408 2007-06-04  Noah Misch  <noah@cs.caltech.edu>
1410         * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
1411         works with both C and C++.
1413 2007-06-03  Noah Misch  <noah@cs.caltech.edu>,
1414             Bruno Haible  <bruno@clisp.org>
1416         * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
1417         brand tests.
1419 2007-05-31  Paul Eggert  <eggert@cs.ucla.edu>
1421         * doc/autoconf.texi (Particular Types): Give example of use for
1422         AC_TYPE_INT8_T etc.
1424 2007-05-29  Stepan Kasal  <kasal@ucw.cz>
1426         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
1428 2007-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1430         * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
1431         define HAVE_INT8_T, and likewise for similar macros.
1432         Problem reported by Patrick Welche in
1433         <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
1435 2007-05-25  Noah Misch  <noah@cs.caltech.edu>
1437         * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
1439 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
1441         * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
1442         choice, since that's what we do with --enable-largefile etc.
1443         Redo indenting and assignments to simplify things a bit, and make
1444         the parens work with Emacs.
1446         * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
1447         in my previous change: AC_C_OPENMP -> AC_OPENMP.  Reported by Bruno
1448         Haible.
1450 2007-05-21  Noah Misch  <noah@cs.caltech.edu>
1452         * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
1453         * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
1455 2007-05-21  Bruno Haible  <bruno@clisp.org>
1457         * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
1458         * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
1459         * doc/autoconf.texi (Generic Compiler Characteristics): Move
1460         renamed AC_OPENMP documentation here, from "C compiler".
1461         Mention C++ and Fortran.
1463 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
1465         * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
1467 2007-05-21  Bruno Haible  <bruno@clisp.org>
1469         * NEWS: Mention AC_C_OPENMP.
1470         * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
1471         * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
1472         Based in part on Steven G. Johnson's investigations for the AX_OPENMP
1473         macro in the Autoconf macro archive.
1475 2007-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1477         * bin/autom4te.in: Fix typos.
1479 2007-05-16  Noah Misch  <noah@cs.caltech.edu>
1481         * bin/autoconf.as: Handle `-' just like other input files.
1482         * bin/autom4te.in (parse_args): Pass `-' through.
1483         (handle_output): Skip the forbidden token search if we read from stdin.
1484         (up_to_date): Always treat stdin as out of date.
1485         * tests/tools.at (autoconf: input from stdin): New test.
1486         (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
1488 2007-05-16  Stepan Kasal  <kasal@ucw.cz>
1490         * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
1491         parameters for AT_CLEANUP.
1492         * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
1494 2007-05-14  Paul Eggert  <eggert@cs.ucla.edu>
1496         * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
1497         * doc/autoconf.texi (C Compiler): Likewise.
1499 2007-05-14  Noah Misch  <noah@cs.caltech.edu>
1501         * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
1503 2007-05-09  Stepan Kasal  <kasal@ucw.cz>
1505         * doc/autoconf.texi: Direntry for "autoconf Invocation"
1506         renamed to "autoconf-invocation"
1508         * doc/autoconf.texi (Caching Results): The CACHE-ID variable
1509         in the examples should not use the internal "ac_" prefix.
1511 2007-05-05  Noah Misch  <noah@cs.caltech.edu>
1513         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
1514         * doc/autoconf.texi ($@, case): Document Zsh limitations.
1516 2007-05-03  Stepan Kasal  <kasal@ucw.cz>
1518         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
1519         Reorganize the comments before and in the macro.
1521 2007-05-02  Stepan Kasal  <kasal@ucw.cz>
1523         * lib/autoconf/lang.m4, lib/autoconf/c.m4,
1524         lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
1525         section titles and other comments; no code change.
1527 2007-05-01  Kevin Ryde  <user42@zip.com.au>
1529         * doc/autoconf.texi (Particular Programs): Typo
1530         @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
1532 2007-04-30  Paul Eggert  <eggert@cs.ucla.edu>
1534         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
1535         'configure' will fail if the shell lacks proper support for shell
1536         functions.  Suggested by RMS.
1538 2007-04-29  Paul Eggert  <eggert@cs.ucla.edu>
1540         * doc/autoconf.texi (Limitations of Builtins): Correct the warning
1541         about Solaris /bin/printf '%010000x' 123.  Problem reported by
1542         Bruno Haible.
1544 2007-04-28  Paul Eggert  <eggert@cs.ucla.edu>
1546         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
1547         for a.* when searching for executables, as this prevents users
1548         from having files like a.c.  Problem reported by Ralf Wildenhues in:
1549         http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
1550         This fixes a problem introduced on 2000-12-19.
1552 2007-04-26  Paul Eggert  <eggert@cs.ucla.edu>
1554         * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
1555         /bin/printf '%010000x' 123.  Problem reported by Arto C. Nirkko
1556         via Bruno Haible.
1558 2007-04-12  Paul Eggert  <eggert@cs.ucla.edu>
1560         * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
1561         AC_CHECK_TYPE, AC_CHECK_TYPES.
1562         * doc/autoconf.texi (Generic types): C types must be type-names
1563         (the C terminology), not type-ids (the C++ term).  C++ types
1564         must not be anonymous.
1565         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
1566         for C++; this drops support for anonymous struct and union types,
1567         which were problematic anyway.
1568         * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
1569         for C++.
1571 2007-04-12  Jim Meyering  <jim@meyering.net>
1573         * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
1575 2007-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1577         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
1578         to prefer a link source from the build tree, if it exists.
1579         Report by Pallav Gupta <pallavgupta@gmail.com>.
1581 2007-04-11  Paul Eggert  <eggert@cs.ucla.edu>
1583         * doc/autoconf.texi (Generic Types): Document the restrictions
1584         on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
1585         (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
1586         with objects too.  Document the restrictions on its use.
1587         Document the restrictions on AC_CHECK_ALIGNOF's type argument.
1588         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
1589         For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
1590         works but the latter doesn't, then it's a valid type.
1591         This lets people use function types and so forth.
1592         For C++ there doesn't seem to be a simple solution, so leave it alone.
1593         (AC_CHECK_SIZEOF): Allow argument to be a variable.
1594         (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
1595         AC_CHECK_TYPE; that wasn't documented or necessary.
1597 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
1599         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
1600         when cross-compiling.
1602 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
1604         * doc/autoconf.texi (External Software): Fix a typo in the
1605         previous change.
1607 2007-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1609         * doc/autoconf.texi (External Software, Package Options):
1610         Fix ambiguous wording.  Report by Reuben Thomas <rrt@sc3d.org>.
1612 2007-04-06  Paul Eggert  <eggert@cs.ucla.edu>
1614         * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
1615         obsolescent.  Suggested by Bruno Haible.
1616         * NEWS: Document this.
1618 2007-03-29  Paul Eggert  <eggert@cs.ucla.edu>
1620         * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
1621         (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
1622         default still has the problem.  Problem reported by Bruce Korb.
1624 2007-03-28  Stepan Kasal  <kasal@ucw.cz>
1625         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1627         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
1628         comment in the generated config.status.
1630 2007-03-27  Stepan Kasal  <kasal@ucw.cz>
1632         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
1634 2007-03-26  Paul Eggert  <eggert@cs.ucla.edu>
1636         * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
1637         command and case statements to make it a bit clearer and describe
1638         more pitfalls.
1640 2007-03-23  Paul Eggert  <eggert@cs.ucla.edu>
1642         * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
1643         checks for unsigned long long int.
1645 2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
1647         * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
1648         nonstandard grep R.E. escape sequences.
1650 2007-03-17  Jim Meyering  <jim@meyering.net>
1652         * doc/autoconf.texi: Adjust grammar around use of "heuristics".
1653         (Limitations of Usual Tools): Also list \< and \>, and mention that
1654         HP-UX's grep, like the one from Solaris, does not support that syntax.
1656 2007-03-09  Stepan Kasal  <kasal@ucw.cz>
1658         * doc/autoconf.texi (Specifying Names): `--host' does not
1659         change the build type.
1661 2007-03-05  Paul Eggert  <eggert@cs.ucla.edu>
1663         * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
1664         suggests AC_CONFIG_HEADERS.
1665         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
1666         AC_CONFIG_HEADERS.  Problem reported by
1667         Peter O'Gorman.
1669 2007-02-28  Paul Eggert  <eggert@cs.ucla.edu>
1671         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
1672         Problem reported by Paolo Bonzini in:
1673         http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
1674         * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
1675         universal binaries.  Problem reported by Elias Pipping.
1677 2007-02-27  Paul Eggert  <eggert@cs.ucla.edu>
1679         * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
1680         * doc/autoconf.texi (C Compiler): Document this.  There is a new
1681         extra argument ACTION-IF-UNIVERSAL.
1682         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
1683         Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
1684         Reindent for sanity's sake.
1686 2007-02-24  Eric Blake  <ebb9@byu.net>
1688         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
1689         copyright.
1690         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1691         * lib/autotest/general.m4 (AT_INIT): Likewise.
1692         (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
1694 2007-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1696         * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
1697         status of rm so we know when it failed.
1698         If cleaning of test dir failed before running the test, warn.
1699         Output the line separator in verbose mode before the warning
1700         to make clear the warning belongs to the following test.
1702 2007-02-08  Paul Eggert  <eggert@cs.ucla.edu>
1704         * doc/autoconf.texi (Parentheses): Mention problem with (( in
1705         shells.
1707 2007-02-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1708         and Paul Eggert  <eggert@cs.ucla.edu>
1710         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
1711         errors introduced in last change.
1713 2007-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1715         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
1716         an actual carriage return.  Use "ac_cr" to contain the actual
1717         carriage return.
1718         * doc/autoconf.texi (Limitations of Usual Tools): Document problem
1719         with traditional Awk and begin.
1720         * tests/torture.at (Limitations of Builtins): Document the problem
1721         with Bash 2.03 printf.
1722         (Substitute and define special characters):
1723         Remove trailing white space.  Work around a bug in Solaris 8 /bin/bash.
1725 2007-02-06  Ralf Menzel  <menzel@ls6.cs.uni-dortmund.de>  (tiny change)
1727         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
1728         input from /dev/null in awk test, so even Solaris /usr/bin/awk
1729         will not wait for input with a script containing only a BEGIN
1730         rule.
1732 2007-02-03  Paul Eggert  <eggert@cs.ucla.edu>
1734         * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
1735         requirements.
1736         * README: Likewise.
1738 2007-02-02  Eric Blake  <ebb9@byu.net>
1740         * NEWS: Update copyright.
1742         * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
1743         broken.
1744         * configure.ac: Update error message.
1745         * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
1746         Reported by Gary Vaughan and Jim Meyering, and problem analyzed
1747         by Stepan Kasal:
1748         http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
1750 2007-01-31  Eric Blake  <ebb9@byu.net>
1752         * THANKS (people): Update.
1754 2007-01-28  Paul Eggert  <eggert@cs.ucla.edu>
1756         * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
1757         latest version.
1758         (Shell Substitutions): Note problems with @{var:=value} etc.
1759         Add a new section for problems with @{#var} etc.  Problem noted
1760         by Ralf Wildenhues.  See:
1761         http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
1763 2007-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1765         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
1766         AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
1767         trace, if a package uses AC_PROG_MKDIR_P explicitly.  The actual
1768         substitution will still be done by the special code.
1769         Report by Jim Meyering.
1771         * doc/autoconf.texi (File System Conventions): Mention that
1772         $PATH_SEPARATOR is for the build system only.
1773         Report by Keith Marshall.
1775 2007-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1777         * doc/autoconf.texi (Setting Output Variables): Mention that
1778         all non-NUL characters are ok in substituted values.
1779         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
1780         (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
1781         carriage return for $AWK, needed for BSD awk.
1782         * tests/torture.at (Substitute and define special characters):
1783         Test all 8 bit non-NUL characters.
1784         Report against Automake by Patrick Welche.
1786 2007-01-15  Stepan Kasal  <kasal@ucw.cz>
1788         * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
1790 2007-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1792         * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
1793         early on the reader side, drop stderr of the input to avoid
1794         `broken pipe' error output; this may happen even with shell
1795         builtin `echo' of some bash versions.  Reports by Ian Macdonald
1796         <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
1798 2007-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1800         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
1801         separate items of `ac_user_opts', to avoid long lines.
1802         (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
1804 2007-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1806         * doc/autoconf.texi: Fix some typos.
1808 2007-01-05  Paul Eggert  <eggert@cs.ucla.edu>
1810         Fix some wording problems noted by Paolo Bonzini in:
1811         http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
1812         * doc/autoconf.texi (Signed Overflow Examples): Give more
1813         discussion about the allow_superuser_privileges example,
1814         and change it a bit to make things clearer.
1815         (Optimization and Wraparound): Clarify whether the compiler
1816         will generate an infinite loop for the example derived from
1817         Autoconf's mktime test.
1818         (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
1819         Also, clarify unsigned multiplication overflow.
1821 2007-01-04  Eric Blake  <ebb9@byu.net>
1823         * bin/Makefile.am (RELEASE_YEAR): New macro.
1824         (edit): Use it to supply correct copyright year to scripts.
1825         * bin/autoconf.as (version): Use it.
1826         * bin/autoheader.in ($version): Likewise.
1827         * bin/autom4te.in ($version): Likewise.
1828         * bin/autoreconf.in ($version): Likewise.
1829         * bin/autoscan.in ($version): Likewise.
1830         * bin/autoupdate.in ($version): Likewise.
1831         * bin/ifnames.in ($version): Likewise.
1833 2007-01-02  Paul Eggert  <eggert@cs.ucla.edu>
1835         * doc/autoconf.texi (Integer Overflow): Revised based on today's
1836         feedback.  The most important changes document what happens when
1837         you convert an out-of-range value to a signed integer type, and
1838         say that (sum < a) != (b < 0) reliably detects overflow when sum =
1839         a + b.
1841         * doc/autoconf.texi (Integer Overflow): Greatly expand and
1842         rewrite, taking notions from the recent discussion on the gcc and
1843         autoconf mailing lists; please see
1844         http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
1845         and follow the many links.
1846         (Integer Overflow Basics, Signed Overflow Examples):
1847         (Optimization and Wraparound, Signed Overflow Advice):
1848         (Signed Integer Division): New sections.
1850 2006-12-28  Steven G. Johnson  <stevenj@alum.mit.edu>
1852         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
1853         preprocessor macro arguments in traced name.
1854         * doc/autoconf.texi (Defining symbols): Document longstanding
1855         support for AC_DEFINE-ing macros with arguments, and document
1856         behavior when the same variable has multiple AC_DEFINEs.
1857         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
1858         old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
1859         macros directly, giving much shorter and simpler code.
1861 2006-12-28  Malcolm Purvis <malcolmp@xemacs.org>  (trivial change)
1863         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
1864         space before "$ac_configure_args" to prevent a 'config.status
1865         --recheck' failure if ac_configure_args doesn't contain a leading
1866         space.  This works around a problem with the XEmacs configure.ac,
1867         which uses the (undocumented) ac_configure_args variable
1868         inconsistently with Autoconf.
1870 2006-12-22  Paul Eggert  <eggert@cs.ucla.edu>
1872         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
1873         Include <limits.h>, and use its INT_MAX to rewrite the
1874         j loop so that it does not overflow 'int'.  Problem reported by
1875         Ralf Wildenhues in
1876         <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
1877         Play it safe by shifting left by 1 rather than multiplying by 2,
1878         as GCC is less likely to optimize this away when the value
1879         is signed (when it assumes overflow leads to undefined behavior).
1880         Also, don't assume time_t uses two's complement.
1882 2006-12-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1884         * tests/torture.at (Substitute a 2000-byte string): Avoid using
1885         a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
1886         dumps core on it.  Report by Tim Rice.
1888 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
1890         * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
1891         --disable-option-checking to --help output even when
1892         AC_PRESERVE_HELP_ORDER is not used.
1893         (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
1894         --with argument, rather than argument with [-.] replaced by
1895         underscores.
1896         * NEWS: Fix typo in previous change; the news was in the
1897         wrong section.
1899 2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
1901         * NEWS: Warnings are now generated by default for unknown
1902         --enable-* and --with-* options.
1903         * doc/autoconf.texi (Option Checking): Renamed from
1904         (Configure Option Checking).  Tighten up the wording a bit.
1905         (External Software, Package Options): Cross-reference to Option
1906         Checking, and use this to shorten our section.
1907         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
1908         "$x" to test "x$foo" != x.
1909         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
1910         Don't warn if $enable_option_checking is "no".
1911         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
1912         ac_unrecognized_opts to the empty string.
1913         Don't echo the unrecognized opts, as this might mishandle
1914         backslashes or leading -.
1915         (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
1916         usage next to the other --disable-FEATURE options in the
1917         help string.
1919 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
1921         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
1922         (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
1923         Print warning for unrecognized --with and --enable options
1924         (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
1925         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
1926         Disable option checking when subdirs are configured.
1927         (AC_OUTPUT): If warnings are enabled, print warning about
1928         unrecognized --with and --enable options at the end of
1929         the configure output (as well as at the beginning).
1930         * doc/autoconf.texi (Option Checking): New node.
1931         Document new option warning functionality.
1933 2006-12-16  Eric Blake  <ebb9@byu.net>
1935         * configure.ac (AC_INIT): Bump version, since 2.61a is released.
1936         * NEWS: Start news for current version.
1938 2006-12-15  Paul Eggert  <eggert@cs.ucla.edu>
1940         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
1941         Define HAVE_GETMNTENT to 1, not to the empty string.
1942         Problem originally reported by Jochen Friedrich in
1943         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
1945         This change prompted by a problem report by Andrey Simonenko in
1946         <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
1947         * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
1948         object-like macros only, in the traditional portable character
1949         set.
1950         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
1951         Warn about attempts to define things that are not identifiers.
1952         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
1953         awful hack that AC_DEFINEd macro names containing parentheses.
1955 2006-12-12  Paul Eggert  <eggert@cs.ucla.edu>
1957         * doc/autoconf.texi: Undo some of the 2006-12-10 change.  It was
1958         too drastic, even if Texinfo in theory requires it for info mode.
1960         (config.status Invocation): Renamed back from Recreating a
1961         Configuration).
1962         (Obsolete config.status Use): Renamed back from Obsolete Recreation.
1963         (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
1965 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
1967         * NEWS: Version 2.61a.
1969 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
1970         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1972         * NEWS: Document changes with echo and printf, and the lack
1973         of limits on the total size of multi-line values of substituted
1974         variables, and the AC_FUNC_FSEEKO fix.
1976 2006-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1978         * doc/autoconf.texi (Writing Autoconf Input): Renamed from
1979         Writing configure.ac.
1980         (Autoconf Input Layout): Renamed from configure.ac Layout.
1981         (Recreating a Configuration): Renamed from config.status Invocation.
1982         (Obsolete Recreation): Renamed from Obsolete config.status Use.
1983         (acconfig Header): Renamed from acconfig.h.
1984         (20th-century Autoconf 2): Renamed from Autoconf 2.13.
1985         (Writing Testsuites): Renamed from Writing testsuite.at.
1986         (Autom4te Cache): Renamed from autom4te.cache.
1988         * BUGS: Remove mention of VPATH problem, since it's now documented
1989         not to be a bug in the Autoconf build procedure itself, but rather
1990         a problem with the proprietary `make' programs.
1992         * doc/autoconf.texi (Build Directories): Add a cross reference
1993         to VPATH and Make.
1995         * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
1996         * doc/standards.texi: Sync from gnulib.
1998         * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
1999         * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
2000         * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
2001         generated automatically.
2003 2006-12-06  Paul Eggert  <eggert@cs.ucla.edu>
2005         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
2006         C 5.8 on Solaris 10.  Using -xc99=all rather than -xc99 bypasses
2007         the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
2009 2006-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2011         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
2012         `CEOF$ac_eof' special marker, the awk script cannot contain a
2013         line matching `^CEOF', so this is not needed any more.
2014         * tests/torture.at (Substitute a newline): Expose the `%!_!# '
2015         special marker in the test.
2017 2006-12-06  Stepan Kasal  <kasal@ucw.cz>
2019         * tests/tools.at (autom4te preselections): Use `find -newer';
2020         remove one of the sleeps.
2022         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
2023         more readable, using ...
2024         (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
2026         * doc/autoconf.texi (autoheader Invocation): Do not double-
2027         quote the parameter of `AH_BOTTOM' in the example.
2029 2006-12-05  Stepan Kasal  <kasal@ucw.cz>
2031         * doc/autoconf.texi (Configuration Headers): Remove the
2032         example with multiple input files.
2033         (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
2034         multiple input files.
2036 2006-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2038         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
2039         creating the awk substitution script, handle one input line at a
2040         time, so that the maximum length of a substituted (multi-line)
2041         value is not limited by the size of the sed pattern space.
2042         The trade-off is a slightly repetitive sed script.
2043         * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
2044         can only have up to 7 characters, due to Solaris 10 /bin/sed.
2045         * tests/torture.at (Substitute a 2000-byte string): Increase the
2046         test with several long lines, they should not be caught by sed
2047         limits any more.
2049         * tests/tools.at (autom4te preselections): New test, to flag
2050         entries missing from autom4te.cfg.
2051         Report by David Byron <dbyron@hheld.com>.
2053         * tests/torture.at (Substitute a 2000-byte string): Actually use
2054         AC_PROG_AWK, so the last change works as intended.
2055         (Substitute and define special characters): Likewise.
2056         (Substitute a newline): Likewise.
2058         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
2059         instead of `awk' consistently.
2060         (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
2061         * tests/torture.at (Torturing config.status): Test both the
2062         result of AC_PROG_AWK and plain awk.
2063         (Substitute a 2000-byte string): Likewise.
2064         (Substitute and define special characters): Likewise.
2065         (Substitute a newline): Likewise.
2067 2006-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2069         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
2070         can be assigned to a function pointer.  Problem reported by
2071         Peter Palfrader in <http://bugs.debian.org/401377>.  Based on
2072         part of a patch by Ralf Wildenhues in that same bug report.
2074 2006-12-01  Paul Eggert  <eggert@cs.ucla.edu>
2076         * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
2077         * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
2079 2006-12-01  Eric Blake  <ebb9@byu.net>
2081         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
2082         cross-compiling from cygwin to mingw.
2083         Reported by Bob Rossi.  This resurrects the 2000-11-30 patch to
2084         aclang.m4, which was mistakenly removed in the 2001-09-17 patch
2085         to lib/autoconf/c.m4.
2087 2006-12-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2089         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
2090         string for more reliable failure.  Wrap the entire test that
2091         causes the broken Solaris printf to dump core, in a subshell,
2092         so the segmentation fault message is reliably suppressed.
2093         Fix shell expansion errors by using /usr/ucb/echo always;
2094         avoid an error on systems without it by another subshell.
2095         Avoid m4 expansion of `$1'.  Set the zeroth argument of the
2096         subshell-$as_echo to `as_echo', for better error message.
2098 2006-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2100         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
2101         `BASH_SOURCE' contain a newline, set them to empty, as they may
2102         not be unset.
2104 2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
2106         Turn AC_FUNC_SETVBUF_REVERSED into a noop.  It's been obsolete for
2107         years and is too hard to maintain now.  The last straw was
2108         reported by Jerker Baeck in
2109         <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
2110         * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
2111         * doc/autoconf.texi (Particular Functions): Move
2112         AC_FUNC_SETVBUF_REVERSED from here...
2113         (Obsolete Macros): ... to here.  Say that it does nothing now.
2114         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
2115         Turn into (almost) a no-op.
2117         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
2118         (AC_C_VOLATILE):
2119         Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
2120         These macros are obsolescent and new applications shouldn't need them.
2121         * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
2122         (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
2123         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
2124         (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2125         (AC_FUNC_VPRINTF): Likewise.
2126         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
2127         (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
2128         * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
2130         * doc/autoconf.texi (Setting Output Variables): Mention that
2131         @VAR1@VAR2 has unspecified behavior.  Problem reported by
2132         Ralf Wildenhues.
2133         * NEWS: Mention this.
2135         * Makefile.am: Put only a single '#' into the copyright notice,
2136         so that it's also present in the output file.  Standardize wording
2137         in makefile copyright notices to match GNU coding standards.
2138         * bin/Makefile.am: Likewise.
2139         * doc/Makefile.am: Likewise.
2140         * lib/Makefile.am: Likewise.
2141         * lib/freeze.mk: Likewise.
2142         * lib/autoconf/Makefile.am: Likewise.
2143         * lib/autoscan/Makefile.am: Likewise.
2144         * lib/autotest/Makefile.am: Likewise.
2145         * lib/m4sugar/Makefile.am: Likewise.
2146         * man/Makefile.am: Likewise.
2147         * tests/Makefile.am: Likewise.
2148         * lib/emacs/Makefile.am: Remove copyright notice; it's just a
2149         one-line file.
2151 2006-11-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2153         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
2154         in the sed script that mangles the awk script: delete up to the
2155         first exclamation mark only.
2156         * tests/torture.at (Substitute and define special characters):
2157         Test '!' too.
2159 2006-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2161         Rewrite config files generation: avoid quadratic growth in
2162         the number of substituted variables by using awk instead of sed
2163         for the bulk of the substitutions.
2164         * NEWS: Mention this.
2165         * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
2166         forbidden in the output (and thus input) file.
2167         * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
2168         (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
2169         generate just one large awk script for substitutions,
2170         eliminating much of the earlier complexity, while adding some
2171         new complexity.  Only expand the substitution templates at
2172         configure time, for smaller configure script size.  If
2173         _AC_SUBST_FILES are used, test 'awk' for working getline support
2174         at config.status time.  If absent, interpolate through the
2175         shell.  The awk script was written with much help
2176         from Paolo Bonzini and Paul Eggert.
2177         (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
2178         (_AC_SED_FRAG_NUM): Likewise.
2179         (_AC_SUBST_CMDS): Renamed from...
2180         (_AC_SED_CMDS): ...this.
2181         (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
2182         * tests/torture.at (Substitute a 2000-byte string): Also
2183         substitute a line with 1000 words, and a variable with several
2184         long lines.
2185         (Substitute and define special characters): Test awk special
2186         characters, and put substitution input strings `@foo@' in the
2187         output, to test that no recursion happens; test several other
2188         combinations from Paolo Bonzini.
2190 2006-11-25  Paul Eggert  <eggert@cs.ucla.edu>
2192         * lib/autotest/general.m4 (AT_INIT): Undo recent changes
2193         that replaced echo with AS_ECHO where this wasn't necessary.
2194         Problem reportd by Ralf Wildenhues.
2195         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
2196         where "/usr/bin/printf '%s\n' S" dumps core if S is long.
2197         This is Sun bug 4206210.  Problem reportd by Ralf Wildenhues.
2199 2006-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2201         * lib/freeze.mk (GREP): Removed, no need to initialize this.
2203 2006-11-21  Paul Eggert  <eggert@cs.ucla.edu>
2205         * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
2206         that traditional Awk lacks 3-arg "split".  It has it.
2207         Mention that FS must be a single character, and a few other
2208         99-byte limits of traditional Awk.
2209         Mention that if (i in a) doesn't work with traditional Awk.
2211 2006-11-18  Paul Eggert  <eggert@cs.ucla.edu>
2213         * tests/autotest.at (BSx641-newline in command):
2214         (BS-BS-newline in command, BSx640-newline in command):
2215         (Newline-CODE-BS-newline in command):
2216         (Single-quote-BS-newline in command):
2217         (Single-quote-newline-BS-newline in command):
2218         Use printf '%s\n' instead of echo, for portability to hosts
2219         where echo interprets backslashes.  This will break on hosts
2220         that lack printf, but for now let's assume all such hosts
2221         are dead (if not, we should get reports of test failures).
2223 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
2225         'echo' has some portability problems, when given a first argument
2226         with a leading '-', or when given any argument containing '\'.
2227         Avoid using 'echo' in these cases.
2228         * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
2229         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
2230         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2231         * lib/autotest/general.m4 (AT_INIT): Likewise.
2232         * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
2233         argument might be unportable.
2234         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
2235         * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
2236         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
2237         (_AC_FC_LIBRARY_LDFLAGS): Likewise.
2238         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
2239         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
2240         (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
2241         (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
2242         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
2243         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
2244         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
2245         (AC_PROG_MAKE_SET): Likewise.
2246         * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
2247         (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
2248         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
2249         (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
2250         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
2251         (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
2252         (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
2253         * bin/autoconf.as: Redo verbose flag implementation, as the old
2254         scheme wouldn't work with AS_ECHO.
2255         * lib/autotest/general.m4 (AT_INIT): Likewise.
2256         * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
2257         Don't use ECHO_T, since ECHO_N is now reliable.
2258         * lib/autotest/general.m4 (AT_INIT): Likewise.
2259         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
2260         rather than using a here-document to put the script into a file.
2261         (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
2262         use AS_ECHO.
2263         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
2264         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
2265         AS_ECHO_N rather than ECHO_N and ECHO_C.  This doesn't fix any
2266         bug, but we might as well stop using ECHO_N and ECHO_C internally.
2267         * lib/autotest/general.m4 (AT_SETUP): Likewise.
2268         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
2269         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2270         (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
2271         operand, as AS_ECHO requires.  Avoid double file name expansion.
2272         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
2273         Don't set as_nl, since _AS_ECHO_PREPARE does that now.
2274         (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
2275         (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
2276         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2277         Double-quote strings that would otherwise contain M4 comments.
2278         * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
2280         * configure.ac (AC_INIT): Bump to 2.61a.
2281         * NEWS: Likewise.
2283 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
2285         Version 2.61.
2287         * configure.ac (AC_INIT): Bump to 2.61.
2288         * NEWS: Likewise.
2290         * tests/autotest.at (Macro with backslash in a test title):
2291         Comment out for now, as this tests neither fails nor passes
2292         reliably.  Problem reported by Ralf Wildenhues.
2294 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
2296         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
2297         in previous change, which caused test failures.
2299 2006-11-16  Stepan Kasal  <kasal@ucw.cz>
2301         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
2302         code for --enable, --disable, --with, and --without to...
2303         (_AC_INIT_PARSE_ENABLE): ... a new macro.
2304         * doc/autoconf.texi (Package Options):
2305         * NEWS: Document that AC_ARG_ENABLE allows dots, too.
2307 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
2309         Import these changes from config via gnulib:
2311         2006-11-15  Ben Elliston  <bje@gnu.org>
2313         From Josselin Mouette <joss@debian.org>:
2314         * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
2316         2006-11-08  Ben Elliston  <bje@gnu.org>
2318         * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
2320         2006-11-07  Steve Woodford  <scw@NetBSD.org>
2321                     Ben Elliston  <bje@gnu.org>
2323         * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
2324         * build-aux/config.sub (sh5el): New basic_machine.
2327         Import this change from coreutils:
2329         2006-02-13  Jim Meyering  <jim@meyering.net>
2331         * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
2334         Import this change from gnustandards via gnulib:
2336         2006-11-15  Karl Berry  <karl@gnu.org>
2338         * standards.texi: core -> memory, throughout.
2339         (CPU Portability): show correct example of calling write
2340         on a char value; thanks to Paul Eggert for the code.
2341         Both of these suggestions from Eugene Y. Vasserman.
2344         Import these changes from texinfo via gnulib:
2346         2006-11-08  Karl Berry  <karl@gnu.org>
2348         * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
2349           as well as pdf images, since they are supported in pdftex with
2350           no further ado.
2352         2006-11-05  Karl Berry  <karl@gnu.org>
2354         * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
2356 2006-11-13  Paul Eggert  <eggert@cs.ucla.edu>
2358         * NEWS: Document the AC_ARG_WITH change.
2360 2006-11-13  Bruno Haible  <bruno@clisp.org>
2362         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
2363         options, transliterate also dots to underscores.
2364         (_AC_ENABLE_IF): Transliterate also dots to underscores.
2365         * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
2366         first argument may also contain dots.
2368 2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
2370         * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
2371         benefit of platforms like Solaris+GCC where it is common to have a
2372         non-working g++ installation.
2374 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2375         and Joel E. Denny  <jdenny@ces.clemson.edu>
2376         and Paul Eggert  <eggert@cs.ucla.edu>
2378         * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
2379         and non-portable sed scripts, and use $CONFIG_SHELL when invoking
2380         ./micro-suite.
2382 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
2384         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
2385         ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
2386         Imported from a similar patch to gnulib by Bruno Haible.
2388 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
2390         * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
2391         * doc/autoconf.texi (C Compiler): Document them.
2392         * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
2393         New macros, taken from gnulib.
2395 2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
2397         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
2398         Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
2399         Matthew Woehlke.
2401 2006-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2403         * tests/torture.at (Configuring subdirectories): Do not skip
2404         Automake 1.10 nor future Automake 11.1 (sic).
2406 2006-10-26  Joel E. Denny  <jdenny@ces.clemson.edu>
2407         and Stepan Kasal  <kasal@ucw.cz>
2409         Handle special characters in test case titles correctly.
2410         * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
2411         properly.
2412         (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
2413         * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
2414         argument.  Extend to check titles printed by ./micro-suite and
2415         ./micro-suite -l and the title in micro-suite.log.
2416         (Backquote in a test title,
2417         Single-quote in a test title,
2418         Double-quote in a test title): Don't expect failure anymore.
2419         (Backslash in a test title): Put a non-whitespace character after the
2420         backslash so that Bourne shells might actually see it as an escape
2421         sequence.
2422         (Brackets in a test title,
2423         Pound in a test title,
2424         Comma in a test title,
2425         Quoted Macro in a test title,
2426         Macro in a test title,
2427         Macro with single-quote in a test title): New tests.
2428         (Macro with backquote in a test title,
2429         Macro with double-quote in a test title,
2430         Macro with backslash in a test title): New tests expected to fail.
2431         * tests/torture.at (#define header templates): M4-quote this title in
2432         AT_SETUP call so that no M4 code is commented inadvertently somewhere.
2433         The visible effect was a stray [] in the testsuite output.
2435 2006-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2437         * doc/autoconf.texi (Limitations of Builtins): Do not invoke
2438         `trap ... 0' inside a function, for AIX sh.
2440 2006-10-26  Paul Eggert  <eggert@cs.ucla.edu>
2442         * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
2443         since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
2444         5363) simply issues a warning when dividing by zero at compile
2445         time.  Problem reported by Elias Pipping.
2447 2006-10-26  Eric Blake  <ebb9@byu.net>
2449         * THANKS: Update.
2450         * doc/autoconf.texi (Evaluation Macros): Improve the example to
2451         show effect on macros that expand with commas.
2452         Reported by Joel E. Denny.
2454         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2455         Also work with M4 1.4.8.
2457 2006-10-25  Paul Eggert  <eggert@cs.ucla.edu>
2459         * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
2460         Jim Meyering.
2462 2006-10-25  Stepan Kasal  <kasal@ucw.cz>
2464         * tests/tools.at (autom4te --force): New test, verifies that
2465         `--force' always rewrites the output file.
2467 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
2469         * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
2470         needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.
2472 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
2474         * tools/trace.at (autoconf --trace: user macros): Test `$%'.
2476 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
2478         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2479         If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
2480         AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
2481         reported by Nelson H. F. Beebe for Coreutils 6.4.
2483         * tests/tools.at (autoconf --trace: user macros): Remove test
2484         for tracing multiline macros, since m4 1.4.7a uses a different
2485         way to number lines.  Problem reported by Ralf Wildenhues.
2487 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
2489         * bin/autom4te.in (handle_m4): Do not redirect stdin to
2490         /dev/null since the heuristics for interactive behaviour was
2491         fixed in CVS m4.
2493         * bin/autom4te.in: With --force, always refresh the output
2494         file.  Problem reported by Greg Schafer <gschafer@zip.com.au>.
2496         * bin/autoconf.as: Fix the verbose message at the end.
2498 2006-10-23  Paul Eggert  <eggert@cs.ucla.edu>
2500         * configure.ac (AC_INIT): Bump to 2.60c.
2501         * NEWS: Likewise.
2503 2006-10-22  Paul Eggert  <eggert@cs.ucla.edu>
2505         * NEWS: Version 2.60b.
2507         Import this change from Texinfo:
2508         2006-10-15  Karl Berry  <karl@gnu.org>
2509         * build-aux/texinfo.tex: automake 1.10
2511         * NEWS: Remove AC_CACHE_CHECK_INT.
2512         * doc/autoconf.texi (Caching Results): Likewise.
2513         * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
2514         AC_CACHE_CHECK_INT, since it's no longer public.
2515         * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
2516         * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
2518 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2520         * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
2522 2006-10-19  Eric Blake  <ebb9@byu.net>
2524         * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
2525         (m4_maketemp): Avoid warnings with M4 1.9a.
2526         * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
2527         m4_mkstemp.
2528         * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
2529         * NEWS: Likewise.
2531 2006-10-16  Eric Blake  <ebb9@byu.net>
2533         * doc/autoconf.texi (Setting Output Variables): Fix typo.
2535         * bin/autoconf.as (version): Reword to match GNU Coding
2536         Standards.
2537         * bin/autoheader.in (version): Likewise.
2538         * bin/autom4te.in (version): Likewise.
2539         * bin/autoreconf.in (version): Likewise.
2540         * bin/autoscan.in (version): Likewise.
2541         * bin/autoupdate.in (version): Likewise.
2542         * bin/ifnames.in (version): Likewise.
2544 2006-10-14  Stepan Kasal  <kasal@ucw.cz>
2546         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
2547         looking for special shell characters.
2548         * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
2549         macro defined by AS_VAR_PUSHDEF before passing it as a
2550         parameter.
2551         * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
2552         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
2553         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
2554         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
2555         (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
2556         Likewise.
2557         * lib/autotest/general.m4 (AT_INIT): Quote parameters of
2558         AS_VAR_* properly.
2559         * tests/m4sh.at (AS_LITERAL_IF): New test.
2561 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
2563         (Imported from Automake.)
2564         * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
2565         which incorrectly sets the mode of an existing destination
2566         directory.  In some cases the unpatched install-sh could do the
2567         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
2568         system.  We hope this is rare in practice, but it's clearly worth
2569         fixing.  Problem reported by Alex Unleashed in
2570         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
2571         Also, don't bother to check for -m bugs unless we're using -m;
2572         suggested by Stepan Kasal.
2574 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
2576         Import this change from Automake:
2578         2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
2579         * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
2580         is enabled by default with gnu and gnits strictness.
2581         Report from Bruno Haible.
2583         2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
2584         * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
2585         gnu and gnits modes.
2587         Import this change from Config:
2589         2006-09-20  Ben Elliston  <bje@gnu.org>
2590         * build-aux/config.sub (score, score-*): New.
2592         Import this change from Gnulib:
2594         2006-09-16  Karl Berry  <karl@gnu.org>
2595         * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
2596         to avoid sectioning errors.
2598         Import these changes from Texinfo:
2600         2006-10-04  Karl Berry  <karl@gnu.org>
2601         * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
2602         (\quoteexpand): rename to \rquoteexpand.
2603         (\codequoteleft): new def, to look for @set codequotebacktick.
2604         (\lquoteexpand, \quoteexpand): new defs.
2605         (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
2606         (\code): must use new \...Char values, since now ` is active.
2608         2006-08-26  Karl Berry  <karl@gnu.org>
2609         * build-aux/texinfo.tex (\textdegree): New command.
2611         2006-08-12  Karl Berry  <karl@gnu.org>
2612         * build-aux/texinfo.tex (error \box0): smaller font.
2614 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2616         * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
2618 2006-10-13  Stepan Kasal  <kasal@ucw.cz>
2620         * doc/autoconf.texi (Autoheader Macros): Warn that the text
2621         added to the template can get mangled.
2623 2006-10-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2625         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
2626         include the default headers, and redefine obstack_chunk_alloc
2627         and obstack_chunk_free.  Fixes false failure with glibc.
2629 2006-10-12  Paul Eggert  <eggert@cs.ucla.edu>
2631         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
2632         for backward compatibility with Libtool 1.5.22.  Problem reported
2633         by Ralf Wildenhues.
2635 2006-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2637         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
2638         AC_PROG_CC.
2639         Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
2641 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
2643         * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
2644         the NonStop platform.
2645         * doc/autoconf.texi (Posix Variants): Likewise.
2646         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
2648         * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
2649         (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
2650         (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
2651         Use a better substitute, by inspecting the output of "ls"
2652         rather than just using ":".
2653         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
2654         rather than AS_EXECUTABLE_P, since we needn't worry about
2655         non-regular files here.
2657         * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
2658         due to configuration hassles with this.  See Tonya Underwood's report
2659         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
2660         * doc/autoconf.texi (Special Shell Variables): Likewise.
2662 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
2663             Stepan Kasal  <kasal@ucw.cz>
2665         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
2666         (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
2668 2006-10-11  Stepan Kasal  <kasal@ucw.cz>
2670         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
2671           initialization which is not inherited through the environment
2672         (_AS_BOURNE_COMPATIBLE): ... to this new macro.
2673         (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
2675 2006-10-09  Paul Eggert  <eggert@cs.ucla.edu>
2677         * doc/autoconf.texi (Limitations of Usual Tools): Describe
2678         problems with mkdir -p -m.
2680 2006-10-06  Paul Eggert  <eggert@cs.ucla.edu>
2682         * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
2683         comment about ac_cpp_err; it was incorrect, and anyway
2684         ac_cpp_err is being removed below.
2685         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
2686         set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
2687         are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
2688         nobody uses it.
2689         (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
2690         with werror_flag and conftest.err and so forth.  This is more
2691         compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
2692         and anyway the user shouldn't normally want to see this gorp logged.
2693         Problem reported by Ralf Wildenhues.
2694         * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
2695         empty, not 'no', since the rest of the code uses 'test -z'.
2697 2006-10-04  Paul Eggert  <eggert@cs.ucla.edu>
2699         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2700         Use a single call to AC_DO_TOKENS rather than multiple, for
2701         efficiency.
2702         (_AC_LINK_IFELSE): Test that resulting file is executable.
2703         Problem reported by mwoehlke in
2704         <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
2706         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
2707         than creating a file to use with test -x; this is much faster.
2709 2006-10-02  Bruno Haible  <bruno@clisp.org>
2711         * lib/autom4te.in (Automake-preselections): Add
2712         AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
2714 2006-09-27  Stepan Kasal  <kasal@ucw.cz>
2716         * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
2717         standard error, `experr' should be used, not `expout'.
2719 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
2721         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
2722         fseeko testing program twice; just use the earlier result.
2723         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2724         Set cache var to 'unknown' (not 'no') if leaving the macro unset
2725         still doesn't let the program compile.
2726         (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
2727         failed.
2729         * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
2730         (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
2731         include it, without including anything else.
2732         (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
2733         expressions.
2734         (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
2736 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2738         * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
2739         `error.h', and include it, for a `error_at_line' prototype.
2740         Use a nonempty format string in the link test.
2741         * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
2742         for a declaration of wait3.
2744 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
2746         * NEWS: AC_CHECK_DECL now also works with aggregate objects.
2747         * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
2748         can apply to constants too, and that it checks for macro defns.
2749         * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
2750         and simply cast the identifier to void.  This handles structure
2751         values.  Problem reported by Ralf Wildenhues.
2752         * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
2754 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2756         * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
2757         structure, and function symbols.
2759 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2761         * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
2762         member.
2764 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
2766         * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
2767         * README: Likewise.
2768         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2770 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
2771         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2773         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
2774         warnings (uninitialized value).
2775         (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
2776         present.
2777         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
2778         parentheses.
2779         (AC_STRUCT_TM): Likewise, avoid unused variables.
2781 2006-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2783         * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
2784         (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
2785         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
2786         * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
2787         Report by Olly Betts.
2789 2006-09-19  Eric Blake  <ebb9@byu.net>
2791         * m4/m4.m4: Change copyright.
2792         * configure: Regenerate.
2793         * Makefile.in: Likewise.
2794         * bin/Makefile.in: Likewise.
2795         * doc/Makefile.in: Likewise.
2796         * lib/Makefile.in: Likewise.
2797         * lib/Autom4te/Makefile.in: Likewise.
2798         * lib/autoconf/Makefile.in: Likewise.
2799         * lib/autoscan/Makefile.in: Likewise.
2800         * lib/autotest/Makefile.in: Likewise.
2801         * lib/emacs/Makefile.in: Likewise.
2802         * lib/m4sugar/Makefile.in: Likewise.
2803         * man/Makefile.in: Likewise.
2804         * tests/Makefile.in: Likewise.
2806         * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
2807         * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
2808         * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
2809         --error-output, to avoid warnings with M4 2.0.
2811 2006-09-19  Stepan Kasal  <kasal@ucw.cz>
2813         * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
2814           consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
2815         * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
2817 2006-09-15  Stepan Kasal  <kasal@ucw.cz>
2819         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
2820         expansion of AC_CHECK_FUNCS.
2822 2006-09-14  Stepan Kasal  <kasal@ucw.cz>
2824         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
2825         mistaken comment: the path has to be relative; do not use
2826         the path at runtime.
2828 2006-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2830         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
2831         argument to `--prefix' for sub-configure scripts.
2832         Pass `--silent' to sub-configure scripts.
2833         * tests/torture.at (Configuring subdirectories): Add tests
2834         for both changes.
2835         * doc/autoconf.texi (Setting Output Variables): Fix example to
2836         not show `--silent' being passed to a `configure' re-run.
2838 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
2840         * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
2841         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
2842         for the existence of the directory at configure-time.  That's
2843         too late, anyway.  Problem reported by Stefan Seefeld.
2845         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
2846         7.1.4 /usr/bin/posix/sh described by Tim Rice in
2847         <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
2849 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
2851         * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
2852         works with GNU M4 1.4.3 again; make the normalized form
2853         match the current m4 message; fix the description.
2854         * test/tools.at (autom4te cache): Adapt to the change.
2856 2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
2858         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):  Add year_2050_test
2859         to catch glibc bug 2821
2860         <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
2862         Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
2863         AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
2864         AC_CHECK_FUNCS.  Don't check for stdlib.h, since we now
2865         assume C89.
2867 2006-09-08  Stepan Kasal  <kasal@ucw.cz>
2869         * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
2870         preselections ...
2871         (Autoconf): ... here.
2872         (Autoscan-preselections): Delete.
2874 2006-09-07  Stepan Kasal  <kasal@ucw.cz>
2876         * lib/autom4te.in (Automake-preselections): Preselect
2877         AM_ENABLE_MULTILIB.
2879 2006-09-05  Paul Eggert  <eggert@cs.ucla.edu>
2881         * doc/autoconf.texi (Preset Output Variables): srcdir and
2882         top_srcdir are not necessarily relative.  Problem reported
2883         by Dries Kimpe.
2885 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2887         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
2888         f90/f95 because the latter drivers of AIX Fortran 9.1 do not
2889         accept files with extension `.f'.  For consistency, also prefer
2890         xlf over f77.
2891         * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
2892         from last patch.
2894 2006-09-05  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
2896         * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
2897         of ERLANG_LIB_VER_* variables.
2898         * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
2899         variables.
2901 2006-09-03  Paul Eggert  <eggert@cs.ucla.edu>
2902         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2904         * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
2905         bugs of Bash 2.01 and 2.05a.
2906         (Fortran Compiler): Document that AC_PROG_CC should be called
2907         before AC_PROG_FC, due to a bug in Autoconf.
2909 2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
2911         * NEWS: New macro AC_CACHE_CHECK_INT.  It replaces the
2912         old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
2913         except the first two arguments are reversed.
2914         * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
2915         (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
2916         caches nor outputs a diagnostic.  Suggested by Bruno Haible.
2917         * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
2918         equivalent to the old AC_COMPUTE_INT.
2919         (AC_COMPUTE_INT): No longer caches or reports.  New signature.
2920         All uses changed to AC_CACHE_CHECK_INT.
2921         * tests/base.at (AC_CACHE_CHECK_INT): New test.
2922         * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
2924 2006-08-31  Paul Eggert  <eggert@cs.ucla.edu>
2926         * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
2927         and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
2928         programs should use their Gnulib counterparts.
2929         * doc/autoconf.texi (Particular Functions): Likewise.
2930         (Macro Names, testsuite Invocation): Replace uses of these
2931         obsolete macros with uses of non-obsolete macros.
2933 2006-08-29  Eric Blake  <ebb9@byu.net>
2935         * configure.ac (AC_INIT): Bump to 2.60b.
2936         * NEWS: Update.
2938 2006-08-28  Eric Blake  <ebb9@byu.net>
2940         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
2941         mistakenly swapped on 2006-08-15.
2943 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
2945         * NEWS: Version 2.60a.
2947 2006-08-25  Stepan Kasal  <kasal@ucw.cz>
2949         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
2950         file created by the PGI compiler.
2952 2006-08-25  Noah Misch  <noah@cs.caltech.edu>
2954         * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
2955         simplify the code.
2957 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
2959         Fix Lex library problem reported to us by Julio Garvia.
2960         * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
2961         for the default, which the user can override.
2962         * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
2963         deal with LEXLIB.
2964         (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
2965         didn't work if some values were cached but not others.  Test for
2966         broken lex libraries like native ia64-hp-hpux11.22; see
2967         <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
2968         work around the problem by preferring an empty LEXLIB to -lfl or
2969         -ll.  Let the user set LEXLIB='' to indicate no library needed.
2971         * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
2972         * README: Likewise.
2973         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2975 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
2977         Rework to use more-modern build style.
2978         Many files are renamed; all uses of their names were changed.
2979         * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
2980         * .x-sc_useless_cpp_parens: New file.
2981         * build-aux/config.guess: Renamed from config/config.guess.  Update.
2982         * build-aux/config.sub: Renamed from config/config.sub.  Update.
2983         * build-aux/elisp-comp: Renamed from config/elisp-comp.
2984         * build-aux/install-sh: Renamed from config/install-sh.  Update.
2985         * build-aux/mdate-sh: Renamed from config/mdate-sh.
2986         * build-aux/missing: Renamed from config/missing.
2987         * build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
2988         * build-aux/vc-list-files: Renamed from config/vc-list-files.
2989         * config/Makefile.am: Removed.
2990         * config/mkinstalldirs: Removed.
2991         * config/move-if-change: Removed.
2992         * m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
2993         * Makefile.am (SUBDIRS): Remove config.
2994         (ACLOCAL_AMFLAGS): Include from m4, not config.
2995         (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
2996         (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
2997         (autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
2998         Fail if there's an error.
2999         * Makefile.cfg (move_if_change): Remove.
3000         (wget_files): Remove.
3001         (cvs_executable_files): New macro.
3002         (cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
3003         (executable-update): Use $(cvs_executable_files).
3004         (local-checks-to-skip): Remove.
3005         * Makefile.maint: Merge from coreutils, plus add our own changes
3006         (gzip_rsyncable): New macro.
3007         (GZIP_ENV): Use it.
3008         (CVS_LIST): Use build-aux/vc-list-files.
3009         (VERSION_REGEXP): New macro.
3010         (local-checks-available): Add patch-check, $(syntax-check-rules),
3011         check-AUTHORS.
3012         (syntax-check-rules): Compute dynamically.
3013         (sc_cast_of_x_alloc_return_value): Work even if no source files.
3014         (sc_cast_of_alloca_return_value): Likewise.
3015         (sc_prohibit_atoi_atof): Simplify regexp.
3016         (sc_no_if_have_config_h, sc_require_config_h):
3017         (sc_prohibit_assert_without_use,
3018         (sc_obsolete_symbols): Check for O_NDELAY.
3019         (sc_texi_notab): Remove.
3020         (sc-changelog): Don't make an exception for '----' lines.
3021         (.re-list): Remove, so we don't have a junk file behind.
3022         (sc_system_h_headers): Remove the need for .re-list.
3023         (sc_the_the):  New rule.
3024         (sc_tight_scope): Simplify.
3025         (sc_trailing_blank): Renamed from sc_trailing_space.
3026         (longopt_re): New macro.
3027         (sc_two_space_separator_in_usage): New rule.
3028         (sc_unmarked_diagnostics): Look at all files under CVS.
3029         (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
3030         (news-date-check, changelog-check): Version is OK.
3031         (po-check): Look for lib files even if not in CVS.
3032         (copyright-check): Use $() not ``.
3033         (maintainer-distcheck): Do not depend on changelog-check.
3034         (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
3035         Also check for -Wpointer-arith.
3036         (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
3037         (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
3038         Remove.
3039         (announcement): Add --gpg-key-id arg.
3040         (cvs-sv): Remove.
3041         (move_if_change): Just use mv.
3042         (local_updates: Remove wget-update, po-update.
3043         (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
3044         (config.guess-url_prefix, config.sub-url_prefix): Remove.
3045         (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
3046         (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
3047         ($(get-targets)): Remove.
3048         (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
3049         (gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
3050         (cvs-update): Get from gnulib.
3051         (emut_upload_commands): gnupload is in build-aux now.
3052         (alpha beta major): Add changelog-check.  Check version.
3053         * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
3054         (AC_CONFIG_FILES): Remove.
3055         * bin/autoconf.as: Add spaces to avoid distcheck warning.
3056         * config/announce-gen: Sync from coreutils.
3057         * doc/make-stds.texi: Sync from gnulib.
3058         * doc/standards.texi: Likewise.
3059         * man/Makefile.am: Adjust for config -> build-aux renaming.
3060         * tests/Makefile.am: Prefer $(FOO) to @FOO@.
3061         * tests/local.at: Adjust from config -> build-aux renaming.
3062         * tests/tools.at: Likewise.
3063         * tests/torture.at: Likewise.
3065         * NEWS: The C99 check now tests for vararg macros and 64-bit
3066         preprocessor ints.
3067         * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
3068         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
3069         64-bit preprocessor ints.  Check for static initialization of
3070         long long.  Remove unnecessary casts.
3072 2006-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3074         * doc/autoconf.texi (Particular Programs): Mention that
3075         @INSTALL@ and @MKDIR_P@ may vary for different output files.
3076         Reported by Alexandre Duret-Lutz.
3078 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
3080         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
3081         -lgcc?* and -lSystem, for Darwin/MacOS X.  Problem reported by
3082         Bill Northcott in
3083         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
3085 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
3087         * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
3088         pacify insanely picky compilers.  Problem reported by Eric Blake.
3090         * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
3091         longer supported by Sun.
3093 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
3095         * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
3096         rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
3097         -Wundef -Werror".  Problem reported by David Fang in
3098         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
3099         * doc/autoconf.texi (Header Templates, Default Includes):
3100         (Particular Functions, Generic Functions, Header Portability):
3101         (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
3102         (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
3103         (Present But Cannot Be Compiled, Preprocessor Symbol Index):
3104         Prefer #ifdef to #if.
3105         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
3106         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
3107         (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
3108         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
3109         Likewise.
3110         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
3111         (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
3112         * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
3113         (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3114         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
3115         S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
3116         this.
3118 2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
3120         * doc/autoconf.texi (Limitations of Usual Tools): Document sed
3121         problems with arg script text that doesn't end in newline, and
3122         with '-e a...'.  Problems reported by Ralf Wildenhues.
3124 2006-08-12  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
3126         * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
3127         check for libXt by a check for libX11.
3129 2006-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3131         * doc/autoconf.texi (config.status Invocation): Adjust according
3132         to last change.
3134 2006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3136         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
3137         --help' should mention that `--version' outputs configuration
3138         settings.  Report by Bruno Haible.
3140 2006-08-06  Paul Eggert  <eggert@cs.ucla.edu>
3142         Fix test suite failures reported by Pierre in
3143         <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
3144         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
3145         the compiler created a file "b.out" when it didn't create anything
3146         at all.
3147         * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
3148         Discard stderr too, when invoking the test script.
3150 2006-08-05  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
3152         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
3153         in the restoring of the werror flag.
3155 2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
3157         * doc/autoconf.texi (Volatile Objects): Be even a little
3158         less skeptical about "volatile", after discussion with
3159         Bruno Haible on bug-gnulib.
3160         (Limitations of Usual Tools): Warn about sed stripping
3161         leading white space from text.  From Bruno Haible.
3163 2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
3165         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
3166         compiler complains about it, even if things works after the
3167         complaint.  Problem reported by Peter O'Gorman.
3169         * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
3170         CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
3171         Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
3173 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
3175         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
3176         after -R regardless of host.  Patrick Welche reports that this
3177         fixes things on NetBSD 3.99.
3179         * NEWS: Recommend M4 1.4.5.
3180         * README: Likewise.
3181         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
3182         * tests/tools.at (autom4te cache): Update wording of diagnostic
3183         to match M4 1.4.5.
3185 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
3187         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
3188         under AC_C_VOLATILE.
3189         (Volatile Objects): Be a little less skeptical about what
3190         "volatile" means.  Derived from thoughts by Ben Pfaff in
3191         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
3193 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3195         * doc/autoconf.texi: Fix some typos.
3197 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
3199         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
3200         more globally, since the 2006-06-30 patch didn't suffice.  Problem
3201         reported by Keith Marshall.  Also, don't bother with builddir2,
3202         since it shouldn't be needed any more.
3204 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
3206         * doc/autoconf.texi (Generic compiler characteristics):
3207         Document AC_COMPUTE_INT.  Fix wrong statements on Default
3208         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
3210         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
3211         (_AC_COMPUTE_INT): Add obsoletion warnings.
3212         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
3213         AC_COMPUTE_INT.
3215         * NEWS: Document change.
3217 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
3219         * doc/autoconf.texi (Volatile Objects): New section.
3221         * NEWS: Document previous change.
3223 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
3225         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
3226         Require that long long int be at least 64 bits wide.  C99 requires
3227         this and enough programs depend on it so we should check for it.
3228         Bruno Haible reports in
3229         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
3230         that long long int is 32 bits wide with some nonstandard compilers.
3231         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
3233 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
3235         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
3236         to a nonexistent file, so that we don't have to worry about
3237         a local site configuration that doesn't use /usr/local.
3238         Problem reported by Keith Marshall in
3239         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
3241 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
3243         * doc/autoconf.texi: Be more consistent about using @acronym with
3244         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
3245         quite right (it talked about "OSF/Tru64", even though the
3246         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
3247         and it even mentioned "OSF 4"!) and at this point there's little
3248         reason to talk about OSF any more, since it died in 1994.
3249         (Specific Compiler Characteristics): Simplify example of
3250         negative-size array.
3251         (File Descriptors): Reorder to make the text flow better.
3252         Remove joke about "appreciate the various levels"; I didn't get it.
3253         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
3254         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
3255         (File Descriptors, Limitations of Usual Tools):
3256         Tone down the advice against renaming or removing open files.
3257         (Limitations of Usual Tools): Add a new section, on 'rm'.
3259 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
3261         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
3262         -lXt in LIBS, idea from Karsten Hopp; this was due since
3263         this change:
3265         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
3266         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
3267         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
3268         (which belong to Xt, not X itself).  See Debian bug 327655.
3270 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3272         * configure.ac (AC_INIT): Bump to 2.60a.
3273         * NEWS: Update.
3275 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3277         Version 2.60.
3279         * configure.ac, NEWS: Update.
3281 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3283         * config/texinfo.tex: Sync from upstream.
3285         * bin/autom4te.in (handle_traces): Transform the `@S|@'
3286         quadrigraph correctly in traces.
3288         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
3289         Fix typos.
3291         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
3292         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
3293         not defined.
3294         * doc/autoconf.texi (Changed Directory Variables): New node,
3295         to document the whole `datarootdir' business a bit better.
3296         * NEWS: Update.
3297         * tests/torture.at (datarootdir workaround): Extend test.
3298         Prompted by report by Alexandre Julliard.
3300 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
3302         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
3303         when using default mode of IBM C 6 for AIX.  Problem and two-line
3304         fix reported by Larry Jones.
3306 2006-06-22  Alexandre Julliard <julliard@winehq.org>
3308         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
3309         about literal '${datarootdir}' if a definition is found in the
3310         output file.
3312 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
3314         * NEWS: Use "M4" rather than "m4" when appropriate.
3315         Problem reported by Eric Blake.
3316         * doc/autoconf.texi: Likewise.
3317         Use @acronym around BSD, GCC, and GNU when appropriate.
3318         (Why GNU M4): Renamed from "Why GNU m4".
3319         (Redefined M4 Macros): Mention that Posix
3320         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
3321         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
3322         to int.
3324 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3326         * bin/autom4te.in (handle_output): Do not forbid the empty
3327         pattern.
3328         * tests/tools.at (autoconf: the empty token): New test.
3330 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
3332         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
3333         calls, so that we do not care whether they are LIFO or FIFO;
3334         in the m4_wrap, do not check which diversion is the topmost
3335         one, just check that the stack is balanced at the end.
3336         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
3337         base diversion forever--pop the previous diversion before
3338         opening the new one; consequently, remove the m4_wrap call.
3339         * lib/autotest/general.m4 (AT_INIT): Likewise.
3340         * tests/m4sugar.at: Do not use
3341         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
3343 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3344         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3346         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
3347         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
3348         Rework example of m4wrap token-pasting trouble so that it doesn't
3349         care whether it's LIFO or FIFO.
3350         Fix some "contrary to"s that are awkward in English.
3352 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3354         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
3355         to `yes' instead of `int$1_t' if the type is found, for more
3356         consistent configure output (where $1 is the number of bits).
3357         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
3358         Suggested by Bruno Haible.
3360         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
3361         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
3362         with system headers.  Report by Bruno Haible.
3364 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3366         * config/config.guess, config/config.sub: Sync from upstream.
3368         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
3369         in order to avoid picking up an older installed frozen m4sh.m4f.
3370         Besides an outdated shell startup, this could have been created
3371         by an earlier M4 version with incompatible frozen file format.
3373 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
3375         * README: Recommend m4 1.4.4 instead of 1.4.3..
3376         * doc/autoconf.texi: Likewise.
3377         (Special Chars in Names): Say that $(.FOO) is portable, as
3378         suggested by Stepan Kasal.
3379         (Installation Directory Variables, Build Directories):
3380         (Automatic Remaking, Subdirectories, Fortran Compiler):
3381         (Making testsuite Scripts, Defining Directories):
3382         Quote variable usages better.
3383         (Making testsuite Scripts): Add clean-local rule to makefile
3384         snippet, by Eric Blake.
3385         (Installation Directory Variables): Fix table item font.
3386         Reword slightly to clarify.  Generalize advice about
3387         not using special characters to include all file-related
3388         vars, not just VPATH.
3389         (Special Chars in Variables): Warn about special characters in
3390         $(srcdir) too.
3391         (Assignments): Clarify default-value example as suggested by
3392         Ralf Wildenhues in
3393         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
3394         (Special Shell Variables): Note leading ./ or ../, as suggested
3395         by Eric Blake.
3396         (Limitations of Builtins): Under cd, warn about CDPATH.
3397         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
3398         Ralf Wildenhues.
3400 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3402         * doc/autoconf.texi (Configuration Actions): Remove duplicate
3403         `@var', for texi2html.
3404         (Systemology): Some more word wrapping, for DVI output.
3405         (autom4te Invocation): The short option for `--melt' is `-M',
3406         not `-m'.
3408 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
3410         * doc/autoconf.texi: More formatting and English tweaks,
3411         many suggested by Ralf Wildenhues.
3412         Reword to avoid "@code{...}'s" and the like, since it's ugly
3413         with Emacs info mode.  discontents -> woes.
3414         Put a few "will"s back.  time stamp -> timestamp.
3415         side-effect -> side effect.
3417 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
3419         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
3420         Warn about $@ not persisting.  Problem reported by Julien Danjou in
3421         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
3422         (Special Chars in Names): Renamed from Leading _ in Macro Names.
3423         Mention other special chars, too.
3425 2006-06-14  Eric Blake  <ebb9@byu.net>
3427         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
3429 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
3431         * doc/autoconf.texi: Some systematic minor improvements, as
3432         follows.  Use "makefile" when talking about makefiles
3433         generally (which might be named "makefile" or "Makefile" or even
3434         "foo.mk"), "Makefile" when talking about a specific makefile
3435         called "Makefile".  This unclutters the text from weird quotes
3436         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
3437         values" rather than "@var{foo}s" and similar constructs containing
3438         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
3439         English-language improvements.  Change the prefix "sub-" to "sub"
3440         and "re-" to "re".
3441         Put blank lines around examples more consistently.
3442         Avoid "rather" and "very" as intensifiers.
3443         Avoid "will" as an auxiliary.
3444         (Limitations of Make): Split this node into....
3445         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
3446         (Leading _ in Macro Names, Backslash-Newline-Newline):
3447         (Backslash-Newline Comments, Long Lines in Makefiles):
3448         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
3449         (obj/ and Make, make -k Status, VPATH and Make):
3450         (VPATH and Double-colon, $< in Explicit Rules):
3451         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
3452         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
3453         New nodes, resulting from splitup of Limitations of Make.
3454         All cross-references changed.  Raise the top node from
3455         a section to a chapter, and all subnodes accordingly.
3456         Redo the introductory wording to match the new organization.
3457         (Installation Directory Variables): Use an example that is
3458         closer to what Autoconf actually does.  Mention that VPATH's
3459         value should not contain metacharacters or white space.
3460         (Fortran Compiler): Fix a VPATH bug in an example.
3461         (Leading _ in Macro Names): Mention that this problem is no longer
3462         of practical concern.
3463         (VPATH and Make): Reword the advice to make it clearer
3464         that Autoconf and Automake support VPATH in non-GNU make, but
3465         many packages have bugs in this area.
3466         ($< in Explicit Rules): Refer to Build Directories rather
3467         than using a (non-VPATH-safe) example.
3468         (Automatic Rule Rewriting): Mention the sort of disaster that
3469         can ensue with Solaris-style rule rewriting with VPATH.
3471 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3473         * doc/install.texi (Compilers and Options): Weaken the
3474         suggestion to use GNU make for VPATH builds.
3476         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
3477         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
3479         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
3480         in regular expression.
3482 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3484         * doc/autoconf.texi (Installation Directory Variables):
3485         Drop extra @samp from `@table @samp' item.
3486         (Limitations of Usual Tools): Comment fix.
3487         Do not nest @samp just to point to other table items.
3488         (Writing testsuite.at) <AT_CHECK>: The second argument to
3489         `@dvar' is already @samp'ed.
3490         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
3491         do not use @var in the second argument.
3493 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
3495         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
3496         $as_shell.exe too.  Problem reported by Andreas Buening in
3497         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
3499 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3501         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
3502         `unused variable' compiler warning, for `-Wall -Werror'.
3503         Reported by Jaap Haitsma in
3504         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
3506 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
3508         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
3509         case the compiler dumps core.  Problem reported for
3510         OpenServer 5.0.7 by Tim Rice in
3511         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
3512         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
3513         Likewise.
3515 2006-06-06  Tim Rice <tim@multitalents.net>.
3517         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
3518         "ERROR" only shows up in "make check" output if there is an
3519         error.
3521 2006-06-06  Eric Blake  <ebb9@byu.net>
3523         * tests/tools.at (automatically allowed tokens): Fix typo.
3525 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
3527         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
3529         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
3530         typically overflows on x86 CPUs, even though the C standard
3531         requires otherwise.
3533 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3535         * configure.ac (AC_INIT): Bump to 2.59e.
3536         * NEWS: Update.
3538 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3540         Version 2.59d.
3542         * config/texinfo.tex: Sync from upstream.
3544         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
3545         seen, invoke libtoolize with `--ltdl' argument.
3546         * lib/autom4te.in (Autoreconf-preselections): Adjust.
3547         * NEWS: Update.
3548         Suggested by Eric Blake.
3550 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
3552         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
3553         reported by Ralf Wildenhues.
3554         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
3556 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3558         * THANKS: Update.
3560 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
3562         * doc/autoconf.texi: Modernize some of the references to Solaris.
3564 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
3566         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
3567         message issued by AC_REQUIRE.
3568         * tests/m4sugar.at: Check m4_require's error message.
3569         * tests/base.at: Check AC_REQUIRE's error message.
3570         * tests/local.at (AT_CHECK_M4): New macro, almost identical
3571         to...
3572         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
3573         AT_CHECK_M4.
3574         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
3575         `expout' as the last parameter.
3576         * tests/tools.at: Adapt to the above change.
3578 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
3580         * doc/autoconf.texi (Limitations of Usual Tools): Correct
3581         information about race-free implementations of mkdir.
3583 2006-06-04  Eric Blake  <ebb9@byu.net>
3585         * bin/autoreconf.in (help): Document M4 environment variable.
3586         * bin/autoconf.as (Usage): Likewise.
3587         * bin/autom4te.in (help): Likewise.
3588         * doc/autoconf.texi (autom4te Invocation): Likewise.
3590 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
3592         * NEWS: GNU make now recommended for VPATH builds.
3593         Mention that some macros are now documented to be obsolescent.
3594         * doc/autoconf.texi:
3595         Prefer "current" to "modern" to describe
3596         currently-used (albeit perhaps old-fashioned) hosts.
3597         Mention which ancient features no longer need to be worried about.
3598         setgid -> set-group-ID
3599         setuid -> set-user-ID (these are the Posix terms)
3600         Fix some misuses of "only".
3601         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
3602         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
3603         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
3604         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
3605         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
3606         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
3607         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
3608         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
3609         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
3610         Mention that these macros are obsolescent.
3611         (Installation Directory Variables): shall -> should
3612         (File Descriptors): Mention that 0, 1, 2 might get reopened.
3613         Mention that it's now safe to use 3 and 4.
3614         (Limitations of Usual Tools): cp -r is now specified by Posix.
3615         Omit longwinded and obsolescent discussion of cp -f.
3616         Modernize discussion of expr, ls.
3617         (Limitations of Make): Modernize discussion of VPATH builds.
3618         Mention $? as a workaround in some cases.
3619         * doc/install.texi (Basic Installation):
3620         Mention "./configure; make; make install" first.  Be more
3621         specific about why this file is generic.  Remove unnecessary
3622         parens.  Remove misleading "only".  Remove obsolete advice
3623         about csh.  Don't say "configure" takes awhile; say it
3624         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
3625         and CC=c99 rather than CC=c89, as these are blessed by current
3626         Posix.  Recommend GNU make if doing a VPATH build.
3628 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
3630         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
3631         examples involving shell prompts.
3633 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
3634         and Paul Eggert  <eggert@cs.ucla.edu>
3636         * doc/autoconf.texi (Here-Documents): Add details about the
3637         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
3638         use "here-documents" instead of "here documents".
3640 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3642         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
3644 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
3646         * doc/autoconf.texi (File System Conventions): Warn about ":"
3647         anywhere in directory names.
3649 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
3651         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
3652         about quoting the case statement, just in case.
3653         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
3654         was fixed in ksh93g; reported by Ralf Wildenhues.
3656 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
3658         * doc/autoconf.texi (System Services): Do not document
3659         overriding EXEEXT via ac_cv_exeext=ext.
3660         (Particular Programs) <AC_PROG_MKDIR_P>:
3661         Document that ${MKDIR_P} understands --.
3662         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
3663         comment.
3665 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3667         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
3668         argument with leading hyphen.  Problem reported by Paul Eggert.
3670 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
3672         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
3673         about quoting ac_try: quote all of it, if any of it seems suspicious.
3674         This means we don't have to worry about ${ or sed any more.
3675         Also, double-quote the case statement, to work around misuses via
3676         underquoting as reported by Ralf Wildenhues in
3677         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
3678         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
3679         undocumented and dangerous macro.
3680         Problem reported by Ralf Wildenhues in
3681         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
3683 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3685         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
3686         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
3687         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
3689 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
3691         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
3692         since evidently some packages rely on the old, broken behavior.
3693         Problem reported by Ralf Wildenhues in
3694         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
3695         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
3696         pre-2006-05-26 definitions, but leave in the comments that
3697         these macros are dangerous and should not be used.
3698         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
3699         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
3700         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
3701         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
3702         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
3704 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
3706         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
3707         the use of 'tr', since this is our only use of 'tr'.
3709 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3710         and Paul Eggert  <eggert@cs.ucla.edu>
3712         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3713         Don't assume 'grep' works on long lines, since AIX grep doesn't.
3715 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3717         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
3718         the output file in the `${datarootdir}' test.
3720 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
3721         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3723         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
3724         mention of `datarootdir' in the input file(s), but literal
3725         `${datarootdir}' in the output file, and we haven't warned yet,
3726         then warn as well: the user may have (erroneously) used
3727         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
3728         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
3729         * tests/torture.at (datarootdir workaround): Extend this test.
3730         * NEWS: Update.
3732 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3733         and Paul Eggert  <eggert@cs.ucla.edu>
3735         * doc/autoconf.texi (autoheader Invocation): The first argument to
3736         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
3737         alternatives and clear up the language a bit.
3739 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
3741         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
3742         ac_config_guess, ac_config_sub, ac_configure.
3743         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3744         Fix typo that prevented an unnecessary space from being removed.
3745         Problems reported by Ralf Wildenhues in:
3746         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
3748 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
3750         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
3751         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
3752         Don't use the term "thread-safe" to talk about mkdir race
3753         conditions, since the problem is more a process than a thread
3754         issue.  Problem reported by Stepan Kasal in:
3755         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
3756         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
3757         the test for 'install' more closely.  Look at MKDIR_P first.
3758         Look in the PATH, and at /opt/sfw/bin.
3759         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
3760         Don't bother to try mkdir -p, since we already check mkdir --version;
3761         just look at the version number.  (There's no easy way to check
3762         for race-free implementations.)
3763         * tests/tools.at (autoconf: subdirectories): Adjust to above
3764         changes, since MKDIR_P now might end in "/mkdir -p".
3766         * doc/autoconf.texi (autoheader Invocation): Mention that the
3767         first arg of AC_DEFINE_UNQUOTED must be a literal.
3768         Problem reported by Ben Pfaff in
3769         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
3771         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
3772         * doc/autoconf.texi (Special Chars in Variables): New section.
3773         (Preset Output Variables): Warn about special chars in CPPFLAGS.
3774         (Installation Directory Variables): Quote $(datadir) better.
3775         (Limitations of Builtins): Describe some of eval's trickiness.
3777         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
3778         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
3779         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
3780         in front of every arg, not just trailing args.  Quote apostrophes.
3781         (_AC_EVAL_ECHO): New macro.
3782         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
3783         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
3784         removed.
3785         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
3786         exposed by quoting of eval argument.  Put the command on line line
3787         so it logs better.
3788         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
3789         (_AC_PATH_X, AC_PATH_X): Quote more safely.
3790         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
3791         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
3792         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
3793         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
3794         Use eval more safely.
3795         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
3796         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
3797         to be replaced.
3798         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
3799         lines, exposed by quoting of eval argument.
3801 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
3802         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3804         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
3805         initialization of `ac_cv_exeext', do not override it if it was
3806         already set, unless it was set to `no', for compatibility with
3807         Autoconf-2.13, and comment this.
3808         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
3809         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
3810         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
3811         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
3812         Document that this test may be overridden by setting
3813         `ac_cv_exeext'.
3815 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3817         Revert these two patches:
3819         2006-04-06  Eric Blake  <ebb9@byu.net>
3820         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3821         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
3822         2006-04-01.
3824         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3825         Clean up _AC_COMPILER_EXEEXT* macros.
3826         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3827           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3828           ac_file to the name of the default output file and call
3829           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
3830           initial `rm' of the candidate files...
3831         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
3832           the same list in subsequent `rm' calls, and for the temporary
3833           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3834           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3835         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3836         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3837           no longer needed) by libtool.  Make it a cache check.
3838         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3839           copied here by mistake.
3840         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3841           _AC_COMPILER_EXEEXT.
3842         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3843           _AC_COMPILER_OBJEXT directly.
3844         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3846 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3848         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
3849         Fix description of how the buggy `sed' works.
3851 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
3853         Sync from Automake:
3855         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
3856         ENOLCK.  Only mention `make -j' when applicable.  Only raise
3857         fatal errors when `make -j' is involved.  Improve error message.
3859 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3861         * doc/autoconf.texi (Here-Documents): We now know more about
3862         the variable expansion in here documents bug.
3863         Thanks to Tim Rice and Stepan Kasal.
3865         * doc/autoconf.texi (Making testsuite Scripts): Add an example
3866         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
3868 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3870         * tests/autotest.at (Multiline command from M4 expansion):
3871         No failure to be expected if the shell quotes newlines in
3872         commands in the `set -x' output.  Report by Tim Rice.
3873         * THANKS: Update.
3875 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
3877         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
3878         expansion in the here-documents used by config.status, as that
3879         runs afoul of the Korn shell version M-12/28/93d bug described in
3880         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
3881         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
3882         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
3884 2006-05-23  Jim Meyering  <jim@meyering.net>
3886         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
3887         Fix typo introduced with 2006-04-02 change.  It reversed the sense
3888         of the test.
3890 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
3892         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
3893         ac_dB slightly, to save bytes in the script.
3894         Max out at 50 lines, rather than 96; this is more likely
3895         (though not guaranteed) to avoid obscure 'sed' failures.
3897 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3899         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
3900         `tr -d -' as bad option argument.  Work around this by deleting
3901         an unrelated character.
3902         Report by Tim Rice <tim@multitalents.net>.
3904 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
3905             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
3906             Stepan Kasal  <kasal@ucw.cz>
3908         * doc/autoconf.texi (Particular Programs): Do not promise that
3909         we always prefer the GNU version of the program, and that we
3910         search according to PATH; both rules can have exceptions.
3911         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
3912         AC_PROG_SED.  Move descriptions of limitations
3913         to the Limitations of Usual Tools section.
3914         (Limitations of Usual Tools) <sed>: Mention script length
3915         limitations with Solaris /usr/ucb/sed.
3916         <grep>: Fix wording for empty alternative.  Mention that -c and
3917         -l should not be combined, and that -E and -F should not be
3918         combined.
3920 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3921         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3923         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
3924         limits in Solaris 8 /usr/ucb/sed by testing a long script.
3926 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
3928         * doc/autoconf.texi (Defining Symbols): Literal parameter of
3929         AC_DEFINE is now passed to m4_pattern_allow.
3930         * NEWS: Mention that; likewise for AC_SUBST.
3931         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
3932         the parameter to m4_pattern_allow.
3933         * tests/tools.at: Add a check for that.
3935 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
3937         * lib/autoconf/status.m4: Fix typos.
3939 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3941         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3942         only the files that this macro generates.
3944 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3946         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
3947         the HP-UX sed limitation of 99 commands, labels do not count.
3948         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
3949         in the comment.
3950         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
3952 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3954         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
3955         Import the following fix from coreutils:
3957         2006-01-13  Jim Meyering  <jim@meyering.net>
3959         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
3960         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
3961         not double-quote uses of that variable, to accommodate the rare
3962         case in which getmntent is available in none of the libraries
3963         checked.  This happens at least on FreeBSD 5.0.
3965 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
3967         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
3968         ac_config_guess, ac_config_sub, and ac_configure, since evidently
3969         some other programs unwisely rely on these undocumented vars.
3970         But put in warning comments about them.
3971         Problem reported by Ralf Wildenhues in
3972         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
3973         * NEWS: Document that these variables are intended to go away.
3975 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3977         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
3978         and set the language to C++ (analogous to the equivalent Fortran
3979         tests).
3981         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
3982         * doc/autoconf.texi (C++ Compiler): Document it.
3983         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
3984         * NEWS: Update.
3986 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3988         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
3989         that caused config.status to generate 100-command sed scripts; the
3990         portable limit is 99.
3992 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3994         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
3995         variable `ac_d' instead of `d' to avoid infringing namespace.
3996         Report by Ralf Menzel.
3998 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
4000         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
4001         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
4002         * tests/tools.at (autoconf: subdirectories): New test, taken from
4003         the corresponding problem report by Ralf Wildenhues in:
4004         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
4006         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
4007         Quote some uses of shell variables if they might suffer unexpected
4008         globbing.  This doesn't fix all instances of quoting problems that
4009         I found, just the easy ones that look safe.
4010         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
4011         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
4012         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
4013         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
4014         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
4015         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4016         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
4017         Likewise.
4018         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
4019         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
4021 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4023         * bin/autoreconf.in ($help): Reword according to the manual.
4024         Suggested by Olly Betts.
4026 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
4027         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4029         * bin/autoreconf.in: Pass the directory argument to
4030         `require_configure_ac'.  Fix comment.
4031         * tests/torture.at (Configuring subdirectories): Expose this.
4032         Reported by Olly Betts.
4034 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4036         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
4037         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
4038         Automake as follows:
4040         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
4041         `$configure_in' instead of `configure.in', to preserve
4042         directory component.
4044 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4046         * config/config.guess, config/config.sub, config/texinfo.tex,
4047         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
4049 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
4051         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
4052         test for C99 conformance; (bool) 0.5 is an integer constant
4053         expression, but (bool) -0.5 is not.  Problem reported by Fedor
4054         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
4056 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
4058         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
4059         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
4060         Warn about obsolete install-sh files.  Remove stray sentence
4061         fragment and fix cross reference.
4062         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
4063         install -d; this undoes the 2006-05-10 change.
4064         (MKDIR_P): Mark with AN_MAKEVAR.
4065         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
4066         that we don't require $INSTALL to be thread-safe.  Move comments
4067         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
4068         of AC_PROG_INSTALL.  Output a message saying that we're checking
4069         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
4070         MKDIR_P instead of AC_SUBST.
4071         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
4072         Special magic for MKDIR_P, too.
4073         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
4074         a dnl.
4075         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
4077 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
4079         Sync from Automake, as follows:
4081         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4082         * config/install-sh: Initialize IFS, so field splitting isn't
4083         turned off later.
4084         * config/mkinstalldirs: Likewise.
4085         * config/missing: Remove superfluous quotes.  Replace all uses of
4086         `[' by `test', for consistency, and for..
4087         * config/missing (sed_minuso, sed_output): New variables.
4088         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
4089         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
4090         Fixes `missing' to detect `--output' for help2man.  Fixes
4091         PR automake/483.  Report by Dennis J. Linse.
4092         (autom4te): Document in `missing --help'.
4094 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
4096         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
4097         * config/install-sh: Don't use 'path' to talk about file names,
4098         as per GNU coding standards.  Close a race condition reported by Ralf
4099         Wildenhues and Stepan Kasal.  There is still a race condition
4100         on hosts that predate Posix 1003.1-1992, but we can't help this.
4101         Don't mishandle weird characters like space on pre-Posix hosts.
4102         Invoke mkdir at most once per dir arg on pre-Posix hosts.
4103         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
4104         AC_PROG_MKDIR_P from AS_MKDIR_P.
4105         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
4106         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
4107         earlier editions are not (including Automake 1.8.3).
4108         Do not suggest mkinstalldirs for thread-safety.
4109         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
4110         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
4111         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
4112         presence of special characters and race conditions.
4113         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
4114         in Autoconf's name space.
4116 2006-05-10  Bruno Haible  <bruno@clisp.org>
4117         and Paul Eggert  <eggert@cs.ucla.edu>
4119         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
4120         from Automake with minor changes.
4121         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
4123 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
4125         * config/install-sh: Update to Automake CVS version, as follows:
4126         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
4127         * lib/install-sh: Simplify the expr implementation of dirname.
4128         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
4129         * lib/install-sh: Handle --, and diagnose unknown options.
4131 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4133         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
4134         `./autom4te' to create `./testsuite', since the `all' target
4135         will ensure its presence, but `installcheck' should not create
4136         the uninstalled wrappers.
4138         * tests/torture.at (Unusual Automake input files): Skip if we
4139         detect automake < 1.8.
4141 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4143         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
4144         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
4145         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
4146         * NEWS: Update.
4148 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4150         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
4151         munge (multiple) white space and other oddities.
4152         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
4153         single quotes in variable assignment.
4154         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
4155         and similar failures by adding multiple spaces, tabs, and other
4156         special characters.
4157         Report and different test suggested by Francesco Romani
4158         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
4160         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
4161         single quotes, we only need to search for single quotes; this
4162         both simplifies the search pattern, and makes us less
4163         susceptible to `echo' variations for arguments not containing
4164         single quotes.
4165         (_AC_ARG_VAR_VALIDATE): Likewise.
4167 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4169         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
4170         `$*' and IFS concatenation issue with traditional shells and
4171         bash-2.04.  Report by Seanster@Seanster.com.
4173 2006-05-03  Bruno Haible  <bruno@clisp.org>
4175         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
4176         precisely which Mac OS X versions have the od problem.
4178 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
4180         * doc/autoconf.texi: Use @option systematically.
4182 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
4183         and Bruno Haible  <bruno@clisp.org>
4185         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
4186         about 'od'.
4187         (Integer Overflow): Mention the special case of integer division
4188         overflow.
4190 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4192         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
4193         traditional shells like the Solaris one that do not use the
4194         first IFS character for assembling `$*'.
4195         Prompted by a related report from autoconf_bug@nro.ca.
4197 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
4198         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4200         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
4201         Mention more problems with the -e option.
4203 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4205         * NEWS: Typo.
4206         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
4208         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
4209         in URLs to improve DVI formatted output (requires texinfo 4.6).
4210         (System Services, Systemology, Shellology): Likewise.
4211         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
4212         output.
4214         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
4215         continuous text.
4216         (Runtime): Fix macro argument names to match description:
4217         `action-if-found' -> `action-if-true' and similarly.
4218         (Obsolete Macros): Likewise.
4219         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
4220         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
4221         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
4223 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4225         * doc/autoconf.texi (Limitations of Make): Clean up markup.
4227         * ChangeLog: Typo.
4228         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
4229         DVI output.
4231 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4233         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
4234         /bin/sh set unsorted output.
4235         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
4236         * tests/local.at: Likewise.
4238 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
4240         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
4241         (Integer Overflow, Null Pointers, Buffer Overruns):
4242         (Floating Point Portability, Exiting Portably): New sections.
4243         (Writing Test Programs): Fix some langauge.  Recommend exiting
4244         with status 1, not merely nonzero.  Clarify exit declaration.
4245         (Run Time): Move C exit status stuff to new Exiting Portably section.
4246         (Systemology): Mention Posix and levenez.  Update v7 reference.
4247         (Portable Shell): Mention the Posix shell.
4249 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
4251         * bin/autoconf.as (me): Replace by as_me.
4253 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
4255         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
4256         since as_me isn't set yet.
4258 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
4260         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
4261         a few minor bugs in this area.
4263         * doc/autoconf.texi (Programming in M4sh): Comment out the
4264         documentation of AS_BASENAME, for now.
4265         (Shell Substitutions): Do not use AS_DIRNAME in an example.
4266         (Limitations of Builtins) <basename>: Do not refer to
4267         AS_BASENAME.
4268         * bin/autoconf.as (me): Don't use AS_BASENAME.
4269         (dir): Remove the unused variable.
4270         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
4271         AS_DETECT_REQUIRED.  All uses changed.
4272         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
4273         All uses changed.
4274         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
4275         (AS_BASENAME): Use "basename --" to protect against leading "-".
4276         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
4277         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
4278         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
4279         (_AS_DIRNAME_PREPARE): Likewise.
4280         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
4281         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
4282         (AS_DIRNAME): Use "dirname --".
4284 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
4286         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
4287         of "run time" and "run-time" changed to "runtime", for consistency.
4288         * lib/autoconf/fortran.m4: Likewise (in comment).
4289         * lib/autoconf/functions.m4: Likewise.
4290         * lib/autoconf/general.m4: Likewise.
4291         * lib/autoconf/headers.m4: Likewise.
4293         * doc/autoconf.texi (Run Time): Document the exit status situation
4294         with more accuracy and detail.
4296 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4298         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
4299         Archive is not officially `GNU' any more.  Update URL.
4300         (Defining Directories): Likewise
4301         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
4303 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4305         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
4306         newline from the `trap' code to finish `config.log'; the NetBSD
4307         /bin/sh resets the exit status after an empty command, as
4308         documented in doc/autoconf.texi.
4309         Reported by Dalibor Topic <robilad@kaffe.org>.
4311 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4313         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
4314         Suggested by Bruno Haible.
4316 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
4318         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
4319         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
4320         Instead, just list the shells that we know work.
4321         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
4322         changed.  Be more cautious about the _cv_ variable.
4323         * tests/tools.at (Syntax of the shell scripts): Check the
4324         _cv_ variable once, at first, to avoid an internal autoconf error
4325         when sh -n does not work.
4327 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4329         * lib/Autom4te/FileUtils.pm: Sync from Automake.
4331 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
4333         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
4334         use ">&-" since we're only 99.999% sure that this is portable,
4335         and since the MinGW bug is fixed in a different way.
4336         * lib/autotest/general.m4 (AT_INIT): Likewise.
4338 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
4340         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
4341         before opening config.log, to avoid hitting a bug on MinGW.
4343 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
4345         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
4346         AS_MESSAGE_LOG_FD before reopening it onto the log file.
4347         This works around a MinGW bug reported by Eric Paire.
4348         Make sure that all writes to the log file append to it,
4349         rather than possibly losing data.
4350         * lib/autotest/general.m4 (AT_INIT): Likewise.
4352 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
4354         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
4355         description.
4357 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4359         * NEWS: Update.
4361         * configure.ac (AC_INIT): Bump to 2.59d.
4363 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4365         Version 2.59c.
4367         * Makefile.maint (news-date-check): Do not require a leading `*'
4368         before the release date in NEWS.
4370 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
4371         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4373         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
4374         the instantiated file do not contain the string 'datarootdir'
4375         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
4376         @mandir@, replace the reference '${datarootdir}' by the value.
4377         * tests/torture.at (datarootdir workaround): New test.
4378         * NEWS: Advertise this temporary fixup.
4379         Based on a patch by Bruno Haible, reported and analyzed by
4380         Paul Eggert and Noah Misch.
4382 2006-04-12  Eric Blake  <ebb9@byu.net>
4384         * tests/autotest.at (Debugging a failed test): Fix comment.
4386 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
4388         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
4389         all the changes since 2006-04-07.
4391 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4393         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
4394         succeeded, but `ln -s file dir' failed, take care to remove the
4395         leftover target before the next test, to prevent its spurious
4396         failure; also make sure `ln file dir' works before selecting it.
4397         Thanks to Keith Marshall for pointing this out.
4398         * THANKS: Update.
4400         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
4401         assignments in `at_debug_args', so that we put them correctly
4402         in the `run' script.
4403         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
4404         Reported by Eric Blake.
4406 2006-04-11  Eric Blake  <ebb9@byu.net>
4408         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
4409         top-level tests after micro-suite has been run.   Used in...
4410         (Debugging a successful test, Debugging script and environment),
4411         (Debugging a failed test): ...these new tests.  The first of these
4412         is fixed by...
4413         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
4414         macro, split out from...
4415         (AT_INIT): ...here, so that using -d also generates a run script.
4416         Document that -d inhibits top-level logging.
4417         * doc/autoconf.texi (testsuite Invocation): Document that -d only
4418         inhibits top-level logging; debug scripts are created.
4420         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
4421         check.
4422         * tests/autotest.at (Empty test, Empty check): New test to check it.
4424         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
4425         from gcc.
4427 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
4429         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
4430         the files if a problem appears.  Make the empty *.at files
4431         read-only, too.  Proposed by Ralf Wildenhues.
4433 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4435         * config/Makefile.am: Add comment to force updated Makefile.in.
4437         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
4438         space only patch to this file, this patch causes the Makefile.in
4439         files that include freeze.mk to be updated, and thus have a
4440         newer time stamp again, which in turn makes a pristine CVS
4441         checkout have correct time stamps.
4443         * Makefile.maint (cvs-sv): New macro, to be used..
4444         (config.guess-url_prefix, config.sub-url_prefix)
4445         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
4446         point to CVS text checkout of Gnulib files.
4447         (copyright-check): Bump current year.
4448         (announcement): Do not hard-wire `./announce-gen'.
4449         (cvs-update): Propagate failures of `cvs' and `move-if-change'
4450         correctly.
4451         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
4452         `chmod +x'.
4453         (wget_files): Update config.guess, config.sub, texinfo.tex by
4454         `wget-update', now that their URLs work again.
4456 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
4458         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
4459         Problem noted by Paul D. Smith.
4461 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4463         * doc/autoconf.texi: Remove unused words from word list.
4464         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
4465         .x-sc_trailing_space: New files.
4467         * doc/standards.texi: Sync from gnulib.
4469         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
4470         `LIBOBJDIR' as experimental.
4472         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
4473         with a target directory; it's internally implemented as `cp'
4474         anyway, but since Autoconf advertises the possibility to use
4475         a target directory when LN_S is `ln -s', we need to find out.
4476         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
4477         analyzed by Keith Marshall <keith.marshall@total.com>.
4479         * THANKS: Update.
4481 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
4483         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
4484         confdefs.h as-is.  In general, if it has backslash-newline or the
4485         like, then it doesn't work either to sort or to remove empty
4486         lines.
4488 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
4490         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
4492 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
4494         * lib/autom4te.in (Automake-preselections): Preselect
4495         _AM_SUBST_NOTMAKE.
4497 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
4499         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
4500         apostrophe within a single-quoted string, as this is the usual
4501         tradition and is easier to read than '"'"'.  Don't rely on the
4502         shell treating "$/" like '$/'.  Use a more-consistent indenting
4503         style for the trap.
4505 2006-04-09  Eric Blake  <ebb9@byu.net>
4507         * tests/autotest.at (Backquote command substitution),
4508         (Multiline backquote command substitution): Remove mistaken
4509         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
4510         applied...
4511         (Parenthetical command substitution, Multiline parenthetical
4512         command substitution): here.
4514 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
4516         Import macros from gnulib (often changing their name).
4518         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
4519         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
4520         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
4521         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
4522         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
4523         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
4524         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
4525         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
4526         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
4527         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
4528         The manual mentions Gnulib more prominently.
4529         * doc/autoconf.texi (Gnulib): New node.
4530         (Pointers): Add Gnulib URL.
4531         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
4532         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
4533         Gnulib section.
4534         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
4535         suggest a #define rather than a typedef for _Bool, and mention
4536         Gnulib rather than trying to substitute stdbool code.
4537         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
4538         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
4539         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
4540         AC_STRUCT_DIRENT_D_TYPE.
4541         (Particular Types): Mention stdint.h and inttypes.h as standard
4542         headers too.
4543         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
4544         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
4545         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
4546         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
4547         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
4548         (C Compiler): Move AC_C_LONG_DOUBLE to ...
4549         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
4550         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
4551         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
4552         (Coding Style).  Don't mention m4_expand_once.
4553         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
4554         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
4555         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
4556         (AC_CHECK_FUNCS): Use it.
4557         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
4558         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
4559         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
4560         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
4561         (AC_HEADER_ASSERT): New macro.
4562         (AC_HEADER_STDBOOL): Don't assume "#error" works.
4563         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
4564         Catch a bug in an HP-UX C compiler.
4565         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
4566         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
4567         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
4568         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
4569         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
4570         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
4571         New macros.
4573         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
4574         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
4576 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
4578         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
4579         of the warning introduced by the 2001-08-28 change.
4581 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
4582             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4584         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
4585         variables shall be overriden by the cache.
4586         * tests/torture.at (AC_ARG_VAR): Test also with a first value
4587         that contains braces.
4589 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
4591         Revert the patch from 2006-04-01 and only improve
4592         _AS_DETECT_BETTER_SHELL:
4594         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
4595         skip nonexistent directories.
4596         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
4597         only shell candidates which exist.
4598         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
4599         * lib/autotest/general.m4 (AT_INIT): No need to give three
4600         parameters to _AS_PATH_WALK.
4602 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
4603             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4605         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
4606         distinguish m4sugar macros.
4607         * tests/tools.at (autoupdating with aclocal and m4_include):
4608         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
4609         test case by Noah Misch <noah@cs.caltech.edu>.
4611 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
4613         Revert my change from 2006-03-17, in other words:
4614         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
4615           and DUALCASE=1.
4616         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
4617         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
4618           it is set.
4620 2006-04-07  Eric Blake  <ebb9@byu.net>
4622         * doc/autoconf.texi (Programming in M4sh): Document that
4623         AS_MKDIR_P exits the script on failure.
4624         * lib/autotest/general.m4: Remove redundant AS_ERROR.
4626 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4628         * config/elisp-comp, config/install-sh, config/mdate-sh,
4629         config/missing, config/mkinstalldirs: Sync from Automake.
4631         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
4632         from Automake.
4634         * doc/make-stds.texi: Sync from gnulib.
4636 2006-04-06  Eric Blake  <ebb9@byu.net>
4638         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
4639         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
4640         2006-04-01.
4642 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
4643             Eric Blake  <ebb9@byu.net>,
4644             Paul Eggert  <eggert@cs.ucla.edu>,
4645             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4647         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
4648         whether `set' quotes correctly: redirect stderr of the tested
4649         `set', and use a subshell, for Ultrix; use `sed' instead of
4650         `grep' for zsh `set' which may write binary output; match only
4651         at the beginning of a line, to avoid false positives.
4652         In order to avoid false positives by unrelated variables with
4653         multiline content, put the dump algorithm in a subshell and
4654         unset all variables containing newlines (except some which are
4655         special to the shell).  Warn about cache variables that are
4656         unset.
4658 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4660         * config/config.guess, config/config.sub, config/texinfo.tex:
4661         Sync from upstream.
4663         * tests/mktests.sh: Reword comments.
4665         * tests/mktests.sh: Only skip internal macros starting with
4666         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
4667         Update exclusion lists for the test suite to this end:
4668         (AC_ARG_VAR): Do test this now.
4669         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
4670         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
4671         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
4672         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
4674         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
4675         shell issue with double-quoted command substitutions of native
4676         commands.
4677         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
4678         Marshall.
4680         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
4681         no file matches the glob, discard the warning, set `nullglob'.
4682         (syntax-check): Likewise.
4683         (sc_cast_of_x_alloc_return_value): Likewise.
4684         (sc_cast_of_alloca_return_value, sc_error_exit_success)
4685         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
4686         (m4-check): Likewise.
4687         (sc_system_h_headers): Do not print rule on execution.
4688         (sc_tight_scope): Do not fail for non-existing `src' directory.
4689         (sc_changelog): Skip the Copyright footer.
4690         * lib/autoconf/lang.m4: Remove trailing space.
4692         * lib/autoconf/status.m4: More replacements to
4693         <tab><space> where this makes sense.
4695 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
4697         * tests/Makefile.am (maintainer-check-posix):
4698           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
4700         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
4701           ac_config_<foo>s again, sometimes normalized, sometimes not.
4702         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
4703         (AC_CONFIG_COMMANDS): Do not do so here.
4704         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
4705           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
4706           2005-07-25 rewrite.  Noticed by Noah Misch.
4708         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
4709           _AC_PRESERVE_HELP_ORDER, ...
4710         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
4712         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
4713           inside m4_expand_once; it is redundant.
4715         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
4716           for --help from Cygnus `configure.'
4718 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
4720         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
4721         on a patch proposed by Ralf Wildenhues.
4723 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
4725         * lib/autoconf/status.m4: Replace <space>''<tab> with
4726         <tab><space> where this makes sense.
4728 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
4729             Noah Misch  <noah@cs.caltech.edu>
4731         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
4732         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
4733         * doc/autoconf.texi (Help Formatting): New node.
4734         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
4736 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4738         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
4739         lib/autoconf/specific.m4, lib/autoconf/status.m4,
4740         lib/autoconf/types.m4, lib/autotest/general.m4,
4741         tests/mktests.sh, tests/torture.at: White space cleanup:
4742         remove some SPACE before TAB, or add quoting ('' or @&t@).
4744         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
4746         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
4748 2006-04-05  Eric Blake  <ebb9@byu.net>
4750         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
4751         empty test suite works.
4752         * tests/autotest.at (Empty test suite): Remove xfail.
4754 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
4756         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
4757         TAGS to ac_config_<foo>s.
4758         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
4759         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
4760         normalizing it, consistent it with previous releases.
4761         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
4763 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
4765         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
4766         Use simplified args that Eric Blake originally suggested.
4768 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
4770         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
4771         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
4772         Use 'comm' rather than N instances of grep; this also fixes a bug
4773         whereby substrings were incorrectly matched, causing us to not
4774         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
4775         (exclude_list): Exclude empty macros.
4776         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
4778         Use awk rather than grep -E or egrep, to avoid
4779         portability problems with regular expressions containing newlines.
4780         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
4781         Switch from grep to awk syntax.
4782         (ac_exclude_script): Renamed from ac_exclude_egrep.
4783         (au_exclude_script): Renamed from au_exclude_egrep.
4785 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
4787         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
4788         a subdirectory subject to Cygnus `configure'.
4789         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
4791         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
4792         report request when we have no AC_PACKAGE_BUGREPORT.
4794 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4796         * THANKS: Update.
4798         * tests/mktests.sh: Update copyright year in the header of the
4799         generated files.
4801         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
4802         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
4803         typedef'ed restricted pointer, to catch a compiler bug on
4804         HP-UX 11.x, and fix warnings so it passes with -Werror.
4805         (_AC_PROG_CC_C99): Likewise.
4806         Reported by Albert Chin <china@thewrittenword.com>.
4807         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
4809 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
4811         * bin/autoscan.in (subdirs): New global.
4812         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
4813         (output): Emit AC_CONFIG_SUBDIRS as needed.
4814         * tests/autoscan.at (autoscan): Remove XFAIL.
4816 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
4818         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
4820 2006-04-03  Eric Blake  <ebb9@byu.net>
4822         * THANKS: Add myself.
4824 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4826         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
4827         to log, point to testsuite output tree.
4829 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
4831         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
4832         * doc/autoconf.texi (Function Portability): Mention that C++
4833         has trouble with 'exit'.
4834         (Guidelines): Test programs shouldn't use 'exit'.
4835         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4836         Remove; all uses removed.
4837         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
4838         Return from 'main' instead of calling 'exit'.
4839         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
4840         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
4841         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
4842         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
4843         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
4844         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4845         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4846         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
4847         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4848         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4849         * tests/compile.at: Likewise.
4851 2006-04-02  Pavel Roskin  <proski@gnu.org>
4853         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
4855 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4857         Clean up _AC_COMPILER_EXEEXT* macros.
4859         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
4860           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
4861           ac_file to the name of the default output file and call
4862           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
4863           initial `rm' of the candidate files...
4864         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
4865           the same list in subsequent `rm' calls, and for the temporary
4866           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
4867           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
4868         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
4869         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
4870           no longer needed) by libtool.  Make it a cache check.
4871         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
4872           copied here by mistake.
4873         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
4874           _AC_COMPILER_EXEEXT.
4875         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
4876           _AC_COMPILER_OBJEXT directly.
4877         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4879 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4881         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
4882         (AS_DIRNAME): Use it.
4883         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
4885         * tests/*.at: Remove the generated ones.
4887 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4889         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
4891 2006-04-01  Eric Blake  <ebb9@byu.net>
4893         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
4894         directories, unless optional third argument supplied.
4895         (AS_UNAME): Don't optimize PATH walk.
4897         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
4899 2006-04-01  Eric Blake  <ebb9@byu.net>
4900         and Stepan Kasal  <kasal@ucw.cz>
4902         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
4903         and fix some typos.
4905 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
4907         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
4908         Autoconf version number despite a zero- or one-argument AC_INIT.
4910         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
4911         subordinate tools.
4912         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
4913         * doc/autoconf.texi (autoreconf Invocation): Document it.
4915         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
4916         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
4918 2006-04-01  Eric Blake  <ebb9@byu.net>
4920         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
4921         * lib/autotest/general.m4: Be tolerant of existing directory when
4922           rm failed to remove it.
4924 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4926         * bin/autoupdate.in: Redefine m4_location so that warnings print
4927         the correct lines of the input file by subtracting..
4928         (_au__first_line): ..this new definition.
4930         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
4931         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
4932         Remove stray newline in output.
4933         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
4934         AC_DEFUN this for autoconf, including the obsoletion diagnose.
4935         Fixes autoupdating of code where the replacement output contains
4936         m4sugar macros.
4937         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4938         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
4939          (au_exclude_list): Add AC_LANG_SAVE.
4940         * tests/tools.at: Several new tests for all of this.
4941         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
4942         hairy details.
4943         The AC_LANG_SAVE issue was reported against Libtool by
4944         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
4945         Kristian Kvilekval <kris@cs.ucsb.edu>.
4947 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4949         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
4950           switch all of them on and of when necessary.  Fixes the bug when
4951           m4sugar macros (e.g., m4_define) were expanded after the first
4952           automatic update (e.g., after AC_PREREQ or AC_INIT).
4954 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
4956         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
4957         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
4959         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
4960         correctly.  Problem reported by Eric Blake.
4961         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
4962         Ralf Wildenhues.
4964 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
4966         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
4967         Tighten up the basename/dirname wording.
4969 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4971         * Makefile.maint (sc_texi_notab): New check: do not use TABs
4972         in texinfo files outside of verbatim environments.
4973         (syntax-check-rules): Update.
4974         * doc/autoconf.texi (Configuration Headers): Conform to it.
4976 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
4978         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
4979           aclocal cannot be given on the command line.
4981 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
4983         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
4984         Give an example for AS_DIRNAME instead of referring to Posix..
4985         (File System Conventions): Put discussion of // versus / here, and
4986         modernize it a bit.
4987         (Limitations of Usual Tools): Add basename.  Remove verbiage
4988         after dirname, since it got moved to the above sections.
4989         All this was inspired by a patch proposed earlier by Eric Blake.
4991 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4993         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
4994         `$0' to protect against spaces.
4995         * lib/autotest/general.m4 (AT_INIT): Likewise.
4996         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
4997         `$0', $as_me.
4999 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5001         * bin/autoscan.in: The value of find_configure_ac should be
5002         checked for existence, so we don't barf over a nonexisting
5003         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
5005 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5007         * bin/autoupdate.in: Fix some typos.
5009 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
5011         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
5013         * lib/autoscan/autoscan.list: Refreshed.
5015 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5017         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
5018         and Erlang related variables.
5020         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
5021         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
5022         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
5023         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
5024         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
5025         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
5026         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
5027         (_AC_PROG_OBJC_G): New macros.
5028         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
5029         * doc/autoconf.texi (Objective C Compiler): New node.
5030         (Preset Output Variables): Document OBJCFLAGS.
5031         (Language Choice): Document `Objective C' language.
5032         (Fortran Compiler): Fix typo.
5033         * NEWS: Updated.
5034         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
5036 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
5038         * doc/autoconf.texi (Default Includes): Fix typo
5039           s/AC_HEADERS_STDC/AC_HEADER_STDC/
5040         (Limitations of Usual Tools): s/unwriteable/unwritable/
5041         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
5042           Fix typos in the comments.
5044 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
5046         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
5047           Factor out the warning to...
5048         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
5049         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
5050         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5052         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
5053           case `ac_delim' when writing the sed script.
5055         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
5056           moved DUALCASE=1 ...
5057         (AS_SHELL_SANITIZE): ... here.
5058         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
5059           that it is set.
5061         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
5062           AC_SUBST.
5063         (_AC_PATH_PROG): Store the result to VARIABLE.
5064         (AC_PATH_PROG): No need to set VARIABLE again.
5066         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
5067           the first one is usual AT_CHECK_MACRO test, the second one checks
5068           that the same works when cross-compiling.
5069         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
5070         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
5072 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5074         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
5075         the directory `/usr/bin/posix' in the shell search, to prefer
5076         the Posix shell not only in subsequent spawns as with `$BIN_SH'
5077         on Tru64.
5079         * doc/autoconf.texi (contents): To fix texi2html output, hide
5080         `@setcontentsaftertitlepage' for HTML.
5081         (Writing Autoconf Macros): Likewise, insert space after `@c'.
5082         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
5083         `@,{c}'.
5085 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
5087         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
5088           sanitizing...
5089         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
5090         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
5091           why IFS is restored so late; thank you, Ralf, for reminding us.
5093 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
5095         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
5096           variables in the examples.
5098 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
5100         * doc/autoconf.texi (several sections): Cleaned up documentation for
5101         macros in erlang.m4.
5103 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5105         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
5106         failure condition for `$(cmd)' style command substitutions.
5107         (Parenthetical command substitution, Multiline parenthetical
5108         command substitution): Use it.
5110         * doc/autoconf.texi (Special Shell Variables): Missing word.
5111         Reported by Keith Marshall <keith.marshall@total.com>.
5113         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
5114         IFS even in case of empty `$PATH'.
5116 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5118         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
5119         `expr' away if there is nothing to do.
5120         < --keywords >: Simplify and robustify argument handling.
5121         Revert erroneous comment from 2005-08-23.  Extend to allow
5122         keyword negation with `!'.
5123         Update help message.  Remove broken code to prevent running
5124         tests multiple times.
5125         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
5126         Update and fix the documentation accordingly.
5127         * tests/autotest.at (Keywords): Renamed to..
5128         (Keywords and ranges): .. this.  Extended to make sure negated
5129         keywords, keywords taken from AT_SETUP arguments, and numeric
5130         test ranges work, and that matching is case-insensitive.
5132 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5134         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
5135         allow to pass unnamed structs even in C++.
5136         (AC_CHECK_SIZEOF):  Likewise.
5137         Also fix quoting error in `AC_MSG_FAILURE' arguments.
5138         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
5139         struct): New tests for unnamed structs, each both native and
5140         cross-compiling.
5142         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
5143         a structure inside a cast, for C++ conformance.
5144         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
5145         Also fix quoting error in `AC_MSG_FAILURE' arguments.
5147         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
5148         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
5149         trying to execute the command `no'.
5151         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
5152         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
5153         expanded outside.
5155         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
5156         example.  Do not emphasize `$%', it is hardly new and special.
5157         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
5159         * doc/autoconf.texi (Limitations of Usual Tools): Document
5160         OpenBSD and traditional `grep' failure to handle multiple
5161         patterns separated by newlines.
5163 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
5165         * doc/autoconf.texi (several sections): Add documentation for macros
5166         in erlang.m4.
5168 2006-03-10  Eric Blake  <ebb9@byu.net>
5170         * doc/autoconf.texi (Obsolete Macros): Fix wording of
5171         AC_TRY_LINK_FUNC.
5173 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
5175         * doc/autoconf.texi: Use @acronym more consistently for acronyms
5176         like BSD, GPL, LGPL.  Fix minor English typos.
5177         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
5178         Mention that these macros are becoming obsolete.
5179         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
5180         Use more modern terminology for which standard is what.
5181         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
5182         and to ansi2knr.
5183         (AC_PROG_CXX): Likewise.
5184         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
5185         Remove obsolete discussion about how to port to K&R.
5186         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
5187         the obsolescent AC_HEADER_STDC.
5188         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
5189         can't rely on it.
5191 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5193         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
5194         Remove stdin redirection from /dev/null to allow pipe to work.
5196 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
5198         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
5199         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
5200         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
5201         Ralf Wildenhues.
5203 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5205         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
5206         HP-UX sed is 99 commands, not 100.
5207         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
5208         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
5209         newline for portability.
5210         * tests/torture.at (Torturing config.status): Also test 100
5211         AC_SUBST_FILE invocations.  Fix test to actually verify the
5212         AC_CONFIG_FILES output.
5213         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
5214         command, label, and read-file `r' limits.  Unify HP-UX spelling.
5216         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
5217         non-suffix rule.
5218         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
5219         non-GNU make.
5220         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
5221         * tests/mktests.sh: Small shell portability fixes.
5223 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5225         * doc/autoconf.texi (Caching Results): Fix the examples to use a
5226         recommended quoting style and discard unwanted output.
5228 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
5230         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
5231         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
5232         cases, and to work around Tru64 expr bug.
5234 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5236         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
5237         expr bug that turns the result of a regex match into a number if
5238         possible.
5240 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5242         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
5243         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
5244         in section `Specific Compiler Characteristics'.
5246 2006-03-04  Eric Blake  <ebb9@byu.net>
5248         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
5249         variable warning.
5251 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5253         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
5254         order of variable initialization, so even the Solaris 2.6 shell
5255         can create a config header correctly.  Fixes lots of test suite
5256         failures.
5258 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5260         * doc/autoconf.texi (Text processing Macros): New node to
5261         document the m4sugar macros m4_re_escape, m4_tolower,
5262         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
5264 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
5266         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
5267         XrmInitialize (0) -> XrmInitialize ().
5268         Reported by Toshio Kuratomi.
5270 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5272         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
5273         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
5274         * doc/autoconf.texi (Programming in M4sh): Adjusted.
5275         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
5276         both macros are defun'ed so that required macros are evaluated
5277         outside.
5279         * doc/autoconf.texi (Prerequisite Macros): State more precisely
5280         where a required macro will be expanded.
5281         (Coding Style): Another reason not to use `m4_define'.
5283 2006-02-21  Eric Blake  <ebb9@byu.net>
5285         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
5287 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5289         * doc/autoconf.texi (Looping constructs): New node, to
5290         document m4_for, m4_foreach, m4_foreach_w, and mention
5291         obsolete AC_FOREACH.
5292         (Obsolete Macros): Document AC_FOREACH.
5293         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
5294         (m4_for): Fix to never loop (almost) endlessly, work correctly
5295         with arithmetic expressions in arguments, a step of zero or
5296         non-integer multiple of the interval, and avoid integer
5297         overflow.
5298         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
5299         m4_foreach_w.
5301 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
5303         Add basic support for Erlang, both for configuring Erlang/OTP
5304         tools, and Erlang as a conf test language.
5305         * lib/autoconf/erlang.m4: New file.
5306         * lib/autoconf/autoconf.m4: Add erlang.m4.
5307         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
5308         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
5309         * NEWS: Add short description of new macros.
5310         * THANKS: Add Romain Lenglet.
5312 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5314         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
5315         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
5317 2006-02-15  Eric Blake  <ebb9@byu.net>
5319         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
5320         warning.
5322 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5324         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
5325         (_AS_CASE): Private helper macro.
5326         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
5327         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
5328         Fix syntax of AS_IF description
5329         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
5330         for the AC_REQUIRE mess.
5331         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
5332         AS_SHELL_SANITIZE.
5334 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
5336         * doc/autoconf.texi: Minor style cleanup.
5337         Be consistent about spaces after commas.
5338         Insert [] where empty args look a bit funny.
5339         Fix some "i.e." and "e.g." usages.
5340         Try to avoid "X/Y" usages.
5341         Don't be pedantic about "ISO C99"; just say C99.
5342         Prefer GNU style for spaces in front of parens.
5343         (Function Portability): Comment about C89 versus C99
5344         signed integer division.
5345         (Particular Headers): Use current gnulib style for dirent
5346         includes.
5348 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
5349         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5351         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
5352         macros without parameters.
5353         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
5354         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
5355         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
5356         `$#' bug.
5357         (autoupdate): Updated to match AU_ALIAS fix.
5359 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5360         and Paul Eggert  <eggert@cs.ucla.edu>
5362         * doc/autoconf.texi (Programming in M4sh): Document
5363         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
5365 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5367         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
5368         (AS_BOURNE_COMPATIBLE): ..this.
5369         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
5371 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
5373         * doc/install.texi (Defining Variables): Tighten up the
5374         CONFIG_SHELL wording.
5376 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
5377         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5379         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
5380         of (set -o) rather than testing whether (set -o posix) succeeds,
5381         to work around a bug in the AIX 5.3 shell.  Problem originally
5382         reportd by Howard Chu for libtool.
5384 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
5386         * doc/autoconf.texi (Running the Compiler, Running the Linker):
5387         Changes the macro arguments in summaries to match the
5388         descriptions.
5390 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
5392         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
5393         hint as ``a workaround for a bug.''
5395 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5397         * bin/autoreconf.in: New option `--no-recursive'.
5398         Improve wording for subpackages a bit.
5399         * doc/autoconf.texi (autoreconf Invocation): Updated.
5400         * NEWS: Updated.
5402         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
5403         in environment of `configure', not the command line.
5404         Reported by Howard Chu <hyc@highlandsun.com>.
5406 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
5408         * doc/autoconf.texi (Limitations of Builtins): Document the
5409         problem with "trap -".
5411 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
5413         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
5414         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
5415         messages to differentiate Fortran and Fortran 77 tests.
5416         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
5417         AC_LANG_ASSERT, to allow use in mixed-language projects.
5419 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
5421         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
5422         FOO" to "defined (FOO)".
5423         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
5424         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
5425         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
5426         * tests/tools.at (ifnames): Likewise.
5428 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5430         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
5431         * lib/Autom4te/General.pm (mktmpdir): Likewise.
5432         (END): Improve error message a bit.
5433         Reported by Bruce Korb <bkorb@gnu.org>.
5435 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5437         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
5438         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
5440 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
5442         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
5443         requires sys/stream.h.  Reported by Oliver Kiddle.
5445 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5446             Stepan Kasal  <kasal@ucw.cz>
5448         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
5449         before the removals of test dirs, use `find' to avoid modification
5450         of symlinked directories.
5452 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
5454         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
5455         Don't ignore the macro arguments.
5457 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
5459         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
5460         declaration that works for MSVC.
5462 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5464         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
5465         Add `*.map' and `.inf' for Green Hills compiler.
5466         Reported by Stefan Seefeld <stefan@codesourcery.com>.
5468         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
5469         correctly: pad with spaces after FIRST_PREFIX if necessary,
5470         and compute string lenghts with `m4_qlen' instead of `m4_len'.
5471         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
5472         * tests/m4sh.at (AS_HELP_STRING): Test extended.
5473         * NEWS: Updated.
5474         Reported by numerous people, numerous times.
5476 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
5478         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
5479         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
5480         * lib/autoconf/general.m4, lib/autoconf/status.m4:
5481         * lib/autotest/general.m4, tests/local.at:
5482         Update copyright year to 2006.
5484         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
5485         sed substitutions.
5486         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
5487         for file names, again.  Reported by Noah Misch.
5488         (Coding Style): Explain that s|a|b| is preferred for file names.
5489         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
5490         (AC_OUTPUT_MAKE_DEFS): Likewise.
5491         * lib/autotest/general.m4 (AT_INIT): Likewise.
5492         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
5493         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
5495         Fix Posix-conformance bugs re use of { command in sed scripts,
5496         and improve the sed-related documentation a bit.
5497         * doc/autoconf.texi (Installation Directory Variables): Use
5498         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
5499         rather than "sed" when talking about Sed in general.
5500         (Particular Programs): Likewise.
5501         (Coding Style): y is like s with respect to / and ,.
5502         (Limitations of Usual Tools): Document the weird restrictions
5503         that Posix has about { }.  Use better quoting.
5504         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
5505         Rewrite to conform to Posix rules about { } in sed scripts.
5506         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
5507         * tests/foreign.at (Libtool): Likewise.
5508         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
5509         Use our own style advice re 's,a,b,' versus 's|a|b|'.
5511 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5513         * lib/autoconf/status.m4: Fix typo.
5515         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
5516         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
5517         `-def', for the benefit of Portland `pgf90 -Mipa'.
5518         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
5520 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
5522         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
5523         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
5524         shell from zsh to bash.
5526 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
5528         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
5529           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
5531 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
5533         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
5534         parentheses in $(...).  Problem reported by Eric Blake.
5536 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
5538         * doc/autoconf.texi (Limitations of Usual Tools):
5539         Mention which characters can be escaped with \ in portable regular
5540         expressions used in grep, sed, expr.  Mention the leading ^ problem
5541         with expr.  Clean up some confusing wording.  Mention which
5542         grep options are portable.
5544 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
5546         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
5548 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
5550         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
5551         patch, noted by Ralf Wildenhues.
5553 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5555         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
5556         posix' unconditionally, for pdksh in `native sh' emulation.
5558 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
5560         * doc/autoconf.texi (Shellology): Document eval $? problem
5561         with ash.
5562         (Limitations of Builtins): Likewise.
5564 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5566         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
5567         CONFIG_SHELL in the environment of the configure rerun.
5568         * doc/autoconf.texi (Here-Documents, config.status Invocation):
5569         Suggest passing CONFIG_SHELL absolute, and in the environment
5570         rather than as option.
5572 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5574         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
5575         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
5576         Fix macro quoting.  Fix output for n * 98 substituted variables.
5578 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5580         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
5581         `tmp' to avoid file removal race.
5583 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5585         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
5586         ac_clean_files and LIBOBJS.
5588 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5590         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
5591         Factor functionality to..
5592         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
5593         `AC_SUBST($1)' in the public version.
5594         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
5595         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
5596         ac_pt_* variables.
5598 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
5600         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
5601         filesystems.
5603 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5605         * NEWS: Move AH_HEADER mention to right place.
5607 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
5609         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
5610         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5612 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
5614         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
5615         conftst2.$ac_objext.
5616         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5618 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
5620         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
5621         conftest.o, to see whether the compiler really obeys; rm the object
5622         file before and after the test and register it with ac_clean_files.
5623         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5625 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
5627         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
5628         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
5629         code so that the most common case requires less forks.
5631 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
5633         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
5634         not portable; thanks to Paul Eggert and Alexandre.
5636         * NEWS: Fix an old typo.
5638 2005-10-20  Jim Meyering  <jim@meyering.net>
5640         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
5641         the latter'', in two places.
5643 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
5645         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
5646         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
5647         the inner workings of AC_LANG_FUNC_LINK_TRY.
5648         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
5649         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
5650         by the function rather than ignoring it.
5651         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
5652         comparing its address.  Intel's interprocedural optimization was
5653         outsmarting the old heuristic.  Problem reported by
5654         Mikulas Patocka.
5656 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
5658         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
5660 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
5662         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
5663         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
5665 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
5667         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
5668         before removing it (chmod -R u+rwx); there are three instances of this.
5670 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5671             Stepan Kasal  <kasal@ucw.cz>
5673         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
5674         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
5675         make its content writable before removing it.  Remove an errorneous
5676         comment from the end, where the logs of the failed tests are copied
5677         to the main log file.
5679 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
5681         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
5682           in case the computer is too quick.  Double quote the configure.ac
5683           snippets.
5685         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
5686           problems if the testsuite were running too fast.
5688 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
5690         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
5691         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
5692         (which belong to Xt, not X itself).  See Debian bug 327655.
5693         * NEWS: Mention this.
5695 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
5697         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
5699 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
5701         * config/move-if-change: Don't output "$2 is unchanged";
5702         suggested by Ben Elliston.  Handle weird characters correctly.
5704 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
5706         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
5707           calls, so that the final expansion of this macro is shorter.
5708           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
5709           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
5710           the cleanup there.  Use AS_VAR_* macros, to be more general.
5711         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
5713         * lib/autoconf/general.m4: Use AS_IF where appropriate.
5715         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
5717 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
5719         * doc/autoconf.texi (Configuration Headers): Add an index entry
5720           for AH_HEADER.
5722 2005-08-26  Pavel Roskin  <proski@gnu.org>
5724         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
5725         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
5726         running xmkmf.
5728 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
5730         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5731         The previous patch didn't work, so try a better one.
5733 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
5735         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
5736         in the example.  Reported by Bruno Haible.
5737         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
5738         "if $undefined_var;" succeeds with my shell.
5740         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
5741         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
5742         but change the m4_divert_text to m4_divert_once.
5744 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
5746         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5747         Work around bug in Solaris /usr/xpg4/bin/awk.
5748         The bug is present in at least Solaris 8 through 10.
5750 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
5752         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
5753         some evil values and relying on the fact that $* concatenates the
5754         parameters by the first character from IFS.
5756 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
5757             Stepan Kasal  <kasal@ucw.cz>
5759         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
5760         first header appears, define AH_HEADER.
5761         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
5762         Update limitations about when to call AC_CONFIG_HEADERS.
5763         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
5764         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
5765         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
5766         ``Configuration Actions''; fix their index entries.
5768         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
5769         options correctly.  Process N-M as M-N if M is smaller than N.
5770         Process ranges correctly so that N-N will run only N.
5771         Sort and uniquify the tests that will be run.  If there is more
5772         than one test, reinsert the banners for the tests.
5773         * tests/autotest.at (Keywords): Unmark XFAIL.
5775 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
5777         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
5778           before passing the macro name to AH_TEMPLATE.
5780         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
5781           now opens log after option processing; in particular, --version
5782           and --help do not touch config.log.
5784         * Makefile.maint: Revert the change from 2005-08-12.
5786 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
5788         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
5789           common code to...
5790         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
5792 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5794         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
5795         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
5796         Language cleanup.
5798         * doc/autoconf.texi (Defining Symbols, Changed Results):
5799         Prepend to LIBS, not append, in examples.
5801 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
5803         When building in place, set srcdir="."; suggested by Tim Van Holder.
5805         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
5806           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
5807         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
5808         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
5809           does not mean "no --srcdir option".
5811 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5813         * tests/autoscan.at (autoscan): New file.
5814         * tests/suite.at: Use it.
5815         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
5816         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
5818         * tests/autotest.at (Keywords): Test keywords combinations.
5820 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
5822         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
5823           add "2>&1"; gzip 1.2.4 prints help on stderr.
5825 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
5827         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
5828         was pushdef'ed twice while popped only once.  Push it only once.
5829         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
5831 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
5833         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
5834         prefixed by mere "===", not "configure: === ".
5836 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
5838         * Makefile.maint: Update from Bison.
5840         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
5841         "<tab>" in comment, so that the point is understandable.
5843 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
5845         Rewrite substantial part of lib/autoconf/status.m4.
5846         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
5847         and CONFIG_COMMANDS are not processed in four separate loops.
5848         Instead, there is one main loop.  This alows that the common code
5849         is expanded only once, thus config.status (and configure) is smaller.
5851         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
5852         the AC_LIST_FILES and cousins macros are no longer used.
5854         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
5855         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
5856         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
5857         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
5858         contain the initialization, nor the for loop, nor the associated
5859         commands; all these go to ...
5860         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
5861         _AC_OUTPUT_CONFIG_STATUS.
5862         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
5863         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
5864         (_AC_OUTPUT_FILE): The creation of the sed script ...
5865         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
5866         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
5867         _AC_OUTPUT_MAIN_LOOP.
5868         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
5869         _AC_CONFIG_COMMANDS): Use ...
5870         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
5871         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
5872         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
5873         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
5874         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
5875         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
5876         ... new macros.
5877         (_AC_CONFIG_UNIQUE): Update.
5878         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
5879         Replaced by this ...
5880         (_AC_LIST_TAGS): ... new common macro.
5881         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
5882         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
5883         (_AC_LIST_TAG_COMMANDS): ... new common macro.
5884         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
5885         this didn't belong to the `config commands' section.
5886         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
5887         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
5888         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
5889         to the `config commands' section either.
5890         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
5891         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
5893         ... and many changes to the comments nearby.
5895         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
5896         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
5897         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
5898         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
5899         (#define header templates): The comment at the top of the generated
5900         header now includes the name(s) of the source file(s).
5902         Several unrelated small changes:
5904         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
5905         parameter to AC_DIAGNOSE.
5906         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
5907         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
5908         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
5909         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
5910         with AU::AC_OUTPUT.
5911         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
5912         in AC_OUTPUT doesn't double-quote it either.
5913         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
5914         parameters.
5916 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
5918         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
5919         versions of Portland Group compiler produce single- and double-quoted
5920         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
5921         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5923 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
5925         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5926         This is a corrected version of yesterday's patch.
5928 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
5930         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
5931         path, too; insert a "===" to emphasize the line.
5933         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
5934           ac_cv_build_alias to ac_build_alias.
5935         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
5937         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
5938         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
5939         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
5940         (AC_ARG_VAR): ... here.
5941         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
5942           target_alias.
5944         Keep a list of all precious variables and process them with one simple
5945         for loop, instead of expanding all commands, or, OTOH, complicated
5946         processing of output of "set".
5947         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
5948         variable names in new macro...
5949         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
5950         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
5951           a loop to assign all ac_env_* and ac_cv_env_* variables.
5952         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
5953           to INIT_PREPARE.
5954         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
5955           its value to shell variable ac_precious_vars and call
5956           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
5957         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
5958           _AC_ARG_VAR_VALIDATE.
5960         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
5961           and the AC_SUBSTs ...
5962         (AC_INIT): ... here.
5964         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
5965           the ac_subst_files section in config.log.
5967         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
5969 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
5971         * NEWS: New macro AC_C_TYPEOF.
5972         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
5973         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
5974         * tests/c.at (C keywords): Test AC_C_TYPEOF.
5976         Fix problems reported by Nicolas Joly.
5977         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
5978         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5979         They are generated by the Tru64 v5.1B shell.
5981 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
5983         Fix my changes from 2005-07-01; reported by Noah Misch.
5984         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
5985         description, the macro now accepts only a single tag.
5986         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
5988         Fix cases when the varsions of Autoconf and Autotest don't match.
5989         Reported by Noah Misch.
5990         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
5991         at_top_builddir, for compatibility with older autotest.
5992         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
5993         is not set, use at_top_builddir, for compatibility with older
5994         versions of autoconf.
5996 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
5998         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
5999         Problem reported by Patrick Welche.
6001 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
6003         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
6004         sed substitution command, so that we allow | in program prefixes
6005         and program suffixes.  (& is a problem anyway; we're not fixing
6006         that here.)
6007         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
6008         configure_input, top_builddir, srcdir, etc.
6009         * lib/autotest/general.m4 (AT_INIT): Likewise, for
6010         PATH_SEPARATOR in AUTOTEST_PATH.
6012 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
6014         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
6015         for loop over config.site files using `set', to allow
6016         directory names containing IFS characters.
6018 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
6020         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
6021         directories with weird names.  Apparently some people like living
6022         on the edge.  However, improve the test that "pwd" actually does
6023         report a name for the working directory.
6024         * NEWS: Remove the claim that we test for funny chars in dir names.
6026 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
6028         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
6029         replaced ...
6030         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
6031         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
6032         Now accept a single tag, not whitespace separated list.
6033         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
6035 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
6037         * doc/autoconf.texi (Configuration Headers): Change the explanation
6038         about #include <config.h>.
6039         (Generic Functions): Mention the Gnulib project.
6040         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
6042         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
6043         document to output the default config_* lists to config.status.
6044         Don't recognize option --file, if the functionality is not there.
6045         Likewise for --header; moreover, recognize --he and --h as shortcuts
6046         for --help in that case.
6048         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
6049         matches the order of execution.  No code changed.
6051 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6053         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
6054         single-quoted -cmdline argument in Portland Group compiler.
6055         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
6057 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
6059         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
6061 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
6063         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
6064         descriptors to child processes; reported by Norman Gray.
6066 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
6068         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
6070         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
6071         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
6072         (AC_SUBST): Call it.
6073         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
6074         the directory specific variables; but don't call it for configure_input.
6076 2005-06-28  Derek Price  <derek@ximbiot.com>
6078         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
6079         addition.
6081 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
6083         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
6084         directory have inherent problems with special characters like spaces,
6085         due to limitations in Make syntax.  Problem reported by Alexandre
6086         Duret-Lutz.
6087         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
6088         Also, fix Tru64 porting problem with shell patterns,
6089         reported by Ralf Wildenhues.
6091 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6093         * doc/autoconf.texi (Subdirectories): Fix markup typos.
6095 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
6097         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
6099         Fix some more shell quoting problems.  Prompted by a bug report
6100         from Justace Clutter.
6101         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
6102         variable into diagnostic.  Make the diagnostic an error, not a warning,
6103         because we really don't support spaces and suchlike in dir names.
6104         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
6105         Don't worry about backslashes in srcdir; it can't happen now.
6106         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
6107         Simplify ac_optarg handling.
6108         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
6110 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
6112         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
6113         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
6114         * tests/atlocal.in: Propagate $EGREP and $SED.
6115         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
6116         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
6118         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
6119         that '\|' is not allowed in BREs; recommend using newline separated
6120         list of patterns instead of multiple -e options.
6122         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
6124         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
6126 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6128         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
6130 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
6132         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
6133         b, t, r, w commands require single space, while : cannot have any.
6134         (Special Shell Variables): Fix sed code this in the example.
6135         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
6136         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
6138         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
6139         expand to the empty list.  Don't use two pairs of m4_changequote,
6140         it's not necessary.
6142 2005-06-20  Derek Price  <derek@ximbiot.com>
6144         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
6146 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
6148         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
6149         * doc/autoconf.texi:
6150         Don't mention Solaris versions so much, if a
6151         problem is common to all extant versions of Solaris.  Say "SunOS
6152         4" instead of "SunOS" for SunOS 4.
6153         (awk): Mention more of the limitations of traditional Awk.
6154         (cat): Don't talk about cat -v.
6156 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
6158         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
6159         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
6160         but the implementation is entirely different and is designed
6161         to be compatible with glibc strverscmp.
6162         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
6164         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
6165         on Mac OS X 10.4 reported by Peter O'Gorman in:
6166         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
6167         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
6168         Use shell builtins rather than 'expr', to work around expr bug.
6170 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
6172         * doc/autoconf.texi: "filesystem" -> "file system".
6173         "behaviour" -> "behavior".
6174         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
6175         * lib/autoconf/general.m4: Omit blank after ":" sed command,
6176         as per POSIX.
6177         * lib/m4sugar/m4sh.m4: Likewise.
6178         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
6179         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
6181         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
6182         (.x.1): Ignore the time stamp in the .TH line when deciding whether
6183         to update the man page.  That way, we don't have to check in new
6184         man pages every month.
6186         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
6187         quotes and backslashes.  Patch from Derek Price.
6189 2005-06-10  Derek Price  <derek@ximbiot.com>
6191         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
6192         AS_TR_SH.
6194 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
6196         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
6197         -u, since it outputs chatter if the input files are the same.
6198         Problem reported by Ralf Menzel.
6200 2005-06-08  Derek Price  <derek@ximbiot.com>
6202         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
6203         renaming them since they are about to be redefined anyhow.
6205 2005-06-08  Derek Price  <derek@ximbiot.com>
6207         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
6208         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
6209         Move m4_undefine to alphabetical order.
6211 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
6213         * README: Recommend GNU M4 1.4.3 or later.
6214         * doc/autoconf.texi (Introduction): Likewise.
6215         Reword to avoid some formatting glitches.
6216         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
6217         Clarify explanation of HP compiler bug.
6218         Redo example output tp match current CVS snapshot.
6219         Use @example.org in email addresses when the examples
6220         might get inadvertently cut-and-pasted into user code.
6221         Remove example of autom4te usage that doesn't seem to work now.
6222         Use modern AC_INIT (except when the example is meant to be
6223         shown with Autoconf 2.13).
6224         Update ksh info for Solaris 9 and later.
6225         KB -> kB.
6226         Modernize description of Automake versions a bit.
6227         Don't claim a future version of Autoconf is near.
6228         * doc/install.texi: Reword to avoid some formatting glitches.
6230 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6232         * doc/autoconf.texi: Add [] to examples, so that the manual
6233         follows its own advice about quoting better.
6234         Reword to avoid some formatting glitches.
6235         * doc/installt.exi: Reword to avoid some formatting glitches.
6237         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
6238         Tru64 ksh pattern matching bug.  Reported against Libtool by
6239         Albert Chin <libtool@mlists.thewrittenword.com> and
6240         Nicolas Joly <njoly@pasteur.fr>.
6242 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
6244         m4_cdr of one-member list was [[]] (one-member list containing an
6245         empty string) instead of [] (an empty list.  Callers were skewed to
6246         match this misbehaviour.  As a consequence of this:
6247          - m4_foreach([x], [], [foo]) expanded to `foo', while
6248          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
6249         This bug has been fixed:
6251         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
6252           expand to an empty string; print error msg if called without
6253           an argument list.
6254         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
6255           misbehaviour; handle [] and [[]] correctly.
6257 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
6259         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
6260         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
6261           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
6263 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
6265         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
6266           swallow records with more than 99 fields.
6267         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
6268           parse the long line.
6270 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
6272         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
6273           swallow literals longer than 399.  Reported by Ralf Wildenhues.
6274         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
6275           to workaround this limitation.
6277 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
6279         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
6280         to gfortran, and make these the first two compiler names
6281         checked (following the general autoconf preference for gcc).
6283 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
6285         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
6286         (DISTCLEANFILES): Remove $(check_SCRIPTS).
6287         (testsuite): Make sure autotest.m4f is up-to-date before using it.
6289 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
6291         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
6292         expression of unbounded size when processing the --list
6293         option.  This runs afoul of a limit of 399 bytes per regular
6294         expression on AIX.  Problem reported by Ralf Wildenhues.
6296 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
6298         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
6299         * doc/autoconf.texi (Particular Headers): Reword example
6300         for multiline stdbool replacement.
6301         (Setting Output Variables): Reword text a bit.  Don't
6302         give all the details about |#_!!_#|.
6303         Reword description of line replacement.
6305 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
6307         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
6308         now contain newlines, and substituted files must be referenced on
6309         a line alone; the sed scripts to substitute them are now very
6310         different.
6311         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
6312         commands can be put in a sed script portably.
6313         * doc/autoconf.texi (Setting Output Variables): Document above
6314         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
6315         use of multiline substitution.
6316         * tests/torture.at: No longer expect substitution of newline to fail.
6318 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
6320         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
6321         From Ralf Menzel (trivial change).
6323 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
6325         * tests/local.at: Don't attempt to check for negated character
6326         classes in shell scripts.  The test was too brittle.
6328 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
6330         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
6331         * doc/autoconf.texi (Limitations of Builtins): Document this
6332           limitation.
6334 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
6336         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
6337           common code; used in many places in the tree.
6338         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
6339         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
6341         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
6343         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
6344           messages when ac_unique_file is not found.
6345         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
6346         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
6347           commands, for consistency with AC_MSG_ERROR and such.
6349         * bin/autoconf.as: Make more use of "shift 2" in option processing.
6351         * bin/Makefile.am: Merge the two rules for creating scripts.
6353 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
6355         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
6356         obsolete; it was never documented.
6357         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
6359 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
6361         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
6362         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
6363         (ac_top_builddir): ... this ...
6364         (ac_top_build_prefix): ... to this; the old name is also kept, for
6365           backward compatibility.
6366         (ac_top_builddir_sub): New variable, without the trailing slash,
6367           always nonempty.
6368         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
6369         * doc/autoconf.texi (Configuration Actions): Rename
6370           ac_top_builddir to ac_top_build_prefix.
6371         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
6372           at_top_builddir to at_top_build_prefix.
6373         * lib/autotest/general.m4 (AT_INIT): Likewise.
6375 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
6377         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
6378           of confdefs.h .
6380 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
6382         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
6383           argument to m4_foreach.  I guess it was necessary in the past,
6384           but I think it's a no-op now.
6386 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
6388         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
6389           ``cat <<_ACEOF'' commands to one.
6390         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
6391         * lib/autoconf/status.m4: On various places, use expr instead of
6392           ``echo|sed.''
6393         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
6394         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
6395         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
6396           a range.
6397         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
6398           the wrong patterns between ``case'' and ``esac.''  The previous
6399           code had false positives.
6401 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
6403         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
6404         as on 2005-05-02.
6405         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
6406         Mention LIBOBJDIR.
6408 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
6410         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
6411         ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
6412         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
6413         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
6414         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
6415         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
6416         config/config.guess, config/config.sub, config/elisp-comp,
6417         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
6418         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
6419         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
6420         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
6421         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
6422         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
6423         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
6424         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
6425         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
6426         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
6427         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
6428         lib/autoconf/general.m4, lib/autoconf/headers.m4,
6429         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
6430         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
6431         lib/autoconf/specific.m4, lib/autoconf/status.m4,
6432         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
6433         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
6434         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
6435         lib/autotest/general.m4, lib/emacs/Makefile.am,
6436         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
6437         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
6438         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
6439         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
6440         tests/compile.at, tests/foreign.at, tests/fortran.at,
6441         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
6442         tests/semantics.at, tests/suite.at, tests/tools.at,
6443         tests/torture.at, tests/wrapper.as:
6444         Update FSF postal mail address.
6446 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
6448         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
6449           check.
6450         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
6451           enough arguments, similarly as in m4_bpatsubsts.
6453 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
6455         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
6456           of absolute paths.
6458 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
6460         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
6461           for absolute directory names in one loop.
6462         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
6463           abbreviations of --version and --debug.
6465 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
6467         * doc/autoconf.texi (Autoconf Language): Be more precise about
6468         quoting rules.  Problems noted by Stepan Kasal.
6469         Also, throughout this document, be more careful about white space.
6470         "blank", "white space", and "space" all have different meanings
6471         and we should be careful to say what we mean.
6473 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
6475         Fix C++ related problems reported by Werner Lemberg.
6476         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
6477         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
6478         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
6479         avoid problems with C++ and throw.
6480         * tests/compile.at: .cpp, not .cc.
6482         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
6484 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6486         * doc/autoconf.texi (Generic Functions): Typos.
6488 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
6490         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
6491         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
6492         set by latest automake.
6494 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
6496         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
6497         outputs 0 on GNU/Linux these days.
6499 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
6501         * doc/autoconf.texi (Autoconf Language): Add more description
6502         about quoting heuristics.
6503         (Limitations of Builtins): Describe "set -" problems.
6505 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6507         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
6508         not newline.
6510         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
6511         by AC_DEFINE; it was a mistake.
6512         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
6514 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
6516         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
6518 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
6520         * doc/autoconf.texi (External Software): Quadrigraphs are not
6521           processed correctly in AS_HELP_STRING; avoid this in the examples.
6522         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
6523         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
6524           comment and reduce m4_default([foo], []) to [foo].
6525         (m4_strip): Update the explanation.
6527 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6529         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
6530         Remove core.conftest.* too; it's generated by Tru64 5.1.
6531         Problem reported by Jennis Pruett.
6532         * lib/autoconf/functions.m4
6533         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
6534         Don't bother to remove core files; AC_RUN_IFELSE should do that
6535         for you.
6537 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
6539         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
6541 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
6543         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
6544         Report from Horst Wente.
6546 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
6548         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
6549           the comment.
6551 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
6553         * doc/autoconf.texi (External Software, Package Options): Add
6554           examples showing how to implement --with-* and --enable-* options.
6556 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
6558         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
6559         as well as configure.in.  Problem reported by Gregorio Guidi.
6561 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
6563         * doc/autoconf.texi (Particular Functions): Use gnulib's current
6564         pattern for alloca snippet.
6566 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
6568         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
6570 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
6572         * doc/autoconf.texi (Generic Programs): Fix a typo.
6574 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
6576         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
6577         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
6579 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6581         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
6582         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
6583         whole-archive (-zallextract, -zdefaultextract) options in the hope of
6584         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
6585         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
6587 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
6589         * NEWS: The configure command now warns you if you attempt to use
6590         a directory whose name contains a special character like space,
6591         newline, or "\".
6592         * doc/autoconf.texi (Installation Directory Variables): Allow
6593         "," in file names.  Do not use \@; it's not a portable regexp.
6594         * bin/Makefile.am (edit): Likewise.
6595         * lib/Makefile.am (edit): Likewise.
6596         * tests/Makefile.am (edit): Likewise.
6597         * tests/semantics.at: Likewise.
6598         * tests/torture.at: Likewise.
6599         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
6600         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
6601         * doc/autoconf.texi (File System Conventions): Warn about
6602         unportable file names.
6603         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
6604         (AC_INIT): Use it.
6605         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
6606         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
6607         ac_pwd, and quote srcdir.
6608         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
6610         * doc/autoconf.texi: Fix some systematic formatting problems.
6611         ".)"  needs a following @: if not at the end of a sentence, and
6612         similarly for "!)".  "etc." should be preceded by a comma.
6613         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
6615 2005-03-22  Bruno Haible  <bruno@clisp.org>
6617         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
6618         argument is often called 'build-aux'.
6620 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
6622         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
6623           macro AC_TRY_LINK is obsolete.
6624         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
6625           `AC_CONFIG_FILES'.
6627 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
6629         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
6630           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
6631           from a Common Lisp's `cl'.
6632         (AC_PROG_CXX): Behave according to the documentation: don't
6633           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
6634           make the variable CCC precious; use `cl.exe', not `cl'.
6636 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
6637             Alexandre Duret-Lutz  <adl@gnu.org>
6639         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
6640         /dev/null, as "configure" shouldn't read stdin, and this insulates
6641         us from problems (e.g., when testing for "cl").  Also, do this
6642         redirection before invoking "hostname" or "uname", and keep the
6643         original input stream available via...
6644         (AS_ORIGINAL_STDIN_FD): ... this new macro.
6645         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
6646         bother with "</dev/null" since it's now done at the top of
6647         'configure'.
6648         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
6649         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6650         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6651         * doc/autoconf.texi (File Descriptor Macros): New section.
6652         (Printing Messages): Mention it.
6653         * tests/base.at (Input/Output): New test.
6655 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
6657         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
6658         newline if neither \c nor -n work, as that would output two
6659         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
6661 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
6663         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
6664         This causes that any required macros inside will get before the if.
6665         * doc/autoconf.texi (autom4te.cache): A typo.
6667 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
6669         Undo previous change, except keep the change to
6670         lib/autoconf/programs.m4 that replaced grep with shell
6671         pattern-matching.  This is because net-snmp configure reads stdin.
6672         Reported by Noah Misch.
6674 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
6676         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
6677         from /dev/null, as "configure" shouldn't read stdin, and this
6678         insulates us from problems (e.g., when testing for "cl").
6679         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
6680         before invoking "hostname" or "uname".
6681         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6682         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
6683         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
6684         "</dev/null" since it's now done at the top of 'configure'.
6685         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6686         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6687         Also, replace grep with shell pattern-matching, to save a process.
6689 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
6691         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6692         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
6693         avoid thinking that Allegro Common Lisp's "cl" command is a C++
6694         compiler.
6696 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
6698         * doc/autoconf.texi (Limitations of Usual Tools): Document that
6699         grep -q isn't portable.  Improve grep -s explanation.
6700         Problem reported by Dan Manthey.
6702 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
6704         * doc/autoconf.texi (Special Shell Variables): Clarify
6705         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
6707 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6709         * doc/autoconf.texi: Use @acronym for DJGPP.
6710         Fix some @code's that should have been @env's, and vice versa.
6711         Sort environment variable names.
6712         Mention that shells no longer inherit IFS.
6713         Don't recommend PATH_SEPARATOR=';' so strongly.
6714         Mention that $RANDOM might expand to the empty string.
6715         "symlink" and "soft link" -> "symbolic link".
6716         Improve mktemp description (reported by Bruno Haible).
6718 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
6720         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
6721         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
6722         Likewise.
6723         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
6724         Likewise.
6726 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
6728         * NEWS: Mention AT_COPYRIGHT.
6730         * tests/local.at (AT_CMP): Use diff directly on input files rather
6731         than copying them.
6733         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
6734         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
6736 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
6737         and Paul Eggert  <eggert@cs.ucla.edu>
6739         * tests/autotest.at (Empty test suite): New test.
6740         * tests/torture.at (Substitute and define special characters)
6741         (Substitute a 2000-byte string, Define to a 2000-byte string)
6742         (Substitute a newline, Define a newline): New tests.
6744 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
6746         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
6747         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
6748         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
6749         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
6750         (Standard regular expressions): New test.
6751         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
6752         excess test name quoting.
6753         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
6754         CPPFLAGS to `configure' instead of setting it in `configure'.
6756         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
6757         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
6758         on some platforms.
6760         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
6761         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
6763         * tests/local.at (AT_CMP): New macro.
6764         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
6765         (AC_SAVE_STATE): Move environment grep...
6766         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
6767         (AT_CONFIG_CMP): New macro.
6768         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
6769         * tests/c.at (Extensions): Do not exit early.
6770         * tests/atlocal.in: Inherit $GREP.
6772         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
6773         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
6775         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
6776         (AC_COPYRIGHT): Factor header comment portion out and move into...
6777         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
6778         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
6779         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
6780         --version output.
6781         * tests/local.at: Add Autoconf test suite copyright notice.
6782         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
6784 2005-02-04  Bruno Haible  <bruno@clisp.org>
6785         and Paul Eggert  <eggert@cs.ucla.edu>
6787         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
6789 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
6791         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
6792         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
6794         Try not to generated lines of unlimited length, as POSIX places a
6795         2047-byte limit on line length of portable text files.
6796         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
6797         Use newline as a separator, not space.
6798         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
6799         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
6800         space.
6802 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6804         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
6805         as_func_*.  Add test to check whether positional parameters
6806         are restored after function return.
6808 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
6810         * doc/autoconf.texi (Special Shell Variables): Mention _,
6811         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
6812         if they contain a lower-case letter.  The DUALCASE problem was
6813         reported by Ralf Wildenhues.
6815         * bin/autoconf.as: Don't exit with status 0 after write failure
6816         with --help or --version.
6817         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
6818         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
6820 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6822         * doc/autoconf.texi (Limitations of Usual Tools):
6823         Unicos 9 sed limitations.
6824         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
6825         to get the option-enhanced interface on older Crays.  Try ftn for
6826         Fortran 95 (newer Crays).
6828 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
6830         * man/Makefile.am (.x.1): Go back to the simple solution, but take
6831         care to echo the commands, so the user knows what's going on.
6832         Modified from a suggestion by Stepan Kasal.
6834         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
6835         with a cross reference.  Derived from a suggestion by Bruce Korb.
6837 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
6839         * doc/autoconf.texi (config.status Invocation): Warn about
6840         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
6841         * doc/install.texi (Defining Variables): Likewise.
6842         Based on a proposed patch by Ralf Wildenhues.
6844         * man/Makefile.am (.x.1): Make sure the required generated files
6845         are up to date.  Problem and original solution proposed by Stepan Kasal.
6846         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
6847         implicit-man-prerequisites): New rules, used by the above.
6849         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
6850         * config/config.guess, config/config.sub, config/install-sh: Likewise.
6851         * config/missing, config/texinfo.tex: Likewise.
6853 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
6855         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
6856         Update the long comment explaining it.
6858         m4_require no longer writes an ``is required by'' line to the
6859         execution stack.  It contains only one bit of non-redundant
6860         information: that the macro was required, not called.  And even
6861         this bit is useless in most situations: have you ever met a macro
6862         which both calls and requires the same macro?
6864         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
6865         (_m4_defun_pro_outer): ... only via this macro, for the outermost
6866           macro.
6867         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
6868         (m4_expansion_stack_pop): Remove the misplaced comment.
6869         (m4_require): Don't put the ``is required by'' line to the
6870           execution stack; slightly improve the out-of-a-defun error message.
6871         (_m4_divert_grow): New macro, counter for the temporary diversions.
6872         (_m4_require_call): Use it.
6873         * tests/m4sugar.at (m4_require): Expect output without the
6874           ``is required by'' messages.
6876 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
6878         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
6879         rather than x for expr.
6881         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
6882         this is safe.
6883         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
6884         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6885         * lib/autotest/general.m4 (AT_INIT): Likewise.
6886         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
6887         * tests/mktests.sh: Likewise.
6889 2005-01-27  Akim Demaille  <akim@epita.fr>
6891         Have autoheader honor --force.
6893         * doc/make-stds.texi, doc/standards.texi: Update from masters.
6894         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
6895         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
6896         from masters, so that FileUtils.pm's update_file provide --force
6897         support.
6898         * bin/autoheader.in: Pass $force to update_file so that
6899         config.h.in is always recreated when --force.
6901 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
6903         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
6905 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
6907         * doc/autoconf.texi (Limitations of Builtins): Clarify that
6908         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
6910 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
6912         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
6913         Warn about newline stripping in `` and $().  Update Solaris
6914         version to 9.
6915         (Limitations of Builtins): Use expr "X...", not expr "x...", as
6916         X insulates us from future changes to Posix.
6917         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
6918         stripping.
6920 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
6922         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
6923           you cannot use AC_DEFINE to define macros containing `[' or `]'.
6925 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
6927         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
6928         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
6929         bug-tar mailing list.
6931 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
6933         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
6935 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6937         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
6938         ulongval to be static, to avoid unwanted GCC warning.  Problem
6939         reported by Michael Jennings via Daniel Reed; see
6940         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
6942 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
6944         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
6945         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
6946         datadir, infodir, and mandir.  Adjust argument parsing code.
6947         (_AC_INIT_HELP): Update help text.
6948         * doc/autoconf.texi (Installation Directory Variables): Document
6949         new variables.
6951 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
6953         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
6954         not seem to work, assume it does set $(MAKE).
6955         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
6957 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
6959         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
6961 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
6963         A cleanup of the diversion support in m4sugar.
6965         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
6966         (_m4_divert_n_stack): New macro; the expansion is
6967           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
6968           otherwise.
6969         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
6970         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
6971           stored in _m4_divert_diversion or _m4_divert_dump.
6972         (m4_divert_pop): When the parameter is given, compare the symbolic
6973           name with the last diversion pushed on the stack.  Previously, the
6974           current diversion was compared with the numeric value of the
6975           diversion given as the parameter.
6976         (m4_require): If the macro hasn't been expanded yet, call ...
6977         (_m4_require_call): this new macro.
6979 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6981         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
6982         Workarounds for documented `case' limitations.
6984 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
6986         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
6987         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
6989 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
6991         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
6992         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6993         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
6995         Patch from Roger Leigh (with some minor changes) as follows:
6996         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
6997         Resurrect AC_PROG_CC_STDC.
6998         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
6999         AC_PROG_CC_C89, AC_PROG_CC_C99.
7000         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
7001         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
7002         AC_PROG_CC_C99): New macros.
7003         (AC_PROG_CC_STDC): Use them.
7004         (_AC_PROG_CC_STDC): Remove.
7005         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
7006         * THANKS: Add Roger Leigh.
7008 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
7010         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
7011         signals that the package uses Automake; a `Makefile.am' is typical but
7012         not essential.  Reported by Magnus Therning.
7013         * tests/torture.at (autoreconf.): New banner.
7014         (autoreconf and non-AC configure): Rename to `Non-Autoconf
7015         AC_CONFIG_SUBDIRS'.
7016         (autoreconf an empty directory): Rename to `Empty directory'.
7017         (Unusual Automake input files): New test.
7019 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
7021         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
7022         (AT_SETUP): Clear AT_capture_files.
7023         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
7024         (AT_KEYWORDS): Fix comment typo.
7025         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
7026         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
7027         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
7029 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
7031         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
7032         If the variable to set is already set, set ac_cv_path_$1
7033         to the preset value so caller can assume ac_cv_path_$1
7034         is available.  (trivial change)
7036 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
7038         * BUGS (Minor Problems): Warn about makefile limitations.
7039         * Makefile.am: Find and update `INSTALL' in $(srcdir).
7040         * man/Makefile.am: Find and update manual pages in $(srcdir).
7042 2004-12-24  Eric Blake  <ebb9@byu.net>
7044         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
7045         shells in subshell, to avoid noise from ash.  (trivial change)
7047 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7049         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
7050         problems with SunOS ksh and backslash escaping, Bourne shells and
7051         closing brackets (both within character classes).  Bug reported
7052         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
7053         <read>: New entry.  Mention non-availability of -r.
7055 2004-12-21  Akim Demaille  <akim@epita.fr>
7057         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
7058         avoid cluttering displayed messages.  Rather, prepend srcdir where
7059         AT_LINE is used for log files.
7061 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
7063         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
7064         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
7065           no longer part of the macro, quote the occurrence of ``$tmp''.
7066         * doc/autoconf.texi (Forbidden Patterns): Typo.
7068 2004-12-21  Akim Demaille  <akim@epita.fr>
7070         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
7071         separated from the test title by forcing a white space.
7073 2004-12-21  Akim Demaille  <akim@epita.fr>
7075         Enable Emacs navigation within testsuite.log files.
7077         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
7078         use the compilation mode.
7079         (AT_LINE): Point to the srcdir.
7081 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
7083         * tests/Makefile.am (installcheck-local): Use $(bindir).
7084         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
7085         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
7086         Makefile.am scheme Autoconf now uses.
7088 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
7090         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
7091         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
7093 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
7095         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
7096         (_AT_CHECK): Use it.
7097         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
7098         (AS_ESCAPE): Fix comment.
7099         * tests/autotest.at: Adjust section banner comments.
7100         (AT_CHECK_AT): Accept STATUS and STDERR.
7101         (AT_CHECK_AT_TEST): Likewise.
7102         (Invalid brace-enclosed parameter expansion)
7103         (Multiline command from M4 expansion)
7104         (Double-M4-quoted command): New tests.
7106 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7108         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
7110 2004-12-17  Akim Demaille  <akim@epita.fr>
7112         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
7113         m4_pattern_allow.
7114         Suggested by Alexandre Duret-Lutz.
7115         * doc/autoconf.texi (Setting Output Variables): Catch up.
7117 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
7119         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
7121 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
7123         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
7124           remove the comment which said we cannot.
7126 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
7128         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
7129         Reini Urban and Paul Eggert for reporting the dependencies.
7131         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
7132         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
7133         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
7135 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
7137         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
7138           so that eg. ``autoscan --help'' doesn't truncate it.
7140 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
7142         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
7143         generated conftest files.
7145 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
7147         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
7148         tracing on commands with possibly-escaped newlines.
7149         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
7150         discontinued behavior and its implications.
7151         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
7152         (BSx641-newline in command, BS-BS-newline in command)
7153         (BSx640-newline in command, Newline-CODE-BS-newline in command)
7154         (Single-quote-BS-newline in command)
7155         (Single-quote-newline-BS-newline in command): New tests.
7157 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
7159         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
7160           on platforms where it works.
7161         (_AS_TEST_PREPARE): Test for ``test -x''.
7162         (_AS_BROKEN_TEST_PREPARE): Nuke.
7164 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
7166         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
7167         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
7168           give only 4-letter prefix to AS_TMPDIR, comment fixed.
7169         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
7170           create the temporary directory.
7171         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
7173 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
7175         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
7176         (trivial change)
7178 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
7180         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
7182 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
7184         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
7185         to avoid using a negated character class.  Reported by Nicolas Joly.
7186         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
7188 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7190         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
7191         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
7192         Don't depend on .x file explicitly, since "make" does that for us.
7193         Suggested by Stepan Kasal.
7195         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
7196         Add *.tmp.
7197         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
7198         ifnames): Factor common code.  And they said it couldn't be done!
7200 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
7202         * bin/.cvsignore: Add autoconf.in.
7203         * tests/.cvsignore: Add wrapper.in.
7204         * lib/autotest/general.m4: Escape '$' in case pattern.
7206 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
7208         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
7210         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
7212         * tests/autotest.at: New file.
7213         * tests/suite.at: Include it.
7214         * tests/Makefile.am: Distribute it.
7216         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
7217           shell tracing on a command that could contain multiple lines.
7218         * doc/autoconf.text: Document that fact and its implications.
7219         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
7220         * tests/autotest.at (Multiline backquote command substitution,
7221           Multiline parameter expansion, Literal multiline command,
7222           Multiline parenthetical command substitution): Remove XFAIL.
7224 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
7226         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
7227         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
7229 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
7231         * configure.ac (test suite): Cease to generate wrapper scripts.
7232         * configure: Regenerate.
7233         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
7234         (m4f_dependencies): Adjust accordingly.
7235         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
7236         (wrapper.in): Generate it in the build directory.
7237         (MAINTAINERCLEANFILES): Delete wrapper.in.
7238         (CLEANFILES): Add wrapper.in.
7239         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
7240         the output.  Replace each $as_me with a @wrap_program@.
7241         * tests/wrapper.in: Delete it; we always build it.
7243         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
7244         (EXTRA_DIST): Remove autoconf.in.
7245         (CLEANFILES): Add autoconf.in.
7246         (autoconf): Find autoconf.in in the build directory.
7247         * bin/autoconf.in: Delete it; we always build it.
7249 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
7251         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
7252         PATH members so as to not prepend an empty element.  Move a comment.
7253         * Makefile.am (SUBDIRS): Build in `tests' last.
7254         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
7256 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
7258         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
7259         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
7260         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
7261         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
7263 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
7265         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
7266         patch: extra "-l"s.
7268 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
7270         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
7271         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
7272         * doc/autoconf.texi (Particular Functions): Mention new behavior.
7274 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
7276         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
7277           out the common code to ...
7278         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
7279           value of the #define--default to 1, iff the macro was called
7280           with exactly one parameter.
7282 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
7284         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
7285         "char c = '\200';" rather than "char c = 0x80;" as the
7286         latter doesn't conform to the strict C standard due to
7287         overflow on signed char hosts.
7289         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
7290         to -qlanglvl=ansi.  We don't want to disable extensions.
7292 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
7294         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
7295         (Using Autotest, testsuite Scripts, Writing testsuite.at):
7296         Reword slightly to avoid some English-language problems noted
7297         by Ralf Wildenhues in:
7298         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
7300 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
7302         * NEWS: Add ^L above each release.
7304 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
7306         Fix documentation problems reported by Russ Boylan in
7307         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
7308         along with some nearby cruft.
7309         * doc/autoconf.texi (Libtool): Libtool can be used without
7310         Automake (not without Autoconf).
7311         (Introduction): Mention lists.gnu.org.
7312         * BUGS: Don't mention bugs.gnu.org.
7313         Remove mention of ancient libtool compatibility problem.
7314         * NEWS: Mention that bugs.gnu.org is kaput.
7315         * README: Likewise.  Mention where mailing list archives can be found.
7317 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
7319         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
7321 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
7323         * doc/autoconf.texi (Pretty Help Strings): Go back to
7324         single-quoting assignments to cache variables.
7326 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
7328         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
7329         with the examples; fix the bug in MY_ARG_WITH example reported
7330         by Alexandre Duret-Lutz.
7331         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
7332         expansion of $1 in the comment emitted to configure.
7334 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
7336         * doc/autoconf.texi (Pretty Help Strings): Fix typo
7337         in my editing of the previous patch.  Problem reported
7338         by Alexandre Duret-Lutz.
7340 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
7342         * doc/autoconf.texi (Autoconf Language): Explain that
7343         ``descriptions'' may not be double quotes.
7344         (Quotation Rule Of Thumb): Likewise.
7345         (Pretty Help Strings): Likewise; remove the wrong comment;
7346         simplify the examples and improve their quoting.
7348 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
7350         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
7351         the $1_found variable, don't test whether the file is executable;
7352         Both things are checked ...
7353         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
7354         the former ``test -f''.
7355         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
7357 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
7359         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
7360         use cp -R instead.
7362 2004-11-10  Derek R. Price  <derek@ximbiot.com>
7364         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
7365         limitations.  Reorder paragraphs for clarity.
7367 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
7369         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
7370         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
7371         variants", "Unix", and some related minor wording fixups.
7373         (Shellology, Special Shell Variables): Document that the Zsh
7374         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
7375         to Alexandre Duret-Lutz for this info.
7377 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
7379         * doc/autoconf.texi (One-Shot Macros): New node.
7381 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
7383         * doc/autoconf.texi (Function Portability): Fix misdescription
7384         of putenv.  Problem reported by Michael Wardle.
7386 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
7388         * doc/autoconf.texi (auindex): New macro.
7389         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
7390         Problem reported by Stepan Kasal.
7392 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
7394         Fix problems reported by Andreas Buening in:
7395         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
7396         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
7397         in test makefile.
7398         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
7399         readable; it's not true in OS/2-emx.
7401 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
7403         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
7404         "/usr/include", clear ac_x_includes instead of leaving it as "no"
7405         (trivial change).  Problem and patch reported by Andrew Church in:
7406         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
7408 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
7410         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
7411         three args in examples.  Problem reported by Frederik Fouvry in:
7412         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
7413         Also, fix some minor spacing and punctuation bugs.
7415 2004-09-02  Akim Demaille  <akim@epita.fr>
7417         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
7418         "case" to restore ordering.
7419         Reported by Stepan Kasal.
7421 2004-08-26  Akim Demaille  <akim@epita.fr>
7423         * doc/autoconf.texi: Minor typos and stylos.
7425 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
7427         * configure.ac (AC_INIT): Bump to 2.59c.
7429 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
7431         Version 2.59b.
7433         * README: Add advice about m4 1.4.2.
7435         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
7436         texinfo.tex for now (done by hand now).
7437         * Makefile.maint (wget_files, cvs_files):
7438         Remove ansi2knr.c; nobody uses it.
7439         (ansi2knr.c-url_prefix): Remove.
7440         (cvs-update): Fix test for failure.  I don't know why it ever
7441         worked...
7443         * doc/autoconf.texi: Update URLs, some of which went stale.
7444         Use @uref rather than @href.
7446         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
7447         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
7449         * config/config.guess, config/config.sub, config/elisp-comp,
7450         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
7451         doc/fdl.texi, doc/standards.texi: Sync with master copy.
7453         * NEWS, TODO, configure.ac, bin/autoscan.in,
7454         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
7455         doc/install.texi, lib/Autom4te/Configure_ac.pm,
7456         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
7457         lib/autoconf/programs.m4, lib/autoconf/status.m4,
7458         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
7459         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
7460         tests/tools.at, tests/torture.at:
7461         Use "file name" rather than "filename" or "path",
7462         to be consistent with the terminology of the GNU coding standards.
7464 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
7466         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
7467         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
7468         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
7469         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
7471         More fixes to support spaces in the name of the build directory.
7472         This isn't a complete fix but it's an improvement.
7474         * bin/autoconf.as (autom4te_options): New var.
7475         Use it instead of appending to AUTOM4TE, so that we can allow
7476         spaces in the build directory's absolute name.
7477         * bin/autoheader.in ($autoconf): Allow spaces in file names.
7478         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
7479         AT_CHECK_NOESCAPE): Likewise.
7480         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
7481         main program): Likewise.
7483 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
7485         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
7486         From Ralf Corsepius in:
7487         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
7489 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
7491         * doc/autoconf.texi (Function Portability): Document isinf and
7492         and isnan.  From a suggestion by Kevin Ryde.
7494         * lib/Autom4te/General.pm (END): Return correct exit status even
7495         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
7497 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
7499         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
7500         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
7501         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
7503 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
7505         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
7506         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
7507         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
7508         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
7509         * lib/autom4te.in (Automake-preselections): Preselect
7510         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
7512 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
7514         * lib/autom4te.in (Automake-preselections): Preselect
7515         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
7516         trace them.
7518 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
7520         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
7521         Tru64.
7522         * doc/autoconf.texi (Shellology): Mention BIN_SH.
7523         Document problem with "`""`" in pdksh POSIX mode.
7525 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
7527         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
7528         with pdksh, too.  Problem reported by Patrick Welche via
7529         Gary V. Vaughan.
7530         * doc/autoconf.texi (Shellology): Note that set -o posix is
7531         useful for pkdsh, too.
7533 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
7535         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
7536         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
7537         Don't fail if ENV or BASH_ENV is readonly.
7538         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
7539         etc. are read only.  Problem reported by Ludovic Courtes.
7541 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
7543         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
7544         zsh, disable GLOB_SUBST to avoid backslash handling problems.
7545         (trivial change)
7547 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
7549         * doc/autoconf.texi (File System Conventions): Warn about
7550         names like "aux".  Problem reported by Eric Blake.
7552         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
7553         by zero instead of array size, so that we can use any arithmetic
7554         constant expression (instead of requiring an integer constant
7555         expression).  This allows us to test expressions like DBL_MAX <
7556         LDBL_MAX, which didn't conform to the C standard using the old
7557         method.
7558         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
7559         now that we can do floating-point tests at compile time.
7561 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
7563         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
7564         and LDBL_EPSILON, as the resulting expression isn't an
7565         integer constant expression and violates the C standard.
7566         Problem reported by Nelson H. F. Beebe.  Also, check
7567         for "L" suffix, and check that long double doesn't have
7568         worse range or precision than double, that mixed-mode
7569         arithmetic doesn't generate a diagnostic, that double
7570         constants fit in long double.
7572 2004-06-03  Kevin Ryde  <user42@zip.com.au>
7574         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
7575         malloc(0) and realloc(NULL,size).
7577         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
7578         Bob Proulx.
7580 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
7582         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
7583         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
7584         by Jim Meyering.
7586 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
7588         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
7589         can be rewritten using if-then-else.  Suggested by Bruno Haible.
7591 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
7593         * doc/autoconf.texi (testsuite Scripts): Fix typo.
7594         Problem reported by Stepan Kasal.
7596 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
7598         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
7599         change).  Patch reported by Ralf Wildenhues in
7600         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
7602         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
7603         function F exists if the compiler and linker let you compile an
7604         expression like (F != 0).  Recent versions of GCC optimize away
7605         the reference to F in that case, since every function address must
7606         be nonzero, so the link succeeds even if F does not exist.
7607         Problem reported by Manu in
7608         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
7610         * doc/autoconf.texi (Systemology): Standardize on the spelling of
7611         "Unix".  Many uses changed.
7612         (Limitations of Builtins): Explain better why the ! command isn't
7613         portable.
7615 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
7617         * lib/autom4te.in (Automake-preselections): Preselect
7618         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
7620 2004-05-19  Kevin Ryde  <user42@zip.com.au>
7622         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
7623         referencing AC_FUNC_STRERROR_R.
7625         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
7626         note pessimistic assumption when cross compiling.
7628 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
7630         * doc/autoconf.texi (Limitations of Make): Note that BSD make
7631         (until 2004) invoked subcommands with sh -e, contra POSIX.
7632         Reported by Kevin Ryde.
7634 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
7636         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
7637         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
7638         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
7639         `test -f "        /usr/bin/grep"', which _always_ failed.
7640         (AC_PROG_SED): Ditto bogus PATH fix.
7641         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
7642         requires that grep correctly supports _multiple_ `-e' options, rather
7643         than stating only that grep should accept `-e'.
7645 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
7647         Port to C99, which requires that 'exit' be declared.
7649         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
7650         to ensure that stdlib.h is included.
7651         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
7652         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
7653         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
7654         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
7655         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
7656         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
7657         when using 'exit' in a test; C99 requires that 'exit' be declared.
7659 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
7661         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
7662         now prefers 'grep' implementations that accept -e.
7663         (Limitations of Usual Tools): Describe problems of traditional
7664         egrep and fgrep with long input lines, and of traditional grep
7665         with -e.
7666         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
7667         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
7668         All callers changed.  Append /usr/xpg4/bin to the PATH, for
7669         Solaris.
7670         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
7671         the user with complaints about multiple -e options.
7672         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
7673         Define it with AC_PROG_GREP.
7674         * configure.ac (AC_PROG_GREP): Add.
7675         * lib/freeze.mk (GREP): New macro.
7677 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
7679         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
7680         a possible candidate only after all others fail, rather than
7681         consulting it first.  This improves backward compatibility by
7682         better reflecting the way shell selection occurred in previous
7683         versions of Autoconf, and should help to avoid triggering latent
7684         problems in other packages, such as the one in Automake where zsh
7685         is not handled robustly:
7686         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
7687         Although it is not Autoconf's responsibility to work around
7688         problems in Automake, it nevertheless makes sense to avoid
7689         introducing unnecessary incompatibilites.
7691 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
7692             Gary V. Vaughan  <gary@gnu.org>
7694         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
7695         how deeply nested we are when a suitable tool is found, set the
7696         ac_path_TOOL_found flag.
7697         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
7698         nested we are in this macro.  Break out of all 3 nested loops if
7699         ac_path_TOOL_found is set.
7701 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
7703         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
7704         of the _AS_PATH_WALK loop too if GNU flavor is found.
7706 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
7708         * doc/autoconf.texi (Limitations of Make): Update documentation
7709         for `$<'.  New entry `Long lines', based on a report from Simon
7710         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
7711         paragraph about DJGPP, based on a mail from Richard Dawe.
7713 2004-04-20  Paul Eggert  <eggert@twinsun.com>
7715         * tests/c.at (C keywords): Don't assume that GCC supports
7716         "restrict" and "inline", as sufficiently-old GCC versions do not
7717         (also, GCC configured to be in pedantic C89 mode does not).
7718         Problem reported by Sumit Pandya in:
7719         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
7721         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
7722         consider -g to work if it generates warnings when plain compiles
7723         don't.  Problem reported by Braden McDaniel in:
7724         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
7726         * doc/autoconf.texi (Slashes): New section, to document a problem
7727         reported by Jim Meyering in:
7728         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
7730         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
7731         linker output files before linking, to work around IRIX 6 linker bug.
7732         Problem reported by Rainer Orth in:
7733         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
7735 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
7737         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
7738         best tool so far counter rely on the tool path variable name to
7739         avoid checks for one tool being affected by the results of running
7740         the length check on a previous tool.
7742         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
7743         match expression argument, as different greps have different
7744         regular expression flavours.
7745         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
7746         literals.
7747         (AC_PROG_EGREP): Pass 'EGREP$'.
7748         (AC_PROG_GREP): Pass 'GREP$'.
7750 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
7752         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
7753         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
7755 2004-03-29  Paul Eggert  <eggert@twinsun.com>
7757         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
7758         Types, Specific Compiler Characteristics, System Services,
7759         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
7760         etc. consistently instead of 'long', 'short', 'unsigned' etc.
7761         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
7762         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
7763         Likewise.
7764         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
7765         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
7766         AC_TYPE_OFF_T): Likewise.
7767         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
7768         Likewise.
7770         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
7771         pacify libtool 1.5.2.  Fix quoting problems in sed command.
7773 2004-03-28  Paul Eggert  <eggert@twinsun.com>
7775         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
7776         now defines HAVE_DECL_TZNAME if it is declared, when
7777         HAVE_STRUCT_TM_TM_ZONE is not defined.
7778         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
7779         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
7780         for HAVE_TZNAME.
7782 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
7784         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
7785         superfluous backslashing of quotes (") in sed expressions;
7786         thanks to Paul Eggert.
7788 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
7790         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
7791         Fortran compiler is ifort, also added pghpf; thanks to Nelson
7792         H. F. Beebe for the bug report.
7794 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
7796         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
7797         quoted -cmdline argument in Portland Group compiler (bug
7798         reported by Jeffrey J. Barteet).
7800 2004-03-25  Kevin Ryde  <user42@zip.com.au>
7802         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
7803         (Run Time): ... here, where it's now mentioned.
7805 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
7807         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
7808         inherits from language Autoconf-without-aclocal-m4.
7809         (Customizing autom4te): Adjust example; the cache must now be
7810         disabled for language Autoconf-without-aclocal-m4.
7812 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
7813             Nathanael Nerode  <neroden@twcny.rr.com>
7815         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
7816         AC_CHECK_TOOLS): Warn if a cross-tool is found without
7817         a prefix.
7818         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7819         AC_CHECK_TARGET_TOOLS): New macros.
7820         * doc/autoconf.texi (Generic Programs): Document
7821         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7822         AC_CHECK_TARGET_TOOLS, and warn for future changes
7823         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
7824         AC_CHECK_TOOLS.
7825         (Specifying Names): Document the reason for these future
7826         behavioral changes.
7827         * tests/mktests.sh: Do not generate tests for the
7828         new macros.
7829         * NEWS: Document these changes.
7831         * doc/autoconf.texi: Avoid macros with unbraced arguments,
7832         they make TeX hang up.
7834 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
7836         * NEWS: New macro AC_CHECK_ALIGNOF.
7837         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
7838         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
7839         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
7840         vowel.
7841         (AC_CHECK_ALIGNOF): New macro.
7842         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
7843         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
7844         those for sizeof.
7846 2004-03-03  Paul Eggert  <eggert@twinsun.com>
7848         * bin/Makefile.am (edit): Don't use $< in a context where
7849         POSIX doesn't require support for it.  Use $@.in instead.
7850         Problem reported by Anthony N. Frasso in
7851         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
7852         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
7854 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
7856         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
7857         from the next generation of Libtool.
7858         * lib/autom4te.in (Autoreconf-preselections): Ditto.
7860 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
7862         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
7863         is not always thread-safe.  Report from Nathanael Nerode.
7865 2004-02-18  Paul Eggert  <eggert@twinsun.com>
7867         Fix a dependencies problem, stemming from a Autoconf 2.59 build
7868         problem on QNX reported by Stephen Rasku in
7869         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
7871         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
7872         $(m4sh_m4f_dependencies); this removes a FIXME.
7873         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
7874         (MAINTAINERCLEANFILES): Split into pieces,
7875         one per related section.  Add $(srcdir)/wrapper.in.
7877 2004-02-09  Paul Eggert  <eggert@twinsun.com>
7879         * doc/autoconf.texi (Setting Output Variables): Emphasize that
7880         AC_SUBST provides no portable way to escape literal newlines.
7882         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
7883         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
7884         Darwin uses -lcrt2.o and there's little point to cataloging all
7885         the system variants.  Partial fix reported by Andreas Waechter in:
7886         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
7887         for bug reported by Nelson H. F. Beebe in:
7888         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
7890 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
7892         * doc/autoconf.texi (AU_DEFUN): Fix English,
7893         suggested by Paul Eggert.
7894         * lib/autoconf/autoupdate.m4: Correct reference to
7895         acobsolete.m4, suggested by Alexandre Duret-Lutz.
7897 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
7899         * bin/autoupdate.in: Define __file__ so that warnings
7900         refer to the correct file.
7901         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
7902         the behavior of the third argument.
7903         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
7904         correctly the behavior of the third argument.  Document
7905         what the three macros that AU_DEFUN defines do.  Fix
7906         warning message when the third argument includes $0
7907         (reported by Alexandre Duret-Lutz).
7909 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
7910             Eric Sunshine  <sunshine@sunshineco.com>
7911             Paul Eggert  <eggert@twinsun.com>
7913         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
7914         (AS_INIT): Output shell initialization there. Removed optional
7915         parameter. Expand _AS_SHELL_FN_SPY.
7916         (AS_INIT_WITH_SHELL_FN): Removed.
7917         (_AS_SHELL_FN_SPY): New macro.
7918         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
7919         macros.
7920         (AS_SHELL_SANITIZE): Remove loop to find better shell
7921         and documentation for the parameter.
7922         (_AS_DETECT_BETTER_SHELL): Move it here.
7923         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
7924         (_AS_RUN): Move it here, support testing with eval.
7925         (AS_REQUIRE_SHELL_FN): Require shell functions when
7926         it is used.
7927         (_AS_LINENO_WORKS): Put around braces, we do not
7928         trigger the bash bug anymore.
7929         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
7930         use AS_INIT_WITH_SHELL_FN.
7931         * bin/autoconf.in, tests/wrapper.in: Regenerated.
7933 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
7935         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
7936         * doc/autoconf.texi: Don't say that the third parameter
7937         is broken.
7938         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
7939         (AU_DEFUN): Honor the third parameter, create autoupdate
7940         macros with AU_DEFINE.
7941         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
7942         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
7943         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
7944         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
7945         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
7946         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
7947         AC_XENIX_DIR): Likewise.
7948         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
7949         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
7950         * lib/autoconf/status.m4: Remove FIXME.
7951         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
7952         that the macro is not present anymore in the updated
7953         configure.ac.
7954         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
7955         of autoupdate.
7957 2004-01-28  Paul Eggert  <eggert@twinsun.com>
7959         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
7960         copyright years.
7961         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
7962         2003 (except 1997) to the list of copyright years.  This undoes
7963         the 2003-05-22 change, which removed the older years from the list.
7964         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
7966 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
7967             Albert Chin-A-Young  <china@thewrittenword.com>
7969         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
7970         grep or ggrep program in PATH that accepts as long lines as
7971         possible.
7972         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
7973         AC_PROG_GREP.
7974         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
7975         egrep and fgrep respectively if $GREP -E/-F don't work.
7976         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
7977         _AC_PROG_GREP, and AC_PROG_SED.
7978         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
7979         longest input length accepted by a command.
7980         (AC_PROG_SED): Use it.
7981         * doc/autoconf.texi (Particular Programs): Document the changes.
7982         * NEWS: Updated.
7984 2004-01-27  Paul Eggert  <eggert@twinsun.com>
7986         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
7987         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7988         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
7989         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
7991         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
7992         bin/autoconf.in, config/Makefile.in, config/config.guess,
7993         config/config.sub, config/install-sh, config/mdate-sh,
7994         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
7995         lib/Makefile.in, lib/Autom4te/Makefile.in,
7996         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
7997         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
7998         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
7999         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
8000         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
8001         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
8002         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
8003         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
8004         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
8005         tests/actypes.at: Regenerate and/or sync with original
8006         sources.
8008 2004-01-26  Paul Eggert  <eggert@twinsun.com>
8010         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
8011         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
8012         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
8013         not <inttypes.h>.  Problem reported by Tim Mooney in
8014         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
8015         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
8016         Likewise.
8018         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
8019         otherwise "make check" fails because it forbids cmp (I guess
8020         because cmp treats files as binary on DOS-like systems).
8022         * tests/mktests.sh: Update copyright date to 2004, since some tests
8023         have changed in 2004.
8025 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
8027         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
8028         non-truncating sed or gsed program in PATH.
8029         * tests/acprograms.at: Add it.
8030         * doc/autoconf.texi (Particular Programs): Document it.
8031         * NEWS: Updated.
8033 2004-01-15  Paul Eggert  <eggert@twinsun.com>
8035         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
8036         -std1 disables some useful extensions on Tru64.  Problem reported
8037         by N. Lichtmaier in
8038         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
8040 2004-01-14  Paul Eggert  <eggert@twinsun.com>
8042         * doc/autoconf.texi (Programming in M4sh): Document that
8043         AS_MKDIR_P succeeds if the destination is a symbolic link
8044         to an existing directory.
8045         (Limitations of Usual Tools): Note that mkdir -p might not
8046         succeed on symlinks to directories.
8048 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
8050         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
8051         * bin/autoheader.in: Grammar fix in message.
8052         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
8053         Test for dir before calling mkdir -p.  (trivial changes)
8055 2004-01-13  Eric Blake  <ebb9@byu.net>
8057         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
8058         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
8060 2004-01-10  Jim Meyering  <jim@meyering.net>
8062         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
8064 2004-01-09  Paul Eggert  <eggert@twinsun.com>
8066         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
8067         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
8068         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
8069         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
8070         AC_COMPILE_IFELSE, since we now assume our caller invokes
8071         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
8072         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
8073         of AC_RUN_IFELSE; this avoids the warning mentioned above.
8074         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
8076 2004-01-07  Paul Eggert  <eggert@twinsun.com>
8078         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
8079         `"'...'"`, as it's confusing (and I suspect it may not work on
8080         some platforms).  The code was incorrect anyway, as it assumed
8081         that \$ evaluated to itself in that context.  Reported by
8082         Alexandre Duret-Lutz.
8084 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
8086         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
8087         and _LT_AC_TAGCONFIG.
8089 2004-01-06  Paul Eggert  <eggert@twinsun.com>
8091         * doc/autoconf.texi (One Macro Call): Fix an incorrect
8092         example, and add more examples.  Reported by Eric Sunshine.
8094 2004-01-05  Paul Eggert  <eggert@twinsun.com>
8096         * doc/autoconf.texi (Limitations of Usual Tools):
8097         Remove warning against "rm -fr" introduced yesterday; it
8098         was a false alarm.
8100         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
8101         autoscan, autoupdate, ifnames): Don't use chmod -w.
8102         * lib/Makefile.am (autom4te.cfg): Likewise.
8103         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
8104         "chmod -w".
8106 2004-01-04  Paul Eggert  <eggert@twinsun.com>
8107             Paolo Bonzini  <bonzini@gnu.org>
8109         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
8110         by doing lineno substitution only on lines containing "$LINENO".
8112 2004-01-04  Paul Eggert  <eggert@twinsun.com>
8114         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
8115         Use "rm -f" to remove conftest.sed, not plain "rm".
8116         Bug reported by David Relson in
8117         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
8119         * Makefile.am (autom4te-update):
8120         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
8121         * Makefile.maint (my-distcheck, do-po-update): Likewise.
8122         * doc/autoconf.texi (Guidelines): Likewise.
8123         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
8124         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
8125         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
8126         * lib/autotest/general.m4 (AT_INIT): Likewise.
8127         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
8128         * tests/Makefile.am (clean-local): Likewise.
8129         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
8130         srcdir): Likewise.
8131         * doc/autoconf.texi (Limitations of Usual Tools):
8132         Warn against "rm -fr".
8134 2004-01-03  Paul Eggert  <eggert@twinsun.com>
8136         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
8137         -c -o might not work.  From a suggestion by Kevin Ryde.
8138         (C Compiler, Generating Sources, Limitations
8139         of Usual Tools, Limitations of Make, Making testsuite Scripts):
8140         Don't put '-o' after non-options, as POSIX doesn't allow this.
8141         Mention that cc's name might be gcc or c89 or whatever.
8143 2004-01-04  Kevin Ryde  <user42@zip.com.au>
8145         * doc/autoconf.texi: Add various further index entries.
8147 2003-12-29  Paul Eggert  <eggert@twinsun.com>
8149         * bin/autoreconf.in (autoreconf_current_directory):
8150         Fix typo: mkdir without umask arg.
8152 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
8154         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
8155         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
8156         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
8157         explanation clearer.
8159 2003-12-24  Andreas Schwab  <schwab@suse.de>
8161         * doc/autoconf.texi (Default Includes): Fix misspelling of
8162         AC_INCLUDES_DEFAULT.
8164 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
8166         * configure.ac: Test if sh -n works.
8167         * configure: Regenerate.
8168         * tests/atlocal.in: Store the result here.
8169         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
8170         tools.at, looking in atlocal's ac_cv_sh_n_works instead
8171         of explicitly testing.
8172         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
8173         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
8174         * tests/tools.at (Syntax of the shell scripts): Simplify
8175         using AT_CHECK_SHELL_SYNTAX.
8176         (Syntax of the Perl scripts): Remove definition of
8177         AT_CHECK_PERL_SYNTAX.
8179 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
8181         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
8182         stderr to /dev/null.
8183         * bin/autoconf.in: Regenerate.
8184         * bin/wrapper.in: Regenerate.
8186 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
8188         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
8189         Extracted from AS_SHELL_SANITIZE.
8190         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
8191         macros.
8192         (AS_SHELL_SANITIZE): Move reinvocation code from
8193         _AS_LINENO_WORKS, use it to find out if shell
8194         functions work.
8195         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
8196         does not work.
8197         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
8198         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
8199         was called.
8200         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
8201         * bin/autoconf.in: Regenerate.
8202         * tests/wrapper.in: Regenerate.
8203         * tests/tools.at: Test the syntax of tests/autoconf
8204         and tests/testsuite.
8206 2003-11-24  Akim Demaille  <akim@epita.fr>
8208         * config/announce-gen (&print_locations, &print_signatures)
8209         (&sizes): New.
8210         Use them.
8211         No longer rely on Gnus to inline the list of signatures: compute
8212         them on the fly.
8214 2003-11-24  Akim Demaille  <akim@epita.fr>
8216         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
8217         override some files.
8218         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
8219         From Debian Autoconf 2.58.
8221 2003-11-24  Akim Demaille  <akim@epita.fr>
8223         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
8224         uses.
8225         From Debian Autoconf 2.58.
8227 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
8229         * TODO: Remove already done things.  Update the part about finding
8230         tools for the target.
8232 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
8234         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
8235         Make wording more consistent.
8236         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
8237         Explain the transition better.
8238         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
8239         the transition better.
8241 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
8243         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
8244         parameter of AU_DEFUN.
8245         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
8246         (AU_DEFUN): Remove the third parameter, it was not used.
8247         Use AC_DEFUN directly, not AU_DEFINE.
8248         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
8249         the expanded body, consistently with other macros such as AC_USG.
8251 2003-11-17  Paul Eggert  <eggert@twinsun.com>
8253         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
8254         into the initial confdefs.h, to work around a bug in NextStep 3.3
8255         patch 3 reported by Eric Sunshine.
8257 2003-11-15  Kevin Ryde  <user42@zip.com.au>
8259         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
8260         than $target since the latter is not usual, add guidelines on when to
8261         use or not use the system type.
8263 2003-11-12  Derek Price  <derek@ximbiot.com>
8265         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
8266         typo misrepaired by an auto-spellcheck.
8268 2003-11-12  Akim Demaille  <akim@epita.fr>
8270         * bin/autoreconf.in (&parse_args): Don't call automake with
8271         --force-missing unless it actually supports it.
8272         From Debian #219336.
8274 2003-11-12  Akim Demaille  <akim@epita.fr>
8276         * configure.ac: Bump to 2.59a.
8277         Require 2.59.
8279 2003-11-06  Akim Demaille  <akim@epita.fr>
8281         Version 2.59.
8283 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
8285         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
8286         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
8287         and ac_abs_top_srcdir are absolute paths.
8288         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
8290 2003-11-05  Akim Demaille  <akim@epita.fr>
8292         * configure.ac: Bump to 2.58a.
8294 2003-11-05  Kevin Ryde  <user42@zip.com.au>
8296         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
8297         it provokes a warning from makeinfo about looking like a cross
8298         reference in info output.
8300         * doc/autoconf.texi (Function Portability): Add notes on signal
8301         handler return type, as per AC_TYPE_SIGNAL.
8303 2003-11-04  Akim Demaille  <akim@epita.fr>
8305         Version 2.58.
8306         * doc/standards.texi: Update from master.
8308         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
8310 2003-11-04  Akim Demaille  <akim@epita.fr>
8312         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
8313         computing the absolute path to d1 in the source hierarchy: it may
8314         not exist at all.  So don't cd into it.
8315         From Alexandre Duret-Lutz.
8316         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
8318         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
8319         From Paul Eggert, but named after Perl's IO::Spec->catfile.
8320         * doc/autoconf.texi (Programming in M4sh): Document.
8321         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
8323 2003-11-03  Pavel Roskin  <proski@gnu.org>
8325         * doc/autoconf.texi (Generic Structure Checks): Describe
8326         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
8328 2003-10-31  Akim Demaille  <akim@epita.fr>
8330         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
8331         (GNU Fortran): New.
8332         * doc/autoconf.texi (Language Choice): Document.
8333         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
8334         the current language is Fortran.
8336 2003-10-31  Akim Demaille  <akim@epita.fr>
8338         * bin/autom4te.in (&freeze): Use a less likely warning separator
8339         than `\n\n', so that `\n\n\n' is valid in warnings.
8340         Reported by Steve Huston.
8342 2003-10-28  Akim Demaille  <akim@epita.fr>
8344         * Makefile.cfg (local_updates, executable-update): Tweak to be
8345         robust to parallel makes.
8346         Suggested by Alexandre Duret-Lutz.
8348 2003-10-27  Akim Demaille  <akim@epita.fr>
8350         * Makefile.cfg (executable-update): New.
8351         (local_updates): Call it.
8353 2003-10-27  Akim Demaille  <akim@epita.fr>
8355         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
8356         Don't remove core.* as it may remove valid user files.
8357         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
8358         (AC_FUNC_UTIME_NULL): Likewise.
8360 2003-10-23  Akim Demaille  <akim@epita.fr>
8362         Version 2.57g.
8363         * config/config.guess, config/config.sub: Upgrade from masters.
8365 2003-10-23  Akim Demaille  <akim@epita.fr>
8367         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
8368         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
8369         hand...
8371 2003-10-23  Akim Demaille  <akim@epita.fr>
8373         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
8374         Don't forget to remove conftest.err.
8376 2003-10-23  Akim Demaille  <akim@epita.fr>
8378         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
8379         same object file in $LIBOBJS.
8380         Reported by Alexandre Duret-Lutz & Derek Robert Price.
8381         * doc/autoconf.texi (Generic Functions): Adjust.
8383 2003-10-20  Paul Eggert  <eggert@twinsun.com>
8385         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
8386         Use 'eval', so that the resulting configure scripts work even if
8387         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
8389 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
8391         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
8392         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
8393         (_AC_LINK_IFELSE): Check the werror flag.
8394         * doc/autoconf.texi (Generic Compiler Characteristics): Document
8395         AC_LANG_WERROR.
8396         * NEWS: Mention it.
8398 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
8400         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
8401         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
8402         override AC_LINK_IFELSE.
8404 2003-10-15  Paul Eggert  <eggert@twinsun.com>
8406         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
8407         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
8408         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
8409         Mention /usr/dt/bin/dtksh on Solaris.
8410         (Shell Substitutions): Warn about $((...)).
8411         (Parentheses): New section.
8413 2003-10-15  Kevin Ryde  <user42@zip.com.au>
8415         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
8416         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
8418 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
8420         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
8421         cross test.
8423 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
8425         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
8426         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
8428 2003-10-10  Andreas Schwab  <schwab@suse.de>
8430         * bin/autoheader.in: Avoid empty first line in --version and
8431         --help output.
8432         * bin/ifnames.in: Likewise.
8434 2003-10-09  Paul Eggert  <eggert@twinsun.com>
8436         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
8437         Issue a more-informative diagnostic.
8438         Problems reported by Eric Sunshine.
8440 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
8442         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
8443         -mGLOB_options_string stuff for Intel ifc, which can cause
8444         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
8445         pattern-matching instead of grep.
8447 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
8449         * doc/autoconf.texi: Document new FC Fortran macros.
8451 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
8453         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
8454         that future autopoint/aclocal/automake/autoreconf will be able
8455         to trace to find where to install local m4 macros.
8456         * doc/autoconf.texi (Input): Document it.
8457         * NEWS: Updated.
8459 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
8461         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
8462         -lcrtbegin.o to list of ignored flags and fix underquoting of
8463         -lcrt[01].o.
8465 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
8467         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
8468         cache variable instead of $G77 to decide whether to include -O2,
8469         since $G77 is specific to Fortran 77.
8471 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
8473         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
8474         free" flag.  Re-order flags tested into rough order of popularity.
8476 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
8478         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
8479         arguments so that it can be used with syntax identical to
8480         AC_PROG_F77, and so that we can more easily decide to
8481         remove/deprecate the DIALECT optional argument in the future if it
8482         proves troublesome.
8483         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
8484         non-freeform-supporting compilers.  Document freeform flags.
8486 2003-10-03  Akim Demaille  <akim@epita.fr>
8488         * configure.ac: Look for emacs, not macs.
8489         Reported by Eric Sunshine.
8491 2003-10-03  Akim Demaille  <akim@epita.fr>
8493         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
8494         * bin/autoreconf.in (autoreconf_current_directory): Create the
8495         AUX_DIR if needed, for sake of automake --add-missing etc.
8496         Suggested by Alexandre Duret-Lutz.
8498 2003-10-03  Akim Demaille  <akim@epita.fr>
8500         * configure.ac: Quotation and formatting changes.
8501         (EMACS): Don't set it if it is not recent enough to support
8502         autoconf-mode.el.
8503         From Eric Sunshine.
8505 2003-10-02  Akim Demaille  <akim@epita.fr>
8507         * bin/ifnames.in (&scan_file): Skip C++ comments.
8508         From Jeremy Yallop.
8510 2003-10-01  Pavel Roskin  <proski@gnu.org>
8512         * doc/autoconf.texi (Particular Structure Checks):
8513         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
8515 2003-10-01  Akim Demaille  <akim@epita.fr>
8517         Version 2.57f.
8519 2003-09-30  Paul Eggert  <eggert@twinsun.com>
8521         * lib/Autom4te/XFile.pm: Use Errno.
8522         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
8523         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
8525 2003-09-30  Akim Demaille  <akim@epita.fr>
8527         * config/announce-gen (&print_news_deltas): Extracted from...
8528         (&print_changelog_deltas): here.
8529         (&news_file): Rename as...
8530         (@news_file): this.
8532 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
8534         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
8535         have been created when invoking the compiler.
8536         * tests/fortran.at (GNU Fortran 77): Quote $G77.
8538 2003-09-29  Akim Demaille  <akim@epita.fr>
8540         Version 2.57e.
8542         * config/mkinstalldirs: Upgrade.
8544 2003-09-28  Paul Eggert  <eggert@twinsun.com>
8546         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
8547         Problem reported by Lars J. Aas in
8548         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
8549         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
8550         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
8551         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
8553 2003-09-26  Akim Demaille  <akim@epita.fr>
8555         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
8556         directory for AC_CONFIG_COMMANDS' first argument exists.
8557         This makes valid the invocation of _AC_SRCPATH that follows.
8558         Reported by Eric Sunshine.
8559         * doc/autoconf.texi (Configuration Commands): Adjust.
8561 2003-09-26  Akim Demaille  <akim@epita.fr>
8563         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
8564         Reported by Ralf Corsepius.
8566 2003-09-26  Akim Demaille  <akim@epita.fr>
8568         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
8569         arguments.
8570         Actually, use AU_ALIAS.
8571         From Bruno Haible.
8573 2003-09-26  Paul Eggert  <eggert@twinsun.com>
8575         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
8576         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
8577         Problem reported by Eric Sunshine in:
8578         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
8580 2003-09-26  Akim Demaille  <akim@epita.fr>
8582         The test suite are sometimes assigning timings incorrectly.
8583         Reported by Henk Krus.
8584         Diagnosed by Nicolas Joly.
8586         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
8587         AT_help_all.
8588         Instead of making AT_help a sequence of assignments to grow
8589         $at_help_all, just make AT_help_all be the growing contents of
8590         $at_help_all, and make a single assignment in...
8591         (AT_INIT): here.
8592         (at_times_skip): Flip the meaning and rename as...
8593         (at_times_p): this.
8594         (AT_INIT): When summarizing the test that ran, remove
8595         $at_times_file after use, and check it is present before trying to
8596         use it.
8598 2003-09-25  Akim Demaille  <akim@epita.fr>
8600         Version 2.57d.
8602         * bin/Makefile.am (edit): Handle '@configure_input@'.
8603         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
8604         (ifnames): chmod -w.
8605         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
8606         executables, not bin/ executables!  Otherwise all the magic needed
8607         to find non installed files is turned off.  This caused a failure
8608         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
8609         as found in its environment (sent by tests/autoreconf): pointing
8610         to bin/autom4te that could not find its files.
8611         * tests/mktests.sh: Force the replacement of generated files, for
8612         the sake of "mv" program that are interactive when overwriting a
8613         -w file.
8614         * config/install-sh: Upgrade from CVS Automake.
8616 2003-09-23  Paul Eggert  <eggert@twinsun.com>
8618         * doc/autoconf.texi (Limitations of Builtins): Document test -h
8619         versus test -L issues.
8621 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
8622             Paul Eggert  <eggert@twinsun.com>
8624         Trivial change to support GCC's configuration procedure.
8625         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
8626         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
8627         about inconsistency if the preprocessor is set to give errors for
8628         any warning.
8629         * doc/autoconf.texi (C Compiler Characteristics): Document this.
8631 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
8633         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
8634         and XFile.pm from Automake.
8635         * lib/Autom4te/XFile.pm: Update from Automake.
8637 2003-09-12  Akim Demaille  <akim@epita.fr>
8639         Version 2.57c.
8641 2003-09-12  Akim Demaille  <akim@epita.fr>
8643         * config/config.guess, config/config.sub, config/missing,
8644         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
8645         from masters.
8647 2003-09-12  Akim Demaille  <akim@epita.fr>
8649         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
8650         not asm/types.h.
8652 2003-09-11  Akim Demaille  <akim@epita.fr>
8654         * doc/autoconf.texi (Header Portability): linux/random.h.
8655         From Peter Hendrickson.
8657 2003-09-10  Akim Demaille  <akim@epita.fr>
8659         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
8660         willing to edit the output files.
8662 2003-09-10  Akim Demaille  <akim@epita.fr>
8664         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
8665         and AC_FC_FREEFORM.
8666         * tests/mktests.sh: Skip AC_FC_SRCEXT.
8667         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
8669 2003-09-09  Akim Demaille  <akim@epita.fr>
8671         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
8672         Reported by Gary Vaughan.
8673         * bin/autom4te.in (handle_m4): Likewise.
8675 2003-09-09  Akim Demaille  <akim@epita.fr>
8677         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
8678         trailing files.
8680 2003-09-07  Paul Eggert  <eggert@twinsun.com>
8682         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
8683         Improve the accuracy of the wording about obsolescence.
8684         From a suggestion by Ian Lance Taylor in
8685         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
8687 2003-09-05  Paul Eggert  <eggert@twinsun.com>
8689         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
8690         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
8692 2003-09-04  Akim Demaille  <akim@epita.fr>
8694         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
8695         AC_FUNC_WAIT3.
8697 2003-09-04  Akim Demaille  <akim@epita.fr>
8699         * bin/autom4te.in: Use &fatal where more appropriate than &error.
8700         (freeze): When exiting, use $exit_code.
8701         * lib/autoconf/fortran.m4: Comment changes.
8703 2003-09-04  Akim Demaille  <akim@epita.fr>
8705         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
8707 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
8709         Add support for newer Fortran dialects.  The F77 interface is
8710         unchanged, and continues to support Fortran 77.  New FC macros
8711         correspond to all the old F77 macros, with output variables FC,
8712         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
8713         available dialect, but older dialects can be specified.  There are
8714         new macros AC_FC_SRCEXT to set the source extension, and
8715         AC_FC_FREEFORM to accept free-form source files.
8717         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
8718         New macros.
8719         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
8720         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
8721         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
8722         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
8723         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
8724         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
8725         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
8726         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
8727         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
8728         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
8729         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
8730         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
8731         AC_FC_SRCEXT, AC_FC_FREEFORM):
8732         New macros.
8733         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
8734         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
8735         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
8736         Rewrite in terms of the above.
8737         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
8738         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
8739         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
8740         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
8742 2003-09-02  Paul Eggert  <eggert@twinsun.com>
8744         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
8745         Document problems with timestamp resolution that 'make', 'cp -p', and
8746         'touch -r' have.
8748 2003-08-27  Akim Demaille  <akim@epita.fr>
8750         * tests/m4sugar.at (cross_warning): Make sure to enable the
8751         output, so that we can track spurious m4sugar output.
8752         * tests/local.at: Require 2.57.
8753         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
8754         are defaulted by AT_CHECK anyway.
8755         Use AT_CHECK_AUTOM4TE.
8756         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
8757         missing dnl.
8759 2003-08-27  Akim Demaille  <akim@epita.fr>
8761         * bin/autoheader.in: Issue the "Using auxiliary..." message only
8762         when -Wobsolete is set.
8763         Set it on by default.
8764         Suggested by Klee Dienes.
8766 2003-08-27  Akim Demaille  <akim@epita.fr>
8768         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
8769         documentation.
8770         From Guido Draheim.
8772 2003-08-26  Akim Demaille  <akim@epita.fr>
8774         * doc/autoconf.texi (Output): Make clear that one can run code
8775         after AC_OUTPUT.
8777 2003-08-25  Akim Demaille  <akim@epita.fr>
8779         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
8780         CVS Bison.
8782 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
8784         * bin/autoreconf.in (parse_args): Do not pass --no-force to
8785         Automake versions prior to 1.8.
8787 2003-08-25  Akim Demaille  <akim@epita.fr>
8789         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
8790         From Ville Karaila.
8792 2003-08-24  Akim Demaille  <akim@epita.fr>
8794         * configure.ac: Bump to 2.57c.
8796 2003-08-22  Akim Demaille  <akim@epita.fr>
8798         Version 2.57b.
8800         * Makefile.cfg (local-checks-to-skip): New.
8801         * Makefile.maint (local-check): Rename as...
8802         (local-checks-available): this.
8803         (local-check): New.
8805         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
8806         * configure.ac: Require Automake 1.7.6.
8808 2003-08-22  Akim Demaille  <akim@epita.fr>
8810         Output stack traces in warnings.
8812         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
8813         Replace the former...
8814         (m4_warn): Pass the call stack to _m4_warn.
8815         * bin/autom4te.in: Adjust to output the call stack.
8816         * tests/m4sugar.at (m4@&t@_warn): Adjust.
8818 2003-08-22  Akim Demaille  <akim@epita.fr>
8820         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
8821         * bin/autom4te.in: Adjust.
8823 2003-08-21  Akim Demaille  <akim@epita.fr>
8825         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
8826         (&verbose): Remove.
8827         (&getopt): Adjust the note and verb channels, depending upon
8828         --verbose.
8829         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
8830         * bin/autoupdate.in: Adjust.
8831         Use &verb, not &verbose.
8833 2003-08-21  Akim Demaille  <akim@epita.fr>
8835         * bin/autoheader.in (&parse_args): Use &parse_warnings and
8836         &parse_WARNINGS.
8837         ($help): Use Autom4te::ChannelDefs::usage.
8838         * bin/autoscan.in: Use Autom4te::ChannelDefs.
8839         * lib/Autom4te/General.pm: Don't export error: you don't own it.
8841 2003-08-21  Akim Demaille  <akim@epita.fr>
8843         First stab at preserving warnings between calls to autom4te,
8844         including when the cache is used.
8846         There are still several issues: (i) there are too many runs of m4
8847         (one for include, one for warnings, and some more), (ii) warnings
8848         spreading on several lines are not handled gracefully, (iii) the
8849         code meant to have the call stack display for errors does not work
8850         (its handling should move from m4 to autom4te).
8852         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
8853         Use them.
8854         (@preselect): Add m4_warn.
8855         ($exit_status): Remove, use $exit_code.
8856         ($help): Use Autom4te::ChannelDefs::usage.
8857         (&handle_m4): No longer define the m4_warnings.
8858         At each run, extract and report the warnings.
8859         Always cache the result, including if the exit status is on
8860         failure, since if nothing changes, we should result in the same
8861         failure, hence we can use the cache.
8862         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
8863         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
8864         Remove.
8865         (m4_warn): Redefine as a do-nothing: it is its invocation that
8866         matters, as warnings are now reported via traces.
8867         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
8868         the contents of m4_warn: make it _call_ m4_warn, so that tracing
8869         the latter reveals calls to the former.
8871         Adjust the tests.
8873         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
8875 2003-08-21  Akim Demaille  <akim@epita.fr>
8877         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
8878         Use them.
8880 2003-08-21  Akim Demaille  <akim@epita.fr>
8882         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
8883         forward order.
8884         * lib/Autom4te/ChannelDefs.pm: Doc typos.
8885         (&parse_warnings): Accept a list of warning requests.
8886         (&usage): Return a string, not a side effect.
8887         (cross): New warning category.
8889 2003-08-21  Akim Demaille  <akim@epita.fr>
8891         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
8892         (&require_configure_ac): Accept an optional directory argument.
8893         ($configure_ac): Remove.
8894         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
8895         (&catfile): Remove.
8896         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
8897         * bin/autoscan.in: Adjust.
8899 2003-08-20  Akim Demaille  <akim@epita.fr>
8901         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
8902         Reported by Alexandre Duret-Lutz.
8904 2003-08-20  Akim Demaille  <akim@epita.fr>
8906         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
8907         * bin/autom4te: Adjust.
8908         In particular, be Autoconf tools are really silent when properly
8909         working, bind the verbosity of the 'note' channel to $verbose.
8910         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
8911         (&xsystem, &contents): Remove, since they are exported by...
8912         * lib/Autom4te/FileUtils.pm: this.
8913         More perldoc.
8914         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
8915         * lib/Autom4te/FileUtils.pm: here.
8917 2003-08-20  Akim Demaille  <akim@epita.fr>
8919         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
8920         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
8921         from CVS Automake.
8923 2003-08-20  Akim Demaille  <akim@epita.fr>
8925         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
8926         (autom4te-update): New.
8927         * Makefile.cfg (update): Bind autom4te-update.
8929 2003-08-19  Derek Price  <derek@ximbiot.com>
8931         * lib/autotest/general.m4: Comment various HELP_* diversions.
8932         (PARSE_ARGS_BEGIN): New section for option parsing related
8933         initialization.
8934         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
8935         package specific options and associated help.
8937 2003-08-19  Akim Demaille  <akim@epita.fr>
8939         * config/announce-gen, Makefile.cfg: New.
8940         * Makefile.am: Adjust.
8941         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
8943 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
8945         * lib/autom4te.in (Automake-preselections): Preselect
8946         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
8947         and m4_sinclude.
8949 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
8951         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
8952         (Autoconf-without-aclocal-m4): ... this new language.
8953         * doc/autoconf.texi (autom4te Invocation): Mention
8954         Autoconf-without-aclocal-m4.
8956 2003-08-18  Derek Price  <derek@ximbiot.com>
8958         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
8959         RUN-IF-PASS optional arguments.
8961 2003-08-18  Derek Price  <derek@ximbiot.com>
8963         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
8965 2003-08-16  Derek Price  <derek@ximbiot.com>
8967         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
8968         STDOUT & STDERR arguments.
8970 2003-08-14  Derek Price  <derek@ximbiot.com>
8972         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
8973         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
8974         shorter column three.  Add DESCRIPTION to log file content.
8976 2003-08-13  Derek Price  <derek@ximbiot.com>
8978         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
8979         output.
8981 2003-08-12  Derek Price  <derek@ximbiot.com>
8983         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
8984         (AT_CHECK_NOESCAPE): Move core functionality to...
8985         (_AT_CHECK): ...this new macro.
8987 2003-08-07  Derek Price  <derek@ximbiot.com>
8989         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
8990         (AT_CHECK_NOESCAPE): ...to this new macro.
8992 2003-07-31  Paul Eggert  <eggert@twinsun.com>
8994         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
8995         in Bash 2.01.  Problem reported by Brian Gough in
8996         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
8998 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
9000         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
9001         -lcrt1.o, for OS X.  (trivial change)
9003 2003-07-07  Paul Eggert  <eggert@twinsun.com>
9005         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
9006         inside '#ifndef __cplusplus'.  Problem reported by
9007         Bob Friesenhahn.
9009 2003-07-06  Bill Clarke  <llib@computer.org>
9011         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
9012         'long', not 'int', for benefit of Sun's recent C++ compilers
9013         (trivial change).  See:
9014         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
9015         (This really should be 'intptr_t', not 'long', but that would
9016         take more work.)
9018 2003-06-25  Akim Demaille  <akim@epita.fr>
9020         * lib/Makefile.am (autom4te.cfg): Make it read only.
9021         Depend on Makefile since it contains substitutions.
9022         From Paolo Bonzini.
9023         * lib/autom4te.in (args): Add local.at? for Autotest args.
9024         This change was made on autom4te.cfg which is generated.
9025         Reported by Raja R. Harinath.
9027 2003-06-25  Akim Demaille  <akim@epita.fr>
9029         * doc/autoconf.texi (Header Portability): sys/mount.h.
9030         From Gareth McCaughan.
9032 2003-06-23  Akim Demaille  <akim@epita.fr>
9034         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
9035         not all of them.  This fixes 1. the fact that when testing
9036         Autoconf there are many many config.log, 2. the incorrect use of
9037         top_srcdir to find config.log.
9038         Don't mix the detailed output of failed test with the summary of
9039         failures.  Rather, append detailed log afterwards.
9041 2003-06-23  Akim Demaille  <akim@epita.fr>
9043         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
9044         always run: output config.log on $at_group_log.
9046 2003-06-23  Akim Demaille  <akim@epita.fr>
9048         * tests/torture.at (#define header templates): Don't use quotes in
9049         C++ comments as it puzzles Emacs' sh font-lock-mode.
9051 2003-06-23  Akim Demaille  <akim@epita.fr>
9053         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
9054         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
9055         * tests/atspecific.m4: Rename as...
9056         * tests/local.at: This.
9057         * tests/suite.at: Move the globals into...
9058         * tests/local.at: here.
9059         * tests/Makefile.am: Adjust.
9060         * doc/autoconf.texi (testsuite Scripts): Adjust.
9062 2003-06-21  Kevin Ryde  <user42@zip.com.au>
9064         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
9065         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
9066         ensuring we add -std1 for full-ANSI.
9068         * doc/autoconf.texi (hdrindex): New macro.
9069         Add index entries for portability of various standard header files.
9071 2003-06-20  Akim Demaille  <akim@epita.fr>
9073         * configure.ac: Bump to 2.57b.
9075 2003-06-20  Akim Demaille  <akim@epita.fr>
9077         Version 2.57a.
9079 2003-06-20  Akim Demaille  <akim@epita.fr>
9081         * bin/autom4te.in: Don't rely on $HOME being defined.
9082         Reported by Marc Espie as PR/233.
9084 2003-06-20  Akim Demaille  <akim@epita.fr>
9086         * lib/autotest/general.m4: Use at_times_file only if used.
9087         From Nicolas Joly.
9089 2003-06-20  Akim Demaille  <akim@epita.fr>
9091         * config/config.guess, config/config.sub, config/elisp-comp,
9092         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
9093         Update from masters.
9095 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
9097         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
9098         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
9099         (TEST_SCRIPT): New diversion.
9100         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
9101         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
9102         (AT_INIT): Support for expected failures.
9104 2003-06-02  Akim Demaille  <akim@epita.fr>
9106         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
9107         changes.
9108         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
9109         Autoconf nor Automake.
9110         (&contents): New, from Automake.
9111         PODify.
9113 2003-05-28  Paul Eggert  <eggert@twinsun.com>
9115         * NEWS, doc/autoconf.texi (Particular Functions),
9116         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
9117         is the inverse of localtime.
9119 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
9121         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
9122         (handle_exec_errors): New function.  Work around $! being
9123         altered by WEXITSTATUS.
9124         (xqx, xsystem): Use handle_exec_errors.
9126 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
9128         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
9129         Do not call `_exit()', simply modify `$?'.
9130         (xsystem): Reset $! before running system, and check it afterward.
9131         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
9132         63 for version mismatches.
9134 2003-05-23  Akim Demaille  <akim@epita.fr>
9136         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
9137         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
9138         the middle of a line).
9139         * lib/m4sugar/m4sugar.m4: Likewise.
9140         Remove useless spaces in comments.
9142 2003-05-23  Akim Demaille  <akim@epita.fr>
9144         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
9145         exit 63, so that we (or Automake's "missing") can tell the
9146         difference with a plain failure.
9147         * doc/autoconf.texi (Notices): Adjust.
9149 2003-05-23  Akim Demaille  <akim@epita.fr>
9151         * Makefile.am, bin/Makefile.am, config/Makefile.am,
9152         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
9153         White spaces cleanup.
9155 2003-05-22  Jim Meyering  <jim@meyering.net>
9156             Paul Eggert  <eggert@twinsun.com>
9158         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
9159         Remove `#include <stdlib.h>' from the list; we should never
9160         make confdefs.h include <stdlib.h> or <cstdlib>, because the
9161         resulting namespace pollution would cause other tests to fail.
9162         Configure scripts run with some older versions of g++ and HP's
9163         aCC would fail due to such an #include.  Problems reported by
9164         Matthew Mueller in <http://bugs.debian.org/120704> and by
9165         Keith Bostic in
9166         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
9167         In the test, use the test declaration before including <stdlib.h>,
9168         as that's closer to how it'll be used.
9170 2003-05-23  Akim Demaille  <akim@epita.fr>
9172         * doc/autoconf.texi (Header Portability): ucred.h.
9173         From Ian Redfern.
9175 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
9177         Overhaul Autotest's logging: generate separate log files
9178         in testsuite.dir/NNN/testsuite.log, and append them to
9179         testsuite.log instead of re-running the test verbosely.
9181         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
9182         file descriptor, write 0 to at_status_file instead of setting
9183         at_status=0, initialize some new variables (at_status_file,
9184         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
9185         to rerun the tests, instead append the at_group_log to the
9186         at_suite_log when a test fails.
9187         (AT_SETUP): pipe the test case's output into at_tee_pipe,
9188         with the AS_MESSAGE_LOG_FD redirected to stdout.
9189         (AT_CLEANUP): save the output status in $at_status_file
9190         and restore it, redirect the AS_MESSAGE_LOG_FD back to
9191         its original place.
9192         (AT_CHECK): since tests are run with a redirected stdout,
9193         and used to be re-run in verbose mode, turn some $at_verbose
9194         into echo, and don't redirect the output of testing stdout
9195         and stderr.
9197         * lib/autotest/autoconf.texi (testsuite Scripts): Update
9198         the name of the debugging directory and information about
9199         its contents.
9201 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
9203         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
9204         parameter.
9206 2003-05-22  Akim Demaille  <akim@epita.fr>
9208         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
9209         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
9210         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
9211         * lib/autoconf/status.m4: Fix and adjust copyright notices.
9213 2003-05-22  Akim Demaille  <akim@epita.fr>
9215         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
9216         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
9217         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9218         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
9219         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
9220         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
9221         * lib/autoconf/status.m4, lib/autoconf/types.m4,
9222         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
9223         * tests/atspecific.m4, tests/base.at, tests/compile.at,
9224         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
9225         * tests/tools.at, tests/torture.at:
9226         Whitespace clean up.
9227         Suggested by Jim Meyering.
9229 2003-05-22  Akim Demaille  <akim@epita.fr>
9231         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
9232         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
9233         Reported by Jim Meyering.
9235 2003-05-22  Akim Demaille  <akim@epita.fr>
9237         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
9238         Add AC_HELP_STRING  to the obsolete macros section.
9239         Typos.
9240         Use '@.' for sentences that ended in a capital letter.
9241         From Art Haas.
9243 2003-05-22  Akim Demaille  <akim@epita.fr>
9245         * config/config.guess, config/config.sub, config/elisp-comp,
9246         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
9247         * config/texinfo.tex, doc/standards.texi: Update from masters.
9249 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
9251         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
9252         it to eval.
9254 2003-05-21  Akim Demaille  <akim@epita.fr>
9256         * bin/autoupdate.in ($m4): Fix quotation.
9257         Reported by Martin Mokrejs.
9259 2003-05-19  Paul Eggert  <eggert@twinsun.com>
9261         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
9262         Remove non-ASCII characters.
9264 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
9266         * tests/semantics.at (AC_SEARCH_LIBS): New test.
9267         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
9268         AC_CHECK_HEADERS_NEW): New tests.
9270 2003-05-17  Akim Demaille  <akim@epita.fr>
9272         * lib/autoconf/functions.m4: Use the default includes so that
9273         memcmp be declared before being tested.
9274         Reported by Sander Niemeijer.
9275         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
9276         * doc/autoconf.texi (Default Includes): Document
9277         AC_INCLUDES_DEFAULT.
9279 2003-05-17  Akim Demaille  <akim@epita.fr>
9281         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
9282         * doc/autoconf.texi (Obsolete Macros): Adjust.
9283         Reported by Werner LEMBERG and Debian Bug 190886.
9285 2003-05-16  Akim Demaille  <akim@epita.fr>
9287         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
9288         user name space clashes.
9289         Reported by Bruno Haible.
9291 2003-05-16  Akim Demaille  <akim@epita.fr>
9293         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9294         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
9295         them uniform, and more robust to Perl special characters.
9296         Reported by Martin Mokrejs.
9298 2003-05-14  Akim Demaille  <akim@epita.fr>
9300         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
9302 2003-05-14  Akim Demaille  <akim@epita.fr>
9304         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
9305         linux/irda.h.
9307 2003-05-12  Akim Demaille  <akim@epita.fr>
9309         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
9310         message.
9311         From Matthias Andree.
9313 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
9315         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
9316         and truncate.
9318 2003-05-06  Akim Demaille  <akim@epita.fr>
9320         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
9321         longer updates aclocal.m4 if useless, (ii) if a file m4_included
9322         by aclocal.m4 is changed it might require the importing of another
9323         m4 extension file, i.e., aclocal must be run.
9325         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
9326         (&parse_args): Use --force with aclocal if required and supported.
9327         (&autoreconf_current_directory): Use &run_aclocal.
9329 2003-05-06  Akim Demaille  <akim@epita.fr>
9331         Lock autom4te's cache.
9333         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
9334         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
9335         argument instead of a file name, so that the request file remains
9336         open during the whole autom4te run.
9337         ($icache_file): New.
9338         (&freeze): Lock the $icache_file.
9340 2003-04-29  Derek Price  <derek@ximbiot.com>
9342         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
9343         seperator with m4_append_uniq().  It doesn't work.
9344         (AT_CLEANUP): Add `;' to end of at_help_all.
9345         (AT_INIT): Allow --keywords to be specified more than once.  When
9346         grepping $at_help_all for keywords, use the field and keyword
9347         seperators to ensure a complete keyword match.  Alter at_prev handling
9348         to support the new --keywords behavior.
9350 2003-04-27  Karl Berry  <karl@freefriends.org>
9352         * doc/autoconf.texi: Make the dir entries in the autoconf manual
9353         align better with others.  I also made some of the individual
9354         entries on one line, for brevity and to make it easier for me to
9355         sort my dir-example file in the Texinfo distribution :).
9357 2003-04-12  Jim Meyering  <jim@meyering.net>
9359         * NEWS: Mention the new macro.
9360         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
9361         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
9362         * tests/c.at: Test AC_C_RESTRICT.
9363         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
9365 2003-04-08  Akim Demaille  <akim@epita.fr>
9367         * bin/ifnames.in: Skip C++ comments.
9368         From Jeremy Yallop.
9370 2003-04-08  Akim Demaille  <akim@epita.fr>
9372         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
9373         From Ilya Zakharevich.
9375 2003-04-08  Akim Demaille  <akim@epita.fr>
9377         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
9378         net/if.h, stdlib.h.
9380 2003-04-01  Derek Price  <derek@ximbiot.com>
9382         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
9383         from Akim's checkin of 2003-03-29.
9385 2003-04-01  Derek Price  <derek@ximbiot.com>
9387         * tests/torture.at (Configuring subdirectories): Add missing
9388         close-quote for Akim's change from 2003-03-28.
9390 2003-04-01  Akim Demaille  <akim@epita.fr>
9392         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
9393         (AC, AT, MS): these.
9394         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
9395         New.
9396         Use them.
9397         * doc/Makefile.am (CLEANFILES): Adjust.
9398         (TEXI2DVI): Make it --batch.
9400 2003-03-31  Derek Price  <derek@ximbiot.com>
9402         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
9403         which removed the main loop.
9404         Thanks to Akim Demaille.
9406 2003-03-29  Akim Demaille  <akim@epita.fr>
9408         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
9409         that starts a GUI.
9410         From Ilya Zakharevich.
9412 2003-03-29  Akim Demaille  <akim@epita.fr>
9414         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
9415         documentation to read is Autoconf's.
9416         Suggested by Paul Eggert.
9418 2003-03-28  Akim Demaille  <akim@epita.fr>
9420         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
9421         reading the section "Present But Cannot Be Compiled" when the
9422         header causes problems.
9424 2003-03-28  Akim Demaille  <akim@epita.fr>
9426         * tests/torture.at (Configuring subdirectories): Require aclocal
9427         1.4, otherwise the test fails, as it does support configure.ac.
9428         This fixes the "test 40 failed" bug reports.
9430 2003-03-28  Akim Demaille  <akim@epita.fr>
9432         * doc/autoconf.texi (C Compiler): `#line' portability.
9433         From Paul Eggert and Nelson H. F. Beebe.
9435 2003-03-27  Derek Price  <derek@ximbiot.com>
9437         * lib/autotest/general.m4: Eliminate main loop and reorganize test
9438         layout in order to allow scripting around test groups.
9440 2003-03-27  Derek Price  <derek@ximbiot.com>
9442         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
9443         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
9444         use new diversions in preparation for accepting new arguments and
9445         allowing scripting around tests.
9446         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
9448 2003-03-26  Derek Price  <derek@ximbiot.com>
9450         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
9451         obsolete AC_HELP_STRING.
9452         (AC_HELP_STRING): AU_DEFUN to...
9453         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
9454         * tests/m4sh.at (AS_HELP_STRING): New test.
9456         * tests/acgeneral.at: Regenerated.
9458 2003-03-26  Derek Price  <derek@ximbiot.com>
9460         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
9461         sense.  Verbosify the diversion definitions comment.
9463 2003-03-26  Derek Price  <derek@ximbiot.com>
9465         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
9466         AS_PREPARE.
9468 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
9470         * doc/autoconf.texi (Present But Cannot Be Compiled):
9471         Grammar fixes and minor rewording. (trivial change)
9473 2003-03-06  Paul Eggert  <eggert@twinsun.com>
9475         Work around a problem noted by Nelson H. F. Beebe with coreutils
9476         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
9477         2002/05/09) rejects '#line 32768 "configure"' because the line
9478         number overflows.
9479         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
9480         #line directives.
9481         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
9482         * doc/autoconf.texi (Generating Sources): Document this.
9484 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
9486         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
9487         file name for the m4 program, when it has an "exe" file extension.
9488         DJGPP's error messages include the error code in brackets -
9489         remove the error code during normalization.
9491 2003-02-28  Akim Demaille  <akim@epita.fr>
9493         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
9495 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
9497         * doc/autoconf.texi (Limitations of Make): Remove the section
9498         about `$<' in inference rules, it was a bogus interpretation of
9499         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
9500         Tru64 make in the "target lookup" section.
9501         (Automake): Automake 1.5+ no longer requires special tools to be
9502         present on the developer's host.
9504 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
9506         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
9507         to a shell that can handle redirection or quoting correctly.
9508         Override SHELL with the shell detected by configure.
9509         Use of $^O suggested by Tim van Holder.
9510         * bin/autom4te.in (BEGIN): Likewise.
9511         * bin/autoreconf.in (BEGIN): Likewise.
9512         * bin/autoscan.in (BEGIN): Likewise.
9513         * bin/autoupdate.in (BEGIN): Likewise.
9514         * bin/ifnames.in (BEGIN): Likewise.
9516         * bin/ifnames.in: Add final newline to help and version messages.
9518         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
9519         to cope with DOS-style absolute paths, when constructing
9520         ${ac_make}.
9522         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
9523         When constructing paths with IFS=:, quote the path. If we're
9524         constructing a DOS-style absolute path, we don't want to split it
9525         on the colon.
9527         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
9528         in description.
9530 2003-02-25  Pavel Roskin  <proski@gnu.org>
9532         * bin/autoheader.in: Add missing newline when printing
9533         suggestion how change AC_DEFINE call.
9535 2003-02-24  Paul Eggert  <eggert@twinsun.com>
9537         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
9538         2002-09-01 patch by replacing "test -n" with "test -z".
9539         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
9540         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
9542         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
9543         to fix a mismatch between example and discussion.
9545 2003-02-24  Kevin Ryde  <user42@zip.com.au>
9547         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
9548         format starting with "-".
9550 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
9552         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
9553         is not portable inside Makefile.
9555 2003-02-20  Akim Demaille  <akim@epita.fr>
9557         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
9558         compiler says yeah, but preproc says nope, compiler is right.
9559         Conversely, prompt the reader to send a bug report to the
9560         maintainers of the package, not of Autoconf.
9562 2003-02-20  Klee Dienes  <kdienes@apple.com>
9564         * bin/autoreconf.in (autoreconf_current_directory): Properly
9565         handle an empty aclocal.m4.
9567 2003-02-20  Akim Demaille  <akim@epita.fr>
9569         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
9570         $ac_prefix_program.
9571         From Larry Jones.
9573 2002-12-23  Paul Eggert  <eggert@twinsun.com>
9575         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
9576         innocuous variant befor including <limits.h> or <assert.h>.  This
9577         works around a bug reported by Albert Chin: HP-UX 11i
9578         (and earlier versions) have a <limits.h> that declares
9579         gettimeofday and many other functions.
9581 2002-12-03  Paul Eggert  <eggert@twinsun.com>
9583         Version 2.57.
9585         * NEWS, configure.ac: Update version.
9587         * doc/fdl.texi: Upgrade to FDL version 1.2.
9589         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
9590         nontrivially in main's body, so that f's external declaration is
9591         not optimized away in AIX.  This should fix the bug reported by
9592         Martin Frydl in
9593         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
9595         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
9596         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
9597         defined, to support freestanding compilers.  This should fix the
9598         bug reported by Momchil Velkov in
9599         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
9601         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
9602         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
9603         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
9604         by Simon Josefsson in
9605         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
9607         * Makefile.maint (www-gnu): New macro.
9608         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
9609         the location has moved.
9611 2002-12-02  Martin Frydl  <martin@systinet.com>
9613         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
9614         \(.*\) match is too long and there is something more to be checked.
9615         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
9617 2002-11-15  Akim Demaille  <akim@epita.fr>
9619         Version 2.56.
9621         * config/install-sh: chmod +x.
9622         From Paul Eggert.
9623         * config/move-if-change: Indenting changes.
9624         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
9625         * configure.ac (AM_INIT_AUTOMAKE): here.
9626         Require 1.7.1.
9628 2002-11-14  Akim Demaille  <akim@epita.fr>
9630         Version 2.55.
9632         * config/config.guess, config/config.sub, config/install-sh:
9633         Update from masters.
9635 2002-11-14  Akim Demaille  <akim@epita.fr>
9637         * Makefile.maint: Sync with Bison, i.e.:
9638         (po-check): Scan .l and .y files instead of the
9639         .c and the .h files that they generate.  This fixes the bug
9640         reported by Tim Van Holder in:
9641         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
9642         Look for N_ as well as for _.  Try to avoid matching #define for
9643         N_ and _.
9644         From Paul Eggert.
9646 2002-11-14  Akim Demaille  <akim@epita.fr>
9648         * doc/autoconf.texi (C Compiler): Compiling several files at once.
9649         From Paul Eggert and Albert Chin-A-Young.
9651 2002-11-14  Akim Demaille  <akim@epita.fr>
9653         * doc/autoconf.texi (C Compiler): Solitary backslashes.
9654         From Paul Eggert and Albert Chin-A-Young.
9656 2002-11-14  Kevin Ryde  <user42@zip.com.au>
9658         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
9659         than assigning in main, to avoid HP cc +O3 optimizing it away.
9661 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
9663         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
9664         option.  Process --recheck after parsing all options.  Pass -q
9665         option to configure on --recheck.
9666         (AC_OUTPUT): Pass -q from configure to config.status.
9667         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
9668         arguments to record.
9669         * doc/autoconf.texi (config.status Invocation): Document
9670         config.status -q option.
9672 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
9674         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
9675         Makefile.in if Makefile.am exists.
9676         (output): Strip `.am' from Makefiles.  Don't
9677         output AC_CONFIG_FILES if no Makefiles were found.
9679 2002-11-07  Akim Demaille  <akim@epita.fr>
9681         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
9682         (local_updates): New.
9683         * Makefile.maint: Update, from CVS Bison.
9684         (local_updates): New.
9686 2002-11-06  Akim Demaille  <akim@epita.fr>
9688         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
9689         declaration in extern "C" too.
9690         Reported by Roberto Bagnara.
9692 2002-11-06  Akim Demaille  <akim@epita.fr>
9694         * tests/torture.at (Configuring subdirectories): Don't use grep
9695         -w.
9696         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
9697         Reported by Ezra Peisach.
9699 2002-11-05  Akim Demaille  <akim@epita.fr>
9701         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
9702         Remove.
9703         We _have_ to stop using the old compatibility scheme that tried to
9704         avoid useless backslashes because Libtool 1.4.3 contains a
9705         AC_DEFINE([error_t], [int],
9706         [Define to a type to use for \`error_t' if it is not
9707         otherwise available.])
9708         We _have_ to quote the single quote and backslashes with \.  The
9709         old compatibility scheme saw that ` was backslashed, and therefore
9710         did not quote the single quote.  Hence before this patch, Autoconf
9711         was not compatible with Libtool.
9713 2002-11-04  Paul Eggert  <eggert@twinsun.com>
9715         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
9716         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
9717         LC_NAME, LC_PAPER, LC_TELEPHONE.
9718         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
9720 2002-11-04  Akim Demaille  <akim@epita.fr>
9722         Version 2.54c.
9724         * Makefile.maint (update, cvs-update, po-update, do-po-update):
9725         New.
9726         * config/texinfo.tex: Update.
9728 2002-11-03  Akim Demaille  <akim@epita.fr>
9730         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
9731         from...
9732         (&autoreconf): here.
9733         ($help, $make, &parse_args, &autoreconf_current_directory):
9734         Support -m/--make.
9735         * doc/autoconf.texi (autoreconf Invocation): Adjust.
9737 2002-10-31  Bruno Haible  <bruno@clisp.org>
9739         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
9740         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
9741         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
9742         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
9743         to ac_cv_func_realloc_0_nonnull.
9744         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
9746 2002-10-31  Akim Demaille  <akim@epita.fr>
9748         The test suite was no longer checking for trailing envvars and files.
9750         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
9751         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
9753 2002-10-31  Akim Demaille  <akim@epita.fr>
9755         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
9756         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
9757         Make variable, not a shell variable.
9758         Suggested by Bruno Haible.
9760 2002-10-31  Akim Demaille  <akim@epita.fr>
9762         * bin/autom4te.in (load_configuration): Reject #args out of any
9763         language.
9765 2002-10-31  Akim Demaille  <akim@epita.fr>
9767         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
9768         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
9769         (_AC_RUN_IFELSE): Use it.
9770         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
9771         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
9772         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
9773         inline it.
9775 2002-10-30  Akim Demaille  <akim@epita.fr>
9777         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
9778         * doc/autoconf.texi (autom4te Invocation): Adjust.
9779         Suggested by Tim van Holder.
9781 2002-10-29  Paul Eggert  <eggert@twinsun.com>
9783         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
9784         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
9785         Problem reported by Bruno Haible.
9787 2002-10-29  Akim Demaille  <akim@epita.fr>
9789         * doc/autoconf.texi (Header Templates): Put also in words what the
9790         pictures says to assist free style readers.
9791         (Customizing autom4te): s/--cache=/--cache /.
9793 2002-10-29  Akim Demaille  <akim@epita.fr>
9795         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
9796         sys/wait.h.
9797         sparc_address_test returns void.
9798         Use it with an argument, as prototyped.
9799         From Bruno Haible.
9801 2002-10-29  Akim Demaille  <akim@epita.fr>
9803         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
9804         configure.in, not configure.ac.
9805         Reported by Bruno Haible.
9807 2002-10-29  Akim Demaille  <akim@epita.fr>
9809         * tests/torture.at (Deep Package): New test.
9810         (Configuring subdirectories): Don't use a testSubDir as Autotest
9811         now does it itself.
9813 2002-10-29  Akim Demaille  <akim@epita.fr>
9815         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
9816         * doc/autoconf.texi (Invoking autom4te): Rename as...
9817         (autom4te Invocation): this, for consistency with the other nodes.
9819 2002-10-29  Akim Demaille  <akim@epita.fr>
9821         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
9822         Reported by Ralf Corsepius.
9824 2002-10-29  Akim Demaille  <akim@epita.fr>
9826         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9827         characters is a back as an `obsolete' warning now.
9828         Reported by Ralf Corsepius.
9830 2002-10-28  Akim Demaille  <akim@epita.fr>
9832         * configure.ac: Bump to 2.54c.
9834 2002-10-28  Akim Demaille  <akim@epita.fr>
9836         Version 2.54b.
9838         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
9840 2002-10-28  Akim Demaille  <akim@epita.fr>
9842         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
9843         m4 executable names, and different GNU M4 version.
9844         Reported by Ezra Peisach and Paul Jarc.
9846 2002-10-27  Akim Demaille  <akim@epita.fr>
9848         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
9849         AC_RUN_IFELSE.
9851 2002-10-27  Akim Demaille  <akim@epita.fr>
9853         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
9854         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
9855         Die when a simple Fortran program cannot be compiled.
9856         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
9857         Issue a warning if no function is given.
9859 2002-10-27  Akim Demaille  <akim@epita.fr>
9861         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
9862         Move the documentation of AC_TRY_RUN to...
9863         (Obsolete Macros): here.
9864         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
9865         (autoconf Invocation): Remove the duplicates with `invoking
9866         autom4te'.
9867         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
9868         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9870 2002-10-27  Akim Demaille  <akim@epita.fr>
9872         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
9873         and AC_LANG_FUNC_LINK_TRY.
9874         (Examining Libraries): Rename as...
9875         (Running the Linker): this.
9876         Document AC_LINK_IFELSE.
9877         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
9878         (Obsolete Macros): here.
9879         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
9880         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
9881         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
9882         * lib/autoconf/headers.m4 (AC_USG): Likewise.
9884 2002-10-27  Akim Demaille  <akim@epita.fr>
9886         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
9888         More `check config.log' messages.
9890         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
9891         * doc/autoconf.texi (Printing Messages): Document it.
9892         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
9893         appropriate.
9894         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
9895         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
9896         (_AC_COMPILER_OBJEXT): Likewise.
9897         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
9898         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
9899         Likewise.
9900         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
9901         Likewise.
9903         Deprecate macros with unusual interfaces.
9905         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
9906         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
9908         Document the new ones, and proper style.
9910         * doc/autoconf.texi (Generating Sources): New.
9911         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
9912         (Examining Declarations): Rename as...
9913         (Running the Preprocessor): this.
9914         Document AC_PREPROC_IFELSE.
9915         (Examining Syntax): Rename as...
9916         (Running the Compiler): this.
9917         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
9918         (Obsolete Macros): Move the definition of AC_TRY_CPP and
9919         AC_TRY_COMPILE here.
9921 2002-10-27  Akim Demaille  <akim@epita.fr>
9923         Move sections around.
9925         * doc/autoconf.texi (Customizing autom4te): Remove a lost
9926         sentence.
9927         Reported by Burno Haible.
9928         (Language Choice): Now the first section of...
9929         (Writing Tests): this section.
9930         Make the introduction less C-centric.
9931         (Guidelines, Test Functions): Move to...
9932         (Writing Test Programs): this new section.
9933         (Test Programs): Merge into...
9934         (Run Time): this.
9936 2002-10-27  Akim Demaille  <akim@epita.fr>
9938         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
9939         autom4te.in that resulted in the need for two `make' runs.
9941 2002-10-27  Akim Demaille  <akim@epita.fr>
9943         * configure.ac: Bump to 2.54b.
9945 2002-10-25  Akim Demaille  <akim@epita.fr>
9947         Version 2.54a.
9949         * Makefile.maint: Update from the Coreutils.
9950         (AMTAR): Remove, obsolete.
9951         (automake_repo): Update to redhat.com.
9952         (cvs_file): New.
9953         Adjust to the fact that ansi2knr is now hosted by Automake.
9954         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
9955         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
9956         Update from masters.
9957         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
9958         autoscan.pre is not to be installed, and autoscan.list is not to
9959         be shipped.
9960         (CLEANFILES): Add autoscan.list.
9961         (autoscan.list): Disable the cache.
9962         * bin/Makefile.am: Include freeze.mk.
9964 2002-10-25  Akim Demaille  <akim@epita.fr>
9966         * bin/autom4te.in (&load_configuration): Take the file as
9967         argument.
9968         (&parse_args): Handle -C, --cache.
9969         ($help): Adjust.
9970         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
9971         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
9972         * doc/autoconf.texi (Invoking autom4te): Document --cache.
9973         Now a subsection of...
9974         (Using autom4te): This new section.
9975         (Customizing autom4te): New.
9976         (autom4te.cache): Adjust.
9978 2002-10-25  Akim Demaille  <akim@epita.fr>
9980         * doc/autoconf.texi (Generic Headers): More information on how to
9981         use AC_CHECK_HEADERS.
9983 2002-10-25  Akim Demaille  <akim@epita.fr>
9985         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
9986         Space changes.
9988 2002-10-25  Akim Demaille  <akim@epita.fr>
9990         * bin/autoscan.in (output): Output AC_PREREQ.
9991         (%needed_macros): Add AC_PREREQ so that configure.ac without one
9992         be reported.
9994 2002-10-23  Akim Demaille  <akim@epita.fr>
9996         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
9997         document _Bool.
9999 2002-10-23  Akim Demaille  <akim@epita.fr>
10001         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
10002         Reported by Peter Eisentraut.
10004 2002-10-23  Akim Demaille  <akim@epita.fr>
10006         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
10007         type _Bool.
10008         Fix a typo.
10009         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
10010         Eggert's recommandations.
10012 2002-10-22  Akim Demaille  <akim@epita.fr>
10014         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
10015         Bison, by Paul Eggert.
10016         * doc/autoconf.texi (Particular Headers): Document it.
10018 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
10020         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
10021         `$ac_configure_args'.
10023 2002-10-22  Akim Demaille  <akim@epita.fr>
10025         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
10026         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
10027         From Art Haas.
10029 2002-10-22  Akim Demaille  <akim@epita.fr>
10031         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
10033         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
10034         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
10035         (_AC_CHECK_HEADER_NEW): Rename as...
10036         (AC_CHECK_HEADER): this.
10038 2002-10-22  Akim Demaille  <akim@epita.fr>
10040         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
10041         words about HP-UX cmp: it was actually a user-written cmp.
10043 2002-10-22  Akim Demaille  <akim@epita.fr>
10045         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
10046         are a few warnings.
10047         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
10048         Quote for Perl '' strings, not "".
10049         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
10050         strings.
10052 2002-10-22  Akim Demaille  <akim@epita.fr>
10054         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
10055         characters is a syntax warning now.
10056         (_AS_QUOTE): Accept $2 as list of characters to quote.
10057         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
10058         Quote for Perl, not sh.
10059         * bin/autoheader.in: When $debug, report the file which is
10060         `do'ne.
10061         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
10062         `@', to tickle Perl's lists.
10063         Reported by Carlos Velasco.
10065 2002-10-18  Akim Demaille  <akim@epita.fr>
10067         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
10068         missing included files _are_ errors.
10069         Thanks to Alexandre Duret-Lutz.
10070         * tests/tools.at (autom4te cache): Adjust.
10071         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
10072         (AT_CHECK_M4SUGAR): Use it.
10073         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
10074         Adjust.
10075         * tests/tools.at (autom4te): Now it does exit 1.
10077 2002-10-17  Akim Demaille  <akim@epita.fr>
10079         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
10080         Fixes the `AC_ARG_VAR' test failures.
10081         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
10082         * lib/freeze.mk (check-forbidden-patterns): New.
10083         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
10084         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
10085         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
10086         /dev/null.
10087         Reported months ago by H. Merijn Brand.
10089 2002-10-17  Akim Demaille  <akim@epita.fr>
10091         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
10093 2002-10-16  Paul Eggert  <eggert@twinsun.com>
10095         * Makefile.maint (wget_files): Remove ansi2knr.c.
10096         (ansi2knr.c-url_prefix): Remove.
10098 2002-10-16  Akim Demaille  <akim@epita.fr>
10100         Because of caching, some files that no longer exist and are no
10101         longer required can still cause errors.
10102         Reported by Alexandre Duret-Lutz.
10104         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
10105         to frozen files in @ARGV, as @ARGV must remain being a list of
10106         files.  Rather, at M4 call sites, use this...
10107         (&files_to_options): New function.
10108         (&freeze): Use &error.
10109         (&up_to_date): If a file that was included according to the cache
10110         is no longer there, then the output is out dated.
10111         (&main): Don't even check whether a file is up to date is anyway
10112         --force is given.
10113         * tests/tools.at (autom4te cache): New.
10115 2002-10-16  Akim Demaille  <akim@epita.fr>
10117         * bin/autoconf.as: Kill dead options.
10118         * bin/autoupdate.in (&parse_args): Kill old options.
10119         * bin/autoreconf.in (&parse_args): Remove dead options.
10120         Factor some code.
10121         (&autoreconf): Report the directories we enter *and leave*, so
10122         that error messages can be easily located, and use GNU Make
10123         format, so that Emacs' compile mode understands us.
10124         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
10125         if some file was changed instead of `print'.
10126         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
10127         (&parse_args): Remove the dead options.
10128         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
10129         autoheader's quiet mode.
10130         (AT_CHECK_AUTOUPDATE): Likewise.
10131         * tests/tools.at (autoupdate): Adjust.
10132         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
10134 2002-10-11  Akim Demaille  <akim@epita.fr>
10136         No longer use CPP to check for the existing of headers: use CC to
10137         check for compilability.
10139         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
10140         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
10141         (_AC_CHECK_HEADER_NEW): Rename as...
10142         (AC_CHECK_HEADER): this.
10144         * lib/autotest/general.m4 (AT_INIT): Include the failed test
10145         numbers in the Subject suggestion.
10147 2002-10-11  Akim Demaille  <akim@epita.fr>
10149         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
10150         Suggest using AC_CHECK_DECLS instead.
10152 2002-10-11  Akim Demaille  <akim@epita.fr>
10154         * tests/torture.at (AC_ARG_VAR): Have configure report the value
10155         of `precious'.
10157 2002-10-11  Akim Demaille  <akim@epita.fr>
10159         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
10160         file name to enable parallel executions.
10161         From Sam Varshavchik.
10163 2002-10-08  Akim Demaille  <akim@epita.fr>
10165         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
10166         aclocal invocation, as Gettext macros might not be visible to
10167         aclocal.
10168         Instead of blindly running autopoint, scan configure.ac (not the
10169         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
10170         Reported by Paul D. Smith.
10172 2002-10-08  Paul Eggert  <eggert@twinsun.com>
10174         Work around problems found when POSIXLY_CORRECT=1 is set.
10175         None of this seems to have anything to do with POSIX, really,
10176         but it's how Perl getopt works.
10177         * bin/autom4te.in (parse_args): Configure GetOpt with
10178         "permute", too.
10179         * doc/autoconf.texi (Invoking autom4te):
10180         --warning -> --warnings.
10181         * lib/autom4te.in: --warning -> --warnings.
10183 2002-09-28  Akim Demaille  <akim@epita.fr>
10185         * doc/autoconf.texi (autom4te.cache): New section.
10187 2002-09-28  Akim Demaille  <akim@epita.fr>
10189         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
10190         (Automake-preselections): Update.
10191         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
10193 2002-09-28  Akim Demaille  <akim@epita.fr>
10195         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
10196         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
10197         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10198         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
10200 2002-09-28  Akim Demaille  <akim@epita.fr>
10202         * tests/torture.at (Configuring subdirectories): Be robust to
10203         users who use config.site to require for a cache: in this case,
10204         the two last configure runs, using two different sets of
10205         arguments, trigger a legitimate error.
10207 2002-09-28  Akim Demaille  <akim@epita.fr>
10209         * tests/m4sh.at (Functions Support, Functions and return Support):
10210         New.
10212 2002-09-28  Akim Demaille  <akim@epita.fr>
10214         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
10215         autoheader are Perl programs.
10216         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
10217         (autom4te): Specify that the sources are in the $srcdir.
10218         * doc/autoconf.texi (Installation Directory Variables): Adjust.
10220 2002-09-28  Akim Demaille  <akim@epita.fr>
10222         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
10223         (tm_zone): Move their rules to...
10224         * lib/autoconf/types.m4: here, using AN_ macros.
10225         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
10226         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
10227         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
10228         * lib/autoconf/programs.m4: here.
10229         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
10230         (ETAGS_FOR_AUTOCONF): New.
10231         Use it.
10233 2002-09-28  Akim Demaille  <akim@epita.fr>
10235         * lib/autoconf/autoscan.m4: New file.
10236         * lib/autoconf/autoconf.m4: Include it.
10237         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
10238         that were listed in the original autoscan.list.
10239         * lib/autoconf/headers.m4: Similarly with headers.
10240         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
10241         (.m4.m4f): Don't pass --prepend-include, since that's done by
10242         tests/autom4te itself.
10243         * lib/autoscan/Makefile.am: Include freeze.mk.
10244         (autoscan.list): New target --this file is no longer a source.
10245         (autoscan.pre): New file.
10247 2002-09-28  Akim Demaille  <akim@epita.fr>
10249         * bin/autoscan.in (@kinds): Make them singular.
10250         Adjust all uses.
10251         (&init_tables): When --debug, report the list of rules to ease
10252         tracking changes in autoscan.list.
10253         * lib/autoscan/autoscan.list (function): Strip comments, sort.
10255 2002-09-28  Akim Demaille  <akim@epita.fr>
10257         * lib/autoscan/functions, lib/autoscan/headers,
10258         * lib/autoscan/identifiers, lib/autoscan/makevars,
10259         * lib/autoscan/programs: Merge into...
10260         * lib/autoscan/autoscan.list: this.
10261         * bin/autoscan.in (&init_tables): Adjust.
10263 2002-09-28  Akim Demaille  <akim@epita.fr>
10265         * lib/autoscan/functions, lib/autoscan/headers,
10266         * lib/autoscan/identifiers, lib/autoscan/makevars,
10267         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
10268         `functions' line is now prefixed with `function:'.
10269         * bin/autoscan.in (&init_tables): Adjust.
10271 2002-09-28  Akim Demaille  <akim@epita.fr>
10273         From now on, autoscan files must always map a macro name to a
10274         word: there is no `default' macro for autoscan.
10276         * bin/autoscan.in (&init_tables): Reject entries with no macro at
10277         all.
10278         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
10279         explicit.
10281 2002-09-28  Akim Demaille  <akim@epita.fr>
10283         * bin/autoscan.in (%c_keywords): Remove.
10284         (&used): Keep only track of the words we might be interested in.
10285         (&output_kind): It is no longer needed to look for non active
10286         checks.
10288 2002-09-27  Akim Demaille  <akim@epita.fr>
10290         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
10291         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
10292         * lib/autoscan/functions: Adjust.
10293         * doc/autoconf.texi (Particular Functions): Adjust.
10295 2002-09-27  Akim Demaille  <akim@epita.fr>
10297         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
10298         from /tmp.
10299         Thanks to Bill Moseley and Paul Eggert.
10300         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
10301         the tmpdir must be created.
10302         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
10303         dir be in the build tree, instead of $TMPDIR.
10305 2002-09-27  Akim Demaille  <akim@epita.fr>
10307         * bin/autoscan.in: Improve the comments.
10308         (&parse_args): Drop obsolete undocumented options.
10309         (&output_kind): Output warnings.
10310         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
10311         (getwd): Trigger a warning.
10313 2002-09-26  Akim Demaille  <akim@epita.fr>
10315         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
10316         Reported by Ralf Corsepius.
10317         * doc/autoconf.texi (autoreconf Invocation): Likewise.
10319 2002-09-26  Akim Demaille  <akim@epita.fr>
10321         Single suffix rules and seperated dependencies are not portable.
10323         * doc/autoconf.texi (Installation Directory Variables): Update.
10324         (Limitations of Make): Some about `Single Suffix Rules and
10325         Separated Dependencies'.
10326         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
10327         (ifnames, autoscan, autom4te): Un-factor into several rules.
10329 2002-09-25  Paul Eggert  <eggert@twinsun.com>
10331         * BUGS (Interoperability bugs): New section.  Mention libtool
10332         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
10334 2002-09-24  Paul Eggert  <eggert@twinsun.com>
10336         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
10337         make handles suffix-rules differently from GNU make.
10339         * bin/Makefile.am (SUFFIXES, .in): Remove.
10340         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
10341         Move the body of the old .in rule here.
10343 2002-09-16  Akim Demaille  <akim@epita.fr>
10345         i960 compilers create `b.out' files by default.
10346         Reported by Ralf Corsepius.
10348         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
10349         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
10351 2002-09-13  Paul Eggert  <eggert@twinsun.com>
10353         * doc/autoconf.texi (Particular Headers): Remove obsolete
10354         reference to `struct timezone' in the description of
10355         AC_HEADER_TIME.
10357 2002-09-13  Akim Demaille  <akim@epita.fr>
10359         Version 2.54.
10361         * config/config.sub, config/config.guess: Update.
10362         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
10363         * Makefile.am: Adjust.
10365 2002-09-13  Akim Demaille  <akim@epita.fr>
10367         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
10368         reading config.log when the compiler is rejected.
10369         Suggested by Guido Draheim.
10371 2002-09-13  Akim Demaille  <akim@epita.fr>
10373         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
10374         (chdir_init) might hang when stat'ing mounted directories.
10375         Reported by Vance Shipley.
10377 2002-09-12  Akim Demaille  <akim@epita.fr>
10379         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
10380         the lists.
10382 2002-09-12  Akim Demaille  <akim@epita.fr>
10384         * doc/autoconf.texi (Defining Symbols): Present two different
10385         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
10386         difference between 1 argument calls, and 2-3 argument calls.
10388 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
10390         * doc/autoconf.texi: Review grammar and punctuation.
10392 2002-09-11  Paul Eggert  <eggert@twinsun.com>
10394         * doc/autoconf.texi: Fix minor formatting, spelling, and
10395         grammatical typos.
10396         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
10397         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
10398         is obsolescent.
10400 2002-09-11  Akim Demaille  <akim@epita.fr>
10402         * doc/autoconf.texi (Questions): Rename as...
10403         (FAQ): this.
10404         (Defining Directories): New.
10406 2002-09-09  Akim Demaille  <akim@epita.fr>
10408         * doc/autoconf.texi (Making testsuite Scripts): Update.
10409         Suggested by Nishio Futoshi.
10411 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
10413         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
10414         plain `@' is wanted.
10416 2002-09-09  Akim Demaille  <akim@epita.fr>
10418         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
10419         `duplicates', since the algorithm was too naive and could keep
10420         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
10421         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
10422         Reported by Ralf Corsepius.
10423         * tests/torture.at (Configuring subdirectories): Exercise these
10424         cases.
10426 2002-09-09  Akim Demaille  <akim@epita.fr>
10428         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
10429         looking for a replacement file.
10430         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
10431         directory is relative.
10432         * doc/autoconf.texi (Generic Functions): Clarify the replacement
10433         directory definition.
10434         Reported by Andreas Schwab and Jim Meyering.
10436 2002-09-06  Akim Demaille  <akim@epita.fr>
10438         * doc/autoconf.texi (Setting Output Variables): Clarify what
10439         precious variables are.
10440         Suggested by Pontus Skoeld.
10442 2002-09-05  Akim Demaille  <akim@epita.fr>
10444         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
10445         (ifnames, autoscan, autom4te): Since we don't only depend on
10446         configure.ac variables (such as VERSION etc.), but also on prefix
10447         and so forth, depend on Makefile, not configure.ac.
10448         Reported by Alexandre Duret-Lutz.
10449         * doc/autoconf.texi (Installation Directory Variables): Adjust.
10451 2002-09-05  Kevin Ryde  <user42@zip.com.au>
10453         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
10454         doesn't seem to be confined to ia64, just say "some versions".
10456 2002-09-04  Akim Demaille  <akim@epita.fr>
10458         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
10459         Automake 1.6c.
10460         * Makefile.am (maintainer-clean-local): Remove.
10461         (MAINTAINERCLEANFILES): Remove COPYING.
10463 2002-09-03  Paul Eggert  <eggert@twinsun.com>
10465         * doc/autoconf.texi (Configuration Commands): Remove obsolete
10466         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
10467         Brinkmann.
10469 2002-09-03  Akim Demaille  <akim@epita.fr>
10471         * configure.ac: Bump to 2.53d.
10472         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
10473         as of today, on Automake's team suggestion.
10475 2002-09-03  Akim Demaille  <akim@epita.fr>
10477         Version 2.53c.
10479 2002-09-02  Akim Demaille  <akim@epita.fr>
10481         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
10482         SITE_MACRO_DIR.
10483         * configure.ac: Disable SITE_MACRO_DIR.
10485 2002-09-02  Jim Meyering  <meyering@lucent.com>
10487         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
10488         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
10489         Also, tweak grammar: s/make sure to/be sure to/.
10491 2002-09-02  Paul Eggert  <eggert@twinsun.com>
10493         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
10494         directory names are generally preferable to physical names.
10496 2002-09-02  Akim Demaille  <akim@epita.fr>
10498         * lib/Autom4te/General.pm (&update_file): s/die/error/.
10499         Reported by Raja R. Harinath.
10500         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
10501         * bin/autoupdate.in: Use error instead of die.
10503 2002-09-01  Paul Eggert  <eggert@twinsun.com>
10505         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
10506         ordinary shell concatenation rather than echo+tr+sed command that
10507         runs afoul of a long-line-related sed bug in Solaris 8.
10509         * bin/autoheader.in (parse_args): --warning -> --warnings.
10511         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
10512         stdout, as traditional "ls" does.
10513         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
10514         _AC_COMPILER_EXEEXT_O): Likewise.
10515         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
10517         * bin/autoconf.as: Add --prepend-include option.  This patch was
10518         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
10519         but bin/autoconf.in is generated automatically from bin/autoconf.as.
10521         * bin/autoconf.in, configure: Regenerate.
10523         * doc/autoconf.texi (Special Shell Variables): Mention
10524         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
10526         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
10527         MAILPATH and set PS1, PS2, PS4 to default values, to work
10528         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
10529         For LC_ALL etc, first try to set to "C" as POSIX requires and as
10530         the Autoconf documentation specifies; fall back to "unset" only if
10531         this fails.  Use a shell for-loop for this rather than an m4 loop,
10532         to shorten the output script.
10534 2002-08-30  Paul Eggert  <eggert@twinsun.com>
10536         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
10537         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
10538         for the CDPATH problem.  Document PWD.
10539         (Limitations of Builtins): Document the problem that "cd $foo" and
10540         "ls $foo" may refer to different directories in shells conforming
10541         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
10542         example, since the old example is now out of date.
10544         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
10545         FOO" and "ls FOO" talk about different directories; this catches
10546         problems when POSIX 1003.1-2001 "cd" fails due to symlink
10547         spaghetti.
10549         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
10550         of rolling our own unset.
10551         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
10552         in practice we needn't worry about CDPATH if unset doesn't work.
10554         * Makefile.in, aclocal.m4, bin/Makefile.in,
10555         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
10556         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
10557         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
10558         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
10559         tests/Makefile.in: Regenerate with Automake 1.6.3.
10561         * config/config.guess, config/config.sub, config/mkinstalldirs:
10562         Update.
10564         * configure: Regenerate with self.
10566 2002-08-30  Kevin Ryde  <user42@zip.com.au>
10568         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
10569         default output.
10571 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10573         * bin/autom4te.in (Request::load): Correctly test for "do" read
10574         failure.
10576 2002-08-29  Akim Demaille  <akim@epita.fr>
10578         * lib/Autom4te/General.pm (&xqx): New.
10579         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
10580         hand, which is not portable.
10581         (&error): New.
10582         * bin/autom4te.in: Use them.
10583         Use &error instead of die.
10584         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
10585         Adjust.
10587 2002-08-17  Paul Eggert  <eggert@twinsun.com>
10589         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
10590         default list of compilers to try, since it was long ago superseded
10591         by the ksh fc builtin.  Suggested by Steven G. Johnson.
10593 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
10595         * doc/autoconf.texi (Invoking autom4te): End the option table,
10596         fixing a bug introduced by the previous patch.
10597         (Limitations of Make): Add a 'target lookup' subentry in the
10598         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
10600 2002-07-29  Mark D. Roth  <roth@feep.net>
10602         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
10603         options and use $AUTOM4TE_PATH.
10604         * doc/autoconf.texi: Remove documentation of autom4te
10605         --include-envvar and --site-macro-subdir options and document
10606         use of $AUTOM4TE_PATH.
10607         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
10608         arguments from each language section.
10610 2002-07-29  Paul Eggert  <eggert@twinsun.com>
10612         * doc/install.texi: Include copyright symbol in copyright notice.
10614         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
10615         Replace with:
10616         (AM_MAKEINFOFLAGS): New macro.
10617         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
10618         * Makefile.am (INSTALL): Use the new macros.
10619         Use -o rather than --output, since "missing" does not grok --output.
10621 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
10623         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
10624         comments do not always work. Never trust the exit status of
10625         `make -k'.
10627 2002-07-24  Kevin Ryde  <user42@zip.com.au>
10629         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
10630         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
10632 2002-07-23  Paul Eggert  <eggert@twinsun.com>
10634         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
10635         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
10636         apparently treats PATH="nonexistent" as if it contained ".".
10637         Bug reported by Stefan `Sec' Zehl.
10639 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
10641         * doc/autoconf.texi (Limitations of Make): Mention the special
10642         handling of the obj/ directory by BSD make.
10644 2002-07-20  Kevin Ryde  <user42@zip.com.au>
10646         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
10647         backslashes.
10649 2002-07-19  Akim Demaille  <akim@epita.fr>
10651         * doc/autoconf.texi (Function Portability): `exit'.
10652         (Programming in M4sh): Ethymology of M4sh.
10654 2002-07-19  Akim Demaille  <akim@epita.fr>
10656         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
10658 2002-07-18  Akim Demaille  <akim@epita.fr>
10660         Version 2.53b.
10662 2002-07-18  Akim Demaille  <akim@epita.fr>
10664         * config/config.guess, config/config.sub: Update.
10666 2002-07-18  Akim Demaille  <akim@epita.fr>
10668         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
10669         Automake's parts.
10671         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
10672         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
10673         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
10675 2002-07-18  Akim Demaille  <akim@epita.fr>,
10676             Alexandre Duret-Lutz  <duret_g@epita.fr>
10678         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
10679         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
10681 2002-07-17  Russ Allbery  <rra@stanford.edu>
10683         * doc/autoconf.texi (Initializing configure): Clarify the
10684         description of the tarname default.
10686 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
10688         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
10689         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
10690         latter was not run.
10692 2002-07-17  Akim Demaille  <akim@epita.fr>
10694         * lib/Autom4te/General.pm (find_file): Browse the directories in
10695         the order they are given.
10697 2002-07-17  Akim Demaille  <akim@epita.fr>
10699         * tests/wrapsh.as, tests/wrappl.as: Merge into...
10700         * tests/wrapper.as: this.
10701         * tests/Makefile.am, configure.ac: Adjust.
10703 2002-07-17  Mark D. Roth  <roth@feep.net>
10705         * configure.ac: Add --enable-site-macro-dir option.
10706         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
10707         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
10708         --site-macro-subdir options.
10709         * bin/autoconf.in: Add --prepend-include option.
10710         * bin/autoheader.in: Add --prepend-include option.
10711         * bin/autoreconf.in: Add --prepend-include option.
10712         * bin/autoscan.in: Add --prepend-include option.
10713         * bin/autoupdate.in: Add --prepend-include option.
10714         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
10715         macro directory, remove note that include path directories are
10716         used in reverse order, and document --prepend-include option.
10717         * lib/autom4te.in: Use --prepend-include instead of --include.
10718         * tests/wrapsh.in: Use --prepend-include instead of --include.
10720 2002-07-17  Akim Demaille  <akim@epita.fr>
10722         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
10723         tarnames.
10724         * doc/autoconf.texi (Initializing configure): Adjust.
10726 2002-07-17  Akim Demaille  <akim@epita.fr>
10728         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
10729         (_AC_FUNC_MALLOC): New.
10730         (AC_FUNC_MALLOC): Use the latter.
10731         Define HAVE_MALLOC to 0 if broken.
10732         * doc/autoconf.texi (Particular Functions): Adjust.
10734 2002-07-16  Akim Demaille  <akim@epita.fr>
10736         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
10737         * doc/autoconf.texi (C Compiler): Adjust.
10739 2002-07-09  Akim Demaille  <akim@epita.fr>
10741         * doc/autoconf.texi: Properly set the ``header'' part.
10743 2002-07-09  Akim Demaille  <akim@epita.fr>
10745         * doc/autoconf.texi (Systemology): Some about Darwin.
10747 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
10749         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
10750         Don't use AC_REQUIRE in AU_DEFUN.
10752 2002-07-09  Art Haas  <ahaas@neosoft.com>
10754         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
10756 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
10758         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10759         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
10760         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
10761         so that Emacs setups GNU style for perl-mode and cperl-mode.
10763 2002-06-27  Paul Eggert  <eggert@twinsun.com>
10765         * config/install-sh: Quote $src.  Prefer || to test's -o option,
10766         as per "Limitations of Builtins".
10767         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
10768         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
10770         * tests/mktests.sh: Use grep instead of fgrep, as per
10771         "Limitations of Builtins".
10773 2002-06-15  Paul Eggert  <eggert@twinsun.com>
10775         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
10776         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
10777         so that we consistently test the just-built programs.
10778         * tests/wrappl.as: Likewise.
10780 2002-06-12  Paul Eggert  <eggert@twinsun.com>
10782         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
10783         name, so that symlinks to 'autoconf' work properly.  Bug reported
10784         by Bruno Haible.
10785         * bin/autoheader.in (AUTOM4TE): Likewise.
10786         * bin/autoreconf.in (autoconf, autoheader): Likewise.
10787         * bin/autoscan.in (autom4te): Likewise.
10788         * bin/autoupdate.in (autom4te): Likewise.
10790         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
10791         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
10792         on Solaris 2.5.1.
10794 2002-06-11  Andreas Schwab  <schwab@suse.de>
10796         * doc/autoconf.texi: Add more dir entries.
10798 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
10800         * bin/autom4te.in ($cache): Don't define using `$me', the name
10801         of the cache should not depend on the name under which autom4te
10802         was installed.
10804 2002-06-07  Akim Demaille  <akim@epita.fr>
10806         * tests/tools.at (autoconf: forbidden tokens, basic)
10807         (autoconf: forbidden tokens, exceptions): Adjust to the change of
10808         words in autom4te.in.
10810 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
10812         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
10813         _AC_LANG_PROGRAM_C_F77_HOOKS.
10815 2002-06-07  Akim Demaille  <akim@epita.fr>
10817         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
10818         rename as...
10819         (AC_REPLACE_FNMATCH): this.
10820         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
10821         AC_FUNC_FNMATCH_GNU.
10823 2002-06-07  Akim Demaille  <akim@epita.fr>
10825         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
10826         Rosetta Stone for Unix.
10828 2002-06-07  Akim Demaille  <akim@epita.fr>
10830         * bin/autom4te.in (warn_forbidden): When rejecting a token,
10831         suggest m4_pattern_allow.
10832         Suggested by Adam J. Richter.
10834 2002-06-07  Akim Demaille  <akim@epita.fr>
10836         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
10837         ac_config_libobj_dir.
10838         (AC_CONFIG_LIBOBJ_DIR): New.
10839         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
10840         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
10841         Use ac_config_libobj_dir to find the replacement files.
10842         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
10843         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
10844         (AC_REPLACE_FNMATCH_GNU): these.
10845         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
10846         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
10847         * tests/mktests.sh (ac_exclude_list): Don't check
10848         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
10850 2002-06-06  Paul Eggert  <eggert@twinsun.com>
10852         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
10853         if ln doesn't work.
10854         * NEWS: Likewise.
10855         * doc/autoconf.texi (Configuration Links): Likewise.
10856         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
10858 2002-06-05  Paul Eggert  <eggert@twinsun.com>
10860         * config/config.guess, config/config.sub, config/texinfo.tex:
10861         Update from masters.
10863 2002-05-29  Paul Eggert  <eggert@twinsun.com>
10865         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
10866         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
10867         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
10868         Likewise.
10869         * lib/autoconf/Makefile.am (check-local): Likewise.
10870         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
10871         * lib/autoconf/types.m4 (commentary only): Likewise.
10872         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
10873         * lib/autotest/Makefile.am (check-local): Likewise.
10874         * lib/m4sugar/Makefile.am (check-local): Likewise.
10875         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
10876         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
10878         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
10879         * doc/autoconf.texi (Particular Programs): Document them.
10880         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
10881         * NEWS: Likewise.
10883 2002-05-27  Paul Eggert  <eggert@twinsun.com>
10885         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
10886         * NEWS, doc/autoconf.texi (Particular Types): Document it.
10887         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
10888         instead of AC_MBSTATE_T, which never existed.
10890 2002-05-23  Akim Demaille  <akim@epita.fr>
10892         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
10893         version of Autoconf that is discussed.
10895 2002-05-22  Paul Eggert  <eggert@twinsun.com>
10897         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
10898         from the default list of compilers to try.  Suggested by
10899         Kate Hedstrom.
10900         * NEWS: Document the above.
10901         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
10903 2002-05-17  Paul Eggert  <eggert@twinsun.com>
10905         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
10906         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
10907         This improves on an earlier suggestion by H. Peter Anvin.
10909 2002-05-16  Paul Eggert  <eggert@twinsun.com>
10911         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
10912         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
10913         Both macros now accept an optional source-dir arg.
10914         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
10916         * NEWS: Document this.
10917         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
10919         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
10920         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
10921         not for GNU extensions; this undoes part of the 2000-11-03 change,
10922         reverting to 2.13-compatible behavior.
10923         Add new optional argument DIR.
10924         (AC_FUNC_FNMATCH_GNU): New macro.
10926         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
10928 2002-05-08  Paul Eggert  <eggert@twinsun.com>
10930         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
10931         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
10932         and it causes a 'test' syntax error if it fails.
10933         Bug reported by Stephen Gildea.
10935         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
10936         If prototypes are supported, use them to check this at compile-time,
10937         instead of trying to check it at run-time.  If we must do a run-time
10938         check, assume that setvbuf is standard when cross-compiling, as
10939         nonstandard setvbuf occurs only on ancient and unlikely hosts.
10940         Bug reported by Paul D. Smith.
10942         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
10943         argument specifying location of getloadavg.c.  This removes a
10944         FIXME.  This idea was taken from Jim Meyering's implementation in
10945         textutils.
10946         * doc/autoconf.texi (Particular Functions): Document this.
10947         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
10948         that's what the code does; this fixes a bug reported by
10949         Paul D. Smith.
10951 2002-05-03  Akim Demaille  <akim@epita.fr>
10953         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
10954         autopoint instead of gettextize.
10955         ($uses_alocal): Rename as...
10956         ($uses_aclocal): this.
10957         * doc/autoconf.texi (autoreconf Invocation): Adjust.
10958         Suggested by Bruno Haible.
10960 2002-05-03  Akim Demaille  <akim@epita.fr>
10962         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
10964 2002-04-29  Paul Eggert  <eggert@twinsun.com>
10966         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
10967         files to be 1 second older; just set them to be the same time.
10968         Also, sleep 1 second after the first aclocal, to work around
10969         problems with sub-second time stamps on the input files.
10971 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
10973         * doc/autoconf.texi: Mention "set -e -x" lossage
10974         under node "Limitations of Builtins".
10976 2002-04-29  Akim Demaille  <akim@epita.fr>
10978         * doc/install.texi: Better wording for setting variables when
10979         running configure.
10980         From Christian Cornelssen.
10982 2002-04-29  Akim Demaille  <akim@epita.fr>
10984         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
10985         of lack of $LINENO support, then the test will compare the $LINENO
10986         in testsuite vs. the lineno in the test file.  This is wrong, of
10987         course.
10988         Be sure to protect it.
10989         Reported by Patrick Welche.
10991 2002-04-25  Akim Demaille  <akim@epita.fr>
10993         * doc/autoconf.texi (Obsolete Macros): Typo.
10994         Reported by Vladimir Volovich.
10996 2002-04-25  Akim Demaille  <akim@epita.fr>
10998         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
10999         than some of the input files, hence, on the second run of aclocal,
11000         if some of its input are younger, make them older.
11001         Suggested by Paul Eggert.
11003 2002-04-25  Akim Demaille  <akim@epita.fr>
11005         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
11006         Thanks to Paul Eggert.
11008 2002-04-25  Akim Demaille  <akim@epita.fr>
11010         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
11011         and ac_subst_vars be sh variables containing the list of
11012         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
11013         DEFAULT diversion.
11014         (_AC_INIT_PREPARE): Use them to log them.
11015         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
11016         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
11017         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
11018         _AC_SUBST_FILES and _AC_SUBST_VARS.
11019         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
11021 2002-04-24  Akim Demaille  <akim@epita.fr>
11023         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
11024         autoheader, so that automake does not complain about a missing
11025         config.h.in that was to be created.
11027 2002-04-23  Akim Demaille  <akim@epita.fr>
11029         * bin/autoheader.in (parse_args): --warning takes an argument.
11030         Fixes PR/220.
11032 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
11034         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
11035         and bb.out when cleaning up.
11037 2002-04-22  Akim Demaille  <akim@epita.fr>
11039         Version 2.53a.
11041 2002-04-22  Akim Demaille  <akim@epita.fr>
11043         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
11045 2002-04-22  Akim Demaille  <akim@epita.fr>
11047         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
11048         comma.
11049         Reported by Gregory Giannoni.
11051 2002-04-22  Akim Demaille  <akim@epita.fr>
11053         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
11054         Fixes false failures on Darwin.
11056 2002-04-21  Paul Eggert  <eggert@twinsun.com>
11058         * TODO, bin/autoupdate.in, doc/autoconf.texi,
11059         lib/autoconf/general.m4, lib/autoconf/libs.m4,
11060         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
11061         tests/tools.at: Minor spelling and grammar fixes.
11063 2002-04-20  Paul Eggert  <eggert@twinsun.com>
11065         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
11066         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
11067         * lib/autotest/general.m4 (AT_INIT): Likewise.
11068         * tests/atgeneral.m4 (AT_INIT): Likewise.
11070 2002-04-19  Paul Eggert  <eggert@twinsun.com>
11072         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
11073         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
11074         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
11075         lib/autoconf/functions.m4, lib/autoconf/general.m4,
11076         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
11077         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
11078         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
11079         Minor spelling and grammar fixes.
11081         * doc/autoconf.texi: Follow the outline suggested in the GNU
11082         Sample Texts sections of the Texinfo 4.2 manual.  Most
11083         importantly, this makes sure that the copyright notices appear in
11084         all output formats.  You probably need Texinfo 4.2 to generate
11085         the manual now.
11087         Fix some bugs when using "$@" when there might be zero positional
11088         arguments in cases where this matters.
11090         * bin/autoconf.as: Rewrite so that the problem does not come up.
11091         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
11092         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
11093         * lib/autotest/general.m4 (AT_INIT): Likewise.
11095         * bin/autoheader.in: Use 'case' statement to work around problem.
11096         * bin/auto4mte.in: Likewise.
11097         * bin/autoreconf.in: Likewise.
11098         * bin/autoscan.in: Likewise.
11099         * bin/autoupdate.in: Likewise.
11100         * bin/ifnames.in: Likewise.
11102         * doc/autoconf.texi (Shell Substitutions): Document the problem.
11104         * lib/autotest/general.m4 (AT_INIT):
11105         Use Zsh alias to work around problem.
11106         * tests/atgeneral.m4 (AT_INIT): Likewise.
11108         * tests/c.at: We can't have zero arguments, so remove workaround
11109         that is not portable to Zsh.
11111 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
11113         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
11114         from aclocal.m4 too.
11116 2002-04-12  Akim Demaille  <akim@epita.fr>
11118         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
11120 2002-04-10  Akim Demaille  <akim@epita.fr>
11122         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
11123         workaround for ${1+"$@"}.
11124         * doc/autoconf.texi (Shell Substitutions): Explain it.
11125         From Oliver Kiddle and Peter Stephenson.
11127         Have M4sh perform minimal shell sanitizing.
11129         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
11130         part into...
11131         (_AS_PREPARE): this new macro.
11132         (AS_PREPARE): New.
11133         (AS_INIT): Invoke AS_SHELL_SANITIZE.
11134         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
11136         Adjust Autoconf and Autotest.
11138         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
11139         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
11140         * lib/autotest/general.m4 (AT_INIT): Likewise.
11141         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
11142         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
11143         AS_SHELL_SANITIZE.
11145         Use this M4sh to generate Autoconf's shell scripts.
11147         * tests/wrapsh.as: New, precursor of wrapsh.in.
11148         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
11149         on Autotest and M4sh.
11150         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
11151         (wrapsh.in): New target.
11152         * bin/autoconf.as: New, precursor of autoconf.in.
11153         (autoconf.in): New target.
11155 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
11157         * doc/autoconf.texi (Limitations of Make): Mention the issue
11158         with indented comments in rules.
11160 2002-04-09  Andreas Schwab  <schwab@suse.de>
11162         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
11163         ac_top_builddir when setting ac_abs_top_builddir.
11165 2002-04-06  Kevin Ryde  <user42@zip.com.au>
11167         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
11168         (Portable Shell): Cross reference to Systemology.
11170 2002-04-05  Akim Demaille  <akim@epita.fr>
11172         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
11173         directories when descending in a SUBDIRS.
11174         Reported by Ezra Peisach.
11176 2002-04-04  Andreas Schwab  <schwab@suse.de>
11178         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
11179         contains no literal separators.
11181 2002-04-03  Akim Demaille  <akim@epita.fr>
11183         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
11184         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
11185         Use dnl, not the KILL diversion.
11186         Extracted from...
11187         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
11188         (AC_CONFIG_LINKS): here.
11189         Adjust.
11190         Don't use the KILL diversion, as it kills spurious output, which
11191         results in failures being hidden.
11192         Use m4_defn where appropriate.
11193         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
11194         after the second argument.
11195         Use m4_defn.
11196         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
11197         syntax, as it is provided by M4sugar.
11198         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
11200 2002-04-03  Andreas Schwab  <schwab@suse.de>
11202         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
11203         expanded if $# <= 2.
11205         * bin/autoreconf.in (autoreconf): Run automake after rerunning
11206         aclocal.
11208 2002-04-03  Akim Demaille  <akim@epita.fr>
11210         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
11211         (_AC_COMPILER_EXEEXT_REJECT): New.
11212         Also recognize *.bb and *.bbg as compilation byproducts.
11213         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
11214         (_AC_COMPILER_OBJEXT): Use them.
11215         Fixes Debian #138666.
11217 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
11219         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
11221         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
11222         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
11223         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
11224         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
11225         (AC_C_CONST): Same.
11226         (AC_C_INLINE): Same.
11227         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
11228         * doc/autoconf.texi, NEWS: Document.
11229         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
11230         AC_C_CROSS.
11232 2002-04-02  Akim Demaille  <akim@epita.fr>
11234         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
11235         _AS_MKDIR_P_PREPARE.
11237 2002-03-28  Kevin Ryde  <user42@zip.com.au>
11239         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
11240         to avoid versions of HP C which don't allow that.
11242 2002-03-27  Paul Eggert  <eggert@twinsun.com>
11244         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
11245         (AS_SHELL_SANITIZE): Invoke it.
11246         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
11248 2002-03-26  Akim Demaille  <akim@epita.fr>
11250         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
11252 2002-03-26  Akim Demaille  <akim@epita.fr>
11254         * doc/autoconf.texi (Introduction): The GNATS base moved.
11256 2002-03-25  Paul Eggert  <eggert@twinsun.com>
11258         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
11259         as POSIX requires, as it doesn't work with Zsh.
11260         * doc/autoconf.texi (Assignments): Document the problem.
11262 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
11264         * doc/autoconf.texi (Limitations of Make): Mention more issue
11265         about VPATH, overriding of macros in sub-makes, and handling of
11266         SHELL.
11268 2002-03-21  Paul Eggert  <eggert@twinsun.com>
11270         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
11271         problem with here-document buffer boundaries.
11273         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
11274         when reinvoking the shell, to work around problems with installers
11275         who put strange things like "cd" commands in their environments.
11277 2002-03-19  Akim Demaille  <akim@epita.fr>
11279         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
11280         From Aaron Ucko.
11282 2002-03-19  Akim Demaille  <akim@epita.fr>
11284         * bin/autoscan.in (scan_file): Specify the location in `&used'
11285         invocations.
11286         From Nicolas Joly.
11288 2002-03-19  Akim Demaille  <akim@epita.fr>
11290         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
11291         From Nishio Futoshi.
11293 2002-03-19  Akim Demaille  <akim@epita.fr>
11295         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
11297 2002-03-18  Paul Eggert  <eggert@twinsun.com>
11299         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
11300         (Limitations of Usual Tools): Add mkdir section.
11302         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
11303         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
11304         back on AS_DIRNAME to compute prefixes otherwise; this is
11305         roughly what mkinstalldirs does.  That way, we need not have
11306         our own filename disassembler.  The old disassembler did not
11307         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
11309         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
11310         Create at_test_all by a series of assignments,
11311         not by a single assignment of a long string.  The latter causes ksh
11312         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
11313         presumably because of a buffer overrun.
11315 2002-03-14  Paul Eggert  <eggert@twinsun.com>
11317         * lib/autotest/general.m4 (at_times_skip):
11318         Renamed from at_times.  Now a boolean.
11319         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
11320         says 'times: not found'.
11322 2002-03-14  Akim Demaille  <akim@epita.fr>
11324         * bin/autoreconf.in (&study_gettextize): New.
11325         (&autoreconf): Handle newest gettextize.
11326         Rerun aclocal if needed.
11327         Suggested by Andreas Schwab.
11329 2002-03-13  Akim Demaille  <akim@epita.fr>
11331         * doc/autoconf.texi (Special Shell Variables): More about IFS.
11333 2002-03-13  Akim Demaille  <akim@epita.fr>
11335         * doc/autoconf.texi (Header Portability): New.
11336         Add information about stdint.h and inttypes.h from Paul Eggert.
11338 2002-03-13  Akim Demaille  <akim@epita.fr>
11340         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
11341         -p'.
11342         From Bob Proulx.
11344 2002-03-12  Akim Demaille  <akim@epita.fr>
11346         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
11347         m4_require.
11349 2002-03-11  Andreas Schwab  <schwab@suse.de>
11351         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
11352         does not do it if --with-lispdir is given.
11354 2002-03-08  Akim Demaille  <akim@epita.fr>
11356         Version 2.53.
11358 2002-03-08  Akim Demaille  <akim@epita.fr>
11360         * doc/autoconf.texi (Subdirectories): Clarify that the
11361         subdirectory should exist.
11363 2002-03-08  Akim Demaille  <akim@epita.fr>
11365         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
11367 2002-03-08  Akim Demaille  <akim@epita.fr>
11369         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
11370         aliases the actual variables, and modifications of the former
11371         affect the latter.
11373 2002-03-08  Akim Demaille  <akim@epita.fr>
11375         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
11376         because of C-c: have m4 output in tmp files, then mv them.
11378 2002-03-08  Akim Demaille  <akim@epita.fr>
11380         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
11381         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
11382         * bin/ifnames.in: Copyright update.
11384 2002-03-08  Akim Demaille  <akim@epita.fr>
11386         * doc/autoconf.texi (Invoking autom4te): New.
11388 2002-03-05  Akim Demaille  <akim@epita.fr>
11390         * doc/autoconf.texi (Specifying Names): Clarification suggested by
11391         Kevin Ryde.
11393 2002-03-05  Akim Demaille  <akim@epita.fr>
11395         Version 2.52i.
11397 2002-03-04  Akim Demaille  <akim@epita.fr>
11399         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
11400         * lib/autoconf/general.m4 (AC_INIT): More informative error
11401         message for LIBOBJ.
11403 2002-03-04  Akim Demaille  <akim@epita.fr>
11405         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
11406         parallel builds.
11408 2002-03-04  Akim Demaille  <akim@epita.fr>
11410         * doc/autoconf.texi (Transforming Names): Equality between target
11411         and host is irrelevant.
11412         (Specifying Names, Canonicalizing): Remove all references to the
11413         backward compatibility hooks.  Rather, collect them all into...
11414         (Hosts and Cross-Compilation): this new section.
11415         * doc/install.texi (System Type): Ditto.
11416         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
11417         that `--host' implies cross-compilation.
11419 2002-03-04  Akim Demaille  <akim@epita.fr>
11421         * doc/autoconf.texi (Evaluation Macros): New.
11422         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
11423         useless.
11424         (_m4_foreach): Define the variant with immediate evaluation so
11425         that it contains exactly the items, not an expression which
11426         evaluation is the current item.
11427         (m4_re_string, m4_re_word): Don't over quote them.
11429 2002-03-04  Akim Demaille  <akim@epita.fr>
11431         Instead of having stacking `shift's evaluated at the end, let
11432         `foreach' loops immediately evaluate them.
11434         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
11435         $*.  This is the n-th time I change my mind, but hopefully this is
11436         the last...
11437         (m4_lquote): New.
11438         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
11439         efficient.
11440         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
11441         it was only a hack for m4_text_wrap.
11442         (m4_car2): Remove, replaced by...
11443         (m4_cdr): New.
11444         (_m4_foreach): Adjust.
11445         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
11446         m4_bpatsubst for clarification.
11448 2002-03-04  Akim Demaille  <akim@epita.fr>
11450         * doc/autoconf.texi (Changequote is Evil): New.
11452 2002-03-03  Kevin Ryde  <user42@zip.com.au>
11454         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
11455         on old systems like SunOS.
11457 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
11459         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11460         lib/autoconf/functions.m4, lib/autoconf/general.m4,
11461         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
11462         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
11463         of messages.
11465 2002-02-28  Akim Demaille  <akim@epita.fr>
11467         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
11468         message to be sent.
11470 2002-02-28  Kevin Ryde  <user42@zip.com.au>
11472         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
11474 2002-02-25  Akim Demaille  <akim@epita.fr>
11476         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
11477         From Akinori Musha.
11479 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
11481         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
11482         translate \r\n to \n.
11484 2002-02-07  Akim Demaille  <akim@epita.fr>
11486         Version 2.52h.
11488 2002-02-07  Akim Demaille  <akim@epita.fr>
11490         Fix Autoconf PR/209.
11491         Also reported by Frank Denis.
11493         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
11495 2002-02-07  Akim Demaille  <akim@epita.fr>
11497         Fix Autoconf PR/207:
11498         AC_PREFIX_PROGRAM fails with dashed program names
11500         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
11501         variable when looking for the prefix program.
11502         Now it also works for shell variables.
11504 2002-02-07  Akim Demaille  <akim@epita.fr>
11506         * doc/autoconf.texi (Limitations of Builtins): More about
11507         case/esac.
11509 2002-02-06  Akim Demaille  <akim@epita.fr>
11511         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
11512         case/esac, some shells don't support it.
11513         Reported by Zack Weinberg.
11514         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
11516 2002-02-06  Akim Demaille  <akim@epita.fr>
11518         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
11519         sure not to introduce newlines in at_groups.
11520         * lib/autotest/Makefile.am (autotest.m4f): Typo.
11522 2002-02-06  Akim Demaille  <akim@epita.fr>
11524         * tests/torture.at (Configuring subdirectories): Skip if aclocal
11525         is not available.
11527 2002-02-05  Paul Eggert  <eggert@twinsun.com>
11529         * doc/autoconf.texi (Specific Compiler Characteristics):
11530         Describe HP-UX cc bug workaround more accurately.
11531         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
11532         not unsigned long.
11533         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
11534         cross-compilers, too.  This undoes some of the most recent change
11535         to this file.
11537 2002-02-05  Akim Demaille  <akim@epita.fr>
11539         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
11540         to make sure they are up to date when `check' is run.
11542 2002-02-05  Akim Demaille  <akim@epita.fr>
11544         * doc/autoconf.texi (Making testsuite Scripts): Document
11545         package.m4.
11547 2002-02-05  Akim Demaille  <akim@epita.fr>
11549         * lib/freeze.mk: New.
11551 2002-02-05  Akim Demaille  <akim@epita.fr>
11553         Implement `autom4te --freeze'.
11555         * bin/autom4te.in (&freeze): New.
11556         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
11557         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
11559 2002-02-05  Akim Demaille  <akim@epita.fr>
11561         * bin/autom4te.in (&parse_args): Implement `frozen files are
11562         optional are the sum of the previous files on the command line'.
11563         Also, pass `--reload-state=' on them, so...
11564         (handle_m4): don't.
11565         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
11566         (M4sh): Rely on M4sugar.
11567         (Autotest, M4sh, M4sugar): Use frozen files.
11569 2002-01-31  Akim Demaille  <akim@epita.fr>
11571         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
11572         * doc/autoconf.texi (Initializing configure): Adjust.
11574 2002-01-30  Akim Demaille  <akim@epita.fr>
11576         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
11577         alphanumeric to `-' instead of `_'.
11579 2002-01-30  Akim Demaille  <akim@epita.fr>
11581         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
11582         for plain code, the other for cross-compilation code.  The latter
11583         is now run with GCC only.
11584         * doc/autoconf.texi (Compilers and Preprocessors): New.
11586 2002-01-30  Akim Demaille  <akim@epita.fr>
11588         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
11589         values.
11590         * doc/autoconf.texi (Initializing configure): Explain how to
11591         change AC_INIT default values.
11593 2002-01-29  Akim Demaille  <akim@epita.fr>
11595         * tests/torture.at (Configuring subdirectories): Use configure.in,
11596         so that aclocal 1.4 works.
11597         Reported by Alexandre Duret-Lutz and Larry Schmitt.
11599 2002-01-28  Akim Demaille  <akim@epita.fr>
11601         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
11602         needs an argument.
11604 2002-01-28  Akim Demaille  <akim@epita.fr>
11606         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
11607         AUTOTEST_PATH *after* it was set.
11608         Don't put `.' in the PATH: the user should be precise and `./' if
11609         needed.  In addition, given that the test suite does some `cd', if
11610         `.' is in the path, the `tested programs' sections will report
11611         programs found in the test suite's directory, while during the
11612         tests (performed in their own directory), these programs are no
11613         longer visible.  In other words, the results is confusing and
11614         useless.
11615         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
11617 2002-01-24  Akim Demaille  <akim@epita.fr>
11619         Version 2.52g.
11621 2002-01-24  Akim Demaille  <akim@epita.fr>
11623         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
11624         * doc/autoconf.texi: Finally add Akim as an author.
11626 2002-01-24  Akim Demaille  <akim@epita.fr>
11628         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
11629         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
11630         Bourne. Use /bin/sh.
11631         From Andreas Buening.
11633 2002-01-24  Akim Demaille  <akim@epita.fr>
11635         * config/config.guess, config/config.sub, config/texinfo.tex:
11636         Update from masters.
11638 2002-01-24  Akim Demaille  <akim@epita.fr>
11640         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
11641         * config/auxdir.m4, config/cond.m4, config/depend.m4,
11642         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
11643         * config/missing.m4, config/sanity.m4, config/select.m4,
11644         * config/strip.m4: Remove, to ease sync'ing with any version of
11645         Automake.
11647 2002-01-24  Akim Demaille  <akim@epita.fr>
11649         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
11650         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
11651         Reported by Geir Ove Myhr.
11653 2002-01-21  Akim Demaille  <akim@epita.fr>
11655         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
11657 2002-01-21  Akim Demaille  <akim@epita.fr>
11659         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
11660         message on invalid options.
11661         * bin/autom4te.in (parse_args): Don't use
11662         Autoconf::General::getopt with non valid options.
11664 2002-01-17  Jim Meyering  <meyering@lucent.com>
11666         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
11667         $ac_cv_exeext so we don't use an old, invalid, cached value.
11669 2002-01-11  Akim Demaille  <akim@epita.fr>
11671         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
11672         Meyering.
11673         * doc/autoconf.texi (Function Portability): Document the strnlen
11674         limitation.
11675         (Particular Functions): Document AC_FUNC_STRNLEN.
11676         * lib/autoscan/functions: Adjust.
11678 2002-01-06  Akim Demaille  <akim@epita.fr>
11680         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
11681         package.m4, since is really depends upon configure.ac, not
11682         configure.
11683         * doc/autoconf.texi (testsuite Scripts): Adjust.
11684         * tests/Makefile.am (package.m4): New.
11685         EXTRA_DIST it since its a source.
11687 2002-01-06  Akim Demaille  <akim@epita.fr>
11689         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
11690         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
11691         and PACKAGE_BUGREPORT from here...
11692         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
11693         arguments.
11694         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
11695         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
11696         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
11697         * tests/tools.at (autoheader): Adjust.
11698         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
11700 2002-01-06  Akim Demaille  <akim@epita.fr>
11702         * bin/autoscan.in (scan_file): Use `&used'.
11704 2002-01-03  Akim Demaille  <akim@epita.fr>
11706         * doc/autoconf.texi (Output): Improved wording regarding use of
11707         AC_OUTPUT.
11708         From Olly Betts.
11710 2001-12-18  Kevin Ryde  <user42@zip.com.au>
11712         * doc/autoconf.texi (Function Portability): Add notes on sscanf
11713         sometimes needing writable input.
11715 2001-12-17  Jim Meyering  <meyering@lucent.com>
11717         * doc/autoconf.texi (New Macros): Tweak wording.
11719 2001-12-14  Akim Demaille  <akim@epita.fr>
11721         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
11722         trailing files, don't apply `-rf' to files which might not be
11723         created by configure (core, core.*, and *.core), but just `rm -f'.
11724         Suggested by Jonathan Kamens.
11726 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
11728         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
11730 2001-12-14  Akim Demaille  <akim@epita.fr>
11732         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
11734 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
11736         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
11737         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
11738         abs_srcdir, top_srcpath to abs_top_srcdir.
11739         (_AC_OUTPUT_FILES): Adjust.
11740         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
11741         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
11742         * tests/wrappl.in, tests/wrapsh.in: Adjust.
11744 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
11746         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
11747         C/Fortran linking on HP/UX, by extracting the Fortran library
11748         search path from the LPATH line in the $F77 -v output.
11750 2001-12-12  Kevin Ryde  <user42@zip.com.au>
11752         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
11753         forbidden file descriptors table.
11755 2001-11-26  Akim Demaille  <akim@epita.fr>
11757         * bin/autoscan.in (%c_keywords): Build it at top level.
11758         Map to 1 in order to simplify its uses.
11760 2001-11-26  Akim Demaille  <akim@epita.fr>
11762         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
11763         Remove $filepath, useless.
11764         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
11765         variables, they are really part of the tokens.
11766         Split the input line on spaces and then look for tokens.
11767         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
11768         because of `lex$U.$(OBJEXT)'.
11769         (&scan_files): Use "@list" instead of join.
11770         * doc/Makefile.am (CLEANFILES): Add *.fns.
11772 2001-11-26  Akim Demaille  <akim@epita.fr>
11774         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
11775         Remove, replaced by...
11776         * tests/wrappl.in: Be common for all the Perl executables.
11777         In particular autoscan and autoheader want -I.
11778         * configure.ac: Adjust.
11779         * lib/autoscan/headers: errno.h is portable.
11781 2001-11-26  Akim Demaille  <akim@epita.fr>
11783         * bin/autoscan.in (used): New.
11784         Use it.
11786 2001-11-26  Akim Demaille  <akim@epita.fr>
11788         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
11789         directives.
11790         (&scan_sh_file): Remove a duplicate pattern.
11791         (&check_configure_ac): Use long options.
11792         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
11794 2001-11-26  Akim Demaille  <akim@epita.fr>
11796         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
11797         Before, having a line containing the opening of a multi line
11798         comment made the whole line be ignored.
11800 2001-11-26  Akim Demaille  <akim@epita.fr>
11802         * doc/autoconf.texi (Using an Autotest Test Suite): New.
11803         (testsuite Scripts): Be one of its subsection.
11804         (Autotest Logs): New.
11806 2001-11-26  Akim Demaille  <akim@epita.fr>
11808         Test groups are now run two directories deeper.
11810         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
11811         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
11812         at_top_builddir.
11813         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
11814         top_srcdir, builddir and top_builddir.
11815         Use `at_*dir' relatively to the directory containing the
11816         suite, use `*dir' when relatively to the current group dir.
11818 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
11820         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
11821         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
11822         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
11823         spelling errors.
11825 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
11827         * doc/autoconf.texi (Using System Type): Add an example of `case
11828         $host' usage so people quit using `case $target' everywhere.
11830 2001-11-22  Akim Demaille  <akim@epita.fr>
11832         * doc/autoconf.texi (Installation Directory Variables): Englishoes
11833         spotted by Jim Meyering.
11835 2001-11-16  Paul Eggert  <eggert@twinsun.com>
11837         This patch implements a `long double' suggestion by Oliver Kiddle.
11839         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
11840         static, to catch errors if the value isn't known at compile-time
11841         and the compiler supports dynamic arrays.  Change its name from
11842         `_array_' to `test_array' to avoid potential name clashes.
11843         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
11844         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
11845         better than double.  Catch a bug in GCC 2.95.2 x86.
11846         * doc/autoconf.texi (C Compiler): Document the above.
11847         * NEWS: Likewise.
11849 2001-11-13  Akim Demaille  <akim@epita.fr>
11851         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
11852         hand.
11853         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
11855 2001-11-13  Akim Demaille  <akim@epita.fr>
11857         * lib/autotest/general.m4 (AT_INIT): After having run the test
11858         group, go back to the initial directory, not to at_suite_dir.
11860 2001-11-13  Akim Demaille  <akim@epita.fr>
11862         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
11863         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
11864         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
11865         option.
11866         (AT_CHECK_CONFIGURE): Use absolute paths.
11867         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
11868         The problem is still the old one: there is no means in M4 (that I
11869         know about) to create a defining macro, because there is no means
11870         to create `$1' etc., therefore, the defining macro ``swallows''
11871         all the arguments meant to the defined macro.
11873 2001-11-13  Akim Demaille  <akim@epita.fr>
11875         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
11876         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
11877         configure.ac.
11878         * tests/aclocal.m4: Remove, as it is no longer used.
11880 2001-11-13  Akim Demaille  <akim@epita.fr>
11882         * lib/autotest/general.m4: Change `tests?' into `groups?' in
11883         variable names when referring to a single test group, or to
11884         `suite' when referring to the whole test suite.
11885         `at_last_test' is removed: m4 compute at_format itself.
11886         (at_stdout, at_stder1, at_stderr): New variables.
11887         (AT_CHECK): Use them.
11889 2001-11-13  Akim Demaille  <akim@epita.fr>
11891         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
11892         in PATH.
11893         Create `testsuite.dir/003/run' instead of `testsuite.003'.
11894         Do it as soon as a test fails, don't wait till the end of the test
11895         suite.
11896         Don't remove $as_me.[0-9]*, since these files no longer exist.
11898 2001-11-13  Akim Demaille  <akim@epita.fr>
11900         * tests/tools.at: Use absolute paths, since we are no longer run
11901         in place.
11903 2001-11-13  Akim Demaille  <akim@epita.fr>
11905         Now that tests are running in their own private dir, there is no
11906         need to list the files to remove at the end of tests groups.
11908         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
11909         (AT_data_files, at_data_files): Remove.
11910         (AT_CLEANUP, AT_DATA): Simplify.
11911         (AT_INIT): Adjust.
11912         Remove the group dir if !debug && !failed.
11913         * tests/atspecific.m4: Adjust.
11915 2001-11-13  Akim Demaille  <akim@epita.fr>
11917         Start a new layout for Autotest: `testsuite' creates
11918         `testsuite.dir' in which the at-check-line etc. files are to be
11919         found, and `testsuite.dir/003' where the test group 3 is run.
11921         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
11922         at_check_line_file, at_format, at_test_normalized, at_group_dir
11923         are new variables.
11924         Create the directories.
11925         Use absolute paths for at- files.
11926         (AT_CHECK): Adjust.
11928 2001-11-11  Michael Matz  <matz@kde.org>
11930         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
11931         (m4_car2): New.
11932         (m4_car): Properly quote arguments.
11934 2001-11-13  Akim Demaille  <akim@epita.fr>
11936         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
11937         with stricter rules on LIBOBJS.
11939 2001-11-12  Paul Eggert  <eggert@twinsun.com>
11941         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
11942         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
11943         __PROTOTYPES too.
11945 2001-11-12  Akim Demaille  <akim@epita.fr>
11947         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
11949 2001-11-12  Akim Demaille  <akim@epita.fr>
11951         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11952         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
11953         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
11954         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
11955         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
11956         specify to what the macro should be defined (typically to 1).
11958 2001-11-12  Akim Demaille  <akim@epita.fr>
11960         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
11961         From Jim Meyering.
11963 2001-11-12  Akim Demaille  <akim@epita.fr>
11965         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11966         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
11967         definition used by Automake where LEX is +/- "${missing} lex" and
11968         `missing' itself contains variables.
11970 2001-11-12  Akim Demaille  <akim@epita.fr>
11972         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
11973         Now that M4sh pushes BODY, the comments were output at the end of
11974         the test suites.
11976 2001-11-08  Akim Demaille  <akim@epita.fr>
11978         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
11979         that we can trace macros from aclocal.m4.
11980         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
11981         obsoleted, and redirect to the former anyway.
11982         Reported by Ralf Corsepius.
11984 2001-11-08  Akim Demaille  <akim@epita.fr>
11986         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
11987         processed only if present.
11988         * tests/torture.at (Configuring subdirectories): Use autoreconf
11989         instead of successive calls to autoconf.
11990         Add a nonexistent subdirectory to exercise the patch above.
11991         Reported by Ralf Corsepius.
11993 2001-11-08  Kevin Ryde  <user42@zip.com.au>
11995         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
11996         doesn't accept .S files.
11998 2001-11-07  Akim Demaille  <akim@epita.fr>
12000         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
12001         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
12002         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
12003         * bin/autom4te.in (warn_forbidden): New.
12004         (handle_output): Use it.
12005         Read m4_pattern_forbid with messages.
12007 2001-11-05  Akim Demaille  <akim@epita.fr>
12009         * bin/autom4te.in (--normalize): Remove.
12010         * lib/autom4te.in: Adjust.
12012 2001-11-05  Akim Demaille  <akim@epita.fr>
12014         * tests/Makefile.am (testsuite): Rename this target as...
12015         ($(TESTSUITE)): this.
12016         From Nicolas Joly.
12018 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
12020         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
12021         the --prefix option, also remove it's argument.
12023 2001-11-05  Akim Demaille  <akim@epita.fr>
12025         * doc/autoconf.texi (testsuite Invocation): Update.
12026         (Writing testsuite.at): Update.
12028 2001-11-03  Akim Demaille  <akim@epita.fr>
12030         * doc/autoconf.texi: s/@code/@command/ where appropriate.
12032 2001-11-03  Akim Demaille  <akim@epita.fr>
12034         * lib/Autom4te/General.pm: (&catfile, &canonfile)
12035         (&file_name_is_absolute): New, wrappers around routines from
12036         File::Spec.
12037         Use and export them.
12038         (&find_configure_ac): Optionally take a directory where to look at.
12039         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
12040         the arguments.
12041         Default @ARGV to `.', not find_configure_ac.
12042         (&autoreconf): Argument is a directory.
12043         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
12044         * doc/autoconf.texi (autoreconf Invocation): Update.
12046 2001-11-03  Akim Demaille  <akim@epita.fr>
12048         * lib/Autom4te/General.pm (@export_vars, @export_subs)
12049         (@export_forward_subs): New.
12050         Add basename, dirname, and fileparse.
12051         (@EXPORT): Adjust.
12052         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
12053         Don't look for aclocal flags if we already know aclocal is not
12054         used.
12055         Move aclocal.m4t only if it exists.
12056         Reported by Ezra Peisach.
12058 2001-11-03  Akim Demaille  <akim@epita.fr>
12060         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
12061         passed on command line, defaulting to ./configure.ac if present.
12062         (&maybe_autoreconf, File::Find): Remove, unused.
12063         (&autoreconf): If autoconf is not used, don't try to trace.
12065 2001-11-02  Akim Demaille  <akim@epita.fr>
12067         * configure.ac: Bump to 2.52g.
12069 2001-11-02  Akim Demaille  <akim@epita.fr>
12071         Version 2.52f.
12073 2001-11-02  Akim Demaille  <akim@epita.fr>
12075         * config/config.guess, config/config.sub, doc/standards.texi:
12076         * config/lispdir.m4: Update from masters.
12077         * configure.ac: Bump to 2.52f.
12079 2001-11-02  Akim Demaille  <akim@epita.fr>
12081         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
12082         Don't run aclocal when aclocal.m4 is not from aclocal.
12083         From Ezra Peisach.
12084         Don't run libtoolize and gettextize if --install is not given.
12086 2001-11-01  Paul Eggert  <eggert@twinsun.com>
12088         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
12089         be invoked before _AS_LINENO_PREPARE.
12090         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
12091         than character ranges.
12093         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
12094         invoking AS_BASENAME.  Set the locale variables to 'C' if
12095         possible, as POSIX requires this to get the traditional
12096         behavior.
12097         * doc/autoconf.texi (Special Shell Variables): Describe the above.
12099 2001-10-31  Paul Eggert  <eggert@twinsun.com>
12101         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
12102         with {}, as that triggers a bug in Bash 2.05.
12104         (_AS_LINENO_PREPARE): Use Sed rather than
12105         Awk.  Fix the sed prepass to work even if there are multiple
12106         instances of $LINENO on the same line.  Do not substitute for
12107         other variables like $LINENOT.  Do not check file dates; such a
12108         check is unreliable on sufficiently fast machines, and removing
12109         the check makes the code simpler and more reliable.  Check for
12110         output and chmod failures.
12112         * doc/autoconf.texi (Special Shell Variables): Document
12113         the above.
12115 2001-10-31  Akim Demaille  <akim@epita.fr>
12117         * tests/Makefile.am (atconfig): Remove this target, Automake
12118         handles it now.
12120 2001-10-31  Akim Demaille  <akim@epita.fr>
12122         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
12123         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
12124         provided, while it is optional.
12125         * configure.ac: Adjust.
12127 2001-10-26  Paul Eggert  <eggert@twinsun.com>
12129         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
12130           lib/Autom4te/Struct.pm:
12131         Require Perl 5.005_03 instead of just 5.005, as some tests fail
12132         with 5.005_02.
12134         * doc/autoconf.texi (Special Shell Variables): Document some
12135         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
12137         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
12138         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
12139         eval $LINENO is not portable in practice.
12141 2001-10-24  Akim Demaille  <akim@epita.fr>
12143         * lib/Autom4te/General.pm (backname): New.
12145 2001-10-24  Akim Demaille  <akim@epita.fr>
12147         * m4/: Remove, merged into...
12148         * config/: here.
12150 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
12152         * doc/autoconf.texi (Shellology): Mention the problems with bash
12153         2.05's use of ANSI quoting in its `set' builtin.
12155 2001-10-22  Paul Eggert  <eggert@twinsun.com>
12157         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
12158         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
12159         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
12160         POSIX decided to standardize on the int flavor of strerror_r.
12161         Always do char* test, as there's no reason not to.
12162         Assign to a char* var, to catch strerror_r that returns int*.
12164         * doc/autoconf.texi (Particular Functions):
12165         Document the above changes.  Also, document the fact that
12166         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
12168         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
12170 2001-10-20  Akim Demaille  <akim@epita.fr>
12172         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
12173         the executable was missing from the log.
12175 2001-10-20  Akim Demaille  <akim@epita.fr>
12177         * lib/Autom4te/General.pm (&update_file): If destination is
12178         unchanged, remove the source.
12179         (&up_to_date_p): Don't be verbose, be debug.
12180         * bin/autoreconf.in: No longer support --m4dir.
12181         (&autoreconf): Display the full path of the configure.ac we are
12182         studying.
12183         Trace it only once.
12184         Be sure to honor --force with gettextize.
12185         Always run aclocal.
12186         * doc/autoconf.texi: Adjust.
12188 2001-10-20  Akim Demaille  <akim@epita.fr>
12190         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
12191         Remove, dead.
12192         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
12193         `intl' is already present, as it refuses unless --force.
12194         (&parse_args): Use -I, --include instead of the old Autoconf
12195         options.
12196         ($localdir, $autoconf_dir): Remove.
12197         (@include): New.
12198         (&maybe_autoreconf): New, to preserve $_ for File::Find.
12200 2001-10-19  Jens Petersen  <petersen@redhat.com>
12202         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
12203         * doc/autoconf.texi (Particular Programs): Likewise.
12205 2001-10-19  Akim Demaille  <akim@epita.fr>
12207         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
12208         file in @configure_input@.
12209         Don't mention `automatically' in addition to `generated'.
12210         * tests/torture.at (#define header templates): Adjust.
12212 2001-10-19  Akim Demaille  <akim@epita.fr>
12214         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
12215         comment, explain how to install automatic mode selection.
12216         From Russ Allbery.
12218 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
12220         * bin/autoreconf.in (autoreconf): Display the path to the
12221         configure.ac being studied.
12223 2001-10-18  Paul Eggert  <eggert@twinsun.com>
12225         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
12226         long, to work around a bug in the HP C compiler version HP92453-01
12227         B.11.11.23709.GP.
12229         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
12230         (AS_BASENAME_EXPR): New macro.
12231         (AS_BASENAME_SED): Do not assume GNU sed semantics.
12232         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
12233         and fall back on 'sed' only if the other two fail.  This makes
12234         AS_BASENAME act more like AS_DIRNAME.
12235         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
12236         contains white space.
12237         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
12238         Use AS_DIRNAME, since I think it's now DOS-friendly.
12239         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
12240         Allow "dirname //FOO" to return either / or //, as POSIX allows
12241         either behavior.
12243 2001-10-10  Akim Demaille  <akim@epita.fr>
12245         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
12246         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
12247         From Eric Sharkey.
12249 2001-10-10  Akim Demaille  <akim@epita.fr>
12251         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
12252         m4_define, since...
12253         (_AS_ECHO_N): AS_REQUIREs it.
12255 2001-10-10  Akim Demaille  <akim@epita.fr>
12257         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
12258         (AC_INCLUDES_DEFAULT): Move to...
12259         * lib/autoconf/headers.m4: here.
12260         * lib/autoconf/types.m4: Comment changes.
12261         * doc/autoconf.texi: Specify where the default includes are used
12262         in the macro prototypes.
12264 2001-10-09  Akim Demaille  <akim@epita.fr>
12266         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
12267         transition code.
12269 2001-10-08  Akim Demaille  <akim@epita.fr>
12271         * bin/autoreconf.in (&autoreconf): Remove debugging code.
12272         (&parse_args): Pass verbosity/debugging options to subtools when
12273         --debug, not when --verbose.
12274         * lib/autom4te.in (Autoreconf-preselections): New.
12275         (Autoconf): Use it.
12277 2001-10-08  Akim Demaille  <akim@epita.fr>
12279         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
12281 2001-10-08  Akim Demaille  <akim@epita.fr>
12283         * doc/autoconf.texi (autoreconf Invocation): Adjust.
12284         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
12286 2001-10-08  Akim Demaille  <akim@epita.fr>
12288         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
12289         (Syntax of the shell scripts): Don't.
12290         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
12291         bother with $force since...
12292         * lib/Autom4te/General.pm: does.
12294 2001-10-08  Akim Demaille  <akim@epita.fr>
12296         * bin/autoreconf.in: Rewrite in Perl.
12297         * configure.ac: Adjust.
12298         * lib/Autom4te/General.pm (&up_to_date_p): New.
12299         * bin/autom4te.in (&up_to_date_p): Use it.
12300         Rename as...
12301         (&up_to_date): this.
12303 2001-10-08  Akim Demaille  <akim@epita.fr>
12305         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
12306         (m4_list_cmp): Use $0 to reinvoke yourself.
12307         (m4_patsubsts): New.
12308         (m4_strip, m4_version_unletter): Use it.
12309         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
12311 2001-10-08  Akim Demaille  <akim@epita.fr>
12313         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
12314         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
12315         * lib/autoconf/types.m4, lib/autotest/general.m4,
12316         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
12317         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
12318         m4_bregexp, m4_bpatsubst, and m4_bmatch.
12319         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
12321 2001-10-08  Akim Demaille  <akim@epita.fr>
12323         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
12325 2001-10-08  Akim Demaille  <akim@epita.fr>
12327         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
12328         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
12329         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
12330         * tests/tools.at, tests/m4sh.at: Use it.
12331         * tests/m4sh.at: Don't rely on Autoconf macros.
12332         (DIRNAME_TEST): Also exercise the expr variant.
12333         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
12334         preferred M4sugar extension is now `.4s'.
12335         * tests/README: Remove.
12337 2001-10-08  Akim Demaille  <akim@epita.fr>
12339         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
12340         (m4_provide_if): this.
12341         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
12342         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
12343         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
12344         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
12346 2001-10-08  Akim Demaille  <akim@epita.fr>
12348         Use `add-log-current-defun-function' for ChangeLog creation.
12349         Suggested by Tom Tromey.
12351         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
12352         (autotest-mode): Adjust.
12353         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
12354         'comment-region onto `C-c ;'.
12355         Comments are `#', not `dnl'.
12356         (autoconf-current-defun): New.
12357         (autoconf-font-lock-keywords): Recognize `m4_defun'.
12359 2001-10-08  Akim Demaille  <akim@epita.fr>
12361         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
12362         * lib/m4sugar/m4sh.m4: here.
12363         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
12364         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
12365         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
12366         include handle the m4_pattern_*, no longer push the
12367         BODY diversion nor set the /bin/sh line, AS_INIT does it.
12368         * lib/autotest/general.m4 (AT_INIT): Likewise.
12369         * tests/base.at: Adjust the tests to use AS_INIT.
12370         * tests/tools.at (AT_DATA_FORBIDDEN): New.
12371         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
12372         Autoconf.
12374 2001-10-07  Paul Eggert  <eggert@twinsun.com>
12376         * doc/autoconf.texi (config.status Invocation):
12377         CONFIG_SHELL defaults to a shell that supports LINENO if available.
12379         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
12380         shell does not support LINENO, and if CONFIG_SHELL is unset or
12381         empty, and if we can find a shell that does support LINENO,
12382         then set CONFIG_SHELL to that shell and then re-execute
12383         ourselves with CONFIG_SHELL.
12385 2001-10-05  Paul Eggert  <eggert@twinsun.com>
12387         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
12388         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
12389         build of $(TESTSUITE).
12391 2001-10-05  Akim Demaille  <akim@epita.fr>
12393         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
12394         iff we are a bareword.
12395         Reported by Raja R Harinath.
12397 2001-10-05  Akim Demaille  <akim@epita.fr>
12399         * tests/m4sh.at (LINENO): New.
12400         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
12401         PATH_SEPARATOR before using it.
12402         Fix the absolute path case/esac pattern.
12403         Provide $0 as fallback for as_myself.
12404         Reported by Raja R Harinath.
12406 2001-10-05  Akim Demaille  <akim@epita.fr>
12408         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
12409         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
12411 2001-10-05  Akim Demaille  <akim@epita.fr>
12413         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
12414         (AS_SHELL_SANITIZE): here.  Use it.
12415         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
12416         From Paul Eggert.
12418 2001-10-04  Akim Demaille  <akim@epita.fr>
12420         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
12421         combination of Awk and sed to replace $LINENO.
12423 2001-10-02  Paul Eggert  <eggert@twinsun.com>
12425         * doc/autoconf.texi (Limitations of Builtins): You can't use
12426         "source"; it's not portable.  Remove confusing and
12427         somewhat-incorrect example involving "." and "/".
12429         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
12430         compatibility with POSIX shells.
12432 2001-10-02  Akim Demaille  <akim@epita.fr>
12434         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
12435         instead of exec'ing to preserve $0 and $@.
12437 2001-10-01  Akim Demaille  <akim@epita.fr>
12439         * tests/testsuite (AT_INIT) <at_pass_list>: New.
12440         Don't run twice the same test.
12442 2001-10-01  Akim Demaille  <akim@epita.fr>
12444         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
12445         No longer output the list of tests.
12446         <--list>: New option.
12447         <--full-help>: Remove.
12448         Complete the short/long options duality.
12449         Various small adjustments.
12451 2001-10-01  Akim Demaille  <akim@epita.fr>
12453         * doc/autoconf.texi: Use @kbd for user input.
12454         Always use `$' as shell prompt.
12456 2001-09-30  Paul Eggert  <eggert@twinsun.com>
12458         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
12459         Don't use nested parenthesization.  This patch was originally
12460         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
12461         but somehow it didn't get incorporated then.
12462         * doc/autoconf.texi (Limitations of Usual Tools):
12463         Clarify remark about sed and nested parenthesization.
12465         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
12466         Report an error if the size cannot be determined even though
12467         the type exists.
12468         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12469         Check for `expr' arithmetic overflow, and for compilation failure,
12470         and invoke a new argument $4 if either is discovered.
12471         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
12472         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
12474 2001-09-28  Akim Demaille  <akim@epita.fr>
12476         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
12477         * m4/lispdir.m4: New.
12478         * aclocal.m4, configure.ac: Adjust.
12480 2001-09-28  Akim Demaille  <akim@epita.fr>
12482         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
12483         (AT_TESTED): this.
12484         (AT_INIT): More the wrapped section to where it will be expanded.
12485         Output `AT_tested' only when existing.
12486         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
12488 2001-09-27  Akim Demaille  <akim@epita.fr>
12490         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
12491         generates too many bug reports.
12493         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
12494         status when executing the ACTION-IF-FALSE.
12495         * tests/base.at (AC_TRY_*): Rename as...
12496         (AC_TRY_COMMAND): this.
12497         (AC_RUN_IFELSE): New.
12498         * tests/compile.at (Extensions, C keywords)
12499         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
12500         (Broken/missing compilers, AC_PROG_CPP with warnings)
12501         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
12502         * tests/c.at (Extensions, C keywords)
12503         (Broken/missing compilers, AC_PROG_CPP with warnings)
12504         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
12505         (AC_PROG_CPP requires AC_PROG_CC): here and...
12506         * tests/fortran.at (GNU Fortran 77): there.
12507         * doc/autoconf.texi (autoconf Invocation): Fix the example:
12508         AC_TRY_RUN is about compilation, not shell commands.
12509         (Test Programs): AC_TRY_RUN works as used to be advertised.
12511 2001-09-27  Akim Demaille  <akim@epita.fr>
12513         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
12514         Raja R Harinath:
12515         Be sure to detect when $LINENO always returns the same value.
12516         Look for the original script, basename($0) is certainly not
12517         enough.
12518         Pass the CLI arguments to `$as_me.lineno'.
12520 2001-09-25  Akim Demaille  <akim@epita.fr>
12522         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
12523         Be sure the close and reopen the LOG fd before and after using tee
12524         to extend the log.
12525         <at_tests_pattern>: Adjust to the new format of at_help_all.
12527 2001-09-23  Akim Demaille  <akim@epita.fr>
12529         * bin/autom4te.in (parse_args): There can be several invocations
12530         of --language now.
12532 2001-09-23  Akim Demaille  <akim@epita.fr>
12534         * doc/autoconf.texi (Top): Wrap in @ifnottex.
12536 2001-09-23  Akim Demaille  <akim@epita.fr>
12538         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
12539         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
12540         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
12541         builddir, buildpath, top_builddir, and top_buildpath.
12542         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
12543         the current directory.
12544         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
12545         variables *before* changing the current directory.
12546         Skip nonexistent dirs.
12547         * doc/autoconf.texi (Preset Output Variables): Document these
12548         variables.
12550         * lib/autotest/general.m4: Do not reset AT_victims.
12551         Don't compute at_srcdir nor at_top_srcdir.
12553         * tests/tools.at: Hence use top_srcdir.
12555         * tests/Makefile.am, tests/autoconf, tests/autoheader,
12556         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
12557         Remove.
12558         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
12559         * tests/wrapsh.in, tests/autoupdate.in: New.
12560         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
12561         * configure.ac: Build the position independent wrappers.
12563         * man/Makefile.am: Now that test wrappers are position
12564         independent, use them and drop dark envvar magic.
12566 2001-09-23  Akim Demaille  <akim@epita.fr>
12568         * doc/autoconf.texi (Common Shell Constructs): Rename as...
12569         (Programming in M4sh): this.
12570         Promote to @section.
12572 2001-09-23  Akim Demaille  <akim@epita.fr>
12574         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
12575         Pass $at_debug_args to the rerun test suite.
12576         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
12577         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
12578         From Paul Eggert.
12580 2001-09-23  Akim Demaille  <akim@epita.fr>
12582         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
12584 2001-09-23  Akim Demaille  <akim@epita.fr>
12586         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
12587         over-escaping.
12589 2001-09-23  Akim Demaille  <akim@epita.fr>
12591         * lib/Autom4te/General.pm (&debug): New.
12592         * bin/autom4te.in ($language): Move to...
12593         (parse_args): here.
12594         Handle --language in languages.
12595         * lib/autom4te.in (Automake-selections, Autoheader-selections)
12596         (Autoscan-selections): New.
12597         (Autoconf): Adjust.
12599 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
12601         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
12602         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
12603         to match current versions from CVS Automake.
12605 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
12607         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
12608         for $LINENO.
12610 2001-09-22  Akim Demaille  <akim@epita.fr>
12612         * lib/autoconf/autotest.m4: Create `package.m4'.
12613         * tests/Makefile.am (package.m4): Remove.
12615 2001-09-22  Akim Demaille  <akim@epita.fr>
12617         Rely on `$LINENO' when possible instead of `__oline__'.
12619         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
12620         `$LINENO' support replacement when not supported.
12621         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
12622         them explicitly to be sure they are not output before this section
12623         (via m4_require).  Cosmetic only.
12624         * lib/autoconf/c.m4, lib/autoconf/general.m4,
12625         * lib/autoconf/programs.m4: Replace all the occurrences of
12626         `__oline__' with `$LINENO'.
12627         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
12629 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
12631         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
12632         character (u: -> ue) in a code comment.
12633         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
12634         it works.
12636 2001-09-21  Akim Demaille  <akim@epita.fr>
12638         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
12639         Suggested by Jim Meyering.
12641 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
12643         * lib/autoconf/programs.m4: Use extensions listed in
12644         $ac_executable_extensions when looking for programs.
12646 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
12648         * lib/autoconf/general.m4: Fix a small Englisho.
12649         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
12650         setting up ac_dir_suffix and ac_top_builddir.
12651         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
12653 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
12655         * doc/autoconf.texi (File System Conventions): Clarify the use of
12656         PATH_SEPARATOR.
12657         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
12658         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
12659         be used instead of ':'.
12660         * lib/autotest/general.m4: Replace occurrences of ':' in
12661         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
12663 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
12665         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
12666         arguments.  Fixed a typo.
12668 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
12670         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
12671         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
12673 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
12675         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
12676         * bin/autoupdate.in: Ditto.
12677         * bin/autoheader.in: Reworded a few comments.
12678         * bin/autoconf.in: Reworded help text for a few options.
12679         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
12680         * bin/autoscan.in, bin/autoupdate.in: Ditto.
12682 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
12684         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
12685         already have $file).  Set output files to binary mode (helps avoid
12686         CR issues on DOSish systems).
12688 2001-09-19  Akim Demaille  <akim@epita.fr>
12690         * lib/autotest/general.m4: Englishoes.
12691         From Tim Van Holder and Alexey Mahotkin.
12693 2001-09-18  Paul Eggert  <eggert@twinsun.com>
12695         * doc/autoconf.texi (Common Shell Constructs): New node,
12696         documenting AS_DIRNAME.
12697         (Limitations of Usual Tools): Refer to it when discussing dirname.
12698         Also, update discussion of POSIX standard to reflect latest draft.
12700         * lib/autoconf/c.m4:
12701         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
12703         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12704         Do not pass a first argument with leading '-'
12705         to expr, by parenthesizing initial integers that might be negative.
12707         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
12708         now merely checks whether it is an error to pass an argument
12709         to getpgrp.
12711         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
12712         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
12713         whether it is a (compile-time) error to pass an argument to
12714         getpgrp.  This simpler test supports the revised documentation,
12715         and is all that AC_FUNC_GETPGRP's users really need.
12717 2001-09-18  Akim Demaille  <akim@epita.fr>
12719         * doc/autoconf.texi (Limitations of Make) <$<>: New.
12721 2001-09-18  Akim Demaille  <akim@epita.fr>
12723         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
12724         `{}'.
12725         * lib/autotest/general.m4 (AT_INIT): Adjust.
12727 2001-09-18  Paul Wagland  <paul@wagland.net>
12729         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
12730         correctly.
12731         Add test for AS_BASENAME.
12732         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
12733         added test. It now correctly handles /1/2/3/, returning '3' not ''.
12734         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
12735         * tests/base.at: Fixed the expected responses. The old ones were
12736         one line out...
12737         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
12738         the documentation claims it should (and how it behaved in 2.13).
12740 2001-09-18  Akim Demaille  <akim@epita.fr>
12742         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
12743         the AC_CONFIG_COMMANDS invocation.
12744         This also solves the name clash problems.
12745         Don't set the package's ID.
12746         * lib/m4sugar/Makefile.am (version.m4): Revamp.
12747         No longer to be shipped.
12748         (version.in): Remove.
12749         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
12750         * lib/autoconf/status.m4: Adjust.
12751         Use `m4_PACKAGE_STRING'.
12752         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
12753         the only optional argument is the name of the test suite.
12754         Expect `package.m4' to define the package signature.
12755         * lib/autom4te.in (Autotest): Add `package.m4?'.
12756         * tests/Makefile.am (package.m4): New.
12757         * tests/suite.at: ifnames is a victim.
12759 2001-09-18  Akim Demaille  <akim@epita.fr>
12761         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
12762         AC_LIBSOURCE, AC_CONFIG_FILES.
12763         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
12764         program version string doesn't match the package's.
12765         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
12766         after `(cached)'.
12768 2001-09-17  Paul Eggert  <eggert@twinsun.com>
12770         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12771         Allow expression to return any value that can fit into unsigned long
12772         (not int, as before).  Check for output errors.
12774 2001-09-17  Bruno Haible  <haible@ilog.fr>
12776         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12777         Always include <stdio.h> and <stdlib.h>. Evaluate
12778         the expression in an extra function before these includes. Call
12779         fprintf "%d" only after ensuring the argument is of type 'int'.
12780         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
12782 2001-09-17  Paul Eggert  <eggert@twinsun.com>
12784         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
12785         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
12786         fatal errors, and AC_CHECK_LIB causes it to include libraries even
12787         when they don't exist.
12789         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
12790         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
12791         need it.
12793         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
12794         version with the version used by fileutils 4.1, except use
12795         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
12796         we don't need it.
12798         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
12800 2001-09-13  Akim Demaille  <akim@epita.fr>
12802         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
12803         _first_.
12804         Reported by Gerrit P. Haase.
12806 2001-09-13  Akim Demaille  <akim@epita.fr>
12808         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
12809         m4_defn'ing is valid.
12811 2001-09-13  Akim Demaille  <akim@epita.fr>
12813         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
12814         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
12815         Use it.
12817 2001-09-13  Akim Demaille  <akim@epita.fr>
12819         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
12820         m4_match.
12821         (m4_re_escape): New.
12822         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
12823         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
12824         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
12825         Likewise.
12826         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
12827         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
12828         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
12829         AT_tests_all for consistency.
12830         Set at_victims.
12831         (AT_VICTIMS): Similar to AT_KEYWORDS.
12832         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
12834 2001-09-13  Akim Demaille  <akim@epita.fr>
12836         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
12838 2001-09-13  Akim Demaille  <akim@epita.fr>
12840         * lib/autotest/general.m4 (AT_INIT): Create and remove
12841         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
12842         test suites can cohabit.
12844 2001-09-13  Akim Demaille  <akim@epita.fr>
12846         * tests/mktests.sh: Don't output banners for empty test files.
12848 2001-09-13  Akim Demaille  <akim@epita.fr>
12850         Test suites can be run independently of configure.
12852         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
12853         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
12854         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
12855         ECHO_N etc.
12856         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
12857         and at_c.
12858         * lib/autotest/general.m4: Use ECHO_*.
12860 2001-09-13  Akim Demaille  <akim@epita.fr>
12862         * bin/ifnames.in: Rewrite in Perl.
12863         * configure.ac: Don't look for AWK.
12864         * tests/tools.at (AWK portability): Remove.
12865         (Syntax of the shell scripts): Don't check ifnames.
12866         (AT_CHECK_PERL_SYNTAX): New.
12867         (Syntax of the Perl scripts): Check ifnames.
12868         * tests/ifnames: New.
12870 2001-09-13  Akim Demaille  <akim@epita.fr>
12872         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
12873         test group titles.
12874         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
12875         Remove all the other keywords.
12877 2001-09-10  Akim Demaille  <akim@epita.fr>
12879         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
12880         SETUP: no longer used.
12881         Support -k, --keywords.
12882         <at_help>: Be `no', `short', or `long'.
12883         <at_help_all>: New variable.
12884         (AT_KEYWORDS): New.
12885         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
12886         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
12887         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
12888         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
12889         No longer fill the HELP diversion.
12890         (AT_CLEANUP): Use them.
12891         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
12892         (m4_list_append): Remove.
12894         Spread a few keywords in the Autoconf test suite.
12896 2001-09-10  Akim Demaille  <akim@epita.fr>
12898         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
12899         PATH_SEPARATOR, let M4sh compute it.
12900         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
12901         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
12902         Move to...
12903         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
12904         Simplify when the path is not a literal.
12905         (AS_UNAME): Use it to report PATH.
12906         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
12907         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
12908         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
12909         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
12910         normalize the path, and to look for victims.
12911         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
12912         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
12914 2001-09-07  Akim Demaille  <akim@epita.fr>
12916         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
12917         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
12918         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
12919         related variables into `at_package_*'.
12920         * lib/autotest/general.m4 (AT_VICTIMS): New.
12921         (AT_INIT): Adjust for stand-alone/embedded test suites.
12922         (AS_MESSAGE_LOG_FD): Define and use it.
12923         * tests/suite.at (AT_VICTIMS): Use it.
12924         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
12925         at_version.
12927 2001-09-07  Akim Demaille  <akim@epita.fr>
12929         Move toward possibly stand-alone test suites.
12931         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
12932         in addition, it introduces useless differences in logs.
12933         (AT_INIT): Let atconfig and atlocal be both optional.
12934         Adjust PATH computation.
12935         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
12937 2001-09-07  Akim Demaille  <akim@epita.fr>
12939         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
12940         m4sugar/version.m4.
12942 2001-09-05  Akim Demaille  <akim@epita.fr>
12944         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
12945         to avoid GCC warnings.
12946         From Uwe Seimet.
12948 2001-09-05  Akim Demaille  <akim@epita.fr>
12950         * bin/autom4te.in: --language is -l, not -s.
12952 2001-09-05  Akim Demaille  <akim@epita.fr>
12954         Be ready to handle filenames as stupid as `dnl.at', for if even
12955         the maintainer is dumb enough to do that...
12957         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
12958         excellence in M4 quotation: consider `__file__' is active.
12960         And BTW, when invoking m4, pass the --include in the right order:
12961         the wrong one.
12963         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
12964         4m.
12966 2001-09-05  Akim Demaille  <akim@epita.fr>
12968         * lib/Autom4te/XFile.pm: New lib file.
12969         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
12970         * bin/autoheader.in: Use it.
12972 2001-09-05  Akim Demaille  <akim@epita.fr>
12974         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
12975         defined.
12977 2001-09-05  Akim Demaille  <akim@epita.fr>
12979         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
12980         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
12982         * bin/autoscan.in: Use `getopt' and `find_files' etc.
12983         Add -I, --include support.
12984         * doc/autoconf.texi (autoscan Invocation): Adjust.
12986 2001-09-05  Akim Demaille  <akim@epita.fr>
12988         CVS GNU M4 doesn't like `undefine(undefined)'.
12990         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
12991         New, extracted from main.
12992         Use IO::File wherever possible.
12993         (input.m4): Be constant, use -I instead of hard coding $tmp.
12994         Therefore be a quoted heredoc.
12995         Don't invoke `_au_disable', since ac was not loaded, but just
12996         `unm4.m4'.
12998 2001-08-31  Akim Demaille  <akim@epita.fr>
13000         Version 2.52d.
13002 2001-08-31  Akim Demaille  <akim@epita.fr>
13004         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
13005         previous patch.
13006         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
13008 2001-08-31  Akim Demaille  <akim@epita.fr>
13010         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
13011         serious problems handling heredocs in heredocs.
13012         Reported by Nicolas Joly.
13014 2001-08-31  Akim Demaille  <akim@epita.fr>
13016         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
13017         (Making testsuite Scripts): Update.
13019 2001-08-31  Akim Demaille  <akim@epita.fr>
13021         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
13023 2001-08-31  Akim Demaille  <akim@epita.fr>
13025         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
13026         (testsuite Scripts): There is no such thing as `atconfig.in'.
13027         And actually one diagram is missing: test suite runtime.
13029 2001-08-31  Akim Demaille  <akim@epita.fr>
13031         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
13032         inverse order.
13034 2001-08-31  Akim Demaille  <akim@epita.fr>
13036         * bin/autoupdate.in (@include): `installcheck' revealed the path
13037         to m4sugar was lacking!
13039 2001-08-31  Akim Demaille  <akim@epita.fr>
13041         * man/Makefile.am (.x.1): We really have to pass
13042         autom4te_perllibdir.
13044 2001-08-31  Akim Demaille  <akim@epita.fr>
13046         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
13047         debug scripts, in particular passing explicitly listed tests to
13048         run is stupid.
13050 2001-08-31  Akim Demaille  <akim@epita.fr>
13052         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
13053         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
13054         Use directly autom4te, not autoconf.
13055         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
13057 2001-08-31  Akim Demaille  <akim@epita.fr>
13059         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
13060         * bin/autoheader.in (%symbol): Strip arguments of macros.
13062 2001-08-31  Akim Demaille  <akim@epita.fr>
13064         * doc/autoconf.texi: Catch up -I, --include changes.
13066 2001-08-31  Akim Demaille  <akim@epita.fr>
13068         * bin/autom4te.in (&parse_args): Die on unknown languages.
13069         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
13070         need for autoconf.
13071         Promote --include over --macrodir and other obsolete options.
13073 2001-08-31  Akim Demaille  <akim@epita.fr>
13075         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
13076         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
13077         * bin/autom4te.in ($autoconf): Pass --force.
13078         `print $out' doesn't print `$_' but `$out'.
13079         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
13080         (autoheader): Pass --force since the test suite goes too fast for
13081         the time stamps.
13082         Adjust to the new autoheader messages.
13084 2001-08-31  Akim Demaille  <akim@epita.fr>
13086         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
13087         Check the completeness of the #template.
13088         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
13089         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
13090         invocation.
13092 2001-08-31  Akim Demaille  <akim@epita.fr>
13094         * lib/Autom4te/General.pm (&find_file, &update_file): New.
13095         * bin/autoupdate.in, bin/autoheader.in: Adjust.
13096         Drop AC_MACRODIR dead for real.
13097         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
13098         `autoheader: `config.hin' is created'.
13099         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
13101 2001-08-31  Akim Demaille  <akim@epita.fr>
13103         * bin/autoheader.in: Rewrite in Perl.
13104         * tests/autoheader: Adjust.
13106 2001-08-31  Akim Demaille  <akim@epita.fr>
13108         * bin/autoconf.in (--include, -I): New option.
13109         Map --localdir, --autoconf-dir onto it.
13110         Forward autom4te's options instead of interpreting them.
13111         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
13112         There is no such envvar since the inception of autom4te.cfg.
13113         * bin/autom4te.in (&parse_args): Uniquify `@include'.
13114         * bin/autoupdate.in: Adjust, and perform more control.
13115         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
13116         * tests/autoconf: Dittowise.
13118 2001-08-31  Akim Demaille  <akim@epita.fr>
13120         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
13121         * bin/autom4te.in (&find_file): Support `FILE?' standing for
13122         optionally `FILE'.
13123         Use -e, not -f, since /dev/null for instance is OK.
13124         (&parse_args): Adjust.
13125         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
13127 2001-08-31  Akim Demaille  <akim@epita.fr>
13129         * configure.ac: Also find tested executables in bin.
13130         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
13131         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
13132         installed peer executables, only PATH is allowed to resolve it.
13133         Pass `autoconf_dir' via options, not via invisible envvars.
13134         * lib/Autom4te/General.pm (&find_peer): Remove.
13135         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
13136         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
13137         * man/Makefile.am: Let help2man rely on PATH instead of trying to
13138         find the executables for it.
13139         * tests/Makefile.am: Major cleanup.  Too lazy to document...
13140         * tests/atlocal.in: Remove all the obscure envvar manipulations.
13141         We only need PERL.
13142         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
13143         indeed related to running the test suite, while passing
13144         --autoconf-dir and others is related to running non installed
13145         Autoconf executables.  So don't do that, leave it to...
13146         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
13147         * tests/autoscan: New.
13148         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
13149         refer to library files: rely on --language.
13151 2001-08-29  Akim Demaille  <akim@epita.fr>
13153         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
13154         s/--set/--language/.
13156 2001-08-29  Akim Demaille  <akim@epita.fr>
13158         * doc/autoconf.texi: Strip the @nodes.
13159         Suggested by Paul Eggert.
13160         (Initializing configure): Typo.
13162 2001-08-29  Akim Demaille  <akim@epita.fr>
13164         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
13165         Suggested by Paul Eggert.
13167 2001-08-29  Akim Demaille  <akim@epita.fr>
13169         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
13170         download in a tmp dir.
13172 2001-08-29  Akim Demaille  <akim@epita.fr>
13174         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
13175         case insensitive OSes out there :(
13176         From Tim Van Holder.
13178 2001-08-29  Akim Demaille  <akim@epita.fr>
13180         * lib/autom4te.in: New.
13181         * lib/Makefile.am (edit, autom4te.cfg): New.
13182         * bin/autom4te.in (BEGIN): Simplify.
13183         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
13184         (&load_configuration): New.  Use it.
13185         (&parse_args): Support --mode, --set, and --melt.
13186         * bin/autoconf.in: Simplify and adjust.
13187         * tests/Makefile.am (AUTOMAKE): Use --set.
13188         * tests/atlocal.in: Adjust.
13189         * BUGS: distcheck and check are weak.
13191 2001-08-29  Akim Demaille  <akim@epita.fr>
13193         * lib/autotest/general.m4: Use
13194                 foo=`(command) 2>/dev/null`
13195         not
13196                 foo=`command` 2>/dev/null
13197         (at-devnull): Rename as...
13198         (AT-devnull): this.
13199         (--clean): Remove AT-* files too.
13200         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
13201         Reported by Nicolas Joly.
13203 2001-08-28  Akim Demaille  <akim@epita.fr>
13205         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
13206         quotes inside single quotes.
13207         Reported by Nicolas Joly.
13209 2001-08-28  Kevin Ryde  <user42@zip.com.au>
13211         * doc/autoconf.texi (Function Portability): Mention C right shifts.
13213 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
13215         * lib/autotest/general.m4: Reword some messages.
13216         (AT_INIT): Check for the `times' builtin before using it.
13217         Support test ranges as arguments to the testsuite.
13218         Have -e imply -d as the help text suggested.
13220 2001-08-27  Akim Demaille  <akim@epita.fr>
13222         * Makefile.maint: Formatting changes.
13223         (do-po-update, po-update, cvs-update, update): New targets.
13224         (AMTAR): Remove.
13226 2001-08-27  Akim Demaille  <akim@epita.fr>
13228         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
13229         <at_cmd_line>: New.
13230         Pass it to debug-*.sh scripts.
13231         <AUTOTEST_PATH>: May contain absolute dir names.
13233 2001-08-27  Akim Demaille  <akim@epita.fr>
13235         * lib/autotest/general.m4 (AT_INIT): Log the command line.
13236         Support `VAR=VAL' as arguments.
13237         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
13238         may be set via the command line.
13240 2001-08-27  Akim Demaille  <akim@epita.fr>
13242         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
13243         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
13244         first the build dirs, then the src dirs.
13245         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
13247 2001-08-27  Akim Demaille  <akim@epita.fr>
13249         * lib/autotest/general.m4 (AT_INIT): Output the definition of
13250         at_data_files earlier.
13251         (--clean, -c): New option.
13252         * tests/Makefile.am: Use this option.
13254 2001-08-27  Akim Demaille  <akim@epita.fr>
13256         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
13257         `ac_top_builddir' to mimic Automake's vocabulary, which much more
13258         readable.
13259         Adjust callers.
13260         * doc/autoconf.texi (Configuration Actions): Document the vars
13261         available in commands.
13262         Emphasize the risks of collisions in init-cmds.
13264 2001-08-27  Akim Demaille  <akim@epita.fr>
13266         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
13267         (Initializing configure): this new node.
13269 2001-08-27  Akim Demaille  <akim@epita.fr>
13271         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
13273 2001-08-27  Akim Demaille  <akim@epita.fr>
13275         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
13276         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
13277         New file.
13278         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
13280 2001-08-27  Akim Demaille  <akim@epita.fr>
13282         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
13283         to...
13284         * lib/autoconf/autoheader.m4: this new file.
13285         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
13286         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
13287         Move to...
13288         * lib/autoconf/autoupdate.m4: this new file.
13290 2001-08-27  Akim Demaille  <akim@epita.fr>
13292         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
13293         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
13294         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
13295         -> ac_dir).
13296         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
13297         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
13299 2001-08-27  Akim Demaille  <akim@epita.fr>
13301         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
13302         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
13303         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
13304         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
13305         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
13306         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
13307         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
13308         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
13309         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
13310         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
13311         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
13312         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
13313         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
13314         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
13315         (_AC_OUTPUT_SUBDIRS): Move to...
13316         * lib/autoconf/status.m4: this new file.
13317         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
13318         * tests/Makefile.am, tests/suite.at: Adjust.
13320 2001-08-27  Akim Demaille  <akim@epita.fr>
13322         Automake 1.5.
13324         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
13325         (AMTAR): Help automake define it.
13326         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
13327         needed, 1.5 can have a macro and a target with the same name.
13328         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
13329         * m4/strip.m4: New.
13330         * m4/init.m4, m4/sanity.m4: Update.
13331         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
13332         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
13333         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
13334         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
13336 2001-08-27  Akim Demaille  <akim@epita.fr>
13338         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
13340         * lib/autoconf/version.in: Remove.
13341         * lib/m4sugar/version.in: New.
13342         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
13343         Adjust callers.
13344         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
13345         the name of the directory they're in, instead of the filename,
13346         since version.m4 is now in m4sugar, but m4_acversion must not be
13347         classified as an Autoconf macro.
13348         ($input_m4): Don't qualify the path to m4sugar.
13349         Rather, pass autoconf_dir to m4.
13350         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
13351         * tests/suite.at: Require 2.52c.
13353 2001-08-27  Akim Demaille  <akim@epita.fr>
13355         testsuite.log should include config.log.
13357         * lib/autotest/autotest.m4: New.
13358         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
13359         * tests/suite.at : Adjust.
13360         (AT_INIT): Log config.log.
13361         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
13362         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
13363         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
13364         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
13365         of config.log on traps.
13366         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
13367         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
13368         for config.status'.
13369         Open the log as soon as possible.
13370         Use the same log introduction as configure's.
13372 2001-08-22  Paul Eggert  <eggert@twinsun.com>
13374         * doc/autoconf.texi (Indices): New node.
13375         Move indices out of the top level menu and into this submenu.
13377 2001-08-22  Akim Demaille  <akim@epita.fr>
13379         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
13380         AC_TRY_COMMAND.
13381         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
13383 2001-08-22  Akim Demaille  <akim@epita.fr>
13385         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
13386         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
13387         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
13388         * lib/autoconf/programs.m4: here.
13389         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
13390         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
13391         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
13392         * lib/autoconf/programs.m4: here.
13393         (_AC_DECL_YYTEXT): Rename as...
13394         (_AC_PROG_LEX_YYTEXT_DECL): this.
13395         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
13396         * tests/Makefile.am, tests/suite.am: Adjust.
13398 2001-08-22  Akim Demaille  <akim@epita.fr>
13400         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
13401         Move to...
13402         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
13403         here.
13404         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
13405         * lib/autoconf/functions.m4: here.
13406         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
13407         (AH_CHECK_LIB): Move to...
13408         * lib/autoconf/libs: this new file.
13409         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
13410         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
13411         * lib/autoconf/libs.m4: here.
13412         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
13414 2001-08-22  Akim Demaille  <akim@epita.fr>
13416         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
13417         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
13418         (AC_SITE_LOAD): Better logging of config.site.
13420 2001-08-20  Akim Demaille  <akim@epita.fr>
13422         * configure.ac (AT_CONFIG): Fix the path.
13423         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
13424         can be used.
13426 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
13428         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
13429         program with AC_LANG_PROGRAM before feeding it to
13430         AC_COMPILE_IFELSE.  Cleanup grep usage.
13432 2001-08-20  Akim Demaille  <akim@epita.fr>
13434         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
13435         * NEWS, README, README-alpha, TODO, tests/README: This package is
13436         `Autoconf', not `autoconf' (the executable).
13438 2001-08-20  Akim Demaille  <akim@epita.fr>
13440         Info readers seem to need `Index' in the index node title :(
13442         * doc/autoconf.texi: Reverse the 2001-08-15 change which
13443         simplified index node names.
13445 2001-08-20  Akim Demaille  <akim@epita.fr>
13447         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
13448         arguments are not literals.
13449         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
13450         Specify the output variables, and macros defined.
13452 2001-08-20  Akim Demaille  <akim@epita.fr>
13454         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
13455         (Examining Syntax) <AC_TRY_COMPILE>
13456         (Examining Libraries) <AC_TRY_LINK>
13457         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
13458         their arguments.
13459         Reported by Werner Lemberg.
13461 2001-08-20  Akim Demaille  <akim@epita.fr>
13463         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
13464         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
13465         Load atlocal late enough to dump it in the log.
13466         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
13468 2001-08-20  Akim Demaille  <akim@epita.fr>
13470         * tests/torture.at (Configuring subdirectories): New test.
13471         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
13472         looking for.
13473         * m4/atconfig.m4: Be sure the let $[0] be expandable.
13474         (top_srcdir): Fix its computation.
13476 2001-08-20  Akim Demaille  <akim@epita.fr>
13478         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
13479         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
13480         test suite lives.
13481         Create `atconfig' automagically.
13482         Configure atlocal.in if present.
13483         * tests/atconfig.in: Remove.
13484         * tests/atlocal.in: New.
13485         * tests/Makefile.am: Adjust.
13487 2001-08-20  Akim Demaille  <akim@epita.fr>
13489         Huh!?!?!  There are still some user EOF tags used, which prevents
13490         their use in AC_CONFIG_COMMANDS for instance...
13492         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
13493         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
13494         `_CSEOF', or `_ATEOF', as appropriate.
13495         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
13496         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
13498 2001-08-20  Akim Demaille  <akim@epita.fr>
13500         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
13501         * tests/semantics.at, tests/tools.at, tests/torture.at:
13502         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
13504 2001-08-20  Akim Demaille  <akim@epita.fr>
13506         Autotest invokes M4sh's initialization.
13508         * lib/autotest/general.m4: Adjust the diversion names.
13509         (AT_INIT): Run AS_INIT.
13510         Use the BINSH diversion to invoke /bin/sh.
13511         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
13512         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
13514 2001-08-20  Akim Demaille  <akim@epita.fr>
13516         Let M4sh have its own diversions.
13518         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
13519         (_m4_divert(NOTICE)): Rename as...
13520         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
13521         (_m4_divert(HEADER-COMMENT)): these.
13522         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
13523         (_m4_divert(NOTICE)): New, for Libtool.
13524         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
13525         long ago with `_m4_divert(GROW)'.
13526         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
13528 2001-08-20  Akim Demaille  <akim@epita.fr>
13530         * tests/base.at, tests/compile.at, tests/foreign.at,
13531         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
13532         * tests/semantics.at, tests/suite.at, tests/tools.at,
13533         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
13535 2001-08-20  Akim Demaille  <akim@epita.fr>
13537         * bin/autom4te.in (handle_output): Handle @__@.
13539 2001-08-20  Akim Demaille  <akim@epita.fr>
13541         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
13542         * lib/autotest/general.m4: Adjust the license.
13544 2001-08-17  Paul Eggert  <eggert@twinsun.com>
13546         * doc/autoconf.texi (Function Portability): Mention snprintf,
13547         following up on a suggestion by Kevin Ryde.
13549 2001-08-17  Akim Demaille  <akim@epita.fr>
13551         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
13552         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
13554 2001-08-17  Akim Demaille  <akim@epita.fr>
13556         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
13557         `$0.log' as for projects where testsuite is in src, we'd have
13558         testsuite.log created in src.
13560 2001-08-17  Akim Demaille  <akim@epita.fr>
13562         * bin/autom4te.in (&parse_args): Recognize --normalize.
13564 2001-08-17  Akim Demaille  <akim@epita.fr>
13566         Start implementing the AC_CHECK_HEADER transition scheme.
13568         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
13569         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
13570         (AC_CHECK_HEADER): Use them.
13572 2001-08-17  Akim Demaille  <akim@epita.fr>
13574         * doc/autoconf.texi: Work around Texinfo buglets.
13575         (Transformation Rules): One example is enough, users are expected
13576         to have their brains on. And BTW, use DESTDIR.
13577         (dvar): New macro.  Use it.
13579 2001-08-17  Akim Demaille  <akim@epita.fr>
13581         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
13582         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
13583         looking for ChangeLogs.
13585 2001-08-17  Akim Demaille  <akim@epita.fr>
13587         * bin/autom4te.in: --normalize is a new option.
13588         * bin/autoconf.in: Use it.
13590 2001-08-17  Akim Demaille  <akim@epita.fr>
13592         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
13593         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
13595 2001-08-16  Paul Eggert  <eggert@twinsun.com>
13597         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
13598         start, not at end.
13600 2001-08-15  Akim Demaille  <akim@epita.fr>
13602         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
13603         Use it.
13605 2001-08-15  Akim Demaille  <akim@epita.fr>
13607         * doc/autoconf.texi (pr): New index.
13608         (prindex, findex): Use, merge, and output them.
13609         (Environment Variable Index, Output Variable Index)
13610         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
13611         (Autotest Macro Index): Rename as...
13612         (Environment Variables, Output Variables,Preprocessor Symbols)
13613         (Autoconf Macros, M4 Macros, Autotest Macros): these.
13614         * doc/install.texi: Use @command.
13615         (Environment Variables): Rename as...
13616         (Defining Variables): this.
13618 2001-08-15  Akim Demaille  <akim@epita.fr>
13620         * doc/autoconf.texi (Function Portability): sprintf's return
13621         value.
13622         From Kevin Ryde.
13624 2001-08-15  Akim Demaille  <akim@epita.fr>
13626         * Makefile.maint (CVS): New.
13627         (local-check): Run changelog-check. last.
13628         (alpha): Don't depend upon local-check, since...
13629         (cvs-dist): depends upon it.
13631 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
13633         * tests/Makefile.am: Use a clean-local rule to remove
13634         autom4te.cache (it's a directory, not a file.
13635         * Makefile.am: Ditto (but maintainer-clean-local).
13637 2001-08-15  Akim Demaille  <akim@epita.fr>
13639         * bin/autom4te.in (@m4_warning): New.
13640         (&handle_m4): Use it.
13641         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
13642         warnings are issued at each run.
13643         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
13644         is in the src tree.
13646 2001-08-15  Akim Demaille  <akim@epita.fr>
13648         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
13649         don't waste time running `autoupdate --version' works.
13650         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
13652 2001-08-13  Akim Demaille  <akim@epita.fr>
13654         * doc/autoconf.texi (ma): Rename this index as...
13655         (ac): this.
13657 2001-08-13  Akim Demaille  <akim@epita.fr>
13659         * Makefile.am: Remove dead code and dead comments.
13660         (pdf, html): New targets.
13661         * doc/autoconf.texi (Using Autotest): New chapter.
13662         * doc/Makefile.am (pdf): New targets.
13663         (CLEANFILES): Adjust.
13665 2001-08-13  Akim Demaille  <akim@epita.fr>
13667         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
13668         duration of the test suite.
13670 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
13672         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
13673         endianness for comparison instead of relying on AT_CHECK_ENV.
13675 2001-08-11  Paul Eggert  <eggert@twinsun.com>
13677         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
13678         to the INSTALL file.
13680 2001-08-11  Paul Eggert  <eggert@twinsun.com>
13682         * NEWS: The autoconf manual now is distributed under the terms
13683         of the GNU Free Documentation License.
13685         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
13686         Add an appendix "Copying This Manual" for the FDL.
13688         * doc/fdl.texi: New file, from
13689         <http://www.gnu.org/licenses/fdl.texi>.
13691         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
13693 2001-08-10  Paul Eggert  <eggert@twinsun.com>
13695         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
13696         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
13697         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
13698         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
13699         m4/sanity.m4, tests/README, tests/aclocal.m4,
13700         tests/atspecific.m4, tests/base.at, tests/compile.at,
13701         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
13702         tests/semantics.at, tests/suite.at, tests/tools.at,
13703         tests/torture.at: Add copyright notice.
13705         * tests/mktests.sh: Update year in copyright notice.
13707 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
13709         * tests/semantics.at (AC_C_BIGENDIAN): New test.
13711 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
13713         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
13714         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
13715         * doc/autoconf.texi (C Compiler Characteristics): Update
13716         documentation for AC_C_BIGENDIAN.
13718 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
13720         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
13721         magic values from an object file when cross-compiling.
13722         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
13724 2001-08-10  Akim Demaille  <akim@epita.fr>
13726         * bin/autom4te.in (&handle_output): Don't use `grep' with side
13727         effects.
13728         Suggested by Russ Allbery.
13730 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
13732         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
13733         current $prefix to the sub-configures.
13735 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
13737         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
13738         extension (needed on BeOS).  Reported by Guido van Rossum.
13740 2001-08-09  Akim Demaille  <akim@epita.fr>
13742         * bin/autom4te.in ($icache): Load it only if older than autom4te.
13744 2001-08-07  Akim Demaille  <akim@epita.fr>
13746         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
13747         removed.
13748         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
13749         No need to remove the files before and after the each test, before
13750         each test and at the end of the suite is enough.
13751         Display only the children `times', not the shell's.
13752         If the test failed or was skipped, at-times is not available.
13754 2001-08-07  Akim Demaille  <akim@epita.fr>
13756         Always produce testsuite.log, including when there are no
13757         failures.  This helps getting information on skipped tests, and
13758         duration of the tests.  Err, implement the latter btw.
13760         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
13761         Dump information on the first run of each test.
13762         (AT_CLEANUP): Create `at-times' containing the duration of the
13763         test group.
13765 2001-08-07  Akim Demaille  <akim@epita.fr>
13767         The use of `dumpstat' revealed that `len' was used although it
13768         should not.  m4_text_wrap was using it, but in the Autoconf world
13769         where it is legal.  Hence (i) test M4sh in its own world, not
13770         Autoconf's, and (ii), ahem, fix the bug :)
13772         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
13773         does not like `' instead of [].
13774         (AT_INIT): Forbid `^_?AT_'.
13775         And don't output such tokens.
13776         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
13777         `script.as', and `autom4te.cache'.
13778         Remove `empty' and `macro' which are no longer used.
13779         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
13780         * tests/m4sugar.at: Use it.
13781         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
13783 2001-08-07  Akim Demaille  <akim@epita.fr>
13785         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
13787 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
13789         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
13791 2001-08-04  Akim Demaille  <akim@epita.fr>
13793         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
13794         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
13795         AC_TRY_LINK.
13796         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
13797         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
13798         (AC_F77_MAIN): Likewise.
13800 2001-08-04  Akim Demaille  <akim@epita.fr>
13802         Don't rely on M4sugar outputting the patterns in files, since we
13803         might process the output _without_ running m4, hence without these
13804         files.
13806         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
13807         * bin/autom4te.in (@Request::includes): Remove, unused.
13808         (@Request::source): Rename as...
13809         (@Request::input): this.
13810         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
13811         (&handle_output): Fetch the patterns from the traces.
13812         `$forbidden' and `$allowed' are constant: use m//o.
13813         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
13814         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
13816 2001-08-04  Akim Demaille  <akim@epita.fr>
13818         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
13819         autoconf', i.e., in addition to caching traces, cache the output.
13821         * bin/autom4te.in (Request::cache): Rename as...
13822         (Request::id): this.
13823         ($cache, $icache, $tcache, $ocache): New.
13824         (&handle_m4): Save M4 output in the cache instead of $tmp.
13825         (&handle_output): Adjust.
13826         (&up_to_date_p): Check that the output cache is up to date too.
13827         (top level): Run `&handle_m4' iff force or the cache is invalid.
13828         Run `&handle_output' if the output cache is more recent.
13830 2001-08-04  Akim Demaille  <akim@epita.fr>
13832         * bin/autom4te.in ($force): New.
13833         (&parse_args, &print_usage): -f, --force is a new option.
13834         (&handle_output): CPP directives might have spaces after `#'.
13835         (&parse_args): The first file only can be frozen.
13837 2001-08-04  Akim Demaille  <akim@epita.fr>
13839         Don't let autom4te compute the `include' traces several times:
13840         first check that the trace cache file is up to date, and then
13841         compare its timestamp with that of the output.
13843         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
13844         the preamble.  Don't require 5.005 as Autom4te::General does it,
13845         and better yet (use `use', not `require'!).
13846         * lib/Autom4te/Struct.pm: Rename the last occurrences of
13847         Class::Struct as Autom4te::Struct.
13848         * lib/Autom4te/General.pm (File::stat): Use it.
13849         (&mtime): New, export it.
13850         * bin/autom4te.in: Use it.
13851         Declare `$req' is invalid if it is outdated.
13852         Don't declare it valid before saving it if something went wrong.
13854 2001-08-04  Akim Demaille  <akim@epita.fr>
13856         Autom4te shall not encode Autoconf data, and preselecting traces
13857         must be proposed to the users.
13859         * bin/autom4te.in (@required_trace): Remove.
13860         (@preselect): New.
13861         (&parse_args, &print_usage): -p, --preselect is a new option.
13862         (&up_to_date_p): Adjust.
13863         * bin/autoconf.in: Preselect some Autoconf macros.
13865 2001-08-04  Akim Demaille  <akim@epita.fr>
13867         * tests/tools.at (autoconf --trace: user macros): Check traces on
13868         macros invoked without arguments, and macros invoked with multiple
13869         lines arguments.
13871 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
13873         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
13874         arguments.
13876 2001-08-03  Akim Demaille  <akim@epita.fr>
13878         * bin/autoconf.in ($@): Work around the usual sh bug.
13879         From Nicolas Joly.
13881 2001-08-03  Akim Demaille  <akim@epita.fr>
13883         Clean up the handling of the M4 builtins tracing exception.
13885         * bin/autom4te.in (Request::request): Don't complete M4 builtins
13886         trace requests.
13887         (@m4_builtins): Rename as...
13888         (@m4_builtin): this.
13889         (%m4_builtin_alternate_name): New.
13890         (&parse_args): Complete the trace requests with alternate names.
13891         (&handle_traces): Hence no longer do it here.
13892         (&trace_requests): Remove, unused.
13894 2001-08-03  Akim Demaille  <akim@epita.fr>
13896         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
13897         m4_if, and m4_wrap.
13899 2001-08-03  Akim Demaille  <akim@epita.fr>
13901         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
13902         (m4_divert_pop): Dump the whole diversion stack when a diversion
13903         mismatch happens.
13904         * bin/autom4te.in (&handle_output): Remember of the first
13905         occurrence of a possibly undefined macro, not the last.
13906         Complain about the possibly undefined macros in the same order as
13907         the appear in the output.
13908         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
13909         * tests/tools.at (autoconf: forbidden tokens, basic)
13910         (autoconf: forbidden tokens, exceptions): No longer sort
13911         autoconf's stderr, as it is now deterministic.
13912         Check that `dnl' is caught.
13914 2001-08-01  Akim Demaille  <akim@epita.fr>
13916         * configure.ac: Bump to 2.52c.
13918 2001-08-01  Akim Demaille  <akim@epita.fr>
13920         Version 2.52b.
13922         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
13924 2001-08-01  Akim Demaille  <akim@epita.fr>
13926         Version 2.52a.
13928 2001-08-01  Akim Demaille  <akim@epita.fr>
13930         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
13931         `die'.
13932         (&END): New.
13933         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
13934         `END', as `Autom4te::General::END' will be triggered.
13935         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
13936         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
13937         system to run `mv', `rm', and `cmp'.
13939 2001-08-01  Akim Demaille  <akim@epita.fr>
13941         * lib/Autom4te/General.pm (&unique): New.
13942         * bin/autoscan.in (&output): Use it to issue trace requests once.
13944 2001-08-01  Akim Demaille  <akim@epita.fr>
13946         * lib/Autom4te/General.pm: New.
13947         * bin/autom4te.in (Autom4te::General): Use it.
13948         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
13949         (&find_configure_ac, &find_slave): Remove.
13950         * bin/autoscan.in: Likewise.
13951         * bin/autoupdate.in: Likewise.
13953 2001-08-01  Akim Demaille  <akim@epita.fr>
13955         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
13956         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
13957         * bin: here, new directory.
13958         * lib/Autoconf: Rename as...
13959         * lib/Autom4te: this, to please case insensitive junkie OSes.
13961 2001-08-01  Akim Demaille  <akim@epita.fr>
13963         * autom4te.in ($m4): Handle the --nesting-limit.
13964         * autoconf.in (M4): Remove.
13966 2001-08-01  Akim Demaille  <akim@epita.fr>
13968         * autoconf.in ($AWK): Remove, no longer used.
13969         * test/tools.at: Use AT_CHECK_AUTOCONF.
13970         (AWK portability): Remove, for autoconf no longer uses AWK.
13971         (Syntax of the Perl scripts): New.
13972         * configure.ac: autoconf no longer needs an AWK with a good
13973         regexp engine.
13974         Use a static test on AC_PACKAGE_VERSION.
13975         * autom4te.in (&up_to_date_p): Output depends on the arguments.
13976         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
13977         * tests/atconfig.in (PERL): New.
13979 2001-08-01  Akim Demaille  <akim@epita.fr>
13981         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
13982         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
13983         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
13984         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
13985         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
13986         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
13987         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
13988         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
13989         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
13990         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
13991         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
13992         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
13993         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
13994         * lib/autoconf/c.m4: here, new file.
13996         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
13997         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
13998         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
13999         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
14000         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
14001         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
14002         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
14003         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
14004         (AC_F77_FUNC): Move to...
14005         * lib/autoconf/fortran.m4: here, new file.
14007 2001-08-01  Akim Demaille  <akim@epita.fr>
14009         * acfunctions.m4: Rename as...
14010         * lib/autoconf/functions.m4: this.
14011         * acgeneral.m4: Rename as...
14012         * lib/autoconf/general.m4: this.
14013         * acheaders.m4: Rename as...
14014         * lib/autoconf/headers.m4: this.
14015         * aclang.m4: Rename as...
14016         * lib/autoconf/lang.m4: this.
14017         * acoldnames.m4: Rename as...
14018         * lib/autoconf/oldnames.m4: this.
14019         * acspecific.m4: Rename as...
14020         * lib/autoconf/specific.m4: this.
14021         * actypes.m4: Rename as...
14022         * lib/autoconf/types.m4: this.
14023         * autoconf.m4: Rename as...
14024         * lib/autoconf/autoconf.m4: this.
14026         * m4sugar.m4: Rename as...
14027         * lib/m4sugar/m4sugar.m4: this.
14028         * m4sh.m4: Rename as...
14029         * lib/m4sugar/m4sh.m4: this.
14031         * tests/atgeneral.m4: Rename as...
14032         * lib/autotest/general.m4: this.
14034         * acfunctions: Rename as...
14035         * lib/autoscan/functions: this.
14036         * acheaders: Rename as...
14037         * lib/autoscan/headers: this.
14038         * acidentifiers: Rename as...
14039         * lib/autoscan/identifiers: this.
14040         * aclibraries: Rename as...
14041         * lib/autoscan/libraries: this.
14042         * acmakevars: Rename as...
14043         * lib/autoscan/makevars: this.
14044         * acprograms: Rename as...
14045         * lib/autoscan/programs: this.
14047 2001-08-01  Akim Demaille  <akim@epita.fr>
14049         * doc/autoconf.texi: Moving/deleting open files is not portable.
14050         Portability issues for `.' (source), and more information about sed.
14052 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
14054         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
14055         which has a special meaning and is not a reference to libibmil.a.
14056         Reported by Matteo Frigo.
14058 2001-07-25  Pavel Roskin  <proski@gnu.org>
14060         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
14061         output.
14063 2001-07-25  Akim Demaille  <akim@epita.fr>
14065         * autoconf.in: Try to define the variables before using them.
14066         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
14067         instead of `$perllibdir'.
14068         * tests/atconfig.in ($autom4te_perllibdir): Export it.
14070 2001-07-25  Akim Demaille  <akim@epita.fr>
14072         * autoconf.in (ac_LF_and_DOT): Remove, unused.
14074 2001-07-24  Akim Demaille  <akim@epita.fr>
14076         Let autoconf use autom4te for traces.
14078         * autoconf.in ($task, task trace): Remove, merely pass --trace to
14079         autom4te.
14080         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
14081         (Because I found no way for autom4te to accept `-').
14082         * autom4te.in (&Request::request): Beware of M4 builtins.
14083         (END): Don't try to remove the content of an empty dir.
14084         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
14085         (&handle_output): Set a default value to `$forbidden'.
14086         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
14087         ($autoconf): Pass --debug and --verbose.
14088         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
14089         cache.
14091 2001-07-24  Akim Demaille  <akim@epita.fr>
14093         Let autoconf use autom4te to create configure.
14095         * autoconf.in ($automate): New var.
14096         (task script): Use autom4te.
14097         * autom4te.in (File::Spec): Use it.
14098         (&find_file): New.
14099         (&parse_args): --warning is -W, not -w.
14100         Find the top level files.
14101         (&handle_m4): Pass the warnings flags.
14102         Don't report verbosely m4's failures, unless requested.
14103         (&handle_output): Don't complain for forbidden tokens in comments.
14104         Be sure to report all the forbidden tokens within a single line.
14105         (&trace_format_to_m4): Preserve `$_'.
14106         (&handle_traces): Sort the output macros.
14107         (&up_to_date_p): Find the files before trying to get its time stamp.
14109 2001-07-24  Akim Demaille  <akim@epita.fr>
14111         * Makefile.am: Ship, build and install Autom4te.
14112         (SUBDIRS): Add lib.
14113         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
14114         * configure.in: Require Perl.
14115         * man/autom4te.in: New.
14117 2001-07-19  Paul Eggert  <eggert@twinsun.com>
14119         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
14120         example, rather than (exit 1); exit (which isn't portable).
14122 2001-07-18  Akim Demaille  <akim@epita.fr>
14124         Version 2.52.
14126 2001-07-18  Akim Demaille  <akim@epita.fr>
14128         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
14129         was run, while they are needed also when it is expanded.
14130         Reported by Nicolas Joly.
14132         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
14133         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
14134         AC_F77_DUMMY_MAIN being expanded.
14136 2001-07-18  Akim Demaille  <akim@epita.fr>
14138         * configure.in: Bump to 2.51a.
14140 2001-07-17  Akim Demaille  <akim@epita.fr>
14142         Version 2.51.
14144 2001-07-17  Akim Demaille  <akim@epita.fr>
14146         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
14147         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
14149 2001-07-17  Akim Demaille  <akim@epita.fr>
14151         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
14152         used.  Well, then use the prototypes when you can, and runtime as
14153         a last resort.
14154         Reported by Artur Frysiak
14156         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
14157         (AC_FUNC_GETPGRP): Use it.
14158         First try to compile with 0-ary or 1-ary calls.
14160 2001-07-17  Akim Demaille  <akim@epita.fr>
14162         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
14163         replacement type.
14164         From Paul Eggert.
14166 2001-07-17  Akim Demaille  <akim@epita.fr>
14168         * Makefile.maint: Sync. with cppi 1.10.
14170 2001-07-17  Akim Demaille  <akim@epita.fr>
14172         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
14173         AC_F77_DUMMY_MAIN has been run.
14174         From Pavel Roskin and Steven G. Johnson.
14176 2001-07-17  Akim Demaille  <akim@epita.fr>
14178         * configure.in: Rename as...
14179         * configure.ac: this.
14181 2001-07-17  Akim Demaille  <akim@epita.fr>
14183         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
14184         rules.
14185         From Marc Espie.
14186         * Makefile.maint (release-archive-dir): Rename as...
14187         (release_archive_dir): this, so that it can be specialized in
14188         Makefile.
14190 2001-07-14  Akim Demaille  <akim@epita.fr>
14192         * configure.in: Bump to 2.50d.
14194 2001-07-14  Akim Demaille  <akim@epita.fr>
14196         Version 2.50c.
14197         * Makefile.maint (alpha): Typo.
14199 2001-07-14  Akim Demaille  <akim@epita.fr>
14201         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
14203 2001-07-14  Akim Demaille  <akim@epita.fr>
14205         * config/config.guess, config/config.sub, config/texinfo.tex
14206         * doc/standards.texi, doc/make-stds.texi: Update.
14208 2001-07-14  Akim Demaille  <akim@epita.fr>
14210         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
14212 2001-07-14  Akim Demaille  <akim@epita.fr>
14214         * Makefile.maint (maintainer-check): Rename as...
14215         (maintainer-distcheck): this.
14216         (changelog-check, static-check): New.
14217         Use them.
14219 2001-07-14  Kevin Ryde  <user42@zip.com.au>
14221         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
14222         for CXX is g++, not gcc.
14224 2001-07-14  Akim Demaille  <akim@epita.fr>
14226         * doc/autoconf.texi (Files): New subsection.
14228 2001-07-14  Akim Demaille  <akim@epita.fr>
14230         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
14231         of...
14232         (Generic Compiler Characteristics): this.
14233         (C++ Compiler): New subsection.
14235 2001-07-14  Akim Demaille  <akim@epita.fr>
14237         * autoscan.in: Use IO::File.
14238         Adjust all the routines to use it.
14239         ($log): New file (autoscan.log).
14240         (output): Dump detailed logs into $log, and a shortened version to
14241         stderr.
14242         (&scan_makefile): Refine the regexp catching tokens in the code.
14243         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
14244         and the `configure.ac' checking feature.
14246 2001-07-12  Akim Demaille  <akim@epita.fr>
14248         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
14249         Reported by Michael Elizabeth Chastain.
14251         * autoconf.in: Refuse such AWK.
14252         * configure.in: Likewise.
14253         * Makefile.am (acversion.m4): Do not use move-if-change this file
14254         has dependencies.
14255         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
14257 2001-07-10  Jens Petersen  <petersen@redhat.com>
14259         * autoscan.in (&scan_makefile): Improve programs regexp to parse
14260         things like "g++", "file.c" and "some-conf" as tokens.
14261         (&scan_file): Match C++ files extensions.
14262         If the filename extension is C++ then ask for c++.
14264 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
14266         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
14267         AC_TRY_LINK_FUNC, to check whether defining a dummy
14268         main-like routine is needed for linking with F77 libs.
14270 2001-07-05  Pavel Roskin  <proski@gnu.org>
14272         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
14273         after using break.
14274         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
14275         linking.
14277 2001-07-05  Akim Demaille  <akim@epita.fr>
14279         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
14280         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
14281         Makes' lives.
14282         Reported by Nicolas Joly.
14284 2001-07-04  Akim Demaille  <akim@epita.fr>
14286         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
14287         up.
14288         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
14289         warnings from compilers.
14290         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
14291         for all the compilers, not only GNU.  Hence move from here...
14292         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
14294 2001-07-04  Akim Demaille  <akim@epita.fr>
14296         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
14297         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
14298         AC_COMPILE_IFELSE.
14300 2001-07-04  Akim Demaille  <akim@epita.fr>
14302         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
14303         the ``strings.h'' change claimed below.
14305 2001-07-04  Akim Demaille  <akim@epita.fr>
14307         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
14309 2001-07-04  Akim Demaille  <akim@epita.fr>
14311         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14312         strings.h if usable with string.h.
14313         Suggested by Paul Eggert.
14315 2001-07-04  Akim Demaille  <akim@epita.fr>
14317         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
14318         From Jens Petersen.
14320 2001-07-03  Akim Demaille  <akim@epita.fr>
14322         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
14323         etc. in the log.
14325 2001-07-03  Akim Demaille  <akim@epita.fr>
14327         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
14328         compiler, not the preprocessor.
14329         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
14330         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
14331         the right thing.
14332         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
14333         earlier if there are.
14335 2001-07-03  Akim Demaille  <akim@epita.fr>
14337         * autoscan.in ($initfile): Remove.
14338         (&find_file): Rename as...
14339         (&scan_file): this.
14340         Immediately scan the current file, instead of gathering them, and
14341         later having them handled by &scan_files.
14342         (&scan_files): Merely invoke Find::File.
14343         Adjust.
14345 2001-07-02  Akim Demaille  <akim@epita.fr>
14347         * autoscan.in: Formatting changes, matching the invocation order.
14348         (File::Find): Use it instead of Perl 4's `find.pl'.
14349         (&wanted): Rename as...
14350         (&find_file): this.
14352 2001-07-01  Pavel Roskin  <proski@gnu.org>
14354         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
14355         break in the argument to AC_TRY_LINK_FUNC.
14356         (AC_F77_MAIN): Remove conftest* after using break in the
14357         argument to AC_TRY_LINK.
14359 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
14361         Add alternate 'main' routine detection for linking C/C++ with Fortran,
14362         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
14364         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
14365         dummy alternate main is required even if the user provides her own
14366         'main'.
14367         (AC_F77_MAIN): New macro to detect whether it is possible to
14368         provide an alternate 'main' function name, using the 'main' from
14369         the Fortran libraries.
14370         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
14371         cross-language link tests can be performed successfully.
14372         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
14373         after $LIBS, for consistency; this should be the general rule since
14374         the user may want to link to Fortran libraries that require $FLIBS.
14375         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
14377 2001-06-29  Pavel Roskin  <proski@gnu.org>
14379         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
14380         at-stdout and at-stderr instead of removing the newline
14381         from the echo output, which is not guaranteed to work.
14383 2001-06-28  Jens Petersen  <petersen@redhat.com>
14385         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
14386         confdefs.h when non-zero.
14388 2001-06-28  Akim Demaille  <akim@epita.fr>
14390         * configure.in: Bump to 2.50c.
14392 2001-06-26  Akim Demaille  <akim@epita.fr>
14394         Version 2.50b.
14396 2001-06-26  Akim Demaille  <akim@epita.fr>
14398         Version 2.50a.
14400 2001-06-25  Pavel Roskin  <proski@gnu.org>
14402         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
14403         argument, AUTOCONF-FLAGS.
14404         * tests/mktests.sh (update_exclude_list): Add
14405         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
14406         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
14407         AC_FUNC_WAIT3 with "-W no-obsolete".
14409 2001-06-25  Akim Demaille  <akim@epita.fr>
14411         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
14413 2001-06-25  Akim Demaille  <akim@epita.fr>
14415         * autoscan.in (%macro): Now maps from word to list of macros.
14416         (&init_tables): Die when a word which is already handled by
14417         explicit macros is mapped to the default macro.
14418         (&print_unique): Remove, inlined in...
14419         (&output_kind): here.
14420         (File::Basename): Use it.
14421         (&output): Sort the CONFIG_FILES.
14422         * acheaders: Normalize.
14423         * acfunctions: Likewise.
14425 2001-06-25  Akim Demaille  <akim@epita.fr>
14427         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
14428         characteristics in the logs.
14429         Suggested by Mo DeJong.
14431 2001-06-24  Akim Demaille  <akim@epita.fr>
14433         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
14434         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
14435         * doc/autoconf.texi (Autoconf 2.13): New section.
14437 2001-06-24  Akim Demaille  <akim@epita.fr>
14439         * autoconf.in (Task traces): Separate the error messages from the
14440         traces to improve robustness.
14442 2001-06-23  Akim Demaille  <akim@epita.fr>
14444         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
14445         three as failures are unlikely, and speed matters.
14447 2001-06-23  Akim Demaille  <akim@epita.fr>
14449         * doc/autoconf.texi (Redefined M4 Macros): New.
14451 2001-06-23  Akim Demaille  <akim@epita.fr>
14453         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
14454         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
14455         5.3.
14457 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
14459         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
14460         config.status targets to after the evaluation of the INIT-CMDS.
14461         Double quote config.status targets (used to be single quoted).
14463 2001-06-23  Akim Demaille  <akim@epita.fr>
14465         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
14466         Check the content of the created file.
14467         Check the ./config.status command line invocation.
14469 2001-06-23  Akim Demaille  <akim@epita.fr>
14471         * tests/foreign.at (Libtool): Reject prehistoric versions.
14473 2001-06-23  Akim Demaille  <akim@epita.fr>
14475         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
14476         preexisting files matching a.*.
14478 2001-06-23  Akim Demaille  <akim@epita.fr>
14480         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
14481         stderr.
14482         * doc/autoconf.texi (AC_ARG_VAR): Update.
14484 2001-06-21  Akim Demaille  <akim@epita.fr>
14486         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
14487         precious variables have changed.
14488         * tests/torture.at (AC_ARG_VAR): Adjust.
14490 2001-06-21  Akim Demaille  <akim@epita.fr>
14492         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
14493         but some sed choke on multiple `;', and other tools (e.g.,
14494         Automake), include the separator themselves.
14496         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
14498 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
14500         * doc/autoconf.texi (Functions Portability): Rename as...
14501         (Function Portability): this.
14502         (Function Portability): Document potential problems with unlink().
14504 2001-06-19  Paul Eggert  <eggert@twinsun.com>
14506         * NEWS, doc/autoconf.texi: Document quadrigraphs.
14508 2001-06-18  Akim Demaille  <akim@epita.fr>
14510         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
14512 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
14514         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
14515         (_AC_FUNC_VFORK): this.
14516         Remove AC_DEFINEs and don't guess cross-compilation values.
14517         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
14518         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
14519         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
14520         vfork doesn't work.
14521         Guess values if cross-compiling, but warn.
14522         * acfunctions: Add AC_FUNC_FORK.
14523         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
14524         and vfork appropriately.
14526 2001-06-18  Akim Demaille  <akim@epita.fr>
14528         * doc/autoconf.texi (Functions Portability): New section.
14530 2001-06-18  Akim Demaille  <akim@epita.fr>
14532         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
14533         in $M4.
14534         Suggested by Andreas Schwab.
14536 2001-06-18  Akim Demaille  <akim@epita.fr>
14538         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
14539         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
14540         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
14541         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
14542         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
14543         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
14544         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
14545         the converse).
14547 2001-06-18  Akim Demaille  <akim@epita.fr>
14549         * doc/autoconf.texi (ms): New index.
14550         (Macro Index): Rename as...
14551         (Autoconf Macro Index): this.
14552         (M4 Macro Index): New appendix.
14553         (Programming in M4): New chapter.
14554         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
14555         (Quoting): Rename as...
14556         (M$ Quotation): this.
14557         Be part of `Programming in M4).
14559 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
14561         * tests/torture.at (AC_ARG_VAR): Set variables and export them
14562         in separate statements for compatibility with Tru64 v5.1.
14564 2001-06-17  Akim Demaille  <akim@epita.fr>
14566         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
14567         current values of the precious variables, not the previously
14568         cached values.
14569         Pass precious variables which are set to config.status.
14570         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
14571         * tests/torture.at (AC_ARG_VAR): New.
14573 2001-06-15  Paul Eggert  <eggert@twinsun.com>
14575         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
14576         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
14577         and explain why and how to replace them.
14578         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
14579         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
14581 2001-06-15  Akim Demaille  <akim@epita.fr>
14583         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
14584         Reported by Bruno Haible.
14586         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
14587          (_AC_ARG_VAR_PRECIOUS): to here.
14589 2001-06-15  Pavel Roskin  <proski@gnu.org>
14591         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
14592         an unused pointer use cast to this type and `if' statement to
14593         avoid warnings from the compiler.
14594         (AC_HEADER_TIME): Likewise.
14595         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
14596         in `if' statement to avoid warnings from the compiler. Declare
14597         ac_aggr static to avoid the need to initialize it.
14599 2001-06-14  Akim Demaille  <akim@epita.fr>
14601         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
14602         Macros'.
14604 2001-06-13  Akim Demaille  <akim@epita.fr>
14606         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
14607         Suggested by Alexander Mai.
14609 2001-06-13  Akim Demaille  <akim@epita.fr>
14611         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
14612         sys/types.h and sys/stat.h, and check for them.
14614 2001-06-13  Akim Demaille  <akim@epita.fr>
14616         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
14617         INCLUDES.
14619 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
14621         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
14622         succeeds and only try adding libdnet upon a failure.
14624 2001-06-12  Akim Demaille  <akim@epita.fr>
14626         * autoscan.in (&output_kind): Output the comment only if it exists.
14627         (%kind_comment): Add entry for `programs'.
14628         (&output_programs): Use &output_kind.
14629         (&output_functions, &output_identifiers, &output_headers)
14630         (&output_programs): Inline, and remove.
14632 2001-06-12  Akim Demaille  <akim@epita.fr>
14634         * autoscan.in (%kind_comment): New.
14635         (output_kind): New.
14636         (output_functions, output_identifiers, output_headers): Use it.
14638 2001-06-12  Akim Demaille  <akim@epita.fr>
14640         * autoscan.in (&print_unique): Take `$kind' and `$word' as
14641         arguments, to factor indirections into `%macro' and `%used'.
14642         (%generic_macro): Fix a typo.
14644 2001-06-12  Akim Demaille  <akim@epita.fr>
14646         * aclibraries: New.
14647         * autoscan.in (@kinds): Add `libraries'.
14648         Use `@kinds' instead of hard coded lists.
14649         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
14650         Remove, replaced by...
14651         (%used): this.
14653 2001-06-12  Akim Demaille  <akim@epita.fr>
14655         * autoscan.in (%functions_macros %headers_macros)
14656         (%identifiers_macros %programs_macros %makevars_macros): Remove,
14657         replaced by...
14658         (%macro): New.
14660 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
14662         * aclang.m4 (AC_NO_EXECUTABLES): Override
14663         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
14665 2001-06-11  Akim Demaille  <akim@epita.fr>
14667         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
14668         trailing new line.
14669         Reported by Andreas Schwab.
14671 2001-06-11  Akim Demaille  <akim@epita.fr>
14673         * Makefile.am, Makefile.maint: Typos.
14675 2001-06-09  Akim Demaille  <akim@epita.fr>
14677         * doc/autoconf.texi (Here-Documents): New section, gathering
14678         documentation about here-documents.
14679         Use `href', not `uref', and other changes.
14681 2001-06-09  Akim Demaille  <akim@epita.fr>
14683         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
14684         chapter.
14686 2001-06-09  Akim Demaille  <akim@epita.fr>
14688         * doc/autoconf.texi (Limitations of Builtins): Complete the
14689         description of the here-docs penalties with Alexandre Oliva's
14690         explanations.
14692 2001-06-01  Paul Eggert  <eggert@twinsun.com>
14694         * doc/autoconf.texi: Talk about here documents and speedups.
14695         Do not use "echo" on arbitrary strings.
14696         Spell "here-documents" consistently with the standard.
14698 2001-06-09  Akim Demaille  <akim@epita.fr>
14700         * doc/autoconf.texi (Concept Index): Introduce it.
14701         Regenerate the menus.
14703 2001-06-09  Akim Demaille  <akim@epita.fr>
14705         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
14706         * config/prev-version.txt: New.
14707         * config/move-if-change: New, for GNU libc.
14709 2001-06-06  Pavel Roskin  <proski@gnu.org>
14711         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
14713 2001-06-06  Akim Demaille  <akim@epita.fr>
14715         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
14716         properly when $1 is not a literal.
14717         Fixes PR Autoconf/187, reported by Bram Moolenaar.
14719 2001-06-06  Akim Demaille  <akim@epita.fr>
14721         Invoking AC_COPYRIGHT before AC_INIT fails.
14723         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
14724         * acgeneral.m4 (_m4_divert(VERSION_FSF))
14725         (_m4_divert(VERSION_USER)): New.
14726         (AC_COPYRIGHT): $2 is the diversion to use.
14727         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
14728         (AC_INIT): Remove dead comments as now it's commutative.
14730 2001-06-06  Akim Demaille  <akim@epita.fr>
14732         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
14733         PR autoconf/187.
14735 2001-06-05  Akim Demaille  <akim@epita.fr>
14737         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
14738         can be empty.
14739         `*dir' variables cannot be NONE.
14740         Reported by Mark Kettenis.
14742 2001-06-05  Paul Eggert  <eggert@twinsun.com>
14744         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
14746 2001-06-04  Akim Demaille  <akim@epita.fr>
14748         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
14749         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
14750         (AC_TR_SH): Move as...
14751         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
14752         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
14753         (AS_TR_SH): these.
14754         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
14755         (_AS_TR_SH_PREPARE): New.
14756         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
14757         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
14759 2001-06-02  Akim Demaille  <akim@epita.fr>
14761         * Makefile.am (.m4.m4f): Pass the options first.
14762         Fixes PR autoconf/182.
14764 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
14766         GNU getopt, when POSIXLY_CORRECT does not permute options and
14767         arguments.  So pass the options first.
14768         Fixes PR autoconf/184.
14770         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
14771         (run_m4): Remove files.
14772         (run_m4f): Remove.
14773         Update remainder of script to use them.
14774         (for warning in): Do not use a literal comma as it will not be
14775         split by IFS.
14777 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
14779         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
14780         Fortran compilers to check.
14781         (_AC_PROG_F77_V): Add '-###' as a possible option to print
14782         information on library and object files.
14783         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
14784         to check.
14786 2001-06-02  Akim Demaille  <akim@epita.fr>
14788         * autom4te.in (Request::@request): Declare with `vars', not `my',
14789         as it prevents updates via `do FILENAME'.
14791 2001-06-02  Akim Demaille  <akim@epita.fr>
14793         * configure.in (standards_texi): Remove, dead code.
14795 2001-06-02  Akim Demaille  <akim@epita.fr>
14797         * autom4te.in: New.
14799 2001-06-02  Pavel Roskin  <proski@gnu.org>
14801         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
14802         for signals other than 0 - exit with code 1.
14803         * m4sh.m4 (AS_TMPDIR): Likewise.
14804         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
14805         * autoheader.in: Likewise.
14806         * autoreconf.in: Likewise.
14807         * tests/torture.at (Signal handling): New test for the above.
14809 2001-06-01  Akim Demaille  <akim@epita.fr>
14811         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
14812         message.
14814 2001-05-31  Akim Demaille  <akim@epita.fr>
14816         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
14817         Add copyright and comments.
14818         * acheaders: Add stdint.h.
14819         Suggested by Paul Eggert.
14821 2001-05-31  Akim Demaille  <akim@epita.fr>
14823         * atgeneral.m4 (AT_INIT): Use $SHELL.
14824         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
14826 2001-05-31  Akim Demaille  <akim@epita.fr>
14828         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14829         stdint.h.
14830         From Paul Eggert and Lars Hecking.
14832 2001-05-31  Akim Demaille  <akim@epita.fr>
14834         * tests/base.at: Adjust line numbers in error messages.
14836 2001-05-31  Akim Demaille  <akim@epita.fr>
14838         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
14839         to emit the bangshe line.
14840         Reported by David Carter.
14842 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
14844         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
14845         Fortran (95) compilers to check.
14847 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
14849         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
14850         Macro Archive URL.
14852 2001-05-23  Pavel Roskin  <proski@gnu.org>
14854         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
14855         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
14856         (AC_PROG_CXXCPP): Likewise.
14858 2001-05-22  Akim Demaille  <akim@epita.fr>
14860         * config: New directory.
14861         * configure.in: AC_CONFIG_AUX_DIR it.
14862         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
14864 2001-05-22  Akim Demaille  <akim@epita.fr>
14866         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
14867         * autoupdate.in: Specify the Emacs mode.
14868         * acversion.m4.in: Rename as...
14869         * acversion.m4: this.
14870         * tests/Makefile.am (CLEANFILES): More garbage.
14872 2001-05-22  Akim Demaille  <akim@epita.fr>
14874         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
14875         Rename as...
14876         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
14877         these.
14879 2001-05-21  Akim Demaille  <akim@epita.fr>
14881         * configure.in: Bump to 2.50a.
14884         -----
14886         Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
14887         Software Foundation, Inc.
14889         Copying and distribution of this file, with or without
14890         modification, are permitted provided the copyright notice and this
14891         notice are preserved.