Use GPLv2+ plus exception as license for release.
[autoconf.git] / ChangeLog
blob2139db451d314c0d8f5de2babd6f8ea65e556485
1 2008-04-04  Stepan Kasal  <kasal@ucw.cz>
2         and Eric Blake  <ebb9@byu.net>
4         Return back to GPLv2+, until the text of the exceptions is
5         finalized, reverting the change from 2007-07-03 and the first
6         part of the change from 2007-07-20.
7         * COPYING: Revert to GPLv2.
8         * COPYINGv3: New file, since some auxiliary build tools, used for
9         building autoconf and not installed, are GPLv3.
10         * Makefile.am (EXTRA_DIST): Distribute COPYINGv3.
11         * NEWS: Remove mention of GPLv3.
12         * README: Clarify situation regarding GPLv3.
14 2008-04-05  Eric Blake  <ebb9@byu.net>
16         Prepare for release.
17         * maint.mk (announcement): Avoid deleted option.
18         * cfg.mk (release_archive_dir): Use default.
19         * build-aux/gnupload: New file, from automake/gnulib.
20         * Makefile.am (EXTRA_DIST): Distribute it.
21         * .x-sc_two_space_separator_in_usage: New file, to exempt gnupload
22         from syntax check.
24 2008-04-05  Jim Meyering  <meyering@redhat.com>
25         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
27         Work around CR EOL markers on OS/2 (www.ecomstation.com Ecs v2 rc4)
28         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When CR
29         is the EOL marker, skip a step that would remove and translate
30         carriage return bytes.
31         * THANKS: Update.
32         Reported by Elbert Pol.
34 2008-04-05  Eric Blake  <ebb9@byu.net>
36         Avoid some autoreconf -Wall warnings.
37         * configure.ac: Use proper quoting, to be a good example.
38         (PACKAGE_NAME): Remove setting covered by autoconf.
39         (AM_INIT_AUTOMAKE): Bump automake requirement, for html rules.
40         * doc/Makefile.am (TEXI2DVI): Remove settings covered by
41         automake.
42         (html, autoconf_1.html, standards_1.html): Likewise.
43         (TEXI2HTML, TEXI2HTML_FLAGS): Remove unused macros.
44         * Makefile.am (html): Likewise.
45         * doc/autoconf.texi (Quoting and Parameters): Add missing section
46         name.
47         * tests/Makefile.am (AUTOMAKE_OPTIONS): Intentionally ignore
48         warning about our override, until Automake is fixed.
49         * README-hacking: Document minimum requirements for bootstrap.
51 2008-04-03  Eric Blake  <ebb9@byu.net>
53         Fix version number generation in man pages.
54         * Makefile.am (EXTRA_DIST): Distribute .version.
55         (.version): New rule.
56         * man/Makefile.am (common_dep): Depend on .version, not
57         configure.ac.
58         (.x.1): Use package name for version string.
59         * GNUmakefile [!_have-Makefile]: Sync from upstream, again.
60         * build-aux/git-version-gen: Sync from upstream.
62         More maintainer tweaks: pass 'make maintainer-distcheck'.
63         * GNUmakefile (_is-dist-target): Sync from upstream.
64         * build-aux/vc-list-files: Sync from upstream, yet again.
65         * tests/atlocal.in (unsupported_fs_chars): Always remove tdir.
66         * tests/Makefile.am (EXTRA_DIST): Don't distribute the built
67         package.m4.
68         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Bump year.
70         Fix VPATH 'make syntax-check'.
71         * maint.mk (VC_LIST, VC_LIST_EXCEPT, sc_changelog)
72         (sc_prohibit_jm_in_m4, makefile-check): Support VPATH.
73         (author_mark_check): Avoid error message.
74         * build-aux/vc-list-files: Sync from upstream again.
75         * build-aux/texinfo.tex: Likewise.
77         Sync files from upstream, and pass 'make syntax-check'.
78         * config/announce-gen: Move...
79         * build-aux/announce-gen: ...here, and sync from gnulib.
80         * Makefile.am (EXTRA_DIST): Adjust accordingly.
81         * cfg.mk (announce_gen): Likewise.
82         (prev_version_file): Delete, relying on default in maint.mk.
83         (gpg_key_ID): New macro.
84         (url_dir_list): Rewrite to match coreutils.
85         * config/prev-version.txt: Move...
86         * .prev-version: ...here, and adjust to 2.61.
87         * build-aux/vc-list-files: Sync from coreutils.
88         * maint.mk: Resynchronize with coreutils, where possible.
89         (ME): Remove $(srcdir) from definition.
90         (CVS): Delete.
91         (GIT, VC, VC-tag): New macros.
92         (CVS_LIST, CVS_LIST_EXCEPT): Rename...
93         (VC_LIST, VC_LIST_EXCEPT): ...to this.
94         (cvs-tag-check): Delete.
95         (cvs-diff-check): Rename...
96         (vc-diff-check): ...to this.
97         (sc_file_system): Allow FHS acronym.
98         * doc/autoconf.texi (Particular Functions): Recommend
99         unconditional <config.h>.
100         * build-aux/config.guess: Sync from upstream (manually).
101         * build-aux/config.sub: Likewise.
102         * build-aux/texinfo.tex: Likewise.
103         * doc/make-stds.texi: Likewise.
104         * doc/standards.texi: Likewise.
105         * .gitattributes: Ignore whitespace problems in upstream files.
107 2008-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
109         * doc/autoconf.texi (Limitations of Usual Tools): Mention awk %u
110         bug on HP-UX/IA.
111         Report by Peter O'Gorman.
113 2008-04-02  Eric Blake  <ebb9@byu.net>
115         Recommend the just-released M4 1.4.11.
116         * NEWS: Update recommendation.
117         * README: Likewise.
118         * doc/autoconf.texi (Introduction): Likewise.
119         * m4/m4.m4 (AC_PROG_GNU_M4): Likewise.
121 2008-04-01  Eric Blake  <ebb9@byu.net>
123         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Bump
124         copyright year.
126 2008-03-28  Peter O'Gorman  <peter@pogma.com>
128         Find X11 on Mac OS X too.
129         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT,_AC_PATH_X_XMKMF):
130         Check for libX11 with extensions dylib la and dll too.
131         * THANKS: Update.
132         Reported by Martin Costabel.
134 2008-03-28  Eric Blake  <ebb9@byu.net>
136         Update TODO based on completed tasks.
137         * TODO (AC_PROG_INSTALL takes multiple files): Done.
138         (AC_GNU_SOURCE deprecation): Done, see AC_USE_SYSTEM_EXTENSIONS.
139         (AC_COMPILE_IFELSE documentation): Done.
140         (Tracing builtins): Done, now that we require M4 1.4.5.
141         (AC_PROG_CC_POSIX suggestion, providing header files)
142         (AC_TYPE_SIGNAL): Not needed; gnulib's approach is better.
143         (cache consistency): Done with precious variables.
145 2008-03-26  Eric Blake  <ebb9@byu.net>
147         Document --trace=macro:format in --help output.
148         * bin/autom4te.in (help): Mention optional trace format.
149         * bin/autoconf.as (usage): Likewise.
151         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Fix
152         typos in last patch.
153         Reported by Ralf Wildenhues.
155 2008-03-26  Jim Meyering  <meyering@redhat.com>
157         Fix texinfo syntax error.
158         * doc/autoconf.texi (Limitations of Usual Tools): s/@kbd {/@kbd{/
160 2008-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
162         Warn, not fail on whitespace-only precious variable differences.
163         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Output
164         precious variable differences less ambiguous with `ugly-quotes'.
165         If their settings differ only in whitespace, do not fail, but
166         reuse the old value.
167         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Extend macro to allow
168         an optional status and expected-warning argument.  Fix m4
169         quotation for initial value.
170         (AC_ARG_VAR): Also test for whitespace-only differences, and
171         that the old value is retained in this case.
172         * doc/autoconf.texi (Setting Output Variables): Document this.
173         * NEWS: Update.
174         Report and initial patch by Paolo Bonzini.
176 2008-03-26  Eric Blake  <ebb9@byu.net>
178         Document busybox sed bug.
179         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Mention
180         restrictions when using back-references.
181         Reported by Vincent Lefevre:
182         <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13013>.
184         Document Automake interaction with AC_CONFIG_MACRO_DIR.
185         * doc/autoconf.texi (Input): Mention ACLOCAL_AMFLAGS for automake
186         users.
187         * THANKS: Update.
188         Reported by Chris Pickett.
190 2008-03-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
192         * tests/autotest.at (Using atlocal): Quote instances of `pwd`.
194         * tests/local.at (AT_CHECK_M4): Factorize warning output
195         normalization.
196         Suggested by Eric Blake.
198 2008-03-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
200         Fix .exe-related test failure on MinGW.
201         * tests/local.at (AT_CHECK_M4): Normalize `/bin/m4.exe' correctly
202         for comparing warning output.
204         Fix Fortran testsuite failures with gfortran 4.3.
205         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): When scanning
206         verbose compiler output, skip lines that set variables; gfortran
207         4.3 sets LIBRARY_PATH, COMPILER_PATH, COLLECT_GCC_OPTIONS.
208         * THANKS: Update.
209         Report by Vincent Lefèvre.
211 2008-03-21  Eric Blake  <ebb9@byu.net>
213         * GNUmakefile: Resynchronize with gnulib.
215         Document more uses of $cross_compiling.
216         * doc/autoconf.texi (Runtime): Document that a temporary override
217         is permissible.
218         * THANKS: Update.
219         Reported by Ineiev, example by Ralf Wildenhues.
221         Don't swallow $1 in textual local variables.
222         * lib/m4sugar/m4sugar.m4 (m4_combine): Don't use overquoting and
223         expansion of text arguments, as that swallows $1.
224         (m4_text_wrap): Likewise, by splitting out...
225         (_m4_text_wrap): ...new helper macro.  Also, allow arbitrary
226         expression for width.
227         * tests/m4sugar.at (m4@&t@_text_wrap): Test this.
228         (m4@&t@_combine): Likewise.
230 2008-03-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
232         Avoid leftover files on Leopard.
233         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove a.out.dSYM
234         directory created on darwin.
235         (AC_NO_EXECUTABLES): Likewise; also remove objects which may be
236         left over from a broken link.
237         * tests/c.at (AC_NO_EXECUTABLES (working linker))
238         (AC_NO_EXECUTABLES (broken linker)): New tests.
239         Report by Gary V. Vaughan.
241         * lib/autom4te.in (Automake-preselections): Trace
242         _AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF.
244 2008-03-20  Eric Blake  <ebb9@byu.net>
246         Kill more CVS references.
247         * README-cvs: Delete.  See README-hacking instead.
248         * README-hacking: Update wording, based on older file.
249         * BUGS: Remove CVS mention.
251 2008-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
253         * tests/tools.at (autotools and whitespace in file names): Skip
254         if aclocal is not present.
256 2008-03-20  Eric Blake  <ebb9@byu.net>
258         Sync GNUmakefile with gnulib.
259         * GNUmakefile (Makefile.cfg): Rename...
260         (cfg.mk): ...to this, and make optional.
261         (GNUmakefile.cfg): Delete, redundant with cfg.mk.
262         (Makefile.maint): Rename...
263         (maint.mk): ...to this.
264         (all) [!_have-Makefile]: Rename...
265         (abort-due-to-no-makefile): ...to this, and invoke via
266         .DEFAULT_GOAL to pick up all targets.
267         * Makefile.cfg: Rename...
268         * cfg.mk: ...to this.
269         * Makefile.maint: Rename...
270         * maint.mk ...to this.
271         (ME): Reflect name change.
272         (makefile-check, m4-check, author_mark_check, msg): Use $(ME)
273         rather than hard-coded name.
274         * GNUmakefile.cfg: Delete; move rules into cfg.mk.
275         * Makefile.am (EXTRA_DIST): Reflect file name changes.
276         * .x-sc_prohibit_atoi_atof: Likewise.
277         * lib/freeze.mk: Likewise.
279 2008-03-19  Stepan Kasal  <kasal@ucw.cz>
281         * doc/autoconf.texi (Introduction): Improve the paraphrase of
282         Henry Spencer's quotation.
284 2008-03-19  Eric Blake  <ebb9@byu.net>
286         AC_CONFIG_HEADERS replaced AC_CONFIG_HEADER.
287         * bin/autoscan.in (output): Avoid obsolete spelling.
288         * tests/local.at (AC_STATE_SAVE): Update usage.
289         * THANKS: Update.
290         Reported by John Calcote.
292         Emphasize that ease of configure triumphs over ease of autoconf.
293         * doc/autoconf.texi (Introduction): Expand on primary
294         vs. secondary goal of autoconf.
295         * THANKS: Update.
296         Inspired by Paul Smith.
298 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
300         * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
301         $hint, show if the executing program does not exist.
302         (xsystem_hint): New function, like xsystem but allows to pass
303         a hint.
304         * bin/autoreconf.in: Use xsystem_hint for spawning autopoint and
305         libtoolize.
306         Report by Bruce Korb.
308 2008-03-14  Stepan Kasal  <kasal@ucw.cz>
310         * lib/Autom4te/ChannelDefs.pm, tests/fortran.at,
311         tests/mktests.sh, tests/wrapper.as: Fix typos.
313 2008-03-12  Eric Blake  <ebb9@byu.net>
315         Fix yesterday's regression in m4_wrap([$1]).
316         * lib/m4sugar/m4sugar.m4 (_m4_wrap): Don't directly invoke wrapped
317         text, since it may contain text that looks like parameters.
318         * tests/m4sh.at (AS@&t@_INIT cleanup): Enhance test.
320 2008-03-11  Eric Blake  <ebb9@byu.net>
322         Improve error messages for common testsuite bugs.
323         * lib/autotest/general.m4 (_AT_DEFINE_INIT, _AT_DEFINE_SETUP): New
324         macros for defining order-enforced macros.
325         (AT_INIT, AT_SETUP, AT_CLEANUP, AT_BANNER, AT_XFAIL_IF)
326         (AT_CAPTURE_FILE, AT_DATA, AT_CHECK, AT_CHECK_NOESCAPE): Add error
327         messages when order violations are detected.
328         * tests/autotest.at (AT_CHECK_AT_SYNTAX): New helper macro.
329         (AT_SETUP without AT_INIT, AT_BANNER without AT_INIT)
330         (AT_CLEANUP without AT_INIT, Missing AT_CLEANUP)
331         (AT_CHECK without AT_SETUP, AT_DATA without AT_SETUP)
332         (AT_XFAIL_IF without AT_DATA, AT_KEYWORDS without AT_SETUP,
333         (AT_CLEANUP without AT_SETUP, AT_BANNER inside AT_SETUP)
334         (AT_SETUP inside AT_SETUP, Multiple AT_INIT)
335         (Banner-only test suite): New tests.
336         Reported by Christopher Hulbert.
338         Tweak m4_wrap to force FIFO or LIFO semantics.
339         * lib/m4sugar/m4sugar.m4 (m4_wrap): Override M4 implementation.
340         (m4_wrap_lifo, _m4_wrap): New macros.
341         * lib/m4sugar/m4sh.m4 (AS_INIT): Combine all cleanup into known
342         order, prior to m4sugar's.
343         (_AS_DETECT_BETTER_SHELL): Use cleanup parameter, rather than
344         m4_wrap.
345         * lib/autotest/general.m4 (AT_INIT): Combine all cleanup into
346         known order, prior to m4sh's.
347         * doc/autoconf.texi (Diagnostic Macros) <m4_fatal>: Document
348         argument.
349         (Redefined M4 Macros) <m4_wrap>: Rewrite documentation to match
350         new behavior.
351         * tests/m4sh.at (AS_INIT cleanup): New test.
352         * NEWS: Document the change.
354 2008-03-10  Eric Blake  <ebb9@byu.net>
356         Encode nested autotest data.
357         * tests/autotest.at (AT_CHECK_AT_PREP): Avoid raw AT_ in output.
358         (unusual file names): Likewise.
359         (m4_pattern_allow): Remove loophole, to make it easier to catch
360         poorly written tests.
362         Factor some autotest tests.
363         * tests/autotest.at (AT_CHECK_AT_PREP): New macro, to factor out
364         common initialization.
365         (AT_CHECK_AT, Banners, Keywords and ranges, srcdir propagation)
366         (whitespace in absolute testdir, unusual file names): Use it.
368 2008-03-06  Eric Blake  <ebb9@byu.net>
370         Minor documentation fix.
371         * doc/autoconf.texi (Evaluation Macros): Fix typo.
373 2008-03-04  Eric Blake  <ebb9@byu.net>
375         Make AT_CHECK act like a simple command.
376         * lib/autotest/general.m4 (_AT_CHECK): Wrap commands in {;}.
377         * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Test it.
379 2008-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
381         On MinGW, substitution of CR and 0xFF fails.
382         * tests/torture.at (Substitute and define special characters):
383         MinGW awk cannot handle 0xFF, and on MinGW, the test does the
384         wrong thing for CR.
386 2008-03-04  Eric Blake  <ebb9@byu.net>
388         Pull in recent maintainer improvements from coreutils.
389         * GNUmakefile (_is-dist-target): 'make distclean' should not
390         trigger autoreconf.
391         (_dummy): Change directories before removing autom4te.cache.
392         (check dist distcheck install) [!_have-Makefile]: Provide nicer
393         diagnostics.
394         * configure.ac (AC_CONFIG_LINKS): Copy GNUmakefile into VPATH
395         builds, after initial bootstrap.
396         * Makefile.am (distclean-local): Work around current automake bug.
397         * Makefile.maint (ME): Allow VPATH usage.
399         Use git-merge-changelog when available.
400         * .gitattributes: New file.
401         * README-hacking: Document use of git-merge-changelog.
403         Work around cygwin bug.
404         * tests/atlocal.in (unsupported_fs_chars): Avoid cygwin bug where
405         "touch 't\'" creates regular file 't'.
407         Ignore tests that require read-only directories under root.
408         * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Skip
409         no-write portion if user has root-like privileges.
411 2008-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
413         * lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'.
415 2008-03-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
417         autoreconf -m now honors $MAKE.
418         * bin/autoreconf.in ($run_make): Renamed from ...
419         ($make): ... this.  Use now as command to run `make',
420         overridden by $MAKE.  Document this in --help output.
421         * doc/autoconf.texi (autoreconf Invocation): Document
422         all environment variables honored by autoreconf.
423         * NEWS: Update.
424         Report by Paul Eggert.
426 2008-03-03  Eric Blake  <ebb9@byu.net>
428         Documentation improvements.
429         * doc/autoconf.texi (Looping constructs): s/recurses/repeats/.
430         (Evaluation Macros): Drop `1' suffix from metasyntax variable name
431         that preceeds @dots.  Improve wording.
432         (Text processing Macros): Drop `1' suffix from metasyntax variable
433         name that preceeds @dots.
434         (Number processing Macros): Drop `1' suffix from metasyntax
435         variable name that preceeds @dots.  Improve wording.
436         * lib/m4sugar/m4sugar.m4 (m4_cmp): Comment wording fix.
437         Suggested by Ralf Wildenhues.
439 2008-03-02  Jim Meyering  <meyering@redhat.com>
441         Don't infloop upon "make dist".
442         * GNUmakefile: Merge from coreutils.
443         * Makefile.am (dist-hook): Inject .tarball-version into tarball,
444         not .version.
445         * configure.ac (AC_INIT): Use .tarball-version, not .version.
446         * build-aux/git-version-gen: Update from gnulib.
448 2008-03-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
450         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
451         Before using /dev/full, check that it is a writable character
452         special device.
453         Report by Benoit Sigoure and Eric Blake.
455         Actually test that @configure_input@ is expanded correctly.
456         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
457         Actually check generated file contents for the name of the
458         generated file, using AC_PROG_FGREP and $FGREP.
460 2008-03-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
462         Be nice with file systems that don't handle unusual characters.
463         * tests/atlocal.in (func_sanitize_file_name)
464         (func_sanitize_dir_name): New shell functions.
465         * tests/tools.at (autom4te and whitespace in file names)
466         (autotools and whitespace in file names): Use them.
467         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
468         Cover more potentially problemtic file names.  Use the new
469         functions.
471         Properly handle funny file names for headers in config.status.
472         The test suite did not cover this bug because the code was not
473         quoting properly the arguments of `rm -f' (which "fails" silently)
474         as well as the arguments of `diff' (whose output was redirected to
475         /dev/null so we couldn't see its error message).
476         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Properly quote the
477         file names passed to `rm' and `diff'.
478         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
479         Add a regression test.
481 2008-03-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
482         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
484         Properly expand @configure_input@ in config.status.
485         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_MAIN_LOOP):
486         Escape the backslashes and ampersands in $configure_input before
487         using it in the sed replacement string to expand @configure_input@.
488         Report by Eric Blake and Patrick Welche.
490 2008-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
492         Ignore errors from ./run on w32.
493         * tests/autotest.at (whitespace in absolute testdir):
494         Ignore stderr for `./run' which fails to remove the
495         busy test directory on w32.
497 2008-02-22  Eric Blake  <ebb9@byu.net>
499         Improve documentation for writing autotest suites.
500         * doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Mention that
501         checks must live inside a test group.
502         Reported by Christopher Hulbert.
504 2008-02-21  Eric Blake  <ebb9@byu.net>
506         Sync git-version-gen from upstream.
507         * build-aux/git-version-gen: Pull from gnulib.
508         * configure.ac (AC_INIT): Adjust to new calling convention.
510 2008-02-12  Eric Blake  <ebb9@byu.net>
512         Avoid trailing space in config.h with AC_DEFINE([var], []).
513         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Explicitly mark empty
514         defines with a comment.
516 2008-02-08  Eric Blake  <ebb9@byu.net>
518         Fix texinfo typos in previous patch.
519         * doc/autoconf.texi (Site Defaults): s/[{}]/@&/g.
520         Reported by Ralf Wildenhues.
522         Describe a config.site that can be used for FHS compliance.
523         * doc/autoconf.texi (Site Defaults): Fix typo.  Add new example
524         for FHS.
525         * THANKS: Update.
526         Reported by Jules Colding and Ralf Wildenhues.
528 2008-02-02  Eric Blake  <ebb9@byu.net>
530         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Fix typo.
532 2008-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
534         * lib/autotest/general.m4 (AT_INIT): Fix --clean to work
535         again, broken since introduction of `-C dir'.
536         * tests/autotest.at (Choosing where testsuite is run): Test it.
538 2008-01-30  Paul Eggert  <eggert@cs.ucla.edu>
540         * doc/autoconf.texi: Update Back-Cover text to reflect new GNU wording.
542 2008-01-29  Eric Blake  <ebb9@byu.net>
544         Fix more autotest regressions.
545         * lib/autotest/general.m4 (AT_LINE): Fix regression from
546         2007-10-04 when file name is `dnl'.
547         (AT_INIT) <PREPARE_TESTS>: Move command-line assignments...
548         <TESTS_BEGIN>: ...to this new diversion, to fix regression from
549         yesterday in libtool's testsuite.
550         (_AT_ARG_OPTION): Detect write failure.
551         * doc/autoconf.texi (Diversion support): Document PREPARE_TESTS to
552         make libtool's use kosher.  Document m4_init.
553         (Programming in M4sh): Document AS_INIT.
554         (Writing Testsuites): Document limitation of AT_DATA file name.
555         * tests/autotest.at (unusual file names): New test.
556         (Banners, Keywords and ranges): Use correct shell.
558         More corner cases in testsuite VAR=VALUE handling.
559         * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS): Fix quoting
560         bug.
561         <PARSE_ARGS_END>: Also detect leading digits in assignments.
562         * tests/autotest.at (Using atlocal): Enhance test to catch last
563         bug.
565         * doc/autoconf.texi (Limitations of Builtins) <.>: Mention bash
566         bug.
568 2008-01-28  Eric Blake  <ebb9@byu.net>
570         Fix regression in handling VAR=VALUE arguments to testsuite.
571         * lib/autotest/general.m4 (AT_INIT) <PARSE_ARGS_END>: Detect
572         leading = as invalid.  Defer use of command-line variable
573         assignments...
574         <PREPARE_TESTS>: ...here, after atconfig has been sourced.  Fix
575         regression in sourcing files.
576         * tests/autotest.at (Using atlocal): New test to catch this.
577         (Debugging a successful test, Choosing where testsuite is run):
578         Use correct shell.
579         Reported by Ralf Wildenhues.
581         Document grep peculiarity.
582         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Document
583         BSD behavior on binary input.
585         Minor testsuite improvements.
586         * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS>: Use fewer
587         forks when sanitizing PATH.  Always output machine information,
588         not just when atconfig was located.
590         Add 'testsuite -C dir'.
591         * lib/autotest/general.m4 (_AT_ARG_OPTION): Move missing argument
592         detection...
593         (AT_INIT) <PARSE_ARGS_END>: ...here, since -k always takes
594         argument.
595         <DEFAULTS>: Delay computation of variables based on $at_dir...
596         <PREPARE_TESTS>: ...to here, since -C can change $at_dir.
597         <TESTS>: Re-invoke via absolute name, since -C may be in effect.
598         <PARSE_ARGS>: Parse new option.
599         <HELP_TUNING>: Document it.
600         * tests/autotest.at (Choosing where testsuite is run): New test
601         for this feature.
602         (Keywords and ranges): Add test for missing -k argument.
603         * NEWS: Document this.
604         * doc/autoconf.texi (testsuite Invocation): Likewise.
606 2008-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
608         * build-aux/config.guess, build-aux/config.sub,
609         build-aux/texinfo.tex: Sync from gnulib.
610         * doc/fdl.texi, doc/make-stds.texi, doc/standards.texi:
611         Likewise.
613 2008-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
615         * doc/autoconf.texi (Particular Programs): Do not mention the
616         Autoconf version in which the AC_PROG_INSTALL change was done.
617         Suggested by Paul Eggert.
619 2008-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
621         Fix --help=recursive with multiple AC_CONFIG_SUBDIRS.
622         * lib/autoconf/general.m4 (_AC_INIT_HELP): If, for recursive help
623         mode, we change to the source directory, also set $ac_pwd so we
624         do not go back to the build tree for the next config subdir.
625         * tests/torture.at (Deep Package): Extend test to contain two
626         config subdirs on the top level.
628         Fix parallel `maintainer-check'.
629         * Makefile.am (maintainer-check-tests): Depend on `all'.
630         Use `$(MAKE) $(AM_MAKEFLAGS)' instead of plain `make'.
631         * tests/Makefile.am (maintainer-check-c++, maintainer-check-posix):
632         Likewise.
633         (maintainer-check): Serialize the testsuite runs.
635         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE2): Accept `+'
636         in feature string for --enable/--with.  Convert to underscore
637         for variable name.
639         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Require that
640         `install -c file1 file2 dir' works.
641         * doc/autoconf.texi (Particular Programs): Document this.
642         * NEWS: Update.
644 2008-01-21  Eric Blake  <ebb9@byu.net>
646         Improve documentation about default include directives.
647         * doc/autoconf.texi (Generic Headers, Generic Declarations)
648         (Generic Structures, Generic Types)
649         (Generic Compiler Characteristics): Add links to
650         AC_INCLUDES_DEFAULT.
651         Reported by Reuben Thomas.
653 2008-01-15  Eric Blake  <ebb9@byu.net>
655         * lib/m4sugar/m4sugar.m4 (m4_qlen): Use fewer macros.
657 2008-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
659         * tests/Makefile.am (noinst_SCRIPTS): Renamed from
660         check_SCRIPTS.  Building the wrappers for `all' allows help2man
661         to use them for the manpages.
662         Report by Benoit Sigoure.
664         * bin/autoreconf.in: Discard stderr for $autoconf/$aclocal --help.
666 2007-12-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
668         Fix some write failure cases in Autotest.
669         * lib/autotest/general.m4 (AT_INIT): Do not exit successfully
670         upon write failures for --help, --version, --list.
671         Guard against write failures for intermediate created scripts.
672         <at_func_create_debugging_script>: Do not make the debugging
673         script executable if it is not complete.
675 2007-12-12  Eric Blake  <ebb9@byu.net>
677         Fix thinko in earlier patch - m4_join isn't defined yet.
678         * lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
679         (_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
680         (m4_require): Use m4_do, not m4_join.
682         Fix some whitespace tests on cygwin.
683         * tests/tools.at (autom4te and whitespace in file names): Restore
684         font-lock.  Create $TMPDIR before it might be used.
686         Fix spurious testsuite failure with M4 1.4.11.
687         * tests/local.at (AT_CHECK_M4): Cater to new m4 error message.
689         Optimize AC_REQUIRE.
690         * lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
691         (_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
692         (m4_require): Avoid extra macro calls.
694 2007-12-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
696         * tests/torture.at (srcdir): Fix quoting.
698         Do not pass top_srcdir to configure scripts in testsuite.
699         * tests/autotest.at (srcdir propagation): Copy install-sh to
700         source tree.
701         (my only test): Drop setting of `top_srcdir'.
702         * tests/base.at (Input/Output): Likewise.
703         * tests/local.at (AT_CONFIGURE_AC): Copy install-sh,
704         config.guess, and config.sub to test source tree.
705         Drop AC_CONFIG_AUX_DIR setting.
706         (AT_CHECK_CONFIGURE): Drop setting of `top_srcdir'.
707         * tests/torture.at (Substitute a 2000-byte string): Drop
708         AC_CONFIG_AUX_DIR setting, copy install-sh to test source tree.
709         (Substitute a newline, datarootdir workaround): Likewise.
710         (Define a newline): Adjust for linenumber changes in configure.ac.
711         * tests/foreign.at (Libtool): Adjust comment to reflect changes.
713         * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): Skip test
714         if `pwd` contains whitespace.
716         Quote $abs_top_srcdir in tests.
717         * tests/local.at (AT_CHECK_PERL_SYNTAX): Likewise.
718         * tests/tools.at (Syntax of the shell scripts): Likewise.
720         * tests/m4sh.at (LINENO): Quote $0.
722         Fix testsuite program wrapper for whitespace in `pwd`.
723         The problem here is that the usual mantra is that command
724         variables can contain arguments, thus we cannot just escape
725         $AUTOCONF, $AUTOM4TE etc.  The compromise is to put the
726         $top_builddir/tests directory early in $PATH, so that the
727         wrappers are found by their plain name.
728         * tests/wrapper.as: Put $testdir early in $PATH.
729         (AUTOCONF, AUTOHEADER, AUTOM4TE): Set to plain command names.
731         Proper config.status --file/--header and $srcdir escaping.
732         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Quote special
733         characters in $ac_file_inputs.
734         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER): eval $ac_file_inputs
735         accordingly.
736         * tests/torture.at (datarootdir workaround): Adjust.
737         (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Extend test.
739         Fix Autotest for whitespace in `pwd`.
740         * lib/autotest/general.m4 (AT_INIT)
741         <at_func_create_debugging_script, Driver Loop>:
742         Quote $at_group_dir.
743         * tests/autotest.at (whitespace in absolute testdir): New test.
745         * lib/autom4te.in: Quote @datadir@.
747         Proper file name escaping in Autoconf programs and Perl modules.
748         This includes escaping of characters special to the shell
749         as well as special to Perl, e.g., leading `<' or `>'.
750         For example, when $file starts with `>', `open ">$file"'
751         wrongly tries to append to a different file.
752         * bin/autoconf.as: Fix quoting for autom4te options.
753         * lib/Autom4te/General.pm (shell_quote): New function, taken
754         from coreutils, written by Jim Meyering.
755         (mktmpdir): Use it.
756         * bin/autom4te.in (files_to_options, handle_m4): Use shell_quote
757         and open_quote.
758         * bin/autoreconf.in (parse_args): Likewise.
759         * bin/autoscan.in (main): Likewise.
760         * bin/autoupdate.in (main): Likewise.
761         * bin/autoheader.in: Likewise, fixing old insufficient escaping.
762         * bin/ifnames.in: Likewise, XFile usage fixes.
763         * tests/tools.at (autom4te and whitespace in file names): Extend
764         test.  Test twice, with special characters allowed on w32, and the
765         rest.  Test leading and trailing whitespace, for `open_quote'.
766         (autotools and whitespace in file names): New, analogous test.
767         Reported by Paul Eggert and Benoit Sigoure, additional suggestions
768         by Russ Allbery and Eric Blake.
770         Sync from Automake.
771         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
772         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Likewise.
773         * lib/Autom4te/FileUtils.pm (open_quote): New function.
774         (update_file, contents): Use it.
776         * Makefile.am (autom4te-update): Rewrite for git.
778 2007-12-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
780         * doc/autoconf.texi (autom4te Invocation, Autom4te Cache): Fix typos.
782         Fix copyright years.
783         * Makefile.am, doc/install.texi, lib/autoconf/fortran.m4,
784         lib/autoconf/lang.m4, lib/freeze.mk: Likewise.
786 2007-12-04  Eric Blake  <ebb9@byu.net>
788         Manually resync with gnulib, since 'make cvs-update' no longer works.
789         * build-aux/config.guess: New upstream version.
790         * build-aux/config.sub: Likewise.
792         When using older automake, don't downgrade build-aux/texinfo.tex.
793         * configure.ac (AM_INIT_AUTOMAKE): Add no-texinfo.tex option.
794         * doc/Makefile.am (TEXINFO_TEX): Add.
796 2007-11-27  Paul Eggert  <eggert@cs.ucla.edu>
798         Fix AC_C_BIGENDIAN bug caused by new awk method of substitution.
799         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Don't comment out the
800         #undef as this runs afoul of our new way of creating config.h.
801         Problem reported by Jim Meyering in
802         <http://lists.gnu.org/archive/html/autoconf-patches/2007-11/msg00164.html>.
804 2007-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
806         Fix autom4te for unusual characters in input file names.
807         * bin/autom4te.in (files_to_options): Quote active characters
808         for the shell.
809         * tests/tools.at (autom4te and white space in file names):
810         New test.
812         * doc/autoconf.texi (Limitations of Usual Tools) <awk>:
813         Document that Tru64 awk always splits $0.
815 2007-11-24  Stepan Kasal  <kasal@ucw.cz>
817         * lib/autotest/general.m4 (AT_INIT): Do not extract the
818         `#AT_STOP_...' line at the end of each test.
820 2007-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
822         * lib/autotest/general.m4 (AT_INIT): For awk line number
823         extraction script, ensure `$at_group' has a defined value
824         even for the empty set, and properly quote its usage inside
825         the awk script.
827 2007-11-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
829         * doc/autoconf.texi (Shell Functions): New chapter.  Document
830         IRIX sh $0 issue in functions, move content from ...
831         (Portable Shell): ... here.
832         (Shell Script Compiler): Note that shell functions are not
833         totally unportable any more.
835 2007-11-22  Stepan Kasal  <kasal@ucw.cz>
836         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
838         * lib/autotest/general.m4 (AT_INIT): Exit awk script after
839         extracting the line numbers of the last needed test.
841 2007-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
843         * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
844         Fix quoting.
846 2007-11-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
848         Fix IRIX testsuite debugging failures: $0 in functions.
849         * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
850         Do not use $0 inside a function, as IRIX sh will set that to the
851         function name rather than the script invocation name.
853 2007-11-19  Paolo Bonzini  <bonzini@gnu.org>
854         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
856         * lib/autotest/general.m4 (at_func_test): Use cached line numbers
857         to extract test scripts.
858         (AT_INIT): Extract and cache test script line numbers.
860 2007-11-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
862         * lib/autotest/general.m4: Revert 2007-11-15 patch and
863         subsequent fixups; the awk -> here-document conversion trashes
864         performance too much with AIX sh.
866 2007-11-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
868         * tests/local.at: Do not test m4, perl with AT_TESTED.
870         Diagnose and guard against write errors dealing with config.status.
871         The general idea is this: all write failures from `configure'
872         writing `config.status' are indicated by $ac_write_error, which
873         is only checked at the end.  This is safe because config.status
874         code is not executed before the file is complete.  Other write
875         failures, be they inside config.status, or in sub shell/awk
876         scripts spawned from configure or config.status, typically need
877         earlier checking, as their results are used right afterwards.
878         * lib/autoconf/status.m4 (AC_OUTPUT): Initialize `ac_write_fail'
879         before writing config.status, check afterwards.
880         (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_FILE)
881         (_AC_OUTPUT_HEADERS_PREPARE,_AC_OUTPUT_CONFIG_STATUS):
882         Set `ac_write_error' for write failures to config.status.  Barf
883         upon write failures to temporary files.
884         Adjust note about closing and reopening the here-document.
885         (_AC_OUTPUT_HEADER, _AC_OUTPUT_LINK, _AC_OUTPUT_COMMAND)
886         (_AC_OUTPUT_MAIN_LOOP): Likewise, adjust note about closing and
887         reopening the here-document.
888         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
889         Ensure `ac_write_error' does not escape into config.status.
890         Also, add a couple of code paths not yet exercised in the test
891         suite: a config file with input from stdin, and a config header
892         output to stdout.
893         Suggestion for catching write errors by Bruno Haible.
895 2007-11-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
897         Avoid error with Tru64 awk and testsuite lines with many words.
898         * lib/autotest/general.m4 (AT_INIT): In the awk script that
899         reads the testsuite, set the field separator to an unusual value,
900         in order to not run over the limit of 199 fields.  Tru64 4.0D awk
901         even splits the input if $i, i>0, was never accessed in the script.
903         Revert 2007-10-17 change.
904         * TODO: Multiline args in config files and headers mean something
905         different and are not fixed, see
906         <http://lists.gnu.org/archive/html/autoconf-patches/2007-05/msg00017.html>
907         Report by Stepan Kasal.
909         * doc/autoconf.texi (Generic Programs): Fix typo.
911 2007-11-16  Stepan Kasal  <kasal@ucw.cz>
913         AC_*_TOOL does not canonicalize the prefix
914         * doc/autoconf.texi (Generic Programs): Do not say that
915         the *_TOOL macros canonicalize, they simply use the `host_alias'.
917 2007-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
919         Diagnose write errors in config.status instantiations.
920         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE)
921         (_AC_OUTPUT_HEADER, _AC_OUTPUT_MAIN_LOOP): Bail out
922         on write errors.
923         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
924         Extend test to also check for some write error failures, using...
925         <AT_CHECK_CONFIG_CREATION_NOWRITE>: ...this new macro.
926         Report by Bruno Haible.
928         Indentation fixups.
929         * lib/autotest/general.m4 (AT_INIT) <at_func_log_failure>: Fix
930         indentation.
931         (_AT_CHECK): Use less indentation, to save space.
933 2007-11-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
935         Add witness macro for @top_build_prefix@ substitution.
936         * lib/autoconf/status.m4 (_AC_HAVE_TOP_BUILD_PREFIX): New macro.
937         (_AC_OUTPUT_FILE): Mention it here.
939 2007-11-15  Paolo Bonzini  <bonzini@gnu.org>
940         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
942         * lib/autotest/general.m4 (at_func_test): Remove.
943         (AT_INIT): Pre-extract test groups into separate files.
944         (AT_CLEANUP): Source pre-extracted file instead of calling at_func_test.
945         Remove at-test-source files together with the $at_group_dir.
946         * tests/autotest.at (Long test source lines): New test.
948 2007-11-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
950         Shell functions and variables may share a namespace.
951         * doc/autoconf.texi (Portable Shell): Mention Solaris sh
952         limitation.
954 2007-11-14  Paul Eggert  <eggert@cs.ucla.edu>
956         * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Make comment match
957         gnulib.
959 2007-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
961         * lib/autoconf/status.m4: Fix a couple of comment typos.
963         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Use $as_me, not $me.
965 2007-11-13  Jim Meyering  <meyering@redhat.com>
967         Clean up the rule to create "expr".
968         * tests/Makefile.am (expr): Don't redirect directly to target.
969         Redirect just once, not for each echo statement.
970         Use $@, not literal "expr".
972 2007-11-13  Paul Eggert  <eggert@cs.ucla.edu>
974         Don't worry about preprocessor when testing long long.
975         See: http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00075.html
976         * doc/autoconf.texi (Preprocessor Arithmetic): New section.
977         (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT):
978         These no longer check for preprocessor flaws.
979         * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET):
980         Do not check for preprocessor flaws.
982 2007-11-13  Jim Meyering  <meyering@redhat.com>
984         Adapt dependencies, now that a version change doesn't modify configure.ac
985         * GNUmakefile: Remove "make clean" kludge.
986         * lib/m4sugar/Makefile.am (version.m4): Depend on Makefile, not
987         configure.ac.
988         Don't redirect directly to target.
989         Use $@, not literal "version.m4".
991 2007-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
993         * doc/autoconf.texi (Making testsuite Scripts): Document
994         ":;{" shorthand as in previous patch.
996 2007-11-12  Paul Eggert  <eggert@cs.ucla.edu>
998         * doc/autoconf.texi (Limitations of Builtins): Document problem
999         with { ... } a bit more clearly.  Suggest ":;{" as a shorthand
1000         for the workaround.
1001         * lib/m4sugar/Makefile.am (version.m4): Detect 'echo' failure.
1002         Use ":;{" shorthand.
1003         * tests/Makefile.am ($(srcdir)/package.m4): Likewise.
1005 2007-11-12  Jim Meyering  <meyering@redhat.com>
1007         Add more non-srcdir build support.
1008         * GNUmakefile (dummy): Split a long line.
1009         Add -v option to autoreconf invocation.
1011         Remove the autoreconf-provided INSTALL, so that we regenerate it.
1012         * GNUmakefile (dummy): Remove INSTALL.
1014         Remove racy commands to build scripts in bin/ and tests/.
1015         * man/Makefile.am (.x.1): Now that scripts in bin/ and tests/
1016         are guaranteed to be built, remove the rules that tried to build
1017         them.  Before, with a parallel build, these rules could lead to
1018         two processes writing tests/wrapper.in concurrently.
1020         Build in man/ only *after* building in bin/ and tests/.
1021         * Makefile.am (SUBDIRS): The man-page-creation process runs $(MAKE)
1022         in both bin/ and tests/.
1024         Accommodate non-srcdir build-from-checkout.
1025         * build-aux/git-version-gen: Require an additional parameter: $srcdir.
1026         Use git's --git-dir=$srcdir/.git option.
1027         Add quotes, in case tarball_version_file contains shell meta-characters.
1028         * GNUmakefile (_curr-ver): Pass $(srcdir) to git-version-gen.
1029         * configure.ac: Pass "." to git-version-gen.
1031         Avoid spurious test failures due to version skew.
1032         * GNUmakefile (dummy): Run $(MAKE) clean after autoreconf -i.
1034 2007-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1036         Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
1037         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_RUN_IFELSE):
1038         Remove conftest.dSYM directory.
1039         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT)
1040         (_AC_LANG_PROGRAM_C_, _AC_FC_MAIN, __AC_FC_NAME_MANGLING):
1041         Remove `conftest.*' recursively.
1042         * lib/autoconf/lang.m4 (AC_LINK_IFELSE): Likewise.
1043         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1044         Likewise.
1045         (_AC_COMPILER_OBJEXT_REJECT): Reject *.dSYM.
1046         * THANKS: Update.
1047         Report and analysis by Jeff Squyres and Peter O'Gorman.
1049 2007-11-12  Benoit Sigoure  <tsuna@lrde.epita.fr>
1051         Fix typos in variable names.
1052         * tests/semantics.at (test for AC_CHECK_LIB): s/at_m/ac_m/.
1054 2007-11-11  Benoit Sigoure  <tsuna@lrde.epita.fr>
1056         Document that $((expression)) is not portable.
1057         * doc/autoconf.texi (Shell Substitutions): Here.
1059 2007-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1061         Ignore configure --help* errors due to LINENO-impaired shells.
1062         * tests/torture.at (Configuring subdirectories, Deep Package):
1063         In the --help* tests in read-only trees, make `.' temporarily
1064         writable again for the `stderr' file, and ignore errors due to
1065         the attempt to write configure.lineno.
1066         Report by Patrick Welche.
1068 2007-11-10  Jim Meyering  <meyering@redhat.com>
1070         Generate package.m4 in build-dir, not srcdir.
1071         * tests/Makefile.am (package.m4): Adjust target.
1072         Don't redirect directly to $@.
1073         (CLEANFILES): Add package.m4.
1074         ($(TESTSUITE)): Depend on just-built package.m4, not the one
1075         in $(srcdir).
1076         When running $(AUTOTEST), search "." before searching $(srcdir).
1078         Avoid a race condition that would make parallel "distclean" fail.
1079         * tests/Makefile.am (distclean-generic): Replace the default,
1080         automake-provided rule with an identical one, but with an additional
1081         dependency on distclean-local.  Simply adding the dependency would
1082         cause automake not to emit the rule at all.
1083         * BUGS: Building with -jN works, now.
1085         Distribute git-version-gen.
1086         * Makefile.am (EXTRA_DIST): Add build-aux/git-version-gen,
1087         since GNUmakefile is distributed, and requires it for dist* rules.
1089         Remove two more generated files from version control.
1090         * INSTALL: Remove generated file.
1091         * lib/autoscan/autoscan.list: Remove generated file.
1093 2007-11-09  Paul Eggert  <eggert@cs.ucla.edu>
1095         * GNUmakefile (PATH): Remove stray apostrophes; they become
1096         part of PATH, which isn't wanted here.
1098 2007-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1100         New config files output variable `top_build_prefix'.
1101         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Substitute
1102         `top_build_prefix'.
1103         * doc/autoconf.texi (Preset Output Variables): Document it.
1104         * NEWS: Update.
1105         Report by Bob Friesenhahn.
1107         Avoid expr for arithmetic evaluation if the shell accepts $((...)).
1108         * lib/autotest/general.m4 (AT_INIT) <at_func_arith>: New
1109         function, to parametrize arithmetic with expr vs. the shell.
1110         Use it where possible.
1111         Suggestion by Benoit Sigoure.
1113 2007-11-03  Benoit Sigoure  <tsuna@lrde.epita.fr>
1115         Adjust the documentation of autotest WRT atlocal.
1116         * doc/autoconf.texi (Making testsuite Scripts): It is not necessary,
1117         when using Automake, to write a rule to produce atlocal, since it's
1118         an AC_CONFIG_FILES.  Mention that atlocal.in needs to be
1119         distributed, not atconfig.in.
1121 2007-11-04  Eric Blake  <ebb9@byu.net>
1123         Update list information.
1124         * README: Mention new autoconf-commit list.
1125         * doc/autoconf.texi (Introduction): Mention autoconf-commit list.
1127 2007-11-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1129         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Fix comment typo.
1131         * lib/m4sugar/Makefile.am (version.m4): Another bash bug workaround.
1133         * build-aux/.gitignore: Ignore mkinstalldirs.
1135         * doc/autoconf.texi (autoreconf Invocation): Fix an underfull line.
1137 2007-11-03  Jim Meyering  <meyering@redhat.com>
1139         s/-/./ in snapshot version string: 2.61a-256-8b556 -> 2.61a.256-8b556
1140         * build-aux/git-version-gen: This syncs from coreutils.
1142         Adjust the build procedure so "make check" works reliably.
1143         * README-hacking: Include an extra step between "make" and
1144         "make check" to ensure that the latter passes.
1146         Use just-built tools, when possible.
1147         * GNUmakefile (PATH): Set and export here, ...
1148         (dummy): ... rather than here.
1150 2007-11-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1151         and Andreas Schwab  <schwab@suse.de>
1153         * tests/Makefile.am ($(srcdir)/package.m4): Work around bash
1154         exit status bug.
1156 2007-11-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1158         * configure.ac (AC_PREREQ): Require version 2.60, for
1159         AC_PROG_SED, AC_PROG_GREP.
1161 2007-11-02  Benoit Sigoure  <tsuna@lrde.epita.fr>
1162         and Jim Meyering  <meyering@redhat.com>
1163         and Andreas Schwab <schwab@suse.de>
1164         and Eric Blake  <ebb9@byu.net>
1166         Document a bug in GNU Bash with compound commands and redirections.
1167         * doc/autoconf.texi (Limitations of Builtins): Mention that GNU
1168         Bash doesn't properly set $? when `{ ... } >/bad' fails, and give
1169         workaround.
1171 2007-11-03  Eric Blake  <ebb9@byu.net>
1173         Support m4 1.4.5 in testsuite.
1174         * tests/torture.at (Define a newline): Exclude line numbers in
1175         error message.
1176         Reported by Ralf Wildenhues.
1178 2007-11-03  Jim Meyering  <meyering@redhat.com>
1180         Remove automake-provided files from version control.
1181         * build-aux/elisp-comp: Remove file.
1182         * build-aux/install-sh: Remove file.
1183         * build-aux/missing: Remove file.
1184         * build-aux/mdate-sh: Remove file.
1185         * build-aux/.gitignore: New file.
1186         Suggestion from Ralf Wildenhues.
1188 2007-11-03  Eric Blake  <ebb9@byu.net>
1190         Adjust version comparison to account for git snapshot numbers.
1191         * lib/m4sugar/m4sugar.m4 (_m4_version_unletter): Also treat - as a
1192         component separator.
1193         * doc/autoconf.texi (Number processing Macros)
1194         <m4_version_compare>: Document this change.
1195         * tests/m4sugar.at (m4@&t@_version_compare): Test it.
1197 2007-10-30  Bruno Haible  <bruno@clisp.org>
1199         * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro,
1200         extracted from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT.
1201         (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT): Use it.
1202         Fixes problem with Sun C 5.[0-8] in 32-bit mode, reported in
1203         <http://lists.gnu.org/archive/html/autoconf-patches/2007-10/msg00210.html>
1204         Suggested by Paul Eggert.
1206 2007-10-28  Jim Meyering  <meyering@redhat.com>
1208         * README-hacking: Autoconf, Automake, and Perl are required to build.
1209         List Gzip and Tar separately.  Suggested by Ralf Wildenhues.
1211 2007-10-28  Jim Meyering  <meyering@redhat.com>
1213         README-hacking: Recommend running autoreconf -vi.
1214         * GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
1215         so that we use just-built tools when they're available.
1216         Suggestions from Ralf Wildenhues.
1218 2007-10-28  Jim Meyering  <meyering@redhat.com>
1220         Make inter-release --version output more useful.
1222         Now, each unofficial build has a version "number" like 2.61a-19-58dd,
1223         which indicates that it is built using the 19th change set
1224         (in _some_ repository) following the "v2.61a" tag, and that 58dd
1225         is a prefix of the commit SHA1.
1226         * build-aux/git-version-gen: New file.
1227         * configure.ac: Run it to set the version.
1228         (AM_INIT_AUTOMAKE): Don't check NEWS here.
1229         * Makefile.am (dist-hook): Arrange so that .version appears only
1230         in distribution tarballs, never in a checked-out repository.
1231         * .gitignore: Add .version here, too.  Just in case.
1232         * tests/Makefile.am ($(srcdir)/package.m4): Depend on Makefile,
1233         not configure.ac, now that the version number changes automatically.
1235         Ensure that $(VERSION) is up to date for dist-related targets.
1236         * GNUmakefile: Arrange to rerun autoconf, if the version reported by
1237         git-version-gen doesn't match $(VERSION), but only for dist targets.
1239 2007-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1241         Fix `Deep Package' failure with a configure script early in PATH
1242         * tests/torture.at (Deep Package): Add `.' early in PATH.
1243         Report by Jim Meyering.
1245 2007-10-27  Jim Meyering  <meyering@redhat.com>
1247         Remove all generated files from version control.
1248         * aclocal.m4: Remove.
1249         * configure: Remove.
1250         * Makefile.in: Remove, along with all other Makefile.in in subdirs.
1251         * .gitignore: Add aclocal.m4, configure and Makefile.in.  Sort.
1252         * README-hacking: New file: how to build from just-checked-out sources.
1254 2007-10-23  Eric Blake  <ebb9@byu.net>
1256         Improve corner case of m4_expand.
1257         * lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Rewrite more
1258         efficiently.
1259         * tests/m4sh.at (AS@&t@_HELP_STRING): Test overquoted comma.
1260         * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Update
1261         documentation.
1263 2007-10-23  Paul Eggert  <eggert@cs.ucla.edu>
1265         * doc/make-stds.texi: Update from gnulib.
1267 2007-10-22  Paul Eggert  <eggert@cs.ucla.edu>
1268         and Eric Blake  <ebb9@byu.net>
1270         * lib/autoconf/c.m4 (AC_C_RESTRICT): Work around Sun C++ compatibility
1271         problem reported by Bruno Haible in
1272         <http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00027.html>.
1274 2007-10-22  Eric Blake  <ebb9@byu.net>
1276         * doc/autoconf.texi (Particular Types): Mention bug in HP-UX 11.00
1277         preprocessor.
1279 2007-10-22  Paul Eggert  <eggert@cs.ucla.edu>
1281         Don't check for bug in HP-UX 11.00 cpp.
1282         * lib/autoconf/types.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
1283         Use -1ull rather than -1u, since that causes problems with gnulib; see
1284         <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
1286 2007-10-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1288         * tests/autotest.at (Backquote command substitution)
1289         (Multiline backquote command substitution)
1290         (Parenthetical command substitution)
1291         (Multiline parenthetical command substitution): Fix typos in
1292         test names.
1294 2007-10-21  Eric Blake  <ebb9@byu.net>
1296         * configure: Regenerate.
1298 2007-10-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1300         Fix config status generation with Tru64 ksh.
1301         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
1302         escaping of backslash in here-documents.
1304         Fix `Deep Package' test failure on FreeBSD.
1305         * tests/torture.at (Deep Package): Do not add `.' to $PATH
1306         unnecessarily.  Do not try running `/bin/sh configure' with a
1307         configure script to be found in $PATH, if the shell does not do
1308         this resolution.  Fixes test failure on FreeBSD.
1310         Fix config header generation with AIX awk.
1311         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): In awk
1312         script, use helper array D_is_set, as `" 0"' does not evaluate
1313         to true for AIX awk.
1315 2007-10-21  Eric Blake  <ebb9@byu.net>
1317         * tests/autotest.at (Banners): Reinstate test, with typo
1318         corrected.
1320 2007-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1322         * lib/autotest/general.m4 (Defaults): Validate input ranges ...
1323         <at_func_validate_ranges>: ... using this new function.
1324         * tests/autotest.at (Keywords and ranges): Test invalid ranges.
1325         Test --list with ranges and keywords.
1326         (Banners): Remove one now-failing test.
1328 2007-10-20  Eric Blake  <ebb9@byu.net>
1330         Fix testsuite --list subset.
1331         * lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
1332         back to spaces, before listing subset of tests.
1333         Reported by Ralf Wildenhues.
1335 2007-10-19  Eric Blake  <ebb9@byu.net>
1337         s/parenthesis/parentheses/ where appropriate.
1338         * doc/autoconf.texi: Fix typos.
1339         * lib/m4sugar/m4sugar.m4: Likewise.
1340         Reported by Ralf Wildenhues.
1342         Document m4_expand limitation.
1343         * lib/m4sugar/m4sugar.m4 (m4_expand): Mention problem with
1344         unbalanced parse.
1345         * doc/autoconf.texi (Pretty Help Strings, Evaluation Macros)
1346         (Writing Testsuites): Mention limitations inherited from
1347         m4_expand.
1349         Improve AT_BANNER handling.
1350         * lib/autotest/general.m4 (BANNERS): New named diversion.
1351         (TESTS_END): Diversion no longer used.
1352         (AT_INIT) <at_func_banner, BANNERS>: Factor all banners into a
1353         shell function, which prints only as needed, using an associative
1354         array of banner text from a special diversion.
1355         <PARSE_ARGS_END>: No longer need awk to find banners.
1356         <TESTS>: Banners are no longer processed by main driver loop, so
1357         we no longer need case statement.
1358         (AT_BANNER): Rewrite to populate new diversion.
1359         (AT_SETUP): Each test invokes its own banner.  No output is needed
1360         to the TESTS diversion.
1361         * doc/autoconf.texi (Writing Testsuites): Document slight
1362         semantics change.
1363         * tests/autotest.at (AT_BANNERS): Enhance test.
1364         * NEWS: Document AT_BANNER.
1366         Document and test AT_BANNER.
1367         * doc/autoconf.texi (Writing Testsuites): Document AT_BANNER.
1368         * tests/autotest.at (AT_CHECK_EGREP): Share between tests.
1369         (AT_CHECK_BANNERS): New test.
1371         Doc touchups.
1372         * doc/autoconf.texi (Text processing Macros) <m4_strip>
1373         <m4_text_wrap>: Clarify and fix typos.
1375 2007-10-18  Eric Blake  <ebb9@byu.net>
1377         Ignore `make dist' changelogs in testsuite.log.
1378         * lib/autotest/general.m4 (AT_INIT) <ChangeLogs>: Prune
1379         directories matching AT_PACKAGE_TARNAME-*.
1381         Fix AT_TESTED, AT_KEYWORDS.
1382         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Warn if separator
1383         occurs in string, as duplicates may be added.
1384         (_m4_append_uniq): New helper macro.
1385         (m4_append_uniq_w): New macro.
1386         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Fix
1387         duplication bug by using new macro.
1388         (AT_INIT) <at_tested>: Restore newline separators.  Invoke tested
1389         programs with stdin redirected, so programs that don't
1390         understand --version won't try to behave interactively.
1391         * tests/autotest.at (Tested programs): Catch this bug.
1392         * tests/m4sugar.at (m4@&t@_append): Test new macro.
1393         * tests/local.at (AT_TESTED): Add m4, perl.
1394         * doc/autoconf.texi (Text processing Macros): Document
1395         m4_append_uniq_w, and update text on m4_append.
1396         * NEWS: Document the addition.
1398 2007-10-17  Eric Blake  <ebb9@byu.net>
1400         Function cleanup.
1401         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Convert
1402         from m4 macro...
1403         (AT_INIT) <at_func_create_debugging_script>: ...to shell
1404         function.
1405         (AT_INIT): Defer function declarations until after --help,
1406         --version.  Format functions consistently, trying to fit in 80
1407         columns.
1408         (TEST_FUNCTIONS): Based on recent changes, rename...
1409         (TEST_GROUPS): ...to this.
1411         Reject FreeBSD m4.
1412         * m4/m4.m4 (AC_PROG_GNU_M4): Also check for frozen file support.
1413         * configure: Regenerate.
1414         Reported by Bob Friesenhahn.
1416         Test recent additions.
1417         * tests/m4sugar.at (m4@&t@_map, m4@&t@_combine)
1418         (m4@&t_max and m4@&t_min): New tests.
1419         * doc/autoconf.texi (Evaluation Macros) <m4_apply>: Enhance
1420         description.
1422 2007-10-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1424         * TODO: multiline args in config files and headers work now.
1426         Autotest: do not use shell functions for individual tests.
1427         * lib/autotest/general.m4 (AT_INIT) <at_func_test>: Merely
1428         extract the source test source, do not invoke it.
1429         (AT_SETUP, AT_CLEANUP): Source test code outside shell function.
1430         * tests/autotest.at (Fallacy): Actually let the inner suite fail,
1431         expect exit status of 1.
1432         * tests/autotest.at (Skip): New test, for bogus zsh exit status.
1434         * lib/autotest/general.m4 (at_func_test): Fix test extraction
1435         script.
1437 2007-10-17  Eric Blake  <ebb9@byu.net>
1439         Fix m4_combine for empty suffix list.
1440         * lib/m4sugar/m4sugar.m4 (m4_combine): Check for suffix list.
1441         * doc/autoconf.texi (Text processing Macros): Document this.
1443         Add m4_combine, based on Libtool's lt_combine.
1444         * lib/m4sugar/m4sugar.m4 (m4_combine): New macro.
1445         * doc/autoconf.texi (Text processing Macros): Document it.
1446         * NEWS: Likewise.
1448 2007-10-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1450         Fix `configure --help=recursive' in unconfigured/read-only trees.
1451         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Avoid errors when `.'
1452         is not writable, use 'cp -p' in this case, in the hope that it
1453         will not actually be needed.  Still try removing files, in case
1454         of other write errors.
1455         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): For ac_confdir,
1456         use $as_myself, not $0.
1457         (_AC_INIT_HELP): For --help=recursive, if the subdir does not
1458         exist, try again in the the source tree.  This change assumes
1459         that the subpackage configure script is capable of running
1460         --help=recursive in the source tree.
1461         * tests/torture.at (Configuring subdirectories, Deep Package):
1462         Adjust tests to expose both issues, also try invocation as
1463         `sh configure ...' and plain `configure ...' with PATH adjusted.
1464         * NEWS, THANKS: Update.
1465         Report by Hans Ulrich Niedermann.
1467 2007-10-16  Paul Eggert  <eggert@cs.ucla.edu>
1469         Check for 64-bit int errors in HP-UX 10.20 preprocessor.
1470         Problem reported by H.Merijn Brand in
1471         <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
1472         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1473         (AC_TYPE_UNSIGNED_LONG_LONG_INT):
1474         Check that preprocessor handles 64-bit ints, too.
1476 2007-10-16  Eric Blake  <ebb9@byu.net>
1478         m4_map is a looping construct.
1479         * lib/m4sugar/m4sugar.m4 (m4_map, _m4_map, m4_map_sep): Move.
1481         Fix m4_map, and add some more utility macros.
1482         * lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
1483         (m4_echo, m4_make_list): New documented macros.
1484         (_m4_quote, _m4_shift2): New helper macros.
1485         (m4_map): Change semantics to allow calling macro without
1486         arguments.
1487         (m4_map_sep): Likewise.  Also change semantics to quote separator,
1488         to match m4_join and m4_append.
1489         (m4_version_unletter): Fix use of m4_map.
1490         * doc/autoconf.texi (Evaluation Macros): Document m4_apply,
1491         m4_count, m4_dquote_elt, m4_echo, m4_make_list.
1492         (Text processing Macros): Mention m4_dquote as a faster
1493         alternative to joining with commas.
1494         (Looping constructs): Document m4_map, m4_map_sep.
1495         * NEWS: Mention new macros.
1497         A few more m4sugar improvements, to benefit libtool.
1498         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts, _m4_shiftn): Reduce size
1499         of expansion by avoiding extra uses of $@.
1500         (m4_shiftn): Avoid extra dnl, and forbid shifting by 0.
1501         (_m4_cdr): New helper macro.
1502         (_m4_map, m4_map_sep): Use it to reduce size of expansion.
1503         (_m4_shift3): New helper macro.
1504         (_m4_foreach): Swap argument order, and use new macro to reduce
1505         size of expansion.
1506         * doc/autoconf.texi (Looping constructs) <m4_shiftn>: Mention that
1507         count must be positive.
1509         * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Fix typo.
1510         Reported by Ralf Wildenhues.
1512 2007-10-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1514         * doc/autoconf.texi (Portable Shell): Improve description of zsh
1515         4.x function subshell bug with exit and trap.
1517 2007-10-15  Eric Blake  <ebb9@byu.net>
1519         Enhance AS_HELP_STRING.
1520         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't expand arguments,
1521         and reduce number of expansions.
1522         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Rework to use m4_expand,
1523         and to take indent and wrap column numbers.
1524         * tests/m4sh.at (AS@&t@_HELP_STRING): Update the test.
1525         * doc/autoconf.texi (Pretty Help Strings): Document details about
1526         arguments.
1527         (Text processing Macros): Minor tweaks.
1528         * NEWS: Document this change.
1530         Fix 2007-10-03 regression with AT_SETUP([a, b]).
1531         * lib/m4sugar/m4sugar.m4 (m4_expand): New macro.
1532         (m4_text_box): Use it.
1533         * lib/autotest/general.m4 (AT_SETUP): Use it.
1534         * lib/m4sugar/m4sh.m4 (_AS_RUN): Use it.
1535         * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Test this.
1536         * NEWS: Revert caveat about semantics change on comma.
1537         * doc/autoconf.texi (Evaluation Macros): Document m4_expand.
1539 2007-10-13  Eric Blake  <ebb9@byu.net>
1541         Change m4_join to match libtool's ltsugar semantics.
1542         * lib/m4sugar/m4sugar.m4 (m4_join): Just define this, not defun.
1543         Ignore empty arguments, using...
1544         (_m4_join): ...this new helper.
1545         * tests/m4sugar.at (m4@&t@_join): New test.
1546         * doc/autoconf.texi (Text processing Macros): Document new
1547         semantics of m4_join.
1549         Make AC_PREREQ faster and more robust.
1550         * lib/m4sugar/m4sugar.m4 (m4_ignore, m4_unquote): New macros.
1551         (m4_version_prereq): Inline constant expansions.
1552         (m4_list_cmp): Reduce number of expansions, by avoiding m4_case.
1553         Rewrite in terms of [] list, not () list.
1554         (_m4_list_cmp, _m4_version_unletter): New helper macros.
1555         (m4_version_unletter): Write wrapper around new implementation to
1556         preserve old semantics.
1557         (m4_version_compare): Pass correct type of list, and avoid
1558         overhead of flattening expressions too early.
1559         (m4_do): Move to be near other quoting macros.
1560         (m4_max, m4_min): Always result in decimal output.
1561         * doc/autoconf.texi (Looping constructs): Add m4_car, m4_cdr.
1562         Move m4_do...
1563         (Evaluation Macros): ...here.  Add m4_ignore, m4_unquote.
1564         (Text processing Macros): Move m4_version_compare...
1565         (Number processing Macros): ...to this new node; document m4_cmp,
1566         m4_list_cmp, m4_sign, m4_max, m4_min.
1567         * tests/m4sugar.at (m4@&t@_version_compare): Enhance test, to pick
1568         up on bugs fixed by this patch.
1569         * NEWS: Document new macros.
1571 2007-10-12  Eric Blake  <ebb9@byu.net>
1573         * doc/autoconf.texi (Text processing Macros): Fix bad merge.
1574         (Reporting Messages): Fix underfull hbox.
1576         Some more m4sugar documentation.
1577         * lib/m4sugar/m4sugar.m4: Clean up macro order.
1578         * doc/autoconf.texi (Programming in M4): Lighten the warning on
1579         using m4sugar; it is stabilizing and useful.
1580         (Redefined M4 Macros): Touch up wording on M4 builtins; sort.  Add
1581         m4_divert, m4_undivert, __file__, __line__, __oline__.
1582         (Diagnostics): New node, documenting m4_assert, m4_errprintn,
1583         m4_fatal, m4_location, m4_warn.
1584         (Diversion support): New node, documenting m4_divert_push,
1585         m4_divert_pop, m4_divert_text, m4_divert_once.
1586         (Text processing Macros): Sort.  Add m4_flatten, m4_join,
1587         m4_newline, m4_strip, m4_text_box, m4_text_wrap.
1588         (Reporting Messages): Mark AC_DIAGNOSE, AC_WARNING, and AC_FATAL
1589         as obsolescent.
1590         (Printing Messages): Change cross-reference.
1592         Document interaction of recent m4_append change with Libtool HEAD.
1593         * lib/m4sugar/m4sugar.m4 (m4_append): Document semantics change.
1594         (m4_append_uniq): Add new parameters, based on lt_append_uniq.
1595         * tests/m4sugar.at (m4@&t@_append): New test.
1596         * NEWS: Document semantics change.
1597         * doc/autoconf.texi (Text processing Macros): Likewise.
1599         s/AC_VERSION/AC_AUTOCONF_VERSION/.
1600         * doc/autoconf.texi (Versioning): Change the name.
1601         * NEWS: Likewise.
1602         * lib/autoconf/general.m4 (AC_AUTOCONF_VERSION): Likewise.
1603         * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Likewise.
1604         Suggested by Ralf Wildenhues.
1606         Namespace cleanup.
1607         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
1608         (_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
1609         autoconf namespace.
1610         * doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
1611         (Programming in M4sh, Macro Names): Beef up description of
1612         namespaces reserved for autoconf.
1613         * configure: Regenerate.
1615 2007-10-12  Eric Blake  <ebb9@byu.net>
1616         and Paolo Bonzini  <bonzini@gnu.org>
1618         Speed up execution of subset of testsuite.
1619         * lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
1620         (AT_INIT) <at_func_test>: New shell function.
1621         (AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
1622         (AT_INIT) <at_test_source> New variable, names file that holds
1623         current test function definition.
1624         (AT_SETUP): Start the shell function at_func_test_#, into the
1625         TEST_FUNCTIONS diversion.
1626         (AT_CLEANUP): End the shell function.  Simplify the TESTS
1627         diversion to invoke the function.
1629 2007-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1631         * .gitignore: Ignore tags and TAGS files.
1633 2007-10-11  Eric Blake  <ebb9@byu.net>
1635         Config header generation followup.
1636         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
1637         which won't work with the preprocessor nor with the awk
1638         implementation.
1639         * tests/torture.at (Define a newline): Test raw newline detection,
1640         removing the XFAIL.
1641         * doc/autoconf.texi (Defining Symbols): Document recent change to
1642         allow backslash-newline.
1643         * THANKS: Update.
1645 2007-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1647         * lib/autotest/general.m4: Put function braces in separate line.
1649 2007-10-10  Eric Blake  <ebb9@byu.net>
1651         Avoid some overhead from m4_defn and m4_popdef.
1652         * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
1653         pass on first argument, since we are documented that way.
1654         (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
1655         check where it is safe to do so.
1656         (m4_append): Likewise, and quote the separator.
1657         (m4_text_box): Likewise, and avoid regex, also be robust to
1658         expansion and quadrigraphs.
1660         Another AC_DEFINE speedup.
1661         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
1662         elision...
1663         (_AC_DEFINE_Q): ...here, and only do it once.
1664         * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
1665         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
1666         introduced 2007-10-05.
1668         Whitespace cleanup.
1669         * lib/autoconf/general.m4: Use consistent indentation.
1670         * configure: Regenerate.
1672         * NEWS: Announce recent round of speed optimizations.
1674 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1676         * NEWS: Announce shell function usage in Autotest.
1678 2007-10-10  Eric Blake  <ebb9@byu.net>
1679         and Paul Eggert  <eggert@cs.ucla.edu>
1681         Reduce number of forks at startup.
1682         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
1683         sanitization.
1684         * configure: Regenerate.
1686 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1687         and Paul Eggert  <eggert@cs.ucla.edu>
1689         Use awk for config header generation.
1690         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
1691         (_AC_OUTPUT_HEADERS_PREPARE): New macro.  Rewrite of the config
1692         header machinery for use with awk and placement outside the main
1693         config.status instantiation loop.  Retain multi-line defines
1694         through backslash-newline combinations, do not split the script
1695         any more.
1696         (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
1697         (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
1698         needed.
1699         (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
1700         from define values.
1701         * NEWS: Update.
1702         * tests/torture.at (#define header templates): Extend test by
1703         several more cases: white space before and after `#', macros
1704         with parameters in config.hin and as defines, multi-line macro
1705         values.
1706         (Torturing config.status): Use a define value twice the length
1707         in order to exercise the awk literal string limit.
1708         (Substitute and define special characters): Also try special
1709         delimiter, to exercise the special-case code.
1710         Suggestion by Eric Lemings.
1712 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1714         * tests/local.at (AT_COPYRIGHT): Bump copyright years.
1716 2007-10-09  Eric Blake  <ebb9@byu.net>
1718         Improve header of bin/autoconf.
1719         * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
1720         * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
1721         from M4sh.
1722         * bin/autoconf.as: Put copyright up front in generated file.
1724         * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
1726 2007-10-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1728         * doc/install.texi (Basic Installation): Document `uninstall'.
1729         * INSTALL: Regenerate.
1730         Suggestion by Roberto Bagnara.
1732 2007-10-08  Paul Eggert  <eggert@cs.ucla.edu>
1734         * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
1736         Adjust doc. to match latest gnulib.
1737         * build-aux/texinfo.tex: Sync from gnulib.
1738         * doc/standards.texi: Likewise.
1739         * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
1740         Documentation License" and remove the subsection.  This simplifies
1741         the manual a bit and is more like what other GNU projects do
1742         nowadays.
1744 2007-10-08  Eric Blake  <ebb9@byu.net>
1746         Use recent changes.
1747         * configure: Regenerate.
1749         Fix regression in m4_text_wrap from 2007-10-05.
1750         * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
1751         (m4_sign): Sort.
1752         (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
1753         m4_format.
1754         * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
1755         * tests/autotest.at (Long test title, Longer test title): Test
1756         this fix, beyond what AS_HELP_STRING already tests.
1758         Avoid m4 warnings on bad m4_format usage.
1759         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
1760         evaulates to 0.
1761         * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
1762         enough arguments are provided.
1764 2007-10-06  Paolo Bonzini  <bonzini@gnu.org>
1766         * doc/autoconf.texi (Shell portability): Document shell function
1767         portability.
1769 2007-10-06  Paolo Bonzini  <bonzini@gnu.org>
1771         * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
1772         at_func_check_skip, at_func_check_status, at_func_filter_trace,
1773         at_func_log_failure shell functions.  Use test -s to avoid
1774         useless diff invocations.
1775         (at_func_check_newline): Renamed from at_check_newline.
1776         (AT_SETUP): Define AT_captured_files to empty.
1777         (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
1778         (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir.  Use all
1779         the shell functions.
1781 2007-10-05  Paul Eggert  <eggert@cs.ucla.edu>
1783         Don't assume "." is writeable, for commands like "autoconf --version".
1784         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
1785         different heuristic instead, one that doesn't rely on creating
1786         files.
1788         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
1789         correctly.
1791 2007-10-05  Jim Meyering  <meyering@redhat.com>
1793         Avoid makeinfo warnings.
1794         * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
1795         (Looping constructs): Add ` ' after @defmac'd name, m4_do.
1797 2007-10-05  Eric Blake  <ebb9@byu.net>
1799         Resolve Python issue 1676135 regarding configure directory args.
1800         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
1801         slashes from directory arguments.
1802         * tests/base.at (configure directories): New test.
1803         * doc/autoconf.texi (Installation Directory Variables): Document
1804         the change.
1805         * NEWS: Likewise.
1806         * THANKS: Update.
1807         Reported by Björn Lindqvist.
1809         Provide better short-circuiting operation.
1810         * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
1811         (m4_text_wrap): Use it.  Also avoid useless m4_for.
1812         * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
1813         new macro.
1814         (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
1815         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
1816         to avoid regexps.
1817         * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
1818         documentation.  Sort m4_mkstemp, m4_undefine.  Move m4_ifndef...
1819         (Conditional constructs): ...here, to new section.  Also document
1820         m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
1821         m4_bpatsubsts, and m4_default.
1822         (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
1823         m4_do.
1825 2007-10-04  Eric Blake  <ebb9@byu.net>
1827         Fix recent testsuite failures.
1828         * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
1829         that must not be re-expanded after AS_ESCAPE.
1830         * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
1831         checking if it is an identifier.
1833         Whitespace cleanup.
1834         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
1835         leading whitespace, as it caused space-tab in testsuite.
1836         (AT_INIT): Avoid trailing newlines in testsuite.
1838         One more round of m4_foreach_w speedups.
1839         * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
1840         is present.
1841         (_m4_split): Avoid useless expansions inside definition.  Move
1842         argument defaulting...
1843         (m4_split): ...here.  Change alternate quote to something less
1844         likely to appear in $1.  Also, special case space as regexp...
1845         (m4_foreach_w): ...to avoid regexp on single-term list.
1846         (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
1847         useless expansions inside definition.
1848         * tests/m4sugar.at (m4@&t@_split): Add tests.
1850 2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
1852         * general.m4 (AT_INIT): Add at_check_newline function.
1853         (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
1854         (_AT_CHECK): Don't use at_trace_this.
1856 2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
1858         Fix previous commit.
1859         * lib/autotest/general.m4 (AT_LINE): Fix regex.
1861 2007-10-04  Eric Blake  <ebb9@byu.net>
1863         Speed up building testsuites.
1864         * lib/autotest/general.m4 (AT_LINE): Only use regex when file
1865         changed since last time.  Use simpler regex.
1867 2007-10-03  Eric Blake  <ebb9@byu.net>
1869         Optimize checking for identifiers.
1870         * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
1871         macros, more efficient than regex on m4_re_word.
1872         * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
1873         Rewrite in terms of new macro.  As a side-effect, AC_DEFINE can
1874         now use @&t@.
1875         * configure: Regenerate.
1877         Remove some XFAILs, and make AT_SETUP output line up.
1878         * lib/autotest/general.m4 (AT_SETUP): Only expand description
1879         once; thereafter, use its expansion, properly quoted.
1880         * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
1881         expansion with arguments, and check for aligned output.
1882         (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
1883         Add a test for macros with parameters.
1884         * NEWS: Document the semantics change.
1885         * tests/base.at: Fix test titles containing commas.
1886         * tests/compile.at: Likewise.
1887         * tests/tools.at: Likewise.
1888         * tests/torture.at: Likewise.
1890         Another round of regex avoidance.
1891         * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
1892         (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
1893         (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
1894         (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
1895         character ranges useful in m4_translit.
1896         (m4_toupper, m4_tolower): Optimize the constant portion of
1897         definition.
1898         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
1899         creates $, and reject [] thanks to AS_TR_SH rewrite.
1900         (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
1901         (AS_ESCAPE): Factor...
1902         (_AS_ESCAPE): ...into new macro, with second argument required.
1903         Avoid regex in common case.
1904         (_AS_QUOTE): Use new macro.
1906         Whitespace cleanup.
1907         * lib/autoconf/types.m4: Avoid space-tab.
1908         * lib/m4sugar/m4sh.m4: Use tab consistently.
1910 2007-10-03  Paul Eggert  <eggert@cs.ucla.edu>
1912         * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
1913         (m4_shiftn): Remove no-longer-needed optimization.  Perhaps we
1914         should remove m4_shiftn entirely?
1915         (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
1916         Prefer m4_shift2 and m4_shift3 to m4_shiftn.
1917         * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
1918         * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
1919         * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
1921 2007-10-03  Eric Blake  <ebb9@byu.net>
1923         Comment touchups.
1924         * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
1926 2007-10-02  Eric Blake  <ebb9@byu.net>
1928         Optimize appending text.
1929         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
1930         expressions.
1932         Optimize recursion.
1933         * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
1934         lot of hot spots; optimize it for 2 and 3 shifts.
1936         Optimize AC_PREREQ and other m4sugar numerics.
1937         * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
1938         (m4_cmp): Compare arbitrary expressions, without overflow.
1939         (m4_version_unletter): Also recognize capital letters.
1940         (m4_version_compare): Avoid regex when splitting version number
1941         string.
1943 2007-10-01  Eric Blake  <ebb9@byu.net>
1945         Once again, reject IRIX m4.
1946         * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
1947         implementations that ignore --trace.
1948         * configure: Regenerate.
1949         Reported by Ralf Wildenhues.
1951         Fix regression in AC_DEFINE([macro(with_arg)]).
1952         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
1953         quotes with a careless m4_substr.
1955 2007-09-30  Eric Blake  <ebb9@byu.net>
1957         Allow nameless iteration.
1958         * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
1959         indirectly.
1960         * tests/m4sugar.at (myvar): Test this.
1962 2007-09-29  Eric Blake  <ebb9@byu.net>
1964         Speed optimization: avoid m4 regex when other algorithms work.
1965         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
1966         (_AS_QUOTE_IFELSE): Likewise.
1967         * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
1968         (m4_bpatsubsts): Split...
1969         (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
1970         regex.
1971         (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
1972         (m4_qlen): Optimize on short strings, to avoid regex.
1973         (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
1974         * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
1975         (AC_DEFINE_TRACE): Likewise.
1977 2007-09-28  Eric Blake  <ebb9@byu.net>
1979         Oops - my earlier 'optimization' caused a regression.
1980         * tests/local.at (AT_CHECK_M4): Fix typo.
1982 2007-09-27  Eric Blake  <ebb9@byu.net>
1983         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1985         Catch even more common AC_CACHE_VAL mistakes.
1986         * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
1987         lacks '_cv_', or if AC_SUBST appears in body.
1988         * tests/base.at (AC_CACHE_CHECK): Test this change.
1990 2007-09-27  Stepan Kasal  <kasal@ucw.cz>
1991         and Eric Blake  <ebb9@byu.net>
1993         Autotest no longer caters to Ultrix redirection limitation.
1994         * doc/autoconf.texi (Writing testsuite.at): Remove the
1995         limitation that the first parameter of AT_CHECK cannot
1996         contain redirection.
1997         (File Descriptors): Mention that Ultrix limitation is no longer a
1998         show-stopper in modern code.
1999         * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
2000         parameter is `stderr' or `experr'.  Optimize if it was `ignore'.
2001         * lib/autotest/general.m4 (AT_CHECK): Update comment.
2003 2007-09-27  Eric Blake  <ebb9@byu.net>
2005         Squelch changeword in m4sugar.
2006         * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
2007         feature of m4 1.4.x.
2009         Configure whitespace touchups.
2010         * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
2011         installation directories, and avoid TAB, in configure --help
2012         output.
2013         * configure.ac: Avoid extra trailing newline.
2014         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
2015         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
2016         config.status --help output.
2017         * configure: Regenerate.
2019         Fix underquotation in AS_HELP_STRING.
2020         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
2021         argument.
2022         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
2023         first-prefix argument.
2024         * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
2025         * NEWS: Document AS_HELP_STRING fix.
2027         Autotest formatting touchups.
2028         * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
2029         output.
2030         (PATH): Simplify computation of new PATH.
2032 2007-09-26  Eric Blake  <ebb9@byu.net>
2034         Fix testsuite breakage in last patch.
2035         * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
2036         font-lock fix.
2037         * tests/torture.at (@%:@define header templates): Rename, so that
2038         output lines up correctly.
2040         More font-lock happiness.
2041         * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
2042         confusion.
2044 2007-09-25  Eric Blake  <ebb9@byu.net>
2046         Typo fixes.
2047         * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
2048         * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
2050         Improve documentation of M4 parameter expansion.
2051         * doc/autoconf.texi (Quoting and Parameters): New section.
2052         (Quotation and Nested Macros): Improve wording.
2054         Improve C99 detection.
2055         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
2056         avoid deprecation warning with icc.
2057         * THANKS: Update.
2058         Reported by Ted Bullock.
2060 2007-09-24  Jim Meyering  <jim@meyering.net>
2062         Whenever possible, use the vertical bar as sed delimiter.
2063         * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
2064         Use "|", not "!".
2065         * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
2066         [ac_dir_suffix]: Use "|", not "," as sed delimiter.
2067         * tests/mktests.sh (as_me): Likewise.
2068         * lib/freeze.mk (check-forbidden-patterns): Likewise.
2069         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
2070         * configure: Regenerate.
2071         * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
2072         * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
2073         in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
2074         This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
2076 2007-09-22  Jim Meyering  <jim@meyering.net>
2078         Add a comment.
2079         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
2080         2004-05-31 change also with a comment in the code.
2082 2007-09-20  Eric Blake  <ebb9@byu.net>
2084         More contribution housekeeping.
2085         * THANKS: Sort.
2086         * AUTHORS: Sort, reflect recent assignment from Helge Deller.
2088         Ignore additional files, when copying cross-repository.
2089         * .gitignore: Ignore CVS directories, emacs edits.
2090         * .cvsignore: Ignore .git directory, emacs edits.
2092 2007-09-15  Eric Blake  <ebb9@byu.net>
2094         Provide AC_VERSION, not m4_AUTOCONF_VERSION.
2095         * doc/autoconf.texi (Text processing Macros): Remove mention of
2096         m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
2097         once again.
2098         (Notices): Move AC_PREREQ...
2099         (Versioning): ...to this new section, alongside the new AC_VERSION
2100         alias for the undocumented m4_PACKAGE_VERSION.
2101         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
2102         * lib/autoconf/general.m4 (AC_VERSION): New macro.
2103         * NEWS: Update to match this rename.
2104         * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
2105         m4_PACKAGE_VERSION.
2106         * tests/tools.at (autoconf: AC_VERSION): New test.
2107         Suggested by Paolo Bonzini and Benoit Sigoure.
2109 2007-09-14  Eric Blake  <ebb9@byu.net>
2111         Prepare for conversion to git.
2112         * doc/.cvsignore: Avoid multiple listings on one line.
2113         * bin/.cvsignore: Likewise.
2114         * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
2115         lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
2116         lib/autoscan/.gitignore, lib/autotest/.gitignore,
2117         lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
2118         tests/.gitignore: New files, identical to .cvsignore counterpart.
2120 2007-09-13  Eric Blake  <ebb9@byu.net>
2122         Editing eye-candy.
2123         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
2124         font-lock balance.
2125         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
2126         * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
2127         * configure: Regenerate.
2129         Clean up 'make dist' of previous patch.
2130         * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
2131         (CLEANFILES): Don't clean the stamp, since we distribute the
2132         generated files pre-built.
2133         (MAINTAINERCLEANFILES): Clean it here instead.
2134         * tests/Makefile.in: Regenerate.
2136         Avoid parallel 'make check' issue.
2137         * tests/Makefile.am (mktests.stamp): New witness.
2138         (TESTSUITE_GENERATED_AT): Use it.
2139         (CLEANFILES): Clean the witness.
2140         * tests/.cvsignore (mktests.stamp): Ignore the witness.
2142         Document another awk pitfall.
2143         * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
2144         limitation of field variables in END.
2145         Reported by Gary V. Vaughan.
2147         * AUTHORS: Add missing entries.
2149 2007-09-12  Eric Blake  <ebb9@byu.net>
2151         Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
2152         * doc/autoconf.texi (Text processing Macros): Document
2153         m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
2154         (Redefined M4 Macros): Document m4_ifndef.
2155         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
2156         can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
2157         used it while it was undocumented.
2158         * NEWS: Document this change.
2159         * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
2160         * lib/m4sugar/Makefile.in: Regenerate.
2161         * tests/m4sugar.at (m4@&t@_version_compare): New test.
2162         Reported by Bruno Haible.
2164         * doc/autoconf.texi (Generic Compiler Characteristics): Add
2165         missing index entries.
2167 2007-09-11  Eric Blake  <ebb9@byu.net>
2169         Centralize all system extensions checks.
2170         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
2171         from AC_AIX, AC_GNU_SOURCE, AC_MINIX.  Add Interix support.
2172         (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
2173         AC_USE_SYSTEM_EXTENSIONS.
2174         (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
2175         (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
2176         * doc/autoconf.texi (Posix Variants): Reword this section,
2177         emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
2178         rather than a series of system-specific checks.
2179         (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
2180         AC_MINIX.
2181         * NEWS: Document this change.
2182         * THANKS: Update.
2183         Reported by Martin Koeppe.
2185 2007-09-08  Eric Blake  <ebb9@byu.net>
2187         Clean up obsolete macros references.
2188         * doc/autoconf.texi: Add anchors to support better
2189         cross-referencing.
2190         (Particular Structures): Move obsolete macros descriptions...
2191         (External Software): Likewise.
2192         (Package Options): Likewise.
2193         (Obsolete Macros): ...to here.  Add cross-references to
2194         documentation on replacements.
2195         * NEWS: Mention that these macros have been obsolete for a while
2196         now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
2198         Improve M4 path searching during configure.
2199         * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
2200         macro.
2201         (_AC_PATH_PROG_FEATURE_CHECK): Rename...
2202         (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
2203         parameter, and kill side effects.
2204         (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
2205         (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
2206         * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
2207         is found.
2208         (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
2209         allow bootstrapping with autoconf 2.61.
2210         * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
2211         * configure: Regenerate.
2212         * doc/autoconf.texi (Generic Programs): Document new macro.
2213         * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
2214         macro.
2215         * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
2216         * NEWS: Document the change.
2217         * THANKS: Update.
2218         Reported by Hans Aberg.
2220         * doc/autoconf.texi (Generic Programs): Fix typo.
2222 2007-09-06  Eric Blake  <ebb9@byu.net>
2224         * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
2225         :, and make it clear that optional @var{path} defaults to $PATH.
2226         (Erlang Compiler and Interpreter): Likewise.
2228         Texinfo cleanup.
2229         * doc/autoconf.texi: Avoid lines > 80 columns when possible.
2230         Reword some paragraphs to avoid overfull, underfull hbox
2231         warnings.  Add index entries to avoid overfull vbox warnings.
2233 2007-09-05  Eric Blake  <ebb9@byu.net>
2235         * NEWS: Adjust wording for AC_CONFIG_LINKS.
2236         Reported by Ralf Wildenhues.
2238 2007-09-03  Eric Blake  <ebb9@byu.net>
2240         * NEWS: Document fixes that have been applied since 2.61a.
2242         Housekeeping.
2243         * THANKS: Update, and convert to UTF-8 encoding.
2244         * AUTHORS: Likewise.
2246 2007-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2248         * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
2249         names beginning with `-' again.
2251 2007-08-22  Stepan Kasal  <kasal@ucw.cz>
2252             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2254         * doc/autoconf.texi (Defining Directories): Mention
2255         AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
2257 2007-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2259         * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
2260         here, this macro is expanded by AC_INIT.  Fixes 2.60 regression.
2261         * tests/base.at (configure arguments): New test.
2262         * THANKS: Update.
2263         Report by Olaf Lenz.
2265         * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
2266         arguments in comment.
2267         Report by Vincent Torri <vtorri at univ minus evry dot fr>.
2269 2007-08-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
2271         * doc/autoconf.texi (File System Conventions): Index the proper
2272         way of detecting absolute file names.
2274 2007-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2276         * build-aux/config.guess, build-aux/config.sub,
2277         build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
2278         build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
2279         doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
2280         * doc/autoconf.texi (GNU Free Documentation License): Adjust for
2281         sectioning change in fdl.texi.
2283         * bin/autoconf.as: Update --version output to match current GCS.
2284         * bin/autoheader.in: Likewise.
2285         * bin/autom4te.in: Likewise.
2286         * bin/autoreconf.in: Likewise.
2287         * bin/autoscan.in: Likewise.
2288         * bin/autoupdate.in: Likewise.
2289         * bin/ifnames.in: Likewise.
2291 2007-08-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2293         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
2294         file to itself if source and build trees coincide.
2295         * tests/torture.at (AC_CONFIG_LINKS and identical files): New
2296         test.
2297         Report by Sebastian Freundt <hroptatyr@gna.org>.
2299 2007-07-20  Paul Eggert  <eggert@cs.ucla.edu>
2301         Reword the copyright notices to match what's suggested in GPLv3.
2302         In ChangeLog files, use more-permissive notice rather than GPL, as
2303         per usual GNU standards these days.
2305 2007-07-13  Paul Eggert  <eggert@cs.ucla.edu>
2307         * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
2308         limitation reported by Leo Moisio in
2309         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
2311 2007-07-03  Paul Eggert  <eggert@cs.ucla.edu>
2313         * COPYING: Update to GPLv3.  All uses changed.
2315 2007-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2316         and Paul Eggert  <eggert@cs.ucla.edu>
2318         * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
2319         fails on AIX 5.3.
2321 2007-06-17  Noah Misch  <noah@cs.caltech.edu>
2323         * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
2324         * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
2325         `srcdir' as subdirectory of `builddir'.
2327 2007-06-13  Noah Misch  <noah@cs.caltech.edu>
2329         * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
2330         * tests/autotest.at (srcdir propagation): New test.
2331         * THANKS: Update.
2332         Reported by Mike Frysinger.
2334 2007-06-13  Paul Eggert  <eggert@cs.ucla.edu>
2336         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
2337         Problem reported by Fred Kreek in
2338         <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
2339         * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
2340         (Macro Names, Defining Directories): Don't mention PATH as a name
2341         for a fully qualified file name, as this usage violates the GNU
2342         coding standards and we shouldn't recommend it.
2344         * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
2345         string and then assume shell builtins like "test" will work.
2347 2007-06-12  Noah Misch  <noah@cs.caltech.edu>
2349         * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
2350         not a valid shell variable name.
2351         * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
2352         * tests/torture.at (AC_SUBST: variable name validation): New test.
2353         Reported by Andreas Schwab.
2355 2007-06-04  Noah Misch  <noah@cs.caltech.edu>
2357         * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
2358         works with both C and C++.
2360 2007-06-03  Noah Misch  <noah@cs.caltech.edu>,
2361             Bruno Haible  <bruno@clisp.org>
2363         * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
2364         brand tests.
2366 2007-05-31  Paul Eggert  <eggert@cs.ucla.edu>
2368         * doc/autoconf.texi (Particular Types): Give example of use for
2369         AC_TYPE_INT8_T etc.
2371 2007-05-29  Stepan Kasal  <kasal@ucw.cz>
2373         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
2375 2007-05-28  Paul Eggert  <eggert@cs.ucla.edu>
2377         * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
2378         define HAVE_INT8_T, and likewise for similar macros.
2379         Problem reported by Patrick Welche in
2380         <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
2382 2007-05-25  Noah Misch  <noah@cs.caltech.edu>
2384         * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
2386 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
2388         * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
2389         choice, since that's what we do with --enable-largefile etc.
2390         Redo indenting and assignments to simplify things a bit, and make
2391         the parens work with Emacs.
2393         * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
2394         in my previous change: AC_C_OPENMP -> AC_OPENMP.  Reported by Bruno
2395         Haible.
2397 2007-05-21  Noah Misch  <noah@cs.caltech.edu>
2399         * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
2400         * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
2402 2007-05-21  Bruno Haible  <bruno@clisp.org>
2404         * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
2405         * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
2406         * doc/autoconf.texi (Generic Compiler Characteristics): Move
2407         renamed AC_OPENMP documentation here, from "C compiler".
2408         Mention C++ and Fortran.
2410 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
2412         * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
2414 2007-05-21  Bruno Haible  <bruno@clisp.org>
2416         * NEWS: Mention AC_C_OPENMP.
2417         * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
2418         * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
2419         Based in part on Steven G. Johnson's investigations for the AX_OPENMP
2420         macro in the Autoconf macro archive.
2422 2007-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2424         * bin/autom4te.in: Fix typos.
2426 2007-05-16  Noah Misch  <noah@cs.caltech.edu>
2428         * bin/autoconf.as: Handle `-' just like other input files.
2429         * bin/autom4te.in (parse_args): Pass `-' through.
2430         (handle_output): Skip the forbidden token search if we read from stdin.
2431         (up_to_date): Always treat stdin as out of date.
2432         * tests/tools.at (autoconf: input from stdin): New test.
2433         (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
2435 2007-05-16  Stepan Kasal  <kasal@ucw.cz>
2437         * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
2438         parameters for AT_CLEANUP.
2439         * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
2441 2007-05-14  Paul Eggert  <eggert@cs.ucla.edu>
2443         * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
2444         * doc/autoconf.texi (C Compiler): Likewise.
2446 2007-05-14  Noah Misch  <noah@cs.caltech.edu>
2448         * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
2450 2007-05-09  Stepan Kasal  <kasal@ucw.cz>
2452         * doc/autoconf.texi: Direntry for "autoconf Invocation"
2453         renamed to "autoconf-invocation"
2455         * doc/autoconf.texi (Caching Results): The CACHE-ID variable
2456         in the examples should not use the internal "ac_" prefix.
2458 2007-05-05  Noah Misch  <noah@cs.caltech.edu>
2460         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
2461         * doc/autoconf.texi ($@, case): Document Zsh limitations.
2463 2007-05-03  Stepan Kasal  <kasal@ucw.cz>
2465         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
2466         Reorganize the comments before and in the macro.
2468 2007-05-02  Stepan Kasal  <kasal@ucw.cz>
2470         * lib/autoconf/lang.m4, lib/autoconf/c.m4,
2471         lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
2472         section titles and other comments; no code change.
2474 2007-05-01  Kevin Ryde  <user42@zip.com.au>
2476         * doc/autoconf.texi (Particular Programs): Typo
2477         @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
2479 2007-04-30  Paul Eggert  <eggert@cs.ucla.edu>
2481         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
2482         'configure' will fail if the shell lacks proper support for shell
2483         functions.  Suggested by RMS.
2485 2007-04-29  Paul Eggert  <eggert@cs.ucla.edu>
2487         * doc/autoconf.texi (Limitations of Builtins): Correct the warning
2488         about Solaris /bin/printf '%010000x' 123.  Problem reported by
2489         Bruno Haible.
2491 2007-04-28  Paul Eggert  <eggert@cs.ucla.edu>
2493         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
2494         for a.* when searching for executables, as this prevents users
2495         from having files like a.c.  Problem reported by Ralf Wildenhues in:
2496         http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
2497         This fixes a problem introduced on 2000-12-19.
2499 2007-04-26  Paul Eggert  <eggert@cs.ucla.edu>
2501         * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
2502         /bin/printf '%010000x' 123.  Problem reported by Arto C. Nirkko
2503         via Bruno Haible.
2505 2007-04-12  Paul Eggert  <eggert@cs.ucla.edu>
2507         * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
2508         AC_CHECK_TYPE, AC_CHECK_TYPES.
2509         * doc/autoconf.texi (Generic types): C types must be type-names
2510         (the C terminology), not type-ids (the C++ term).  C++ types
2511         must not be anonymous.
2512         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
2513         for C++; this drops support for anonymous struct and union types,
2514         which were problematic anyway.
2515         * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
2516         for C++.
2518 2007-04-12  Jim Meyering  <jim@meyering.net>
2520         * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
2522 2007-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2524         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
2525         to prefer a link source from the build tree, if it exists.
2526         Report by Pallav Gupta <pallavgupta@gmail.com>.
2528 2007-04-11  Paul Eggert  <eggert@cs.ucla.edu>
2530         * doc/autoconf.texi (Generic Types): Document the restrictions
2531         on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
2532         (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
2533         with objects too.  Document the restrictions on its use.
2534         Document the restrictions on AC_CHECK_ALIGNOF's type argument.
2535         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
2536         For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
2537         works but the latter doesn't, then it's a valid type.
2538         This lets people use function types and so forth.
2539         For C++ there doesn't seem to be a simple solution, so leave it alone.
2540         (AC_CHECK_SIZEOF): Allow argument to be a variable.
2541         (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
2542         AC_CHECK_TYPE; that wasn't documented or necessary.
2544 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
2546         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
2547         when cross-compiling.
2549 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
2551         * doc/autoconf.texi (External Software): Fix a typo in the
2552         previous change.
2554 2007-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2556         * doc/autoconf.texi (External Software, Package Options):
2557         Fix ambiguous wording.  Report by Reuben Thomas <rrt@sc3d.org>.
2559 2007-04-06  Paul Eggert  <eggert@cs.ucla.edu>
2561         * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
2562         obsolescent.  Suggested by Bruno Haible.
2563         * NEWS: Document this.
2565 2007-03-29  Paul Eggert  <eggert@cs.ucla.edu>
2567         * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
2568         (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
2569         default still has the problem.  Problem reported by Bruce Korb.
2571 2007-03-28  Stepan Kasal  <kasal@ucw.cz>
2572         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2574         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
2575         comment in the generated config.status.
2577 2007-03-27  Stepan Kasal  <kasal@ucw.cz>
2579         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
2581 2007-03-26  Paul Eggert  <eggert@cs.ucla.edu>
2583         * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
2584         command and case statements to make it a bit clearer and describe
2585         more pitfalls.
2587 2007-03-23  Paul Eggert  <eggert@cs.ucla.edu>
2589         * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
2590         checks for unsigned long long int.
2592 2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
2594         * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
2595         nonstandard grep R.E. escape sequences.
2597 2007-03-17  Jim Meyering  <jim@meyering.net>
2599         * doc/autoconf.texi: Adjust grammar around use of "heuristics".
2600         (Limitations of Usual Tools): Also list \< and \>, and mention that
2601         HP-UX's grep, like the one from Solaris, does not support that syntax.
2603 2007-03-09  Stepan Kasal  <kasal@ucw.cz>
2605         * doc/autoconf.texi (Specifying Names): `--host' does not
2606         change the build type.
2608 2007-03-05  Paul Eggert  <eggert@cs.ucla.edu>
2610         * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
2611         suggests AC_CONFIG_HEADERS.
2612         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
2613         AC_CONFIG_HEADERS.  Problem reported by
2614         Peter O'Gorman.
2616 2007-02-28  Paul Eggert  <eggert@cs.ucla.edu>
2618         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
2619         Problem reported by Paolo Bonzini in:
2620         http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
2621         * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
2622         universal binaries.  Problem reported by Elias Pipping.
2624 2007-02-27  Paul Eggert  <eggert@cs.ucla.edu>
2626         * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
2627         * doc/autoconf.texi (C Compiler): Document this.  There is a new
2628         extra argument ACTION-IF-UNIVERSAL.
2629         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
2630         Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
2631         Reindent for sanity's sake.
2633 2007-02-24  Eric Blake  <ebb9@byu.net>
2635         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
2636         copyright.
2637         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
2638         * lib/autotest/general.m4 (AT_INIT): Likewise.
2639         (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
2641 2007-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2643         * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
2644         status of rm so we know when it failed.
2645         If cleaning of test dir failed before running the test, warn.
2646         Output the line separator in verbose mode before the warning
2647         to make clear the warning belongs to the following test.
2649 2007-02-08  Paul Eggert  <eggert@cs.ucla.edu>
2651         * doc/autoconf.texi (Parentheses): Mention problem with (( in
2652         shells.
2654 2007-02-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2655         and Paul Eggert  <eggert@cs.ucla.edu>
2657         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
2658         errors introduced in last change.
2660 2007-02-07  Paul Eggert  <eggert@cs.ucla.edu>
2662         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
2663         an actual carriage return.  Use "ac_cr" to contain the actual
2664         carriage return.
2665         * doc/autoconf.texi (Limitations of Usual Tools): Document problem
2666         with traditional Awk and begin.
2667         * tests/torture.at (Limitations of Builtins): Document the problem
2668         with Bash 2.03 printf.
2669         (Substitute and define special characters):
2670         Remove trailing white space.  Work around a bug in Solaris 8 /bin/bash.
2672 2007-02-06  Ralf Menzel  <menzel@ls6.cs.uni-dortmund.de>  (tiny change)
2674         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
2675         input from /dev/null in awk test, so even Solaris /usr/bin/awk
2676         will not wait for input with a script containing only a BEGIN
2677         rule.
2679 2007-02-03  Paul Eggert  <eggert@cs.ucla.edu>
2681         * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
2682         requirements.
2683         * README: Likewise.
2685 2007-02-02  Eric Blake  <ebb9@byu.net>
2687         * NEWS: Update copyright.
2689         * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
2690         broken.
2691         * configure.ac: Update error message.
2692         * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
2693         Reported by Gary Vaughan and Jim Meyering, and problem analyzed
2694         by Stepan Kasal:
2695         http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
2697 2007-01-31  Eric Blake  <ebb9@byu.net>
2699         * THANKS (people): Update.
2701 2007-01-28  Paul Eggert  <eggert@cs.ucla.edu>
2703         * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
2704         latest version.
2705         (Shell Substitutions): Note problems with @{var:=value} etc.
2706         Add a new section for problems with @{#var} etc.  Problem noted
2707         by Ralf Wildenhues.  See:
2708         http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
2710 2007-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2712         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
2713         AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
2714         trace, if a package uses AC_PROG_MKDIR_P explicitly.  The actual
2715         substitution will still be done by the special code.
2716         Report by Jim Meyering.
2718         * doc/autoconf.texi (File System Conventions): Mention that
2719         $PATH_SEPARATOR is for the build system only.
2720         Report by Keith Marshall.
2722 2007-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2724         * doc/autoconf.texi (Setting Output Variables): Mention that
2725         all non-NUL characters are ok in substituted values.
2726         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
2727         (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
2728         carriage return for $AWK, needed for BSD awk.
2729         * tests/torture.at (Substitute and define special characters):
2730         Test all 8 bit non-NUL characters.
2731         Report against Automake by Patrick Welche.
2733 2007-01-15  Stepan Kasal  <kasal@ucw.cz>
2735         * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
2737 2007-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2739         * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
2740         early on the reader side, drop stderr of the input to avoid
2741         `broken pipe' error output; this may happen even with shell
2742         builtin `echo' of some bash versions.  Reports by Ian Macdonald
2743         <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
2745 2007-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2747         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
2748         separate items of `ac_user_opts', to avoid long lines.
2749         (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
2751 2007-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2753         * doc/autoconf.texi: Fix some typos.
2755 2007-01-05  Paul Eggert  <eggert@cs.ucla.edu>
2757         Fix some wording problems noted by Paolo Bonzini in:
2758         http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
2759         * doc/autoconf.texi (Signed Overflow Examples): Give more
2760         discussion about the allow_superuser_privileges example,
2761         and change it a bit to make things clearer.
2762         (Optimization and Wraparound): Clarify whether the compiler
2763         will generate an infinite loop for the example derived from
2764         Autoconf's mktime test.
2765         (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
2766         Also, clarify unsigned multiplication overflow.
2768 2007-01-04  Eric Blake  <ebb9@byu.net>
2770         * bin/Makefile.am (RELEASE_YEAR): New macro.
2771         (edit): Use it to supply correct copyright year to scripts.
2772         * bin/autoconf.as (version): Use it.
2773         * bin/autoheader.in ($version): Likewise.
2774         * bin/autom4te.in ($version): Likewise.
2775         * bin/autoreconf.in ($version): Likewise.
2776         * bin/autoscan.in ($version): Likewise.
2777         * bin/autoupdate.in ($version): Likewise.
2778         * bin/ifnames.in ($version): Likewise.
2780 2007-01-02  Paul Eggert  <eggert@cs.ucla.edu>
2782         * doc/autoconf.texi (Integer Overflow): Revised based on today's
2783         feedback.  The most important changes document what happens when
2784         you convert an out-of-range value to a signed integer type, and
2785         say that (sum < a) != (b < 0) reliably detects overflow when sum =
2786         a + b.
2788         * doc/autoconf.texi (Integer Overflow): Greatly expand and
2789         rewrite, taking notions from the recent discussion on the gcc and
2790         autoconf mailing lists; please see
2791         http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
2792         and follow the many links.
2793         (Integer Overflow Basics, Signed Overflow Examples):
2794         (Optimization and Wraparound, Signed Overflow Advice):
2795         (Signed Integer Division): New sections.
2797 2006-12-28  Steven G. Johnson  <stevenj@alum.mit.edu>
2799         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
2800         preprocessor macro arguments in traced name.
2801         * doc/autoconf.texi (Defining symbols): Document longstanding
2802         support for AC_DEFINE-ing macros with arguments, and document
2803         behavior when the same variable has multiple AC_DEFINEs.
2804         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
2805         old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
2806         macros directly, giving much shorter and simpler code.
2808 2006-12-28  Malcolm Purvis <malcolmp@xemacs.org>  (trivial change)
2810         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
2811         space before "$ac_configure_args" to prevent a 'config.status
2812         --recheck' failure if ac_configure_args doesn't contain a leading
2813         space.  This works around a problem with the XEmacs configure.ac,
2814         which uses the (undocumented) ac_configure_args variable
2815         inconsistently with Autoconf.
2817 2006-12-22  Paul Eggert  <eggert@cs.ucla.edu>
2819         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
2820         Include <limits.h>, and use its INT_MAX to rewrite the
2821         j loop so that it does not overflow 'int'.  Problem reported by
2822         Ralf Wildenhues in
2823         <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
2824         Play it safe by shifting left by 1 rather than multiplying by 2,
2825         as GCC is less likely to optimize this away when the value
2826         is signed (when it assumes overflow leads to undefined behavior).
2827         Also, don't assume time_t uses two's complement.
2829 2006-12-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2831         * tests/torture.at (Substitute a 2000-byte string): Avoid using
2832         a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
2833         dumps core on it.  Report by Tim Rice.
2835 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
2837         * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
2838         --disable-option-checking to --help output even when
2839         AC_PRESERVE_HELP_ORDER is not used.
2840         (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
2841         --with argument, rather than argument with [-.] replaced by
2842         underscores.
2843         * NEWS: Fix typo in previous change; the news was in the
2844         wrong section.
2846 2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
2848         * NEWS: Warnings are now generated by default for unknown
2849         --enable-* and --with-* options.
2850         * doc/autoconf.texi (Option Checking): Renamed from
2851         (Configure Option Checking).  Tighten up the wording a bit.
2852         (External Software, Package Options): Cross-reference to Option
2853         Checking, and use this to shorten our section.
2854         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
2855         "$x" to test "x$foo" != x.
2856         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
2857         Don't warn if $enable_option_checking is "no".
2858         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
2859         ac_unrecognized_opts to the empty string.
2860         Don't echo the unrecognized opts, as this might mishandle
2861         backslashes or leading -.
2862         (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
2863         usage next to the other --disable-FEATURE options in the
2864         help string.
2866 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
2868         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
2869         (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
2870         Print warning for unrecognized --with and --enable options
2871         (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
2872         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
2873         Disable option checking when subdirs are configured.
2874         (AC_OUTPUT): If warnings are enabled, print warning about
2875         unrecognized --with and --enable options at the end of
2876         the configure output (as well as at the beginning).
2877         * doc/autoconf.texi (Option Checking): New node.
2878         Document new option warning functionality.
2880 2006-12-16  Eric Blake  <ebb9@byu.net>
2882         * configure.ac (AC_INIT): Bump version, since 2.61a is released.
2883         * NEWS: Start news for current version.
2885 2006-12-15  Paul Eggert  <eggert@cs.ucla.edu>
2887         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
2888         Define HAVE_GETMNTENT to 1, not to the empty string.
2889         Problem originally reported by Jochen Friedrich in
2890         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
2892         This change prompted by a problem report by Andrey Simonenko in
2893         <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
2894         * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
2895         object-like macros only, in the traditional portable character
2896         set.
2897         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
2898         Warn about attempts to define things that are not identifiers.
2899         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
2900         awful hack that AC_DEFINEd macro names containing parentheses.
2902 2006-12-12  Paul Eggert  <eggert@cs.ucla.edu>
2904         * doc/autoconf.texi: Undo some of the 2006-12-10 change.  It was
2905         too drastic, even if Texinfo in theory requires it for info mode.
2907         (config.status Invocation): Renamed back from Recreating a
2908         Configuration).
2909         (Obsolete config.status Use): Renamed back from Obsolete Recreation.
2910         (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
2912 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
2914         * NEWS: Version 2.61a.
2916 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
2917         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2919         * NEWS: Document changes with echo and printf, and the lack
2920         of limits on the total size of multi-line values of substituted
2921         variables, and the AC_FUNC_FSEEKO fix.
2923 2006-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2925         * doc/autoconf.texi (Writing Autoconf Input): Renamed from
2926         Writing configure.ac.
2927         (Autoconf Input Layout): Renamed from configure.ac Layout.
2928         (Recreating a Configuration): Renamed from config.status Invocation.
2929         (Obsolete Recreation): Renamed from Obsolete config.status Use.
2930         (acconfig Header): Renamed from acconfig.h.
2931         (20th-century Autoconf 2): Renamed from Autoconf 2.13.
2932         (Writing Testsuites): Renamed from Writing testsuite.at.
2933         (Autom4te Cache): Renamed from autom4te.cache.
2935         * BUGS: Remove mention of VPATH problem, since it's now documented
2936         not to be a bug in the Autoconf build procedure itself, but rather
2937         a problem with the proprietary `make' programs.
2939         * doc/autoconf.texi (Build Directories): Add a cross reference
2940         to VPATH and Make.
2942         * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
2943         * doc/standards.texi: Sync from gnulib.
2945         * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
2946         * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
2947         * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
2948         generated automatically.
2950 2006-12-06  Paul Eggert  <eggert@cs.ucla.edu>
2952         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
2953         C 5.8 on Solaris 10.  Using -xc99=all rather than -xc99 bypasses
2954         the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
2956 2006-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2958         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
2959         `CEOF$ac_eof' special marker, the awk script cannot contain a
2960         line matching `^CEOF', so this is not needed any more.
2961         * tests/torture.at (Substitute a newline): Expose the `%!_!# '
2962         special marker in the test.
2964 2006-12-06  Stepan Kasal  <kasal@ucw.cz>
2966         * tests/tools.at (autom4te preselections): Use `find -newer';
2967         remove one of the sleeps.
2969         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
2970         more readable, using ...
2971         (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
2973         * doc/autoconf.texi (autoheader Invocation): Do not double-
2974         quote the parameter of `AH_BOTTOM' in the example.
2976 2006-12-05  Stepan Kasal  <kasal@ucw.cz>
2978         * doc/autoconf.texi (Configuration Headers): Remove the
2979         example with multiple input files.
2980         (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
2981         multiple input files.
2983 2006-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2985         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
2986         creating the awk substitution script, handle one input line at a
2987         time, so that the maximum length of a substituted (multi-line)
2988         value is not limited by the size of the sed pattern space.
2989         The trade-off is a slightly repetitive sed script.
2990         * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
2991         can only have up to 7 characters, due to Solaris 10 /bin/sed.
2992         * tests/torture.at (Substitute a 2000-byte string): Increase the
2993         test with several long lines, they should not be caught by sed
2994         limits any more.
2996         * tests/tools.at (autom4te preselections): New test, to flag
2997         entries missing from autom4te.cfg.
2998         Report by David Byron <dbyron@hheld.com>.
3000         * tests/torture.at (Substitute a 2000-byte string): Actually use
3001         AC_PROG_AWK, so the last change works as intended.
3002         (Substitute and define special characters): Likewise.
3003         (Substitute a newline): Likewise.
3005         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
3006         instead of `awk' consistently.
3007         (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
3008         * tests/torture.at (Torturing config.status): Test both the
3009         result of AC_PROG_AWK and plain awk.
3010         (Substitute a 2000-byte string): Likewise.
3011         (Substitute and define special characters): Likewise.
3012         (Substitute a newline): Likewise.
3014 2006-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3016         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
3017         can be assigned to a function pointer.  Problem reported by
3018         Peter Palfrader in <http://bugs.debian.org/401377>.  Based on
3019         part of a patch by Ralf Wildenhues in that same bug report.
3021 2006-12-01  Paul Eggert  <eggert@cs.ucla.edu>
3023         * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
3024         * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
3026 2006-12-01  Eric Blake  <ebb9@byu.net>
3028         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
3029         cross-compiling from cygwin to mingw.
3030         Reported by Bob Rossi.  This resurrects the 2000-11-30 patch to
3031         aclang.m4, which was mistakenly removed in the 2001-09-17 patch
3032         to lib/autoconf/c.m4.
3034 2006-12-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3036         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
3037         string for more reliable failure.  Wrap the entire test that
3038         causes the broken Solaris printf to dump core, in a subshell,
3039         so the segmentation fault message is reliably suppressed.
3040         Fix shell expansion errors by using /usr/ucb/echo always;
3041         avoid an error on systems without it by another subshell.
3042         Avoid m4 expansion of `$1'.  Set the zeroth argument of the
3043         subshell-$as_echo to `as_echo', for better error message.
3045 2006-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3047         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
3048         `BASH_SOURCE' contain a newline, set them to empty, as they may
3049         not be unset.
3051 2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
3053         Turn AC_FUNC_SETVBUF_REVERSED into a noop.  It's been obsolete for
3054         years and is too hard to maintain now.  The last straw was
3055         reported by Jerker Baeck in
3056         <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
3057         * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
3058         * doc/autoconf.texi (Particular Functions): Move
3059         AC_FUNC_SETVBUF_REVERSED from here...
3060         (Obsolete Macros): ... to here.  Say that it does nothing now.
3061         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
3062         Turn into (almost) a no-op.
3064         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
3065         (AC_C_VOLATILE):
3066         Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
3067         These macros are obsolescent and new applications shouldn't need them.
3068         * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
3069         (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
3070         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
3071         (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3072         (AC_FUNC_VPRINTF): Likewise.
3073         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
3074         (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
3075         * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
3077         * doc/autoconf.texi (Setting Output Variables): Mention that
3078         @VAR1@VAR2 has unspecified behavior.  Problem reported by
3079         Ralf Wildenhues.
3080         * NEWS: Mention this.
3082         * Makefile.am: Put only a single '#' into the copyright notice,
3083         so that it's also present in the output file.  Standardize wording
3084         in makefile copyright notices to match GNU coding standards.
3085         * bin/Makefile.am: Likewise.
3086         * doc/Makefile.am: Likewise.
3087         * lib/Makefile.am: Likewise.
3088         * lib/freeze.mk: Likewise.
3089         * lib/autoconf/Makefile.am: Likewise.
3090         * lib/autoscan/Makefile.am: Likewise.
3091         * lib/autotest/Makefile.am: Likewise.
3092         * lib/m4sugar/Makefile.am: Likewise.
3093         * man/Makefile.am: Likewise.
3094         * tests/Makefile.am: Likewise.
3095         * lib/emacs/Makefile.am: Remove copyright notice; it's just a
3096         one-line file.
3098 2006-11-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3100         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
3101         in the sed script that mangles the awk script: delete up to the
3102         first exclamation mark only.
3103         * tests/torture.at (Substitute and define special characters):
3104         Test '!' too.
3106 2006-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3108         Rewrite config files generation: avoid quadratic growth in
3109         the number of substituted variables by using awk instead of sed
3110         for the bulk of the substitutions.
3111         * NEWS: Mention this.
3112         * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
3113         forbidden in the output (and thus input) file.
3114         * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
3115         (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
3116         generate just one large awk script for substitutions,
3117         eliminating much of the earlier complexity, while adding some
3118         new complexity.  Only expand the substitution templates at
3119         configure time, for smaller configure script size.  If
3120         _AC_SUBST_FILES are used, test 'awk' for working getline support
3121         at config.status time.  If absent, interpolate through the
3122         shell.  The awk script was written with much help
3123         from Paolo Bonzini and Paul Eggert.
3124         (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
3125         (_AC_SED_FRAG_NUM): Likewise.
3126         (_AC_SUBST_CMDS): Renamed from...
3127         (_AC_SED_CMDS): ...this.
3128         (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
3129         * tests/torture.at (Substitute a 2000-byte string): Also
3130         substitute a line with 1000 words, and a variable with several
3131         long lines.
3132         (Substitute and define special characters): Test awk special
3133         characters, and put substitution input strings `@foo@' in the
3134         output, to test that no recursion happens; test several other
3135         combinations from Paolo Bonzini.
3137 2006-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3139         * lib/autotest/general.m4 (AT_INIT): Undo recent changes
3140         that replaced echo with AS_ECHO where this wasn't necessary.
3141         Problem reportd by Ralf Wildenhues.
3142         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
3143         where "/usr/bin/printf '%s\n' S" dumps core if S is long.
3144         This is Sun bug 4206210.  Problem reportd by Ralf Wildenhues.
3146 2006-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3148         * lib/freeze.mk (GREP): Removed, no need to initialize this.
3150 2006-11-21  Paul Eggert  <eggert@cs.ucla.edu>
3152         * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
3153         that traditional Awk lacks 3-arg "split".  It has it.
3154         Mention that FS must be a single character, and a few other
3155         99-byte limits of traditional Awk.
3156         Mention that if (i in a) doesn't work with traditional Awk.
3158 2006-11-18  Paul Eggert  <eggert@cs.ucla.edu>
3160         * tests/autotest.at (BSx641-newline in command):
3161         (BS-BS-newline in command, BSx640-newline in command):
3162         (Newline-CODE-BS-newline in command):
3163         (Single-quote-BS-newline in command):
3164         (Single-quote-newline-BS-newline in command):
3165         Use printf '%s\n' instead of echo, for portability to hosts
3166         where echo interprets backslashes.  This will break on hosts
3167         that lack printf, but for now let's assume all such hosts
3168         are dead (if not, we should get reports of test failures).
3170 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
3172         'echo' has some portability problems, when given a first argument
3173         with a leading '-', or when given any argument containing '\'.
3174         Avoid using 'echo' in these cases.
3175         * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
3176         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
3177         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3178         * lib/autotest/general.m4 (AT_INIT): Likewise.
3179         * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
3180         argument might be unportable.
3181         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
3182         * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
3183         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
3184         (_AC_FC_LIBRARY_LDFLAGS): Likewise.
3185         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
3186         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
3187         (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
3188         (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
3189         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3190         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
3191         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
3192         (AC_PROG_MAKE_SET): Likewise.
3193         * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
3194         (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
3195         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
3196         (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
3197         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
3198         (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
3199         (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
3200         * bin/autoconf.as: Redo verbose flag implementation, as the old
3201         scheme wouldn't work with AS_ECHO.
3202         * lib/autotest/general.m4 (AT_INIT): Likewise.
3203         * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
3204         Don't use ECHO_T, since ECHO_N is now reliable.
3205         * lib/autotest/general.m4 (AT_INIT): Likewise.
3206         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
3207         rather than using a here-document to put the script into a file.
3208         (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
3209         use AS_ECHO.
3210         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
3211         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
3212         AS_ECHO_N rather than ECHO_N and ECHO_C.  This doesn't fix any
3213         bug, but we might as well stop using ECHO_N and ECHO_C internally.
3214         * lib/autotest/general.m4 (AT_SETUP): Likewise.
3215         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
3216         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3217         (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
3218         operand, as AS_ECHO requires.  Avoid double file name expansion.
3219         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
3220         Don't set as_nl, since _AS_ECHO_PREPARE does that now.
3221         (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
3222         (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
3223         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3224         Double-quote strings that would otherwise contain M4 comments.
3225         * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
3227         * configure.ac (AC_INIT): Bump to 2.61a.
3228         * NEWS: Likewise.
3230 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
3232         Version 2.61.
3234         * configure.ac (AC_INIT): Bump to 2.61.
3235         * NEWS: Likewise.
3237         * tests/autotest.at (Macro with backslash in a test title):
3238         Comment out for now, as this tests neither fails nor passes
3239         reliably.  Problem reported by Ralf Wildenhues.
3241 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
3243         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
3244         in previous change, which caused test failures.
3246 2006-11-16  Stepan Kasal  <kasal@ucw.cz>
3248         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
3249         code for --enable, --disable, --with, and --without to...
3250         (_AC_INIT_PARSE_ENABLE): ... a new macro.
3251         * doc/autoconf.texi (Package Options):
3252         * NEWS: Document that AC_ARG_ENABLE allows dots, too.
3254 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
3256         Import these changes from config via gnulib:
3258         2006-11-15  Ben Elliston  <bje@gnu.org>
3260         From Josselin Mouette <joss@debian.org>:
3261         * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
3263         2006-11-08  Ben Elliston  <bje@gnu.org>
3265         * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
3267         2006-11-07  Steve Woodford  <scw@NetBSD.org>
3268                     Ben Elliston  <bje@gnu.org>
3270         * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
3271         * build-aux/config.sub (sh5el): New basic_machine.
3274         Import this change from coreutils:
3276         2006-02-13  Jim Meyering  <jim@meyering.net>
3278         * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
3281         Import this change from gnustandards via gnulib:
3283         2006-11-15  Karl Berry  <karl@gnu.org>
3285         * standards.texi: core -> memory, throughout.
3286         (CPU Portability): show correct example of calling write
3287         on a char value; thanks to Paul Eggert for the code.
3288         Both of these suggestions from Eugene Y. Vasserman.
3291         Import these changes from texinfo via gnulib:
3293         2006-11-08  Karl Berry  <karl@gnu.org>
3295         * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
3296           as well as pdf images, since they are supported in pdftex with
3297           no further ado.
3299         2006-11-05  Karl Berry  <karl@gnu.org>
3301         * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
3303 2006-11-13  Paul Eggert  <eggert@cs.ucla.edu>
3305         * NEWS: Document the AC_ARG_WITH change.
3307 2006-11-13  Bruno Haible  <bruno@clisp.org>
3309         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
3310         options, transliterate also dots to underscores.
3311         (_AC_ENABLE_IF): Transliterate also dots to underscores.
3312         * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
3313         first argument may also contain dots.
3315 2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
3317         * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
3318         benefit of platforms like Solaris+GCC where it is common to have a
3319         non-working g++ installation.
3321 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3322         and Joel E. Denny  <jdenny@ces.clemson.edu>
3323         and Paul Eggert  <eggert@cs.ucla.edu>
3325         * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
3326         and non-portable sed scripts, and use $CONFIG_SHELL when invoking
3327         ./micro-suite.
3329 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
3331         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
3332         ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
3333         Imported from a similar patch to gnulib by Bruno Haible.
3335 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
3337         * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
3338         * doc/autoconf.texi (C Compiler): Document them.
3339         * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
3340         New macros, taken from gnulib.
3342 2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
3344         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
3345         Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
3346         Matthew Woehlke.
3348 2006-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3350         * tests/torture.at (Configuring subdirectories): Do not skip
3351         Automake 1.10 nor future Automake 11.1 (sic).
3353 2006-10-26  Joel E. Denny  <jdenny@ces.clemson.edu>
3354         and Stepan Kasal  <kasal@ucw.cz>
3356         Handle special characters in test case titles correctly.
3357         * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
3358         properly.
3359         (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
3360         * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
3361         argument.  Extend to check titles printed by ./micro-suite and
3362         ./micro-suite -l and the title in micro-suite.log.
3363         (Backquote in a test title,
3364         Single-quote in a test title,
3365         Double-quote in a test title): Don't expect failure anymore.
3366         (Backslash in a test title): Put a non-whitespace character after the
3367         backslash so that Bourne shells might actually see it as an escape
3368         sequence.
3369         (Brackets in a test title,
3370         Pound in a test title,
3371         Comma in a test title,
3372         Quoted Macro in a test title,
3373         Macro in a test title,
3374         Macro with single-quote in a test title): New tests.
3375         (Macro with backquote in a test title,
3376         Macro with double-quote in a test title,
3377         Macro with backslash in a test title): New tests expected to fail.
3378         * tests/torture.at (#define header templates): M4-quote this title in
3379         AT_SETUP call so that no M4 code is commented inadvertently somewhere.
3380         The visible effect was a stray [] in the testsuite output.
3382 2006-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3384         * doc/autoconf.texi (Limitations of Builtins): Do not invoke
3385         `trap ... 0' inside a function, for AIX sh.
3387 2006-10-26  Paul Eggert  <eggert@cs.ucla.edu>
3389         * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
3390         since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
3391         5363) simply issues a warning when dividing by zero at compile
3392         time.  Problem reported by Elias Pipping.
3394 2006-10-26  Eric Blake  <ebb9@byu.net>
3396         * THANKS: Update.
3397         * doc/autoconf.texi (Evaluation Macros): Improve the example to
3398         show effect on macros that expand with commas.
3399         Reported by Joel E. Denny.
3401         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3402         Also work with M4 1.4.8.
3404 2006-10-25  Paul Eggert  <eggert@cs.ucla.edu>
3406         * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
3407         Jim Meyering.
3409 2006-10-25  Stepan Kasal  <kasal@ucw.cz>
3411         * tests/tools.at (autom4te --force): New test, verifies that
3412         `--force' always rewrites the output file.
3414 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
3416         * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
3417         needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.
3419 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
3421         * tools/trace.at (autoconf --trace: user macros): Test `$%'.
3423 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
3425         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
3426         If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
3427         AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
3428         reported by Nelson H. F. Beebe for Coreutils 6.4.
3430         * tests/tools.at (autoconf --trace: user macros): Remove test
3431         for tracing multiline macros, since m4 1.4.7a uses a different
3432         way to number lines.  Problem reported by Ralf Wildenhues.
3434 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
3436         * bin/autom4te.in (handle_m4): Do not redirect stdin to
3437         /dev/null since the heuristics for interactive behaviour was
3438         fixed in CVS m4.
3440         * bin/autom4te.in: With --force, always refresh the output
3441         file.  Problem reported by Greg Schafer <gschafer@zip.com.au>.
3443         * bin/autoconf.as: Fix the verbose message at the end.
3445 2006-10-23  Paul Eggert  <eggert@cs.ucla.edu>
3447         * configure.ac (AC_INIT): Bump to 2.60c.
3448         * NEWS: Likewise.
3450 2006-10-22  Paul Eggert  <eggert@cs.ucla.edu>
3452         * NEWS: Version 2.60b.
3454         Import this change from Texinfo:
3455         2006-10-15  Karl Berry  <karl@gnu.org>
3456         * build-aux/texinfo.tex: automake 1.10
3458         * NEWS: Remove AC_CACHE_CHECK_INT.
3459         * doc/autoconf.texi (Caching Results): Likewise.
3460         * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
3461         AC_CACHE_CHECK_INT, since it's no longer public.
3462         * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
3463         * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
3465 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3467         * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
3469 2006-10-19  Eric Blake  <ebb9@byu.net>
3471         * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
3472         (m4_maketemp): Avoid warnings with M4 1.9a.
3473         * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
3474         m4_mkstemp.
3475         * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
3476         * NEWS: Likewise.
3478 2006-10-16  Eric Blake  <ebb9@byu.net>
3480         * doc/autoconf.texi (Setting Output Variables): Fix typo.
3482         * bin/autoconf.as (version): Reword to match GNU Coding
3483         Standards.
3484         * bin/autoheader.in (version): Likewise.
3485         * bin/autom4te.in (version): Likewise.
3486         * bin/autoreconf.in (version): Likewise.
3487         * bin/autoscan.in (version): Likewise.
3488         * bin/autoupdate.in (version): Likewise.
3489         * bin/ifnames.in (version): Likewise.
3491 2006-10-14  Stepan Kasal  <kasal@ucw.cz>
3493         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
3494         looking for special shell characters.
3495         * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
3496         macro defined by AS_VAR_PUSHDEF before passing it as a
3497         parameter.
3498         * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
3499         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
3500         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
3501         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
3502         (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
3503         Likewise.
3504         * lib/autotest/general.m4 (AT_INIT): Quote parameters of
3505         AS_VAR_* properly.
3506         * tests/m4sh.at (AS_LITERAL_IF): New test.
3508 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
3510         (Imported from Automake.)
3511         * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
3512         which incorrectly sets the mode of an existing destination
3513         directory.  In some cases the unpatched install-sh could do the
3514         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
3515         system.  We hope this is rare in practice, but it's clearly worth
3516         fixing.  Problem reported by Alex Unleashed in
3517         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
3518         Also, don't bother to check for -m bugs unless we're using -m;
3519         suggested by Stepan Kasal.
3521 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
3523         Import this change from Automake:
3525         2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
3526         * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
3527         is enabled by default with gnu and gnits strictness.
3528         Report from Bruno Haible.
3530         2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
3531         * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
3532         gnu and gnits modes.
3534         Import this change from Config:
3536         2006-09-20  Ben Elliston  <bje@gnu.org>
3537         * build-aux/config.sub (score, score-*): New.
3539         Import this change from Gnulib:
3541         2006-09-16  Karl Berry  <karl@gnu.org>
3542         * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
3543         to avoid sectioning errors.
3545         Import these changes from Texinfo:
3547         2006-10-04  Karl Berry  <karl@gnu.org>
3548         * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
3549         (\quoteexpand): rename to \rquoteexpand.
3550         (\codequoteleft): new def, to look for @set codequotebacktick.
3551         (\lquoteexpand, \quoteexpand): new defs.
3552         (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
3553         (\code): must use new \...Char values, since now ` is active.
3555         2006-08-26  Karl Berry  <karl@gnu.org>
3556         * build-aux/texinfo.tex (\textdegree): New command.
3558         2006-08-12  Karl Berry  <karl@gnu.org>
3559         * build-aux/texinfo.tex (error \box0): smaller font.
3561 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3563         * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
3565 2006-10-13  Stepan Kasal  <kasal@ucw.cz>
3567         * doc/autoconf.texi (Autoheader Macros): Warn that the text
3568         added to the template can get mangled.
3570 2006-10-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3572         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
3573         include the default headers, and redefine obstack_chunk_alloc
3574         and obstack_chunk_free.  Fixes false failure with glibc.
3576 2006-10-12  Paul Eggert  <eggert@cs.ucla.edu>
3578         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
3579         for backward compatibility with Libtool 1.5.22.  Problem reported
3580         by Ralf Wildenhues.
3582 2006-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3584         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
3585         AC_PROG_CC.
3586         Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
3588 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
3590         * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
3591         the NonStop platform.
3592         * doc/autoconf.texi (Posix Variants): Likewise.
3593         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
3595         * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
3596         (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
3597         (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
3598         Use a better substitute, by inspecting the output of "ls"
3599         rather than just using ":".
3600         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
3601         rather than AS_EXECUTABLE_P, since we needn't worry about
3602         non-regular files here.
3604         * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
3605         due to configuration hassles with this.  See Tonya Underwood's report
3606         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
3607         * doc/autoconf.texi (Special Shell Variables): Likewise.
3609 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
3610             Stepan Kasal  <kasal@ucw.cz>
3612         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
3613         (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
3615 2006-10-11  Stepan Kasal  <kasal@ucw.cz>
3617         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
3618           initialization which is not inherited through the environment
3619         (_AS_BOURNE_COMPATIBLE): ... to this new macro.
3620         (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
3622 2006-10-09  Paul Eggert  <eggert@cs.ucla.edu>
3624         * doc/autoconf.texi (Limitations of Usual Tools): Describe
3625         problems with mkdir -p -m.
3627 2006-10-06  Paul Eggert  <eggert@cs.ucla.edu>
3629         * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
3630         comment about ac_cpp_err; it was incorrect, and anyway
3631         ac_cpp_err is being removed below.
3632         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
3633         set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
3634         are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
3635         nobody uses it.
3636         (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
3637         with werror_flag and conftest.err and so forth.  This is more
3638         compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
3639         and anyway the user shouldn't normally want to see this gorp logged.
3640         Problem reported by Ralf Wildenhues.
3641         * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
3642         empty, not 'no', since the rest of the code uses 'test -z'.
3644 2006-10-04  Paul Eggert  <eggert@cs.ucla.edu>
3646         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
3647         Use a single call to AC_DO_TOKENS rather than multiple, for
3648         efficiency.
3649         (_AC_LINK_IFELSE): Test that resulting file is executable.
3650         Problem reported by mwoehlke in
3651         <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
3653         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
3654         than creating a file to use with test -x; this is much faster.
3656 2006-10-02  Bruno Haible  <bruno@clisp.org>
3658         * lib/autom4te.in (Automake-preselections): Add
3659         AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
3661 2006-09-27  Stepan Kasal  <kasal@ucw.cz>
3663         * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
3664         standard error, `experr' should be used, not `expout'.
3666 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
3668         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
3669         fseeko testing program twice; just use the earlier result.
3670         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
3671         Set cache var to 'unknown' (not 'no') if leaving the macro unset
3672         still doesn't let the program compile.
3673         (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
3674         failed.
3676         * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
3677         (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
3678         include it, without including anything else.
3679         (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
3680         expressions.
3681         (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
3683 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3685         * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
3686         `error.h', and include it, for a `error_at_line' prototype.
3687         Use a nonempty format string in the link test.
3688         * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
3689         for a declaration of wait3.
3691 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
3693         * NEWS: AC_CHECK_DECL now also works with aggregate objects.
3694         * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
3695         can apply to constants too, and that it checks for macro defns.
3696         * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
3697         and simply cast the identifier to void.  This handles structure
3698         values.  Problem reported by Ralf Wildenhues.
3699         * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
3701 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3703         * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
3704         structure, and function symbols.
3706 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3708         * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
3709         member.
3711 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
3713         * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
3714         * README: Likewise.
3715         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
3717 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
3718         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3720         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
3721         warnings (uninitialized value).
3722         (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
3723         present.
3724         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
3725         parentheses.
3726         (AC_STRUCT_TM): Likewise, avoid unused variables.
3728 2006-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3730         * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
3731         (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
3732         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
3733         * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
3734         Report by Olly Betts.
3736 2006-09-19  Eric Blake  <ebb9@byu.net>
3738         * m4/m4.m4: Change copyright.
3739         * configure: Regenerate.
3740         * Makefile.in: Likewise.
3741         * bin/Makefile.in: Likewise.
3742         * doc/Makefile.in: Likewise.
3743         * lib/Makefile.in: Likewise.
3744         * lib/Autom4te/Makefile.in: Likewise.
3745         * lib/autoconf/Makefile.in: Likewise.
3746         * lib/autoscan/Makefile.in: Likewise.
3747         * lib/autotest/Makefile.in: Likewise.
3748         * lib/emacs/Makefile.in: Likewise.
3749         * lib/m4sugar/Makefile.in: Likewise.
3750         * man/Makefile.in: Likewise.
3751         * tests/Makefile.in: Likewise.
3753         * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
3754         * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
3755         * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
3756         --error-output, to avoid warnings with M4 2.0.
3758 2006-09-19  Stepan Kasal  <kasal@ucw.cz>
3760         * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
3761           consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
3762         * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
3764 2006-09-15  Stepan Kasal  <kasal@ucw.cz>
3766         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
3767         expansion of AC_CHECK_FUNCS.
3769 2006-09-14  Stepan Kasal  <kasal@ucw.cz>
3771         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
3772         mistaken comment: the path has to be relative; do not use
3773         the path at runtime.
3775 2006-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3777         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
3778         argument to `--prefix' for sub-configure scripts.
3779         Pass `--silent' to sub-configure scripts.
3780         * tests/torture.at (Configuring subdirectories): Add tests
3781         for both changes.
3782         * doc/autoconf.texi (Setting Output Variables): Fix example to
3783         not show `--silent' being passed to a `configure' re-run.
3785 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
3787         * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
3788         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
3789         for the existence of the directory at configure-time.  That's
3790         too late, anyway.  Problem reported by Stefan Seefeld.
3792         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
3793         7.1.4 /usr/bin/posix/sh described by Tim Rice in
3794         <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
3796 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
3798         * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
3799         works with GNU M4 1.4.3 again; make the normalized form
3800         match the current m4 message; fix the description.
3801         * test/tools.at (autom4te cache): Adapt to the change.
3803 2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
3805         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):  Add year_2050_test
3806         to catch glibc bug 2821
3807         <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
3809         Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
3810         AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
3811         AC_CHECK_FUNCS.  Don't check for stdlib.h, since we now
3812         assume C89.
3814 2006-09-08  Stepan Kasal  <kasal@ucw.cz>
3816         * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
3817         preselections ...
3818         (Autoconf): ... here.
3819         (Autoscan-preselections): Delete.
3821 2006-09-07  Stepan Kasal  <kasal@ucw.cz>
3823         * lib/autom4te.in (Automake-preselections): Preselect
3824         AM_ENABLE_MULTILIB.
3826 2006-09-05  Paul Eggert  <eggert@cs.ucla.edu>
3828         * doc/autoconf.texi (Preset Output Variables): srcdir and
3829         top_srcdir are not necessarily relative.  Problem reported
3830         by Dries Kimpe.
3832 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3834         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
3835         f90/f95 because the latter drivers of AIX Fortran 9.1 do not
3836         accept files with extension `.f'.  For consistency, also prefer
3837         xlf over f77.
3838         * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
3839         from last patch.
3841 2006-09-05  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
3843         * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
3844         of ERLANG_LIB_VER_* variables.
3845         * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
3846         variables.
3848 2006-09-03  Paul Eggert  <eggert@cs.ucla.edu>
3849         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3851         * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
3852         bugs of Bash 2.01 and 2.05a.
3853         (Fortran Compiler): Document that AC_PROG_CC should be called
3854         before AC_PROG_FC, due to a bug in Autoconf.
3856 2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
3858         * NEWS: New macro AC_CACHE_CHECK_INT.  It replaces the
3859         old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
3860         except the first two arguments are reversed.
3861         * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
3862         (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
3863         caches nor outputs a diagnostic.  Suggested by Bruno Haible.
3864         * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
3865         equivalent to the old AC_COMPUTE_INT.
3866         (AC_COMPUTE_INT): No longer caches or reports.  New signature.
3867         All uses changed to AC_CACHE_CHECK_INT.
3868         * tests/base.at (AC_CACHE_CHECK_INT): New test.
3869         * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
3871 2006-08-31  Paul Eggert  <eggert@cs.ucla.edu>
3873         * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
3874         and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
3875         programs should use their Gnulib counterparts.
3876         * doc/autoconf.texi (Particular Functions): Likewise.
3877         (Macro Names, testsuite Invocation): Replace uses of these
3878         obsolete macros with uses of non-obsolete macros.
3880 2006-08-29  Eric Blake  <ebb9@byu.net>
3882         * configure.ac (AC_INIT): Bump to 2.60b.
3883         * NEWS: Update.
3885 2006-08-28  Eric Blake  <ebb9@byu.net>
3887         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
3888         mistakenly swapped on 2006-08-15.
3890 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
3892         * NEWS: Version 2.60a.
3894 2006-08-25  Stepan Kasal  <kasal@ucw.cz>
3896         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
3897         file created by the PGI compiler.
3899 2006-08-25  Noah Misch  <noah@cs.caltech.edu>
3901         * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
3902         simplify the code.
3904 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
3906         Fix Lex library problem reported to us by Julio Garvia.
3907         * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
3908         for the default, which the user can override.
3909         * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
3910         deal with LEXLIB.
3911         (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
3912         didn't work if some values were cached but not others.  Test for
3913         broken lex libraries like native ia64-hp-hpux11.22; see
3914         <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
3915         work around the problem by preferring an empty LEXLIB to -lfl or
3916         -ll.  Let the user set LEXLIB='' to indicate no library needed.
3918         * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
3919         * README: Likewise.
3920         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
3922 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
3924         Rework to use more-modern build style.
3925         Many files are renamed; all uses of their names were changed.
3926         * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
3927         * .x-sc_useless_cpp_parens: New file.
3928         * build-aux/config.guess: Renamed from config/config.guess.  Update.
3929         * build-aux/config.sub: Renamed from config/config.sub.  Update.
3930         * build-aux/elisp-comp: Renamed from config/elisp-comp.
3931         * build-aux/install-sh: Renamed from config/install-sh.  Update.
3932         * build-aux/mdate-sh: Renamed from config/mdate-sh.
3933         * build-aux/missing: Renamed from config/missing.
3934         * build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
3935         * build-aux/vc-list-files: Renamed from config/vc-list-files.
3936         * config/Makefile.am: Removed.
3937         * config/mkinstalldirs: Removed.
3938         * config/move-if-change: Removed.
3939         * m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
3940         * Makefile.am (SUBDIRS): Remove config.
3941         (ACLOCAL_AMFLAGS): Include from m4, not config.
3942         (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
3943         (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
3944         (autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
3945         Fail if there's an error.
3946         * Makefile.cfg (move_if_change): Remove.
3947         (wget_files): Remove.
3948         (cvs_executable_files): New macro.
3949         (cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
3950         (executable-update): Use $(cvs_executable_files).
3951         (local-checks-to-skip): Remove.
3952         * Makefile.maint: Merge from coreutils, plus add our own changes
3953         (gzip_rsyncable): New macro.
3954         (GZIP_ENV): Use it.
3955         (CVS_LIST): Use build-aux/vc-list-files.
3956         (VERSION_REGEXP): New macro.
3957         (local-checks-available): Add patch-check, $(syntax-check-rules),
3958         check-AUTHORS.
3959         (syntax-check-rules): Compute dynamically.
3960         (sc_cast_of_x_alloc_return_value): Work even if no source files.
3961         (sc_cast_of_alloca_return_value): Likewise.
3962         (sc_prohibit_atoi_atof): Simplify regexp.
3963         (sc_no_if_have_config_h, sc_require_config_h):
3964         (sc_prohibit_assert_without_use,
3965         (sc_obsolete_symbols): Check for O_NDELAY.
3966         (sc_texi_notab): Remove.
3967         (sc-changelog): Don't make an exception for '----' lines.
3968         (.re-list): Remove, so we don't have a junk file behind.
3969         (sc_system_h_headers): Remove the need for .re-list.
3970         (sc_the_the):  New rule.
3971         (sc_tight_scope): Simplify.
3972         (sc_trailing_blank): Renamed from sc_trailing_space.
3973         (longopt_re): New macro.
3974         (sc_two_space_separator_in_usage): New rule.
3975         (sc_unmarked_diagnostics): Look at all files under CVS.
3976         (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
3977         (news-date-check, changelog-check): Version is OK.
3978         (po-check): Look for lib files even if not in CVS.
3979         (copyright-check): Use $() not ``.
3980         (maintainer-distcheck): Do not depend on changelog-check.
3981         (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
3982         Also check for -Wpointer-arith.
3983         (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
3984         (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
3985         Remove.
3986         (announcement): Add --gpg-key-id arg.
3987         (cvs-sv): Remove.
3988         (move_if_change): Just use mv.
3989         (local_updates: Remove wget-update, po-update.
3990         (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
3991         (config.guess-url_prefix, config.sub-url_prefix): Remove.
3992         (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
3993         (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
3994         ($(get-targets)): Remove.
3995         (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
3996         (gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
3997         (cvs-update): Get from gnulib.
3998         (emut_upload_commands): gnupload is in build-aux now.
3999         (alpha beta major): Add changelog-check.  Check version.
4000         * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
4001         (AC_CONFIG_FILES): Remove.
4002         * bin/autoconf.as: Add spaces to avoid distcheck warning.
4003         * config/announce-gen: Sync from coreutils.
4004         * doc/make-stds.texi: Sync from gnulib.
4005         * doc/standards.texi: Likewise.
4006         * man/Makefile.am: Adjust for config -> build-aux renaming.
4007         * tests/Makefile.am: Prefer $(FOO) to @FOO@.
4008         * tests/local.at: Adjust from config -> build-aux renaming.
4009         * tests/tools.at: Likewise.
4010         * tests/torture.at: Likewise.
4012         * NEWS: The C99 check now tests for vararg macros and 64-bit
4013         preprocessor ints.
4014         * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
4015         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
4016         64-bit preprocessor ints.  Check for static initialization of
4017         long long.  Remove unnecessary casts.
4019 2006-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4021         * doc/autoconf.texi (Particular Programs): Mention that
4022         @INSTALL@ and @MKDIR_P@ may vary for different output files.
4023         Reported by Alexandre Duret-Lutz.
4025 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
4027         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
4028         -lgcc?* and -lSystem, for Darwin/MacOS X.  Problem reported by
4029         Bill Northcott in
4030         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
4032 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
4034         * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
4035         pacify insanely picky compilers.  Problem reported by Eric Blake.
4037         * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
4038         longer supported by Sun.
4040 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
4042         * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
4043         rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
4044         -Wundef -Werror".  Problem reported by David Fang in
4045         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
4046         * doc/autoconf.texi (Header Templates, Default Includes):
4047         (Particular Functions, Generic Functions, Header Portability):
4048         (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
4049         (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
4050         (Present But Cannot Be Compiled, Preprocessor Symbol Index):
4051         Prefer #ifdef to #if.
4052         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
4053         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
4054         (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
4055         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
4056         Likewise.
4057         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
4058         (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
4059         * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
4060         (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4061         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
4062         S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
4063         this.
4065 2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
4067         * doc/autoconf.texi (Limitations of Usual Tools): Document sed
4068         problems with arg script text that doesn't end in newline, and
4069         with '-e a...'.  Problems reported by Ralf Wildenhues.
4071 2006-08-12  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
4073         * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
4074         check for libXt by a check for libX11.
4076 2006-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4078         * doc/autoconf.texi (config.status Invocation): Adjust according
4079         to last change.
4081 2006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4083         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
4084         --help' should mention that `--version' outputs configuration
4085         settings.  Report by Bruno Haible.
4087 2006-08-06  Paul Eggert  <eggert@cs.ucla.edu>
4089         Fix test suite failures reported by Pierre in
4090         <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
4091         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
4092         the compiler created a file "b.out" when it didn't create anything
4093         at all.
4094         * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
4095         Discard stderr too, when invoking the test script.
4097 2006-08-05  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
4099         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
4100         in the restoring of the werror flag.
4102 2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
4104         * doc/autoconf.texi (Volatile Objects): Be even a little
4105         less skeptical about "volatile", after discussion with
4106         Bruno Haible on bug-gnulib.
4107         (Limitations of Usual Tools): Warn about sed stripping
4108         leading white space from text.  From Bruno Haible.
4110 2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
4112         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
4113         compiler complains about it, even if things works after the
4114         complaint.  Problem reported by Peter O'Gorman.
4116         * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
4117         CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
4118         Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
4120 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
4122         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
4123         after -R regardless of host.  Patrick Welche reports that this
4124         fixes things on NetBSD 3.99.
4126         * NEWS: Recommend M4 1.4.5.
4127         * README: Likewise.
4128         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
4129         * tests/tools.at (autom4te cache): Update wording of diagnostic
4130         to match M4 1.4.5.
4132 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
4134         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
4135         under AC_C_VOLATILE.
4136         (Volatile Objects): Be a little less skeptical about what
4137         "volatile" means.  Derived from thoughts by Ben Pfaff in
4138         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
4140 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4142         * doc/autoconf.texi: Fix some typos.
4144 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
4146         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
4147         more globally, since the 2006-06-30 patch didn't suffice.  Problem
4148         reported by Keith Marshall.  Also, don't bother with builddir2,
4149         since it shouldn't be needed any more.
4151 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
4153         * doc/autoconf.texi (Generic compiler characteristics):
4154         Document AC_COMPUTE_INT.  Fix wrong statements on Default
4155         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
4157         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
4158         (_AC_COMPUTE_INT): Add obsoletion warnings.
4159         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
4160         AC_COMPUTE_INT.
4162         * NEWS: Document change.
4164 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
4166         * doc/autoconf.texi (Volatile Objects): New section.
4168         * NEWS: Document previous change.
4170 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
4172         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
4173         Require that long long int be at least 64 bits wide.  C99 requires
4174         this and enough programs depend on it so we should check for it.
4175         Bruno Haible reports in
4176         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
4177         that long long int is 32 bits wide with some nonstandard compilers.
4178         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
4180 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
4182         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
4183         to a nonexistent file, so that we don't have to worry about
4184         a local site configuration that doesn't use /usr/local.
4185         Problem reported by Keith Marshall in
4186         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
4188 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
4190         * doc/autoconf.texi: Be more consistent about using @acronym with
4191         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
4192         quite right (it talked about "OSF/Tru64", even though the
4193         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
4194         and it even mentioned "OSF 4"!) and at this point there's little
4195         reason to talk about OSF any more, since it died in 1994.
4196         (Specific Compiler Characteristics): Simplify example of
4197         negative-size array.
4198         (File Descriptors): Reorder to make the text flow better.
4199         Remove joke about "appreciate the various levels"; I didn't get it.
4200         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
4201         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
4202         (File Descriptors, Limitations of Usual Tools):
4203         Tone down the advice against renaming or removing open files.
4204         (Limitations of Usual Tools): Add a new section, on 'rm'.
4206 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
4208         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
4209         -lXt in LIBS, idea from Karsten Hopp; this was due since
4210         this change:
4212         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
4213         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
4214         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
4215         (which belong to Xt, not X itself).  See Debian bug 327655.
4217 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4219         * configure.ac (AC_INIT): Bump to 2.60a.
4220         * NEWS: Update.
4222 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4224         Version 2.60.
4226         * configure.ac, NEWS: Update.
4228 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4230         * config/texinfo.tex: Sync from upstream.
4232         * bin/autom4te.in (handle_traces): Transform the `@S|@'
4233         quadrigraph correctly in traces.
4235         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
4236         Fix typos.
4238         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
4239         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
4240         not defined.
4241         * doc/autoconf.texi (Changed Directory Variables): New node,
4242         to document the whole `datarootdir' business a bit better.
4243         * NEWS: Update.
4244         * tests/torture.at (datarootdir workaround): Extend test.
4245         Prompted by report by Alexandre Julliard.
4247 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
4249         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
4250         when using default mode of IBM C 6 for AIX.  Problem and two-line
4251         fix reported by Larry Jones.
4253 2006-06-22  Alexandre Julliard <julliard@winehq.org>
4255         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
4256         about literal '${datarootdir}' if a definition is found in the
4257         output file.
4259 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
4261         * NEWS: Use "M4" rather than "m4" when appropriate.
4262         Problem reported by Eric Blake.
4263         * doc/autoconf.texi: Likewise.
4264         Use @acronym around BSD, GCC, and GNU when appropriate.
4265         (Why GNU M4): Renamed from "Why GNU m4".
4266         (Redefined M4 Macros): Mention that Posix
4267         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
4268         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
4269         to int.
4271 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4273         * bin/autom4te.in (handle_output): Do not forbid the empty
4274         pattern.
4275         * tests/tools.at (autoconf: the empty token): New test.
4277 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
4279         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
4280         calls, so that we do not care whether they are LIFO or FIFO;
4281         in the m4_wrap, do not check which diversion is the topmost
4282         one, just check that the stack is balanced at the end.
4283         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
4284         base diversion forever--pop the previous diversion before
4285         opening the new one; consequently, remove the m4_wrap call.
4286         * lib/autotest/general.m4 (AT_INIT): Likewise.
4287         * tests/m4sugar.at: Do not use
4288         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
4290 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
4291         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4293         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
4294         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
4295         Rework example of m4wrap token-pasting trouble so that it doesn't
4296         care whether it's LIFO or FIFO.
4297         Fix some "contrary to"s that are awkward in English.
4299 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4301         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
4302         to `yes' instead of `int$1_t' if the type is found, for more
4303         consistent configure output (where $1 is the number of bits).
4304         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
4305         Suggested by Bruno Haible.
4307         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
4308         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
4309         with system headers.  Report by Bruno Haible.
4311 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4313         * config/config.guess, config/config.sub: Sync from upstream.
4315         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
4316         in order to avoid picking up an older installed frozen m4sh.m4f.
4317         Besides an outdated shell startup, this could have been created
4318         by an earlier M4 version with incompatible frozen file format.
4320 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
4322         * README: Recommend m4 1.4.4 instead of 1.4.3..
4323         * doc/autoconf.texi: Likewise.
4324         (Special Chars in Names): Say that $(.FOO) is portable, as
4325         suggested by Stepan Kasal.
4326         (Installation Directory Variables, Build Directories):
4327         (Automatic Remaking, Subdirectories, Fortran Compiler):
4328         (Making testsuite Scripts, Defining Directories):
4329         Quote variable usages better.
4330         (Making testsuite Scripts): Add clean-local rule to makefile
4331         snippet, by Eric Blake.
4332         (Installation Directory Variables): Fix table item font.
4333         Reword slightly to clarify.  Generalize advice about
4334         not using special characters to include all file-related
4335         vars, not just VPATH.
4336         (Special Chars in Variables): Warn about special characters in
4337         $(srcdir) too.
4338         (Assignments): Clarify default-value example as suggested by
4339         Ralf Wildenhues in
4340         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
4341         (Special Shell Variables): Note leading ./ or ../, as suggested
4342         by Eric Blake.
4343         (Limitations of Builtins): Under cd, warn about CDPATH.
4344         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
4345         Ralf Wildenhues.
4347 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4349         * doc/autoconf.texi (Configuration Actions): Remove duplicate
4350         `@var', for texi2html.
4351         (Systemology): Some more word wrapping, for DVI output.
4352         (autom4te Invocation): The short option for `--melt' is `-M',
4353         not `-m'.
4355 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
4357         * doc/autoconf.texi: More formatting and English tweaks,
4358         many suggested by Ralf Wildenhues.
4359         Reword to avoid "@code{...}'s" and the like, since it's ugly
4360         with Emacs info mode.  discontents -> woes.
4361         Put a few "will"s back.  time stamp -> timestamp.
4362         side-effect -> side effect.
4364 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
4366         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
4367         Warn about $@ not persisting.  Problem reported by Julien Danjou in
4368         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
4369         (Special Chars in Names): Renamed from Leading _ in Macro Names.
4370         Mention other special chars, too.
4372 2006-06-14  Eric Blake  <ebb9@byu.net>
4374         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
4376 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
4378         * doc/autoconf.texi: Some systematic minor improvements, as
4379         follows.  Use "makefile" when talking about makefiles
4380         generally (which might be named "makefile" or "Makefile" or even
4381         "foo.mk"), "Makefile" when talking about a specific makefile
4382         called "Makefile".  This unclutters the text from weird quotes
4383         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
4384         values" rather than "@var{foo}s" and similar constructs containing
4385         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
4386         English-language improvements.  Change the prefix "sub-" to "sub"
4387         and "re-" to "re".
4388         Put blank lines around examples more consistently.
4389         Avoid "rather" and "very" as intensifiers.
4390         Avoid "will" as an auxiliary.
4391         (Limitations of Make): Split this node into....
4392         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
4393         (Leading _ in Macro Names, Backslash-Newline-Newline):
4394         (Backslash-Newline Comments, Long Lines in Makefiles):
4395         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
4396         (obj/ and Make, make -k Status, VPATH and Make):
4397         (VPATH and Double-colon, $< in Explicit Rules):
4398         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
4399         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
4400         New nodes, resulting from splitup of Limitations of Make.
4401         All cross-references changed.  Raise the top node from
4402         a section to a chapter, and all subnodes accordingly.
4403         Redo the introductory wording to match the new organization.
4404         (Installation Directory Variables): Use an example that is
4405         closer to what Autoconf actually does.  Mention that VPATH's
4406         value should not contain metacharacters or white space.
4407         (Fortran Compiler): Fix a VPATH bug in an example.
4408         (Leading _ in Macro Names): Mention that this problem is no longer
4409         of practical concern.
4410         (VPATH and Make): Reword the advice to make it clearer
4411         that Autoconf and Automake support VPATH in non-GNU make, but
4412         many packages have bugs in this area.
4413         ($< in Explicit Rules): Refer to Build Directories rather
4414         than using a (non-VPATH-safe) example.
4415         (Automatic Rule Rewriting): Mention the sort of disaster that
4416         can ensue with Solaris-style rule rewriting with VPATH.
4418 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4420         * doc/install.texi (Compilers and Options): Weaken the
4421         suggestion to use GNU make for VPATH builds.
4423         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
4424         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
4426         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
4427         in regular expression.
4429 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4431         * doc/autoconf.texi (Installation Directory Variables):
4432         Drop extra @samp from `@table @samp' item.
4433         (Limitations of Usual Tools): Comment fix.
4434         Do not nest @samp just to point to other table items.
4435         (Writing testsuite.at) <AT_CHECK>: The second argument to
4436         `@dvar' is already @samp'ed.
4437         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
4438         do not use @var in the second argument.
4440 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
4442         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
4443         $as_shell.exe too.  Problem reported by Andreas Buening in
4444         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
4446 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4448         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
4449         `unused variable' compiler warning, for `-Wall -Werror'.
4450         Reported by Jaap Haitsma in
4451         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
4453 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
4455         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
4456         case the compiler dumps core.  Problem reported for
4457         OpenServer 5.0.7 by Tim Rice in
4458         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
4459         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
4460         Likewise.
4462 2006-06-06  Tim Rice <tim@multitalents.net>.
4464         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
4465         "ERROR" only shows up in "make check" output if there is an
4466         error.
4468 2006-06-06  Eric Blake  <ebb9@byu.net>
4470         * tests/tools.at (automatically allowed tokens): Fix typo.
4472 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
4474         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
4476         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
4477         typically overflows on x86 CPUs, even though the C standard
4478         requires otherwise.
4480 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4482         * configure.ac (AC_INIT): Bump to 2.59e.
4483         * NEWS: Update.
4485 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4487         Version 2.59d.
4489         * config/texinfo.tex: Sync from upstream.
4491         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
4492         seen, invoke libtoolize with `--ltdl' argument.
4493         * lib/autom4te.in (Autoreconf-preselections): Adjust.
4494         * NEWS: Update.
4495         Suggested by Eric Blake.
4497 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
4499         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
4500         reported by Ralf Wildenhues.
4501         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
4503 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4505         * THANKS: Update.
4507 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
4509         * doc/autoconf.texi: Modernize some of the references to Solaris.
4511 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
4513         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
4514         message issued by AC_REQUIRE.
4515         * tests/m4sugar.at: Check m4_require's error message.
4516         * tests/base.at: Check AC_REQUIRE's error message.
4517         * tests/local.at (AT_CHECK_M4): New macro, almost identical
4518         to...
4519         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
4520         AT_CHECK_M4.
4521         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
4522         `expout' as the last parameter.
4523         * tests/tools.at: Adapt to the above change.
4525 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
4527         * doc/autoconf.texi (Limitations of Usual Tools): Correct
4528         information about race-free implementations of mkdir.
4530 2006-06-04  Eric Blake  <ebb9@byu.net>
4532         * bin/autoreconf.in (help): Document M4 environment variable.
4533         * bin/autoconf.as (Usage): Likewise.
4534         * bin/autom4te.in (help): Likewise.
4535         * doc/autoconf.texi (autom4te Invocation): Likewise.
4537 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
4539         * NEWS: GNU make now recommended for VPATH builds.
4540         Mention that some macros are now documented to be obsolescent.
4541         * doc/autoconf.texi:
4542         Prefer "current" to "modern" to describe
4543         currently-used (albeit perhaps old-fashioned) hosts.
4544         Mention which ancient features no longer need to be worried about.
4545         setgid -> set-group-ID
4546         setuid -> set-user-ID (these are the Posix terms)
4547         Fix some misuses of "only".
4548         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
4549         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
4550         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
4551         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
4552         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
4553         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
4554         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
4555         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
4556         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
4557         Mention that these macros are obsolescent.
4558         (Installation Directory Variables): shall -> should
4559         (File Descriptors): Mention that 0, 1, 2 might get reopened.
4560         Mention that it's now safe to use 3 and 4.
4561         (Limitations of Usual Tools): cp -r is now specified by Posix.
4562         Omit longwinded and obsolescent discussion of cp -f.
4563         Modernize discussion of expr, ls.
4564         (Limitations of Make): Modernize discussion of VPATH builds.
4565         Mention $? as a workaround in some cases.
4566         * doc/install.texi (Basic Installation):
4567         Mention "./configure; make; make install" first.  Be more
4568         specific about why this file is generic.  Remove unnecessary
4569         parens.  Remove misleading "only".  Remove obsolete advice
4570         about csh.  Don't say "configure" takes awhile; say it
4571         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
4572         and CC=c99 rather than CC=c89, as these are blessed by current
4573         Posix.  Recommend GNU make if doing a VPATH build.
4575 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
4577         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
4578         examples involving shell prompts.
4580 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
4581         and Paul Eggert  <eggert@cs.ucla.edu>
4583         * doc/autoconf.texi (Here-Documents): Add details about the
4584         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
4585         use "here-documents" instead of "here documents".
4587 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4589         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
4591 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
4593         * doc/autoconf.texi (File System Conventions): Warn about ":"
4594         anywhere in directory names.
4596 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
4598         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
4599         about quoting the case statement, just in case.
4600         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
4601         was fixed in ksh93g; reported by Ralf Wildenhues.
4603 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
4605         * doc/autoconf.texi (System Services): Do not document
4606         overriding EXEEXT via ac_cv_exeext=ext.
4607         (Particular Programs) <AC_PROG_MKDIR_P>:
4608         Document that ${MKDIR_P} understands --.
4609         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
4610         comment.
4612 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4614         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
4615         argument with leading hyphen.  Problem reported by Paul Eggert.
4617 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
4619         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
4620         about quoting ac_try: quote all of it, if any of it seems suspicious.
4621         This means we don't have to worry about ${ or sed any more.
4622         Also, double-quote the case statement, to work around misuses via
4623         underquoting as reported by Ralf Wildenhues in
4624         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
4625         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
4626         undocumented and dangerous macro.
4627         Problem reported by Ralf Wildenhues in
4628         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
4630 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4632         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
4633         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
4634         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
4636 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
4638         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
4639         since evidently some packages rely on the old, broken behavior.
4640         Problem reported by Ralf Wildenhues in
4641         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
4642         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
4643         pre-2006-05-26 definitions, but leave in the comments that
4644         these macros are dangerous and should not be used.
4645         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
4646         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
4647         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
4648         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
4649         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
4651 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
4653         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
4654         the use of 'tr', since this is our only use of 'tr'.
4656 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4657         and Paul Eggert  <eggert@cs.ucla.edu>
4659         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
4660         Don't assume 'grep' works on long lines, since AIX grep doesn't.
4662 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4664         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
4665         the output file in the `${datarootdir}' test.
4667 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
4668         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4670         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
4671         mention of `datarootdir' in the input file(s), but literal
4672         `${datarootdir}' in the output file, and we haven't warned yet,
4673         then warn as well: the user may have (erroneously) used
4674         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
4675         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
4676         * tests/torture.at (datarootdir workaround): Extend this test.
4677         * NEWS: Update.
4679 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4680         and Paul Eggert  <eggert@cs.ucla.edu>
4682         * doc/autoconf.texi (autoheader Invocation): The first argument to
4683         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
4684         alternatives and clear up the language a bit.
4686 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
4688         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
4689         ac_config_guess, ac_config_sub, ac_configure.
4690         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
4691         Fix typo that prevented an unnecessary space from being removed.
4692         Problems reported by Ralf Wildenhues in:
4693         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
4695 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
4697         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
4698         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
4699         Don't use the term "thread-safe" to talk about mkdir race
4700         conditions, since the problem is more a process than a thread
4701         issue.  Problem reported by Stepan Kasal in:
4702         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
4703         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
4704         the test for 'install' more closely.  Look at MKDIR_P first.
4705         Look in the PATH, and at /opt/sfw/bin.
4706         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
4707         Don't bother to try mkdir -p, since we already check mkdir --version;
4708         just look at the version number.  (There's no easy way to check
4709         for race-free implementations.)
4710         * tests/tools.at (autoconf: subdirectories): Adjust to above
4711         changes, since MKDIR_P now might end in "/mkdir -p".
4713         * doc/autoconf.texi (autoheader Invocation): Mention that the
4714         first arg of AC_DEFINE_UNQUOTED must be a literal.
4715         Problem reported by Ben Pfaff in
4716         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
4718         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
4719         * doc/autoconf.texi (Special Chars in Variables): New section.
4720         (Preset Output Variables): Warn about special chars in CPPFLAGS.
4721         (Installation Directory Variables): Quote $(datadir) better.
4722         (Limitations of Builtins): Describe some of eval's trickiness.
4724         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
4725         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
4726         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
4727         in front of every arg, not just trailing args.  Quote apostrophes.
4728         (_AC_EVAL_ECHO): New macro.
4729         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
4730         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
4731         removed.
4732         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
4733         exposed by quoting of eval argument.  Put the command on line line
4734         so it logs better.
4735         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
4736         (_AC_PATH_X, AC_PATH_X): Quote more safely.
4737         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
4738         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
4739         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
4740         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
4741         Use eval more safely.
4742         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
4743         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
4744         to be replaced.
4745         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
4746         lines, exposed by quoting of eval argument.
4748 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
4749         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4751         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
4752         initialization of `ac_cv_exeext', do not override it if it was
4753         already set, unless it was set to `no', for compatibility with
4754         Autoconf-2.13, and comment this.
4755         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
4756         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
4757         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
4758         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
4759         Document that this test may be overridden by setting
4760         `ac_cv_exeext'.
4762 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4764         Revert these two patches:
4766         2006-04-06  Eric Blake  <ebb9@byu.net>
4767         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
4768         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
4769         2006-04-01.
4771         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4772         Clean up _AC_COMPILER_EXEEXT* macros.
4773         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
4774           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
4775           ac_file to the name of the default output file and call
4776           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
4777           initial `rm' of the candidate files...
4778         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
4779           the same list in subsequent `rm' calls, and for the temporary
4780           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
4781           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
4782         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
4783         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
4784           no longer needed) by libtool.  Make it a cache check.
4785         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
4786           copied here by mistake.
4787         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
4788           _AC_COMPILER_EXEEXT.
4789         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
4790           _AC_COMPILER_OBJEXT directly.
4791         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4793 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4795         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
4796         Fix description of how the buggy `sed' works.
4798 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
4800         Sync from Automake:
4802         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
4803         ENOLCK.  Only mention `make -j' when applicable.  Only raise
4804         fatal errors when `make -j' is involved.  Improve error message.
4806 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4808         * doc/autoconf.texi (Here-Documents): We now know more about
4809         the variable expansion in here documents bug.
4810         Thanks to Tim Rice and Stepan Kasal.
4812         * doc/autoconf.texi (Making testsuite Scripts): Add an example
4813         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
4815 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4817         * tests/autotest.at (Multiline command from M4 expansion):
4818         No failure to be expected if the shell quotes newlines in
4819         commands in the `set -x' output.  Report by Tim Rice.
4820         * THANKS: Update.
4822 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
4824         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
4825         expansion in the here-documents used by config.status, as that
4826         runs afoul of the Korn shell version M-12/28/93d bug described in
4827         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
4828         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
4829         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
4831 2006-05-23  Jim Meyering  <jim@meyering.net>
4833         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
4834         Fix typo introduced with 2006-04-02 change.  It reversed the sense
4835         of the test.
4837 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
4839         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
4840         ac_dB slightly, to save bytes in the script.
4841         Max out at 50 lines, rather than 96; this is more likely
4842         (though not guaranteed) to avoid obscure 'sed' failures.
4844 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4846         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
4847         `tr -d -' as bad option argument.  Work around this by deleting
4848         an unrelated character.
4849         Report by Tim Rice <tim@multitalents.net>.
4851 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
4852             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
4853             Stepan Kasal  <kasal@ucw.cz>
4855         * doc/autoconf.texi (Particular Programs): Do not promise that
4856         we always prefer the GNU version of the program, and that we
4857         search according to PATH; both rules can have exceptions.
4858         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
4859         AC_PROG_SED.  Move descriptions of limitations
4860         to the Limitations of Usual Tools section.
4861         (Limitations of Usual Tools) <sed>: Mention script length
4862         limitations with Solaris /usr/ucb/sed.
4863         <grep>: Fix wording for empty alternative.  Mention that -c and
4864         -l should not be combined, and that -E and -F should not be
4865         combined.
4867 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
4868         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4870         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
4871         limits in Solaris 8 /usr/ucb/sed by testing a long script.
4873 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
4875         * doc/autoconf.texi (Defining Symbols): Literal parameter of
4876         AC_DEFINE is now passed to m4_pattern_allow.
4877         * NEWS: Mention that; likewise for AC_SUBST.
4878         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
4879         the parameter to m4_pattern_allow.
4880         * tests/tools.at: Add a check for that.
4882 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
4884         * lib/autoconf/status.m4: Fix typos.
4886 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4888         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
4889         only the files that this macro generates.
4891 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
4893         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
4894         the HP-UX sed limitation of 99 commands, labels do not count.
4895         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
4896         in the comment.
4897         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
4899 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
4901         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
4902         Import the following fix from coreutils:
4904         2006-01-13  Jim Meyering  <jim@meyering.net>
4906         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
4907         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
4908         not double-quote uses of that variable, to accommodate the rare
4909         case in which getmntent is available in none of the libraries
4910         checked.  This happens at least on FreeBSD 5.0.
4912 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
4914         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
4915         ac_config_guess, ac_config_sub, and ac_configure, since evidently
4916         some other programs unwisely rely on these undocumented vars.
4917         But put in warning comments about them.
4918         Problem reported by Ralf Wildenhues in
4919         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
4920         * NEWS: Document that these variables are intended to go away.
4922 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4924         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
4925         and set the language to C++ (analogous to the equivalent Fortran
4926         tests).
4928         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
4929         * doc/autoconf.texi (C++ Compiler): Document it.
4930         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
4931         * NEWS: Update.
4933 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4935         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
4936         that caused config.status to generate 100-command sed scripts; the
4937         portable limit is 99.
4939 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4941         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
4942         variable `ac_d' instead of `d' to avoid infringing namespace.
4943         Report by Ralf Menzel.
4945 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
4947         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
4948         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
4949         * tests/tools.at (autoconf: subdirectories): New test, taken from
4950         the corresponding problem report by Ralf Wildenhues in:
4951         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
4953         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
4954         Quote some uses of shell variables if they might suffer unexpected
4955         globbing.  This doesn't fix all instances of quoting problems that
4956         I found, just the easy ones that look safe.
4957         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
4958         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
4959         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
4960         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
4961         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
4962         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4963         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
4964         Likewise.
4965         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
4966         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
4968 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4970         * bin/autoreconf.in ($help): Reword according to the manual.
4971         Suggested by Olly Betts.
4973 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
4974         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4976         * bin/autoreconf.in: Pass the directory argument to
4977         `require_configure_ac'.  Fix comment.
4978         * tests/torture.at (Configuring subdirectories): Expose this.
4979         Reported by Olly Betts.
4981 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4983         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
4984         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
4985         Automake as follows:
4987         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
4988         `$configure_in' instead of `configure.in', to preserve
4989         directory component.
4991 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4993         * config/config.guess, config/config.sub, config/texinfo.tex,
4994         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
4996 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
4998         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
4999         test for C99 conformance; (bool) 0.5 is an integer constant
5000         expression, but (bool) -0.5 is not.  Problem reported by Fedor
5001         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
5003 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
5005         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
5006         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
5007         Warn about obsolete install-sh files.  Remove stray sentence
5008         fragment and fix cross reference.
5009         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
5010         install -d; this undoes the 2006-05-10 change.
5011         (MKDIR_P): Mark with AN_MAKEVAR.
5012         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
5013         that we don't require $INSTALL to be thread-safe.  Move comments
5014         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
5015         of AC_PROG_INSTALL.  Output a message saying that we're checking
5016         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
5017         MKDIR_P instead of AC_SUBST.
5018         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
5019         Special magic for MKDIR_P, too.
5020         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
5021         a dnl.
5022         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
5024 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
5026         Sync from Automake, as follows:
5028         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5029         * config/install-sh: Initialize IFS, so field splitting isn't
5030         turned off later.
5031         * config/mkinstalldirs: Likewise.
5032         * config/missing: Remove superfluous quotes.  Replace all uses of
5033         `[' by `test', for consistency, and for..
5034         * config/missing (sed_minuso, sed_output): New variables.
5035         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
5036         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
5037         Fixes `missing' to detect `--output' for help2man.  Fixes
5038         PR automake/483.  Report by Dennis J. Linse.
5039         (autom4te): Document in `missing --help'.
5041 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
5043         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
5044         * config/install-sh: Don't use 'path' to talk about file names,
5045         as per GNU coding standards.  Close a race condition reported by Ralf
5046         Wildenhues and Stepan Kasal.  There is still a race condition
5047         on hosts that predate Posix 1003.1-1992, but we can't help this.
5048         Don't mishandle weird characters like space on pre-Posix hosts.
5049         Invoke mkdir at most once per dir arg on pre-Posix hosts.
5050         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
5051         AC_PROG_MKDIR_P from AS_MKDIR_P.
5052         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
5053         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
5054         earlier editions are not (including Automake 1.8.3).
5055         Do not suggest mkinstalldirs for thread-safety.
5056         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
5057         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
5058         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
5059         presence of special characters and race conditions.
5060         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
5061         in Autoconf's name space.
5063 2006-05-10  Bruno Haible  <bruno@clisp.org>
5064         and Paul Eggert  <eggert@cs.ucla.edu>
5066         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
5067         from Automake with minor changes.
5068         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
5070 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
5072         * config/install-sh: Update to Automake CVS version, as follows:
5073         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
5074         * lib/install-sh: Simplify the expr implementation of dirname.
5075         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
5076         * lib/install-sh: Handle --, and diagnose unknown options.
5078 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5080         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
5081         `./autom4te' to create `./testsuite', since the `all' target
5082         will ensure its presence, but `installcheck' should not create
5083         the uninstalled wrappers.
5085         * tests/torture.at (Unusual Automake input files): Skip if we
5086         detect automake < 1.8.
5088 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5090         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
5091         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
5092         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
5093         * NEWS: Update.
5095 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5097         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
5098         munge (multiple) white space and other oddities.
5099         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
5100         single quotes in variable assignment.
5101         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
5102         and similar failures by adding multiple spaces, tabs, and other
5103         special characters.
5104         Report and different test suggested by Francesco Romani
5105         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
5107         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
5108         single quotes, we only need to search for single quotes; this
5109         both simplifies the search pattern, and makes us less
5110         susceptible to `echo' variations for arguments not containing
5111         single quotes.
5112         (_AC_ARG_VAR_VALIDATE): Likewise.
5114 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5116         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
5117         `$*' and IFS concatenation issue with traditional shells and
5118         bash-2.04.  Report by Seanster@Seanster.com.
5120 2006-05-03  Bruno Haible  <bruno@clisp.org>
5122         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
5123         precisely which Mac OS X versions have the od problem.
5125 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
5127         * doc/autoconf.texi: Use @option systematically.
5129 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
5130         and Bruno Haible  <bruno@clisp.org>
5132         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
5133         about 'od'.
5134         (Integer Overflow): Mention the special case of integer division
5135         overflow.
5137 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5139         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
5140         traditional shells like the Solaris one that do not use the
5141         first IFS character for assembling `$*'.
5142         Prompted by a related report from autoconf_bug@nro.ca.
5144 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
5145         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5147         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
5148         Mention more problems with the -e option.
5150 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5152         * NEWS: Typo.
5153         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
5155         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
5156         in URLs to improve DVI formatted output (requires texinfo 4.6).
5157         (System Services, Systemology, Shellology): Likewise.
5158         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
5159         output.
5161         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
5162         continuous text.
5163         (Runtime): Fix macro argument names to match description:
5164         `action-if-found' -> `action-if-true' and similarly.
5165         (Obsolete Macros): Likewise.
5166         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
5167         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
5168         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
5170 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5172         * doc/autoconf.texi (Limitations of Make): Clean up markup.
5174         * ChangeLog: Typo.
5175         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
5176         DVI output.
5178 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5180         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
5181         /bin/sh set unsorted output.
5182         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
5183         * tests/local.at: Likewise.
5185 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
5187         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
5188         (Integer Overflow, Null Pointers, Buffer Overruns):
5189         (Floating Point Portability, Exiting Portably): New sections.
5190         (Writing Test Programs): Fix some langauge.  Recommend exiting
5191         with status 1, not merely nonzero.  Clarify exit declaration.
5192         (Run Time): Move C exit status stuff to new Exiting Portably section.
5193         (Systemology): Mention Posix and levenez.  Update v7 reference.
5194         (Portable Shell): Mention the Posix shell.
5196 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
5198         * bin/autoconf.as (me): Replace by as_me.
5200 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
5202         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
5203         since as_me isn't set yet.
5205 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
5207         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
5208         a few minor bugs in this area.
5210         * doc/autoconf.texi (Programming in M4sh): Comment out the
5211         documentation of AS_BASENAME, for now.
5212         (Shell Substitutions): Do not use AS_DIRNAME in an example.
5213         (Limitations of Builtins) <basename>: Do not refer to
5214         AS_BASENAME.
5215         * bin/autoconf.as (me): Don't use AS_BASENAME.
5216         (dir): Remove the unused variable.
5217         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
5218         AS_DETECT_REQUIRED.  All uses changed.
5219         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
5220         All uses changed.
5221         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
5222         (AS_BASENAME): Use "basename --" to protect against leading "-".
5223         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
5224         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
5225         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
5226         (_AS_DIRNAME_PREPARE): Likewise.
5227         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
5228         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
5229         (AS_DIRNAME): Use "dirname --".
5231 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
5233         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
5234         of "run time" and "run-time" changed to "runtime", for consistency.
5235         * lib/autoconf/fortran.m4: Likewise (in comment).
5236         * lib/autoconf/functions.m4: Likewise.
5237         * lib/autoconf/general.m4: Likewise.
5238         * lib/autoconf/headers.m4: Likewise.
5240         * doc/autoconf.texi (Run Time): Document the exit status situation
5241         with more accuracy and detail.
5243 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5245         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
5246         Archive is not officially `GNU' any more.  Update URL.
5247         (Defining Directories): Likewise
5248         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
5250 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5252         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
5253         newline from the `trap' code to finish `config.log'; the NetBSD
5254         /bin/sh resets the exit status after an empty command, as
5255         documented in doc/autoconf.texi.
5256         Reported by Dalibor Topic <robilad@kaffe.org>.
5258 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5260         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
5261         Suggested by Bruno Haible.
5263 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
5265         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
5266         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
5267         Instead, just list the shells that we know work.
5268         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
5269         changed.  Be more cautious about the _cv_ variable.
5270         * tests/tools.at (Syntax of the shell scripts): Check the
5271         _cv_ variable once, at first, to avoid an internal autoconf error
5272         when sh -n does not work.
5274 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5276         * lib/Autom4te/FileUtils.pm: Sync from Automake.
5278 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
5280         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
5281         use ">&-" since we're only 99.999% sure that this is portable,
5282         and since the MinGW bug is fixed in a different way.
5283         * lib/autotest/general.m4 (AT_INIT): Likewise.
5285 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
5287         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
5288         before opening config.log, to avoid hitting a bug on MinGW.
5290 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
5292         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
5293         AS_MESSAGE_LOG_FD before reopening it onto the log file.
5294         This works around a MinGW bug reported by Eric Paire.
5295         Make sure that all writes to the log file append to it,
5296         rather than possibly losing data.
5297         * lib/autotest/general.m4 (AT_INIT): Likewise.
5299 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
5301         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
5302         description.
5304 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5306         * NEWS: Update.
5308         * configure.ac (AC_INIT): Bump to 2.59d.
5310 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5312         Version 2.59c.
5314         * Makefile.maint (news-date-check): Do not require a leading `*'
5315         before the release date in NEWS.
5317 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
5318         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5320         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
5321         the instantiated file do not contain the string 'datarootdir'
5322         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
5323         @mandir@, replace the reference '${datarootdir}' by the value.
5324         * tests/torture.at (datarootdir workaround): New test.
5325         * NEWS: Advertise this temporary fixup.
5326         Based on a patch by Bruno Haible, reported and analyzed by
5327         Paul Eggert and Noah Misch.
5329 2006-04-12  Eric Blake  <ebb9@byu.net>
5331         * tests/autotest.at (Debugging a failed test): Fix comment.
5333 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
5335         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
5336         all the changes since 2006-04-07.
5338 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5340         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
5341         succeeded, but `ln -s file dir' failed, take care to remove the
5342         leftover target before the next test, to prevent its spurious
5343         failure; also make sure `ln file dir' works before selecting it.
5344         Thanks to Keith Marshall for pointing this out.
5345         * THANKS: Update.
5347         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
5348         assignments in `at_debug_args', so that we put them correctly
5349         in the `run' script.
5350         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
5351         Reported by Eric Blake.
5353 2006-04-11  Eric Blake  <ebb9@byu.net>
5355         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
5356         top-level tests after micro-suite has been run.   Used in...
5357         (Debugging a successful test, Debugging script and environment),
5358         (Debugging a failed test): ...these new tests.  The first of these
5359         is fixed by...
5360         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
5361         macro, split out from...
5362         (AT_INIT): ...here, so that using -d also generates a run script.
5363         Document that -d inhibits top-level logging.
5364         * doc/autoconf.texi (testsuite Invocation): Document that -d only
5365         inhibits top-level logging; debug scripts are created.
5367         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
5368         check.
5369         * tests/autotest.at (Empty test, Empty check): New test to check it.
5371         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
5372         from gcc.
5374 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
5376         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
5377         the files if a problem appears.  Make the empty *.at files
5378         read-only, too.  Proposed by Ralf Wildenhues.
5380 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5382         * config/Makefile.am: Add comment to force updated Makefile.in.
5384         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
5385         space only patch to this file, this patch causes the Makefile.in
5386         files that include freeze.mk to be updated, and thus have a
5387         newer time stamp again, which in turn makes a pristine CVS
5388         checkout have correct time stamps.
5390         * Makefile.maint (cvs-sv): New macro, to be used..
5391         (config.guess-url_prefix, config.sub-url_prefix)
5392         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
5393         point to CVS text checkout of Gnulib files.
5394         (copyright-check): Bump current year.
5395         (announcement): Do not hard-wire `./announce-gen'.
5396         (cvs-update): Propagate failures of `cvs' and `move-if-change'
5397         correctly.
5398         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
5399         `chmod +x'.
5400         (wget_files): Update config.guess, config.sub, texinfo.tex by
5401         `wget-update', now that their URLs work again.
5403 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
5405         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
5406         Problem noted by Paul D. Smith.
5408 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5410         * doc/autoconf.texi: Remove unused words from word list.
5411         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
5412         .x-sc_trailing_space: New files.
5414         * doc/standards.texi: Sync from gnulib.
5416         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
5417         `LIBOBJDIR' as experimental.
5419         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
5420         with a target directory; it's internally implemented as `cp'
5421         anyway, but since Autoconf advertises the possibility to use
5422         a target directory when LN_S is `ln -s', we need to find out.
5423         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
5424         analyzed by Keith Marshall <keith.marshall@total.com>.
5426         * THANKS: Update.
5428 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
5430         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
5431         confdefs.h as-is.  In general, if it has backslash-newline or the
5432         like, then it doesn't work either to sort or to remove empty
5433         lines.
5435 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
5437         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
5439 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
5441         * lib/autom4te.in (Automake-preselections): Preselect
5442         _AM_SUBST_NOTMAKE.
5444 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
5446         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
5447         apostrophe within a single-quoted string, as this is the usual
5448         tradition and is easier to read than '"'"'.  Don't rely on the
5449         shell treating "$/" like '$/'.  Use a more-consistent indenting
5450         style for the trap.
5452 2006-04-09  Eric Blake  <ebb9@byu.net>
5454         * tests/autotest.at (Backquote command substitution),
5455         (Multiline backquote command substitution): Remove mistaken
5456         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
5457         applied...
5458         (Parenthetical command substitution, Multiline parenthetical
5459         command substitution): here.
5461 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
5463         Import macros from gnulib (often changing their name).
5465         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
5466         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
5467         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
5468         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
5469         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
5470         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
5471         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
5472         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
5473         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
5474         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
5475         The manual mentions Gnulib more prominently.
5476         * doc/autoconf.texi (Gnulib): New node.
5477         (Pointers): Add Gnulib URL.
5478         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
5479         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
5480         Gnulib section.
5481         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
5482         suggest a #define rather than a typedef for _Bool, and mention
5483         Gnulib rather than trying to substitute stdbool code.
5484         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
5485         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
5486         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
5487         AC_STRUCT_DIRENT_D_TYPE.
5488         (Particular Types): Mention stdint.h and inttypes.h as standard
5489         headers too.
5490         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
5491         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
5492         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
5493         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
5494         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
5495         (C Compiler): Move AC_C_LONG_DOUBLE to ...
5496         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
5497         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
5498         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
5499         (Coding Style).  Don't mention m4_expand_once.
5500         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
5501         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
5502         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
5503         (AC_CHECK_FUNCS): Use it.
5504         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
5505         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
5506         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
5507         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
5508         (AC_HEADER_ASSERT): New macro.
5509         (AC_HEADER_STDBOOL): Don't assume "#error" works.
5510         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
5511         Catch a bug in an HP-UX C compiler.
5512         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
5513         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
5514         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
5515         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
5516         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
5517         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
5518         New macros.
5520         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
5521         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
5523 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
5525         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
5526         of the warning introduced by the 2001-08-28 change.
5528 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
5529             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5531         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
5532         variables shall be overriden by the cache.
5533         * tests/torture.at (AC_ARG_VAR): Test also with a first value
5534         that contains braces.
5536 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
5538         Revert the patch from 2006-04-01 and only improve
5539         _AS_DETECT_BETTER_SHELL:
5541         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
5542         skip nonexistent directories.
5543         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
5544         only shell candidates which exist.
5545         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
5546         * lib/autotest/general.m4 (AT_INIT): No need to give three
5547         parameters to _AS_PATH_WALK.
5549 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
5550             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5552         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
5553         distinguish m4sugar macros.
5554         * tests/tools.at (autoupdating with aclocal and m4_include):
5555         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
5556         test case by Noah Misch <noah@cs.caltech.edu>.
5558 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
5560         Revert my change from 2006-03-17, in other words:
5561         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
5562           and DUALCASE=1.
5563         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
5564         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
5565           it is set.
5567 2006-04-07  Eric Blake  <ebb9@byu.net>
5569         * doc/autoconf.texi (Programming in M4sh): Document that
5570         AS_MKDIR_P exits the script on failure.
5571         * lib/autotest/general.m4: Remove redundant AS_ERROR.
5573 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5575         * config/elisp-comp, config/install-sh, config/mdate-sh,
5576         config/missing, config/mkinstalldirs: Sync from Automake.
5578         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
5579         from Automake.
5581         * doc/make-stds.texi: Sync from gnulib.
5583 2006-04-06  Eric Blake  <ebb9@byu.net>
5585         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
5586         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
5587         2006-04-01.
5589 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
5590             Eric Blake  <ebb9@byu.net>,
5591             Paul Eggert  <eggert@cs.ucla.edu>,
5592             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5594         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
5595         whether `set' quotes correctly: redirect stderr of the tested
5596         `set', and use a subshell, for Ultrix; use `sed' instead of
5597         `grep' for zsh `set' which may write binary output; match only
5598         at the beginning of a line, to avoid false positives.
5599         In order to avoid false positives by unrelated variables with
5600         multiline content, put the dump algorithm in a subshell and
5601         unset all variables containing newlines (except some which are
5602         special to the shell).  Warn about cache variables that are
5603         unset.
5605 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5607         * config/config.guess, config/config.sub, config/texinfo.tex:
5608         Sync from upstream.
5610         * tests/mktests.sh: Reword comments.
5612         * tests/mktests.sh: Only skip internal macros starting with
5613         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
5614         Update exclusion lists for the test suite to this end:
5615         (AC_ARG_VAR): Do test this now.
5616         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
5617         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
5618         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
5619         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
5621         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
5622         shell issue with double-quoted command substitutions of native
5623         commands.
5624         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
5625         Marshall.
5627         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
5628         no file matches the glob, discard the warning, set `nullglob'.
5629         (syntax-check): Likewise.
5630         (sc_cast_of_x_alloc_return_value): Likewise.
5631         (sc_cast_of_alloca_return_value, sc_error_exit_success)
5632         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
5633         (m4-check): Likewise.
5634         (sc_system_h_headers): Do not print rule on execution.
5635         (sc_tight_scope): Do not fail for non-existing `src' directory.
5636         (sc_changelog): Skip the Copyright footer.
5637         * lib/autoconf/lang.m4: Remove trailing space.
5639         * lib/autoconf/status.m4: More replacements to
5640         <tab><space> where this makes sense.
5642 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
5644         * tests/Makefile.am (maintainer-check-posix):
5645           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
5647         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
5648           ac_config_<foo>s again, sometimes normalized, sometimes not.
5649         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
5650         (AC_CONFIG_COMMANDS): Do not do so here.
5651         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
5652           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
5653           2005-07-25 rewrite.  Noticed by Noah Misch.
5655         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
5656           _AC_PRESERVE_HELP_ORDER, ...
5657         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
5659         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
5660           inside m4_expand_once; it is redundant.
5662         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
5663           for --help from Cygnus `configure.'
5665 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
5667         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
5668         on a patch proposed by Ralf Wildenhues.
5670 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
5672         * lib/autoconf/status.m4: Replace <space>''<tab> with
5673         <tab><space> where this makes sense.
5675 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
5676             Noah Misch  <noah@cs.caltech.edu>
5678         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
5679         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
5680         * doc/autoconf.texi (Help Formatting): New node.
5681         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
5683 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5685         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
5686         lib/autoconf/specific.m4, lib/autoconf/status.m4,
5687         lib/autoconf/types.m4, lib/autotest/general.m4,
5688         tests/mktests.sh, tests/torture.at: White space cleanup:
5689         remove some SPACE before TAB, or add quoting ('' or @&t@).
5691         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
5693         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
5695 2006-04-05  Eric Blake  <ebb9@byu.net>
5697         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
5698         empty test suite works.
5699         * tests/autotest.at (Empty test suite): Remove xfail.
5701 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
5703         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
5704         TAGS to ac_config_<foo>s.
5705         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
5706         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
5707         normalizing it, consistent it with previous releases.
5708         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
5710 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
5712         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
5713         Use simplified args that Eric Blake originally suggested.
5715 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
5717         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
5718         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
5719         Use 'comm' rather than N instances of grep; this also fixes a bug
5720         whereby substrings were incorrectly matched, causing us to not
5721         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
5722         (exclude_list): Exclude empty macros.
5723         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
5725         Use awk rather than grep -E or egrep, to avoid
5726         portability problems with regular expressions containing newlines.
5727         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
5728         Switch from grep to awk syntax.
5729         (ac_exclude_script): Renamed from ac_exclude_egrep.
5730         (au_exclude_script): Renamed from au_exclude_egrep.
5732 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
5734         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
5735         a subdirectory subject to Cygnus `configure'.
5736         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
5738         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
5739         report request when we have no AC_PACKAGE_BUGREPORT.
5741 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5743         * THANKS: Update.
5745         * tests/mktests.sh: Update copyright year in the header of the
5746         generated files.
5748         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
5749         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
5750         typedef'ed restricted pointer, to catch a compiler bug on
5751         HP-UX 11.x, and fix warnings so it passes with -Werror.
5752         (_AC_PROG_CC_C99): Likewise.
5753         Reported by Albert Chin <china@thewrittenword.com>.
5754         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
5756 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
5758         * bin/autoscan.in (subdirs): New global.
5759         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
5760         (output): Emit AC_CONFIG_SUBDIRS as needed.
5761         * tests/autoscan.at (autoscan): Remove XFAIL.
5763 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
5765         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
5767 2006-04-03  Eric Blake  <ebb9@byu.net>
5769         * THANKS: Add myself.
5771 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5773         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
5774         to log, point to testsuite output tree.
5776 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
5778         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
5779         * doc/autoconf.texi (Function Portability): Mention that C++
5780         has trouble with 'exit'.
5781         (Guidelines): Test programs shouldn't use 'exit'.
5782         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
5783         Remove; all uses removed.
5784         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
5785         Return from 'main' instead of calling 'exit'.
5786         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
5787         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
5788         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
5789         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
5790         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
5791         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
5792         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
5793         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
5794         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
5795         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
5796         * tests/compile.at: Likewise.
5798 2006-04-02  Pavel Roskin  <proski@gnu.org>
5800         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
5802 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
5804         Clean up _AC_COMPILER_EXEEXT* macros.
5806         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
5807           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
5808           ac_file to the name of the default output file and call
5809           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
5810           initial `rm' of the candidate files...
5811         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
5812           the same list in subsequent `rm' calls, and for the temporary
5813           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
5814           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
5815         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
5816         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
5817           no longer needed) by libtool.  Make it a cache check.
5818         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
5819           copied here by mistake.
5820         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
5821           _AC_COMPILER_EXEEXT.
5822         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
5823           _AC_COMPILER_OBJEXT directly.
5824         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5826 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
5828         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
5829         (AS_DIRNAME): Use it.
5830         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
5832         * tests/*.at: Remove the generated ones.
5834 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
5836         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
5838 2006-04-01  Eric Blake  <ebb9@byu.net>
5840         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
5841         directories, unless optional third argument supplied.
5842         (AS_UNAME): Don't optimize PATH walk.
5844         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
5846 2006-04-01  Eric Blake  <ebb9@byu.net>
5847         and Stepan Kasal  <kasal@ucw.cz>
5849         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
5850         and fix some typos.
5852 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
5854         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
5855         Autoconf version number despite a zero- or one-argument AC_INIT.
5857         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
5858         subordinate tools.
5859         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
5860         * doc/autoconf.texi (autoreconf Invocation): Document it.
5862         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
5863         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
5865 2006-04-01  Eric Blake  <ebb9@byu.net>
5867         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
5868         * lib/autotest/general.m4: Be tolerant of existing directory when
5869           rm failed to remove it.
5871 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5873         * bin/autoupdate.in: Redefine m4_location so that warnings print
5874         the correct lines of the input file by subtracting..
5875         (_au__first_line): ..this new definition.
5877         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
5878         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
5879         Remove stray newline in output.
5880         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
5881         AC_DEFUN this for autoconf, including the obsoletion diagnose.
5882         Fixes autoupdating of code where the replacement output contains
5883         m4sugar macros.
5884         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
5885         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
5886          (au_exclude_list): Add AC_LANG_SAVE.
5887         * tests/tools.at: Several new tests for all of this.
5888         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
5889         hairy details.
5890         The AC_LANG_SAVE issue was reported against Libtool by
5891         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
5892         Kristian Kvilekval <kris@cs.ucsb.edu>.
5894 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
5896         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
5897           switch all of them on and of when necessary.  Fixes the bug when
5898           m4sugar macros (e.g., m4_define) were expanded after the first
5899           automatic update (e.g., after AC_PREREQ or AC_INIT).
5901 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
5903         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
5904         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
5906         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
5907         correctly.  Problem reported by Eric Blake.
5908         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
5909         Ralf Wildenhues.
5911 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
5913         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
5914         Tighten up the basename/dirname wording.
5916 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5918         * Makefile.maint (sc_texi_notab): New check: do not use TABs
5919         in texinfo files outside of verbatim environments.
5920         (syntax-check-rules): Update.
5921         * doc/autoconf.texi (Configuration Headers): Conform to it.
5923 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
5925         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
5926           aclocal cannot be given on the command line.
5928 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
5930         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
5931         Give an example for AS_DIRNAME instead of referring to Posix..
5932         (File System Conventions): Put discussion of // versus / here, and
5933         modernize it a bit.
5934         (Limitations of Usual Tools): Add basename.  Remove verbiage
5935         after dirname, since it got moved to the above sections.
5936         All this was inspired by a patch proposed earlier by Eric Blake.
5938 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5940         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
5941         `$0' to protect against spaces.
5942         * lib/autotest/general.m4 (AT_INIT): Likewise.
5943         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
5944         `$0', $as_me.
5946 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5948         * bin/autoscan.in: The value of find_configure_ac should be
5949         checked for existence, so we don't barf over a nonexisting
5950         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
5952 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5954         * bin/autoupdate.in: Fix some typos.
5956 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
5958         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
5960         * lib/autoscan/autoscan.list: Refreshed.
5962 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5964         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
5965         and Erlang related variables.
5967         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
5968         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
5969         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
5970         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
5971         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
5972         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
5973         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
5974         (_AC_PROG_OBJC_G): New macros.
5975         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
5976         * doc/autoconf.texi (Objective C Compiler): New node.
5977         (Preset Output Variables): Document OBJCFLAGS.
5978         (Language Choice): Document `Objective C' language.
5979         (Fortran Compiler): Fix typo.
5980         * NEWS: Updated.
5981         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
5983 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
5985         * doc/autoconf.texi (Default Includes): Fix typo
5986           s/AC_HEADERS_STDC/AC_HEADER_STDC/
5987         (Limitations of Usual Tools): s/unwriteable/unwritable/
5988         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
5989           Fix typos in the comments.
5991 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
5993         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
5994           Factor out the warning to...
5995         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
5996         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
5997         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5999         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
6000           case `ac_delim' when writing the sed script.
6002         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
6003           moved DUALCASE=1 ...
6004         (AS_SHELL_SANITIZE): ... here.
6005         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
6006           that it is set.
6008         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
6009           AC_SUBST.
6010         (_AC_PATH_PROG): Store the result to VARIABLE.
6011         (AC_PATH_PROG): No need to set VARIABLE again.
6013         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
6014           the first one is usual AT_CHECK_MACRO test, the second one checks
6015           that the same works when cross-compiling.
6016         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
6017         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
6019 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6021         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
6022         the directory `/usr/bin/posix' in the shell search, to prefer
6023         the Posix shell not only in subsequent spawns as with `$BIN_SH'
6024         on Tru64.
6026         * doc/autoconf.texi (contents): To fix texi2html output, hide
6027         `@setcontentsaftertitlepage' for HTML.
6028         (Writing Autoconf Macros): Likewise, insert space after `@c'.
6029         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
6030         `@,{c}'.
6032 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
6034         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
6035           sanitizing...
6036         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
6037         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
6038           why IFS is restored so late; thank you, Ralf, for reminding us.
6040 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
6042         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
6043           variables in the examples.
6045 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
6047         * doc/autoconf.texi (several sections): Cleaned up documentation for
6048         macros in erlang.m4.
6050 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6052         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
6053         failure condition for `$(cmd)' style command substitutions.
6054         (Parenthetical command substitution, Multiline parenthetical
6055         command substitution): Use it.
6057         * doc/autoconf.texi (Special Shell Variables): Missing word.
6058         Reported by Keith Marshall <keith.marshall@total.com>.
6060         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
6061         IFS even in case of empty `$PATH'.
6063 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6065         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
6066         `expr' away if there is nothing to do.
6067         < --keywords >: Simplify and robustify argument handling.
6068         Revert erroneous comment from 2005-08-23.  Extend to allow
6069         keyword negation with `!'.
6070         Update help message.  Remove broken code to prevent running
6071         tests multiple times.
6072         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
6073         Update and fix the documentation accordingly.
6074         * tests/autotest.at (Keywords): Renamed to..
6075         (Keywords and ranges): .. this.  Extended to make sure negated
6076         keywords, keywords taken from AT_SETUP arguments, and numeric
6077         test ranges work, and that matching is case-insensitive.
6079 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6081         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
6082         allow to pass unnamed structs even in C++.
6083         (AC_CHECK_SIZEOF):  Likewise.
6084         Also fix quoting error in `AC_MSG_FAILURE' arguments.
6085         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
6086         struct): New tests for unnamed structs, each both native and
6087         cross-compiling.
6089         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
6090         a structure inside a cast, for C++ conformance.
6091         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
6092         Also fix quoting error in `AC_MSG_FAILURE' arguments.
6094         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
6095         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
6096         trying to execute the command `no'.
6098         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
6099         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
6100         expanded outside.
6102         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
6103         example.  Do not emphasize `$%', it is hardly new and special.
6104         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
6106         * doc/autoconf.texi (Limitations of Usual Tools): Document
6107         OpenBSD and traditional `grep' failure to handle multiple
6108         patterns separated by newlines.
6110 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
6112         * doc/autoconf.texi (several sections): Add documentation for macros
6113         in erlang.m4.
6115 2006-03-10  Eric Blake  <ebb9@byu.net>
6117         * doc/autoconf.texi (Obsolete Macros): Fix wording of
6118         AC_TRY_LINK_FUNC.
6120 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
6122         * doc/autoconf.texi: Use @acronym more consistently for acronyms
6123         like BSD, GPL, LGPL.  Fix minor English typos.
6124         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
6125         Mention that these macros are becoming obsolete.
6126         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
6127         Use more modern terminology for which standard is what.
6128         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
6129         and to ansi2knr.
6130         (AC_PROG_CXX): Likewise.
6131         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
6132         Remove obsolete discussion about how to port to K&R.
6133         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
6134         the obsolescent AC_HEADER_STDC.
6135         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
6136         can't rely on it.
6138 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6140         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
6141         Remove stdin redirection from /dev/null to allow pipe to work.
6143 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
6145         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
6146         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
6147         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
6148         Ralf Wildenhues.
6150 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6152         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
6153         HP-UX sed is 99 commands, not 100.
6154         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
6155         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
6156         newline for portability.
6157         * tests/torture.at (Torturing config.status): Also test 100
6158         AC_SUBST_FILE invocations.  Fix test to actually verify the
6159         AC_CONFIG_FILES output.
6160         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
6161         command, label, and read-file `r' limits.  Unify HP-UX spelling.
6163         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
6164         non-suffix rule.
6165         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
6166         non-GNU make.
6167         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
6168         * tests/mktests.sh: Small shell portability fixes.
6170 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6172         * doc/autoconf.texi (Caching Results): Fix the examples to use a
6173         recommended quoting style and discard unwanted output.
6175 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
6177         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
6178         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
6179         cases, and to work around Tru64 expr bug.
6181 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6183         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
6184         expr bug that turns the result of a regex match into a number if
6185         possible.
6187 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6189         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
6190         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
6191         in section `Specific Compiler Characteristics'.
6193 2006-03-04  Eric Blake  <ebb9@byu.net>
6195         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
6196         variable warning.
6198 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6200         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
6201         order of variable initialization, so even the Solaris 2.6 shell
6202         can create a config header correctly.  Fixes lots of test suite
6203         failures.
6205 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6207         * doc/autoconf.texi (Text processing Macros): New node to
6208         document the m4sugar macros m4_re_escape, m4_tolower,
6209         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
6211 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
6213         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
6214         XrmInitialize (0) -> XrmInitialize ().
6215         Reported by Toshio Kuratomi.
6217 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6219         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
6220         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
6221         * doc/autoconf.texi (Programming in M4sh): Adjusted.
6222         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
6223         both macros are defun'ed so that required macros are evaluated
6224         outside.
6226         * doc/autoconf.texi (Prerequisite Macros): State more precisely
6227         where a required macro will be expanded.
6228         (Coding Style): Another reason not to use `m4_define'.
6230 2006-02-21  Eric Blake  <ebb9@byu.net>
6232         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
6234 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6236         * doc/autoconf.texi (Looping constructs): New node, to
6237         document m4_for, m4_foreach, m4_foreach_w, and mention
6238         obsolete AC_FOREACH.
6239         (Obsolete Macros): Document AC_FOREACH.
6240         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
6241         (m4_for): Fix to never loop (almost) endlessly, work correctly
6242         with arithmetic expressions in arguments, a step of zero or
6243         non-integer multiple of the interval, and avoid integer
6244         overflow.
6245         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
6246         m4_foreach_w.
6248 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
6250         Add basic support for Erlang, both for configuring Erlang/OTP
6251         tools, and Erlang as a conf test language.
6252         * lib/autoconf/erlang.m4: New file.
6253         * lib/autoconf/autoconf.m4: Add erlang.m4.
6254         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
6255         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
6256         * NEWS: Add short description of new macros.
6257         * THANKS: Add Romain Lenglet.
6259 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6261         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
6262         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
6264 2006-02-15  Eric Blake  <ebb9@byu.net>
6266         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
6267         warning.
6269 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6271         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
6272         (_AS_CASE): Private helper macro.
6273         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
6274         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
6275         Fix syntax of AS_IF description
6276         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
6277         for the AC_REQUIRE mess.
6278         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
6279         AS_SHELL_SANITIZE.
6281 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
6283         * doc/autoconf.texi: Minor style cleanup.
6284         Be consistent about spaces after commas.
6285         Insert [] where empty args look a bit funny.
6286         Fix some "i.e." and "e.g." usages.
6287         Try to avoid "X/Y" usages.
6288         Don't be pedantic about "ISO C99"; just say C99.
6289         Prefer GNU style for spaces in front of parens.
6290         (Function Portability): Comment about C89 versus C99
6291         signed integer division.
6292         (Particular Headers): Use current gnulib style for dirent
6293         includes.
6295 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
6296         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6298         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
6299         macros without parameters.
6300         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
6301         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
6302         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
6303         `$#' bug.
6304         (autoupdate): Updated to match AU_ALIAS fix.
6306 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6307         and Paul Eggert  <eggert@cs.ucla.edu>
6309         * doc/autoconf.texi (Programming in M4sh): Document
6310         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
6312 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6314         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
6315         (AS_BOURNE_COMPATIBLE): ..this.
6316         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
6318 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
6320         * doc/install.texi (Defining Variables): Tighten up the
6321         CONFIG_SHELL wording.
6323 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
6324         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6326         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
6327         of (set -o) rather than testing whether (set -o posix) succeeds,
6328         to work around a bug in the AIX 5.3 shell.  Problem originally
6329         reportd by Howard Chu for libtool.
6331 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
6333         * doc/autoconf.texi (Running the Compiler, Running the Linker):
6334         Changes the macro arguments in summaries to match the
6335         descriptions.
6337 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
6339         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
6340         hint as ``a workaround for a bug.''
6342 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6344         * bin/autoreconf.in: New option `--no-recursive'.
6345         Improve wording for subpackages a bit.
6346         * doc/autoconf.texi (autoreconf Invocation): Updated.
6347         * NEWS: Updated.
6349         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
6350         in environment of `configure', not the command line.
6351         Reported by Howard Chu <hyc@highlandsun.com>.
6353 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
6355         * doc/autoconf.texi (Limitations of Builtins): Document the
6356         problem with "trap -".
6358 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
6360         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
6361         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
6362         messages to differentiate Fortran and Fortran 77 tests.
6363         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
6364         AC_LANG_ASSERT, to allow use in mixed-language projects.
6366 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
6368         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
6369         FOO" to "defined (FOO)".
6370         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
6371         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
6372         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
6373         * tests/tools.at (ifnames): Likewise.
6375 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6377         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
6378         * lib/Autom4te/General.pm (mktmpdir): Likewise.
6379         (END): Improve error message a bit.
6380         Reported by Bruce Korb <bkorb@gnu.org>.
6382 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6384         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
6385         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
6387 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
6389         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
6390         requires sys/stream.h.  Reported by Oliver Kiddle.
6392 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6393             Stepan Kasal  <kasal@ucw.cz>
6395         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
6396         before the removals of test dirs, use `find' to avoid modification
6397         of symlinked directories.
6399 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
6401         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
6402         Don't ignore the macro arguments.
6404 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
6406         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
6407         declaration that works for MSVC.
6409 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6411         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
6412         Add `*.map' and `.inf' for Green Hills compiler.
6413         Reported by Stefan Seefeld <stefan@codesourcery.com>.
6415         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
6416         correctly: pad with spaces after FIRST_PREFIX if necessary,
6417         and compute string lenghts with `m4_qlen' instead of `m4_len'.
6418         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
6419         * tests/m4sh.at (AS_HELP_STRING): Test extended.
6420         * NEWS: Updated.
6421         Reported by numerous people, numerous times.
6423 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6425         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
6426         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
6427         * lib/autoconf/general.m4, lib/autoconf/status.m4:
6428         * lib/autotest/general.m4, tests/local.at:
6429         Update copyright year to 2006.
6431         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
6432         sed substitutions.
6433         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
6434         for file names, again.  Reported by Noah Misch.
6435         (Coding Style): Explain that s|a|b| is preferred for file names.
6436         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
6437         (AC_OUTPUT_MAKE_DEFS): Likewise.
6438         * lib/autotest/general.m4 (AT_INIT): Likewise.
6439         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
6440         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
6442         Fix Posix-conformance bugs re use of { command in sed scripts,
6443         and improve the sed-related documentation a bit.
6444         * doc/autoconf.texi (Installation Directory Variables): Use
6445         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
6446         rather than "sed" when talking about Sed in general.
6447         (Particular Programs): Likewise.
6448         (Coding Style): y is like s with respect to / and ,.
6449         (Limitations of Usual Tools): Document the weird restrictions
6450         that Posix has about { }.  Use better quoting.
6451         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
6452         Rewrite to conform to Posix rules about { } in sed scripts.
6453         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
6454         * tests/foreign.at (Libtool): Likewise.
6455         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
6456         Use our own style advice re 's,a,b,' versus 's|a|b|'.
6458 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6460         * lib/autoconf/status.m4: Fix typo.
6462         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
6463         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
6464         `-def', for the benefit of Portland `pgf90 -Mipa'.
6465         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
6467 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
6469         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
6470         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
6471         shell from zsh to bash.
6473 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
6475         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
6476           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
6478 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
6480         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
6481         parentheses in $(...).  Problem reported by Eric Blake.
6483 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
6485         * doc/autoconf.texi (Limitations of Usual Tools):
6486         Mention which characters can be escaped with \ in portable regular
6487         expressions used in grep, sed, expr.  Mention the leading ^ problem
6488         with expr.  Clean up some confusing wording.  Mention which
6489         grep options are portable.
6491 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
6493         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
6495 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
6497         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
6498         patch, noted by Ralf Wildenhues.
6500 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6502         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
6503         posix' unconditionally, for pdksh in `native sh' emulation.
6505 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
6507         * doc/autoconf.texi (Shellology): Document eval $? problem
6508         with ash.
6509         (Limitations of Builtins): Likewise.
6511 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6513         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
6514         CONFIG_SHELL in the environment of the configure rerun.
6515         * doc/autoconf.texi (Here-Documents, config.status Invocation):
6516         Suggest passing CONFIG_SHELL absolute, and in the environment
6517         rather than as option.
6519 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6521         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
6522         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
6523         Fix macro quoting.  Fix output for n * 98 substituted variables.
6525 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6527         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
6528         `tmp' to avoid file removal race.
6530 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6532         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
6533         ac_clean_files and LIBOBJS.
6535 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6537         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
6538         Factor functionality to..
6539         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
6540         `AC_SUBST($1)' in the public version.
6541         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
6542         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
6543         ac_pt_* variables.
6545 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
6547         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
6548         filesystems.
6550 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6552         * NEWS: Move AH_HEADER mention to right place.
6554 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
6556         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
6557         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
6559 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
6561         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
6562         conftst2.$ac_objext.
6563         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
6565 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
6567         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
6568         conftest.o, to see whether the compiler really obeys; rm the object
6569         file before and after the test and register it with ac_clean_files.
6570         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
6572 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
6574         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
6575         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
6576         code so that the most common case requires less forks.
6578 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
6580         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
6581         not portable; thanks to Paul Eggert and Alexandre.
6583         * NEWS: Fix an old typo.
6585 2005-10-20  Jim Meyering  <jim@meyering.net>
6587         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
6588         the latter'', in two places.
6590 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
6592         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
6593         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
6594         the inner workings of AC_LANG_FUNC_LINK_TRY.
6595         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
6596         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
6597         by the function rather than ignoring it.
6598         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
6599         comparing its address.  Intel's interprocedural optimization was
6600         outsmarting the old heuristic.  Problem reported by
6601         Mikulas Patocka.
6603 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
6605         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
6607 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
6609         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
6610         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
6612 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
6614         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
6615         before removing it (chmod -R u+rwx); there are three instances of this.
6617 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6618             Stepan Kasal  <kasal@ucw.cz>
6620         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
6621         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
6622         make its content writable before removing it.  Remove an errorneous
6623         comment from the end, where the logs of the failed tests are copied
6624         to the main log file.
6626 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
6628         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
6629           in case the computer is too quick.  Double quote the configure.ac
6630           snippets.
6632         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
6633           problems if the testsuite were running too fast.
6635 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
6637         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
6638         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
6639         (which belong to Xt, not X itself).  See Debian bug 327655.
6640         * NEWS: Mention this.
6642 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
6644         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
6646 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
6648         * config/move-if-change: Don't output "$2 is unchanged";
6649         suggested by Ben Elliston.  Handle weird characters correctly.
6651 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
6653         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
6654           calls, so that the final expansion of this macro is shorter.
6655           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
6656           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
6657           the cleanup there.  Use AS_VAR_* macros, to be more general.
6658         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
6660         * lib/autoconf/general.m4: Use AS_IF where appropriate.
6662         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
6664 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
6666         * doc/autoconf.texi (Configuration Headers): Add an index entry
6667           for AH_HEADER.
6669 2005-08-26  Pavel Roskin  <proski@gnu.org>
6671         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
6672         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
6673         running xmkmf.
6675 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
6677         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
6678         The previous patch didn't work, so try a better one.
6680 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
6682         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
6683         in the example.  Reported by Bruno Haible.
6684         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
6685         "if $undefined_var;" succeeds with my shell.
6687         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
6688         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
6689         but change the m4_divert_text to m4_divert_once.
6691 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
6693         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
6694         Work around bug in Solaris /usr/xpg4/bin/awk.
6695         The bug is present in at least Solaris 8 through 10.
6697 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
6699         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
6700         some evil values and relying on the fact that $* concatenates the
6701         parameters by the first character from IFS.
6703 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
6704             Stepan Kasal  <kasal@ucw.cz>
6706         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
6707         first header appears, define AH_HEADER.
6708         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
6709         Update limitations about when to call AC_CONFIG_HEADERS.
6710         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
6711         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
6712         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
6713         ``Configuration Actions''; fix their index entries.
6715         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
6716         options correctly.  Process N-M as M-N if M is smaller than N.
6717         Process ranges correctly so that N-N will run only N.
6718         Sort and uniquify the tests that will be run.  If there is more
6719         than one test, reinsert the banners for the tests.
6720         * tests/autotest.at (Keywords): Unmark XFAIL.
6722 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
6724         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
6725           before passing the macro name to AH_TEMPLATE.
6727         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
6728           now opens log after option processing; in particular, --version
6729           and --help do not touch config.log.
6731         * Makefile.maint: Revert the change from 2005-08-12.
6733 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
6735         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
6736           common code to...
6737         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
6739 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6741         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
6742         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
6743         Language cleanup.
6745         * doc/autoconf.texi (Defining Symbols, Changed Results):
6746         Prepend to LIBS, not append, in examples.
6748 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
6750         When building in place, set srcdir="."; suggested by Tim Van Holder.
6752         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
6753           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
6754         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
6755         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
6756           does not mean "no --srcdir option".
6758 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6760         * tests/autoscan.at (autoscan): New file.
6761         * tests/suite.at: Use it.
6762         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
6763         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
6765         * tests/autotest.at (Keywords): Test keywords combinations.
6767 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
6769         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
6770           add "2>&1"; gzip 1.2.4 prints help on stderr.
6772 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
6774         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
6775         was pushdef'ed twice while popped only once.  Push it only once.
6776         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
6778 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
6780         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
6781         prefixed by mere "===", not "configure: === ".
6783 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
6785         * Makefile.maint: Update from Bison.
6787         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
6788         "<tab>" in comment, so that the point is understandable.
6790 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
6792         Rewrite substantial part of lib/autoconf/status.m4.
6793         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
6794         and CONFIG_COMMANDS are not processed in four separate loops.
6795         Instead, there is one main loop.  This alows that the common code
6796         is expanded only once, thus config.status (and configure) is smaller.
6798         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
6799         the AC_LIST_FILES and cousins macros are no longer used.
6801         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
6802         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
6803         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
6804         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
6805         contain the initialization, nor the for loop, nor the associated
6806         commands; all these go to ...
6807         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
6808         _AC_OUTPUT_CONFIG_STATUS.
6809         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
6810         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
6811         (_AC_OUTPUT_FILE): The creation of the sed script ...
6812         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
6813         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
6814         _AC_OUTPUT_MAIN_LOOP.
6815         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
6816         _AC_CONFIG_COMMANDS): Use ...
6817         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
6818         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
6819         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
6820         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
6821         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
6822         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
6823         ... new macros.
6824         (_AC_CONFIG_UNIQUE): Update.
6825         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
6826         Replaced by this ...
6827         (_AC_LIST_TAGS): ... new common macro.
6828         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
6829         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
6830         (_AC_LIST_TAG_COMMANDS): ... new common macro.
6831         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
6832         this didn't belong to the `config commands' section.
6833         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
6834         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
6835         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
6836         to the `config commands' section either.
6837         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
6838         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
6840         ... and many changes to the comments nearby.
6842         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
6843         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
6844         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
6845         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
6846         (#define header templates): The comment at the top of the generated
6847         header now includes the name(s) of the source file(s).
6849         Several unrelated small changes:
6851         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
6852         parameter to AC_DIAGNOSE.
6853         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
6854         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
6855         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
6856         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
6857         with AU::AC_OUTPUT.
6858         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
6859         in AC_OUTPUT doesn't double-quote it either.
6860         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
6861         parameters.
6863 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
6865         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
6866         versions of Portland Group compiler produce single- and double-quoted
6867         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
6868         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
6870 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
6872         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
6873         This is a corrected version of yesterday's patch.
6875 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
6877         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
6878         path, too; insert a "===" to emphasize the line.
6880         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
6881           ac_cv_build_alias to ac_build_alias.
6882         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
6884         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
6885         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
6886         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
6887         (AC_ARG_VAR): ... here.
6888         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
6889           target_alias.
6891         Keep a list of all precious variables and process them with one simple
6892         for loop, instead of expanding all commands, or, OTOH, complicated
6893         processing of output of "set".
6894         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
6895         variable names in new macro...
6896         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
6897         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
6898           a loop to assign all ac_env_* and ac_cv_env_* variables.
6899         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
6900           to INIT_PREPARE.
6901         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
6902           its value to shell variable ac_precious_vars and call
6903           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
6904         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
6905           _AC_ARG_VAR_VALIDATE.
6907         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
6908           and the AC_SUBSTs ...
6909         (AC_INIT): ... here.
6911         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
6912           the ac_subst_files section in config.log.
6914         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
6916 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
6918         * NEWS: New macro AC_C_TYPEOF.
6919         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
6920         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
6921         * tests/c.at (C keywords): Test AC_C_TYPEOF.
6923         Fix problems reported by Nicolas Joly.
6924         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
6925         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
6926         They are generated by the Tru64 v5.1B shell.
6928 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
6930         Fix my changes from 2005-07-01; reported by Noah Misch.
6931         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
6932         description, the macro now accepts only a single tag.
6933         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
6935         Fix cases when the varsions of Autoconf and Autotest don't match.
6936         Reported by Noah Misch.
6937         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
6938         at_top_builddir, for compatibility with older autotest.
6939         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
6940         is not set, use at_top_builddir, for compatibility with older
6941         versions of autoconf.
6943 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
6945         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
6946         Problem reported by Patrick Welche.
6948 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
6950         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
6951         sed substitution command, so that we allow | in program prefixes
6952         and program suffixes.  (& is a problem anyway; we're not fixing
6953         that here.)
6954         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
6955         configure_input, top_builddir, srcdir, etc.
6956         * lib/autotest/general.m4 (AT_INIT): Likewise, for
6957         PATH_SEPARATOR in AUTOTEST_PATH.
6959 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
6961         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
6962         for loop over config.site files using `set', to allow
6963         directory names containing IFS characters.
6965 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
6967         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
6968         directories with weird names.  Apparently some people like living
6969         on the edge.  However, improve the test that "pwd" actually does
6970         report a name for the working directory.
6971         * NEWS: Remove the claim that we test for funny chars in dir names.
6973 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
6975         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
6976         replaced ...
6977         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
6978         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
6979         Now accept a single tag, not whitespace separated list.
6980         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
6982 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
6984         * doc/autoconf.texi (Configuration Headers): Change the explanation
6985         about #include <config.h>.
6986         (Generic Functions): Mention the Gnulib project.
6987         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
6989         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
6990         document to output the default config_* lists to config.status.
6991         Don't recognize option --file, if the functionality is not there.
6992         Likewise for --header; moreover, recognize --he and --h as shortcuts
6993         for --help in that case.
6995         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
6996         matches the order of execution.  No code changed.
6998 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7000         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
7001         single-quoted -cmdline argument in Portland Group compiler.
7002         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
7004 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
7006         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
7008 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
7010         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
7011         descriptors to child processes; reported by Norman Gray.
7013 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
7015         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
7017         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
7018         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
7019         (AC_SUBST): Call it.
7020         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
7021         the directory specific variables; but don't call it for configure_input.
7023 2005-06-28  Derek Price  <derek@ximbiot.com>
7025         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
7026         addition.
7028 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
7030         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
7031         directory have inherent problems with special characters like spaces,
7032         due to limitations in Make syntax.  Problem reported by Alexandre
7033         Duret-Lutz.
7034         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
7035         Also, fix Tru64 porting problem with shell patterns,
7036         reported by Ralf Wildenhues.
7038 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7040         * doc/autoconf.texi (Subdirectories): Fix markup typos.
7042 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
7044         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
7046         Fix some more shell quoting problems.  Prompted by a bug report
7047         from Justace Clutter.
7048         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
7049         variable into diagnostic.  Make the diagnostic an error, not a warning,
7050         because we really don't support spaces and suchlike in dir names.
7051         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
7052         Don't worry about backslashes in srcdir; it can't happen now.
7053         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
7054         Simplify ac_optarg handling.
7055         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
7057 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
7059         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
7060         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
7061         * tests/atlocal.in: Propagate $EGREP and $SED.
7062         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
7063         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
7065         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
7066         that '\|' is not allowed in BREs; recommend using newline separated
7067         list of patterns instead of multiple -e options.
7069         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
7071         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
7073 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7075         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
7077 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
7079         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
7080         b, t, r, w commands require single space, while : cannot have any.
7081         (Special Shell Variables): Fix sed code this in the example.
7082         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
7083         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
7085         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
7086         expand to the empty list.  Don't use two pairs of m4_changequote,
7087         it's not necessary.
7089 2005-06-20  Derek Price  <derek@ximbiot.com>
7091         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
7093 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
7095         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
7096         * doc/autoconf.texi:
7097         Don't mention Solaris versions so much, if a
7098         problem is common to all extant versions of Solaris.  Say "SunOS
7099         4" instead of "SunOS" for SunOS 4.
7100         (awk): Mention more of the limitations of traditional Awk.
7101         (cat): Don't talk about cat -v.
7103 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
7105         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
7106         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
7107         but the implementation is entirely different and is designed
7108         to be compatible with glibc strverscmp.
7109         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
7111         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
7112         on Mac OS X 10.4 reported by Peter O'Gorman in:
7113         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
7114         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
7115         Use shell builtins rather than 'expr', to work around expr bug.
7117 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
7119         * doc/autoconf.texi: "filesystem" -> "file system".
7120         "behaviour" -> "behavior".
7121         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
7122         * lib/autoconf/general.m4: Omit blank after ":" sed command,
7123         as per POSIX.
7124         * lib/m4sugar/m4sh.m4: Likewise.
7125         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
7126         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
7128         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
7129         (.x.1): Ignore the time stamp in the .TH line when deciding whether
7130         to update the man page.  That way, we don't have to check in new
7131         man pages every month.
7133         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
7134         quotes and backslashes.  Patch from Derek Price.
7136 2005-06-10  Derek Price  <derek@ximbiot.com>
7138         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
7139         AS_TR_SH.
7141 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
7143         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
7144         -u, since it outputs chatter if the input files are the same.
7145         Problem reported by Ralf Menzel.
7147 2005-06-08  Derek Price  <derek@ximbiot.com>
7149         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
7150         renaming them since they are about to be redefined anyhow.
7152 2005-06-08  Derek Price  <derek@ximbiot.com>
7154         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
7155         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
7156         Move m4_undefine to alphabetical order.
7158 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
7160         * README: Recommend GNU M4 1.4.3 or later.
7161         * doc/autoconf.texi (Introduction): Likewise.
7162         Reword to avoid some formatting glitches.
7163         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
7164         Clarify explanation of HP compiler bug.
7165         Redo example output tp match current CVS snapshot.
7166         Use @example.org in email addresses when the examples
7167         might get inadvertently cut-and-pasted into user code.
7168         Remove example of autom4te usage that doesn't seem to work now.
7169         Use modern AC_INIT (except when the example is meant to be
7170         shown with Autoconf 2.13).
7171         Update ksh info for Solaris 9 and later.
7172         KB -> kB.
7173         Modernize description of Automake versions a bit.
7174         Don't claim a future version of Autoconf is near.
7175         * doc/install.texi: Reword to avoid some formatting glitches.
7177 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7179         * doc/autoconf.texi: Add [] to examples, so that the manual
7180         follows its own advice about quoting better.
7181         Reword to avoid some formatting glitches.
7182         * doc/installt.exi: Reword to avoid some formatting glitches.
7184         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
7185         Tru64 ksh pattern matching bug.  Reported against Libtool by
7186         Albert Chin <libtool@mlists.thewrittenword.com> and
7187         Nicolas Joly <njoly@pasteur.fr>.
7189 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
7191         m4_cdr of one-member list was [[]] (one-member list containing an
7192         empty string) instead of [] (an empty list.  Callers were skewed to
7193         match this misbehaviour.  As a consequence of this:
7194          - m4_foreach([x], [], [foo]) expanded to `foo', while
7195          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
7196         This bug has been fixed:
7198         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
7199           expand to an empty string; print error msg if called without
7200           an argument list.
7201         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
7202           misbehaviour; handle [] and [[]] correctly.
7204 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
7206         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
7207         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
7208           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
7210 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
7212         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
7213           swallow records with more than 99 fields.
7214         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
7215           parse the long line.
7217 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
7219         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
7220           swallow literals longer than 399.  Reported by Ralf Wildenhues.
7221         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
7222           to workaround this limitation.
7224 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
7226         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
7227         to gfortran, and make these the first two compiler names
7228         checked (following the general autoconf preference for gcc).
7230 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
7232         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
7233         (DISTCLEANFILES): Remove $(check_SCRIPTS).
7234         (testsuite): Make sure autotest.m4f is up-to-date before using it.
7236 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
7238         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
7239         expression of unbounded size when processing the --list
7240         option.  This runs afoul of a limit of 399 bytes per regular
7241         expression on AIX.  Problem reported by Ralf Wildenhues.
7243 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
7245         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
7246         * doc/autoconf.texi (Particular Headers): Reword example
7247         for multiline stdbool replacement.
7248         (Setting Output Variables): Reword text a bit.  Don't
7249         give all the details about |#_!!_#|.
7250         Reword description of line replacement.
7252 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
7254         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
7255         now contain newlines, and substituted files must be referenced on
7256         a line alone; the sed scripts to substitute them are now very
7257         different.
7258         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
7259         commands can be put in a sed script portably.
7260         * doc/autoconf.texi (Setting Output Variables): Document above
7261         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
7262         use of multiline substitution.
7263         * tests/torture.at: No longer expect substitution of newline to fail.
7265 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
7267         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
7268         From Ralf Menzel (trivial change).
7270 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
7272         * tests/local.at: Don't attempt to check for negated character
7273         classes in shell scripts.  The test was too brittle.
7275 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
7277         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
7278         * doc/autoconf.texi (Limitations of Builtins): Document this
7279           limitation.
7281 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
7283         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
7284           common code; used in many places in the tree.
7285         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
7286         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
7288         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
7290         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
7291           messages when ac_unique_file is not found.
7292         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
7293         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
7294           commands, for consistency with AC_MSG_ERROR and such.
7296         * bin/autoconf.as: Make more use of "shift 2" in option processing.
7298         * bin/Makefile.am: Merge the two rules for creating scripts.
7300 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
7302         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
7303         obsolete; it was never documented.
7304         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
7306 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
7308         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
7309         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
7310         (ac_top_builddir): ... this ...
7311         (ac_top_build_prefix): ... to this; the old name is also kept, for
7312           backward compatibility.
7313         (ac_top_builddir_sub): New variable, without the trailing slash,
7314           always nonempty.
7315         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
7316         * doc/autoconf.texi (Configuration Actions): Rename
7317           ac_top_builddir to ac_top_build_prefix.
7318         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
7319           at_top_builddir to at_top_build_prefix.
7320         * lib/autotest/general.m4 (AT_INIT): Likewise.
7322 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
7324         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
7325           of confdefs.h .
7327 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
7329         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
7330           argument to m4_foreach.  I guess it was necessary in the past,
7331           but I think it's a no-op now.
7333 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
7335         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
7336           ``cat <<_ACEOF'' commands to one.
7337         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
7338         * lib/autoconf/status.m4: On various places, use expr instead of
7339           ``echo|sed.''
7340         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
7341         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
7342         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
7343           a range.
7344         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
7345           the wrong patterns between ``case'' and ``esac.''  The previous
7346           code had false positives.
7348 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
7350         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
7351         as on 2005-05-02.
7352         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
7353         Mention LIBOBJDIR.
7355 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
7357         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
7358         ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
7359         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
7360         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
7361         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
7362         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
7363         config/config.guess, config/config.sub, config/elisp-comp,
7364         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
7365         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
7366         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
7367         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
7368         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
7369         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
7370         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
7371         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
7372         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
7373         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
7374         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
7375         lib/autoconf/general.m4, lib/autoconf/headers.m4,
7376         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7377         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
7378         lib/autoconf/specific.m4, lib/autoconf/status.m4,
7379         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
7380         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
7381         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
7382         lib/autotest/general.m4, lib/emacs/Makefile.am,
7383         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
7384         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
7385         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
7386         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
7387         tests/compile.at, tests/foreign.at, tests/fortran.at,
7388         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7389         tests/semantics.at, tests/suite.at, tests/tools.at,
7390         tests/torture.at, tests/wrapper.as:
7391         Update FSF postal mail address.
7393 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
7395         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
7396           check.
7397         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
7398           enough arguments, similarly as in m4_bpatsubsts.
7400 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
7402         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
7403           of absolute paths.
7405 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
7407         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
7408           for absolute directory names in one loop.
7409         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
7410           abbreviations of --version and --debug.
7412 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
7414         * doc/autoconf.texi (Autoconf Language): Be more precise about
7415         quoting rules.  Problems noted by Stepan Kasal.
7416         Also, throughout this document, be more careful about white space.
7417         "blank", "white space", and "space" all have different meanings
7418         and we should be careful to say what we mean.
7420 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
7422         Fix C++ related problems reported by Werner Lemberg.
7423         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
7424         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
7425         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
7426         avoid problems with C++ and throw.
7427         * tests/compile.at: .cpp, not .cc.
7429         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
7431 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7433         * doc/autoconf.texi (Generic Functions): Typos.
7435 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
7437         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
7438         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
7439         set by latest automake.
7441 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
7443         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
7444         outputs 0 on GNU/Linux these days.
7446 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
7448         * doc/autoconf.texi (Autoconf Language): Add more description
7449         about quoting heuristics.
7450         (Limitations of Builtins): Describe "set -" problems.
7452 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7454         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
7455         not newline.
7457         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
7458         by AC_DEFINE; it was a mistake.
7459         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
7461 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
7463         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
7465 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
7467         * doc/autoconf.texi (External Software): Quadrigraphs are not
7468           processed correctly in AS_HELP_STRING; avoid this in the examples.
7469         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
7470         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
7471           comment and reduce m4_default([foo], []) to [foo].
7472         (m4_strip): Update the explanation.
7474 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
7476         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
7477         Remove core.conftest.* too; it's generated by Tru64 5.1.
7478         Problem reported by Jennis Pruett.
7479         * lib/autoconf/functions.m4
7480         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
7481         Don't bother to remove core files; AC_RUN_IFELSE should do that
7482         for you.
7484 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
7486         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
7488 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
7490         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
7491         Report from Horst Wente.
7493 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
7495         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
7496           the comment.
7498 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
7500         * doc/autoconf.texi (External Software, Package Options): Add
7501           examples showing how to implement --with-* and --enable-* options.
7503 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
7505         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
7506         as well as configure.in.  Problem reported by Gregorio Guidi.
7508 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
7510         * doc/autoconf.texi (Particular Functions): Use gnulib's current
7511         pattern for alloca snippet.
7513 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
7515         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
7517 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
7519         * doc/autoconf.texi (Generic Programs): Fix a typo.
7521 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
7523         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
7524         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
7526 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7528         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
7529         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
7530         whole-archive (-zallextract, -zdefaultextract) options in the hope of
7531         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
7532         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
7534 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
7536         * NEWS: The configure command now warns you if you attempt to use
7537         a directory whose name contains a special character like space,
7538         newline, or "\".
7539         * doc/autoconf.texi (Installation Directory Variables): Allow
7540         "," in file names.  Do not use \@; it's not a portable regexp.
7541         * bin/Makefile.am (edit): Likewise.
7542         * lib/Makefile.am (edit): Likewise.
7543         * tests/Makefile.am (edit): Likewise.
7544         * tests/semantics.at: Likewise.
7545         * tests/torture.at: Likewise.
7546         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
7547         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
7548         * doc/autoconf.texi (File System Conventions): Warn about
7549         unportable file names.
7550         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
7551         (AC_INIT): Use it.
7552         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
7553         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
7554         ac_pwd, and quote srcdir.
7555         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
7557         * doc/autoconf.texi: Fix some systematic formatting problems.
7558         ".)"  needs a following @: if not at the end of a sentence, and
7559         similarly for "!)".  "etc." should be preceded by a comma.
7560         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
7562 2005-03-22  Bruno Haible  <bruno@clisp.org>
7564         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
7565         argument is often called 'build-aux'.
7567 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
7569         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
7570           macro AC_TRY_LINK is obsolete.
7571         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
7572           `AC_CONFIG_FILES'.
7574 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
7576         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
7577           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
7578           from a Common Lisp's `cl'.
7579         (AC_PROG_CXX): Behave according to the documentation: don't
7580           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
7581           make the variable CCC precious; use `cl.exe', not `cl'.
7583 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
7584             Alexandre Duret-Lutz  <adl@gnu.org>
7586         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
7587         /dev/null, as "configure" shouldn't read stdin, and this insulates
7588         us from problems (e.g., when testing for "cl").  Also, do this
7589         redirection before invoking "hostname" or "uname", and keep the
7590         original input stream available via...
7591         (AS_ORIGINAL_STDIN_FD): ... this new macro.
7592         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
7593         bother with "</dev/null" since it's now done at the top of
7594         'configure'.
7595         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
7596         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
7597         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
7598         * doc/autoconf.texi (File Descriptor Macros): New section.
7599         (Printing Messages): Mention it.
7600         * tests/base.at (Input/Output): New test.
7602 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
7604         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
7605         newline if neither \c nor -n work, as that would output two
7606         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
7608 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
7610         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
7611         This causes that any required macros inside will get before the if.
7612         * doc/autoconf.texi (autom4te.cache): A typo.
7614 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
7616         Undo previous change, except keep the change to
7617         lib/autoconf/programs.m4 that replaced grep with shell
7618         pattern-matching.  This is because net-snmp configure reads stdin.
7619         Reported by Noah Misch.
7621 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
7623         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
7624         from /dev/null, as "configure" shouldn't read stdin, and this
7625         insulates us from problems (e.g., when testing for "cl").
7626         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
7627         before invoking "hostname" or "uname".
7628         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
7629         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
7630         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
7631         "</dev/null" since it's now done at the top of 'configure'.
7632         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
7633         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
7634         Also, replace grep with shell pattern-matching, to save a process.
7636 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
7638         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
7639         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
7640         avoid thinking that Allegro Common Lisp's "cl" command is a C++
7641         compiler.
7643 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7645         * doc/autoconf.texi (Limitations of Usual Tools): Document that
7646         grep -q isn't portable.  Improve grep -s explanation.
7647         Problem reported by Dan Manthey.
7649 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
7651         * doc/autoconf.texi (Special Shell Variables): Clarify
7652         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
7654 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7656         * doc/autoconf.texi: Use @acronym for DJGPP.
7657         Fix some @code's that should have been @env's, and vice versa.
7658         Sort environment variable names.
7659         Mention that shells no longer inherit IFS.
7660         Don't recommend PATH_SEPARATOR=';' so strongly.
7661         Mention that $RANDOM might expand to the empty string.
7662         "symlink" and "soft link" -> "symbolic link".
7663         Improve mktemp description (reported by Bruno Haible).
7665 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
7667         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
7668         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
7669         Likewise.
7670         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
7671         Likewise.
7673 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
7675         * NEWS: Mention AT_COPYRIGHT.
7677         * tests/local.at (AT_CMP): Use diff directly on input files rather
7678         than copying them.
7680         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
7681         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
7683 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
7684         and Paul Eggert  <eggert@cs.ucla.edu>
7686         * tests/autotest.at (Empty test suite): New test.
7687         * tests/torture.at (Substitute and define special characters)
7688         (Substitute a 2000-byte string, Define to a 2000-byte string)
7689         (Substitute a newline, Define a newline): New tests.
7691 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
7693         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
7694         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
7695         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
7696         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
7697         (Standard regular expressions): New test.
7698         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
7699         excess test name quoting.
7700         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
7701         CPPFLAGS to `configure' instead of setting it in `configure'.
7703         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
7704         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
7705         on some platforms.
7707         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
7708         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
7710         * tests/local.at (AT_CMP): New macro.
7711         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
7712         (AC_SAVE_STATE): Move environment grep...
7713         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
7714         (AT_CONFIG_CMP): New macro.
7715         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
7716         * tests/c.at (Extensions): Do not exit early.
7717         * tests/atlocal.in: Inherit $GREP.
7719         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
7720         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
7722         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
7723         (AC_COPYRIGHT): Factor header comment portion out and move into...
7724         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
7725         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
7726         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
7727         --version output.
7728         * tests/local.at: Add Autoconf test suite copyright notice.
7729         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
7731 2005-02-04  Bruno Haible  <bruno@clisp.org>
7732         and Paul Eggert  <eggert@cs.ucla.edu>
7734         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
7736 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
7738         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
7739         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
7741         Try not to generated lines of unlimited length, as POSIX places a
7742         2047-byte limit on line length of portable text files.
7743         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
7744         Use newline as a separator, not space.
7745         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
7746         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
7747         space.
7749 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7751         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
7752         as_func_*.  Add test to check whether positional parameters
7753         are restored after function return.
7755 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
7757         * doc/autoconf.texi (Special Shell Variables): Mention _,
7758         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
7759         if they contain a lower-case letter.  The DUALCASE problem was
7760         reported by Ralf Wildenhues.
7762         * bin/autoconf.as: Don't exit with status 0 after write failure
7763         with --help or --version.
7764         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
7765         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
7767 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7769         * doc/autoconf.texi (Limitations of Usual Tools):
7770         Unicos 9 sed limitations.
7771         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
7772         to get the option-enhanced interface on older Crays.  Try ftn for
7773         Fortran 95 (newer Crays).
7775 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
7777         * man/Makefile.am (.x.1): Go back to the simple solution, but take
7778         care to echo the commands, so the user knows what's going on.
7779         Modified from a suggestion by Stepan Kasal.
7781         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
7782         with a cross reference.  Derived from a suggestion by Bruce Korb.
7784 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
7786         * doc/autoconf.texi (config.status Invocation): Warn about
7787         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
7788         * doc/install.texi (Defining Variables): Likewise.
7789         Based on a proposed patch by Ralf Wildenhues.
7791         * man/Makefile.am (.x.1): Make sure the required generated files
7792         are up to date.  Problem and original solution proposed by Stepan Kasal.
7793         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
7794         implicit-man-prerequisites): New rules, used by the above.
7796         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
7797         * config/config.guess, config/config.sub, config/install-sh: Likewise.
7798         * config/missing, config/texinfo.tex: Likewise.
7800 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
7802         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
7803         Update the long comment explaining it.
7805         m4_require no longer writes an ``is required by'' line to the
7806         execution stack.  It contains only one bit of non-redundant
7807         information: that the macro was required, not called.  And even
7808         this bit is useless in most situations: have you ever met a macro
7809         which both calls and requires the same macro?
7811         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
7812         (_m4_defun_pro_outer): ... only via this macro, for the outermost
7813           macro.
7814         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
7815         (m4_expansion_stack_pop): Remove the misplaced comment.
7816         (m4_require): Don't put the ``is required by'' line to the
7817           execution stack; slightly improve the out-of-a-defun error message.
7818         (_m4_divert_grow): New macro, counter for the temporary diversions.
7819         (_m4_require_call): Use it.
7820         * tests/m4sugar.at (m4_require): Expect output without the
7821           ``is required by'' messages.
7823 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
7825         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
7826         rather than x for expr.
7828         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
7829         this is safe.
7830         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
7831         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
7832         * lib/autotest/general.m4 (AT_INIT): Likewise.
7833         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
7834         * tests/mktests.sh: Likewise.
7836 2005-01-27  Akim Demaille  <akim@epita.fr>
7838         Have autoheader honor --force.
7840         * doc/make-stds.texi, doc/standards.texi: Update from masters.
7841         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
7842         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
7843         from masters, so that FileUtils.pm's update_file provide --force
7844         support.
7845         * bin/autoheader.in: Pass $force to update_file so that
7846         config.h.in is always recreated when --force.
7848 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
7850         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
7852 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
7854         * doc/autoconf.texi (Limitations of Builtins): Clarify that
7855         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
7857 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
7859         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
7860         Warn about newline stripping in `` and $().  Update Solaris
7861         version to 9.
7862         (Limitations of Builtins): Use expr "X...", not expr "x...", as
7863         X insulates us from future changes to Posix.
7864         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
7865         stripping.
7867 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
7869         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
7870           you cannot use AC_DEFINE to define macros containing `[' or `]'.
7872 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
7874         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
7875         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
7876         bug-tar mailing list.
7878 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
7880         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
7882 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
7884         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
7885         ulongval to be static, to avoid unwanted GCC warning.  Problem
7886         reported by Michael Jennings via Daniel Reed; see
7887         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
7889 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
7891         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
7892         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
7893         datadir, infodir, and mandir.  Adjust argument parsing code.
7894         (_AC_INIT_HELP): Update help text.
7895         * doc/autoconf.texi (Installation Directory Variables): Document
7896         new variables.
7898 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
7900         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
7901         not seem to work, assume it does set $(MAKE).
7902         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
7904 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
7906         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
7908 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
7910         A cleanup of the diversion support in m4sugar.
7912         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
7913         (_m4_divert_n_stack): New macro; the expansion is
7914           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
7915           otherwise.
7916         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
7917         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
7918           stored in _m4_divert_diversion or _m4_divert_dump.
7919         (m4_divert_pop): When the parameter is given, compare the symbolic
7920           name with the last diversion pushed on the stack.  Previously, the
7921           current diversion was compared with the numeric value of the
7922           diversion given as the parameter.
7923         (m4_require): If the macro hasn't been expanded yet, call ...
7924         (_m4_require_call): this new macro.
7926 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7928         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
7929         Workarounds for documented `case' limitations.
7931 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
7933         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
7934         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
7936 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
7938         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
7939         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
7940         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
7942         Patch from Roger Leigh (with some minor changes) as follows:
7943         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
7944         Resurrect AC_PROG_CC_STDC.
7945         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
7946         AC_PROG_CC_C89, AC_PROG_CC_C99.
7947         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
7948         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
7949         AC_PROG_CC_C99): New macros.
7950         (AC_PROG_CC_STDC): Use them.
7951         (_AC_PROG_CC_STDC): Remove.
7952         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
7953         * THANKS: Add Roger Leigh.
7955 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
7957         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
7958         signals that the package uses Automake; a `Makefile.am' is typical but
7959         not essential.  Reported by Magnus Therning.
7960         * tests/torture.at (autoreconf.): New banner.
7961         (autoreconf and non-AC configure): Rename to `Non-Autoconf
7962         AC_CONFIG_SUBDIRS'.
7963         (autoreconf an empty directory): Rename to `Empty directory'.
7964         (Unusual Automake input files): New test.
7966 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
7968         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
7969         (AT_SETUP): Clear AT_capture_files.
7970         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
7971         (AT_KEYWORDS): Fix comment typo.
7972         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
7973         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
7974         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
7976 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
7978         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
7979         If the variable to set is already set, set ac_cv_path_$1
7980         to the preset value so caller can assume ac_cv_path_$1
7981         is available.  (trivial change)
7983 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
7985         * BUGS (Minor Problems): Warn about makefile limitations.
7986         * Makefile.am: Find and update `INSTALL' in $(srcdir).
7987         * man/Makefile.am: Find and update manual pages in $(srcdir).
7989 2004-12-24  Eric Blake  <ebb9@byu.net>
7991         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
7992         shells in subshell, to avoid noise from ash.  (trivial change)
7994 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7996         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
7997         problems with SunOS ksh and backslash escaping, Bourne shells and
7998         closing brackets (both within character classes).  Bug reported
7999         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
8000         <read>: New entry.  Mention non-availability of -r.
8002 2004-12-21  Akim Demaille  <akim@epita.fr>
8004         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
8005         avoid cluttering displayed messages.  Rather, prepend srcdir where
8006         AT_LINE is used for log files.
8008 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
8010         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
8011         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
8012           no longer part of the macro, quote the occurrence of ``$tmp''.
8013         * doc/autoconf.texi (Forbidden Patterns): Typo.
8015 2004-12-21  Akim Demaille  <akim@epita.fr>
8017         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
8018         separated from the test title by forcing a white space.
8020 2004-12-21  Akim Demaille  <akim@epita.fr>
8022         Enable Emacs navigation within testsuite.log files.
8024         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
8025         use the compilation mode.
8026         (AT_LINE): Point to the srcdir.
8028 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
8030         * tests/Makefile.am (installcheck-local): Use $(bindir).
8031         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
8032         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
8033         Makefile.am scheme Autoconf now uses.
8035 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
8037         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
8038         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
8040 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
8042         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
8043         (_AT_CHECK): Use it.
8044         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
8045         (AS_ESCAPE): Fix comment.
8046         * tests/autotest.at: Adjust section banner comments.
8047         (AT_CHECK_AT): Accept STATUS and STDERR.
8048         (AT_CHECK_AT_TEST): Likewise.
8049         (Invalid brace-enclosed parameter expansion)
8050         (Multiline command from M4 expansion)
8051         (Double-M4-quoted command): New tests.
8053 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8055         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
8057 2004-12-17  Akim Demaille  <akim@epita.fr>
8059         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
8060         m4_pattern_allow.
8061         Suggested by Alexandre Duret-Lutz.
8062         * doc/autoconf.texi (Setting Output Variables): Catch up.
8064 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
8066         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
8068 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
8070         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
8071           remove the comment which said we cannot.
8073 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
8075         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
8076         Reini Urban and Paul Eggert for reporting the dependencies.
8078         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
8079         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
8080         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
8082 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
8084         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
8085           so that eg. ``autoscan --help'' doesn't truncate it.
8087 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
8089         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
8090         generated conftest files.
8092 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
8094         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
8095         tracing on commands with possibly-escaped newlines.
8096         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
8097         discontinued behavior and its implications.
8098         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
8099         (BSx641-newline in command, BS-BS-newline in command)
8100         (BSx640-newline in command, Newline-CODE-BS-newline in command)
8101         (Single-quote-BS-newline in command)
8102         (Single-quote-newline-BS-newline in command): New tests.
8104 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
8106         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
8107           on platforms where it works.
8108         (_AS_TEST_PREPARE): Test for ``test -x''.
8109         (_AS_BROKEN_TEST_PREPARE): Nuke.
8111 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
8113         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
8114         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
8115           give only 4-letter prefix to AS_TMPDIR, comment fixed.
8116         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
8117           create the temporary directory.
8118         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
8120 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
8122         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
8123         (trivial change)
8125 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
8127         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
8129 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
8131         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
8132         to avoid using a negated character class.  Reported by Nicolas Joly.
8133         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
8135 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8137         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
8138         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
8139         Don't depend on .x file explicitly, since "make" does that for us.
8140         Suggested by Stepan Kasal.
8142         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
8143         Add *.tmp.
8144         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
8145         ifnames): Factor common code.  And they said it couldn't be done!
8147 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
8149         * bin/.cvsignore: Add autoconf.in.
8150         * tests/.cvsignore: Add wrapper.in.
8151         * lib/autotest/general.m4: Escape '$' in case pattern.
8153 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
8155         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
8157         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
8159         * tests/autotest.at: New file.
8160         * tests/suite.at: Include it.
8161         * tests/Makefile.am: Distribute it.
8163         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
8164           shell tracing on a command that could contain multiple lines.
8165         * doc/autoconf.text: Document that fact and its implications.
8166         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
8167         * tests/autotest.at (Multiline backquote command substitution,
8168           Multiline parameter expansion, Literal multiline command,
8169           Multiline parenthetical command substitution): Remove XFAIL.
8171 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
8173         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
8174         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
8176 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
8178         * configure.ac (test suite): Cease to generate wrapper scripts.
8179         * configure: Regenerate.
8180         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
8181         (m4f_dependencies): Adjust accordingly.
8182         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
8183         (wrapper.in): Generate it in the build directory.
8184         (MAINTAINERCLEANFILES): Delete wrapper.in.
8185         (CLEANFILES): Add wrapper.in.
8186         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
8187         the output.  Replace each $as_me with a @wrap_program@.
8188         * tests/wrapper.in: Delete it; we always build it.
8190         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
8191         (EXTRA_DIST): Remove autoconf.in.
8192         (CLEANFILES): Add autoconf.in.
8193         (autoconf): Find autoconf.in in the build directory.
8194         * bin/autoconf.in: Delete it; we always build it.
8196 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
8198         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
8199         PATH members so as to not prepend an empty element.  Move a comment.
8200         * Makefile.am (SUBDIRS): Build in `tests' last.
8201         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
8203 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
8205         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
8206         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
8207         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
8208         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
8210 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
8212         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
8213         patch: extra "-l"s.
8215 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
8217         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
8218         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
8219         * doc/autoconf.texi (Particular Functions): Mention new behavior.
8221 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
8223         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
8224           out the common code to ...
8225         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
8226           value of the #define--default to 1, iff the macro was called
8227           with exactly one parameter.
8229 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
8231         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
8232         "char c = '\200';" rather than "char c = 0x80;" as the
8233         latter doesn't conform to the strict C standard due to
8234         overflow on signed char hosts.
8236         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
8237         to -qlanglvl=ansi.  We don't want to disable extensions.
8239 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
8241         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
8242         (Using Autotest, testsuite Scripts, Writing testsuite.at):
8243         Reword slightly to avoid some English-language problems noted
8244         by Ralf Wildenhues in:
8245         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
8247 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
8249         * NEWS: Add ^L above each release.
8251 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
8253         Fix documentation problems reported by Russ Boylan in
8254         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
8255         along with some nearby cruft.
8256         * doc/autoconf.texi (Libtool): Libtool can be used without
8257         Automake (not without Autoconf).
8258         (Introduction): Mention lists.gnu.org.
8259         * BUGS: Don't mention bugs.gnu.org.
8260         Remove mention of ancient libtool compatibility problem.
8261         * NEWS: Mention that bugs.gnu.org is kaput.
8262         * README: Likewise.  Mention where mailing list archives can be found.
8264 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
8266         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
8268 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
8270         * doc/autoconf.texi (Pretty Help Strings): Go back to
8271         single-quoting assignments to cache variables.
8273 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
8275         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
8276         with the examples; fix the bug in MY_ARG_WITH example reported
8277         by Alexandre Duret-Lutz.
8278         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
8279         expansion of $1 in the comment emitted to configure.
8281 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
8283         * doc/autoconf.texi (Pretty Help Strings): Fix typo
8284         in my editing of the previous patch.  Problem reported
8285         by Alexandre Duret-Lutz.
8287 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
8289         * doc/autoconf.texi (Autoconf Language): Explain that
8290         ``descriptions'' may not be double quotes.
8291         (Quotation Rule Of Thumb): Likewise.
8292         (Pretty Help Strings): Likewise; remove the wrong comment;
8293         simplify the examples and improve their quoting.
8295 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
8297         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
8298         the $1_found variable, don't test whether the file is executable;
8299         Both things are checked ...
8300         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
8301         the former ``test -f''.
8302         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
8304 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
8306         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
8307         use cp -R instead.
8309 2004-11-10  Derek R. Price  <derek@ximbiot.com>
8311         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
8312         limitations.  Reorder paragraphs for clarity.
8314 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
8316         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
8317         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
8318         variants", "Unix", and some related minor wording fixups.
8320         (Shellology, Special Shell Variables): Document that the Zsh
8321         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
8322         to Alexandre Duret-Lutz for this info.
8324 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
8326         * doc/autoconf.texi (One-Shot Macros): New node.
8328 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
8330         * doc/autoconf.texi (Function Portability): Fix misdescription
8331         of putenv.  Problem reported by Michael Wardle.
8333 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
8335         * doc/autoconf.texi (auindex): New macro.
8336         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
8337         Problem reported by Stepan Kasal.
8339 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
8341         Fix problems reported by Andreas Buening in:
8342         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
8343         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
8344         in test makefile.
8345         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
8346         readable; it's not true in OS/2-emx.
8348 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
8350         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
8351         "/usr/include", clear ac_x_includes instead of leaving it as "no"
8352         (trivial change).  Problem and patch reported by Andrew Church in:
8353         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
8355 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
8357         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
8358         three args in examples.  Problem reported by Frederik Fouvry in:
8359         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
8360         Also, fix some minor spacing and punctuation bugs.
8362 2004-09-02  Akim Demaille  <akim@epita.fr>
8364         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
8365         "case" to restore ordering.
8366         Reported by Stepan Kasal.
8368 2004-08-26  Akim Demaille  <akim@epita.fr>
8370         * doc/autoconf.texi: Minor typos and stylos.
8372 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
8374         * configure.ac (AC_INIT): Bump to 2.59c.
8376 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
8378         Version 2.59b.
8380         * README: Add advice about m4 1.4.2.
8382         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
8383         texinfo.tex for now (done by hand now).
8384         * Makefile.maint (wget_files, cvs_files):
8385         Remove ansi2knr.c; nobody uses it.
8386         (ansi2knr.c-url_prefix): Remove.
8387         (cvs-update): Fix test for failure.  I don't know why it ever
8388         worked...
8390         * doc/autoconf.texi: Update URLs, some of which went stale.
8391         Use @uref rather than @href.
8393         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
8394         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
8396         * config/config.guess, config/config.sub, config/elisp-comp,
8397         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
8398         doc/fdl.texi, doc/standards.texi: Sync with master copy.
8400         * NEWS, TODO, configure.ac, bin/autoscan.in,
8401         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
8402         doc/install.texi, lib/Autom4te/Configure_ac.pm,
8403         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
8404         lib/autoconf/programs.m4, lib/autoconf/status.m4,
8405         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
8406         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
8407         tests/tools.at, tests/torture.at:
8408         Use "file name" rather than "filename" or "path",
8409         to be consistent with the terminology of the GNU coding standards.
8411 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
8413         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
8414         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
8415         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
8416         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
8418         More fixes to support spaces in the name of the build directory.
8419         This isn't a complete fix but it's an improvement.
8421         * bin/autoconf.as (autom4te_options): New var.
8422         Use it instead of appending to AUTOM4TE, so that we can allow
8423         spaces in the build directory's absolute name.
8424         * bin/autoheader.in ($autoconf): Allow spaces in file names.
8425         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
8426         AT_CHECK_NOESCAPE): Likewise.
8427         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
8428         main program): Likewise.
8430 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8432         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
8433         From Ralf Corsepius in:
8434         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
8436 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
8438         * doc/autoconf.texi (Function Portability): Document isinf and
8439         and isnan.  From a suggestion by Kevin Ryde.
8441         * lib/Autom4te/General.pm (END): Return correct exit status even
8442         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
8444 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
8446         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
8447         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
8448         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
8450 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
8452         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
8453         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
8454         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
8455         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
8456         * lib/autom4te.in (Automake-preselections): Preselect
8457         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
8459 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
8461         * lib/autom4te.in (Automake-preselections): Preselect
8462         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
8463         trace them.
8465 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
8467         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
8468         Tru64.
8469         * doc/autoconf.texi (Shellology): Mention BIN_SH.
8470         Document problem with "`""`" in pdksh POSIX mode.
8472 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
8474         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
8475         with pdksh, too.  Problem reported by Patrick Welche via
8476         Gary V. Vaughan.
8477         * doc/autoconf.texi (Shellology): Note that set -o posix is
8478         useful for pkdsh, too.
8480 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
8482         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
8483         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
8484         Don't fail if ENV or BASH_ENV is readonly.
8485         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
8486         etc. are read only.  Problem reported by Ludovic Courtes.
8488 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
8490         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
8491         zsh, disable GLOB_SUBST to avoid backslash handling problems.
8492         (trivial change)
8494 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
8496         * doc/autoconf.texi (File System Conventions): Warn about
8497         names like "aux".  Problem reported by Eric Blake.
8499         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
8500         by zero instead of array size, so that we can use any arithmetic
8501         constant expression (instead of requiring an integer constant
8502         expression).  This allows us to test expressions like DBL_MAX <
8503         LDBL_MAX, which didn't conform to the C standard using the old
8504         method.
8505         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
8506         now that we can do floating-point tests at compile time.
8508 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
8510         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
8511         and LDBL_EPSILON, as the resulting expression isn't an
8512         integer constant expression and violates the C standard.
8513         Problem reported by Nelson H. F. Beebe.  Also, check
8514         for "L" suffix, and check that long double doesn't have
8515         worse range or precision than double, that mixed-mode
8516         arithmetic doesn't generate a diagnostic, that double
8517         constants fit in long double.
8519 2004-06-03  Kevin Ryde  <user42@zip.com.au>
8521         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
8522         malloc(0) and realloc(NULL,size).
8524         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
8525         Bob Proulx.
8527 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
8529         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
8530         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
8531         by Jim Meyering.
8533 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
8535         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
8536         can be rewritten using if-then-else.  Suggested by Bruno Haible.
8538 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
8540         * doc/autoconf.texi (testsuite Scripts): Fix typo.
8541         Problem reported by Stepan Kasal.
8543 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
8545         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
8546         change).  Patch reported by Ralf Wildenhues in
8547         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
8549         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
8550         function F exists if the compiler and linker let you compile an
8551         expression like (F != 0).  Recent versions of GCC optimize away
8552         the reference to F in that case, since every function address must
8553         be nonzero, so the link succeeds even if F does not exist.
8554         Problem reported by Manu in
8555         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
8557         * doc/autoconf.texi (Systemology): Standardize on the spelling of
8558         "Unix".  Many uses changed.
8559         (Limitations of Builtins): Explain better why the ! command isn't
8560         portable.
8562 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
8564         * lib/autom4te.in (Automake-preselections): Preselect
8565         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
8567 2004-05-19  Kevin Ryde  <user42@zip.com.au>
8569         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
8570         referencing AC_FUNC_STRERROR_R.
8572         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
8573         note pessimistic assumption when cross compiling.
8575 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
8577         * doc/autoconf.texi (Limitations of Make): Note that BSD make
8578         (until 2004) invoked subcommands with sh -e, contra POSIX.
8579         Reported by Kevin Ryde.
8581 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
8583         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
8584         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
8585         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
8586         `test -f "        /usr/bin/grep"', which _always_ failed.
8587         (AC_PROG_SED): Ditto bogus PATH fix.
8588         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
8589         requires that grep correctly supports _multiple_ `-e' options, rather
8590         than stating only that grep should accept `-e'.
8592 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
8594         Port to C99, which requires that 'exit' be declared.
8596         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
8597         to ensure that stdlib.h is included.
8598         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
8599         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
8600         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
8601         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
8602         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
8603         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
8604         when using 'exit' in a test; C99 requires that 'exit' be declared.
8606 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
8608         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
8609         now prefers 'grep' implementations that accept -e.
8610         (Limitations of Usual Tools): Describe problems of traditional
8611         egrep and fgrep with long input lines, and of traditional grep
8612         with -e.
8613         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
8614         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
8615         All callers changed.  Append /usr/xpg4/bin to the PATH, for
8616         Solaris.
8617         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
8618         the user with complaints about multiple -e options.
8619         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
8620         Define it with AC_PROG_GREP.
8621         * configure.ac (AC_PROG_GREP): Add.
8622         * lib/freeze.mk (GREP): New macro.
8624 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
8626         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
8627         a possible candidate only after all others fail, rather than
8628         consulting it first.  This improves backward compatibility by
8629         better reflecting the way shell selection occurred in previous
8630         versions of Autoconf, and should help to avoid triggering latent
8631         problems in other packages, such as the one in Automake where zsh
8632         is not handled robustly:
8633         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
8634         Although it is not Autoconf's responsibility to work around
8635         problems in Automake, it nevertheless makes sense to avoid
8636         introducing unnecessary incompatibilites.
8638 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
8639             Gary V. Vaughan  <gary@gnu.org>
8641         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
8642         how deeply nested we are when a suitable tool is found, set the
8643         ac_path_TOOL_found flag.
8644         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
8645         nested we are in this macro.  Break out of all 3 nested loops if
8646         ac_path_TOOL_found is set.
8648 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
8650         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
8651         of the _AS_PATH_WALK loop too if GNU flavor is found.
8653 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
8655         * doc/autoconf.texi (Limitations of Make): Update documentation
8656         for `$<'.  New entry `Long lines', based on a report from Simon
8657         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
8658         paragraph about DJGPP, based on a mail from Richard Dawe.
8660 2004-04-20  Paul Eggert  <eggert@twinsun.com>
8662         * tests/c.at (C keywords): Don't assume that GCC supports
8663         "restrict" and "inline", as sufficiently-old GCC versions do not
8664         (also, GCC configured to be in pedantic C89 mode does not).
8665         Problem reported by Sumit Pandya in:
8666         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
8668         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
8669         consider -g to work if it generates warnings when plain compiles
8670         don't.  Problem reported by Braden McDaniel in:
8671         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
8673         * doc/autoconf.texi (Slashes): New section, to document a problem
8674         reported by Jim Meyering in:
8675         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
8677         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
8678         linker output files before linking, to work around IRIX 6 linker bug.
8679         Problem reported by Rainer Orth in:
8680         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
8682 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
8684         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
8685         best tool so far counter rely on the tool path variable name to
8686         avoid checks for one tool being affected by the results of running
8687         the length check on a previous tool.
8689         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
8690         match expression argument, as different greps have different
8691         regular expression flavours.
8692         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
8693         literals.
8694         (AC_PROG_EGREP): Pass 'EGREP$'.
8695         (AC_PROG_GREP): Pass 'GREP$'.
8697 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
8699         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
8700         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
8702 2004-03-29  Paul Eggert  <eggert@twinsun.com>
8704         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
8705         Types, Specific Compiler Characteristics, System Services,
8706         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
8707         etc. consistently instead of 'long', 'short', 'unsigned' etc.
8708         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
8709         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
8710         Likewise.
8711         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
8712         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
8713         AC_TYPE_OFF_T): Likewise.
8714         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
8715         Likewise.
8717         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
8718         pacify libtool 1.5.2.  Fix quoting problems in sed command.
8720 2004-03-28  Paul Eggert  <eggert@twinsun.com>
8722         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
8723         now defines HAVE_DECL_TZNAME if it is declared, when
8724         HAVE_STRUCT_TM_TM_ZONE is not defined.
8725         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
8726         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
8727         for HAVE_TZNAME.
8729 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
8731         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
8732         superfluous backslashing of quotes (") in sed expressions;
8733         thanks to Paul Eggert.
8735 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
8737         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
8738         Fortran compiler is ifort, also added pghpf; thanks to Nelson
8739         H. F. Beebe for the bug report.
8741 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
8743         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
8744         quoted -cmdline argument in Portland Group compiler (bug
8745         reported by Jeffrey J. Barteet).
8747 2004-03-25  Kevin Ryde  <user42@zip.com.au>
8749         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
8750         (Run Time): ... here, where it's now mentioned.
8752 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
8754         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
8755         inherits from language Autoconf-without-aclocal-m4.
8756         (Customizing autom4te): Adjust example; the cache must now be
8757         disabled for language Autoconf-without-aclocal-m4.
8759 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
8760             Nathanael Nerode  <neroden@twcny.rr.com>
8762         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
8763         AC_CHECK_TOOLS): Warn if a cross-tool is found without
8764         a prefix.
8765         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
8766         AC_CHECK_TARGET_TOOLS): New macros.
8767         * doc/autoconf.texi (Generic Programs): Document
8768         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
8769         AC_CHECK_TARGET_TOOLS, and warn for future changes
8770         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
8771         AC_CHECK_TOOLS.
8772         (Specifying Names): Document the reason for these future
8773         behavioral changes.
8774         * tests/mktests.sh: Do not generate tests for the
8775         new macros.
8776         * NEWS: Document these changes.
8778         * doc/autoconf.texi: Avoid macros with unbraced arguments,
8779         they make TeX hang up.
8781 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
8783         * NEWS: New macro AC_CHECK_ALIGNOF.
8784         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
8785         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
8786         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
8787         vowel.
8788         (AC_CHECK_ALIGNOF): New macro.
8789         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
8790         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
8791         those for sizeof.
8793 2004-03-03  Paul Eggert  <eggert@twinsun.com>
8795         * bin/Makefile.am (edit): Don't use $< in a context where
8796         POSIX doesn't require support for it.  Use $@.in instead.
8797         Problem reported by Anthony N. Frasso in
8798         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
8799         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
8801 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
8803         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
8804         from the next generation of Libtool.
8805         * lib/autom4te.in (Autoreconf-preselections): Ditto.
8807 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
8809         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
8810         is not always thread-safe.  Report from Nathanael Nerode.
8812 2004-02-18  Paul Eggert  <eggert@twinsun.com>
8814         Fix a dependencies problem, stemming from a Autoconf 2.59 build
8815         problem on QNX reported by Stephen Rasku in
8816         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
8818         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
8819         $(m4sh_m4f_dependencies); this removes a FIXME.
8820         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
8821         (MAINTAINERCLEANFILES): Split into pieces,
8822         one per related section.  Add $(srcdir)/wrapper.in.
8824 2004-02-09  Paul Eggert  <eggert@twinsun.com>
8826         * doc/autoconf.texi (Setting Output Variables): Emphasize that
8827         AC_SUBST provides no portable way to escape literal newlines.
8829         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
8830         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
8831         Darwin uses -lcrt2.o and there's little point to cataloging all
8832         the system variants.  Partial fix reported by Andreas Waechter in:
8833         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
8834         for bug reported by Nelson H. F. Beebe in:
8835         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
8837 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
8839         * doc/autoconf.texi (AU_DEFUN): Fix English,
8840         suggested by Paul Eggert.
8841         * lib/autoconf/autoupdate.m4: Correct reference to
8842         acobsolete.m4, suggested by Alexandre Duret-Lutz.
8844 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
8846         * bin/autoupdate.in: Define __file__ so that warnings
8847         refer to the correct file.
8848         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
8849         the behavior of the third argument.
8850         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
8851         correctly the behavior of the third argument.  Document
8852         what the three macros that AU_DEFUN defines do.  Fix
8853         warning message when the third argument includes $0
8854         (reported by Alexandre Duret-Lutz).
8856 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
8857             Eric Sunshine  <sunshine@sunshineco.com>
8858             Paul Eggert  <eggert@twinsun.com>
8860         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
8861         (AS_INIT): Output shell initialization there. Removed optional
8862         parameter. Expand _AS_SHELL_FN_SPY.
8863         (AS_INIT_WITH_SHELL_FN): Removed.
8864         (_AS_SHELL_FN_SPY): New macro.
8865         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
8866         macros.
8867         (AS_SHELL_SANITIZE): Remove loop to find better shell
8868         and documentation for the parameter.
8869         (_AS_DETECT_BETTER_SHELL): Move it here.
8870         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
8871         (_AS_RUN): Move it here, support testing with eval.
8872         (AS_REQUIRE_SHELL_FN): Require shell functions when
8873         it is used.
8874         (_AS_LINENO_WORKS): Put around braces, we do not
8875         trigger the bash bug anymore.
8876         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
8877         use AS_INIT_WITH_SHELL_FN.
8878         * bin/autoconf.in, tests/wrapper.in: Regenerated.
8880 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
8882         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
8883         * doc/autoconf.texi: Don't say that the third parameter
8884         is broken.
8885         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
8886         (AU_DEFUN): Honor the third parameter, create autoupdate
8887         macros with AU_DEFINE.
8888         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
8889         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
8890         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
8891         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
8892         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
8893         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
8894         AC_XENIX_DIR): Likewise.
8895         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
8896         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
8897         * lib/autoconf/status.m4: Remove FIXME.
8898         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
8899         that the macro is not present anymore in the updated
8900         configure.ac.
8901         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
8902         of autoupdate.
8904 2004-01-28  Paul Eggert  <eggert@twinsun.com>
8906         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
8907         copyright years.
8908         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
8909         2003 (except 1997) to the list of copyright years.  This undoes
8910         the 2003-05-22 change, which removed the older years from the list.
8911         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
8913 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
8914             Albert Chin-A-Young  <china@thewrittenword.com>
8916         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
8917         grep or ggrep program in PATH that accepts as long lines as
8918         possible.
8919         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
8920         AC_PROG_GREP.
8921         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
8922         egrep and fgrep respectively if $GREP -E/-F don't work.
8923         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
8924         _AC_PROG_GREP, and AC_PROG_SED.
8925         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
8926         longest input length accepted by a command.
8927         (AC_PROG_SED): Use it.
8928         * doc/autoconf.texi (Particular Programs): Document the changes.
8929         * NEWS: Updated.
8931 2004-01-27  Paul Eggert  <eggert@twinsun.com>
8933         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
8934         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8935         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
8936         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
8938         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
8939         bin/autoconf.in, config/Makefile.in, config/config.guess,
8940         config/config.sub, config/install-sh, config/mdate-sh,
8941         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
8942         lib/Makefile.in, lib/Autom4te/Makefile.in,
8943         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
8944         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
8945         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
8946         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
8947         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
8948         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
8949         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
8950         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
8951         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
8952         tests/actypes.at: Regenerate and/or sync with original
8953         sources.
8955 2004-01-26  Paul Eggert  <eggert@twinsun.com>
8957         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
8958         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
8959         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
8960         not <inttypes.h>.  Problem reported by Tim Mooney in
8961         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
8962         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
8963         Likewise.
8965         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
8966         otherwise "make check" fails because it forbids cmp (I guess
8967         because cmp treats files as binary on DOS-like systems).
8969         * tests/mktests.sh: Update copyright date to 2004, since some tests
8970         have changed in 2004.
8972 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
8974         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
8975         non-truncating sed or gsed program in PATH.
8976         * tests/acprograms.at: Add it.
8977         * doc/autoconf.texi (Particular Programs): Document it.
8978         * NEWS: Updated.
8980 2004-01-15  Paul Eggert  <eggert@twinsun.com>
8982         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
8983         -std1 disables some useful extensions on Tru64.  Problem reported
8984         by N. Lichtmaier in
8985         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
8987 2004-01-14  Paul Eggert  <eggert@twinsun.com>
8989         * doc/autoconf.texi (Programming in M4sh): Document that
8990         AS_MKDIR_P succeeds if the destination is a symbolic link
8991         to an existing directory.
8992         (Limitations of Usual Tools): Note that mkdir -p might not
8993         succeed on symlinks to directories.
8995 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
8997         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
8998         * bin/autoheader.in: Grammar fix in message.
8999         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
9000         Test for dir before calling mkdir -p.  (trivial changes)
9002 2004-01-13  Eric Blake  <ebb9@byu.net>
9004         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
9005         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
9007 2004-01-10  Jim Meyering  <jim@meyering.net>
9009         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
9011 2004-01-09  Paul Eggert  <eggert@twinsun.com>
9013         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
9014         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
9015         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
9016         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
9017         AC_COMPILE_IFELSE, since we now assume our caller invokes
9018         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
9019         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
9020         of AC_RUN_IFELSE; this avoids the warning mentioned above.
9021         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
9023 2004-01-07  Paul Eggert  <eggert@twinsun.com>
9025         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
9026         `"'...'"`, as it's confusing (and I suspect it may not work on
9027         some platforms).  The code was incorrect anyway, as it assumed
9028         that \$ evaluated to itself in that context.  Reported by
9029         Alexandre Duret-Lutz.
9031 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
9033         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
9034         and _LT_AC_TAGCONFIG.
9036 2004-01-06  Paul Eggert  <eggert@twinsun.com>
9038         * doc/autoconf.texi (One Macro Call): Fix an incorrect
9039         example, and add more examples.  Reported by Eric Sunshine.
9041 2004-01-05  Paul Eggert  <eggert@twinsun.com>
9043         * doc/autoconf.texi (Limitations of Usual Tools):
9044         Remove warning against "rm -fr" introduced yesterday; it
9045         was a false alarm.
9047         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
9048         autoscan, autoupdate, ifnames): Don't use chmod -w.
9049         * lib/Makefile.am (autom4te.cfg): Likewise.
9050         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
9051         "chmod -w".
9053 2004-01-04  Paul Eggert  <eggert@twinsun.com>
9054             Paolo Bonzini  <bonzini@gnu.org>
9056         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
9057         by doing lineno substitution only on lines containing "$LINENO".
9059 2004-01-04  Paul Eggert  <eggert@twinsun.com>
9061         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
9062         Use "rm -f" to remove conftest.sed, not plain "rm".
9063         Bug reported by David Relson in
9064         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
9066         * Makefile.am (autom4te-update):
9067         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
9068         * Makefile.maint (my-distcheck, do-po-update): Likewise.
9069         * doc/autoconf.texi (Guidelines): Likewise.
9070         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
9071         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
9072         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
9073         * lib/autotest/general.m4 (AT_INIT): Likewise.
9074         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
9075         * tests/Makefile.am (clean-local): Likewise.
9076         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
9077         srcdir): Likewise.
9078         * doc/autoconf.texi (Limitations of Usual Tools):
9079         Warn against "rm -fr".
9081 2004-01-03  Paul Eggert  <eggert@twinsun.com>
9083         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
9084         -c -o might not work.  From a suggestion by Kevin Ryde.
9085         (C Compiler, Generating Sources, Limitations
9086         of Usual Tools, Limitations of Make, Making testsuite Scripts):
9087         Don't put '-o' after non-options, as POSIX doesn't allow this.
9088         Mention that cc's name might be gcc or c89 or whatever.
9090 2004-01-04  Kevin Ryde  <user42@zip.com.au>
9092         * doc/autoconf.texi: Add various further index entries.
9094 2003-12-29  Paul Eggert  <eggert@twinsun.com>
9096         * bin/autoreconf.in (autoreconf_current_directory):
9097         Fix typo: mkdir without umask arg.
9099 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
9101         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
9102         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
9103         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
9104         explanation clearer.
9106 2003-12-24  Andreas Schwab  <schwab@suse.de>
9108         * doc/autoconf.texi (Default Includes): Fix misspelling of
9109         AC_INCLUDES_DEFAULT.
9111 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
9113         * configure.ac: Test if sh -n works.
9114         * configure: Regenerate.
9115         * tests/atlocal.in: Store the result here.
9116         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
9117         tools.at, looking in atlocal's ac_cv_sh_n_works instead
9118         of explicitly testing.
9119         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
9120         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
9121         * tests/tools.at (Syntax of the shell scripts): Simplify
9122         using AT_CHECK_SHELL_SYNTAX.
9123         (Syntax of the Perl scripts): Remove definition of
9124         AT_CHECK_PERL_SYNTAX.
9126 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
9128         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
9129         stderr to /dev/null.
9130         * bin/autoconf.in: Regenerate.
9131         * bin/wrapper.in: Regenerate.
9133 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
9135         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
9136         Extracted from AS_SHELL_SANITIZE.
9137         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
9138         macros.
9139         (AS_SHELL_SANITIZE): Move reinvocation code from
9140         _AS_LINENO_WORKS, use it to find out if shell
9141         functions work.
9142         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
9143         does not work.
9144         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
9145         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
9146         was called.
9147         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
9148         * bin/autoconf.in: Regenerate.
9149         * tests/wrapper.in: Regenerate.
9150         * tests/tools.at: Test the syntax of tests/autoconf
9151         and tests/testsuite.
9153 2003-11-24  Akim Demaille  <akim@epita.fr>
9155         * config/announce-gen (&print_locations, &print_signatures)
9156         (&sizes): New.
9157         Use them.
9158         No longer rely on Gnus to inline the list of signatures: compute
9159         them on the fly.
9161 2003-11-24  Akim Demaille  <akim@epita.fr>
9163         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
9164         override some files.
9165         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
9166         From Debian Autoconf 2.58.
9168 2003-11-24  Akim Demaille  <akim@epita.fr>
9170         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
9171         uses.
9172         From Debian Autoconf 2.58.
9174 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
9176         * TODO: Remove already done things.  Update the part about finding
9177         tools for the target.
9179 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
9181         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
9182         Make wording more consistent.
9183         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
9184         Explain the transition better.
9185         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
9186         the transition better.
9188 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
9190         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
9191         parameter of AU_DEFUN.
9192         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
9193         (AU_DEFUN): Remove the third parameter, it was not used.
9194         Use AC_DEFUN directly, not AU_DEFINE.
9195         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
9196         the expanded body, consistently with other macros such as AC_USG.
9198 2003-11-17  Paul Eggert  <eggert@twinsun.com>
9200         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
9201         into the initial confdefs.h, to work around a bug in NextStep 3.3
9202         patch 3 reported by Eric Sunshine.
9204 2003-11-15  Kevin Ryde  <user42@zip.com.au>
9206         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
9207         than $target since the latter is not usual, add guidelines on when to
9208         use or not use the system type.
9210 2003-11-12  Derek Price  <derek@ximbiot.com>
9212         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
9213         typo misrepaired by an auto-spellcheck.
9215 2003-11-12  Akim Demaille  <akim@epita.fr>
9217         * bin/autoreconf.in (&parse_args): Don't call automake with
9218         --force-missing unless it actually supports it.
9219         From Debian #219336.
9221 2003-11-12  Akim Demaille  <akim@epita.fr>
9223         * configure.ac: Bump to 2.59a.
9224         Require 2.59.
9226 2003-11-06  Akim Demaille  <akim@epita.fr>
9228         Version 2.59.
9230 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
9232         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
9233         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
9234         and ac_abs_top_srcdir are absolute paths.
9235         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
9237 2003-11-05  Akim Demaille  <akim@epita.fr>
9239         * configure.ac: Bump to 2.58a.
9241 2003-11-05  Kevin Ryde  <user42@zip.com.au>
9243         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
9244         it provokes a warning from makeinfo about looking like a cross
9245         reference in info output.
9247         * doc/autoconf.texi (Function Portability): Add notes on signal
9248         handler return type, as per AC_TYPE_SIGNAL.
9250 2003-11-04  Akim Demaille  <akim@epita.fr>
9252         Version 2.58.
9253         * doc/standards.texi: Update from master.
9255         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
9257 2003-11-04  Akim Demaille  <akim@epita.fr>
9259         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
9260         computing the absolute path to d1 in the source hierarchy: it may
9261         not exist at all.  So don't cd into it.
9262         From Alexandre Duret-Lutz.
9263         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
9265         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
9266         From Paul Eggert, but named after Perl's IO::Spec->catfile.
9267         * doc/autoconf.texi (Programming in M4sh): Document.
9268         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
9270 2003-11-03  Pavel Roskin  <proski@gnu.org>
9272         * doc/autoconf.texi (Generic Structure Checks): Describe
9273         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
9275 2003-10-31  Akim Demaille  <akim@epita.fr>
9277         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
9278         (GNU Fortran): New.
9279         * doc/autoconf.texi (Language Choice): Document.
9280         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
9281         the current language is Fortran.
9283 2003-10-31  Akim Demaille  <akim@epita.fr>
9285         * bin/autom4te.in (&freeze): Use a less likely warning separator
9286         than `\n\n', so that `\n\n\n' is valid in warnings.
9287         Reported by Steve Huston.
9289 2003-10-28  Akim Demaille  <akim@epita.fr>
9291         * Makefile.cfg (local_updates, executable-update): Tweak to be
9292         robust to parallel makes.
9293         Suggested by Alexandre Duret-Lutz.
9295 2003-10-27  Akim Demaille  <akim@epita.fr>
9297         * Makefile.cfg (executable-update): New.
9298         (local_updates): Call it.
9300 2003-10-27  Akim Demaille  <akim@epita.fr>
9302         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
9303         Don't remove core.* as it may remove valid user files.
9304         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
9305         (AC_FUNC_UTIME_NULL): Likewise.
9307 2003-10-23  Akim Demaille  <akim@epita.fr>
9309         Version 2.57g.
9310         * config/config.guess, config/config.sub: Upgrade from masters.
9312 2003-10-23  Akim Demaille  <akim@epita.fr>
9314         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
9315         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
9316         hand...
9318 2003-10-23  Akim Demaille  <akim@epita.fr>
9320         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
9321         Don't forget to remove conftest.err.
9323 2003-10-23  Akim Demaille  <akim@epita.fr>
9325         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
9326         same object file in $LIBOBJS.
9327         Reported by Alexandre Duret-Lutz & Derek Robert Price.
9328         * doc/autoconf.texi (Generic Functions): Adjust.
9330 2003-10-20  Paul Eggert  <eggert@twinsun.com>
9332         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
9333         Use 'eval', so that the resulting configure scripts work even if
9334         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
9336 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
9338         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
9339         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
9340         (_AC_LINK_IFELSE): Check the werror flag.
9341         * doc/autoconf.texi (Generic Compiler Characteristics): Document
9342         AC_LANG_WERROR.
9343         * NEWS: Mention it.
9345 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
9347         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
9348         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
9349         override AC_LINK_IFELSE.
9351 2003-10-15  Paul Eggert  <eggert@twinsun.com>
9353         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
9354         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
9355         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
9356         Mention /usr/dt/bin/dtksh on Solaris.
9357         (Shell Substitutions): Warn about $((...)).
9358         (Parentheses): New section.
9360 2003-10-15  Kevin Ryde  <user42@zip.com.au>
9362         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
9363         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
9365 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
9367         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
9368         cross test.
9370 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
9372         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
9373         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
9375 2003-10-10  Andreas Schwab  <schwab@suse.de>
9377         * bin/autoheader.in: Avoid empty first line in --version and
9378         --help output.
9379         * bin/ifnames.in: Likewise.
9381 2003-10-09  Paul Eggert  <eggert@twinsun.com>
9383         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
9384         Issue a more-informative diagnostic.
9385         Problems reported by Eric Sunshine.
9387 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
9389         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
9390         -mGLOB_options_string stuff for Intel ifc, which can cause
9391         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
9392         pattern-matching instead of grep.
9394 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
9396         * doc/autoconf.texi: Document new FC Fortran macros.
9398 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
9400         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
9401         that future autopoint/aclocal/automake/autoreconf will be able
9402         to trace to find where to install local m4 macros.
9403         * doc/autoconf.texi (Input): Document it.
9404         * NEWS: Updated.
9406 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
9408         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
9409         -lcrtbegin.o to list of ignored flags and fix underquoting of
9410         -lcrt[01].o.
9412 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
9414         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
9415         cache variable instead of $G77 to decide whether to include -O2,
9416         since $G77 is specific to Fortran 77.
9418 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
9420         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
9421         free" flag.  Re-order flags tested into rough order of popularity.
9423 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
9425         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
9426         arguments so that it can be used with syntax identical to
9427         AC_PROG_F77, and so that we can more easily decide to
9428         remove/deprecate the DIALECT optional argument in the future if it
9429         proves troublesome.
9430         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
9431         non-freeform-supporting compilers.  Document freeform flags.
9433 2003-10-03  Akim Demaille  <akim@epita.fr>
9435         * configure.ac: Look for emacs, not macs.
9436         Reported by Eric Sunshine.
9438 2003-10-03  Akim Demaille  <akim@epita.fr>
9440         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
9441         * bin/autoreconf.in (autoreconf_current_directory): Create the
9442         AUX_DIR if needed, for sake of automake --add-missing etc.
9443         Suggested by Alexandre Duret-Lutz.
9445 2003-10-03  Akim Demaille  <akim@epita.fr>
9447         * configure.ac: Quotation and formatting changes.
9448         (EMACS): Don't set it if it is not recent enough to support
9449         autoconf-mode.el.
9450         From Eric Sunshine.
9452 2003-10-02  Akim Demaille  <akim@epita.fr>
9454         * bin/ifnames.in (&scan_file): Skip C++ comments.
9455         From Jeremy Yallop.
9457 2003-10-01  Pavel Roskin  <proski@gnu.org>
9459         * doc/autoconf.texi (Particular Structure Checks):
9460         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
9462 2003-10-01  Akim Demaille  <akim@epita.fr>
9464         Version 2.57f.
9466 2003-09-30  Paul Eggert  <eggert@twinsun.com>
9468         * lib/Autom4te/XFile.pm: Use Errno.
9469         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
9470         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
9472 2003-09-30  Akim Demaille  <akim@epita.fr>
9474         * config/announce-gen (&print_news_deltas): Extracted from...
9475         (&print_changelog_deltas): here.
9476         (&news_file): Rename as...
9477         (@news_file): this.
9479 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
9481         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
9482         have been created when invoking the compiler.
9483         * tests/fortran.at (GNU Fortran 77): Quote $G77.
9485 2003-09-29  Akim Demaille  <akim@epita.fr>
9487         Version 2.57e.
9489         * config/mkinstalldirs: Upgrade.
9491 2003-09-28  Paul Eggert  <eggert@twinsun.com>
9493         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
9494         Problem reported by Lars J. Aas in
9495         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
9496         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
9497         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
9498         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
9500 2003-09-26  Akim Demaille  <akim@epita.fr>
9502         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
9503         directory for AC_CONFIG_COMMANDS' first argument exists.
9504         This makes valid the invocation of _AC_SRCPATH that follows.
9505         Reported by Eric Sunshine.
9506         * doc/autoconf.texi (Configuration Commands): Adjust.
9508 2003-09-26  Akim Demaille  <akim@epita.fr>
9510         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
9511         Reported by Ralf Corsepius.
9513 2003-09-26  Akim Demaille  <akim@epita.fr>
9515         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
9516         arguments.
9517         Actually, use AU_ALIAS.
9518         From Bruno Haible.
9520 2003-09-26  Paul Eggert  <eggert@twinsun.com>
9522         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
9523         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
9524         Problem reported by Eric Sunshine in:
9525         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
9527 2003-09-26  Akim Demaille  <akim@epita.fr>
9529         The test suite are sometimes assigning timings incorrectly.
9530         Reported by Henk Krus.
9531         Diagnosed by Nicolas Joly.
9533         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
9534         AT_help_all.
9535         Instead of making AT_help a sequence of assignments to grow
9536         $at_help_all, just make AT_help_all be the growing contents of
9537         $at_help_all, and make a single assignment in...
9538         (AT_INIT): here.
9539         (at_times_skip): Flip the meaning and rename as...
9540         (at_times_p): this.
9541         (AT_INIT): When summarizing the test that ran, remove
9542         $at_times_file after use, and check it is present before trying to
9543         use it.
9545 2003-09-25  Akim Demaille  <akim@epita.fr>
9547         Version 2.57d.
9549         * bin/Makefile.am (edit): Handle '@configure_input@'.
9550         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
9551         (ifnames): chmod -w.
9552         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
9553         executables, not bin/ executables!  Otherwise all the magic needed
9554         to find non installed files is turned off.  This caused a failure
9555         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
9556         as found in its environment (sent by tests/autoreconf): pointing
9557         to bin/autom4te that could not find its files.
9558         * tests/mktests.sh: Force the replacement of generated files, for
9559         the sake of "mv" program that are interactive when overwriting a
9560         -w file.
9561         * config/install-sh: Upgrade from CVS Automake.
9563 2003-09-23  Paul Eggert  <eggert@twinsun.com>
9565         * doc/autoconf.texi (Limitations of Builtins): Document test -h
9566         versus test -L issues.
9568 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
9569             Paul Eggert  <eggert@twinsun.com>
9571         Trivial change to support GCC's configuration procedure.
9572         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
9573         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
9574         about inconsistency if the preprocessor is set to give errors for
9575         any warning.
9576         * doc/autoconf.texi (C Compiler Characteristics): Document this.
9578 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
9580         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
9581         and XFile.pm from Automake.
9582         * lib/Autom4te/XFile.pm: Update from Automake.
9584 2003-09-12  Akim Demaille  <akim@epita.fr>
9586         Version 2.57c.
9588 2003-09-12  Akim Demaille  <akim@epita.fr>
9590         * config/config.guess, config/config.sub, config/missing,
9591         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
9592         from masters.
9594 2003-09-12  Akim Demaille  <akim@epita.fr>
9596         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
9597         not asm/types.h.
9599 2003-09-11  Akim Demaille  <akim@epita.fr>
9601         * doc/autoconf.texi (Header Portability): linux/random.h.
9602         From Peter Hendrickson.
9604 2003-09-10  Akim Demaille  <akim@epita.fr>
9606         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
9607         willing to edit the output files.
9609 2003-09-10  Akim Demaille  <akim@epita.fr>
9611         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
9612         and AC_FC_FREEFORM.
9613         * tests/mktests.sh: Skip AC_FC_SRCEXT.
9614         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
9616 2003-09-09  Akim Demaille  <akim@epita.fr>
9618         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
9619         Reported by Gary Vaughan.
9620         * bin/autom4te.in (handle_m4): Likewise.
9622 2003-09-09  Akim Demaille  <akim@epita.fr>
9624         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
9625         trailing files.
9627 2003-09-07  Paul Eggert  <eggert@twinsun.com>
9629         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
9630         Improve the accuracy of the wording about obsolescence.
9631         From a suggestion by Ian Lance Taylor in
9632         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
9634 2003-09-05  Paul Eggert  <eggert@twinsun.com>
9636         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
9637         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
9639 2003-09-04  Akim Demaille  <akim@epita.fr>
9641         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
9642         AC_FUNC_WAIT3.
9644 2003-09-04  Akim Demaille  <akim@epita.fr>
9646         * bin/autom4te.in: Use &fatal where more appropriate than &error.
9647         (freeze): When exiting, use $exit_code.
9648         * lib/autoconf/fortran.m4: Comment changes.
9650 2003-09-04  Akim Demaille  <akim@epita.fr>
9652         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
9654 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
9656         Add support for newer Fortran dialects.  The F77 interface is
9657         unchanged, and continues to support Fortran 77.  New FC macros
9658         correspond to all the old F77 macros, with output variables FC,
9659         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
9660         available dialect, but older dialects can be specified.  There are
9661         new macros AC_FC_SRCEXT to set the source extension, and
9662         AC_FC_FREEFORM to accept free-form source files.
9664         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
9665         New macros.
9666         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
9667         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
9668         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
9669         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
9670         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
9671         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
9672         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
9673         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
9674         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
9675         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
9676         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
9677         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
9678         AC_FC_SRCEXT, AC_FC_FREEFORM):
9679         New macros.
9680         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
9681         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
9682         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
9683         Rewrite in terms of the above.
9684         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
9685         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
9686         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
9687         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
9689 2003-09-02  Paul Eggert  <eggert@twinsun.com>
9691         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
9692         Document problems with timestamp resolution that 'make', 'cp -p', and
9693         'touch -r' have.
9695 2003-08-27  Akim Demaille  <akim@epita.fr>
9697         * tests/m4sugar.at (cross_warning): Make sure to enable the
9698         output, so that we can track spurious m4sugar output.
9699         * tests/local.at: Require 2.57.
9700         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
9701         are defaulted by AT_CHECK anyway.
9702         Use AT_CHECK_AUTOM4TE.
9703         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
9704         missing dnl.
9706 2003-08-27  Akim Demaille  <akim@epita.fr>
9708         * bin/autoheader.in: Issue the "Using auxiliary..." message only
9709         when -Wobsolete is set.
9710         Set it on by default.
9711         Suggested by Klee Dienes.
9713 2003-08-27  Akim Demaille  <akim@epita.fr>
9715         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
9716         documentation.
9717         From Guido Draheim.
9719 2003-08-26  Akim Demaille  <akim@epita.fr>
9721         * doc/autoconf.texi (Output): Make clear that one can run code
9722         after AC_OUTPUT.
9724 2003-08-25  Akim Demaille  <akim@epita.fr>
9726         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
9727         CVS Bison.
9729 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
9731         * bin/autoreconf.in (parse_args): Do not pass --no-force to
9732         Automake versions prior to 1.8.
9734 2003-08-25  Akim Demaille  <akim@epita.fr>
9736         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
9737         From Ville Karaila.
9739 2003-08-24  Akim Demaille  <akim@epita.fr>
9741         * configure.ac: Bump to 2.57c.
9743 2003-08-22  Akim Demaille  <akim@epita.fr>
9745         Version 2.57b.
9747         * Makefile.cfg (local-checks-to-skip): New.
9748         * Makefile.maint (local-check): Rename as...
9749         (local-checks-available): this.
9750         (local-check): New.
9752         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
9753         * configure.ac: Require Automake 1.7.6.
9755 2003-08-22  Akim Demaille  <akim@epita.fr>
9757         Output stack traces in warnings.
9759         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
9760         Replace the former...
9761         (m4_warn): Pass the call stack to _m4_warn.
9762         * bin/autom4te.in: Adjust to output the call stack.
9763         * tests/m4sugar.at (m4@&t@_warn): Adjust.
9765 2003-08-22  Akim Demaille  <akim@epita.fr>
9767         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
9768         * bin/autom4te.in: Adjust.
9770 2003-08-21  Akim Demaille  <akim@epita.fr>
9772         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
9773         (&verbose): Remove.
9774         (&getopt): Adjust the note and verb channels, depending upon
9775         --verbose.
9776         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
9777         * bin/autoupdate.in: Adjust.
9778         Use &verb, not &verbose.
9780 2003-08-21  Akim Demaille  <akim@epita.fr>
9782         * bin/autoheader.in (&parse_args): Use &parse_warnings and
9783         &parse_WARNINGS.
9784         ($help): Use Autom4te::ChannelDefs::usage.
9785         * bin/autoscan.in: Use Autom4te::ChannelDefs.
9786         * lib/Autom4te/General.pm: Don't export error: you don't own it.
9788 2003-08-21  Akim Demaille  <akim@epita.fr>
9790         First stab at preserving warnings between calls to autom4te,
9791         including when the cache is used.
9793         There are still several issues: (i) there are too many runs of m4
9794         (one for include, one for warnings, and some more), (ii) warnings
9795         spreading on several lines are not handled gracefully, (iii) the
9796         code meant to have the call stack display for errors does not work
9797         (its handling should move from m4 to autom4te).
9799         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
9800         Use them.
9801         (@preselect): Add m4_warn.
9802         ($exit_status): Remove, use $exit_code.
9803         ($help): Use Autom4te::ChannelDefs::usage.
9804         (&handle_m4): No longer define the m4_warnings.
9805         At each run, extract and report the warnings.
9806         Always cache the result, including if the exit status is on
9807         failure, since if nothing changes, we should result in the same
9808         failure, hence we can use the cache.
9809         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
9810         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
9811         Remove.
9812         (m4_warn): Redefine as a do-nothing: it is its invocation that
9813         matters, as warnings are now reported via traces.
9814         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
9815         the contents of m4_warn: make it _call_ m4_warn, so that tracing
9816         the latter reveals calls to the former.
9818         Adjust the tests.
9820         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
9822 2003-08-21  Akim Demaille  <akim@epita.fr>
9824         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
9825         Use them.
9827 2003-08-21  Akim Demaille  <akim@epita.fr>
9829         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
9830         forward order.
9831         * lib/Autom4te/ChannelDefs.pm: Doc typos.
9832         (&parse_warnings): Accept a list of warning requests.
9833         (&usage): Return a string, not a side effect.
9834         (cross): New warning category.
9836 2003-08-21  Akim Demaille  <akim@epita.fr>
9838         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
9839         (&require_configure_ac): Accept an optional directory argument.
9840         ($configure_ac): Remove.
9841         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
9842         (&catfile): Remove.
9843         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
9844         * bin/autoscan.in: Adjust.
9846 2003-08-20  Akim Demaille  <akim@epita.fr>
9848         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
9849         Reported by Alexandre Duret-Lutz.
9851 2003-08-20  Akim Demaille  <akim@epita.fr>
9853         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
9854         * bin/autom4te: Adjust.
9855         In particular, be Autoconf tools are really silent when properly
9856         working, bind the verbosity of the 'note' channel to $verbose.
9857         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
9858         (&xsystem, &contents): Remove, since they are exported by...
9859         * lib/Autom4te/FileUtils.pm: this.
9860         More perldoc.
9861         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
9862         * lib/Autom4te/FileUtils.pm: here.
9864 2003-08-20  Akim Demaille  <akim@epita.fr>
9866         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
9867         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
9868         from CVS Automake.
9870 2003-08-20  Akim Demaille  <akim@epita.fr>
9872         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
9873         (autom4te-update): New.
9874         * Makefile.cfg (update): Bind autom4te-update.
9876 2003-08-19  Derek Price  <derek@ximbiot.com>
9878         * lib/autotest/general.m4: Comment various HELP_* diversions.
9879         (PARSE_ARGS_BEGIN): New section for option parsing related
9880         initialization.
9881         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
9882         package specific options and associated help.
9884 2003-08-19  Akim Demaille  <akim@epita.fr>
9886         * config/announce-gen, Makefile.cfg: New.
9887         * Makefile.am: Adjust.
9888         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
9890 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
9892         * lib/autom4te.in (Automake-preselections): Preselect
9893         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
9894         and m4_sinclude.
9896 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
9898         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
9899         (Autoconf-without-aclocal-m4): ... this new language.
9900         * doc/autoconf.texi (autom4te Invocation): Mention
9901         Autoconf-without-aclocal-m4.
9903 2003-08-18  Derek Price  <derek@ximbiot.com>
9905         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
9906         RUN-IF-PASS optional arguments.
9908 2003-08-18  Derek Price  <derek@ximbiot.com>
9910         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
9912 2003-08-16  Derek Price  <derek@ximbiot.com>
9914         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
9915         STDOUT & STDERR arguments.
9917 2003-08-14  Derek Price  <derek@ximbiot.com>
9919         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
9920         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
9921         shorter column three.  Add DESCRIPTION to log file content.
9923 2003-08-13  Derek Price  <derek@ximbiot.com>
9925         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
9926         output.
9928 2003-08-12  Derek Price  <derek@ximbiot.com>
9930         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
9931         (AT_CHECK_NOESCAPE): Move core functionality to...
9932         (_AT_CHECK): ...this new macro.
9934 2003-08-07  Derek Price  <derek@ximbiot.com>
9936         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
9937         (AT_CHECK_NOESCAPE): ...to this new macro.
9939 2003-07-31  Paul Eggert  <eggert@twinsun.com>
9941         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
9942         in Bash 2.01.  Problem reported by Brian Gough in
9943         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
9945 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
9947         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
9948         -lcrt1.o, for OS X.  (trivial change)
9950 2003-07-07  Paul Eggert  <eggert@twinsun.com>
9952         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
9953         inside '#ifndef __cplusplus'.  Problem reported by
9954         Bob Friesenhahn.
9956 2003-07-06  Bill Clarke  <llib@computer.org>
9958         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
9959         'long', not 'int', for benefit of Sun's recent C++ compilers
9960         (trivial change).  See:
9961         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
9962         (This really should be 'intptr_t', not 'long', but that would
9963         take more work.)
9965 2003-06-25  Akim Demaille  <akim@epita.fr>
9967         * lib/Makefile.am (autom4te.cfg): Make it read only.
9968         Depend on Makefile since it contains substitutions.
9969         From Paolo Bonzini.
9970         * lib/autom4te.in (args): Add local.at? for Autotest args.
9971         This change was made on autom4te.cfg which is generated.
9972         Reported by Raja R. Harinath.
9974 2003-06-25  Akim Demaille  <akim@epita.fr>
9976         * doc/autoconf.texi (Header Portability): sys/mount.h.
9977         From Gareth McCaughan.
9979 2003-06-23  Akim Demaille  <akim@epita.fr>
9981         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
9982         not all of them.  This fixes 1. the fact that when testing
9983         Autoconf there are many many config.log, 2. the incorrect use of
9984         top_srcdir to find config.log.
9985         Don't mix the detailed output of failed test with the summary of
9986         failures.  Rather, append detailed log afterwards.
9988 2003-06-23  Akim Demaille  <akim@epita.fr>
9990         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
9991         always run: output config.log on $at_group_log.
9993 2003-06-23  Akim Demaille  <akim@epita.fr>
9995         * tests/torture.at (#define header templates): Don't use quotes in
9996         C++ comments as it puzzles Emacs' sh font-lock-mode.
9998 2003-06-23  Akim Demaille  <akim@epita.fr>
10000         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
10001         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
10002         * tests/atspecific.m4: Rename as...
10003         * tests/local.at: This.
10004         * tests/suite.at: Move the globals into...
10005         * tests/local.at: here.
10006         * tests/Makefile.am: Adjust.
10007         * doc/autoconf.texi (testsuite Scripts): Adjust.
10009 2003-06-21  Kevin Ryde  <user42@zip.com.au>
10011         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
10012         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
10013         ensuring we add -std1 for full-ANSI.
10015         * doc/autoconf.texi (hdrindex): New macro.
10016         Add index entries for portability of various standard header files.
10018 2003-06-20  Akim Demaille  <akim@epita.fr>
10020         * configure.ac: Bump to 2.57b.
10022 2003-06-20  Akim Demaille  <akim@epita.fr>
10024         Version 2.57a.
10026 2003-06-20  Akim Demaille  <akim@epita.fr>
10028         * bin/autom4te.in: Don't rely on $HOME being defined.
10029         Reported by Marc Espie as PR/233.
10031 2003-06-20  Akim Demaille  <akim@epita.fr>
10033         * lib/autotest/general.m4: Use at_times_file only if used.
10034         From Nicolas Joly.
10036 2003-06-20  Akim Demaille  <akim@epita.fr>
10038         * config/config.guess, config/config.sub, config/elisp-comp,
10039         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
10040         Update from masters.
10042 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
10044         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
10045         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
10046         (TEST_SCRIPT): New diversion.
10047         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
10048         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
10049         (AT_INIT): Support for expected failures.
10051 2003-06-02  Akim Demaille  <akim@epita.fr>
10053         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
10054         changes.
10055         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
10056         Autoconf nor Automake.
10057         (&contents): New, from Automake.
10058         PODify.
10060 2003-05-28  Paul Eggert  <eggert@twinsun.com>
10062         * NEWS, doc/autoconf.texi (Particular Functions),
10063         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
10064         is the inverse of localtime.
10066 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
10068         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
10069         (handle_exec_errors): New function.  Work around $! being
10070         altered by WEXITSTATUS.
10071         (xqx, xsystem): Use handle_exec_errors.
10073 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
10075         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
10076         Do not call `_exit()', simply modify `$?'.
10077         (xsystem): Reset $! before running system, and check it afterward.
10078         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
10079         63 for version mismatches.
10081 2003-05-23  Akim Demaille  <akim@epita.fr>
10083         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
10084         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
10085         the middle of a line).
10086         * lib/m4sugar/m4sugar.m4: Likewise.
10087         Remove useless spaces in comments.
10089 2003-05-23  Akim Demaille  <akim@epita.fr>
10091         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
10092         exit 63, so that we (or Automake's "missing") can tell the
10093         difference with a plain failure.
10094         * doc/autoconf.texi (Notices): Adjust.
10096 2003-05-23  Akim Demaille  <akim@epita.fr>
10098         * Makefile.am, bin/Makefile.am, config/Makefile.am,
10099         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
10100         White spaces cleanup.
10102 2003-05-22  Jim Meyering  <jim@meyering.net>
10103             Paul Eggert  <eggert@twinsun.com>
10105         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
10106         Remove `#include <stdlib.h>' from the list; we should never
10107         make confdefs.h include <stdlib.h> or <cstdlib>, because the
10108         resulting namespace pollution would cause other tests to fail.
10109         Configure scripts run with some older versions of g++ and HP's
10110         aCC would fail due to such an #include.  Problems reported by
10111         Matthew Mueller in <http://bugs.debian.org/120704> and by
10112         Keith Bostic in
10113         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
10114         In the test, use the test declaration before including <stdlib.h>,
10115         as that's closer to how it'll be used.
10117 2003-05-23  Akim Demaille  <akim@epita.fr>
10119         * doc/autoconf.texi (Header Portability): ucred.h.
10120         From Ian Redfern.
10122 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
10124         Overhaul Autotest's logging: generate separate log files
10125         in testsuite.dir/NNN/testsuite.log, and append them to
10126         testsuite.log instead of re-running the test verbosely.
10128         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
10129         file descriptor, write 0 to at_status_file instead of setting
10130         at_status=0, initialize some new variables (at_status_file,
10131         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
10132         to rerun the tests, instead append the at_group_log to the
10133         at_suite_log when a test fails.
10134         (AT_SETUP): pipe the test case's output into at_tee_pipe,
10135         with the AS_MESSAGE_LOG_FD redirected to stdout.
10136         (AT_CLEANUP): save the output status in $at_status_file
10137         and restore it, redirect the AS_MESSAGE_LOG_FD back to
10138         its original place.
10139         (AT_CHECK): since tests are run with a redirected stdout,
10140         and used to be re-run in verbose mode, turn some $at_verbose
10141         into echo, and don't redirect the output of testing stdout
10142         and stderr.
10144         * lib/autotest/autoconf.texi (testsuite Scripts): Update
10145         the name of the debugging directory and information about
10146         its contents.
10148 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
10150         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
10151         parameter.
10153 2003-05-22  Akim Demaille  <akim@epita.fr>
10155         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
10156         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
10157         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
10158         * lib/autoconf/status.m4: Fix and adjust copyright notices.
10160 2003-05-22  Akim Demaille  <akim@epita.fr>
10162         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
10163         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
10164         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10165         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
10166         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
10167         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
10168         * lib/autoconf/status.m4, lib/autoconf/types.m4,
10169         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
10170         * tests/atspecific.m4, tests/base.at, tests/compile.at,
10171         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
10172         * tests/tools.at, tests/torture.at:
10173         Whitespace clean up.
10174         Suggested by Jim Meyering.
10176 2003-05-22  Akim Demaille  <akim@epita.fr>
10178         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
10179         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
10180         Reported by Jim Meyering.
10182 2003-05-22  Akim Demaille  <akim@epita.fr>
10184         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
10185         Add AC_HELP_STRING  to the obsolete macros section.
10186         Typos.
10187         Use '@.' for sentences that ended in a capital letter.
10188         From Art Haas.
10190 2003-05-22  Akim Demaille  <akim@epita.fr>
10192         * config/config.guess, config/config.sub, config/elisp-comp,
10193         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
10194         * config/texinfo.tex, doc/standards.texi: Update from masters.
10196 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
10198         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
10199         it to eval.
10201 2003-05-21  Akim Demaille  <akim@epita.fr>
10203         * bin/autoupdate.in ($m4): Fix quotation.
10204         Reported by Martin Mokrejs.
10206 2003-05-19  Paul Eggert  <eggert@twinsun.com>
10208         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
10209         Remove non-ASCII characters.
10211 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
10213         * tests/semantics.at (AC_SEARCH_LIBS): New test.
10214         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
10215         AC_CHECK_HEADERS_NEW): New tests.
10217 2003-05-17  Akim Demaille  <akim@epita.fr>
10219         * lib/autoconf/functions.m4: Use the default includes so that
10220         memcmp be declared before being tested.
10221         Reported by Sander Niemeijer.
10222         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
10223         * doc/autoconf.texi (Default Includes): Document
10224         AC_INCLUDES_DEFAULT.
10226 2003-05-17  Akim Demaille  <akim@epita.fr>
10228         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
10229         * doc/autoconf.texi (Obsolete Macros): Adjust.
10230         Reported by Werner LEMBERG and Debian Bug 190886.
10232 2003-05-16  Akim Demaille  <akim@epita.fr>
10234         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
10235         user name space clashes.
10236         Reported by Bruno Haible.
10238 2003-05-16  Akim Demaille  <akim@epita.fr>
10240         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10241         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
10242         them uniform, and more robust to Perl special characters.
10243         Reported by Martin Mokrejs.
10245 2003-05-14  Akim Demaille  <akim@epita.fr>
10247         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
10249 2003-05-14  Akim Demaille  <akim@epita.fr>
10251         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
10252         linux/irda.h.
10254 2003-05-12  Akim Demaille  <akim@epita.fr>
10256         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
10257         message.
10258         From Matthias Andree.
10260 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
10262         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
10263         and truncate.
10265 2003-05-06  Akim Demaille  <akim@epita.fr>
10267         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
10268         longer updates aclocal.m4 if useless, (ii) if a file m4_included
10269         by aclocal.m4 is changed it might require the importing of another
10270         m4 extension file, i.e., aclocal must be run.
10272         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
10273         (&parse_args): Use --force with aclocal if required and supported.
10274         (&autoreconf_current_directory): Use &run_aclocal.
10276 2003-05-06  Akim Demaille  <akim@epita.fr>
10278         Lock autom4te's cache.
10280         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
10281         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
10282         argument instead of a file name, so that the request file remains
10283         open during the whole autom4te run.
10284         ($icache_file): New.
10285         (&freeze): Lock the $icache_file.
10287 2003-04-29  Derek Price  <derek@ximbiot.com>
10289         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
10290         seperator with m4_append_uniq().  It doesn't work.
10291         (AT_CLEANUP): Add `;' to end of at_help_all.
10292         (AT_INIT): Allow --keywords to be specified more than once.  When
10293         grepping $at_help_all for keywords, use the field and keyword
10294         seperators to ensure a complete keyword match.  Alter at_prev handling
10295         to support the new --keywords behavior.
10297 2003-04-27  Karl Berry  <karl@freefriends.org>
10299         * doc/autoconf.texi: Make the dir entries in the autoconf manual
10300         align better with others.  I also made some of the individual
10301         entries on one line, for brevity and to make it easier for me to
10302         sort my dir-example file in the Texinfo distribution :).
10304 2003-04-12  Jim Meyering  <jim@meyering.net>
10306         * NEWS: Mention the new macro.
10307         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
10308         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
10309         * tests/c.at: Test AC_C_RESTRICT.
10310         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
10312 2003-04-08  Akim Demaille  <akim@epita.fr>
10314         * bin/ifnames.in: Skip C++ comments.
10315         From Jeremy Yallop.
10317 2003-04-08  Akim Demaille  <akim@epita.fr>
10319         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
10320         From Ilya Zakharevich.
10322 2003-04-08  Akim Demaille  <akim@epita.fr>
10324         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
10325         net/if.h, stdlib.h.
10327 2003-04-01  Derek Price  <derek@ximbiot.com>
10329         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
10330         from Akim's checkin of 2003-03-29.
10332 2003-04-01  Derek Price  <derek@ximbiot.com>
10334         * tests/torture.at (Configuring subdirectories): Add missing
10335         close-quote for Akim's change from 2003-03-28.
10337 2003-04-01  Akim Demaille  <akim@epita.fr>
10339         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
10340         (AC, AT, MS): these.
10341         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
10342         New.
10343         Use them.
10344         * doc/Makefile.am (CLEANFILES): Adjust.
10345         (TEXI2DVI): Make it --batch.
10347 2003-03-31  Derek Price  <derek@ximbiot.com>
10349         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
10350         which removed the main loop.
10351         Thanks to Akim Demaille.
10353 2003-03-29  Akim Demaille  <akim@epita.fr>
10355         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
10356         that starts a GUI.
10357         From Ilya Zakharevich.
10359 2003-03-29  Akim Demaille  <akim@epita.fr>
10361         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
10362         documentation to read is Autoconf's.
10363         Suggested by Paul Eggert.
10365 2003-03-28  Akim Demaille  <akim@epita.fr>
10367         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
10368         reading the section "Present But Cannot Be Compiled" when the
10369         header causes problems.
10371 2003-03-28  Akim Demaille  <akim@epita.fr>
10373         * tests/torture.at (Configuring subdirectories): Require aclocal
10374         1.4, otherwise the test fails, as it does support configure.ac.
10375         This fixes the "test 40 failed" bug reports.
10377 2003-03-28  Akim Demaille  <akim@epita.fr>
10379         * doc/autoconf.texi (C Compiler): `#line' portability.
10380         From Paul Eggert and Nelson H. F. Beebe.
10382 2003-03-27  Derek Price  <derek@ximbiot.com>
10384         * lib/autotest/general.m4: Eliminate main loop and reorganize test
10385         layout in order to allow scripting around test groups.
10387 2003-03-27  Derek Price  <derek@ximbiot.com>
10389         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
10390         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
10391         use new diversions in preparation for accepting new arguments and
10392         allowing scripting around tests.
10393         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
10395 2003-03-26  Derek Price  <derek@ximbiot.com>
10397         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
10398         obsolete AC_HELP_STRING.
10399         (AC_HELP_STRING): AU_DEFUN to...
10400         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
10401         * tests/m4sh.at (AS_HELP_STRING): New test.
10403         * tests/acgeneral.at: Regenerated.
10405 2003-03-26  Derek Price  <derek@ximbiot.com>
10407         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
10408         sense.  Verbosify the diversion definitions comment.
10410 2003-03-26  Derek Price  <derek@ximbiot.com>
10412         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
10413         AS_PREPARE.
10415 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
10417         * doc/autoconf.texi (Present But Cannot Be Compiled):
10418         Grammar fixes and minor rewording. (trivial change)
10420 2003-03-06  Paul Eggert  <eggert@twinsun.com>
10422         Work around a problem noted by Nelson H. F. Beebe with coreutils
10423         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
10424         2002/05/09) rejects '#line 32768 "configure"' because the line
10425         number overflows.
10426         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
10427         #line directives.
10428         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
10429         * doc/autoconf.texi (Generating Sources): Document this.
10431 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
10433         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
10434         file name for the m4 program, when it has an "exe" file extension.
10435         DJGPP's error messages include the error code in brackets -
10436         remove the error code during normalization.
10438 2003-02-28  Akim Demaille  <akim@epita.fr>
10440         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
10442 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
10444         * doc/autoconf.texi (Limitations of Make): Remove the section
10445         about `$<' in inference rules, it was a bogus interpretation of
10446         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
10447         Tru64 make in the "target lookup" section.
10448         (Automake): Automake 1.5+ no longer requires special tools to be
10449         present on the developer's host.
10451 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
10453         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
10454         to a shell that can handle redirection or quoting correctly.
10455         Override SHELL with the shell detected by configure.
10456         Use of $^O suggested by Tim van Holder.
10457         * bin/autom4te.in (BEGIN): Likewise.
10458         * bin/autoreconf.in (BEGIN): Likewise.
10459         * bin/autoscan.in (BEGIN): Likewise.
10460         * bin/autoupdate.in (BEGIN): Likewise.
10461         * bin/ifnames.in (BEGIN): Likewise.
10463         * bin/ifnames.in: Add final newline to help and version messages.
10465         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
10466         to cope with DOS-style absolute paths, when constructing
10467         ${ac_make}.
10469         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
10470         When constructing paths with IFS=:, quote the path. If we're
10471         constructing a DOS-style absolute path, we don't want to split it
10472         on the colon.
10474         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
10475         in description.
10477 2003-02-25  Pavel Roskin  <proski@gnu.org>
10479         * bin/autoheader.in: Add missing newline when printing
10480         suggestion how change AC_DEFINE call.
10482 2003-02-24  Paul Eggert  <eggert@twinsun.com>
10484         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
10485         2002-09-01 patch by replacing "test -n" with "test -z".
10486         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
10487         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
10489         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
10490         to fix a mismatch between example and discussion.
10492 2003-02-24  Kevin Ryde  <user42@zip.com.au>
10494         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
10495         format starting with "-".
10497 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
10499         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
10500         is not portable inside Makefile.
10502 2003-02-20  Akim Demaille  <akim@epita.fr>
10504         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
10505         compiler says yeah, but preproc says nope, compiler is right.
10506         Conversely, prompt the reader to send a bug report to the
10507         maintainers of the package, not of Autoconf.
10509 2003-02-20  Klee Dienes  <kdienes@apple.com>
10511         * bin/autoreconf.in (autoreconf_current_directory): Properly
10512         handle an empty aclocal.m4.
10514 2003-02-20  Akim Demaille  <akim@epita.fr>
10516         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
10517         $ac_prefix_program.
10518         From Larry Jones.
10520 2002-12-23  Paul Eggert  <eggert@twinsun.com>
10522         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
10523         innocuous variant befor including <limits.h> or <assert.h>.  This
10524         works around a bug reported by Albert Chin: HP-UX 11i
10525         (and earlier versions) have a <limits.h> that declares
10526         gettimeofday and many other functions.
10528 2002-12-03  Paul Eggert  <eggert@twinsun.com>
10530         Version 2.57.
10532         * NEWS, configure.ac: Update version.
10534         * doc/fdl.texi: Upgrade to FDL version 1.2.
10536         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
10537         nontrivially in main's body, so that f's external declaration is
10538         not optimized away in AIX.  This should fix the bug reported by
10539         Martin Frydl in
10540         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
10542         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
10543         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
10544         defined, to support freestanding compilers.  This should fix the
10545         bug reported by Momchil Velkov in
10546         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
10548         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
10549         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
10550         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
10551         by Simon Josefsson in
10552         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
10554         * Makefile.maint (www-gnu): New macro.
10555         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
10556         the location has moved.
10558 2002-12-02  Martin Frydl  <martin@systinet.com>
10560         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
10561         \(.*\) match is too long and there is something more to be checked.
10562         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
10564 2002-11-15  Akim Demaille  <akim@epita.fr>
10566         Version 2.56.
10568         * config/install-sh: chmod +x.
10569         From Paul Eggert.
10570         * config/move-if-change: Indenting changes.
10571         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
10572         * configure.ac (AM_INIT_AUTOMAKE): here.
10573         Require 1.7.1.
10575 2002-11-14  Akim Demaille  <akim@epita.fr>
10577         Version 2.55.
10579         * config/config.guess, config/config.sub, config/install-sh:
10580         Update from masters.
10582 2002-11-14  Akim Demaille  <akim@epita.fr>
10584         * Makefile.maint: Sync with Bison, i.e.:
10585         (po-check): Scan .l and .y files instead of the
10586         .c and the .h files that they generate.  This fixes the bug
10587         reported by Tim Van Holder in:
10588         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
10589         Look for N_ as well as for _.  Try to avoid matching #define for
10590         N_ and _.
10591         From Paul Eggert.
10593 2002-11-14  Akim Demaille  <akim@epita.fr>
10595         * doc/autoconf.texi (C Compiler): Compiling several files at once.
10596         From Paul Eggert and Albert Chin-A-Young.
10598 2002-11-14  Akim Demaille  <akim@epita.fr>
10600         * doc/autoconf.texi (C Compiler): Solitary backslashes.
10601         From Paul Eggert and Albert Chin-A-Young.
10603 2002-11-14  Kevin Ryde  <user42@zip.com.au>
10605         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
10606         than assigning in main, to avoid HP cc +O3 optimizing it away.
10608 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
10610         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
10611         option.  Process --recheck after parsing all options.  Pass -q
10612         option to configure on --recheck.
10613         (AC_OUTPUT): Pass -q from configure to config.status.
10614         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
10615         arguments to record.
10616         * doc/autoconf.texi (config.status Invocation): Document
10617         config.status -q option.
10619 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
10621         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
10622         Makefile.in if Makefile.am exists.
10623         (output): Strip `.am' from Makefiles.  Don't
10624         output AC_CONFIG_FILES if no Makefiles were found.
10626 2002-11-07  Akim Demaille  <akim@epita.fr>
10628         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
10629         (local_updates): New.
10630         * Makefile.maint: Update, from CVS Bison.
10631         (local_updates): New.
10633 2002-11-06  Akim Demaille  <akim@epita.fr>
10635         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
10636         declaration in extern "C" too.
10637         Reported by Roberto Bagnara.
10639 2002-11-06  Akim Demaille  <akim@epita.fr>
10641         * tests/torture.at (Configuring subdirectories): Don't use grep
10642         -w.
10643         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
10644         Reported by Ezra Peisach.
10646 2002-11-05  Akim Demaille  <akim@epita.fr>
10648         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
10649         Remove.
10650         We _have_ to stop using the old compatibility scheme that tried to
10651         avoid useless backslashes because Libtool 1.4.3 contains a
10652         AC_DEFINE([error_t], [int],
10653         [Define to a type to use for \`error_t' if it is not
10654         otherwise available.])
10655         We _have_ to quote the single quote and backslashes with \.  The
10656         old compatibility scheme saw that ` was backslashed, and therefore
10657         did not quote the single quote.  Hence before this patch, Autoconf
10658         was not compatible with Libtool.
10660 2002-11-04  Paul Eggert  <eggert@twinsun.com>
10662         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
10663         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
10664         LC_NAME, LC_PAPER, LC_TELEPHONE.
10665         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
10667 2002-11-04  Akim Demaille  <akim@epita.fr>
10669         Version 2.54c.
10671         * Makefile.maint (update, cvs-update, po-update, do-po-update):
10672         New.
10673         * config/texinfo.tex: Update.
10675 2002-11-03  Akim Demaille  <akim@epita.fr>
10677         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
10678         from...
10679         (&autoreconf): here.
10680         ($help, $make, &parse_args, &autoreconf_current_directory):
10681         Support -m/--make.
10682         * doc/autoconf.texi (autoreconf Invocation): Adjust.
10684 2002-10-31  Bruno Haible  <bruno@clisp.org>
10686         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
10687         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
10688         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
10689         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
10690         to ac_cv_func_realloc_0_nonnull.
10691         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
10693 2002-10-31  Akim Demaille  <akim@epita.fr>
10695         The test suite was no longer checking for trailing envvars and files.
10697         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
10698         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
10700 2002-10-31  Akim Demaille  <akim@epita.fr>
10702         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
10703         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
10704         Make variable, not a shell variable.
10705         Suggested by Bruno Haible.
10707 2002-10-31  Akim Demaille  <akim@epita.fr>
10709         * bin/autom4te.in (load_configuration): Reject #args out of any
10710         language.
10712 2002-10-31  Akim Demaille  <akim@epita.fr>
10714         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
10715         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
10716         (_AC_RUN_IFELSE): Use it.
10717         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
10718         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
10719         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
10720         inline it.
10722 2002-10-30  Akim Demaille  <akim@epita.fr>
10724         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
10725         * doc/autoconf.texi (autom4te Invocation): Adjust.
10726         Suggested by Tim van Holder.
10728 2002-10-29  Paul Eggert  <eggert@twinsun.com>
10730         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
10731         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
10732         Problem reported by Bruno Haible.
10734 2002-10-29  Akim Demaille  <akim@epita.fr>
10736         * doc/autoconf.texi (Header Templates): Put also in words what the
10737         pictures says to assist free style readers.
10738         (Customizing autom4te): s/--cache=/--cache /.
10740 2002-10-29  Akim Demaille  <akim@epita.fr>
10742         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
10743         sys/wait.h.
10744         sparc_address_test returns void.
10745         Use it with an argument, as prototyped.
10746         From Bruno Haible.
10748 2002-10-29  Akim Demaille  <akim@epita.fr>
10750         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
10751         configure.in, not configure.ac.
10752         Reported by Bruno Haible.
10754 2002-10-29  Akim Demaille  <akim@epita.fr>
10756         * tests/torture.at (Deep Package): New test.
10757         (Configuring subdirectories): Don't use a testSubDir as Autotest
10758         now does it itself.
10760 2002-10-29  Akim Demaille  <akim@epita.fr>
10762         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
10763         * doc/autoconf.texi (Invoking autom4te): Rename as...
10764         (autom4te Invocation): this, for consistency with the other nodes.
10766 2002-10-29  Akim Demaille  <akim@epita.fr>
10768         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
10769         Reported by Ralf Corsepius.
10771 2002-10-29  Akim Demaille  <akim@epita.fr>
10773         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
10774         characters is a back as an `obsolete' warning now.
10775         Reported by Ralf Corsepius.
10777 2002-10-28  Akim Demaille  <akim@epita.fr>
10779         * configure.ac: Bump to 2.54c.
10781 2002-10-28  Akim Demaille  <akim@epita.fr>
10783         Version 2.54b.
10785         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
10787 2002-10-28  Akim Demaille  <akim@epita.fr>
10789         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
10790         m4 executable names, and different GNU M4 version.
10791         Reported by Ezra Peisach and Paul Jarc.
10793 2002-10-27  Akim Demaille  <akim@epita.fr>
10795         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
10796         AC_RUN_IFELSE.
10798 2002-10-27  Akim Demaille  <akim@epita.fr>
10800         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
10801         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
10802         Die when a simple Fortran program cannot be compiled.
10803         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
10804         Issue a warning if no function is given.
10806 2002-10-27  Akim Demaille  <akim@epita.fr>
10808         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
10809         Move the documentation of AC_TRY_RUN to...
10810         (Obsolete Macros): here.
10811         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
10812         (autoconf Invocation): Remove the duplicates with `invoking
10813         autom4te'.
10814         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
10815         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
10817 2002-10-27  Akim Demaille  <akim@epita.fr>
10819         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
10820         and AC_LANG_FUNC_LINK_TRY.
10821         (Examining Libraries): Rename as...
10822         (Running the Linker): this.
10823         Document AC_LINK_IFELSE.
10824         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
10825         (Obsolete Macros): here.
10826         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
10827         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
10828         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
10829         * lib/autoconf/headers.m4 (AC_USG): Likewise.
10831 2002-10-27  Akim Demaille  <akim@epita.fr>
10833         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
10835         More `check config.log' messages.
10837         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
10838         * doc/autoconf.texi (Printing Messages): Document it.
10839         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
10840         appropriate.
10841         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
10842         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
10843         (_AC_COMPILER_OBJEXT): Likewise.
10844         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
10845         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
10846         Likewise.
10847         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
10848         Likewise.
10850         Deprecate macros with unusual interfaces.
10852         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
10853         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
10855         Document the new ones, and proper style.
10857         * doc/autoconf.texi (Generating Sources): New.
10858         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
10859         (Examining Declarations): Rename as...
10860         (Running the Preprocessor): this.
10861         Document AC_PREPROC_IFELSE.
10862         (Examining Syntax): Rename as...
10863         (Running the Compiler): this.
10864         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
10865         (Obsolete Macros): Move the definition of AC_TRY_CPP and
10866         AC_TRY_COMPILE here.
10868 2002-10-27  Akim Demaille  <akim@epita.fr>
10870         Move sections around.
10872         * doc/autoconf.texi (Customizing autom4te): Remove a lost
10873         sentence.
10874         Reported by Burno Haible.
10875         (Language Choice): Now the first section of...
10876         (Writing Tests): this section.
10877         Make the introduction less C-centric.
10878         (Guidelines, Test Functions): Move to...
10879         (Writing Test Programs): this new section.
10880         (Test Programs): Merge into...
10881         (Run Time): this.
10883 2002-10-27  Akim Demaille  <akim@epita.fr>
10885         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
10886         autom4te.in that resulted in the need for two `make' runs.
10888 2002-10-27  Akim Demaille  <akim@epita.fr>
10890         * configure.ac: Bump to 2.54b.
10892 2002-10-25  Akim Demaille  <akim@epita.fr>
10894         Version 2.54a.
10896         * Makefile.maint: Update from the Coreutils.
10897         (AMTAR): Remove, obsolete.
10898         (automake_repo): Update to redhat.com.
10899         (cvs_file): New.
10900         Adjust to the fact that ansi2knr is now hosted by Automake.
10901         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
10902         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
10903         Update from masters.
10904         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
10905         autoscan.pre is not to be installed, and autoscan.list is not to
10906         be shipped.
10907         (CLEANFILES): Add autoscan.list.
10908         (autoscan.list): Disable the cache.
10909         * bin/Makefile.am: Include freeze.mk.
10911 2002-10-25  Akim Demaille  <akim@epita.fr>
10913         * bin/autom4te.in (&load_configuration): Take the file as
10914         argument.
10915         (&parse_args): Handle -C, --cache.
10916         ($help): Adjust.
10917         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
10918         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
10919         * doc/autoconf.texi (Invoking autom4te): Document --cache.
10920         Now a subsection of...
10921         (Using autom4te): This new section.
10922         (Customizing autom4te): New.
10923         (autom4te.cache): Adjust.
10925 2002-10-25  Akim Demaille  <akim@epita.fr>
10927         * doc/autoconf.texi (Generic Headers): More information on how to
10928         use AC_CHECK_HEADERS.
10930 2002-10-25  Akim Demaille  <akim@epita.fr>
10932         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
10933         Space changes.
10935 2002-10-25  Akim Demaille  <akim@epita.fr>
10937         * bin/autoscan.in (output): Output AC_PREREQ.
10938         (%needed_macros): Add AC_PREREQ so that configure.ac without one
10939         be reported.
10941 2002-10-23  Akim Demaille  <akim@epita.fr>
10943         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
10944         document _Bool.
10946 2002-10-23  Akim Demaille  <akim@epita.fr>
10948         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
10949         Reported by Peter Eisentraut.
10951 2002-10-23  Akim Demaille  <akim@epita.fr>
10953         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
10954         type _Bool.
10955         Fix a typo.
10956         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
10957         Eggert's recommandations.
10959 2002-10-22  Akim Demaille  <akim@epita.fr>
10961         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
10962         Bison, by Paul Eggert.
10963         * doc/autoconf.texi (Particular Headers): Document it.
10965 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
10967         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
10968         `$ac_configure_args'.
10970 2002-10-22  Akim Demaille  <akim@epita.fr>
10972         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
10973         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
10974         From Art Haas.
10976 2002-10-22  Akim Demaille  <akim@epita.fr>
10978         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
10980         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
10981         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
10982         (_AC_CHECK_HEADER_NEW): Rename as...
10983         (AC_CHECK_HEADER): this.
10985 2002-10-22  Akim Demaille  <akim@epita.fr>
10987         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
10988         words about HP-UX cmp: it was actually a user-written cmp.
10990 2002-10-22  Akim Demaille  <akim@epita.fr>
10992         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
10993         are a few warnings.
10994         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
10995         Quote for Perl '' strings, not "".
10996         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
10997         strings.
10999 2002-10-22  Akim Demaille  <akim@epita.fr>
11001         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
11002         characters is a syntax warning now.
11003         (_AS_QUOTE): Accept $2 as list of characters to quote.
11004         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
11005         Quote for Perl, not sh.
11006         * bin/autoheader.in: When $debug, report the file which is
11007         `do'ne.
11008         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
11009         `@', to tickle Perl's lists.
11010         Reported by Carlos Velasco.
11012 2002-10-18  Akim Demaille  <akim@epita.fr>
11014         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
11015         missing included files _are_ errors.
11016         Thanks to Alexandre Duret-Lutz.
11017         * tests/tools.at (autom4te cache): Adjust.
11018         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
11019         (AT_CHECK_M4SUGAR): Use it.
11020         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
11021         Adjust.
11022         * tests/tools.at (autom4te): Now it does exit 1.
11024 2002-10-17  Akim Demaille  <akim@epita.fr>
11026         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
11027         Fixes the `AC_ARG_VAR' test failures.
11028         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
11029         * lib/freeze.mk (check-forbidden-patterns): New.
11030         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
11031         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
11032         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
11033         /dev/null.
11034         Reported months ago by H. Merijn Brand.
11036 2002-10-17  Akim Demaille  <akim@epita.fr>
11038         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
11040 2002-10-16  Paul Eggert  <eggert@twinsun.com>
11042         * Makefile.maint (wget_files): Remove ansi2knr.c.
11043         (ansi2knr.c-url_prefix): Remove.
11045 2002-10-16  Akim Demaille  <akim@epita.fr>
11047         Because of caching, some files that no longer exist and are no
11048         longer required can still cause errors.
11049         Reported by Alexandre Duret-Lutz.
11051         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
11052         to frozen files in @ARGV, as @ARGV must remain being a list of
11053         files.  Rather, at M4 call sites, use this...
11054         (&files_to_options): New function.
11055         (&freeze): Use &error.
11056         (&up_to_date): If a file that was included according to the cache
11057         is no longer there, then the output is out dated.
11058         (&main): Don't even check whether a file is up to date is anyway
11059         --force is given.
11060         * tests/tools.at (autom4te cache): New.
11062 2002-10-16  Akim Demaille  <akim@epita.fr>
11064         * bin/autoconf.as: Kill dead options.
11065         * bin/autoupdate.in (&parse_args): Kill old options.
11066         * bin/autoreconf.in (&parse_args): Remove dead options.
11067         Factor some code.
11068         (&autoreconf): Report the directories we enter *and leave*, so
11069         that error messages can be easily located, and use GNU Make
11070         format, so that Emacs' compile mode understands us.
11071         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
11072         if some file was changed instead of `print'.
11073         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
11074         (&parse_args): Remove the dead options.
11075         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
11076         autoheader's quiet mode.
11077         (AT_CHECK_AUTOUPDATE): Likewise.
11078         * tests/tools.at (autoupdate): Adjust.
11079         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
11081 2002-10-11  Akim Demaille  <akim@epita.fr>
11083         No longer use CPP to check for the existing of headers: use CC to
11084         check for compilability.
11086         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
11087         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
11088         (_AC_CHECK_HEADER_NEW): Rename as...
11089         (AC_CHECK_HEADER): this.
11091         * lib/autotest/general.m4 (AT_INIT): Include the failed test
11092         numbers in the Subject suggestion.
11094 2002-10-11  Akim Demaille  <akim@epita.fr>
11096         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
11097         Suggest using AC_CHECK_DECLS instead.
11099 2002-10-11  Akim Demaille  <akim@epita.fr>
11101         * tests/torture.at (AC_ARG_VAR): Have configure report the value
11102         of `precious'.
11104 2002-10-11  Akim Demaille  <akim@epita.fr>
11106         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
11107         file name to enable parallel executions.
11108         From Sam Varshavchik.
11110 2002-10-08  Akim Demaille  <akim@epita.fr>
11112         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
11113         aclocal invocation, as Gettext macros might not be visible to
11114         aclocal.
11115         Instead of blindly running autopoint, scan configure.ac (not the
11116         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
11117         Reported by Paul D. Smith.
11119 2002-10-08  Paul Eggert  <eggert@twinsun.com>
11121         Work around problems found when POSIXLY_CORRECT=1 is set.
11122         None of this seems to have anything to do with POSIX, really,
11123         but it's how Perl getopt works.
11124         * bin/autom4te.in (parse_args): Configure GetOpt with
11125         "permute", too.
11126         * doc/autoconf.texi (Invoking autom4te):
11127         --warning -> --warnings.
11128         * lib/autom4te.in: --warning -> --warnings.
11130 2002-09-28  Akim Demaille  <akim@epita.fr>
11132         * doc/autoconf.texi (autom4te.cache): New section.
11134 2002-09-28  Akim Demaille  <akim@epita.fr>
11136         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
11137         (Automake-preselections): Update.
11138         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
11140 2002-09-28  Akim Demaille  <akim@epita.fr>
11142         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
11143         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
11144         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
11145         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
11147 2002-09-28  Akim Demaille  <akim@epita.fr>
11149         * tests/torture.at (Configuring subdirectories): Be robust to
11150         users who use config.site to require for a cache: in this case,
11151         the two last configure runs, using two different sets of
11152         arguments, trigger a legitimate error.
11154 2002-09-28  Akim Demaille  <akim@epita.fr>
11156         * tests/m4sh.at (Functions Support, Functions and return Support):
11157         New.
11159 2002-09-28  Akim Demaille  <akim@epita.fr>
11161         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
11162         autoheader are Perl programs.
11163         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
11164         (autom4te): Specify that the sources are in the $srcdir.
11165         * doc/autoconf.texi (Installation Directory Variables): Adjust.
11167 2002-09-28  Akim Demaille  <akim@epita.fr>
11169         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
11170         (tm_zone): Move their rules to...
11171         * lib/autoconf/types.m4: here, using AN_ macros.
11172         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
11173         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
11174         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
11175         * lib/autoconf/programs.m4: here.
11176         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
11177         (ETAGS_FOR_AUTOCONF): New.
11178         Use it.
11180 2002-09-28  Akim Demaille  <akim@epita.fr>
11182         * lib/autoconf/autoscan.m4: New file.
11183         * lib/autoconf/autoconf.m4: Include it.
11184         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
11185         that were listed in the original autoscan.list.
11186         * lib/autoconf/headers.m4: Similarly with headers.
11187         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
11188         (.m4.m4f): Don't pass --prepend-include, since that's done by
11189         tests/autom4te itself.
11190         * lib/autoscan/Makefile.am: Include freeze.mk.
11191         (autoscan.list): New target --this file is no longer a source.
11192         (autoscan.pre): New file.
11194 2002-09-28  Akim Demaille  <akim@epita.fr>
11196         * bin/autoscan.in (@kinds): Make them singular.
11197         Adjust all uses.
11198         (&init_tables): When --debug, report the list of rules to ease
11199         tracking changes in autoscan.list.
11200         * lib/autoscan/autoscan.list (function): Strip comments, sort.
11202 2002-09-28  Akim Demaille  <akim@epita.fr>
11204         * lib/autoscan/functions, lib/autoscan/headers,
11205         * lib/autoscan/identifiers, lib/autoscan/makevars,
11206         * lib/autoscan/programs: Merge into...
11207         * lib/autoscan/autoscan.list: this.
11208         * bin/autoscan.in (&init_tables): Adjust.
11210 2002-09-28  Akim Demaille  <akim@epita.fr>
11212         * lib/autoscan/functions, lib/autoscan/headers,
11213         * lib/autoscan/identifiers, lib/autoscan/makevars,
11214         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
11215         `functions' line is now prefixed with `function:'.
11216         * bin/autoscan.in (&init_tables): Adjust.
11218 2002-09-28  Akim Demaille  <akim@epita.fr>
11220         From now on, autoscan files must always map a macro name to a
11221         word: there is no `default' macro for autoscan.
11223         * bin/autoscan.in (&init_tables): Reject entries with no macro at
11224         all.
11225         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
11226         explicit.
11228 2002-09-28  Akim Demaille  <akim@epita.fr>
11230         * bin/autoscan.in (%c_keywords): Remove.
11231         (&used): Keep only track of the words we might be interested in.
11232         (&output_kind): It is no longer needed to look for non active
11233         checks.
11235 2002-09-27  Akim Demaille  <akim@epita.fr>
11237         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
11238         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
11239         * lib/autoscan/functions: Adjust.
11240         * doc/autoconf.texi (Particular Functions): Adjust.
11242 2002-09-27  Akim Demaille  <akim@epita.fr>
11244         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
11245         from /tmp.
11246         Thanks to Bill Moseley and Paul Eggert.
11247         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
11248         the tmpdir must be created.
11249         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
11250         dir be in the build tree, instead of $TMPDIR.
11252 2002-09-27  Akim Demaille  <akim@epita.fr>
11254         * bin/autoscan.in: Improve the comments.
11255         (&parse_args): Drop obsolete undocumented options.
11256         (&output_kind): Output warnings.
11257         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
11258         (getwd): Trigger a warning.
11260 2002-09-26  Akim Demaille  <akim@epita.fr>
11262         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
11263         Reported by Ralf Corsepius.
11264         * doc/autoconf.texi (autoreconf Invocation): Likewise.
11266 2002-09-26  Akim Demaille  <akim@epita.fr>
11268         Single suffix rules and seperated dependencies are not portable.
11270         * doc/autoconf.texi (Installation Directory Variables): Update.
11271         (Limitations of Make): Some about `Single Suffix Rules and
11272         Separated Dependencies'.
11273         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
11274         (ifnames, autoscan, autom4te): Un-factor into several rules.
11276 2002-09-25  Paul Eggert  <eggert@twinsun.com>
11278         * BUGS (Interoperability bugs): New section.  Mention libtool
11279         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
11281 2002-09-24  Paul Eggert  <eggert@twinsun.com>
11283         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
11284         make handles suffix-rules differently from GNU make.
11286         * bin/Makefile.am (SUFFIXES, .in): Remove.
11287         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
11288         Move the body of the old .in rule here.
11290 2002-09-16  Akim Demaille  <akim@epita.fr>
11292         i960 compilers create `b.out' files by default.
11293         Reported by Ralf Corsepius.
11295         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
11296         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
11298 2002-09-13  Paul Eggert  <eggert@twinsun.com>
11300         * doc/autoconf.texi (Particular Headers): Remove obsolete
11301         reference to `struct timezone' in the description of
11302         AC_HEADER_TIME.
11304 2002-09-13  Akim Demaille  <akim@epita.fr>
11306         Version 2.54.
11308         * config/config.sub, config/config.guess: Update.
11309         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
11310         * Makefile.am: Adjust.
11312 2002-09-13  Akim Demaille  <akim@epita.fr>
11314         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
11315         reading config.log when the compiler is rejected.
11316         Suggested by Guido Draheim.
11318 2002-09-13  Akim Demaille  <akim@epita.fr>
11320         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
11321         (chdir_init) might hang when stat'ing mounted directories.
11322         Reported by Vance Shipley.
11324 2002-09-12  Akim Demaille  <akim@epita.fr>
11326         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
11327         the lists.
11329 2002-09-12  Akim Demaille  <akim@epita.fr>
11331         * doc/autoconf.texi (Defining Symbols): Present two different
11332         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
11333         difference between 1 argument calls, and 2-3 argument calls.
11335 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
11337         * doc/autoconf.texi: Review grammar and punctuation.
11339 2002-09-11  Paul Eggert  <eggert@twinsun.com>
11341         * doc/autoconf.texi: Fix minor formatting, spelling, and
11342         grammatical typos.
11343         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
11344         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
11345         is obsolescent.
11347 2002-09-11  Akim Demaille  <akim@epita.fr>
11349         * doc/autoconf.texi (Questions): Rename as...
11350         (FAQ): this.
11351         (Defining Directories): New.
11353 2002-09-09  Akim Demaille  <akim@epita.fr>
11355         * doc/autoconf.texi (Making testsuite Scripts): Update.
11356         Suggested by Nishio Futoshi.
11358 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
11360         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
11361         plain `@' is wanted.
11363 2002-09-09  Akim Demaille  <akim@epita.fr>
11365         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
11366         `duplicates', since the algorithm was too naive and could keep
11367         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
11368         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
11369         Reported by Ralf Corsepius.
11370         * tests/torture.at (Configuring subdirectories): Exercise these
11371         cases.
11373 2002-09-09  Akim Demaille  <akim@epita.fr>
11375         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
11376         looking for a replacement file.
11377         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
11378         directory is relative.
11379         * doc/autoconf.texi (Generic Functions): Clarify the replacement
11380         directory definition.
11381         Reported by Andreas Schwab and Jim Meyering.
11383 2002-09-06  Akim Demaille  <akim@epita.fr>
11385         * doc/autoconf.texi (Setting Output Variables): Clarify what
11386         precious variables are.
11387         Suggested by Pontus Skoeld.
11389 2002-09-05  Akim Demaille  <akim@epita.fr>
11391         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
11392         (ifnames, autoscan, autom4te): Since we don't only depend on
11393         configure.ac variables (such as VERSION etc.), but also on prefix
11394         and so forth, depend on Makefile, not configure.ac.
11395         Reported by Alexandre Duret-Lutz.
11396         * doc/autoconf.texi (Installation Directory Variables): Adjust.
11398 2002-09-05  Kevin Ryde  <user42@zip.com.au>
11400         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
11401         doesn't seem to be confined to ia64, just say "some versions".
11403 2002-09-04  Akim Demaille  <akim@epita.fr>
11405         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
11406         Automake 1.6c.
11407         * Makefile.am (maintainer-clean-local): Remove.
11408         (MAINTAINERCLEANFILES): Remove COPYING.
11410 2002-09-03  Paul Eggert  <eggert@twinsun.com>
11412         * doc/autoconf.texi (Configuration Commands): Remove obsolete
11413         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
11414         Brinkmann.
11416 2002-09-03  Akim Demaille  <akim@epita.fr>
11418         * configure.ac: Bump to 2.53d.
11419         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
11420         as of today, on Automake's team suggestion.
11422 2002-09-03  Akim Demaille  <akim@epita.fr>
11424         Version 2.53c.
11426 2002-09-02  Akim Demaille  <akim@epita.fr>
11428         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
11429         SITE_MACRO_DIR.
11430         * configure.ac: Disable SITE_MACRO_DIR.
11432 2002-09-02  Jim Meyering  <meyering@lucent.com>
11434         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
11435         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
11436         Also, tweak grammar: s/make sure to/be sure to/.
11438 2002-09-02  Paul Eggert  <eggert@twinsun.com>
11440         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
11441         directory names are generally preferable to physical names.
11443 2002-09-02  Akim Demaille  <akim@epita.fr>
11445         * lib/Autom4te/General.pm (&update_file): s/die/error/.
11446         Reported by Raja R. Harinath.
11447         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
11448         * bin/autoupdate.in: Use error instead of die.
11450 2002-09-01  Paul Eggert  <eggert@twinsun.com>
11452         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
11453         ordinary shell concatenation rather than echo+tr+sed command that
11454         runs afoul of a long-line-related sed bug in Solaris 8.
11456         * bin/autoheader.in (parse_args): --warning -> --warnings.
11458         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
11459         stdout, as traditional "ls" does.
11460         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
11461         _AC_COMPILER_EXEEXT_O): Likewise.
11462         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
11464         * bin/autoconf.as: Add --prepend-include option.  This patch was
11465         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
11466         but bin/autoconf.in is generated automatically from bin/autoconf.as.
11468         * bin/autoconf.in, configure: Regenerate.
11470         * doc/autoconf.texi (Special Shell Variables): Mention
11471         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
11473         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
11474         MAILPATH and set PS1, PS2, PS4 to default values, to work
11475         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
11476         For LC_ALL etc, first try to set to "C" as POSIX requires and as
11477         the Autoconf documentation specifies; fall back to "unset" only if
11478         this fails.  Use a shell for-loop for this rather than an m4 loop,
11479         to shorten the output script.
11481 2002-08-30  Paul Eggert  <eggert@twinsun.com>
11483         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
11484         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
11485         for the CDPATH problem.  Document PWD.
11486         (Limitations of Builtins): Document the problem that "cd $foo" and
11487         "ls $foo" may refer to different directories in shells conforming
11488         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
11489         example, since the old example is now out of date.
11491         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
11492         FOO" and "ls FOO" talk about different directories; this catches
11493         problems when POSIX 1003.1-2001 "cd" fails due to symlink
11494         spaghetti.
11496         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
11497         of rolling our own unset.
11498         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
11499         in practice we needn't worry about CDPATH if unset doesn't work.
11501         * Makefile.in, aclocal.m4, bin/Makefile.in,
11502         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
11503         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
11504         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
11505         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
11506         tests/Makefile.in: Regenerate with Automake 1.6.3.
11508         * config/config.guess, config/config.sub, config/mkinstalldirs:
11509         Update.
11511         * configure: Regenerate with self.
11513 2002-08-30  Kevin Ryde  <user42@zip.com.au>
11515         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
11516         default output.
11518 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11520         * bin/autom4te.in (Request::load): Correctly test for "do" read
11521         failure.
11523 2002-08-29  Akim Demaille  <akim@epita.fr>
11525         * lib/Autom4te/General.pm (&xqx): New.
11526         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
11527         hand, which is not portable.
11528         (&error): New.
11529         * bin/autom4te.in: Use them.
11530         Use &error instead of die.
11531         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
11532         Adjust.
11534 2002-08-17  Paul Eggert  <eggert@twinsun.com>
11536         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
11537         default list of compilers to try, since it was long ago superseded
11538         by the ksh fc builtin.  Suggested by Steven G. Johnson.
11540 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
11542         * doc/autoconf.texi (Invoking autom4te): End the option table,
11543         fixing a bug introduced by the previous patch.
11544         (Limitations of Make): Add a 'target lookup' subentry in the
11545         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
11547 2002-07-29  Mark D. Roth  <roth@feep.net>
11549         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
11550         options and use $AUTOM4TE_PATH.
11551         * doc/autoconf.texi: Remove documentation of autom4te
11552         --include-envvar and --site-macro-subdir options and document
11553         use of $AUTOM4TE_PATH.
11554         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
11555         arguments from each language section.
11557 2002-07-29  Paul Eggert  <eggert@twinsun.com>
11559         * doc/install.texi: Include copyright symbol in copyright notice.
11561         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
11562         Replace with:
11563         (AM_MAKEINFOFLAGS): New macro.
11564         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
11565         * Makefile.am (INSTALL): Use the new macros.
11566         Use -o rather than --output, since "missing" does not grok --output.
11568 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
11570         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
11571         comments do not always work. Never trust the exit status of
11572         `make -k'.
11574 2002-07-24  Kevin Ryde  <user42@zip.com.au>
11576         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
11577         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
11579 2002-07-23  Paul Eggert  <eggert@twinsun.com>
11581         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
11582         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
11583         apparently treats PATH="nonexistent" as if it contained ".".
11584         Bug reported by Stefan `Sec' Zehl.
11586 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
11588         * doc/autoconf.texi (Limitations of Make): Mention the special
11589         handling of the obj/ directory by BSD make.
11591 2002-07-20  Kevin Ryde  <user42@zip.com.au>
11593         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
11594         backslashes.
11596 2002-07-19  Akim Demaille  <akim@epita.fr>
11598         * doc/autoconf.texi (Function Portability): `exit'.
11599         (Programming in M4sh): Ethymology of M4sh.
11601 2002-07-19  Akim Demaille  <akim@epita.fr>
11603         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
11605 2002-07-18  Akim Demaille  <akim@epita.fr>
11607         Version 2.53b.
11609 2002-07-18  Akim Demaille  <akim@epita.fr>
11611         * config/config.guess, config/config.sub: Update.
11613 2002-07-18  Akim Demaille  <akim@epita.fr>
11615         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
11616         Automake's parts.
11618         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
11619         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
11620         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
11622 2002-07-18  Akim Demaille  <akim@epita.fr>,
11623             Alexandre Duret-Lutz  <duret_g@epita.fr>
11625         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
11626         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
11628 2002-07-17  Russ Allbery  <rra@stanford.edu>
11630         * doc/autoconf.texi (Initializing configure): Clarify the
11631         description of the tarname default.
11633 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
11635         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
11636         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
11637         latter was not run.
11639 2002-07-17  Akim Demaille  <akim@epita.fr>
11641         * lib/Autom4te/General.pm (find_file): Browse the directories in
11642         the order they are given.
11644 2002-07-17  Akim Demaille  <akim@epita.fr>
11646         * tests/wrapsh.as, tests/wrappl.as: Merge into...
11647         * tests/wrapper.as: this.
11648         * tests/Makefile.am, configure.ac: Adjust.
11650 2002-07-17  Mark D. Roth  <roth@feep.net>
11652         * configure.ac: Add --enable-site-macro-dir option.
11653         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
11654         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
11655         --site-macro-subdir options.
11656         * bin/autoconf.in: Add --prepend-include option.
11657         * bin/autoheader.in: Add --prepend-include option.
11658         * bin/autoreconf.in: Add --prepend-include option.
11659         * bin/autoscan.in: Add --prepend-include option.
11660         * bin/autoupdate.in: Add --prepend-include option.
11661         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
11662         macro directory, remove note that include path directories are
11663         used in reverse order, and document --prepend-include option.
11664         * lib/autom4te.in: Use --prepend-include instead of --include.
11665         * tests/wrapsh.in: Use --prepend-include instead of --include.
11667 2002-07-17  Akim Demaille  <akim@epita.fr>
11669         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
11670         tarnames.
11671         * doc/autoconf.texi (Initializing configure): Adjust.
11673 2002-07-17  Akim Demaille  <akim@epita.fr>
11675         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
11676         (_AC_FUNC_MALLOC): New.
11677         (AC_FUNC_MALLOC): Use the latter.
11678         Define HAVE_MALLOC to 0 if broken.
11679         * doc/autoconf.texi (Particular Functions): Adjust.
11681 2002-07-16  Akim Demaille  <akim@epita.fr>
11683         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
11684         * doc/autoconf.texi (C Compiler): Adjust.
11686 2002-07-09  Akim Demaille  <akim@epita.fr>
11688         * doc/autoconf.texi: Properly set the ``header'' part.
11690 2002-07-09  Akim Demaille  <akim@epita.fr>
11692         * doc/autoconf.texi (Systemology): Some about Darwin.
11694 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
11696         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
11697         Don't use AC_REQUIRE in AU_DEFUN.
11699 2002-07-09  Art Haas  <ahaas@neosoft.com>
11701         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
11703 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
11705         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
11706         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
11707         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
11708         so that Emacs setups GNU style for perl-mode and cperl-mode.
11710 2002-06-27  Paul Eggert  <eggert@twinsun.com>
11712         * config/install-sh: Quote $src.  Prefer || to test's -o option,
11713         as per "Limitations of Builtins".
11714         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
11715         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
11717         * tests/mktests.sh: Use grep instead of fgrep, as per
11718         "Limitations of Builtins".
11720 2002-06-15  Paul Eggert  <eggert@twinsun.com>
11722         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
11723         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
11724         so that we consistently test the just-built programs.
11725         * tests/wrappl.as: Likewise.
11727 2002-06-12  Paul Eggert  <eggert@twinsun.com>
11729         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
11730         name, so that symlinks to 'autoconf' work properly.  Bug reported
11731         by Bruno Haible.
11732         * bin/autoheader.in (AUTOM4TE): Likewise.
11733         * bin/autoreconf.in (autoconf, autoheader): Likewise.
11734         * bin/autoscan.in (autom4te): Likewise.
11735         * bin/autoupdate.in (autom4te): Likewise.
11737         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
11738         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
11739         on Solaris 2.5.1.
11741 2002-06-11  Andreas Schwab  <schwab@suse.de>
11743         * doc/autoconf.texi: Add more dir entries.
11745 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
11747         * bin/autom4te.in ($cache): Don't define using `$me', the name
11748         of the cache should not depend on the name under which autom4te
11749         was installed.
11751 2002-06-07  Akim Demaille  <akim@epita.fr>
11753         * tests/tools.at (autoconf: forbidden tokens, basic)
11754         (autoconf: forbidden tokens, exceptions): Adjust to the change of
11755         words in autom4te.in.
11757 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
11759         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
11760         _AC_LANG_PROGRAM_C_F77_HOOKS.
11762 2002-06-07  Akim Demaille  <akim@epita.fr>
11764         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
11765         rename as...
11766         (AC_REPLACE_FNMATCH): this.
11767         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
11768         AC_FUNC_FNMATCH_GNU.
11770 2002-06-07  Akim Demaille  <akim@epita.fr>
11772         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
11773         Rosetta Stone for Unix.
11775 2002-06-07  Akim Demaille  <akim@epita.fr>
11777         * bin/autom4te.in (warn_forbidden): When rejecting a token,
11778         suggest m4_pattern_allow.
11779         Suggested by Adam J. Richter.
11781 2002-06-07  Akim Demaille  <akim@epita.fr>
11783         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
11784         ac_config_libobj_dir.
11785         (AC_CONFIG_LIBOBJ_DIR): New.
11786         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
11787         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
11788         Use ac_config_libobj_dir to find the replacement files.
11789         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
11790         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
11791         (AC_REPLACE_FNMATCH_GNU): these.
11792         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
11793         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
11794         * tests/mktests.sh (ac_exclude_list): Don't check
11795         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
11797 2002-06-06  Paul Eggert  <eggert@twinsun.com>
11799         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
11800         if ln doesn't work.
11801         * NEWS: Likewise.
11802         * doc/autoconf.texi (Configuration Links): Likewise.
11803         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
11805 2002-06-05  Paul Eggert  <eggert@twinsun.com>
11807         * config/config.guess, config/config.sub, config/texinfo.tex:
11808         Update from masters.
11810 2002-05-29  Paul Eggert  <eggert@twinsun.com>
11812         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
11813         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
11814         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
11815         Likewise.
11816         * lib/autoconf/Makefile.am (check-local): Likewise.
11817         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
11818         * lib/autoconf/types.m4 (commentary only): Likewise.
11819         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
11820         * lib/autotest/Makefile.am (check-local): Likewise.
11821         * lib/m4sugar/Makefile.am (check-local): Likewise.
11822         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
11823         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
11825         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
11826         * doc/autoconf.texi (Particular Programs): Document them.
11827         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
11828         * NEWS: Likewise.
11830 2002-05-27  Paul Eggert  <eggert@twinsun.com>
11832         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
11833         * NEWS, doc/autoconf.texi (Particular Types): Document it.
11834         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
11835         instead of AC_MBSTATE_T, which never existed.
11837 2002-05-23  Akim Demaille  <akim@epita.fr>
11839         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
11840         version of Autoconf that is discussed.
11842 2002-05-22  Paul Eggert  <eggert@twinsun.com>
11844         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
11845         from the default list of compilers to try.  Suggested by
11846         Kate Hedstrom.
11847         * NEWS: Document the above.
11848         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
11850 2002-05-17  Paul Eggert  <eggert@twinsun.com>
11852         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
11853         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
11854         This improves on an earlier suggestion by H. Peter Anvin.
11856 2002-05-16  Paul Eggert  <eggert@twinsun.com>
11858         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
11859         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
11860         Both macros now accept an optional source-dir arg.
11861         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
11863         * NEWS: Document this.
11864         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
11866         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
11867         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
11868         not for GNU extensions; this undoes part of the 2000-11-03 change,
11869         reverting to 2.13-compatible behavior.
11870         Add new optional argument DIR.
11871         (AC_FUNC_FNMATCH_GNU): New macro.
11873         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
11875 2002-05-08  Paul Eggert  <eggert@twinsun.com>
11877         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
11878         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
11879         and it causes a 'test' syntax error if it fails.
11880         Bug reported by Stephen Gildea.
11882         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
11883         If prototypes are supported, use them to check this at compile-time,
11884         instead of trying to check it at run-time.  If we must do a run-time
11885         check, assume that setvbuf is standard when cross-compiling, as
11886         nonstandard setvbuf occurs only on ancient and unlikely hosts.
11887         Bug reported by Paul D. Smith.
11889         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
11890         argument specifying location of getloadavg.c.  This removes a
11891         FIXME.  This idea was taken from Jim Meyering's implementation in
11892         textutils.
11893         * doc/autoconf.texi (Particular Functions): Document this.
11894         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
11895         that's what the code does; this fixes a bug reported by
11896         Paul D. Smith.
11898 2002-05-03  Akim Demaille  <akim@epita.fr>
11900         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
11901         autopoint instead of gettextize.
11902         ($uses_alocal): Rename as...
11903         ($uses_aclocal): this.
11904         * doc/autoconf.texi (autoreconf Invocation): Adjust.
11905         Suggested by Bruno Haible.
11907 2002-05-03  Akim Demaille  <akim@epita.fr>
11909         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
11911 2002-04-29  Paul Eggert  <eggert@twinsun.com>
11913         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
11914         files to be 1 second older; just set them to be the same time.
11915         Also, sleep 1 second after the first aclocal, to work around
11916         problems with sub-second time stamps on the input files.
11918 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
11920         * doc/autoconf.texi: Mention "set -e -x" lossage
11921         under node "Limitations of Builtins".
11923 2002-04-29  Akim Demaille  <akim@epita.fr>
11925         * doc/install.texi: Better wording for setting variables when
11926         running configure.
11927         From Christian Cornelssen.
11929 2002-04-29  Akim Demaille  <akim@epita.fr>
11931         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
11932         of lack of $LINENO support, then the test will compare the $LINENO
11933         in testsuite vs. the lineno in the test file.  This is wrong, of
11934         course.
11935         Be sure to protect it.
11936         Reported by Patrick Welche.
11938 2002-04-25  Akim Demaille  <akim@epita.fr>
11940         * doc/autoconf.texi (Obsolete Macros): Typo.
11941         Reported by Vladimir Volovich.
11943 2002-04-25  Akim Demaille  <akim@epita.fr>
11945         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
11946         than some of the input files, hence, on the second run of aclocal,
11947         if some of its input are younger, make them older.
11948         Suggested by Paul Eggert.
11950 2002-04-25  Akim Demaille  <akim@epita.fr>
11952         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
11953         Thanks to Paul Eggert.
11955 2002-04-25  Akim Demaille  <akim@epita.fr>
11957         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
11958         and ac_subst_vars be sh variables containing the list of
11959         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
11960         DEFAULT diversion.
11961         (_AC_INIT_PREPARE): Use them to log them.
11962         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
11963         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
11964         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
11965         _AC_SUBST_FILES and _AC_SUBST_VARS.
11966         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
11968 2002-04-24  Akim Demaille  <akim@epita.fr>
11970         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
11971         autoheader, so that automake does not complain about a missing
11972         config.h.in that was to be created.
11974 2002-04-23  Akim Demaille  <akim@epita.fr>
11976         * bin/autoheader.in (parse_args): --warning takes an argument.
11977         Fixes PR/220.
11979 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
11981         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
11982         and bb.out when cleaning up.
11984 2002-04-22  Akim Demaille  <akim@epita.fr>
11986         Version 2.53a.
11988 2002-04-22  Akim Demaille  <akim@epita.fr>
11990         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
11992 2002-04-22  Akim Demaille  <akim@epita.fr>
11994         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
11995         comma.
11996         Reported by Gregory Giannoni.
11998 2002-04-22  Akim Demaille  <akim@epita.fr>
12000         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
12001         Fixes false failures on Darwin.
12003 2002-04-21  Paul Eggert  <eggert@twinsun.com>
12005         * TODO, bin/autoupdate.in, doc/autoconf.texi,
12006         lib/autoconf/general.m4, lib/autoconf/libs.m4,
12007         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
12008         tests/tools.at: Minor spelling and grammar fixes.
12010 2002-04-20  Paul Eggert  <eggert@twinsun.com>
12012         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
12013         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
12014         * lib/autotest/general.m4 (AT_INIT): Likewise.
12015         * tests/atgeneral.m4 (AT_INIT): Likewise.
12017 2002-04-19  Paul Eggert  <eggert@twinsun.com>
12019         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
12020         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
12021         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
12022         lib/autoconf/functions.m4, lib/autoconf/general.m4,
12023         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
12024         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
12025         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
12026         Minor spelling and grammar fixes.
12028         * doc/autoconf.texi: Follow the outline suggested in the GNU
12029         Sample Texts sections of the Texinfo 4.2 manual.  Most
12030         importantly, this makes sure that the copyright notices appear in
12031         all output formats.  You probably need Texinfo 4.2 to generate
12032         the manual now.
12034         Fix some bugs when using "$@" when there might be zero positional
12035         arguments in cases where this matters.
12037         * bin/autoconf.as: Rewrite so that the problem does not come up.
12038         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
12039         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
12040         * lib/autotest/general.m4 (AT_INIT): Likewise.
12042         * bin/autoheader.in: Use 'case' statement to work around problem.
12043         * bin/auto4mte.in: Likewise.
12044         * bin/autoreconf.in: Likewise.
12045         * bin/autoscan.in: Likewise.
12046         * bin/autoupdate.in: Likewise.
12047         * bin/ifnames.in: Likewise.
12049         * doc/autoconf.texi (Shell Substitutions): Document the problem.
12051         * lib/autotest/general.m4 (AT_INIT):
12052         Use Zsh alias to work around problem.
12053         * tests/atgeneral.m4 (AT_INIT): Likewise.
12055         * tests/c.at: We can't have zero arguments, so remove workaround
12056         that is not portable to Zsh.
12058 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
12060         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
12061         from aclocal.m4 too.
12063 2002-04-12  Akim Demaille  <akim@epita.fr>
12065         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
12067 2002-04-10  Akim Demaille  <akim@epita.fr>
12069         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
12070         workaround for ${1+"$@"}.
12071         * doc/autoconf.texi (Shell Substitutions): Explain it.
12072         From Oliver Kiddle and Peter Stephenson.
12074         Have M4sh perform minimal shell sanitizing.
12076         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
12077         part into...
12078         (_AS_PREPARE): this new macro.
12079         (AS_PREPARE): New.
12080         (AS_INIT): Invoke AS_SHELL_SANITIZE.
12081         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
12083         Adjust Autoconf and Autotest.
12085         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
12086         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
12087         * lib/autotest/general.m4 (AT_INIT): Likewise.
12088         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
12089         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
12090         AS_SHELL_SANITIZE.
12092         Use this M4sh to generate Autoconf's shell scripts.
12094         * tests/wrapsh.as: New, precursor of wrapsh.in.
12095         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
12096         on Autotest and M4sh.
12097         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
12098         (wrapsh.in): New target.
12099         * bin/autoconf.as: New, precursor of autoconf.in.
12100         (autoconf.in): New target.
12102 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
12104         * doc/autoconf.texi (Limitations of Make): Mention the issue
12105         with indented comments in rules.
12107 2002-04-09  Andreas Schwab  <schwab@suse.de>
12109         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
12110         ac_top_builddir when setting ac_abs_top_builddir.
12112 2002-04-06  Kevin Ryde  <user42@zip.com.au>
12114         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
12115         (Portable Shell): Cross reference to Systemology.
12117 2002-04-05  Akim Demaille  <akim@epita.fr>
12119         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
12120         directories when descending in a SUBDIRS.
12121         Reported by Ezra Peisach.
12123 2002-04-04  Andreas Schwab  <schwab@suse.de>
12125         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
12126         contains no literal separators.
12128 2002-04-03  Akim Demaille  <akim@epita.fr>
12130         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
12131         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
12132         Use dnl, not the KILL diversion.
12133         Extracted from...
12134         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
12135         (AC_CONFIG_LINKS): here.
12136         Adjust.
12137         Don't use the KILL diversion, as it kills spurious output, which
12138         results in failures being hidden.
12139         Use m4_defn where appropriate.
12140         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
12141         after the second argument.
12142         Use m4_defn.
12143         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
12144         syntax, as it is provided by M4sugar.
12145         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
12147 2002-04-03  Andreas Schwab  <schwab@suse.de>
12149         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
12150         expanded if $# <= 2.
12152         * bin/autoreconf.in (autoreconf): Run automake after rerunning
12153         aclocal.
12155 2002-04-03  Akim Demaille  <akim@epita.fr>
12157         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
12158         (_AC_COMPILER_EXEEXT_REJECT): New.
12159         Also recognize *.bb and *.bbg as compilation byproducts.
12160         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
12161         (_AC_COMPILER_OBJEXT): Use them.
12162         Fixes Debian #138666.
12164 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
12166         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
12168         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
12169         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
12170         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
12171         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
12172         (AC_C_CONST): Same.
12173         (AC_C_INLINE): Same.
12174         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
12175         * doc/autoconf.texi, NEWS: Document.
12176         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
12177         AC_C_CROSS.
12179 2002-04-02  Akim Demaille  <akim@epita.fr>
12181         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
12182         _AS_MKDIR_P_PREPARE.
12184 2002-03-28  Kevin Ryde  <user42@zip.com.au>
12186         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
12187         to avoid versions of HP C which don't allow that.
12189 2002-03-27  Paul Eggert  <eggert@twinsun.com>
12191         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
12192         (AS_SHELL_SANITIZE): Invoke it.
12193         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
12195 2002-03-26  Akim Demaille  <akim@epita.fr>
12197         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
12199 2002-03-26  Akim Demaille  <akim@epita.fr>
12201         * doc/autoconf.texi (Introduction): The GNATS base moved.
12203 2002-03-25  Paul Eggert  <eggert@twinsun.com>
12205         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
12206         as POSIX requires, as it doesn't work with Zsh.
12207         * doc/autoconf.texi (Assignments): Document the problem.
12209 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
12211         * doc/autoconf.texi (Limitations of Make): Mention more issue
12212         about VPATH, overriding of macros in sub-makes, and handling of
12213         SHELL.
12215 2002-03-21  Paul Eggert  <eggert@twinsun.com>
12217         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
12218         problem with here-document buffer boundaries.
12220         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
12221         when reinvoking the shell, to work around problems with installers
12222         who put strange things like "cd" commands in their environments.
12224 2002-03-19  Akim Demaille  <akim@epita.fr>
12226         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
12227         From Aaron Ucko.
12229 2002-03-19  Akim Demaille  <akim@epita.fr>
12231         * bin/autoscan.in (scan_file): Specify the location in `&used'
12232         invocations.
12233         From Nicolas Joly.
12235 2002-03-19  Akim Demaille  <akim@epita.fr>
12237         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
12238         From Nishio Futoshi.
12240 2002-03-19  Akim Demaille  <akim@epita.fr>
12242         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
12244 2002-03-18  Paul Eggert  <eggert@twinsun.com>
12246         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
12247         (Limitations of Usual Tools): Add mkdir section.
12249         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
12250         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
12251         back on AS_DIRNAME to compute prefixes otherwise; this is
12252         roughly what mkinstalldirs does.  That way, we need not have
12253         our own filename disassembler.  The old disassembler did not
12254         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
12256         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
12257         Create at_test_all by a series of assignments,
12258         not by a single assignment of a long string.  The latter causes ksh
12259         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
12260         presumably because of a buffer overrun.
12262 2002-03-14  Paul Eggert  <eggert@twinsun.com>
12264         * lib/autotest/general.m4 (at_times_skip):
12265         Renamed from at_times.  Now a boolean.
12266         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
12267         says 'times: not found'.
12269 2002-03-14  Akim Demaille  <akim@epita.fr>
12271         * bin/autoreconf.in (&study_gettextize): New.
12272         (&autoreconf): Handle newest gettextize.
12273         Rerun aclocal if needed.
12274         Suggested by Andreas Schwab.
12276 2002-03-13  Akim Demaille  <akim@epita.fr>
12278         * doc/autoconf.texi (Special Shell Variables): More about IFS.
12280 2002-03-13  Akim Demaille  <akim@epita.fr>
12282         * doc/autoconf.texi (Header Portability): New.
12283         Add information about stdint.h and inttypes.h from Paul Eggert.
12285 2002-03-13  Akim Demaille  <akim@epita.fr>
12287         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
12288         -p'.
12289         From Bob Proulx.
12291 2002-03-12  Akim Demaille  <akim@epita.fr>
12293         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
12294         m4_require.
12296 2002-03-11  Andreas Schwab  <schwab@suse.de>
12298         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
12299         does not do it if --with-lispdir is given.
12301 2002-03-08  Akim Demaille  <akim@epita.fr>
12303         Version 2.53.
12305 2002-03-08  Akim Demaille  <akim@epita.fr>
12307         * doc/autoconf.texi (Subdirectories): Clarify that the
12308         subdirectory should exist.
12310 2002-03-08  Akim Demaille  <akim@epita.fr>
12312         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
12314 2002-03-08  Akim Demaille  <akim@epita.fr>
12316         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
12317         aliases the actual variables, and modifications of the former
12318         affect the latter.
12320 2002-03-08  Akim Demaille  <akim@epita.fr>
12322         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
12323         because of C-c: have m4 output in tmp files, then mv them.
12325 2002-03-08  Akim Demaille  <akim@epita.fr>
12327         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
12328         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
12329         * bin/ifnames.in: Copyright update.
12331 2002-03-08  Akim Demaille  <akim@epita.fr>
12333         * doc/autoconf.texi (Invoking autom4te): New.
12335 2002-03-05  Akim Demaille  <akim@epita.fr>
12337         * doc/autoconf.texi (Specifying Names): Clarification suggested by
12338         Kevin Ryde.
12340 2002-03-05  Akim Demaille  <akim@epita.fr>
12342         Version 2.52i.
12344 2002-03-04  Akim Demaille  <akim@epita.fr>
12346         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
12347         * lib/autoconf/general.m4 (AC_INIT): More informative error
12348         message for LIBOBJ.
12350 2002-03-04  Akim Demaille  <akim@epita.fr>
12352         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
12353         parallel builds.
12355 2002-03-04  Akim Demaille  <akim@epita.fr>
12357         * doc/autoconf.texi (Transforming Names): Equality between target
12358         and host is irrelevant.
12359         (Specifying Names, Canonicalizing): Remove all references to the
12360         backward compatibility hooks.  Rather, collect them all into...
12361         (Hosts and Cross-Compilation): this new section.
12362         * doc/install.texi (System Type): Ditto.
12363         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
12364         that `--host' implies cross-compilation.
12366 2002-03-04  Akim Demaille  <akim@epita.fr>
12368         * doc/autoconf.texi (Evaluation Macros): New.
12369         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
12370         useless.
12371         (_m4_foreach): Define the variant with immediate evaluation so
12372         that it contains exactly the items, not an expression which
12373         evaluation is the current item.
12374         (m4_re_string, m4_re_word): Don't over quote them.
12376 2002-03-04  Akim Demaille  <akim@epita.fr>
12378         Instead of having stacking `shift's evaluated at the end, let
12379         `foreach' loops immediately evaluate them.
12381         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
12382         $*.  This is the n-th time I change my mind, but hopefully this is
12383         the last...
12384         (m4_lquote): New.
12385         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
12386         efficient.
12387         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
12388         it was only a hack for m4_text_wrap.
12389         (m4_car2): Remove, replaced by...
12390         (m4_cdr): New.
12391         (_m4_foreach): Adjust.
12392         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
12393         m4_bpatsubst for clarification.
12395 2002-03-04  Akim Demaille  <akim@epita.fr>
12397         * doc/autoconf.texi (Changequote is Evil): New.
12399 2002-03-03  Kevin Ryde  <user42@zip.com.au>
12401         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
12402         on old systems like SunOS.
12404 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
12406         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
12407         lib/autoconf/functions.m4, lib/autoconf/general.m4,
12408         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
12409         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
12410         of messages.
12412 2002-02-28  Akim Demaille  <akim@epita.fr>
12414         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
12415         message to be sent.
12417 2002-02-28  Kevin Ryde  <user42@zip.com.au>
12419         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
12421 2002-02-25  Akim Demaille  <akim@epita.fr>
12423         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
12424         From Akinori Musha.
12426 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
12428         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
12429         translate \r\n to \n.
12431 2002-02-07  Akim Demaille  <akim@epita.fr>
12433         Version 2.52h.
12435 2002-02-07  Akim Demaille  <akim@epita.fr>
12437         Fix Autoconf PR/209.
12438         Also reported by Frank Denis.
12440         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
12442 2002-02-07  Akim Demaille  <akim@epita.fr>
12444         Fix Autoconf PR/207:
12445         AC_PREFIX_PROGRAM fails with dashed program names
12447         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
12448         variable when looking for the prefix program.
12449         Now it also works for shell variables.
12451 2002-02-07  Akim Demaille  <akim@epita.fr>
12453         * doc/autoconf.texi (Limitations of Builtins): More about
12454         case/esac.
12456 2002-02-06  Akim Demaille  <akim@epita.fr>
12458         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
12459         case/esac, some shells don't support it.
12460         Reported by Zack Weinberg.
12461         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
12463 2002-02-06  Akim Demaille  <akim@epita.fr>
12465         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
12466         sure not to introduce newlines in at_groups.
12467         * lib/autotest/Makefile.am (autotest.m4f): Typo.
12469 2002-02-06  Akim Demaille  <akim@epita.fr>
12471         * tests/torture.at (Configuring subdirectories): Skip if aclocal
12472         is not available.
12474 2002-02-05  Paul Eggert  <eggert@twinsun.com>
12476         * doc/autoconf.texi (Specific Compiler Characteristics):
12477         Describe HP-UX cc bug workaround more accurately.
12478         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
12479         not unsigned long.
12480         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
12481         cross-compilers, too.  This undoes some of the most recent change
12482         to this file.
12484 2002-02-05  Akim Demaille  <akim@epita.fr>
12486         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
12487         to make sure they are up to date when `check' is run.
12489 2002-02-05  Akim Demaille  <akim@epita.fr>
12491         * doc/autoconf.texi (Making testsuite Scripts): Document
12492         package.m4.
12494 2002-02-05  Akim Demaille  <akim@epita.fr>
12496         * lib/freeze.mk: New.
12498 2002-02-05  Akim Demaille  <akim@epita.fr>
12500         Implement `autom4te --freeze'.
12502         * bin/autom4te.in (&freeze): New.
12503         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
12504         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
12506 2002-02-05  Akim Demaille  <akim@epita.fr>
12508         * bin/autom4te.in (&parse_args): Implement `frozen files are
12509         optional are the sum of the previous files on the command line'.
12510         Also, pass `--reload-state=' on them, so...
12511         (handle_m4): don't.
12512         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
12513         (M4sh): Rely on M4sugar.
12514         (Autotest, M4sh, M4sugar): Use frozen files.
12516 2002-01-31  Akim Demaille  <akim@epita.fr>
12518         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
12519         * doc/autoconf.texi (Initializing configure): Adjust.
12521 2002-01-30  Akim Demaille  <akim@epita.fr>
12523         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
12524         alphanumeric to `-' instead of `_'.
12526 2002-01-30  Akim Demaille  <akim@epita.fr>
12528         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
12529         for plain code, the other for cross-compilation code.  The latter
12530         is now run with GCC only.
12531         * doc/autoconf.texi (Compilers and Preprocessors): New.
12533 2002-01-30  Akim Demaille  <akim@epita.fr>
12535         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
12536         values.
12537         * doc/autoconf.texi (Initializing configure): Explain how to
12538         change AC_INIT default values.
12540 2002-01-29  Akim Demaille  <akim@epita.fr>
12542         * tests/torture.at (Configuring subdirectories): Use configure.in,
12543         so that aclocal 1.4 works.
12544         Reported by Alexandre Duret-Lutz and Larry Schmitt.
12546 2002-01-28  Akim Demaille  <akim@epita.fr>
12548         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
12549         needs an argument.
12551 2002-01-28  Akim Demaille  <akim@epita.fr>
12553         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
12554         AUTOTEST_PATH *after* it was set.
12555         Don't put `.' in the PATH: the user should be precise and `./' if
12556         needed.  In addition, given that the test suite does some `cd', if
12557         `.' is in the path, the `tested programs' sections will report
12558         programs found in the test suite's directory, while during the
12559         tests (performed in their own directory), these programs are no
12560         longer visible.  In other words, the results is confusing and
12561         useless.
12562         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
12564 2002-01-24  Akim Demaille  <akim@epita.fr>
12566         Version 2.52g.
12568 2002-01-24  Akim Demaille  <akim@epita.fr>
12570         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
12571         * doc/autoconf.texi: Finally add Akim as an author.
12573 2002-01-24  Akim Demaille  <akim@epita.fr>
12575         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
12576         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
12577         Bourne. Use /bin/sh.
12578         From Andreas Buening.
12580 2002-01-24  Akim Demaille  <akim@epita.fr>
12582         * config/config.guess, config/config.sub, config/texinfo.tex:
12583         Update from masters.
12585 2002-01-24  Akim Demaille  <akim@epita.fr>
12587         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
12588         * config/auxdir.m4, config/cond.m4, config/depend.m4,
12589         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
12590         * config/missing.m4, config/sanity.m4, config/select.m4,
12591         * config/strip.m4: Remove, to ease sync'ing with any version of
12592         Automake.
12594 2002-01-24  Akim Demaille  <akim@epita.fr>
12596         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
12597         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
12598         Reported by Geir Ove Myhr.
12600 2002-01-21  Akim Demaille  <akim@epita.fr>
12602         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
12604 2002-01-21  Akim Demaille  <akim@epita.fr>
12606         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
12607         message on invalid options.
12608         * bin/autom4te.in (parse_args): Don't use
12609         Autoconf::General::getopt with non valid options.
12611 2002-01-17  Jim Meyering  <meyering@lucent.com>
12613         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
12614         $ac_cv_exeext so we don't use an old, invalid, cached value.
12616 2002-01-11  Akim Demaille  <akim@epita.fr>
12618         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
12619         Meyering.
12620         * doc/autoconf.texi (Function Portability): Document the strnlen
12621         limitation.
12622         (Particular Functions): Document AC_FUNC_STRNLEN.
12623         * lib/autoscan/functions: Adjust.
12625 2002-01-06  Akim Demaille  <akim@epita.fr>
12627         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
12628         package.m4, since is really depends upon configure.ac, not
12629         configure.
12630         * doc/autoconf.texi (testsuite Scripts): Adjust.
12631         * tests/Makefile.am (package.m4): New.
12632         EXTRA_DIST it since its a source.
12634 2002-01-06  Akim Demaille  <akim@epita.fr>
12636         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
12637         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
12638         and PACKAGE_BUGREPORT from here...
12639         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
12640         arguments.
12641         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
12642         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
12643         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
12644         * tests/tools.at (autoheader): Adjust.
12645         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
12647 2002-01-06  Akim Demaille  <akim@epita.fr>
12649         * bin/autoscan.in (scan_file): Use `&used'.
12651 2002-01-03  Akim Demaille  <akim@epita.fr>
12653         * doc/autoconf.texi (Output): Improved wording regarding use of
12654         AC_OUTPUT.
12655         From Olly Betts.
12657 2001-12-18  Kevin Ryde  <user42@zip.com.au>
12659         * doc/autoconf.texi (Function Portability): Add notes on sscanf
12660         sometimes needing writable input.
12662 2001-12-17  Jim Meyering  <meyering@lucent.com>
12664         * doc/autoconf.texi (New Macros): Tweak wording.
12666 2001-12-14  Akim Demaille  <akim@epita.fr>
12668         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
12669         trailing files, don't apply `-rf' to files which might not be
12670         created by configure (core, core.*, and *.core), but just `rm -f'.
12671         Suggested by Jonathan Kamens.
12673 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
12675         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
12677 2001-12-14  Akim Demaille  <akim@epita.fr>
12679         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
12681 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
12683         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
12684         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
12685         abs_srcdir, top_srcpath to abs_top_srcdir.
12686         (_AC_OUTPUT_FILES): Adjust.
12687         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
12688         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
12689         * tests/wrappl.in, tests/wrapsh.in: Adjust.
12691 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
12693         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
12694         C/Fortran linking on HP/UX, by extracting the Fortran library
12695         search path from the LPATH line in the $F77 -v output.
12697 2001-12-12  Kevin Ryde  <user42@zip.com.au>
12699         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
12700         forbidden file descriptors table.
12702 2001-11-26  Akim Demaille  <akim@epita.fr>
12704         * bin/autoscan.in (%c_keywords): Build it at top level.
12705         Map to 1 in order to simplify its uses.
12707 2001-11-26  Akim Demaille  <akim@epita.fr>
12709         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
12710         Remove $filepath, useless.
12711         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
12712         variables, they are really part of the tokens.
12713         Split the input line on spaces and then look for tokens.
12714         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
12715         because of `lex$U.$(OBJEXT)'.
12716         (&scan_files): Use "@list" instead of join.
12717         * doc/Makefile.am (CLEANFILES): Add *.fns.
12719 2001-11-26  Akim Demaille  <akim@epita.fr>
12721         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
12722         Remove, replaced by...
12723         * tests/wrappl.in: Be common for all the Perl executables.
12724         In particular autoscan and autoheader want -I.
12725         * configure.ac: Adjust.
12726         * lib/autoscan/headers: errno.h is portable.
12728 2001-11-26  Akim Demaille  <akim@epita.fr>
12730         * bin/autoscan.in (used): New.
12731         Use it.
12733 2001-11-26  Akim Demaille  <akim@epita.fr>
12735         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
12736         directives.
12737         (&scan_sh_file): Remove a duplicate pattern.
12738         (&check_configure_ac): Use long options.
12739         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
12741 2001-11-26  Akim Demaille  <akim@epita.fr>
12743         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
12744         Before, having a line containing the opening of a multi line
12745         comment made the whole line be ignored.
12747 2001-11-26  Akim Demaille  <akim@epita.fr>
12749         * doc/autoconf.texi (Using an Autotest Test Suite): New.
12750         (testsuite Scripts): Be one of its subsection.
12751         (Autotest Logs): New.
12753 2001-11-26  Akim Demaille  <akim@epita.fr>
12755         Test groups are now run two directories deeper.
12757         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
12758         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
12759         at_top_builddir.
12760         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
12761         top_srcdir, builddir and top_builddir.
12762         Use `at_*dir' relatively to the directory containing the
12763         suite, use `*dir' when relatively to the current group dir.
12765 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
12767         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
12768         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
12769         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
12770         spelling errors.
12772 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
12774         * doc/autoconf.texi (Using System Type): Add an example of `case
12775         $host' usage so people quit using `case $target' everywhere.
12777 2001-11-22  Akim Demaille  <akim@epita.fr>
12779         * doc/autoconf.texi (Installation Directory Variables): Englishoes
12780         spotted by Jim Meyering.
12782 2001-11-16  Paul Eggert  <eggert@twinsun.com>
12784         This patch implements a `long double' suggestion by Oliver Kiddle.
12786         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
12787         static, to catch errors if the value isn't known at compile-time
12788         and the compiler supports dynamic arrays.  Change its name from
12789         `_array_' to `test_array' to avoid potential name clashes.
12790         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
12791         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
12792         better than double.  Catch a bug in GCC 2.95.2 x86.
12793         * doc/autoconf.texi (C Compiler): Document the above.
12794         * NEWS: Likewise.
12796 2001-11-13  Akim Demaille  <akim@epita.fr>
12798         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
12799         hand.
12800         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
12802 2001-11-13  Akim Demaille  <akim@epita.fr>
12804         * lib/autotest/general.m4 (AT_INIT): After having run the test
12805         group, go back to the initial directory, not to at_suite_dir.
12807 2001-11-13  Akim Demaille  <akim@epita.fr>
12809         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
12810         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
12811         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
12812         option.
12813         (AT_CHECK_CONFIGURE): Use absolute paths.
12814         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
12815         The problem is still the old one: there is no means in M4 (that I
12816         know about) to create a defining macro, because there is no means
12817         to create `$1' etc., therefore, the defining macro ``swallows''
12818         all the arguments meant to the defined macro.
12820 2001-11-13  Akim Demaille  <akim@epita.fr>
12822         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
12823         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
12824         configure.ac.
12825         * tests/aclocal.m4: Remove, as it is no longer used.
12827 2001-11-13  Akim Demaille  <akim@epita.fr>
12829         * lib/autotest/general.m4: Change `tests?' into `groups?' in
12830         variable names when referring to a single test group, or to
12831         `suite' when referring to the whole test suite.
12832         `at_last_test' is removed: m4 compute at_format itself.
12833         (at_stdout, at_stder1, at_stderr): New variables.
12834         (AT_CHECK): Use them.
12836 2001-11-13  Akim Demaille  <akim@epita.fr>
12838         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
12839         in PATH.
12840         Create `testsuite.dir/003/run' instead of `testsuite.003'.
12841         Do it as soon as a test fails, don't wait till the end of the test
12842         suite.
12843         Don't remove $as_me.[0-9]*, since these files no longer exist.
12845 2001-11-13  Akim Demaille  <akim@epita.fr>
12847         * tests/tools.at: Use absolute paths, since we are no longer run
12848         in place.
12850 2001-11-13  Akim Demaille  <akim@epita.fr>
12852         Now that tests are running in their own private dir, there is no
12853         need to list the files to remove at the end of tests groups.
12855         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
12856         (AT_data_files, at_data_files): Remove.
12857         (AT_CLEANUP, AT_DATA): Simplify.
12858         (AT_INIT): Adjust.
12859         Remove the group dir if !debug && !failed.
12860         * tests/atspecific.m4: Adjust.
12862 2001-11-13  Akim Demaille  <akim@epita.fr>
12864         Start a new layout for Autotest: `testsuite' creates
12865         `testsuite.dir' in which the at-check-line etc. files are to be
12866         found, and `testsuite.dir/003' where the test group 3 is run.
12868         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
12869         at_check_line_file, at_format, at_test_normalized, at_group_dir
12870         are new variables.
12871         Create the directories.
12872         Use absolute paths for at- files.
12873         (AT_CHECK): Adjust.
12875 2001-11-11  Michael Matz  <matz@kde.org>
12877         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
12878         (m4_car2): New.
12879         (m4_car): Properly quote arguments.
12881 2001-11-13  Akim Demaille  <akim@epita.fr>
12883         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
12884         with stricter rules on LIBOBJS.
12886 2001-11-12  Paul Eggert  <eggert@twinsun.com>
12888         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
12889         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
12890         __PROTOTYPES too.
12892 2001-11-12  Akim Demaille  <akim@epita.fr>
12894         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
12896 2001-11-12  Akim Demaille  <akim@epita.fr>
12898         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
12899         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
12900         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
12901         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
12902         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
12903         specify to what the macro should be defined (typically to 1).
12905 2001-11-12  Akim Demaille  <akim@epita.fr>
12907         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
12908         From Jim Meyering.
12910 2001-11-12  Akim Demaille  <akim@epita.fr>
12912         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
12913         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
12914         definition used by Automake where LEX is +/- "${missing} lex" and
12915         `missing' itself contains variables.
12917 2001-11-12  Akim Demaille  <akim@epita.fr>
12919         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
12920         Now that M4sh pushes BODY, the comments were output at the end of
12921         the test suites.
12923 2001-11-08  Akim Demaille  <akim@epita.fr>
12925         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
12926         that we can trace macros from aclocal.m4.
12927         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
12928         obsoleted, and redirect to the former anyway.
12929         Reported by Ralf Corsepius.
12931 2001-11-08  Akim Demaille  <akim@epita.fr>
12933         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
12934         processed only if present.
12935         * tests/torture.at (Configuring subdirectories): Use autoreconf
12936         instead of successive calls to autoconf.
12937         Add a nonexistent subdirectory to exercise the patch above.
12938         Reported by Ralf Corsepius.
12940 2001-11-08  Kevin Ryde  <user42@zip.com.au>
12942         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
12943         doesn't accept .S files.
12945 2001-11-07  Akim Demaille  <akim@epita.fr>
12947         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
12948         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
12949         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
12950         * bin/autom4te.in (warn_forbidden): New.
12951         (handle_output): Use it.
12952         Read m4_pattern_forbid with messages.
12954 2001-11-05  Akim Demaille  <akim@epita.fr>
12956         * bin/autom4te.in (--normalize): Remove.
12957         * lib/autom4te.in: Adjust.
12959 2001-11-05  Akim Demaille  <akim@epita.fr>
12961         * tests/Makefile.am (testsuite): Rename this target as...
12962         ($(TESTSUITE)): this.
12963         From Nicolas Joly.
12965 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
12967         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
12968         the --prefix option, also remove it's argument.
12970 2001-11-05  Akim Demaille  <akim@epita.fr>
12972         * doc/autoconf.texi (testsuite Invocation): Update.
12973         (Writing testsuite.at): Update.
12975 2001-11-03  Akim Demaille  <akim@epita.fr>
12977         * doc/autoconf.texi: s/@code/@command/ where appropriate.
12979 2001-11-03  Akim Demaille  <akim@epita.fr>
12981         * lib/Autom4te/General.pm: (&catfile, &canonfile)
12982         (&file_name_is_absolute): New, wrappers around routines from
12983         File::Spec.
12984         Use and export them.
12985         (&find_configure_ac): Optionally take a directory where to look at.
12986         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
12987         the arguments.
12988         Default @ARGV to `.', not find_configure_ac.
12989         (&autoreconf): Argument is a directory.
12990         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
12991         * doc/autoconf.texi (autoreconf Invocation): Update.
12993 2001-11-03  Akim Demaille  <akim@epita.fr>
12995         * lib/Autom4te/General.pm (@export_vars, @export_subs)
12996         (@export_forward_subs): New.
12997         Add basename, dirname, and fileparse.
12998         (@EXPORT): Adjust.
12999         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
13000         Don't look for aclocal flags if we already know aclocal is not
13001         used.
13002         Move aclocal.m4t only if it exists.
13003         Reported by Ezra Peisach.
13005 2001-11-03  Akim Demaille  <akim@epita.fr>
13007         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
13008         passed on command line, defaulting to ./configure.ac if present.
13009         (&maybe_autoreconf, File::Find): Remove, unused.
13010         (&autoreconf): If autoconf is not used, don't try to trace.
13012 2001-11-02  Akim Demaille  <akim@epita.fr>
13014         * configure.ac: Bump to 2.52g.
13016 2001-11-02  Akim Demaille  <akim@epita.fr>
13018         Version 2.52f.
13020 2001-11-02  Akim Demaille  <akim@epita.fr>
13022         * config/config.guess, config/config.sub, doc/standards.texi:
13023         * config/lispdir.m4: Update from masters.
13024         * configure.ac: Bump to 2.52f.
13026 2001-11-02  Akim Demaille  <akim@epita.fr>
13028         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
13029         Don't run aclocal when aclocal.m4 is not from aclocal.
13030         From Ezra Peisach.
13031         Don't run libtoolize and gettextize if --install is not given.
13033 2001-11-01  Paul Eggert  <eggert@twinsun.com>
13035         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
13036         be invoked before _AS_LINENO_PREPARE.
13037         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
13038         than character ranges.
13040         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
13041         invoking AS_BASENAME.  Set the locale variables to 'C' if
13042         possible, as POSIX requires this to get the traditional
13043         behavior.
13044         * doc/autoconf.texi (Special Shell Variables): Describe the above.
13046 2001-10-31  Paul Eggert  <eggert@twinsun.com>
13048         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
13049         with {}, as that triggers a bug in Bash 2.05.
13051         (_AS_LINENO_PREPARE): Use Sed rather than
13052         Awk.  Fix the sed prepass to work even if there are multiple
13053         instances of $LINENO on the same line.  Do not substitute for
13054         other variables like $LINENOT.  Do not check file dates; such a
13055         check is unreliable on sufficiently fast machines, and removing
13056         the check makes the code simpler and more reliable.  Check for
13057         output and chmod failures.
13059         * doc/autoconf.texi (Special Shell Variables): Document
13060         the above.
13062 2001-10-31  Akim Demaille  <akim@epita.fr>
13064         * tests/Makefile.am (atconfig): Remove this target, Automake
13065         handles it now.
13067 2001-10-31  Akim Demaille  <akim@epita.fr>
13069         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
13070         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
13071         provided, while it is optional.
13072         * configure.ac: Adjust.
13074 2001-10-26  Paul Eggert  <eggert@twinsun.com>
13076         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
13077           lib/Autom4te/Struct.pm:
13078         Require Perl 5.005_03 instead of just 5.005, as some tests fail
13079         with 5.005_02.
13081         * doc/autoconf.texi (Special Shell Variables): Document some
13082         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
13084         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
13085         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
13086         eval $LINENO is not portable in practice.
13088 2001-10-24  Akim Demaille  <akim@epita.fr>
13090         * lib/Autom4te/General.pm (backname): New.
13092 2001-10-24  Akim Demaille  <akim@epita.fr>
13094         * m4/: Remove, merged into...
13095         * config/: here.
13097 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
13099         * doc/autoconf.texi (Shellology): Mention the problems with bash
13100         2.05's use of ANSI quoting in its `set' builtin.
13102 2001-10-22  Paul Eggert  <eggert@twinsun.com>
13104         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
13105         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
13106         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
13107         POSIX decided to standardize on the int flavor of strerror_r.
13108         Always do char* test, as there's no reason not to.
13109         Assign to a char* var, to catch strerror_r that returns int*.
13111         * doc/autoconf.texi (Particular Functions):
13112         Document the above changes.  Also, document the fact that
13113         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
13115         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
13117 2001-10-20  Akim Demaille  <akim@epita.fr>
13119         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
13120         the executable was missing from the log.
13122 2001-10-20  Akim Demaille  <akim@epita.fr>
13124         * lib/Autom4te/General.pm (&update_file): If destination is
13125         unchanged, remove the source.
13126         (&up_to_date_p): Don't be verbose, be debug.
13127         * bin/autoreconf.in: No longer support --m4dir.
13128         (&autoreconf): Display the full path of the configure.ac we are
13129         studying.
13130         Trace it only once.
13131         Be sure to honor --force with gettextize.
13132         Always run aclocal.
13133         * doc/autoconf.texi: Adjust.
13135 2001-10-20  Akim Demaille  <akim@epita.fr>
13137         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
13138         Remove, dead.
13139         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
13140         `intl' is already present, as it refuses unless --force.
13141         (&parse_args): Use -I, --include instead of the old Autoconf
13142         options.
13143         ($localdir, $autoconf_dir): Remove.
13144         (@include): New.
13145         (&maybe_autoreconf): New, to preserve $_ for File::Find.
13147 2001-10-19  Jens Petersen  <petersen@redhat.com>
13149         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
13150         * doc/autoconf.texi (Particular Programs): Likewise.
13152 2001-10-19  Akim Demaille  <akim@epita.fr>
13154         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
13155         file in @configure_input@.
13156         Don't mention `automatically' in addition to `generated'.
13157         * tests/torture.at (#define header templates): Adjust.
13159 2001-10-19  Akim Demaille  <akim@epita.fr>
13161         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
13162         comment, explain how to install automatic mode selection.
13163         From Russ Allbery.
13165 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
13167         * bin/autoreconf.in (autoreconf): Display the path to the
13168         configure.ac being studied.
13170 2001-10-18  Paul Eggert  <eggert@twinsun.com>
13172         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
13173         long, to work around a bug in the HP C compiler version HP92453-01
13174         B.11.11.23709.GP.
13176         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
13177         (AS_BASENAME_EXPR): New macro.
13178         (AS_BASENAME_SED): Do not assume GNU sed semantics.
13179         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
13180         and fall back on 'sed' only if the other two fail.  This makes
13181         AS_BASENAME act more like AS_DIRNAME.
13182         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
13183         contains white space.
13184         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
13185         Use AS_DIRNAME, since I think it's now DOS-friendly.
13186         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
13187         Allow "dirname //FOO" to return either / or //, as POSIX allows
13188         either behavior.
13190 2001-10-10  Akim Demaille  <akim@epita.fr>
13192         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
13193         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
13194         From Eric Sharkey.
13196 2001-10-10  Akim Demaille  <akim@epita.fr>
13198         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
13199         m4_define, since...
13200         (_AS_ECHO_N): AS_REQUIREs it.
13202 2001-10-10  Akim Demaille  <akim@epita.fr>
13204         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
13205         (AC_INCLUDES_DEFAULT): Move to...
13206         * lib/autoconf/headers.m4: here.
13207         * lib/autoconf/types.m4: Comment changes.
13208         * doc/autoconf.texi: Specify where the default includes are used
13209         in the macro prototypes.
13211 2001-10-09  Akim Demaille  <akim@epita.fr>
13213         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
13214         transition code.
13216 2001-10-08  Akim Demaille  <akim@epita.fr>
13218         * bin/autoreconf.in (&autoreconf): Remove debugging code.
13219         (&parse_args): Pass verbosity/debugging options to subtools when
13220         --debug, not when --verbose.
13221         * lib/autom4te.in (Autoreconf-preselections): New.
13222         (Autoconf): Use it.
13224 2001-10-08  Akim Demaille  <akim@epita.fr>
13226         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
13228 2001-10-08  Akim Demaille  <akim@epita.fr>
13230         * doc/autoconf.texi (autoreconf Invocation): Adjust.
13231         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
13233 2001-10-08  Akim Demaille  <akim@epita.fr>
13235         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
13236         (Syntax of the shell scripts): Don't.
13237         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
13238         bother with $force since...
13239         * lib/Autom4te/General.pm: does.
13241 2001-10-08  Akim Demaille  <akim@epita.fr>
13243         * bin/autoreconf.in: Rewrite in Perl.
13244         * configure.ac: Adjust.
13245         * lib/Autom4te/General.pm (&up_to_date_p): New.
13246         * bin/autom4te.in (&up_to_date_p): Use it.
13247         Rename as...
13248         (&up_to_date): this.
13250 2001-10-08  Akim Demaille  <akim@epita.fr>
13252         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
13253         (m4_list_cmp): Use $0 to reinvoke yourself.
13254         (m4_patsubsts): New.
13255         (m4_strip, m4_version_unletter): Use it.
13256         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
13258 2001-10-08  Akim Demaille  <akim@epita.fr>
13260         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
13261         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
13262         * lib/autoconf/types.m4, lib/autotest/general.m4,
13263         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
13264         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
13265         m4_bregexp, m4_bpatsubst, and m4_bmatch.
13266         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
13268 2001-10-08  Akim Demaille  <akim@epita.fr>
13270         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
13272 2001-10-08  Akim Demaille  <akim@epita.fr>
13274         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
13275         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
13276         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
13277         * tests/tools.at, tests/m4sh.at: Use it.
13278         * tests/m4sh.at: Don't rely on Autoconf macros.
13279         (DIRNAME_TEST): Also exercise the expr variant.
13280         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
13281         preferred M4sugar extension is now `.4s'.
13282         * tests/README: Remove.
13284 2001-10-08  Akim Demaille  <akim@epita.fr>
13286         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
13287         (m4_provide_if): this.
13288         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
13289         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
13290         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
13291         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
13293 2001-10-08  Akim Demaille  <akim@epita.fr>
13295         Use `add-log-current-defun-function' for ChangeLog creation.
13296         Suggested by Tom Tromey.
13298         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
13299         (autotest-mode): Adjust.
13300         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
13301         'comment-region onto `C-c ;'.
13302         Comments are `#', not `dnl'.
13303         (autoconf-current-defun): New.
13304         (autoconf-font-lock-keywords): Recognize `m4_defun'.
13306 2001-10-08  Akim Demaille  <akim@epita.fr>
13308         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
13309         * lib/m4sugar/m4sh.m4: here.
13310         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
13311         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
13312         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
13313         include handle the m4_pattern_*, no longer push the
13314         BODY diversion nor set the /bin/sh line, AS_INIT does it.
13315         * lib/autotest/general.m4 (AT_INIT): Likewise.
13316         * tests/base.at: Adjust the tests to use AS_INIT.
13317         * tests/tools.at (AT_DATA_FORBIDDEN): New.
13318         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
13319         Autoconf.
13321 2001-10-07  Paul Eggert  <eggert@twinsun.com>
13323         * doc/autoconf.texi (config.status Invocation):
13324         CONFIG_SHELL defaults to a shell that supports LINENO if available.
13326         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
13327         shell does not support LINENO, and if CONFIG_SHELL is unset or
13328         empty, and if we can find a shell that does support LINENO,
13329         then set CONFIG_SHELL to that shell and then re-execute
13330         ourselves with CONFIG_SHELL.
13332 2001-10-05  Paul Eggert  <eggert@twinsun.com>
13334         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
13335         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
13336         build of $(TESTSUITE).
13338 2001-10-05  Akim Demaille  <akim@epita.fr>
13340         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
13341         iff we are a bareword.
13342         Reported by Raja R Harinath.
13344 2001-10-05  Akim Demaille  <akim@epita.fr>
13346         * tests/m4sh.at (LINENO): New.
13347         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
13348         PATH_SEPARATOR before using it.
13349         Fix the absolute path case/esac pattern.
13350         Provide $0 as fallback for as_myself.
13351         Reported by Raja R Harinath.
13353 2001-10-05  Akim Demaille  <akim@epita.fr>
13355         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
13356         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
13358 2001-10-05  Akim Demaille  <akim@epita.fr>
13360         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
13361         (AS_SHELL_SANITIZE): here.  Use it.
13362         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
13363         From Paul Eggert.
13365 2001-10-04  Akim Demaille  <akim@epita.fr>
13367         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
13368         combination of Awk and sed to replace $LINENO.
13370 2001-10-02  Paul Eggert  <eggert@twinsun.com>
13372         * doc/autoconf.texi (Limitations of Builtins): You can't use
13373         "source"; it's not portable.  Remove confusing and
13374         somewhat-incorrect example involving "." and "/".
13376         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
13377         compatibility with POSIX shells.
13379 2001-10-02  Akim Demaille  <akim@epita.fr>
13381         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
13382         instead of exec'ing to preserve $0 and $@.
13384 2001-10-01  Akim Demaille  <akim@epita.fr>
13386         * tests/testsuite (AT_INIT) <at_pass_list>: New.
13387         Don't run twice the same test.
13389 2001-10-01  Akim Demaille  <akim@epita.fr>
13391         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
13392         No longer output the list of tests.
13393         <--list>: New option.
13394         <--full-help>: Remove.
13395         Complete the short/long options duality.
13396         Various small adjustments.
13398 2001-10-01  Akim Demaille  <akim@epita.fr>
13400         * doc/autoconf.texi: Use @kbd for user input.
13401         Always use `$' as shell prompt.
13403 2001-09-30  Paul Eggert  <eggert@twinsun.com>
13405         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
13406         Don't use nested parenthesization.  This patch was originally
13407         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
13408         but somehow it didn't get incorporated then.
13409         * doc/autoconf.texi (Limitations of Usual Tools):
13410         Clarify remark about sed and nested parenthesization.
13412         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
13413         Report an error if the size cannot be determined even though
13414         the type exists.
13415         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
13416         Check for `expr' arithmetic overflow, and for compilation failure,
13417         and invoke a new argument $4 if either is discovered.
13418         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
13419         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
13421 2001-09-28  Akim Demaille  <akim@epita.fr>
13423         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
13424         * m4/lispdir.m4: New.
13425         * aclocal.m4, configure.ac: Adjust.
13427 2001-09-28  Akim Demaille  <akim@epita.fr>
13429         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
13430         (AT_TESTED): this.
13431         (AT_INIT): More the wrapped section to where it will be expanded.
13432         Output `AT_tested' only when existing.
13433         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
13435 2001-09-27  Akim Demaille  <akim@epita.fr>
13437         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
13438         generates too many bug reports.
13440         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
13441         status when executing the ACTION-IF-FALSE.
13442         * tests/base.at (AC_TRY_*): Rename as...
13443         (AC_TRY_COMMAND): this.
13444         (AC_RUN_IFELSE): New.
13445         * tests/compile.at (Extensions, C keywords)
13446         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
13447         (Broken/missing compilers, AC_PROG_CPP with warnings)
13448         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
13449         * tests/c.at (Extensions, C keywords)
13450         (Broken/missing compilers, AC_PROG_CPP with warnings)
13451         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
13452         (AC_PROG_CPP requires AC_PROG_CC): here and...
13453         * tests/fortran.at (GNU Fortran 77): there.
13454         * doc/autoconf.texi (autoconf Invocation): Fix the example:
13455         AC_TRY_RUN is about compilation, not shell commands.
13456         (Test Programs): AC_TRY_RUN works as used to be advertised.
13458 2001-09-27  Akim Demaille  <akim@epita.fr>
13460         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
13461         Raja R Harinath:
13462         Be sure to detect when $LINENO always returns the same value.
13463         Look for the original script, basename($0) is certainly not
13464         enough.
13465         Pass the CLI arguments to `$as_me.lineno'.
13467 2001-09-25  Akim Demaille  <akim@epita.fr>
13469         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
13470         Be sure the close and reopen the LOG fd before and after using tee
13471         to extend the log.
13472         <at_tests_pattern>: Adjust to the new format of at_help_all.
13474 2001-09-23  Akim Demaille  <akim@epita.fr>
13476         * bin/autom4te.in (parse_args): There can be several invocations
13477         of --language now.
13479 2001-09-23  Akim Demaille  <akim@epita.fr>
13481         * doc/autoconf.texi (Top): Wrap in @ifnottex.
13483 2001-09-23  Akim Demaille  <akim@epita.fr>
13485         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
13486         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
13487         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
13488         builddir, buildpath, top_builddir, and top_buildpath.
13489         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
13490         the current directory.
13491         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
13492         variables *before* changing the current directory.
13493         Skip nonexistent dirs.
13494         * doc/autoconf.texi (Preset Output Variables): Document these
13495         variables.
13497         * lib/autotest/general.m4: Do not reset AT_victims.
13498         Don't compute at_srcdir nor at_top_srcdir.
13500         * tests/tools.at: Hence use top_srcdir.
13502         * tests/Makefile.am, tests/autoconf, tests/autoheader,
13503         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
13504         Remove.
13505         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
13506         * tests/wrapsh.in, tests/autoupdate.in: New.
13507         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
13508         * configure.ac: Build the position independent wrappers.
13510         * man/Makefile.am: Now that test wrappers are position
13511         independent, use them and drop dark envvar magic.
13513 2001-09-23  Akim Demaille  <akim@epita.fr>
13515         * doc/autoconf.texi (Common Shell Constructs): Rename as...
13516         (Programming in M4sh): this.
13517         Promote to @section.
13519 2001-09-23  Akim Demaille  <akim@epita.fr>
13521         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
13522         Pass $at_debug_args to the rerun test suite.
13523         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
13524         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
13525         From Paul Eggert.
13527 2001-09-23  Akim Demaille  <akim@epita.fr>
13529         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
13531 2001-09-23  Akim Demaille  <akim@epita.fr>
13533         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
13534         over-escaping.
13536 2001-09-23  Akim Demaille  <akim@epita.fr>
13538         * lib/Autom4te/General.pm (&debug): New.
13539         * bin/autom4te.in ($language): Move to...
13540         (parse_args): here.
13541         Handle --language in languages.
13542         * lib/autom4te.in (Automake-selections, Autoheader-selections)
13543         (Autoscan-selections): New.
13544         (Autoconf): Adjust.
13546 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
13548         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
13549         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
13550         to match current versions from CVS Automake.
13552 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
13554         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
13555         for $LINENO.
13557 2001-09-22  Akim Demaille  <akim@epita.fr>
13559         * lib/autoconf/autotest.m4: Create `package.m4'.
13560         * tests/Makefile.am (package.m4): Remove.
13562 2001-09-22  Akim Demaille  <akim@epita.fr>
13564         Rely on `$LINENO' when possible instead of `__oline__'.
13566         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
13567         `$LINENO' support replacement when not supported.
13568         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
13569         them explicitly to be sure they are not output before this section
13570         (via m4_require).  Cosmetic only.
13571         * lib/autoconf/c.m4, lib/autoconf/general.m4,
13572         * lib/autoconf/programs.m4: Replace all the occurrences of
13573         `__oline__' with `$LINENO'.
13574         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
13576 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
13578         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
13579         character (u: -> ue) in a code comment.
13580         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
13581         it works.
13583 2001-09-21  Akim Demaille  <akim@epita.fr>
13585         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
13586         Suggested by Jim Meyering.
13588 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
13590         * lib/autoconf/programs.m4: Use extensions listed in
13591         $ac_executable_extensions when looking for programs.
13593 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
13595         * lib/autoconf/general.m4: Fix a small Englisho.
13596         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
13597         setting up ac_dir_suffix and ac_top_builddir.
13598         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
13600 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
13602         * doc/autoconf.texi (File System Conventions): Clarify the use of
13603         PATH_SEPARATOR.
13604         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
13605         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
13606         be used instead of ':'.
13607         * lib/autotest/general.m4: Replace occurrences of ':' in
13608         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
13610 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
13612         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
13613         arguments.  Fixed a typo.
13615 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
13617         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
13618         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
13620 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
13622         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
13623         * bin/autoupdate.in: Ditto.
13624         * bin/autoheader.in: Reworded a few comments.
13625         * bin/autoconf.in: Reworded help text for a few options.
13626         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
13627         * bin/autoscan.in, bin/autoupdate.in: Ditto.
13629 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
13631         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
13632         already have $file).  Set output files to binary mode (helps avoid
13633         CR issues on DOSish systems).
13635 2001-09-19  Akim Demaille  <akim@epita.fr>
13637         * lib/autotest/general.m4: Englishoes.
13638         From Tim Van Holder and Alexey Mahotkin.
13640 2001-09-18  Paul Eggert  <eggert@twinsun.com>
13642         * doc/autoconf.texi (Common Shell Constructs): New node,
13643         documenting AS_DIRNAME.
13644         (Limitations of Usual Tools): Refer to it when discussing dirname.
13645         Also, update discussion of POSIX standard to reflect latest draft.
13647         * lib/autoconf/c.m4:
13648         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
13650         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
13651         Do not pass a first argument with leading '-'
13652         to expr, by parenthesizing initial integers that might be negative.
13654         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
13655         now merely checks whether it is an error to pass an argument
13656         to getpgrp.
13658         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
13659         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
13660         whether it is a (compile-time) error to pass an argument to
13661         getpgrp.  This simpler test supports the revised documentation,
13662         and is all that AC_FUNC_GETPGRP's users really need.
13664 2001-09-18  Akim Demaille  <akim@epita.fr>
13666         * doc/autoconf.texi (Limitations of Make) <$<>: New.
13668 2001-09-18  Akim Demaille  <akim@epita.fr>
13670         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
13671         `{}'.
13672         * lib/autotest/general.m4 (AT_INIT): Adjust.
13674 2001-09-18  Paul Wagland  <paul@wagland.net>
13676         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
13677         correctly.
13678         Add test for AS_BASENAME.
13679         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
13680         added test. It now correctly handles /1/2/3/, returning '3' not ''.
13681         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
13682         * tests/base.at: Fixed the expected responses. The old ones were
13683         one line out...
13684         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
13685         the documentation claims it should (and how it behaved in 2.13).
13687 2001-09-18  Akim Demaille  <akim@epita.fr>
13689         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
13690         the AC_CONFIG_COMMANDS invocation.
13691         This also solves the name clash problems.
13692         Don't set the package's ID.
13693         * lib/m4sugar/Makefile.am (version.m4): Revamp.
13694         No longer to be shipped.
13695         (version.in): Remove.
13696         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
13697         * lib/autoconf/status.m4: Adjust.
13698         Use `m4_PACKAGE_STRING'.
13699         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
13700         the only optional argument is the name of the test suite.
13701         Expect `package.m4' to define the package signature.
13702         * lib/autom4te.in (Autotest): Add `package.m4?'.
13703         * tests/Makefile.am (package.m4): New.
13704         * tests/suite.at: ifnames is a victim.
13706 2001-09-18  Akim Demaille  <akim@epita.fr>
13708         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
13709         AC_LIBSOURCE, AC_CONFIG_FILES.
13710         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
13711         program version string doesn't match the package's.
13712         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
13713         after `(cached)'.
13715 2001-09-17  Paul Eggert  <eggert@twinsun.com>
13717         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
13718         Allow expression to return any value that can fit into unsigned long
13719         (not int, as before).  Check for output errors.
13721 2001-09-17  Bruno Haible  <haible@ilog.fr>
13723         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
13724         Always include <stdio.h> and <stdlib.h>. Evaluate
13725         the expression in an extra function before these includes. Call
13726         fprintf "%d" only after ensuring the argument is of type 'int'.
13727         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
13729 2001-09-17  Paul Eggert  <eggert@twinsun.com>
13731         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
13732         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
13733         fatal errors, and AC_CHECK_LIB causes it to include libraries even
13734         when they don't exist.
13736         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
13737         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
13738         need it.
13740         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
13741         version with the version used by fileutils 4.1, except use
13742         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
13743         we don't need it.
13745         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
13747 2001-09-13  Akim Demaille  <akim@epita.fr>
13749         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
13750         _first_.
13751         Reported by Gerrit P. Haase.
13753 2001-09-13  Akim Demaille  <akim@epita.fr>
13755         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
13756         m4_defn'ing is valid.
13758 2001-09-13  Akim Demaille  <akim@epita.fr>
13760         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
13761         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
13762         Use it.
13764 2001-09-13  Akim Demaille  <akim@epita.fr>
13766         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
13767         m4_match.
13768         (m4_re_escape): New.
13769         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
13770         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
13771         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
13772         Likewise.
13773         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
13774         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
13775         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
13776         AT_tests_all for consistency.
13777         Set at_victims.
13778         (AT_VICTIMS): Similar to AT_KEYWORDS.
13779         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
13781 2001-09-13  Akim Demaille  <akim@epita.fr>
13783         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
13785 2001-09-13  Akim Demaille  <akim@epita.fr>
13787         * lib/autotest/general.m4 (AT_INIT): Create and remove
13788         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
13789         test suites can cohabit.
13791 2001-09-13  Akim Demaille  <akim@epita.fr>
13793         * tests/mktests.sh: Don't output banners for empty test files.
13795 2001-09-13  Akim Demaille  <akim@epita.fr>
13797         Test suites can be run independently of configure.
13799         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
13800         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
13801         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
13802         ECHO_N etc.
13803         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
13804         and at_c.
13805         * lib/autotest/general.m4: Use ECHO_*.
13807 2001-09-13  Akim Demaille  <akim@epita.fr>
13809         * bin/ifnames.in: Rewrite in Perl.
13810         * configure.ac: Don't look for AWK.
13811         * tests/tools.at (AWK portability): Remove.
13812         (Syntax of the shell scripts): Don't check ifnames.
13813         (AT_CHECK_PERL_SYNTAX): New.
13814         (Syntax of the Perl scripts): Check ifnames.
13815         * tests/ifnames: New.
13817 2001-09-13  Akim Demaille  <akim@epita.fr>
13819         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
13820         test group titles.
13821         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
13822         Remove all the other keywords.
13824 2001-09-10  Akim Demaille  <akim@epita.fr>
13826         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
13827         SETUP: no longer used.
13828         Support -k, --keywords.
13829         <at_help>: Be `no', `short', or `long'.
13830         <at_help_all>: New variable.
13831         (AT_KEYWORDS): New.
13832         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
13833         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
13834         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
13835         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
13836         No longer fill the HELP diversion.
13837         (AT_CLEANUP): Use them.
13838         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
13839         (m4_list_append): Remove.
13841         Spread a few keywords in the Autoconf test suite.
13843 2001-09-10  Akim Demaille  <akim@epita.fr>
13845         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
13846         PATH_SEPARATOR, let M4sh compute it.
13847         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
13848         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
13849         Move to...
13850         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
13851         Simplify when the path is not a literal.
13852         (AS_UNAME): Use it to report PATH.
13853         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
13854         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
13855         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
13856         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
13857         normalize the path, and to look for victims.
13858         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
13859         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
13861 2001-09-07  Akim Demaille  <akim@epita.fr>
13863         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
13864         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
13865         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
13866         related variables into `at_package_*'.
13867         * lib/autotest/general.m4 (AT_VICTIMS): New.
13868         (AT_INIT): Adjust for stand-alone/embedded test suites.
13869         (AS_MESSAGE_LOG_FD): Define and use it.
13870         * tests/suite.at (AT_VICTIMS): Use it.
13871         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
13872         at_version.
13874 2001-09-07  Akim Demaille  <akim@epita.fr>
13876         Move toward possibly stand-alone test suites.
13878         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
13879         in addition, it introduces useless differences in logs.
13880         (AT_INIT): Let atconfig and atlocal be both optional.
13881         Adjust PATH computation.
13882         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
13884 2001-09-07  Akim Demaille  <akim@epita.fr>
13886         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
13887         m4sugar/version.m4.
13889 2001-09-05  Akim Demaille  <akim@epita.fr>
13891         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
13892         to avoid GCC warnings.
13893         From Uwe Seimet.
13895 2001-09-05  Akim Demaille  <akim@epita.fr>
13897         * bin/autom4te.in: --language is -l, not -s.
13899 2001-09-05  Akim Demaille  <akim@epita.fr>
13901         Be ready to handle filenames as stupid as `dnl.at', for if even
13902         the maintainer is dumb enough to do that...
13904         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
13905         excellence in M4 quotation: consider `__file__' is active.
13907         And BTW, when invoking m4, pass the --include in the right order:
13908         the wrong one.
13910         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
13911         4m.
13913 2001-09-05  Akim Demaille  <akim@epita.fr>
13915         * lib/Autom4te/XFile.pm: New lib file.
13916         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
13917         * bin/autoheader.in: Use it.
13919 2001-09-05  Akim Demaille  <akim@epita.fr>
13921         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
13922         defined.
13924 2001-09-05  Akim Demaille  <akim@epita.fr>
13926         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
13927         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
13929         * bin/autoscan.in: Use `getopt' and `find_files' etc.
13930         Add -I, --include support.
13931         * doc/autoconf.texi (autoscan Invocation): Adjust.
13933 2001-09-05  Akim Demaille  <akim@epita.fr>
13935         CVS GNU M4 doesn't like `undefine(undefined)'.
13937         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
13938         New, extracted from main.
13939         Use IO::File wherever possible.
13940         (input.m4): Be constant, use -I instead of hard coding $tmp.
13941         Therefore be a quoted heredoc.
13942         Don't invoke `_au_disable', since ac was not loaded, but just
13943         `unm4.m4'.
13945 2001-08-31  Akim Demaille  <akim@epita.fr>
13947         Version 2.52d.
13949 2001-08-31  Akim Demaille  <akim@epita.fr>
13951         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
13952         previous patch.
13953         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
13955 2001-08-31  Akim Demaille  <akim@epita.fr>
13957         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
13958         serious problems handling heredocs in heredocs.
13959         Reported by Nicolas Joly.
13961 2001-08-31  Akim Demaille  <akim@epita.fr>
13963         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
13964         (Making testsuite Scripts): Update.
13966 2001-08-31  Akim Demaille  <akim@epita.fr>
13968         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
13970 2001-08-31  Akim Demaille  <akim@epita.fr>
13972         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
13973         (testsuite Scripts): There is no such thing as `atconfig.in'.
13974         And actually one diagram is missing: test suite runtime.
13976 2001-08-31  Akim Demaille  <akim@epita.fr>
13978         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
13979         inverse order.
13981 2001-08-31  Akim Demaille  <akim@epita.fr>
13983         * bin/autoupdate.in (@include): `installcheck' revealed the path
13984         to m4sugar was lacking!
13986 2001-08-31  Akim Demaille  <akim@epita.fr>
13988         * man/Makefile.am (.x.1): We really have to pass
13989         autom4te_perllibdir.
13991 2001-08-31  Akim Demaille  <akim@epita.fr>
13993         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
13994         debug scripts, in particular passing explicitly listed tests to
13995         run is stupid.
13997 2001-08-31  Akim Demaille  <akim@epita.fr>
13999         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
14000         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
14001         Use directly autom4te, not autoconf.
14002         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
14004 2001-08-31  Akim Demaille  <akim@epita.fr>
14006         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
14007         * bin/autoheader.in (%symbol): Strip arguments of macros.
14009 2001-08-31  Akim Demaille  <akim@epita.fr>
14011         * doc/autoconf.texi: Catch up -I, --include changes.
14013 2001-08-31  Akim Demaille  <akim@epita.fr>
14015         * bin/autom4te.in (&parse_args): Die on unknown languages.
14016         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
14017         need for autoconf.
14018         Promote --include over --macrodir and other obsolete options.
14020 2001-08-31  Akim Demaille  <akim@epita.fr>
14022         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
14023         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
14024         * bin/autom4te.in ($autoconf): Pass --force.
14025         `print $out' doesn't print `$_' but `$out'.
14026         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
14027         (autoheader): Pass --force since the test suite goes too fast for
14028         the time stamps.
14029         Adjust to the new autoheader messages.
14031 2001-08-31  Akim Demaille  <akim@epita.fr>
14033         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
14034         Check the completeness of the #template.
14035         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
14036         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
14037         invocation.
14039 2001-08-31  Akim Demaille  <akim@epita.fr>
14041         * lib/Autom4te/General.pm (&find_file, &update_file): New.
14042         * bin/autoupdate.in, bin/autoheader.in: Adjust.
14043         Drop AC_MACRODIR dead for real.
14044         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
14045         `autoheader: `config.hin' is created'.
14046         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
14048 2001-08-31  Akim Demaille  <akim@epita.fr>
14050         * bin/autoheader.in: Rewrite in Perl.
14051         * tests/autoheader: Adjust.
14053 2001-08-31  Akim Demaille  <akim@epita.fr>
14055         * bin/autoconf.in (--include, -I): New option.
14056         Map --localdir, --autoconf-dir onto it.
14057         Forward autom4te's options instead of interpreting them.
14058         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
14059         There is no such envvar since the inception of autom4te.cfg.
14060         * bin/autom4te.in (&parse_args): Uniquify `@include'.
14061         * bin/autoupdate.in: Adjust, and perform more control.
14062         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
14063         * tests/autoconf: Dittowise.
14065 2001-08-31  Akim Demaille  <akim@epita.fr>
14067         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
14068         * bin/autom4te.in (&find_file): Support `FILE?' standing for
14069         optionally `FILE'.
14070         Use -e, not -f, since /dev/null for instance is OK.
14071         (&parse_args): Adjust.
14072         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
14074 2001-08-31  Akim Demaille  <akim@epita.fr>
14076         * configure.ac: Also find tested executables in bin.
14077         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
14078         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
14079         installed peer executables, only PATH is allowed to resolve it.
14080         Pass `autoconf_dir' via options, not via invisible envvars.
14081         * lib/Autom4te/General.pm (&find_peer): Remove.
14082         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
14083         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
14084         * man/Makefile.am: Let help2man rely on PATH instead of trying to
14085         find the executables for it.
14086         * tests/Makefile.am: Major cleanup.  Too lazy to document...
14087         * tests/atlocal.in: Remove all the obscure envvar manipulations.
14088         We only need PERL.
14089         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
14090         indeed related to running the test suite, while passing
14091         --autoconf-dir and others is related to running non installed
14092         Autoconf executables.  So don't do that, leave it to...
14093         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
14094         * tests/autoscan: New.
14095         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
14096         refer to library files: rely on --language.
14098 2001-08-29  Akim Demaille  <akim@epita.fr>
14100         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
14101         s/--set/--language/.
14103 2001-08-29  Akim Demaille  <akim@epita.fr>
14105         * doc/autoconf.texi: Strip the @nodes.
14106         Suggested by Paul Eggert.
14107         (Initializing configure): Typo.
14109 2001-08-29  Akim Demaille  <akim@epita.fr>
14111         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
14112         Suggested by Paul Eggert.
14114 2001-08-29  Akim Demaille  <akim@epita.fr>
14116         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
14117         download in a tmp dir.
14119 2001-08-29  Akim Demaille  <akim@epita.fr>
14121         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
14122         case insensitive OSes out there :(
14123         From Tim Van Holder.
14125 2001-08-29  Akim Demaille  <akim@epita.fr>
14127         * lib/autom4te.in: New.
14128         * lib/Makefile.am (edit, autom4te.cfg): New.
14129         * bin/autom4te.in (BEGIN): Simplify.
14130         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
14131         (&load_configuration): New.  Use it.
14132         (&parse_args): Support --mode, --set, and --melt.
14133         * bin/autoconf.in: Simplify and adjust.
14134         * tests/Makefile.am (AUTOMAKE): Use --set.
14135         * tests/atlocal.in: Adjust.
14136         * BUGS: distcheck and check are weak.
14138 2001-08-29  Akim Demaille  <akim@epita.fr>
14140         * lib/autotest/general.m4: Use
14141                 foo=`(command) 2>/dev/null`
14142         not
14143                 foo=`command` 2>/dev/null
14144         (at-devnull): Rename as...
14145         (AT-devnull): this.
14146         (--clean): Remove AT-* files too.
14147         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
14148         Reported by Nicolas Joly.
14150 2001-08-28  Akim Demaille  <akim@epita.fr>
14152         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
14153         quotes inside single quotes.
14154         Reported by Nicolas Joly.
14156 2001-08-28  Kevin Ryde  <user42@zip.com.au>
14158         * doc/autoconf.texi (Function Portability): Mention C right shifts.
14160 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
14162         * lib/autotest/general.m4: Reword some messages.
14163         (AT_INIT): Check for the `times' builtin before using it.
14164         Support test ranges as arguments to the testsuite.
14165         Have -e imply -d as the help text suggested.
14167 2001-08-27  Akim Demaille  <akim@epita.fr>
14169         * Makefile.maint: Formatting changes.
14170         (do-po-update, po-update, cvs-update, update): New targets.
14171         (AMTAR): Remove.
14173 2001-08-27  Akim Demaille  <akim@epita.fr>
14175         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
14176         <at_cmd_line>: New.
14177         Pass it to debug-*.sh scripts.
14178         <AUTOTEST_PATH>: May contain absolute dir names.
14180 2001-08-27  Akim Demaille  <akim@epita.fr>
14182         * lib/autotest/general.m4 (AT_INIT): Log the command line.
14183         Support `VAR=VAL' as arguments.
14184         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
14185         may be set via the command line.
14187 2001-08-27  Akim Demaille  <akim@epita.fr>
14189         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
14190         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
14191         first the build dirs, then the src dirs.
14192         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
14194 2001-08-27  Akim Demaille  <akim@epita.fr>
14196         * lib/autotest/general.m4 (AT_INIT): Output the definition of
14197         at_data_files earlier.
14198         (--clean, -c): New option.
14199         * tests/Makefile.am: Use this option.
14201 2001-08-27  Akim Demaille  <akim@epita.fr>
14203         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
14204         `ac_top_builddir' to mimic Automake's vocabulary, which much more
14205         readable.
14206         Adjust callers.
14207         * doc/autoconf.texi (Configuration Actions): Document the vars
14208         available in commands.
14209         Emphasize the risks of collisions in init-cmds.
14211 2001-08-27  Akim Demaille  <akim@epita.fr>
14213         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
14214         (Initializing configure): this new node.
14216 2001-08-27  Akim Demaille  <akim@epita.fr>
14218         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
14220 2001-08-27  Akim Demaille  <akim@epita.fr>
14222         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
14223         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
14224         New file.
14225         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
14227 2001-08-27  Akim Demaille  <akim@epita.fr>
14229         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
14230         to...
14231         * lib/autoconf/autoheader.m4: this new file.
14232         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
14233         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
14234         Move to...
14235         * lib/autoconf/autoupdate.m4: this new file.
14237 2001-08-27  Akim Demaille  <akim@epita.fr>
14239         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
14240         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
14241         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
14242         -> ac_dir).
14243         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
14244         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
14246 2001-08-27  Akim Demaille  <akim@epita.fr>
14248         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
14249         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
14250         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
14251         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
14252         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
14253         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
14254         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
14255         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
14256         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
14257         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
14258         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
14259         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
14260         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
14261         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
14262         (_AC_OUTPUT_SUBDIRS): Move to...
14263         * lib/autoconf/status.m4: this new file.
14264         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
14265         * tests/Makefile.am, tests/suite.at: Adjust.
14267 2001-08-27  Akim Demaille  <akim@epita.fr>
14269         Automake 1.5.
14271         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
14272         (AMTAR): Help automake define it.
14273         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
14274         needed, 1.5 can have a macro and a target with the same name.
14275         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
14276         * m4/strip.m4: New.
14277         * m4/init.m4, m4/sanity.m4: Update.
14278         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
14279         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
14280         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
14281         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
14283 2001-08-27  Akim Demaille  <akim@epita.fr>
14285         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
14287         * lib/autoconf/version.in: Remove.
14288         * lib/m4sugar/version.in: New.
14289         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
14290         Adjust callers.
14291         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
14292         the name of the directory they're in, instead of the filename,
14293         since version.m4 is now in m4sugar, but m4_acversion must not be
14294         classified as an Autoconf macro.
14295         ($input_m4): Don't qualify the path to m4sugar.
14296         Rather, pass autoconf_dir to m4.
14297         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
14298         * tests/suite.at: Require 2.52c.
14300 2001-08-27  Akim Demaille  <akim@epita.fr>
14302         testsuite.log should include config.log.
14304         * lib/autotest/autotest.m4: New.
14305         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
14306         * tests/suite.at : Adjust.
14307         (AT_INIT): Log config.log.
14308         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
14309         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
14310         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
14311         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
14312         of config.log on traps.
14313         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
14314         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
14315         for config.status'.
14316         Open the log as soon as possible.
14317         Use the same log introduction as configure's.
14319 2001-08-22  Paul Eggert  <eggert@twinsun.com>
14321         * doc/autoconf.texi (Indices): New node.
14322         Move indices out of the top level menu and into this submenu.
14324 2001-08-22  Akim Demaille  <akim@epita.fr>
14326         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
14327         AC_TRY_COMMAND.
14328         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
14330 2001-08-22  Akim Demaille  <akim@epita.fr>
14332         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
14333         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
14334         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
14335         * lib/autoconf/programs.m4: here.
14336         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
14337         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
14338         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
14339         * lib/autoconf/programs.m4: here.
14340         (_AC_DECL_YYTEXT): Rename as...
14341         (_AC_PROG_LEX_YYTEXT_DECL): this.
14342         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
14343         * tests/Makefile.am, tests/suite.am: Adjust.
14345 2001-08-22  Akim Demaille  <akim@epita.fr>
14347         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
14348         Move to...
14349         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
14350         here.
14351         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
14352         * lib/autoconf/functions.m4: here.
14353         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
14354         (AH_CHECK_LIB): Move to...
14355         * lib/autoconf/libs: this new file.
14356         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
14357         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
14358         * lib/autoconf/libs.m4: here.
14359         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
14361 2001-08-22  Akim Demaille  <akim@epita.fr>
14363         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
14364         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
14365         (AC_SITE_LOAD): Better logging of config.site.
14367 2001-08-20  Akim Demaille  <akim@epita.fr>
14369         * configure.ac (AT_CONFIG): Fix the path.
14370         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
14371         can be used.
14373 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
14375         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
14376         program with AC_LANG_PROGRAM before feeding it to
14377         AC_COMPILE_IFELSE.  Cleanup grep usage.
14379 2001-08-20  Akim Demaille  <akim@epita.fr>
14381         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
14382         * NEWS, README, README-alpha, TODO, tests/README: This package is
14383         `Autoconf', not `autoconf' (the executable).
14385 2001-08-20  Akim Demaille  <akim@epita.fr>
14387         Info readers seem to need `Index' in the index node title :(
14389         * doc/autoconf.texi: Reverse the 2001-08-15 change which
14390         simplified index node names.
14392 2001-08-20  Akim Demaille  <akim@epita.fr>
14394         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
14395         arguments are not literals.
14396         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
14397         Specify the output variables, and macros defined.
14399 2001-08-20  Akim Demaille  <akim@epita.fr>
14401         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
14402         (Examining Syntax) <AC_TRY_COMPILE>
14403         (Examining Libraries) <AC_TRY_LINK>
14404         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
14405         their arguments.
14406         Reported by Werner Lemberg.
14408 2001-08-20  Akim Demaille  <akim@epita.fr>
14410         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
14411         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
14412         Load atlocal late enough to dump it in the log.
14413         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
14415 2001-08-20  Akim Demaille  <akim@epita.fr>
14417         * tests/torture.at (Configuring subdirectories): New test.
14418         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
14419         looking for.
14420         * m4/atconfig.m4: Be sure the let $[0] be expandable.
14421         (top_srcdir): Fix its computation.
14423 2001-08-20  Akim Demaille  <akim@epita.fr>
14425         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
14426         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
14427         test suite lives.
14428         Create `atconfig' automagically.
14429         Configure atlocal.in if present.
14430         * tests/atconfig.in: Remove.
14431         * tests/atlocal.in: New.
14432         * tests/Makefile.am: Adjust.
14434 2001-08-20  Akim Demaille  <akim@epita.fr>
14436         Huh!?!?!  There are still some user EOF tags used, which prevents
14437         their use in AC_CONFIG_COMMANDS for instance...
14439         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
14440         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
14441         `_CSEOF', or `_ATEOF', as appropriate.
14442         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
14443         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
14445 2001-08-20  Akim Demaille  <akim@epita.fr>
14447         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
14448         * tests/semantics.at, tests/tools.at, tests/torture.at:
14449         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
14451 2001-08-20  Akim Demaille  <akim@epita.fr>
14453         Autotest invokes M4sh's initialization.
14455         * lib/autotest/general.m4: Adjust the diversion names.
14456         (AT_INIT): Run AS_INIT.
14457         Use the BINSH diversion to invoke /bin/sh.
14458         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
14459         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
14461 2001-08-20  Akim Demaille  <akim@epita.fr>
14463         Let M4sh have its own diversions.
14465         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
14466         (_m4_divert(NOTICE)): Rename as...
14467         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
14468         (_m4_divert(HEADER-COMMENT)): these.
14469         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
14470         (_m4_divert(NOTICE)): New, for Libtool.
14471         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
14472         long ago with `_m4_divert(GROW)'.
14473         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
14475 2001-08-20  Akim Demaille  <akim@epita.fr>
14477         * tests/base.at, tests/compile.at, tests/foreign.at,
14478         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
14479         * tests/semantics.at, tests/suite.at, tests/tools.at,
14480         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
14482 2001-08-20  Akim Demaille  <akim@epita.fr>
14484         * bin/autom4te.in (handle_output): Handle @__@.
14486 2001-08-20  Akim Demaille  <akim@epita.fr>
14488         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
14489         * lib/autotest/general.m4: Adjust the license.
14491 2001-08-17  Paul Eggert  <eggert@twinsun.com>
14493         * doc/autoconf.texi (Function Portability): Mention snprintf,
14494         following up on a suggestion by Kevin Ryde.
14496 2001-08-17  Akim Demaille  <akim@epita.fr>
14498         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
14499         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
14501 2001-08-17  Akim Demaille  <akim@epita.fr>
14503         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
14504         `$0.log' as for projects where testsuite is in src, we'd have
14505         testsuite.log created in src.
14507 2001-08-17  Akim Demaille  <akim@epita.fr>
14509         * bin/autom4te.in (&parse_args): Recognize --normalize.
14511 2001-08-17  Akim Demaille  <akim@epita.fr>
14513         Start implementing the AC_CHECK_HEADER transition scheme.
14515         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
14516         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
14517         (AC_CHECK_HEADER): Use them.
14519 2001-08-17  Akim Demaille  <akim@epita.fr>
14521         * doc/autoconf.texi: Work around Texinfo buglets.
14522         (Transformation Rules): One example is enough, users are expected
14523         to have their brains on. And BTW, use DESTDIR.
14524         (dvar): New macro.  Use it.
14526 2001-08-17  Akim Demaille  <akim@epita.fr>
14528         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
14529         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
14530         looking for ChangeLogs.
14532 2001-08-17  Akim Demaille  <akim@epita.fr>
14534         * bin/autom4te.in: --normalize is a new option.
14535         * bin/autoconf.in: Use it.
14537 2001-08-17  Akim Demaille  <akim@epita.fr>
14539         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
14540         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
14542 2001-08-16  Paul Eggert  <eggert@twinsun.com>
14544         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
14545         start, not at end.
14547 2001-08-15  Akim Demaille  <akim@epita.fr>
14549         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
14550         Use it.
14552 2001-08-15  Akim Demaille  <akim@epita.fr>
14554         * doc/autoconf.texi (pr): New index.
14555         (prindex, findex): Use, merge, and output them.
14556         (Environment Variable Index, Output Variable Index)
14557         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
14558         (Autotest Macro Index): Rename as...
14559         (Environment Variables, Output Variables,Preprocessor Symbols)
14560         (Autoconf Macros, M4 Macros, Autotest Macros): these.
14561         * doc/install.texi: Use @command.
14562         (Environment Variables): Rename as...
14563         (Defining Variables): this.
14565 2001-08-15  Akim Demaille  <akim@epita.fr>
14567         * doc/autoconf.texi (Function Portability): sprintf's return
14568         value.
14569         From Kevin Ryde.
14571 2001-08-15  Akim Demaille  <akim@epita.fr>
14573         * Makefile.maint (CVS): New.
14574         (local-check): Run changelog-check. last.
14575         (alpha): Don't depend upon local-check, since...
14576         (cvs-dist): depends upon it.
14578 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
14580         * tests/Makefile.am: Use a clean-local rule to remove
14581         autom4te.cache (it's a directory, not a file.
14582         * Makefile.am: Ditto (but maintainer-clean-local).
14584 2001-08-15  Akim Demaille  <akim@epita.fr>
14586         * bin/autom4te.in (@m4_warning): New.
14587         (&handle_m4): Use it.
14588         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
14589         warnings are issued at each run.
14590         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
14591         is in the src tree.
14593 2001-08-15  Akim Demaille  <akim@epita.fr>
14595         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
14596         don't waste time running `autoupdate --version' works.
14597         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
14599 2001-08-13  Akim Demaille  <akim@epita.fr>
14601         * doc/autoconf.texi (ma): Rename this index as...
14602         (ac): this.
14604 2001-08-13  Akim Demaille  <akim@epita.fr>
14606         * Makefile.am: Remove dead code and dead comments.
14607         (pdf, html): New targets.
14608         * doc/autoconf.texi (Using Autotest): New chapter.
14609         * doc/Makefile.am (pdf): New targets.
14610         (CLEANFILES): Adjust.
14612 2001-08-13  Akim Demaille  <akim@epita.fr>
14614         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
14615         duration of the test suite.
14617 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
14619         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
14620         endianness for comparison instead of relying on AT_CHECK_ENV.
14622 2001-08-11  Paul Eggert  <eggert@twinsun.com>
14624         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
14625         to the INSTALL file.
14627 2001-08-11  Paul Eggert  <eggert@twinsun.com>
14629         * NEWS: The autoconf manual now is distributed under the terms
14630         of the GNU Free Documentation License.
14632         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
14633         Add an appendix "Copying This Manual" for the FDL.
14635         * doc/fdl.texi: New file, from
14636         <http://www.gnu.org/licenses/fdl.texi>.
14638         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
14640 2001-08-10  Paul Eggert  <eggert@twinsun.com>
14642         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
14643         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
14644         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
14645         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
14646         m4/sanity.m4, tests/README, tests/aclocal.m4,
14647         tests/atspecific.m4, tests/base.at, tests/compile.at,
14648         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
14649         tests/semantics.at, tests/suite.at, tests/tools.at,
14650         tests/torture.at: Add copyright notice.
14652         * tests/mktests.sh: Update year in copyright notice.
14654 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
14656         * tests/semantics.at (AC_C_BIGENDIAN): New test.
14658 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
14660         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
14661         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
14662         * doc/autoconf.texi (C Compiler Characteristics): Update
14663         documentation for AC_C_BIGENDIAN.
14665 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
14667         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
14668         magic values from an object file when cross-compiling.
14669         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
14671 2001-08-10  Akim Demaille  <akim@epita.fr>
14673         * bin/autom4te.in (&handle_output): Don't use `grep' with side
14674         effects.
14675         Suggested by Russ Allbery.
14677 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
14679         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
14680         current $prefix to the sub-configures.
14682 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
14684         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
14685         extension (needed on BeOS).  Reported by Guido van Rossum.
14687 2001-08-09  Akim Demaille  <akim@epita.fr>
14689         * bin/autom4te.in ($icache): Load it only if older than autom4te.
14691 2001-08-07  Akim Demaille  <akim@epita.fr>
14693         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
14694         removed.
14695         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
14696         No need to remove the files before and after the each test, before
14697         each test and at the end of the suite is enough.
14698         Display only the children `times', not the shell's.
14699         If the test failed or was skipped, at-times is not available.
14701 2001-08-07  Akim Demaille  <akim@epita.fr>
14703         Always produce testsuite.log, including when there are no
14704         failures.  This helps getting information on skipped tests, and
14705         duration of the tests.  Err, implement the latter btw.
14707         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
14708         Dump information on the first run of each test.
14709         (AT_CLEANUP): Create `at-times' containing the duration of the
14710         test group.
14712 2001-08-07  Akim Demaille  <akim@epita.fr>
14714         The use of `dumpstat' revealed that `len' was used although it
14715         should not.  m4_text_wrap was using it, but in the Autoconf world
14716         where it is legal.  Hence (i) test M4sh in its own world, not
14717         Autoconf's, and (ii), ahem, fix the bug :)
14719         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
14720         does not like `' instead of [].
14721         (AT_INIT): Forbid `^_?AT_'.
14722         And don't output such tokens.
14723         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
14724         `script.as', and `autom4te.cache'.
14725         Remove `empty' and `macro' which are no longer used.
14726         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
14727         * tests/m4sugar.at: Use it.
14728         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
14730 2001-08-07  Akim Demaille  <akim@epita.fr>
14732         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
14734 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
14736         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
14738 2001-08-04  Akim Demaille  <akim@epita.fr>
14740         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
14741         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
14742         AC_TRY_LINK.
14743         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
14744         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
14745         (AC_F77_MAIN): Likewise.
14747 2001-08-04  Akim Demaille  <akim@epita.fr>
14749         Don't rely on M4sugar outputting the patterns in files, since we
14750         might process the output _without_ running m4, hence without these
14751         files.
14753         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
14754         * bin/autom4te.in (@Request::includes): Remove, unused.
14755         (@Request::source): Rename as...
14756         (@Request::input): this.
14757         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
14758         (&handle_output): Fetch the patterns from the traces.
14759         `$forbidden' and `$allowed' are constant: use m//o.
14760         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
14761         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
14763 2001-08-04  Akim Demaille  <akim@epita.fr>
14765         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
14766         autoconf', i.e., in addition to caching traces, cache the output.
14768         * bin/autom4te.in (Request::cache): Rename as...
14769         (Request::id): this.
14770         ($cache, $icache, $tcache, $ocache): New.
14771         (&handle_m4): Save M4 output in the cache instead of $tmp.
14772         (&handle_output): Adjust.
14773         (&up_to_date_p): Check that the output cache is up to date too.
14774         (top level): Run `&handle_m4' iff force or the cache is invalid.
14775         Run `&handle_output' if the output cache is more recent.
14777 2001-08-04  Akim Demaille  <akim@epita.fr>
14779         * bin/autom4te.in ($force): New.
14780         (&parse_args, &print_usage): -f, --force is a new option.
14781         (&handle_output): CPP directives might have spaces after `#'.
14782         (&parse_args): The first file only can be frozen.
14784 2001-08-04  Akim Demaille  <akim@epita.fr>
14786         Don't let autom4te compute the `include' traces several times:
14787         first check that the trace cache file is up to date, and then
14788         compare its timestamp with that of the output.
14790         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
14791         the preamble.  Don't require 5.005 as Autom4te::General does it,
14792         and better yet (use `use', not `require'!).
14793         * lib/Autom4te/Struct.pm: Rename the last occurrences of
14794         Class::Struct as Autom4te::Struct.
14795         * lib/Autom4te/General.pm (File::stat): Use it.
14796         (&mtime): New, export it.
14797         * bin/autom4te.in: Use it.
14798         Declare `$req' is invalid if it is outdated.
14799         Don't declare it valid before saving it if something went wrong.
14801 2001-08-04  Akim Demaille  <akim@epita.fr>
14803         Autom4te shall not encode Autoconf data, and preselecting traces
14804         must be proposed to the users.
14806         * bin/autom4te.in (@required_trace): Remove.
14807         (@preselect): New.
14808         (&parse_args, &print_usage): -p, --preselect is a new option.
14809         (&up_to_date_p): Adjust.
14810         * bin/autoconf.in: Preselect some Autoconf macros.
14812 2001-08-04  Akim Demaille  <akim@epita.fr>
14814         * tests/tools.at (autoconf --trace: user macros): Check traces on
14815         macros invoked without arguments, and macros invoked with multiple
14816         lines arguments.
14818 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
14820         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
14821         arguments.
14823 2001-08-03  Akim Demaille  <akim@epita.fr>
14825         * bin/autoconf.in ($@): Work around the usual sh bug.
14826         From Nicolas Joly.
14828 2001-08-03  Akim Demaille  <akim@epita.fr>
14830         Clean up the handling of the M4 builtins tracing exception.
14832         * bin/autom4te.in (Request::request): Don't complete M4 builtins
14833         trace requests.
14834         (@m4_builtins): Rename as...
14835         (@m4_builtin): this.
14836         (%m4_builtin_alternate_name): New.
14837         (&parse_args): Complete the trace requests with alternate names.
14838         (&handle_traces): Hence no longer do it here.
14839         (&trace_requests): Remove, unused.
14841 2001-08-03  Akim Demaille  <akim@epita.fr>
14843         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
14844         m4_if, and m4_wrap.
14846 2001-08-03  Akim Demaille  <akim@epita.fr>
14848         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
14849         (m4_divert_pop): Dump the whole diversion stack when a diversion
14850         mismatch happens.
14851         * bin/autom4te.in (&handle_output): Remember of the first
14852         occurrence of a possibly undefined macro, not the last.
14853         Complain about the possibly undefined macros in the same order as
14854         the appear in the output.
14855         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
14856         * tests/tools.at (autoconf: forbidden tokens, basic)
14857         (autoconf: forbidden tokens, exceptions): No longer sort
14858         autoconf's stderr, as it is now deterministic.
14859         Check that `dnl' is caught.
14861 2001-08-01  Akim Demaille  <akim@epita.fr>
14863         * configure.ac: Bump to 2.52c.
14865 2001-08-01  Akim Demaille  <akim@epita.fr>
14867         Version 2.52b.
14869         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
14871 2001-08-01  Akim Demaille  <akim@epita.fr>
14873         Version 2.52a.
14875 2001-08-01  Akim Demaille  <akim@epita.fr>
14877         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
14878         `die'.
14879         (&END): New.
14880         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
14881         `END', as `Autom4te::General::END' will be triggered.
14882         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
14883         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
14884         system to run `mv', `rm', and `cmp'.
14886 2001-08-01  Akim Demaille  <akim@epita.fr>
14888         * lib/Autom4te/General.pm (&unique): New.
14889         * bin/autoscan.in (&output): Use it to issue trace requests once.
14891 2001-08-01  Akim Demaille  <akim@epita.fr>
14893         * lib/Autom4te/General.pm: New.
14894         * bin/autom4te.in (Autom4te::General): Use it.
14895         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
14896         (&find_configure_ac, &find_slave): Remove.
14897         * bin/autoscan.in: Likewise.
14898         * bin/autoupdate.in: Likewise.
14900 2001-08-01  Akim Demaille  <akim@epita.fr>
14902         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
14903         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
14904         * bin: here, new directory.
14905         * lib/Autoconf: Rename as...
14906         * lib/Autom4te: this, to please case insensitive junkie OSes.
14908 2001-08-01  Akim Demaille  <akim@epita.fr>
14910         * autom4te.in ($m4): Handle the --nesting-limit.
14911         * autoconf.in (M4): Remove.
14913 2001-08-01  Akim Demaille  <akim@epita.fr>
14915         * autoconf.in ($AWK): Remove, no longer used.
14916         * test/tools.at: Use AT_CHECK_AUTOCONF.
14917         (AWK portability): Remove, for autoconf no longer uses AWK.
14918         (Syntax of the Perl scripts): New.
14919         * configure.ac: autoconf no longer needs an AWK with a good
14920         regexp engine.
14921         Use a static test on AC_PACKAGE_VERSION.
14922         * autom4te.in (&up_to_date_p): Output depends on the arguments.
14923         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
14924         * tests/atconfig.in (PERL): New.
14926 2001-08-01  Akim Demaille  <akim@epita.fr>
14928         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
14929         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
14930         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
14931         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
14932         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
14933         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
14934         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
14935         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
14936         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
14937         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
14938         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
14939         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
14940         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
14941         * lib/autoconf/c.m4: here, new file.
14943         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
14944         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
14945         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
14946         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
14947         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
14948         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
14949         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
14950         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
14951         (AC_F77_FUNC): Move to...
14952         * lib/autoconf/fortran.m4: here, new file.
14954 2001-08-01  Akim Demaille  <akim@epita.fr>
14956         * acfunctions.m4: Rename as...
14957         * lib/autoconf/functions.m4: this.
14958         * acgeneral.m4: Rename as...
14959         * lib/autoconf/general.m4: this.
14960         * acheaders.m4: Rename as...
14961         * lib/autoconf/headers.m4: this.
14962         * aclang.m4: Rename as...
14963         * lib/autoconf/lang.m4: this.
14964         * acoldnames.m4: Rename as...
14965         * lib/autoconf/oldnames.m4: this.
14966         * acspecific.m4: Rename as...
14967         * lib/autoconf/specific.m4: this.
14968         * actypes.m4: Rename as...
14969         * lib/autoconf/types.m4: this.
14970         * autoconf.m4: Rename as...
14971         * lib/autoconf/autoconf.m4: this.
14973         * m4sugar.m4: Rename as...
14974         * lib/m4sugar/m4sugar.m4: this.
14975         * m4sh.m4: Rename as...
14976         * lib/m4sugar/m4sh.m4: this.
14978         * tests/atgeneral.m4: Rename as...
14979         * lib/autotest/general.m4: this.
14981         * acfunctions: Rename as...
14982         * lib/autoscan/functions: this.
14983         * acheaders: Rename as...
14984         * lib/autoscan/headers: this.
14985         * acidentifiers: Rename as...
14986         * lib/autoscan/identifiers: this.
14987         * aclibraries: Rename as...
14988         * lib/autoscan/libraries: this.
14989         * acmakevars: Rename as...
14990         * lib/autoscan/makevars: this.
14991         * acprograms: Rename as...
14992         * lib/autoscan/programs: this.
14994 2001-08-01  Akim Demaille  <akim@epita.fr>
14996         * doc/autoconf.texi: Moving/deleting open files is not portable.
14997         Portability issues for `.' (source), and more information about sed.
14999 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
15001         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
15002         which has a special meaning and is not a reference to libibmil.a.
15003         Reported by Matteo Frigo.
15005 2001-07-25  Pavel Roskin  <proski@gnu.org>
15007         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
15008         output.
15010 2001-07-25  Akim Demaille  <akim@epita.fr>
15012         * autoconf.in: Try to define the variables before using them.
15013         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
15014         instead of `$perllibdir'.
15015         * tests/atconfig.in ($autom4te_perllibdir): Export it.
15017 2001-07-25  Akim Demaille  <akim@epita.fr>
15019         * autoconf.in (ac_LF_and_DOT): Remove, unused.
15021 2001-07-24  Akim Demaille  <akim@epita.fr>
15023         Let autoconf use autom4te for traces.
15025         * autoconf.in ($task, task trace): Remove, merely pass --trace to
15026         autom4te.
15027         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
15028         (Because I found no way for autom4te to accept `-').
15029         * autom4te.in (&Request::request): Beware of M4 builtins.
15030         (END): Don't try to remove the content of an empty dir.
15031         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
15032         (&handle_output): Set a default value to `$forbidden'.
15033         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
15034         ($autoconf): Pass --debug and --verbose.
15035         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
15036         cache.
15038 2001-07-24  Akim Demaille  <akim@epita.fr>
15040         Let autoconf use autom4te to create configure.
15042         * autoconf.in ($automate): New var.
15043         (task script): Use autom4te.
15044         * autom4te.in (File::Spec): Use it.
15045         (&find_file): New.
15046         (&parse_args): --warning is -W, not -w.
15047         Find the top level files.
15048         (&handle_m4): Pass the warnings flags.
15049         Don't report verbosely m4's failures, unless requested.
15050         (&handle_output): Don't complain for forbidden tokens in comments.
15051         Be sure to report all the forbidden tokens within a single line.
15052         (&trace_format_to_m4): Preserve `$_'.
15053         (&handle_traces): Sort the output macros.
15054         (&up_to_date_p): Find the files before trying to get its time stamp.
15056 2001-07-24  Akim Demaille  <akim@epita.fr>
15058         * Makefile.am: Ship, build and install Autom4te.
15059         (SUBDIRS): Add lib.
15060         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
15061         * configure.in: Require Perl.
15062         * man/autom4te.in: New.
15064 2001-07-19  Paul Eggert  <eggert@twinsun.com>
15066         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
15067         example, rather than (exit 1); exit (which isn't portable).
15069 2001-07-18  Akim Demaille  <akim@epita.fr>
15071         Version 2.52.
15073 2001-07-18  Akim Demaille  <akim@epita.fr>
15075         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
15076         was run, while they are needed also when it is expanded.
15077         Reported by Nicolas Joly.
15079         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
15080         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
15081         AC_F77_DUMMY_MAIN being expanded.
15083 2001-07-18  Akim Demaille  <akim@epita.fr>
15085         * configure.in: Bump to 2.51a.
15087 2001-07-17  Akim Demaille  <akim@epita.fr>
15089         Version 2.51.
15091 2001-07-17  Akim Demaille  <akim@epita.fr>
15093         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
15094         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
15096 2001-07-17  Akim Demaille  <akim@epita.fr>
15098         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
15099         used.  Well, then use the prototypes when you can, and runtime as
15100         a last resort.
15101         Reported by Artur Frysiak
15103         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
15104         (AC_FUNC_GETPGRP): Use it.
15105         First try to compile with 0-ary or 1-ary calls.
15107 2001-07-17  Akim Demaille  <akim@epita.fr>
15109         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
15110         replacement type.
15111         From Paul Eggert.
15113 2001-07-17  Akim Demaille  <akim@epita.fr>
15115         * Makefile.maint: Sync. with cppi 1.10.
15117 2001-07-17  Akim Demaille  <akim@epita.fr>
15119         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
15120         AC_F77_DUMMY_MAIN has been run.
15121         From Pavel Roskin and Steven G. Johnson.
15123 2001-07-17  Akim Demaille  <akim@epita.fr>
15125         * configure.in: Rename as...
15126         * configure.ac: this.
15128 2001-07-17  Akim Demaille  <akim@epita.fr>
15130         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
15131         rules.
15132         From Marc Espie.
15133         * Makefile.maint (release-archive-dir): Rename as...
15134         (release_archive_dir): this, so that it can be specialized in
15135         Makefile.
15137 2001-07-14  Akim Demaille  <akim@epita.fr>
15139         * configure.in: Bump to 2.50d.
15141 2001-07-14  Akim Demaille  <akim@epita.fr>
15143         Version 2.50c.
15144         * Makefile.maint (alpha): Typo.
15146 2001-07-14  Akim Demaille  <akim@epita.fr>
15148         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
15150 2001-07-14  Akim Demaille  <akim@epita.fr>
15152         * config/config.guess, config/config.sub, config/texinfo.tex
15153         * doc/standards.texi, doc/make-stds.texi: Update.
15155 2001-07-14  Akim Demaille  <akim@epita.fr>
15157         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
15159 2001-07-14  Akim Demaille  <akim@epita.fr>
15161         * Makefile.maint (maintainer-check): Rename as...
15162         (maintainer-distcheck): this.
15163         (changelog-check, static-check): New.
15164         Use them.
15166 2001-07-14  Kevin Ryde  <user42@zip.com.au>
15168         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
15169         for CXX is g++, not gcc.
15171 2001-07-14  Akim Demaille  <akim@epita.fr>
15173         * doc/autoconf.texi (Files): New subsection.
15175 2001-07-14  Akim Demaille  <akim@epita.fr>
15177         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
15178         of...
15179         (Generic Compiler Characteristics): this.
15180         (C++ Compiler): New subsection.
15182 2001-07-14  Akim Demaille  <akim@epita.fr>
15184         * autoscan.in: Use IO::File.
15185         Adjust all the routines to use it.
15186         ($log): New file (autoscan.log).
15187         (output): Dump detailed logs into $log, and a shortened version to
15188         stderr.
15189         (&scan_makefile): Refine the regexp catching tokens in the code.
15190         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
15191         and the `configure.ac' checking feature.
15193 2001-07-12  Akim Demaille  <akim@epita.fr>
15195         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
15196         Reported by Michael Elizabeth Chastain.
15198         * autoconf.in: Refuse such AWK.
15199         * configure.in: Likewise.
15200         * Makefile.am (acversion.m4): Do not use move-if-change this file
15201         has dependencies.
15202         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
15204 2001-07-10  Jens Petersen  <petersen@redhat.com>
15206         * autoscan.in (&scan_makefile): Improve programs regexp to parse
15207         things like "g++", "file.c" and "some-conf" as tokens.
15208         (&scan_file): Match C++ files extensions.
15209         If the filename extension is C++ then ask for c++.
15211 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
15213         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
15214         AC_TRY_LINK_FUNC, to check whether defining a dummy
15215         main-like routine is needed for linking with F77 libs.
15217 2001-07-05  Pavel Roskin  <proski@gnu.org>
15219         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
15220         after using break.
15221         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
15222         linking.
15224 2001-07-05  Akim Demaille  <akim@epita.fr>
15226         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
15227         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
15228         Makes' lives.
15229         Reported by Nicolas Joly.
15231 2001-07-04  Akim Demaille  <akim@epita.fr>
15233         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
15234         up.
15235         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
15236         warnings from compilers.
15237         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
15238         for all the compilers, not only GNU.  Hence move from here...
15239         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
15241 2001-07-04  Akim Demaille  <akim@epita.fr>
15243         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
15244         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
15245         AC_COMPILE_IFELSE.
15247 2001-07-04  Akim Demaille  <akim@epita.fr>
15249         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
15250         the ``strings.h'' change claimed below.
15252 2001-07-04  Akim Demaille  <akim@epita.fr>
15254         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
15256 2001-07-04  Akim Demaille  <akim@epita.fr>
15258         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
15259         strings.h if usable with string.h.
15260         Suggested by Paul Eggert.
15262 2001-07-04  Akim Demaille  <akim@epita.fr>
15264         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
15265         From Jens Petersen.
15267 2001-07-03  Akim Demaille  <akim@epita.fr>
15269         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
15270         etc. in the log.
15272 2001-07-03  Akim Demaille  <akim@epita.fr>
15274         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
15275         compiler, not the preprocessor.
15276         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
15277         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
15278         the right thing.
15279         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
15280         earlier if there are.
15282 2001-07-03  Akim Demaille  <akim@epita.fr>
15284         * autoscan.in ($initfile): Remove.
15285         (&find_file): Rename as...
15286         (&scan_file): this.
15287         Immediately scan the current file, instead of gathering them, and
15288         later having them handled by &scan_files.
15289         (&scan_files): Merely invoke Find::File.
15290         Adjust.
15292 2001-07-02  Akim Demaille  <akim@epita.fr>
15294         * autoscan.in: Formatting changes, matching the invocation order.
15295         (File::Find): Use it instead of Perl 4's `find.pl'.
15296         (&wanted): Rename as...
15297         (&find_file): this.
15299 2001-07-01  Pavel Roskin  <proski@gnu.org>
15301         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
15302         break in the argument to AC_TRY_LINK_FUNC.
15303         (AC_F77_MAIN): Remove conftest* after using break in the
15304         argument to AC_TRY_LINK.
15306 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
15308         Add alternate 'main' routine detection for linking C/C++ with Fortran,
15309         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
15311         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
15312         dummy alternate main is required even if the user provides her own
15313         'main'.
15314         (AC_F77_MAIN): New macro to detect whether it is possible to
15315         provide an alternate 'main' function name, using the 'main' from
15316         the Fortran libraries.
15317         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
15318         cross-language link tests can be performed successfully.
15319         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
15320         after $LIBS, for consistency; this should be the general rule since
15321         the user may want to link to Fortran libraries that require $FLIBS.
15322         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
15324 2001-06-29  Pavel Roskin  <proski@gnu.org>
15326         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
15327         at-stdout and at-stderr instead of removing the newline
15328         from the echo output, which is not guaranteed to work.
15330 2001-06-28  Jens Petersen  <petersen@redhat.com>
15332         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
15333         confdefs.h when non-zero.
15335 2001-06-28  Akim Demaille  <akim@epita.fr>
15337         * configure.in: Bump to 2.50c.
15339 2001-06-26  Akim Demaille  <akim@epita.fr>
15341         Version 2.50b.
15343 2001-06-26  Akim Demaille  <akim@epita.fr>
15345         Version 2.50a.
15347 2001-06-25  Pavel Roskin  <proski@gnu.org>
15349         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
15350         argument, AUTOCONF-FLAGS.
15351         * tests/mktests.sh (update_exclude_list): Add
15352         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
15353         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
15354         AC_FUNC_WAIT3 with "-W no-obsolete".
15356 2001-06-25  Akim Demaille  <akim@epita.fr>
15358         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
15360 2001-06-25  Akim Demaille  <akim@epita.fr>
15362         * autoscan.in (%macro): Now maps from word to list of macros.
15363         (&init_tables): Die when a word which is already handled by
15364         explicit macros is mapped to the default macro.
15365         (&print_unique): Remove, inlined in...
15366         (&output_kind): here.
15367         (File::Basename): Use it.
15368         (&output): Sort the CONFIG_FILES.
15369         * acheaders: Normalize.
15370         * acfunctions: Likewise.
15372 2001-06-25  Akim Demaille  <akim@epita.fr>
15374         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
15375         characteristics in the logs.
15376         Suggested by Mo DeJong.
15378 2001-06-24  Akim Demaille  <akim@epita.fr>
15380         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
15381         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
15382         * doc/autoconf.texi (Autoconf 2.13): New section.
15384 2001-06-24  Akim Demaille  <akim@epita.fr>
15386         * autoconf.in (Task traces): Separate the error messages from the
15387         traces to improve robustness.
15389 2001-06-23  Akim Demaille  <akim@epita.fr>
15391         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
15392         three as failures are unlikely, and speed matters.
15394 2001-06-23  Akim Demaille  <akim@epita.fr>
15396         * doc/autoconf.texi (Redefined M4 Macros): New.
15398 2001-06-23  Akim Demaille  <akim@epita.fr>
15400         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
15401         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
15402         5.3.
15404 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
15406         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
15407         config.status targets to after the evaluation of the INIT-CMDS.
15408         Double quote config.status targets (used to be single quoted).
15410 2001-06-23  Akim Demaille  <akim@epita.fr>
15412         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
15413         Check the content of the created file.
15414         Check the ./config.status command line invocation.
15416 2001-06-23  Akim Demaille  <akim@epita.fr>
15418         * tests/foreign.at (Libtool): Reject prehistoric versions.
15420 2001-06-23  Akim Demaille  <akim@epita.fr>
15422         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
15423         preexisting files matching a.*.
15425 2001-06-23  Akim Demaille  <akim@epita.fr>
15427         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
15428         stderr.
15429         * doc/autoconf.texi (AC_ARG_VAR): Update.
15431 2001-06-21  Akim Demaille  <akim@epita.fr>
15433         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
15434         precious variables have changed.
15435         * tests/torture.at (AC_ARG_VAR): Adjust.
15437 2001-06-21  Akim Demaille  <akim@epita.fr>
15439         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
15440         but some sed choke on multiple `;', and other tools (e.g.,
15441         Automake), include the separator themselves.
15443         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
15445 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
15447         * doc/autoconf.texi (Functions Portability): Rename as...
15448         (Function Portability): this.
15449         (Function Portability): Document potential problems with unlink().
15451 2001-06-19  Paul Eggert  <eggert@twinsun.com>
15453         * NEWS, doc/autoconf.texi: Document quadrigraphs.
15455 2001-06-18  Akim Demaille  <akim@epita.fr>
15457         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
15459 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
15461         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
15462         (_AC_FUNC_VFORK): this.
15463         Remove AC_DEFINEs and don't guess cross-compilation values.
15464         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
15465         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
15466         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
15467         vfork doesn't work.
15468         Guess values if cross-compiling, but warn.
15469         * acfunctions: Add AC_FUNC_FORK.
15470         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
15471         and vfork appropriately.
15473 2001-06-18  Akim Demaille  <akim@epita.fr>
15475         * doc/autoconf.texi (Functions Portability): New section.
15477 2001-06-18  Akim Demaille  <akim@epita.fr>
15479         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
15480         in $M4.
15481         Suggested by Andreas Schwab.
15483 2001-06-18  Akim Demaille  <akim@epita.fr>
15485         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
15486         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
15487         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
15488         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
15489         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
15490         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
15491         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
15492         the converse).
15494 2001-06-18  Akim Demaille  <akim@epita.fr>
15496         * doc/autoconf.texi (ms): New index.
15497         (Macro Index): Rename as...
15498         (Autoconf Macro Index): this.
15499         (M4 Macro Index): New appendix.
15500         (Programming in M4): New chapter.
15501         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
15502         (Quoting): Rename as...
15503         (M$ Quotation): this.
15504         Be part of `Programming in M4).
15506 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
15508         * tests/torture.at (AC_ARG_VAR): Set variables and export them
15509         in separate statements for compatibility with Tru64 v5.1.
15511 2001-06-17  Akim Demaille  <akim@epita.fr>
15513         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
15514         current values of the precious variables, not the previously
15515         cached values.
15516         Pass precious variables which are set to config.status.
15517         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
15518         * tests/torture.at (AC_ARG_VAR): New.
15520 2001-06-15  Paul Eggert  <eggert@twinsun.com>
15522         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
15523         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
15524         and explain why and how to replace them.
15525         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
15526         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
15528 2001-06-15  Akim Demaille  <akim@epita.fr>
15530         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
15531         Reported by Bruno Haible.
15533         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
15534          (_AC_ARG_VAR_PRECIOUS): to here.
15536 2001-06-15  Pavel Roskin  <proski@gnu.org>
15538         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
15539         an unused pointer use cast to this type and `if' statement to
15540         avoid warnings from the compiler.
15541         (AC_HEADER_TIME): Likewise.
15542         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
15543         in `if' statement to avoid warnings from the compiler. Declare
15544         ac_aggr static to avoid the need to initialize it.
15546 2001-06-14  Akim Demaille  <akim@epita.fr>
15548         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
15549         Macros'.
15551 2001-06-13  Akim Demaille  <akim@epita.fr>
15553         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
15554         Suggested by Alexander Mai.
15556 2001-06-13  Akim Demaille  <akim@epita.fr>
15558         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
15559         sys/types.h and sys/stat.h, and check for them.
15561 2001-06-13  Akim Demaille  <akim@epita.fr>
15563         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
15564         INCLUDES.
15566 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
15568         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
15569         succeeds and only try adding libdnet upon a failure.
15571 2001-06-12  Akim Demaille  <akim@epita.fr>
15573         * autoscan.in (&output_kind): Output the comment only if it exists.
15574         (%kind_comment): Add entry for `programs'.
15575         (&output_programs): Use &output_kind.
15576         (&output_functions, &output_identifiers, &output_headers)
15577         (&output_programs): Inline, and remove.
15579 2001-06-12  Akim Demaille  <akim@epita.fr>
15581         * autoscan.in (%kind_comment): New.
15582         (output_kind): New.
15583         (output_functions, output_identifiers, output_headers): Use it.
15585 2001-06-12  Akim Demaille  <akim@epita.fr>
15587         * autoscan.in (&print_unique): Take `$kind' and `$word' as
15588         arguments, to factor indirections into `%macro' and `%used'.
15589         (%generic_macro): Fix a typo.
15591 2001-06-12  Akim Demaille  <akim@epita.fr>
15593         * aclibraries: New.
15594         * autoscan.in (@kinds): Add `libraries'.
15595         Use `@kinds' instead of hard coded lists.
15596         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
15597         Remove, replaced by...
15598         (%used): this.
15600 2001-06-12  Akim Demaille  <akim@epita.fr>
15602         * autoscan.in (%functions_macros %headers_macros)
15603         (%identifiers_macros %programs_macros %makevars_macros): Remove,
15604         replaced by...
15605         (%macro): New.
15607 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
15609         * aclang.m4 (AC_NO_EXECUTABLES): Override
15610         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
15612 2001-06-11  Akim Demaille  <akim@epita.fr>
15614         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
15615         trailing new line.
15616         Reported by Andreas Schwab.
15618 2001-06-11  Akim Demaille  <akim@epita.fr>
15620         * Makefile.am, Makefile.maint: Typos.
15622 2001-06-09  Akim Demaille  <akim@epita.fr>
15624         * doc/autoconf.texi (Here-Documents): New section, gathering
15625         documentation about here-documents.
15626         Use `href', not `uref', and other changes.
15628 2001-06-09  Akim Demaille  <akim@epita.fr>
15630         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
15631         chapter.
15633 2001-06-09  Akim Demaille  <akim@epita.fr>
15635         * doc/autoconf.texi (Limitations of Builtins): Complete the
15636         description of the here-docs penalties with Alexandre Oliva's
15637         explanations.
15639 2001-06-01  Paul Eggert  <eggert@twinsun.com>
15641         * doc/autoconf.texi: Talk about here documents and speedups.
15642         Do not use "echo" on arbitrary strings.
15643         Spell "here-documents" consistently with the standard.
15645 2001-06-09  Akim Demaille  <akim@epita.fr>
15647         * doc/autoconf.texi (Concept Index): Introduce it.
15648         Regenerate the menus.
15650 2001-06-09  Akim Demaille  <akim@epita.fr>
15652         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
15653         * config/prev-version.txt: New.
15654         * config/move-if-change: New, for GNU libc.
15656 2001-06-06  Pavel Roskin  <proski@gnu.org>
15658         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
15660 2001-06-06  Akim Demaille  <akim@epita.fr>
15662         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
15663         properly when $1 is not a literal.
15664         Fixes PR Autoconf/187, reported by Bram Moolenaar.
15666 2001-06-06  Akim Demaille  <akim@epita.fr>
15668         Invoking AC_COPYRIGHT before AC_INIT fails.
15670         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
15671         * acgeneral.m4 (_m4_divert(VERSION_FSF))
15672         (_m4_divert(VERSION_USER)): New.
15673         (AC_COPYRIGHT): $2 is the diversion to use.
15674         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
15675         (AC_INIT): Remove dead comments as now it's commutative.
15677 2001-06-06  Akim Demaille  <akim@epita.fr>
15679         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
15680         PR autoconf/187.
15682 2001-06-05  Akim Demaille  <akim@epita.fr>
15684         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
15685         can be empty.
15686         `*dir' variables cannot be NONE.
15687         Reported by Mark Kettenis.
15689 2001-06-05  Paul Eggert  <eggert@twinsun.com>
15691         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
15693 2001-06-04  Akim Demaille  <akim@epita.fr>
15695         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
15696         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
15697         (AC_TR_SH): Move as...
15698         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
15699         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
15700         (AS_TR_SH): these.
15701         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
15702         (_AS_TR_SH_PREPARE): New.
15703         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
15704         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
15706 2001-06-02  Akim Demaille  <akim@epita.fr>
15708         * Makefile.am (.m4.m4f): Pass the options first.
15709         Fixes PR autoconf/182.
15711 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
15713         GNU getopt, when POSIXLY_CORRECT does not permute options and
15714         arguments.  So pass the options first.
15715         Fixes PR autoconf/184.
15717         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
15718         (run_m4): Remove files.
15719         (run_m4f): Remove.
15720         Update remainder of script to use them.
15721         (for warning in): Do not use a literal comma as it will not be
15722         split by IFS.
15724 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
15726         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
15727         Fortran compilers to check.
15728         (_AC_PROG_F77_V): Add '-###' as a possible option to print
15729         information on library and object files.
15730         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
15731         to check.
15733 2001-06-02  Akim Demaille  <akim@epita.fr>
15735         * autom4te.in (Request::@request): Declare with `vars', not `my',
15736         as it prevents updates via `do FILENAME'.
15738 2001-06-02  Akim Demaille  <akim@epita.fr>
15740         * configure.in (standards_texi): Remove, dead code.
15742 2001-06-02  Akim Demaille  <akim@epita.fr>
15744         * autom4te.in: New.
15746 2001-06-02  Pavel Roskin  <proski@gnu.org>
15748         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
15749         for signals other than 0 - exit with code 1.
15750         * m4sh.m4 (AS_TMPDIR): Likewise.
15751         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
15752         * autoheader.in: Likewise.
15753         * autoreconf.in: Likewise.
15754         * tests/torture.at (Signal handling): New test for the above.
15756 2001-06-01  Akim Demaille  <akim@epita.fr>
15758         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
15759         message.
15761 2001-05-31  Akim Demaille  <akim@epita.fr>
15763         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
15764         Add copyright and comments.
15765         * acheaders: Add stdint.h.
15766         Suggested by Paul Eggert.
15768 2001-05-31  Akim Demaille  <akim@epita.fr>
15770         * atgeneral.m4 (AT_INIT): Use $SHELL.
15771         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
15773 2001-05-31  Akim Demaille  <akim@epita.fr>
15775         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
15776         stdint.h.
15777         From Paul Eggert and Lars Hecking.
15779 2001-05-31  Akim Demaille  <akim@epita.fr>
15781         * tests/base.at: Adjust line numbers in error messages.
15783 2001-05-31  Akim Demaille  <akim@epita.fr>
15785         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
15786         to emit the bangshe line.
15787         Reported by David Carter.
15789 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
15791         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
15792         Fortran (95) compilers to check.
15794 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
15796         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
15797         Macro Archive URL.
15799 2001-05-23  Pavel Roskin  <proski@gnu.org>
15801         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
15802         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
15803         (AC_PROG_CXXCPP): Likewise.
15805 2001-05-22  Akim Demaille  <akim@epita.fr>
15807         * config: New directory.
15808         * configure.in: AC_CONFIG_AUX_DIR it.
15809         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
15811 2001-05-22  Akim Demaille  <akim@epita.fr>
15813         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
15814         * autoupdate.in: Specify the Emacs mode.
15815         * acversion.m4.in: Rename as...
15816         * acversion.m4: this.
15817         * tests/Makefile.am (CLEANFILES): More garbage.
15819 2001-05-22  Akim Demaille  <akim@epita.fr>
15821         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
15822         Rename as...
15823         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
15824         these.
15826 2001-05-21  Akim Demaille  <akim@epita.fr>
15828         * configure.in: Bump to 2.50a.
15831         -----
15833         Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
15834         Software Foundation, Inc.
15836         Copying and distribution of this file, with or without
15837         modification, are permitted provided the copyright notice and this
15838         notice are preserved.