* lib/Makefile.am (autom4te.cfg): Make it read only.
[autoconf.git] / ChangeLog
blobb83a184a2aa19c43a0572c358b8a714af224ae3f
1 2003-06-25  Akim Demaille  <akim@epita.fr>
3         * lib/Makefile.am (autom4te.cfg): Make it read only.
4         Depend on Makefile since it contains substitutions.
5         From Paolo Bonzini.
6         * lib/autom4te.in (args): Add local.at? for Autotest args.
7         This change was made on autom4te.cfg which is generated.
8         Reported by Raja R. Harinath.
10 2003-06-25  Akim Demaille  <akim@epita.fr>
12         * doc/autoconf.texi (Header Portability): sys/mount.h.
13         From Gareth McCaughan.
15 2003-06-23  Akim Demaille  <akim@epita.fr>
17         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
18         not all of them.  This fixes 1. the fact that when testing
19         Autoconf there are many many config.log, 2. the incorrect use of
20         top_srcdir to find config.log.
21         Don't mix the detailed output of failed test with the summary of
22         failures.  Rather, append detailed log afterwards.
24 2003-06-23  Akim Demaille  <akim@epita.fr>
26         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
27         always run: output config.log on $at_group_log.
29 2003-06-23  Akim Demaille  <akim@epita.fr>
31         * tests/torture.at (#define header templates): Don't use quotes in
32         C++ comments as it puzzles Emacs' sh font-lock-mode.
34 2003-06-23  Akim Demaille  <akim@epita.fr>
36         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
37         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
38         * tests/atspecific.m4: Rename as...
39         * tests/local.at: This.
40         * tests/suite.at: Move the globals into...
41         * tests/local.at: here.
42         * tests/Makefile.am: Adjust.
43         * doc/autoconf.texi (testsuite Scripts): Adjust.
45 2003-06-21  Kevin Ryde  <user42@zip.com.au>
47         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
48         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
49         ensuring we add -std1 for full-ANSI.
51         * doc/autoconf.texi (hdrindex): New macro.
52         Add index entries for portability of various standard header files.
54 2003-06-20  Akim Demaille  <akim@epita.fr>
56         * configure.ac: Bump to 2.57b.
58 2003-06-20  Akim Demaille  <akim@epita.fr>
60         Version 2.57a.
62 2003-06-20  Akim Demaille  <akim@epita.fr>
64         * bin/autom4te.in: Don't rely on $HOME being defined.
65         Reported by Marc Espie as PR/233.
67 2003-06-20  Akim Demaille  <akim@epita.fr>
69         * lib/autotest/general.m4: Use at_times_file only if used.
70         From Nicolas Joly.
72 2003-06-20  Akim Demaille  <akim@epita.fr>
74         * config/config.guess, config/config.sub, config/elisp-comp,
75         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
76         Update from masters.
78 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
80         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
81         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
82         (TEST_SCRIPT): New diversion.
83         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
84         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
85         (AT_INIT): Support for expected failures.
87 2003-06-02  Akim Demaille  <akim@epita.fr>
89         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
90         changes.
91         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
92         Autoconf nor Automake.
93         (&contents): New, from Automake.
94         PODify.
96 2003-05-28  Paul Eggert  <eggert@twinsun.com>
98         * NEWS, doc/autoconf.texi (Particular Functions),
99         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
100         is the inverse of localtime.
102 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
104         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
105         (handle_exec_errors): New function.  Work around $! being
106         altered by WEXITSTATUS.
107         (xqx, xsystem): Use handle_exec_errors.
109 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
111         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
112         Do not call `_exit()', simply modify `$?'.
113         (xsystem): Reset $! before running system, and check it afterward.
114         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
115         63 for version mismatches.
117 2003-05-23  Akim Demaille  <akim@epita.fr>
119         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
120         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
121         the middle of a line).
122         * lib/m4sugar/m4sugar.m4: Likewise.
123         Remove useless spaces in comments.
125 2003-05-23  Akim Demaille  <akim@epita.fr>
127         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
128         exit 63, so that we (or Automake's "missing") can tell the
129         difference with a plain failure.
130         * doc/autoconf.texi (Notices): Adjust.
132 2003-05-23  Akim Demaille  <akim@epita.fr>
134         * Makefile.am, bin/Makefile.am, config/Makefile.am,
135         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
136         White spaces cleanup.
138 2003-05-22  Jim Meyering  <jim@meyering.net>
139             and Paul Eggert <eggert@twinsun.com>
141         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
142         Remove `#include <stdlib.h>' from the list; we should never
143         make confdefs.h include <stdlib.h> or <cstdlib>, because the
144         resulting namespace pollution would cause other tests to fail.
145         Configure scripts run with some older versions of g++ and HP's
146         aCC would fail due to such an #include.  Problems reported by
147         Matthew Mueller in <http://bugs.debian.org/120704> and by
148         Keith Bostic in
149         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
150         In the test, use the test declaration before including <stdlib.h>,
151         as that's closer to how it'll be used.
153 2003-05-23  Akim Demaille  <akim@epita.fr>
155         * doc/autoconf.texi (Header Portability): ucred.h.
156         From Ian Redfern.
158 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
160         Overhaul Autotest's logging: generate separate log files
161         in testsuite.dir/NNN/testsuite.log, and append them to
162         testsuite.log instead of re-running the test verbosely.
164         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
165         file descriptor, write 0 to at_status_file instead of setting
166         at_status=0, initialize some new variables (at_status_file,
167         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
168         to rerun the tests, instead append the at_group_log to the
169         at_suite_log when a test fails.
170         (AT_SETUP): pipe the test case's output into at_tee_pipe,
171         with the AS_MESSAGE_LOG_FD redirected to stdout.
172         (AT_CLEANUP): save the output status in $at_status_file
173         and restore it, redirect the AS_MESSAGE_LOG_FD back to
174         its original place.
175         (AT_CHECK): since tests are run with a redirected stdout,
176         and used to be re-run in verbose mode, turn some $at_verbose
177         into echo, and don't redirect the output of testing stdout
178         and stderr.
180         * lib/autotest/autoconf.texi (testsuite Scripts): Update
181         the name of the debugging directory and information about
182         its contents.
184 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
186         * lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
187         parameter
189 2003-05-22  Akim Demaille  <akim@epita.fr>
191         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
192         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
193         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
194         * lib/autoconf/status.m4: Fix and adjust copyright notices.
196 2003-05-22  Akim Demaille  <akim@epita.fr>
198         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
199         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
200         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
201         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
202         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
203         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
204         * lib/autoconf/status.m4, lib/autoconf/types.m4,
205         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
206         * tests/atspecific.m4, tests/base.at, tests/compile.at,
207         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
208         * tests/tools.at, tests/torture.at:
209         Whitespace clean up.
210         Suggested by Jim Meyering.
212 2003-05-22  Akim Demaille  <akim@epita.fr>
214         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
215         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
216         Reported by Jim Meyering.
218 2003-05-22  Akim Demaille  <akim@epita.fr>
220         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
221         Add AC_HELP_STRING  to the obsolete macros section.
222         Typos.
223         Use '@.' for sentences that ended in a capital letter.
224         From Art Haas.
226 2003-05-22  Akim Demaille  <akim@epita.fr>
228         * config/config.guess, config/config.sub, config/elisp-comp,
229         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
230         * config/texinfo.tex, doc/standards.texi: Update from masters.
232 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
234         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
235         it to eval.
237 2003-05-21  Akim Demaille  <akim@epita.fr>
239         * bin/autoupdate.in ($m4): Fix quotation.
240         Reported by Martin Mokrejs.
242 2003-05-19  Paul Eggert  <eggert@twinsun.com>
244         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
245         Remove non-ASCII characters.
247 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
249         * tests/semantics.at (AC_SEARCH_LIBS): New test.
250         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
251         AC_CHECK_HEADERS_NEW): New tests.
253 2003-05-17  Akim Demaille  <akim@epita.fr>
255         * lib/autoconf/functions.m4: Use the default includes so that
256         memcmp be declared before being tested.
257         Reported by Sander Niemeijer.
258         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
259         * doc/autoconf.texi (Default Includes): Document
260         AC_INCLUDES_DEFAULT.
262 2003-05-17  Akim Demaille  <akim@epita.fr>
264         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
265         * doc/autoconf.texi (Obsolete Macros): Adjust.
266         Reported by Werner LEMBERG and Debian Bug 190886.
268 2003-05-16  Akim Demaille  <akim@epita.fr>
270         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
271         user name space clashes.
272         Reported by Bruno Haible.
274 2003-05-16  Akim Demaille  <akim@epita.fr>
276         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
277         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
278         them uniform, and more robust to Perl special characters.
279         Reported by Martin Mokrejs.
281 2003-05-14  Akim Demaille  <akim@epita.fr>
283         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
285 2003-05-14  Akim Demaille  <akim@epita.fr>
287         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
288         linux/irda.h.
290 2003-05-12  Akim Demaille  <akim@epita.fr>
292         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
293         message.
294         From Matthias Andree.
296 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
298         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
299         and truncate.
301 2003-05-06  Akim Demaille  <akim@epita.fr>
303         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
304         longer updates aclocal.m4 if useless, (ii) if a file m4_included
305         by aclocal.m4 is changed it might require the importing of another
306         m4 extension file, i.e., aclocal must be run.
308         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
309         (&parse_args): Use --force with aclocal if required and supported.
310         (&autoreconf_current_directory): Use &run_aclocal.
312 2003-05-06  Akim Demaille  <akim@epita.fr>
314         Lock autom4te's cache.
316         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
317         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
318         argument instead of a file name, so that the request file remains
319         open during the whole autom4te run.
320         ($icache_file): New.
321         (&freeze): Lock the $icache_file.
323 2003-04-29  Derek Price  <derek@ximbiot.com>
325         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
326         seperator with m4_append_uniq().  It doesn't work.
327         (AT_CLEANUP): Add `;' to end of at_help_all.
328         (AT_INIT): Allow --keywords to be specified more than once.  When
329         grepping $at_help_all for keywords, use the field and keyword
330         seperators to ensure a complete keyword match.  Alter at_prev handling
331         to support the new --keywords behavior.
333 2003-04-27  Karl Berry  <karl@freefriends.org>
335         * doc/autoconf.texi: Make the dir entries in the autoconf manual
336         align better with others.  I also made some of the individual
337         entries on one line, for brevity and to make it easier for me to
338         sort my dir-example file in the Texinfo distribution :).
340 2003-04-12  Jim Meyering  <jim@meyering.net>
342         * NEWS: Mention the new macro.
343         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
344         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
345         * tests/c.at: Test AC_C_RESTRICT.
346         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
348 2003-04-08  Akim Demaille  <akim@epita.fr>
350         * bin/ifnames.in: Skip C++ comments.
351         From Jeremy Yallop.
353 2003-04-08  Akim Demaille  <akim@epita.fr>
355         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
356         From Ilya Zakharevich.
358 2003-04-08  Akim Demaille  <akim@epita.fr>
360         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
361         net/if.h, stdlib.h.
363 2003-04-01  Derek Price  <derek@ximbiot.com>
365         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
366         from Akim's checkin of 2003-03-29.
368 2003-04-01  Derek Price  <derek@ximbiot.com>
370         * tests/torture.at (Configuring subdirectories): Add missing
371         close-quote for Akim's change from 2003-03-28.
373 2003-04-01  Akim Demaille  <akim@epita.fr>
375         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
376         (AC, AT, MS): these.
377         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
378         New.
379         Use them.
380         * doc/Makefile.am (CLEANFILES): Adjust.
381         (TEXI2DVI): Make it --batch.
383 2003-03-31  Derek Price  <derek@ximbiot.com>
385         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
386         which removed the main loop.
387         Thanks to Akim Demaille.
389 2003-03-29  Akim Demaille  <akim@epita.fr>
391         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
392         that starts a GUI.
393         From Ilya Zakharevich.
395 2003-03-29  Akim Demaille  <akim@epita.fr>
397         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
398         documentation to read is Autoconf's.
399         Suggested by Paul Eggert.
401 2003-03-28  Akim Demaille  <akim@epita.fr>
403         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
404         reading the section "Present But Cannot Be Compiled" when the
405         header causes problems.
407 2003-03-28  Akim Demaille  <akim@epita.fr>
409         * tests/torture.at (Configuring subdirectories): Require aclocal
410         1.4, otherwise the test fails, as it does support configure.ac.
411         This fixes the "test 40 failed" bug reports.
413 2003-03-28  Akim Demaille  <akim@epita.fr>
415         * doc/autoconf.texi (C Compiler): `#line' portability.
416         From Paul Eggert and Nelson H. F. Beebe.
418 2003-03-27  Derek Price  <derek@ximbiot.com>
420         * lib/autotest/general.m4: Eliminate main loop and reorganize test
421         layout in order to allow scripting around test groups.
423 2003-03-27  Derek Price  <derek@ximbiot.com>
425         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
426         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
427         use new diversions in preparation for accepting new arguments and
428         allowing scripting around tests.
429         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
431 2003-03-26  Derek Price  <derek@ximbiot.com>
433         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
434         obsolete AC_HELP_STRING.
435         (AC_HELP_STRING): AU_DEFUN to...
436         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
437         * tests/m4sh.at (AS_HELP_STRING): New test.
439         * tests/acgeneral.at: Regenerated.
441 2003-03-26  Derek Price  <derek@ximbiot.com>
443         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
444         sense.  Verbosify the diversion definitions comment.
446 2003-03-26  Derek Price  <derek@ximbiot.com>
448         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
449         AS_PREPARE.
451 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
453         * doc/autoconf.texi (Present But Cannot Be Compiled):
454         Grammar fixes and minor rewording. (trivial change)
456 2003-03-06  Paul Eggert  <eggert@twinsun.com>
458         Work around a problem noted by Nelson H. F. Beebe with coreutils
459         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
460         2002/05/09) rejects '#line 32768 "configure"' because the line
461         number overflows.
462         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
463         #line directives.
464         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
465         * doc/autoconf.texi (Generating Sources): Document this.
467 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
469         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
470         file name for the m4 program, when it has an "exe" file extension.
471         DJGPP's error messages include the error code in brackets -
472         remove the error code during normalization.
474 2003-02-28  Akim Demaille  <akim@epita.fr>
476         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
478 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
480         * doc/autoconf.texi (Limitations of Make): Remove the section
481         about `$<' in inference rules, it was a bogus interpretation of
482         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
483         Tru64 make in the "target lookup" section.
484         (Automake): Automake 1.5+ no longer requires special tools to be
485         present on the developer's host.
487 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
489         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
490         to a shell that can handle redirection or quoting correctly.
491         Override SHELL with the shell detected by configure.
492         Use of $^O suggested by Tim van Holder.
493         * bin/autom4te.in (BEGIN): Likewise.
494         * bin/autoreconf.in (BEGIN): Likewise.
495         * bin/autoscan.in (BEGIN): Likewise.
496         * bin/autoupdate.in (BEGIN): Likewise.
497         * bin/ifnames.in (BEGIN): Likewise.
499         * bin/ifnames.in: Add final newline to help and version messages.
501         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
502         to cope with DOS-style absolute paths, when constructing
503         ${ac_make}.
505         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
506         When constructing paths with IFS=:, quote the path. If we're
507         constructing a DOS-style absolute path, we don't want to split it
508         on the colon.
510         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
511         in description.
513 2003-02-25  Pavel Roskin  <proski@gnu.org>
515         * bin/autoheader.in: Add missing newline when printing
516         suggestion how change AC_DEFINE call.
518 2003-02-24  Paul Eggert  <eggert@twinsun.com>
520         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
521         2002-09-01 patch by replacing "test -n" with "test -z".
522         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
523         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
525         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
526         to fix a mismatch between example and discussion.
528 2003-02-24  Kevin Ryde  <user42@zip.com.au>
530         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
531         format starting with "-".
533 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
535         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
536         is not portable inside Makefile.
538 2003-02-20  Akim Demaille  <akim@epita.fr>
540         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
541         compiler says yeah, but preproc says nope, compiler is right.
542         Conversely, prompt the reader to send a bug report to the
543         maintainers of the package, not of Autoconf.
545 2003-02-20  Klee Dienes  <kdienes@apple.com>
547         * bin/autoreconf.in (autoreconf_current_directory): Properly
548         handle an empty aclocal.m4.
550 2003-02-20  Akim Demaille  <akim@epita.fr>
552         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
553         $ac_prefix_program.
554         From Larry Jones.
556 2002-12-23  Paul Eggert  <eggert@twinsun.com>
558         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
559         innocuous variant befor including <limits.h> or <assert.h>.  This
560         works around a bug reported by Albert Chin: HP-UX 11i
561         (and earlier versions) have a <limits.h> that declares
562         gettimeofday and many other functions.
564 2002-12-03  Paul Eggert  <eggert@twinsun.com>
566         Version 2.57.
568         * NEWS, configure.ac: Update version.
570         * doc/fdl.texi: Upgrade to FDL version 1.2.
572         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
573         nontrivially in main's body, so that f's external declaration is
574         not optimized away in AIX.  This should fix the bug reported by
575         Martin Frydl in
576         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
578         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
579         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
580         defined, to support freestanding compilers.  This should fix the
581         bug reported by Momchil Velkov in
582         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
584         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
585         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
586         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
587         by Simon Josefsson in
588         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
590         * Makefile.maint (www-gnu): New macro.
591         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
592         the location has moved.
594 2002-12-02  Martin Frydl  <martin@systinet.com>
596         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
597         \(.*\) match is too long and there is something more to be checked.
598         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
600 2002-11-15  Akim Demaille  <akim@epita.fr>
602         Version 2.56.
604         * config/install-sh: chmod +x.
605         From Paul Eggert.
606         * config/move-if-change: Indenting changes.
607         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
608         * configure.ac (AM_INIT_AUTOMAKE): here.
609         Require 1.7.1.
611 2002-11-14  Akim Demaille  <akim@epita.fr>
613         Version 2.55.
615         * config/config.guess, config/config.sub, config/install-sh:
616         Update from masters.
618 2002-11-14  Akim Demaille  <akim@epita.fr>
620         * Makefile.maint: Sync with Bison, i.e.:
621         (po-check): Scan .l and .y files instead of the
622         .c and the .h files that they generate.  This fixes the bug
623         reported by Tim Van Holder in:
624         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
625         Look for N_ as well as for _.  Try to avoid matching #define for
626         N_ and _.
627         From Paul Eggert.
629 2002-11-14  Akim Demaille  <akim@epita.fr>
631         * doc/autoconf.texi (C Compiler): Compiling several files at once.
632         From Paul Eggert and Albert Chin-A-Young.
634 2002-11-14  Akim Demaille  <akim@epita.fr>
636         * doc/autoconf.texi (C Compiler): Solitary backslashes.
637         From Paul Eggert and Albert Chin-A-Young.
639 2002-11-14  Kevin Ryde  <user42@zip.com.au>
641         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
642         than assigning in main, to avoid HP cc +O3 optimizing it away.
644 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
646         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
647         option.  Process --recheck after parsing all options.  Pass -q
648         option to configure on --recheck.
649         (AC_OUTPUT): Pass -q from configure to config.status.
650         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
651         arguments to record.
652         * doc/autoconf.texi (config.status Invocation): Document
653         config.status -q option.
655 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
657         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
658         Makefile.in if Makefile.am exists.
659         (output): Strip `.am' from Makefiles.  Don't
660         output AC_CONFIG_FILES if no Makefiles were found.
662 2002-11-07  Akim Demaille  <akim@epita.fr>
664         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
665         (local_updates): New.
666         * Makefile.maint: Update, from CVS Bison.
667         (local_updates): New.
669 2002-11-06  Akim Demaille  <akim@epita.fr>
671         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
672         declaration in extern "C" too.
673         Reported by Roberto Bagnara.
675 2002-11-06  Akim Demaille  <akim@epita.fr>
677         * tests/torture.at (Configuring subdirectories): Don't use grep
678         -w.
679         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
680         Reported by Ezra Peisach.
682 2002-11-05  Akim Demaille  <akim@epita.fr>
684         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
685         Remove.
686         We _have_ to stop using the old compatibility scheme that tried to
687         avoid useless backslashes because Libtool 1.4.3 contains a
688         AC_DEFINE([error_t], [int],
689         [Define to a type to use for \`error_t' if it is not
690         otherwise available.])
691         We _have_ to quote the single quote and backslashes with \.  The
692         old compatibility scheme saw that ` was backslashed, and therefore
693         did not quote the single quote.  Hence before this patch, Autoconf
694         was not compatible with Libtool.
696 2002-11-04  Paul Eggert  <eggert@twinsun.com>
698         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
699         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
700         LC_NAME, LC_PAPER, LC_TELEPHONE.
701         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
703 2002-11-04  Akim Demaille  <akim@epita.fr>
705         Version 2.54c.
707         * Makefile.maint (update, cvs-update, po-update, do-po-update):
708         New.
709         * config/texinfo.tex: Update.
711 2002-11-03  Akim Demaille  <akim@epita.fr>
713         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
714         from...
715         (&autoreconf): here.
716         ($help, $make, &parse_args, &autoreconf_current_directory):
717         Support -m/--make.
718         * doc/autoconf.texi (autoreconf Invocation): Adjust.
720 2002-10-31  Bruno Haible  <bruno@clisp.org>
722         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
723         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
724         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
725         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
726         to ac_cv_func_realloc_0_nonnull.
727         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
729 2002-10-31  Akim Demaille  <akim@epita.fr>
731         The test suite was no longer checking for trailing envvars and files.
733         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
734         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
736 2002-10-31  Akim Demaille  <akim@epita.fr>
738         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
739         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
740         Make variable, not a shell variable.
741         Suggested by Bruno Haible.
743 2002-10-31  Akim Demaille  <akim@epita.fr>
745         * bin/autom4te.in (load_configuration): Reject #args out of any
746         language.
748 2002-10-31  Akim Demaille  <akim@epita.fr>
750         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
751         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
752         (_AC_RUN_IFELSE): Use it.
753         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
754         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
755         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
756         inline it.
758 2002-10-30  Akim Demaille  <akim@epita.fr>
760         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
761         * doc/autoconf.texi (autom4te Invocation): Adjust.
762         Suggested by Tim van Holder.
764 2002-10-29  Paul Eggert  <eggert@twinsun.com>
766         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
767         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
768         Problem reported by Bruno Haible.
770 2002-10-29  Akim Demaille  <akim@epita.fr>
772         * doc/autoconf.texi (Header Templates): Put also in words what the
773         pictures says to assist free style readers.
774         (Customizing autom4te): s/--cache=/--cache /.
776 2002-10-29  Akim Demaille  <akim@epita.fr>
778         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
779         sys/wait.h.
780         sparc_address_test returns void.
781         Use it with an argument, as prototyped.
782         From Bruno Haible.
784 2002-10-29  Akim Demaille  <akim@epita.fr>
786         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
787         configure.in, not configure.ac.
788         Reported by Bruno Haible.
790 2002-10-29  Akim Demaille  <akim@epita.fr>
792         * tests/torture.at (Deep Package): New test.
793         (Configuring subdirectories): Don't use a testSubDir as Autotest
794         now does it itself.
796 2002-10-29  Akim Demaille  <akim@epita.fr>
798         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
799         * doc/autoconf.texi (Invoking autom4te): Rename as...
800         (autom4te Invocation): this, for consistency with the other nodes.
802 2002-10-29  Akim Demaille  <akim@epita.fr>
804         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
805         Reported by Ralf Corsepius.
807 2002-10-29  Akim Demaille  <akim@epita.fr>
809         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
810         characters is a back as an `obsolete' warning now.
811         Reported by Ralf Corsepius.
813 2002-10-28  Akim Demaille  <akim@epita.fr>
815         * configure.ac: Bump to 2.54c.
817 2002-10-28  Akim Demaille  <akim@epita.fr>
819         Version 2.54b.
821         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
823 2002-10-28  Akim Demaille  <akim@epita.fr>
825         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
826         m4 executable names, and different GNU M4 version.
827         Reported by Ezra Peisach and Paul Jarc.
829 2002-10-27  Akim Demaille  <akim@epita.fr>
831         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
832         AC_RUN_IFELSE.
834 2002-10-27  Akim Demaille  <akim@epita.fr>
836         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
837         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
838         Die when a simple Fortran program cannot be compiled.
839         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
840         Issue a warning if no function is given.
842 2002-10-27  Akim Demaille  <akim@epita.fr>
844         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
845         Move the documentation of AC_TRY_RUN to...
846         (Obsolete Macros): here.
847         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
848         (autoconf Invocation): Remove the duplicates with `invoking
849         autom4te'.
850         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
851         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
853 2002-10-27  Akim Demaille  <akim@epita.fr>
855         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
856         and AC_LANG_FUNC_LINK_TRY.
857         (Examining Libraries): Rename as...
858         (Running the Linker): this.
859         Document AC_LINK_IFELSE.
860         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
861         (Obsolete Macros): here.
862         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
863         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
864         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
865         * lib/autoconf/headers.m4 (AC_USG): Likewise.
867 2002-10-27  Akim Demaille  <akim@epita.fr>
869         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
871         More `check config.log' messages.
873         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
874         * doc/autoconf.texi (Printing Messages): Document it.
875         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
876         appropriate.
877         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
878         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
879         (_AC_COMPILER_OBJEXT): Likewise.
880         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
881         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
882         Likewise.
883         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
884         Likewise.
886         Deprecate macros with unusual interfaces.
888         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
889         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
891         Document the new ones, and proper style.
893         * doc/autoconf.texi (Generating Sources): New.
894         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
895         (Examining Declarations): Rename as...
896         (Running the Preprocessor): this.
897         Document AC_PREPROC_IFELSE.
898         (Examining Syntax): Rename as...
899         (Running the Compiler): this.
900         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
901         (Obsolete Macros): Move the definition of AC_TRY_CPP and
902         AC_TRY_COMPILE here.
904 2002-10-27  Akim Demaille  <akim@epita.fr>
906         Move sections around.
908         * doc/autoconf.texi (Customizing autom4te): Remove a lost
909         sentence.
910         Reported by Burno Haible.
911         (Language Choice): Now the first section of...
912         (Writing Tests): this section.
913         Make the introduction less C-centric.
914         (Guidelines, Test Functions): Move to...
915         (Writing Test Programs): this new section.
916         (Test Programs): Merge into...
917         (Run Time): this.
919 2002-10-27  Akim Demaille  <akim@epita.fr>
921         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
922         autom4te.in that resulted in the need for two `make' runs.
924 2002-10-27  Akim Demaille  <akim@epita.fr>
926         * configure.ac: Bump to 2.54b.
928 2002-10-25  Akim Demaille  <akim@epita.fr>
930         Version 2.54a.
932         * Makefile.maint: Update from the Coreutils.
933         (AMTAR): Remove, obsolete.
934         (automake_repo): Update to redhat.com.
935         (cvs_file): New.
936         Adjust to the fact that ansi2knr is now hosted by Automake.
937         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
938         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
939         Update from masters.
940         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
941         autoscan.pre is not to be installed, and autoscan.list is not to
942         be shipped.
943         (CLEANFILES): Add autoscan.list.
944         (autoscan.list): Disable the cache.
945         * bin/Makefile.am: Include freeze.mk.
947 2002-10-25  Akim Demaille  <akim@epita.fr>
949         * bin/autom4te.in (&load_configuration): Take the file as
950         argument.
951         (&parse_args): Handle -C, --cache.
952         ($help): Adjust.
953         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
954         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
955         * doc/autoconf.texi (Invoking autom4te): Document --cache.
956         Now a subsection of...
957         (Using autom4te): This new section.
958         (Customizing autom4te): New.
959         (autom4te.cache): Adjust.
961 2002-10-25  Akim Demaille  <akim@epita.fr>
963         * doc/autoconf.texi (Generic Headers): More information on how to
964         use AC_CHECK_HEADERS.
966 2002-10-25  Akim Demaille  <akim@epita.fr>
968         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
969         Space changes.
971 2002-10-25  Akim Demaille  <akim@epita.fr>
973         * bin/autoscan.in (output): Output AC_PREREQ.
974         (%needed_macros): Add AC_PREREQ so that configure.ac without one
975         be reported.
977 2002-10-23  Akim Demaille  <akim@epita.fr>
979         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
980         document _Bool.
982 2002-10-23  Akim Demaille  <akim@epita.fr>
984         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
985         Reported by Peter Eisentraut.
987 2002-10-23  Akim Demaille  <akim@epita.fr>
989         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
990         type _Bool.
991         Fix a typo.
992         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
993         Eggert's recommandations.
995 2002-10-22  Akim Demaille  <akim@epita.fr>
997         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
998         Bison, by Paul Eggert.
999         * doc/autoconf.texi (Particular Headers): Document it.
1001 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
1003         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
1004         `$ac_configure_args'.
1006 2002-10-22  Akim Demaille  <akim@epita.fr>
1008         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
1009         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
1010         From Art Haas.
1012 2002-10-22  Akim Demaille  <akim@epita.fr>
1014         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
1016         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1017         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
1018         (_AC_CHECK_HEADER_NEW): Rename as...
1019         (AC_CHECK_HEADER): this.
1021 2002-10-22  Akim Demaille  <akim@epita.fr>
1023         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
1024         words about HP-UX cmp: it was actually a user-written cmp.
1026 2002-10-22  Akim Demaille  <akim@epita.fr>
1028         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
1029         are a few warnings.
1030         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1031         Quote for Perl '' strings, not "".
1032         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
1033         strings.
1035 2002-10-22  Akim Demaille  <akim@epita.fr>
1037         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1038         characters is a syntax warning now.
1039         (_AS_QUOTE): Accept $2 as list of characters to quote.
1040         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1041         Quote for Perl, not sh.
1042         * bin/autoheader.in: When $debug, report the file which is
1043         `do'ne.
1044         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
1045         `@', to tickle Perl's lists.
1046         Reported by Carlos Velasco.
1048 2002-10-18  Akim Demaille  <akim@epita.fr>
1050         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
1051         missing included files _are_ errors.
1052         Thanks to Alexandre Duret-Lutz.
1053         * tests/tools.at (autom4te cache): Adjust.
1054         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
1055         (AT_CHECK_M4SUGAR): Use it.
1056         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1057         Adjust.
1058         * tests/tools.at (autom4te): Now it does exit 1.
1060 2002-10-17  Akim Demaille  <akim@epita.fr>
1062         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
1063         Fixes the `AC_ARG_VAR' test failures.
1064         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
1065         * lib/freeze.mk (check-forbidden-patterns): New.
1066         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
1067         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
1068         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
1069         /dev/null.
1070         Reported months ago by H. Merijn Brand.
1072 2002-10-17  Akim Demaille  <akim@epita.fr>
1074         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
1076 2002-10-16  Paul Eggert  <eggert@twinsun.com>
1078         * Makefile.maint (wget_files): Remove ansi2knr.c.
1079         (ansi2knr.c-url_prefix): Remove.
1081 2002-10-16  Akim Demaille  <akim@epita.fr>
1083         Because of caching, some files that no longer exist and are no
1084         longer required can still cause errors.
1085         Reported by Alexandre Duret-Lutz.
1087         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
1088         to frozen files in @ARGV, as @ARGV must remain being a list of
1089         files.  Rather, at M4 call sites, use this...
1090         (&files_to_options): New function.
1091         (&freeze): Use &error.
1092         (&up_to_date): If a file that was included according to the cache
1093         is no longer there, then the output is out dated.
1094         (&main): Don't even check whether a file is up to date is anyway
1095         --force is given.
1096         * tests/tools.at (autom4te cache): New.
1098 2002-10-16  Akim Demaille  <akim@epita.fr>
1100         * bin/autoconf.as: Kill dead options.
1101         * bin/autoupdate.in (&parse_args): Kill old options.
1102         * bin/autoreconf.in (&parse_args): Remove dead options.
1103         Factor some code.
1104         (&autoreconf): Report the directories we enter *and leave*, so
1105         that error messages can be easily located, and use GNU Make
1106         format, so that Emacs' compile mode understands us.
1107         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
1108         if some file was changed instead of `print'.
1109         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
1110         (&parse_args): Remove the dead options.
1111         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
1112         autoheader's quiet mode.
1113         (AT_CHECK_AUTOUPDATE): Likewise.
1114         * tests/tools.at (autoupdate): Adjust.
1115         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
1117 2002-10-11  Akim Demaille  <akim@epita.fr>
1119         No longer use CPP to check for the existing of headers: use CC to
1120         check for compilability.
1122         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1123         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
1124         (_AC_CHECK_HEADER_NEW): Rename as...
1125         (AC_CHECK_HEADER): this.
1127         * lib/autotest/general.m4 (AT_INIT): Include the failed test
1128         numbers in the Subject suggestion.
1130 2002-10-11  Akim Demaille  <akim@epita.fr>
1132         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
1133         Suggest using AC_CHECK_DECLS instead.
1135 2002-10-11  Akim Demaille  <akim@epita.fr>
1137         * tests/torture.at (AC_ARG_VAR): Have configure report the value
1138         of `precious'.
1140 2002-10-11  Akim Demaille  <akim@epita.fr>
1142         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
1143         file name to enable parallel executions.
1144         From Sam Varshavchik.
1146 2002-10-08  Akim Demaille  <akim@epita.fr>
1148         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
1149         aclocal invocation, as Gettext macros might not be visible to
1150         aclocal.
1151         Instead of blindly running autopoint, scan configure.ac (not the
1152         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
1153         Reported by Paul D. Smith.
1155 2002-10-08  Paul Eggert  <eggert@twinsun.com>
1157         Work around problems found when POSIXLY_CORRECT=1 is set.
1158         None of this seems to have anything to do with POSIX, really,
1159         but it's how Perl getopt works.
1160         * bin/autom4te.in (parse_args): Configure GetOpt with
1161         "permute", too.
1162         * doc/autoconf.texi (Invoking autom4te):
1163         --warning -> --warnings.
1164         * lib/autom4te.in: --warning -> --warnings.
1166 2002-09-28  Akim Demaille  <akim@epita.fr>
1168         * doc/autoconf.texi (autom4te.cache): New section.
1170 2002-09-28  Akim Demaille  <akim@epita.fr>
1172         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
1173         (Automake-preselections): Update.
1174         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
1176 2002-09-28  Akim Demaille  <akim@epita.fr>
1178         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
1179         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
1180         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
1181         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
1183 2002-09-28  Akim Demaille  <akim@epita.fr>
1185         * tests/torture.at (Configuring subdirectories): Be robust to
1186         users who use config.site to require for a cache: in this case,
1187         the two last configure runs, using two different sets of
1188         arguments, trigger a legitimate error.
1190 2002-09-28  Akim Demaille  <akim@epita.fr>
1192         * tests/m4sh.at (Functions Support, Functions and return Support):
1193         New.
1195 2002-09-28  Akim Demaille  <akim@epita.fr>
1197         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
1198         autoheader are Perl programs.
1199         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
1200         (autom4te): Specify that the sources are in the $srcdir.
1201         * doc/autoconf.texi (Installation Directory Variables): Adjust.
1203 2002-09-28  Akim Demaille  <akim@epita.fr>
1205         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
1206         (tm_zone): Move their rules to...
1207         * lib/autoconf/types.m4: here, using AN_ macros.
1208         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
1209         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
1210         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
1211         * lib/autoconf/programs.m4: here.
1212         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
1213         (ETAGS_FOR_AUTOCONF): New.
1214         Use it.
1216 2002-09-28  Akim Demaille  <akim@epita.fr>
1218         * lib/autoconf/autoscan.m4: New file.
1219         * lib/autoconf/autoconf.m4: Include it.
1220         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
1221         that were listed in the original autoscan.list.
1222         * lib/autoconf/headers.m4: Similarly with headers.
1223         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
1224         (.m4.m4f): Don't pass --prepend-include, since that's done by
1225         tests/autom4te itself.
1226         * lib/autoscan/Makefile.am: Include freeze.mk.
1227         (autoscan.list): New target --this file is no longer a source.
1228         (autoscan.pre): New file.
1230 2002-09-28  Akim Demaille  <akim@epita.fr>
1232         * bin/autoscan.in (@kinds): Make them singular.
1233         Adjust all uses.
1234         (&init_tables): When --debug, report the list of rules to ease
1235         tracking changes in autoscan.list.
1236         * lib/autoscan/autoscan.list (function): Strip comments, sort.
1238 2002-09-28  Akim Demaille  <akim@epita.fr>
1240         * lib/autoscan/functions, lib/autoscan/headers,
1241         * lib/autoscan/identifiers, lib/autoscan/makevars,
1242         * lib/autoscan/programs: Merge into...
1243         * lib/autoscan/autoscan.list: this.
1244         * bin/autoscan.in (&init_tables): Adjust.
1246 2002-09-28  Akim Demaille  <akim@epita.fr>
1248         * lib/autoscan/functions, lib/autoscan/headers,
1249         * lib/autoscan/identifiers, lib/autoscan/makevars,
1250         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
1251         `functions' line is now prefixed with `function:'.
1252         * bin/autoscan.in (&init_tables): Adjust.
1254 2002-09-28  Akim Demaille  <akim@epita.fr>
1256         From now on, autoscan files must always map a macro name to a
1257         word: there is no `default' macro for autoscan.
1259         * bin/autoscan.in (&init_tables): Reject entries with no macro at
1260         all.
1261         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
1262         explicit.
1264 2002-09-28  Akim Demaille  <akim@epita.fr>
1266         * bin/autoscan.in (%c_keywords): Remove.
1267         (&used): Keep only track of the words we might be interested in.
1268         (&output_kind): It is no longer needed to look for non active
1269         checks.
1271 2002-09-27  Akim Demaille  <akim@epita.fr>
1273         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
1274         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
1275         * lib/autoscan/functions: Adjust.
1276         * doc/autoconf.texi (Particular Functions): Adjust.
1278 2002-09-27  Akim Demaille  <akim@epita.fr>
1280         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
1281         from /tmp.
1282         Thanks to Bill Moseley and Paul Eggert.
1283         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
1284         the tmpdir must be created.
1285         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
1286         dir be in the build tree, instead of $TMPDIR.
1288 2002-09-27  Akim Demaille  <akim@epita.fr>
1290         * bin/autoscan.in: Improve the comments.
1291         (&parse_args): Drop obsolete undocumented options.
1292         (&output_kind): Output warnings.
1293         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
1294         (getwd): Trigger a warning.
1296 2002-09-26  Akim Demaille  <akim@epita.fr>
1298         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
1299         Reported by Ralf Corsepius.
1300         * doc/autoconf.texi (autoreconf Invocation): Likewise.
1302 2002-09-26  Akim Demaille  <akim@epita.fr>
1304         Single suffix rules and seperated dependencies are not portable.
1306         * doc/autoconf.texi (Installation Directory Variables): Update.
1307         (Limitations of Make): Some about `Single Suffix Rules and
1308         Separated Dependencies'.
1309         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
1310         (ifnames, autoscan, autom4te): Un-factor into several rules.
1312 2002-09-25  Paul Eggert  <eggert@twinsun.com>
1314         * BUGS (Interoperability bugs): New section.  Mention libtool
1315         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
1317 2002-09-24  Paul Eggert  <eggert@twinsun.com>
1319         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
1320         make handles suffix-rules differently from GNU make.
1322         * bin/Makefile.am (SUFFIXES, .in): Remove.
1323         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
1324         Move the body of the old .in rule here.
1326 2002-09-16  Akim Demaille  <akim@epita.fr>
1328         i960 compilers create `b.out' files by default.
1329         Reported by Ralf Corsepius.
1331         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
1332         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
1334 2002-09-13  Paul Eggert  <eggert@twinsun.com>
1336         * doc/autoconf.texi (Particular Headers): Remove obsolete
1337         reference to `struct timezone' in the description of
1338         AC_HEADER_TIME.
1340 2002-09-13  Akim Demaille  <akim@epita.fr>
1342         Version 2.54.
1344         * config/config.sub, config/config.guess: Update.
1345         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
1346         * Makefile.am: Adjust.
1348 2002-09-13  Akim Demaille  <akim@epita.fr>
1350         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
1351         reading config.log when the compiler is rejected.
1352         Suggested by Guido Draheim.
1354 2002-09-13  Akim Demaille  <akim@epita.fr>
1356         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
1357         (chdir_init) might hang when stat'ing mounted directories.
1358         Reported by Vance Shipley.
1360 2002-09-12  Akim Demaille  <akim@epita.fr>
1362         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
1363         the lists.
1365 2002-09-12  Akim Demaille  <akim@epita.fr>
1367         * doc/autoconf.texi (Defining Symbols): Present two different
1368         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
1369         difference between 1 argument calls, and 2-3 argument calls.
1371 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
1373         * doc/autoconf.texi: Review grammar and punctuation.
1375 2002-09-11  Paul Eggert  <eggert@twinsun.com>
1377         * doc/autoconf.texi: Fix minor formatting, spelling, and
1378         grammatical typos.
1379         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
1380         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
1381         is obsolescent.
1383 2002-09-11  Akim Demaille  <akim@epita.fr>
1385         * doc/autoconf.texi (Questions): Rename as...
1386         (FAQ): this.
1387         (Defining Directories): New.
1389 2002-09-09  Akim Demaille  <akim@epita.fr>
1391         * doc/autoconf.texi (Making testsuite Scripts): Update.
1392         Suggested by Nishio Futoshi.
1394 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
1396         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
1397         plain `@' is wanted.
1399 2002-09-09  Akim Demaille  <akim@epita.fr>
1401         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
1402         `duplicates', since the algorithm was too naive and could keep
1403         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
1404         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
1405         Reported by Ralf Corsepius.
1406         * tests/torture.at (Configuring subdirectories): Exercise these
1407         cases.
1409 2002-09-09  Akim Demaille  <akim@epita.fr>
1411         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
1412         looking for a replacement file.
1413         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
1414         directory is relative.
1415         * doc/autoconf.texi (Generic Functions): Clarify the replacement
1416         directory definition.
1417         Reported by Andreas Schwab and Jim Meyering.
1419 2002-09-06  Akim Demaille  <akim@epita.fr>
1421         * doc/autoconf.texi (Setting Output Variables): Clarify what
1422         precious variables are.
1423         Suggested by Pontus Skoeld.
1425 2002-09-05  Akim Demaille  <akim@epita.fr>
1427         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
1428         (ifnames, autoscan, autom4te): Since we don't only depend on
1429         configure.ac variables (such as VERSION etc.), but also on prefix
1430         and so forth, depend on Makefile, not configure.ac.
1431         Reported by Alexandre Duret-Lutz.
1432         * doc/autoconf.texi (Installation Directory Variables): Adjust.
1434 2002-09-05  Kevin Ryde  <user42@zip.com.au>
1436         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
1437         doesn't seem to be confined to ia64, just say "some versions".
1439 2002-09-04  Akim Demaille  <akim@epita.fr>
1441         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
1442         Automake 1.6c.
1443         * Makefile.am (maintainer-clean-local): Remove.
1444         (MAINTAINERCLEANFILES): Remove COPYING.
1446 2002-09-03  Paul Eggert  <eggert@twinsun.com>
1448         * doc/autoconf.texi (Configuration Commands): Remove obsolete
1449         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
1450         Brinkmann.
1452 2002-09-03  Akim Demaille  <akim@epita.fr>
1454         * configure.ac: Bump to 2.53d.
1455         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
1456         as of today, on Automake's team suggestion.
1458 2002-09-03  Akim Demaille  <akim@epita.fr>
1460         Version 2.53c.
1462 2002-09-02  Akim Demaille  <akim@epita.fr>
1464         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
1465         SITE_MACRO_DIR.
1466         * configure.ac: Disable SITE_MACRO_DIR.
1468 2002-09-02  Jim Meyering  <meyering@lucent.com>
1470         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
1471         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
1472         Also, tweak grammar: s/make sure to/be sure to/.
1474 2002-09-02  Paul Eggert  <eggert@twinsun.com>
1476         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
1477         directory names are generally preferable to physical names.
1479 2002-09-02  Akim Demaille  <akim@epita.fr>
1481         * lib/Autom4te/General.pm (&update_file): s/die/error/.
1482         Reported by Raja R. Harinath.
1483         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
1484         * bin/autoupdate.in: Use error instead of die.
1486 2002-09-01  Paul Eggert  <eggert@twinsun.com>
1488         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
1489         ordinary shell concatenation rather than echo+tr+sed command that
1490         runs afoul of a long-line-related sed bug in Solaris 8.
1492         * bin/autoheader.in (parse_args): --warning -> --warnings.
1494         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
1495         stdout, as traditional "ls" does.
1496         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
1497         _AC_COMPILER_EXEEXT_O): Likewise.
1498         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
1500         * bin/autoconf.as: Add --prepend-include option.  This patch was
1501         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
1502         but bin/autoconf.in is generated automatically from bin/autoconf.as.
1504         * bin/autoconf.in, configure: Regenerate.
1506         * doc/autoconf.texi (Special Shell Variables): Mention
1507         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
1509         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
1510         MAILPATH and set PS1, PS2, PS4 to default values, to work
1511         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
1512         For LC_ALL etc, first try to set to "C" as POSIX requires and as
1513         the Autoconf documentation specifies; fall back to "unset" only if
1514         this fails.  Use a shell for-loop for this rather than an m4 loop,
1515         to shorten the output script.
1517 2002-08-30  Paul Eggert  <eggert@twinsun.com>
1519         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
1520         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
1521         for the CDPATH problem.  Document PWD.
1522         (Limitations of Builtins): Document the problem that "cd $foo" and
1523         "ls $foo" may refer to different directories in shells conforming
1524         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
1525         example, since the old example is now out of date.
1527         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
1528         FOO" and "ls FOO" talk about different directories; this catches
1529         problems when POSIX 1003.1-2001 "cd" fails due to symlink
1530         spaghetti.
1532         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
1533         of rolling our own unset.
1534         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
1535         in practice we needn't worry about CDPATH if unset doesn't work.
1537         * Makefile.in, aclocal.m4, bin/Makefile.in,
1538         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
1539         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
1540         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
1541         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
1542         tests/Makefile.in: Regenerate with Automake 1.6.3.
1544         * config/config.guess, config/config.sub, config/mkinstalldirs:
1545         Update.
1547         * configure: Regenerate with self.
1549 2002-08-30  Kevin Ryde  <user42@zip.com.au>
1551         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
1552         default output.
1554 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1556         * bin/autom4te.in (Request::load): Correctly test for "do" read
1557         failure.
1559 2002-08-29  Akim Demaille  <akim@epita.fr>
1561         * lib/Autom4te/General.pm (&xqx): New.
1562         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
1563         hand, which is not portable.
1564         (&error): New.
1565         * bin/autom4te.in: Use them.
1566         Use &error instead of die.
1567         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1568         Adjust.
1570 2002-08-17  Paul Eggert  <eggert@twinsun.com>
1572         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
1573         default list of compilers to try, since it was long ago superseded
1574         by the ksh fc builtin.  Suggested by Steven G. Johnson.
1576 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
1578         * doc/autoconf.texi (Invoking autom4te): End the option table,
1579         fixing a bug introduced by the previous patch.
1580         (Limitations of Make): Add a 'target lookup' subentry in the
1581         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
1583 2002-07-29  Mark D. Roth  <roth@feep.net>
1585         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
1586         options and use $AUTOM4TE_PATH.
1587         * doc/autoconf.texi: Remove documentation of autom4te
1588         --include-envvar and --site-macro-subdir options and document
1589         use of $AUTOM4TE_PATH.
1590         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
1591         arguments from each language section.
1593 2002-07-29  Paul Eggert  <eggert@twinsun.com>
1595         * doc/install.texi: Include copyright symbol in copyright notice.
1597         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
1598         Replace with:
1599         (AM_MAKEINFOFLAGS): New macro.
1600         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
1601         * Makefile.am (INSTALL): Use the new macros.
1602         Use -o rather than --output, since "missing" does not grok --output.
1604 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
1606         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
1607         comments do not always work. Never trust the exit status of
1608         `make -k'.
1610 2002-07-24  Kevin Ryde  <user42@zip.com.au>
1612         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
1613         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
1615 2002-07-23  Paul Eggert  <eggert@twinsun.com>
1617         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
1618         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
1619         apparently treats PATH="nonexistent" as if it contained ".".
1620         Bug reported by Stefan `Sec' Zehl.
1622 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
1624         * doc/autoconf.texi (Limitations of Make): Mention the special
1625         handling of the obj/ directory by BSD make.
1627 2002-07-20  Kevin Ryde  <user42@zip.com.au>
1629         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
1630         backslashes.
1632 2002-07-19  Akim Demaille  <akim@epita.fr>
1634         * doc/autoconf.texi (Function Portability): `exit'.
1635         (Programming in M4sh): Ethymology of M4sh.
1637 2002-07-19  Akim Demaille  <akim@epita.fr>
1639         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
1641 2002-07-18  Akim Demaille  <akim@epita.fr>
1643         Version 2.53b.
1645 2002-07-18  Akim Demaille  <akim@epita.fr>
1647         * config/config.guess, config/config.sub: Update.
1649 2002-07-18  Akim Demaille  <akim@epita.fr>
1651         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
1652         Automake's parts.
1654         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
1655         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
1656         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
1658 2002-07-18  Akim Demaille  <akim@epita.fr>,
1659             Alexandre Duret-Lutz  <duret_g@epita.fr>
1661         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
1662         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
1664 2002-07-17  Russ Allbery  <rra@stanford.edu>
1666         * doc/autoconf.texi (Initializing configure): Clarify the
1667         description of the tarname default.
1669 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
1671         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
1672         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
1673         latter was not run.
1675 2002-07-17  Akim Demaille  <akim@epita.fr>
1677         * lib/Autom4te/General.pm (find_file): Browse the directories in
1678         the order they are given.
1680 2002-07-17  Akim Demaille  <akim@epita.fr>
1682         * tests/wrapsh.as, tests/wrappl.as: Merge into...
1683         * tests/wrapper.as: this.
1684         * tests/Makefile.am, configure.ac: Adjust.
1686 2002-07-17  Mark D. Roth  <roth@feep.net>
1688         * configure.ac: Add --enable-site-macro-dir option.
1689         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
1690         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
1691         --site-macro-subdir options.
1692         * bin/autoconf.in: Add --prepend-include option.
1693         * bin/autoheader.in: Add --prepend-include option.
1694         * bin/autoreconf.in: Add --prepend-include option.
1695         * bin/autoscan.in: Add --prepend-include option.
1696         * bin/autoupdate.in: Add --prepend-include option.
1697         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
1698         macro directory, remove note that include path directories are
1699         used in reverse order, and document --prepend-include option.
1700         * lib/autom4te.in: Use --prepend-include instead of --include.
1701         * tests/wrapsh.in: Use --prepend-include instead of --include.
1703 2002-07-17  Akim Demaille  <akim@epita.fr>
1705         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
1706         tarnames.
1707         * doc/autoconf.texi (Initializing configure): Adjust.
1709 2002-07-17  Akim Demaille  <akim@epita.fr>
1711         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
1712         (_AC_FUNC_MALLOC): New.
1713         (AC_FUNC_MALLOC): Use the latter.
1714         Define HAVE_MALLOC to 0 if broken.
1715         * doc/autoconf.texi (Particular Functions): Adjust.
1717 2002-07-16  Akim Demaille  <akim@epita.fr>
1719         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
1720         * doc/autoconf.texi (C Compiler): Adjust.
1722 2002-07-09  Akim Demaille  <akim@epita.fr>
1724         * doc/autoconf.texi: Properly set the ``header'' part.
1726 2002-07-09  Akim Demaille  <akim@epita.fr>
1728         * doc/autoconf.texi (Systemology): Some about Darwin.
1730 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1732         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
1733         Don't use AC_REQUIRE in AU_DEFUN.
1735 2002-07-09  Art Haas  <ahaas@neosoft.com>
1737         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
1739 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1741         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1742         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
1743         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
1744         so that Emacs setups GNU style for perl-mode and cperl-mode.
1746 2002-06-27  Paul Eggert  <eggert@twinsun.com>
1748         * config/install-sh: Quote $src.  Prefer || to test's -o option,
1749         as per "Limitations of Builtins".
1750         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
1751         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
1753         * tests/mktests.sh: Use grep instead of fgrep, as per
1754         "Limitations of Builtins".
1756 2002-06-15  Paul Eggert  <eggert@twinsun.com>
1758         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
1759         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
1760         so that we consistently test the just-built programs.
1761         * tests/wrappl.as: Likewise.
1763 2002-06-12  Paul Eggert  <eggert@twinsun.com>
1765         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
1766         name, so that symlinks to 'autoconf' work properly.  Bug reported
1767         by Bruno Haible.
1768         * bin/autoheader.in (AUTOM4TE): Likewise.
1769         * bin/autoreconf.in (autoconf, autoheader): Likewise.
1770         * bin/autoscan.in (autom4te): Likewise.
1771         * bin/autoupdate.in (autom4te): Likewise.
1773         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
1774         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
1775         on Solaris 2.5.1.
1777 2002-06-11  Andreas Schwab  <schwab@suse.de>
1779         * doc/autoconf.texi: Add more dir entries.
1781 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
1783         * bin/autom4te.in ($cache): Don't define using `$me', the name
1784         of the cache should not depend on the name under which autom4te
1785         was installed.
1787 2002-06-07  Akim Demaille  <akim@epita.fr>
1789         * tests/tools.at (autoconf: forbidden tokens, basic)
1790         (autoconf: forbidden tokens, exceptions): Adjust to the change of
1791         words in autom4te.in.
1793 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
1795         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
1796         _AC_LANG_PROGRAM_C_F77_HOOKS.
1798 2002-06-07  Akim Demaille  <akim@epita.fr>
1800         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
1801         rename as...
1802         (AC_REPLACE_FNMATCH): this.
1803         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
1804         AC_FUNC_FNMATCH_GNU.
1806 2002-06-07  Akim Demaille  <akim@epita.fr>
1808         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
1809         Rosetta Stone for Unix.
1811 2002-06-07  Akim Demaille  <akim@epita.fr>
1813         * bin/autom4te.in (warn_forbidden): When rejecting a token,
1814         suggest m4_pattern_allow.
1815         Suggested by Adam J. Richter.
1817 2002-06-07  Akim Demaille  <akim@epita.fr>
1819         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
1820         ac_config_libobj_dir.
1821         (AC_CONFIG_LIBOBJ_DIR): New.
1822         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
1823         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
1824         Use ac_config_libobj_dir to find the replacement files.
1825         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
1826         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
1827         (AC_REPLACE_FNMATCH_GNU): these.
1828         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
1829         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
1830         * tests/mktests.sh (ac_exclude_list): Don't check
1831         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
1833 2002-06-06  Paul Eggert  <eggert@twinsun.com>
1835         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
1836         if ln doesn't work.
1837         * NEWS: Likewise.
1838         * doc/autoconf.texi (Configuration Links): Likewise.
1839         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
1841 2002-06-05  Paul Eggert  <eggert@twinsun.com>
1843         * config/config.guess, config/config.sub, config/texinfo.tex:
1844         Update from masters.
1846 2002-05-29  Paul Eggert  <eggert@twinsun.com>
1848         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
1849         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
1850         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
1851         Likewise.
1852         * lib/autoconf/Makefile.am (check-local): Likewise.
1853         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
1854         * lib/autoconf/types.m4 (commentary only): Likewise.
1855         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
1856         * lib/autotest/Makefile.am (check-local): Likewise.
1857         * lib/m4sugar/Makefile.am (check-local): Likewise.
1858         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
1859         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
1861         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
1862         * doc/autoconf.texi (Particular Programs): Document them.
1863         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
1864         * NEWS: Likewise.
1866 2002-05-27  Paul Eggert  <eggert@twinsun.com>
1868         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
1869         * NEWS, doc/autoconf.texi (Particular Types): Document it.
1870         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
1871         instead of AC_MBSTATE_T, which never existed.
1873 2002-05-23  Akim Demaille  <akim@epita.fr>
1875         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
1876         version of Autoconf that is discussed.
1878 2002-05-22  Paul Eggert  <eggert@twinsun.com>
1880         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
1881         from the default list of compilers to try.  Suggested by
1882         Kate Hedstrom.
1883         * NEWS: Document the above.
1884         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
1886 2002-05-17  Paul Eggert  <eggert@twinsun.com>
1888         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
1889         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
1890         This improves on an earlier suggestion by H. Peter Anvin.
1892 2002-05-16  Paul Eggert  <eggert@twinsun.com>
1894         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
1895         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
1896         Both macros now accept an optional source-dir arg.
1897         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
1899         * NEWS: Document this.
1900         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
1902         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
1903         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
1904         not for GNU extensions; this undoes part of the 2000-11-03 change,
1905         reverting to 2.13-compatible behavior.
1906         Add new optional argument DIR.
1907         (AC_FUNC_FNMATCH_GNU): New macro.
1909         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
1911 2002-05-08  Paul Eggert  <eggert@twinsun.com>
1913         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
1914         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
1915         and it causes a 'test' syntax error if it fails.
1916         Bug reported by Stephen Gildea.
1918         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
1919         If prototypes are supported, use them to check this at compile-time,
1920         instead of trying to check it at run-time.  If we must do a run-time
1921         check, assume that setvbuf is standard when cross-compiling, as
1922         nonstandard setvbuf occurs only on ancient and unlikely hosts.
1923         Bug reported by Paul D. Smith.
1925         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
1926         argument specifying location of getloadavg.c.  This removes a
1927         FIXME.  This idea was taken from Jim Meyering's implementation in
1928         textutils.
1929         * doc/autoconf.texi (Particular Functions): Document this.
1930         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
1931         that's what the code does; this fixes a bug reported by
1932         Paul D. Smith.
1934 2002-05-03  Akim Demaille  <akim@epita.fr>
1936         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
1937         autopoint instead of gettextize.
1938         ($uses_alocal): Rename as...
1939         ($uses_aclocal): this.
1940         * doc/autoconf.texi (autoreconf Invocation): Adjust.
1941         Suggested by Bruno Haible.
1943 2002-05-03  Akim Demaille  <akim@epita.fr>
1945         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
1947 2002-04-29  Paul Eggert  <eggert@twinsun.com>
1949         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
1950         files to be 1 second older; just set them to be the same time.
1951         Also, sleep 1 second after the first aclocal, to work around
1952         problems with sub-second time stamps on the input files.
1954 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
1956         * doc/autoconf.texi: Mention "set -e -x" lossage
1957         under node "Limitations of Builtins".
1959 2002-04-29  Akim Demaille  <akim@epita.fr>
1961         * doc/install.texi: Better wording for setting variables when
1962         running configure.
1963         From Christian Cornelssen.
1965 2002-04-29  Akim Demaille  <akim@epita.fr>
1967         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
1968         of lack of $LINENO support, then the test will compare the $LINENO
1969         in testsuite vs. the lineno in the test file.  This is wrong, of
1970         course.
1971         Be sure to protect it.
1972         Reported by Patrick Welche.
1974 2002-04-25  Akim Demaille  <akim@epita.fr>
1976         * doc/autoconf.texi (Obsolete Macros): Typo.
1977         Reported by Vladimir Volovich.
1979 2002-04-25  Akim Demaille  <akim@epita.fr>
1981         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
1982         than some of the input files, hence, on the second run of aclocal,
1983         if some of its input are younger, make them older.
1984         Suggested by Paul Eggert.
1986 2002-04-25  Akim Demaille  <akim@epita.fr>
1988         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
1989         Thanks to Paul Eggert.
1991 2002-04-25  Akim Demaille  <akim@epita.fr>
1993         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
1994         and ac_subst_vars be sh variables containing the list of
1995         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
1996         DEFAULT diversion.
1997         (_AC_INIT_PREPARE): Use them to log them.
1998         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
1999         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
2000         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
2001         _AC_SUBST_FILES and _AC_SUBST_VARS.
2002         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
2004 2002-04-24  Akim Demaille  <akim@epita.fr>
2006         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
2007         autoheader, so that automake does not complain about a missing
2008         config.h.in that was to be created.
2010 2002-04-23  Akim Demaille  <akim@epita.fr>
2012         * bin/autoheader.in (parse_args): --warning takes an argument.
2013         Fixes PR/220.
2015 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
2017         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
2018         and bb.out when cleaning up.
2020 2002-04-22  Akim Demaille  <akim@epita.fr>
2022         Version 2.53a.
2024 2002-04-22  Akim Demaille  <akim@epita.fr>
2026         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
2028 2002-04-22  Akim Demaille  <akim@epita.fr>
2030         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
2031         comma.
2032         Reported by Gregory Giannoni.
2034 2002-04-22  Akim Demaille  <akim@epita.fr>
2036         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
2037         Fixes false failures on Darwin.
2039 2002-04-21  Paul Eggert  <eggert@twinsun.com>
2041         * TODO, bin/autoupdate.in, doc/autoconf.texi,
2042         lib/autoconf/general.m4, lib/autoconf/libs.m4,
2043         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
2044         tests/tools.at: Minor spelling and grammar fixes.
2046 2002-04-20  Paul Eggert  <eggert@twinsun.com>
2048         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
2049         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
2050         * lib/autotest/general.m4 (AT_INIT): Likewise.
2051         * tests/atgeneral.m4 (AT_INIT): Likewise.
2053 2002-04-19  Paul Eggert  <eggert@twinsun.com>
2055         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
2056         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
2057         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
2058         lib/autoconf/functions.m4, lib/autoconf/general.m4,
2059         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
2060         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
2061         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
2062         Minor spelling and grammar fixes.
2064         * doc/autoconf.texi: Follow the outline suggested in the GNU
2065         Sample Texts sections of the Texinfo 4.2 manual.  Most
2066         importantly, this makes sure that the copyright notices appear in
2067         all output formats.  You probably need Texinfo 4.2 to generate
2068         the manual now.
2070         Fix some bugs when using "$@" when there might be zero positional
2071         arguments in cases where this matters.
2073         * bin/autoconf.as: Rewrite so that the problem does not come up.
2074         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
2075         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
2076         * lib/autotest/general.m4 (AT_INIT): Likewise.
2078         * bin/autoheader.in: Use 'case' statement to work around problem.
2079         * bin/auto4mte.in: Likewise.
2080         * bin/autoreconf.in: Likewise.
2081         * bin/autoscan.in: Likewise.
2082         * bin/autoupdate.in: Likewise.
2083         * bin/ifnames.in: Likewise.
2085         * doc/autoconf.texi (Shell Substitutions): Document the problem.
2087         * lib/autotest/general.m4 (AT_INIT):
2088         Use Zsh alias to work around problem.
2089         * tests/atgeneral.m4 (AT_INIT): Likewise.
2091         * tests/c.at: We can't have zero arguments, so remove workaround
2092         that is not portable to Zsh.
2094 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
2096         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
2097         from aclocal.m4 too.
2099 2002-04-12  Akim Demaille  <akim@epita.fr>
2101         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
2103 2002-04-10  Akim Demaille  <akim@epita.fr>
2105         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
2106         workaround for ${1+"$@"}.
2107         * doc/autoconf.texi (Shell Substitutions): Explain it.
2108         From Oliver Kiddle and Peter Stephenson.
2110         Have M4sh perform minimal shell sanitizing.
2112         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
2113         part into...
2114         (_AS_PREPARE): this new macro.
2115         (AS_PREPARE): New.
2116         (AS_INIT): Invoke AS_SHELL_SANITIZE.
2117         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
2119         Adjust Autoconf and Autotest.
2121         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
2122         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
2123         * lib/autotest/general.m4 (AT_INIT): Likewise.
2124         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2125         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
2126         AS_SHELL_SANITIZE.
2128         Use this M4sh to generate Autoconf's shell scripts.
2130         * tests/wrapsh.as: New, precursor of wrapsh.in.
2131         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
2132         on Autotest and M4sh.
2133         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
2134         (wrapsh.in): New target.
2135         * bin/autoconf.as: New, precursor of autoconf.in.
2136         (autoconf.in): New target.
2138 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
2140         * doc/autoconf.texi (Limitations of Make): Mention the issue
2141         with indented comments in rules.
2143 2002-04-09  Andreas Schwab  <schwab@suse.de>
2145         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
2146         ac_top_builddir when setting ac_abs_top_builddir.
2148 2002-04-06  Kevin Ryde  <user42@zip.com.au>
2150         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
2151         (Portable Shell): Cross reference to Systemology.
2153 2002-04-05  Akim Demaille  <akim@epita.fr>
2155         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
2156         directories when descending in a SUBDIRS.
2157         Reported by Ezra Peisach.
2159 2002-04-04  Andreas Schwab  <schwab@suse.de>
2161         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
2162         contains no literal separators.
2164 2002-04-03  Akim Demaille  <akim@epita.fr>
2166         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
2167         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
2168         Use dnl, not the KILL diversion.
2169         Extracted from...
2170         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
2171         (AC_CONFIG_LINKS): here.
2172         Adjust.
2173         Don't use the KILL diversion, as it kills spurious output, which
2174         results in failures being hidden.
2175         Use m4_defn where appropriate.
2176         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
2177         after the second argument.
2178         Use m4_defn.
2179         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
2180         syntax, as it is provided by M4sugar.
2181         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
2183 2002-04-03  Andreas Schwab  <schwab@suse.de>
2185         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
2186         expanded if $# <= 2.
2188         * bin/autoreconf.in (autoreconf): Run automake after rerunning
2189         aclocal.
2191 2002-04-03  Akim Demaille  <akim@epita.fr>
2193         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
2194         (_AC_COMPILER_EXEEXT_REJECT): New.
2195         Also recognize *.bb and *.bbg as compilation byproducts.
2196         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
2197         (_AC_COMPILER_OBJEXT): Use them.
2198         Fixes Debian #138666.
2200 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
2202         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
2204         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
2205         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
2206         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
2207         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
2208         (AC_C_CONST): Same.
2209         (AC_C_INLINE): Same.
2210         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
2211         * doc/autoconf.texi, NEWS: Document.
2212         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
2213         AC_C_CROSS.
2215 2002-04-02  Akim Demaille  <akim@epita.fr>
2217         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
2218         _AS_MKDIR_P_PREPARE.
2220 2002-03-28  Kevin Ryde  <user42@zip.com.au>
2222         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
2223         to avoid versions of HP C which don't allow that.
2225 2002-03-27  Paul Eggert  <eggert@twinsun.com>
2227         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
2228         (AS_SHELL_SANITIZE): Invoke it.
2229         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
2231 2002-03-26  Akim Demaille  <akim@epita.fr>
2233         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
2235 2002-03-26  Akim Demaille  <akim@epita.fr>
2237         * doc/autoconf.texi (Introduction): The GNATS base moved.
2239 2002-03-25  Paul Eggert  <eggert@twinsun.com>
2241         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
2242         as POSIX requires, as it doesn't work with Zsh.
2243         * doc/autoconf.texi (Assignments): Document the problem.
2245 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2247         * doc/autoconf.texi (Limitations of Make): Mention more issue
2248         about VPATH, overriding of macros in sub-makes, and handling of
2249         SHELL.
2251 2002-03-21  Paul Eggert  <eggert@twinsun.com>
2253         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
2254         problem with here-document buffer boundaries.
2256         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
2257         when reinvoking the shell, to work around problems with installers
2258         who put strange things like "cd" commands in their environments.
2260 2002-03-19  Akim Demaille  <akim@epita.fr>
2262         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
2263         From Aaron Ucko.
2265 2002-03-19  Akim Demaille  <akim@epita.fr>
2267         * bin/autoscan.in (scan_file): Specify the location in `&used'
2268         invocations.
2269         From Nicolas Joly.
2271 2002-03-19  Akim Demaille  <akim@epita.fr>
2273         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
2274         From Nishio Futoshi.
2276 2002-03-19  Akim Demaille  <akim@epita.fr>
2278         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
2280 2002-03-18  Paul Eggert  <eggert@twinsun.com>
2282         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
2283         (Limitations of Usual Tools): Add mkdir section.
2285         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
2286         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
2287         back on AS_DIRNAME to compute prefixes otherwise; this is
2288         roughly what mkinstalldirs does.  That way, we need not have
2289         our own filename disassembler.  The old disassembler did not
2290         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
2292         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
2293         Create at_test_all by a series of assignments,
2294         not by a single assignment of a long string.  The latter causes ksh
2295         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
2296         presumably because of a buffer overrun.
2298 2002-03-14  Paul Eggert  <eggert@twinsun.com>
2300         * lib/autotest/general.m4 (at_times_skip):
2301         Renamed from at_times.  Now a boolean.
2302         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
2303         says 'times: not found'.
2305 2002-03-14  Akim Demaille  <akim@epita.fr>
2307         * bin/autoreconf.in (&study_gettextize): New.
2308         (&autoreconf): Handle newest gettextize.
2309         Rerun aclocal if needed.
2310         Suggested by Andreas Schwab.
2312 2002-03-13  Akim Demaille  <akim@epita.fr>
2314         * doc/autoconf.texi (Special Shell Variables): More about IFS.
2316 2002-03-13  Akim Demaille  <akim@epita.fr>
2318         * doc/autoconf.texi (Header Portability): New.
2319         Add information about stdint.h and inttypes.h from Paul Eggert.
2321 2002-03-13  Akim Demaille  <akim@epita.fr>
2323         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
2324         -p'.
2325         From Bob Proulx.
2327 2002-03-12  Akim Demaille  <akim@epita.fr>
2329         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
2330         m4_require.
2332 2002-03-11  Andreas Schwab  <schwab@suse.de>
2334         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
2335         does not do it if --with-lispdir is given.
2337 2002-03-08  Akim Demaille  <akim@epita.fr>
2339         Version 2.53.
2341 2002-03-08  Akim Demaille  <akim@epita.fr>
2343         * doc/autoconf.texi (Subdirectories): Clarify that the
2344         subdirectory should exist.
2346 2002-03-08  Akim Demaille  <akim@epita.fr>
2348         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
2350 2002-03-08  Akim Demaille  <akim@epita.fr>
2352         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
2353         aliases the actual variables, and modifications of the former
2354         affect the latter.
2356 2002-03-08  Akim Demaille  <akim@epita.fr>
2358         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
2359         because of C-c: have m4 output in tmp files, then mv them.
2361 2002-03-08  Akim Demaille  <akim@epita.fr>
2363         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
2364         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
2365         * bin/ifnames.in: Copyright update.
2367 2002-03-08  Akim Demaille  <akim@epita.fr>
2369         * doc/autoconf.texi (Invoking autom4te): New.
2371 2002-03-05  Akim Demaille  <akim@epita.fr>
2373         * doc/autoconf.texi (Specifying Names): Clarification suggested by
2374         Kevin Ryde.
2376 2002-03-05  Akim Demaille  <akim@epita.fr>
2378         Version 2.52i.
2380 2002-03-04  Akim Demaille  <akim@epita.fr>
2382         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
2383         * lib/autoconf/general.m4 (AC_INIT): More informative error
2384         message for LIBOBJ.
2386 2002-03-04  Akim Demaille  <akim@epita.fr>
2388         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
2389         parallel builds.
2391 2002-03-04  Akim Demaille  <akim@epita.fr>
2393         * doc/autoconf.texi (Transforming Names): Equality between target
2394         and host is irrelevant.
2395         (Specifying Names, Canonicalizing): Remove all references to the
2396         backward compatibility hooks.  Rather, collect them all into...
2397         (Hosts and Cross-Compilation): this new section.
2398         * doc/install.texi (System Type): Ditto.
2399         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
2400         that `--host' implies cross-compilation.
2402 2002-03-04  Akim Demaille  <akim@epita.fr>
2404         * doc/autoconf.texi (Evaluation Macros): New.
2405         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
2406         useless.
2407         (_m4_foreach): Define the variant with immediate evaluation so
2408         that it contains exactly the items, not an expression which
2409         evaluation is the current item.
2410         (m4_re_string, m4_re_word): Don't over quote them.
2412 2002-03-04  Akim Demaille  <akim@epita.fr>
2414         Instead of having stacking `shift's evaluated at the end, let
2415         `foreach' loops immediately evaluate them.
2417         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
2418         $*.  This is the n-th time I change my mind, but hopefully this is
2419         the last...
2420         (m4_lquote): New.
2421         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
2422         efficient.
2423         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
2424         it was only a hack for m4_text_wrap.
2425         (m4_car2): Remove, replaced by...
2426         (m4_cdr): New.
2427         (_m4_foreach): Adjust.
2428         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
2429         m4_bpatsubst for clarification.
2431 2002-03-04  Akim Demaille  <akim@epita.fr>
2433         * doc/autoconf.texi (Changequote is Evil): New.
2435 2002-03-03  Kevin Ryde  <user42@zip.com.au>
2437         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
2438         on old systems like SunOS.
2440 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
2442         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
2443         lib/autoconf/functions.m4, lib/autoconf/general.m4,
2444         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
2445         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
2446         of messages.
2448 2002-02-28  Akim Demaille  <akim@epita.fr>
2450         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
2451         message to be sent.
2453 2002-02-28  Kevin Ryde  <user42@zip.com.au>
2455         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
2457 2002-02-25  Akim Demaille  <akim@epita.fr>
2459         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
2460         From Akinori Musha.
2462 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
2464         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
2465         translate \r\n to \n.
2467 2002-02-07  Akim Demaille  <akim@epita.fr>
2469         Version 2.52h.
2471 2002-02-07  Akim Demaille  <akim@epita.fr>
2473         Fix Autoconf PR/209.
2474         Also reported by Frank Denis.
2476         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
2478 2002-02-07  Akim Demaille  <akim@epita.fr>
2480         Fix Autoconf PR/207:
2481         AC_PREFIX_PROGRAM fails with dashed program names
2483         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
2484         variable when looking for the prefix program.
2485         Now it also works for shell variables.
2487 2002-02-07  Akim Demaille  <akim@epita.fr>
2489         * doc/autoconf.texi (Limitations of Builtins): More about
2490         case/esac.
2492 2002-02-06  Akim Demaille  <akim@epita.fr>
2494         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
2495         case/esac, some shells don't support it.
2496         Reported by Zack Weinberg.
2497         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
2499 2002-02-06  Akim Demaille  <akim@epita.fr>
2501         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
2502         sure not to introduce newlines in at_groups.
2503         * lib/autotest/Makefile.am (autotest.m4f): Typo.
2505 2002-02-06  Akim Demaille  <akim@epita.fr>
2507         * tests/torture.at (Configuring subdirectories): Skip if aclocal
2508         is not available.
2510 2002-02-05  Paul Eggert  <eggert@twinsun.com>
2512         * doc/autoconf.texi (Specific Compiler Characteristics):
2513         Describe HP-UX cc bug workaround more accurately.
2514         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
2515         not unsigned long.
2516         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
2517         cross-compilers, too.  This undoes some of the most recent change
2518         to this file.
2520 2002-02-05  Akim Demaille  <akim@epita.fr>
2522         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
2523         to make sure they are up to date when `check' is run.
2525 2002-02-05  Akim Demaille  <akim@epita.fr>
2527         * doc/autoconf.texi (Making testsuite Scripts): Document
2528         package.m4.
2530 2002-02-05  Akim Demaille  <akim@epita.fr>
2532         * lib/freeze.mk: New.
2534 2002-02-05  Akim Demaille  <akim@epita.fr>
2536         Implement `autom4te --freeze'.
2538         * bin/autom4te.in (&freeze): New.
2539         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
2540         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
2542 2002-02-05  Akim Demaille  <akim@epita.fr>
2544         * bin/autom4te.in (&parse_args): Implement `frozen files are
2545         optional are the sum of the previous files on the command line'.
2546         Also, pass `--reload-state=' on them, so...
2547         (handle_m4): don't.
2548         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
2549         (M4sh): Rely on M4sugar.
2550         (Autotest, M4sh, M4sugar): Use frozen files.
2552 2002-01-31  Akim Demaille  <akim@epita.fr>
2554         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
2555         * doc/autoconf.texi (Initializing configure): Adjust.
2557 2002-01-30  Akim Demaille  <akim@epita.fr>
2559         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
2560         alphanumeric to `-' instead of `_'.
2562 2002-01-30  Akim Demaille  <akim@epita.fr>
2564         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
2565         for plain code, the other for cross-compilation code.  The latter
2566         is now run with GCC only.
2567         * doc/autoconf.texi (Compilers and Preprocessors): New.
2569 2002-01-30  Akim Demaille  <akim@epita.fr>
2571         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
2572         values.
2573         * doc/autoconf.texi (Initializing configure): Explain how to
2574         change AC_INIT default values.
2576 2002-01-29  Akim Demaille  <akim@epita.fr>
2578         * tests/torture.at (Configuring subdirectories): Use configure.in,
2579         so that aclocal 1.4 works.
2580         Reported by Alexandre Duret-Lutz and Larry Schmitt.
2582 2002-01-28  Akim Demaille  <akim@epita.fr>
2584         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
2585         needs an argument.
2587 2002-01-28  Akim Demaille  <akim@epita.fr>
2589         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
2590         AUTOTEST_PATH *after* it was set.
2591         Don't put `.' in the PATH: the user should be precise and `./' if
2592         needed.  In addition, given that the test suite does some `cd', if
2593         `.' is in the path, the `tested programs' sections will report
2594         programs found in the test suite's directory, while during the
2595         tests (performed in their own directory), these programs are no
2596         longer visible.  In other words, the results is confusing and
2597         useless.
2598         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
2600 2002-01-24  Akim Demaille  <akim@epita.fr>
2602         Version 2.52g.
2604 2002-01-24  Akim Demaille  <akim@epita.fr>
2606         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
2607         * doc/autoconf.texi: Finally add Akim as an author.
2609 2002-01-24  Akim Demaille  <akim@epita.fr>
2611         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
2612         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
2613         Bourne. Use /bin/sh.
2614         From Andreas Buening.
2616 2002-01-24  Akim Demaille  <akim@epita.fr>
2618         * config/config.guess, config/config.sub, config/texinfo.tex:
2619         Update from masters.
2621 2002-01-24  Akim Demaille  <akim@epita.fr>
2623         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
2624         * config/auxdir.m4, config/cond.m4, config/depend.m4,
2625         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
2626         * config/missing.m4, config/sanity.m4, config/select.m4,
2627         * config/strip.m4: Remove, to ease sync'ing with any version of
2628         Automake.
2630 2002-01-24  Akim Demaille  <akim@epita.fr>
2632         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
2633         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
2634         Reported by Geir Ove Myhr.
2636 2002-01-21  Akim Demaille  <akim@epita.fr>
2638         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
2640 2002-01-21  Akim Demaille  <akim@epita.fr>
2642         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
2643         message on invalid options.
2644         * bin/autom4te.in (parse_args): Don't use
2645         Autoconf::General::getopt with non valid options.
2647 2002-01-17  Jim Meyering  <meyering@lucent.com>
2649         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
2650         $ac_cv_exeext so we don't use an old, invalid, cached value.
2652 2002-01-11  Akim Demaille  <akim@epita.fr>
2654         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
2655         Meyering.
2656         * doc/autoconf.texi (Function Portability): Document the strnlen
2657         limitation.
2658         (Particular Functions): Document AC_FUNC_STRNLEN.
2659         * lib/autoscan/functions: Adjust.
2661 2002-01-06  Akim Demaille  <akim@epita.fr>
2663         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
2664         package.m4, since is really depends upon configure.ac, not
2665         configure.
2666         * doc/autoconf.texi (testsuite Scripts): Adjust.
2667         * tests/Makefile.am (package.m4): New.
2668         EXTRA_DIST it since its a source.
2670 2002-01-06  Akim Demaille  <akim@epita.fr>
2672         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
2673         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
2674         and PACKAGE_BUGREPORT from here...
2675         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
2676         arguments.
2677         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
2678         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
2679         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
2680         * tests/tools.at (autoheader): Adjust.
2681         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
2683 2002-01-06  Akim Demaille  <akim@epita.fr>
2685         * bin/autoscan.in (scan_file): Use `&used'.
2687 2002-01-03  Akim Demaille  <akim@epita.fr>
2689         * doc/autoconf.texi (Output): Improved wording regarding use of
2690         AC_OUTPUT.
2691         From Olly Betts.
2693 2001-12-18  Kevin Ryde  <user42@zip.com.au>
2695         * doc/autoconf.texi (Function Portability): Add notes on sscanf
2696         sometimes needing writable input.
2698 2001-12-17  Jim Meyering  <meyering@lucent.com>
2700         * doc/autoconf.texi (New Macros): Tweak wording.
2702 2001-12-14  Akim Demaille  <akim@epita.fr>
2704         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
2705         trailing files, don't apply `-rf' to files which might not be
2706         created by configure (core, core.*, and *.core), but just `rm -f'.
2707         Suggested by Jonathan Kamens.
2709 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
2711         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
2713 2001-12-14  Akim Demaille  <akim@epita.fr>
2715         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
2717 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
2719         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
2720         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
2721         abs_srcdir, top_srcpath to abs_top_srcdir.
2722         (_AC_OUTPUT_FILES): Adjust.
2723         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
2724         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
2725         * tests/wrappl.in, tests/wrapsh.in: Adjust.
2727 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
2729         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
2730         C/Fortran linking on HP/UX, by extracting the Fortran library
2731         search path from the LPATH line in the $F77 -v output.
2733 2001-12-12  Kevin Ryde  <user42@zip.com.au>
2735         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
2736         forbidden file descriptors table.
2738 2001-11-26  Akim Demaille  <akim@epita.fr>
2740         * bin/autoscan.in (%c_keywords): Build it at top level.
2741         Map to 1 in order to simplify its uses.
2743 2001-11-26  Akim Demaille  <akim@epita.fr>
2745         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
2746         Remove $filepath, useless.
2747         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
2748         variables, they are really part of the tokens.
2749         Split the input line on spaces and then look for tokens.
2750         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
2751         because of `lex$U.$(OBJEXT)'.
2752         (&scan_files): Use "@list" instead of join.
2753         * doc/Makefile.am (CLEANFILES): Add *.fns.
2755 2001-11-26  Akim Demaille  <akim@epita.fr>
2757         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
2758         Remove, replaced by...
2759         * tests/wrappl.in: Be common for all the Perl executables.
2760         In particular autoscan and autoheader want -I.
2761         * configure.ac: Adjust.
2762         * lib/autoscan/headers: errno.h is portable.
2764 2001-11-26  Akim Demaille  <akim@epita.fr>
2766         * bin/autoscan.in (used): New.
2767         Use it.
2769 2001-11-26  Akim Demaille  <akim@epita.fr>
2771         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
2772         directives.
2773         (&scan_sh_file): Remove a duplicate pattern.
2774         (&check_configure_ac): Use long options.
2775         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
2777 2001-11-26  Akim Demaille  <akim@epita.fr>
2779         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
2780         Before, having a line containing the opening of a multi line
2781         comment made the whole line be ignored.
2783 2001-11-26  Akim Demaille  <akim@epita.fr>
2785         * doc/autoconf.texi (Using an Autotest Test Suite): New.
2786         (testsuite Scripts): Be one of its subsection.
2787         (Autotest Logs): New.
2789 2001-11-26  Akim Demaille  <akim@epita.fr>
2791         Test groups are now run two directories deeper.
2793         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
2794         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
2795         at_top_builddir.
2796         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
2797         top_srcdir, builddir and top_builddir.
2798         Use `at_*dir' relatively to the directory containing the
2799         suite, use `*dir' when relatively to the current group dir.
2801 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
2803         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
2804         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
2805         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
2806         spelling errors.
2808 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
2810         * doc/autoconf.texi (Using System Type): Add an example of `case
2811         $host' usage so people quit using `case $target' everywhere.
2813 2001-11-22  Akim Demaille  <akim@epita.fr>
2815         * doc/autoconf.texi (Installation Directory Variables): Englishoes
2816         spotted by Jim Meyering.
2818 2001-11-16  Paul Eggert  <eggert@twinsun.com>
2820         This patch implements a `long double' suggestion by Oliver Kiddle.
2822         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
2823         static, to catch errors if the value isn't known at compile-time
2824         and the compiler supports dynamic arrays.  Change its name from
2825         `_array_' to `test_array' to avoid potential name clashes.
2826         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
2827         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
2828         better than double.  Catch a bug in GCC 2.95.2 x86.
2829         * doc/autoconf.texi (C Compiler): Document the above.
2830         * NEWS: Likewise.
2832 2001-11-13  Akim Demaille  <akim@epita.fr>
2834         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
2835         hand.
2836         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
2838 2001-11-13  Akim Demaille  <akim@epita.fr>
2840         * lib/autotest/general.m4 (AT_INIT): After having run the test
2841         group, go back to the initial directory, not to at_suite_dir.
2843 2001-11-13  Akim Demaille  <akim@epita.fr>
2845         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
2846         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
2847         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
2848         option.
2849         (AT_CHECK_CONFIGURE): Use absolute paths.
2850         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
2851         The problem is still the old one: there is no means in M4 (that I
2852         know about) to create a defining macro, because there is no means
2853         to create `$1' etc., therefore, the defining macro ``swallows''
2854         all the arguments meant to the defined macro.
2856 2001-11-13  Akim Demaille  <akim@epita.fr>
2858         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
2859         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
2860         configure.ac.
2861         * tests/aclocal.m4: Remove, as it is no longer used.
2863 2001-11-13  Akim Demaille  <akim@epita.fr>
2865         * lib/autotest/general.m4: Change `tests?' into `groups?' in
2866         variable names when referring to a single test group, or to
2867         `suite' when referring to the whole test suite.
2868         `at_last_test' is removed: m4 compute at_format itself.
2869         (at_stdout, at_stder1, at_stderr): New variables.
2870         (AT_CHECK): Use them.
2872 2001-11-13  Akim Demaille  <akim@epita.fr>
2874         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
2875         in PATH.
2876         Create `testsuite.dir/003/run' instead of `testsuite.003'.
2877         Do it as soon as a test fails, don't wait till the end of the test
2878         suite.
2879         Don't remove $as_me.[0-9]*, since these files no longer exist.
2881 2001-11-13  Akim Demaille  <akim@epita.fr>
2883         * tests/tools.at: Use absolute paths, since we are no longer run
2884         in place.
2886 2001-11-13  Akim Demaille  <akim@epita.fr>
2888         Now that tests are running in their own private dir, there is no
2889         need to list the files to remove at the end of tests groups.
2891         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
2892         (AT_data_files, at_data_files): Remove.
2893         (AT_CLEANUP, AT_DATA): Simplify.
2894         (AT_INIT): Adjust.
2895         Remove the group dir if !debug && !failed.
2896         * tests/atspecific.m4: Adjust.
2898 2001-11-13  Akim Demaille  <akim@epita.fr>
2900         Start a new layout for Autotest: `testsuite' creates
2901         `testsuite.dir' in which the at-check-line etc. files are to be
2902         found, and `testsuite.dir/003' where the test group 3 is run.
2904         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
2905         at_check_line_file, at_format, at_test_normalized, at_group_dir
2906         are new variables.
2907         Create the directories.
2908         Use absolute paths for at- files.
2909         (AT_CHECK): Adjust.
2911 2001-11-11  Michael Matz  <matz@kde.org>
2913         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
2914         (m4_car2): New.
2915         (m4_car): Properly quote arguments.
2917 2001-11-13  Akim Demaille  <akim@epita.fr>
2919         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
2920         with stricter rules on LIBOBJS.
2922 2001-11-12  Paul Eggert  <eggert@twinsun.com>
2924         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
2925         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
2926         __PROTOTYPES too.
2928 2001-11-12  Akim Demaille  <akim@epita.fr>
2930         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
2932 2001-11-12  Akim Demaille  <akim@epita.fr>
2934         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
2935         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
2936         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
2937         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
2938         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
2939         specify to what the macro should be defined (typically to 1).
2941 2001-11-12  Akim Demaille  <akim@epita.fr>
2943         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
2944         From Jim Meyering.
2946 2001-11-12  Akim Demaille  <akim@epita.fr>
2948         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
2949         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
2950         definition used by Automake where LEX is +/- "${missing} lex" and
2951         `missing' itself contains variables.
2953 2001-11-12  Akim Demaille  <akim@epita.fr>
2955         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
2956         Now that M4sh pushes BODY, the comments were output at the end of
2957         the test suites.
2959 2001-11-08  Akim Demaille  <akim@epita.fr>
2961         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
2962         that we can trace macros from aclocal.m4.
2963         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
2964         obsoleted, and redirect to the former anyway.
2965         Reported by Ralf Corsepius.
2967 2001-11-08  Akim Demaille  <akim@epita.fr>
2969         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
2970         processed only if present.
2971         * tests/torture.at (Configuring subdirectories): Use autoreconf
2972         instead of successive calls to autoconf.
2973         Add a nonexistent subdirectory to exercise the patch above.
2974         Reported by Ralf Corsepius.
2976 2001-11-08  Kevin Ryde  <user42@zip.com.au>
2978         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
2979         doesn't accept .S files.
2981 2001-11-07  Akim Demaille  <akim@epita.fr>
2983         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
2984         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
2985         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
2986         * bin/autom4te.in (warn_forbidden): New.
2987         (handle_output): Use it.
2988         Read m4_pattern_forbid with messages.
2990 2001-11-05  Akim Demaille  <akim@epita.fr>
2992         * bin/autom4te.in (--normalize): Remove.
2993         * lib/autom4te.in: Adjust.
2995 2001-11-05  Akim Demaille  <akim@epita.fr>
2997         * tests/Makefile.am (testsuite): Rename this target as...
2998         ($(TESTSUITE)): this.
2999         From Nicolas Joly.
3001 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
3003         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
3004         the --prefix option, also remove it's argument.
3006 2001-11-05  Akim Demaille  <akim@epita.fr>
3008         * doc/autoconf.texi (testsuite Invocation): Update.
3009         (Writing testsuite.at): Update.
3011 2001-11-03  Akim Demaille  <akim@epita.fr>
3013         * doc/autoconf.texi: s/@code/@command/ where appropriate.
3015 2001-11-03  Akim Demaille  <akim@epita.fr>
3017         * lib/Autom4te/General.pm: (&catfile, &canonfile)
3018         (&file_name_is_absolute): New, wrappers around routines from
3019         File::Spec.
3020         Use and export them.
3021         (&find_configure_ac): Optionally take a directory where to look at.
3022         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
3023         the arguments.
3024         Default @ARGV to `.', not find_configure_ac.
3025         (&autoreconf): Argument is a directory.
3026         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
3027         * doc/autoconf.texi (autoreconf Invocation): Update.
3029 2001-11-03  Akim Demaille  <akim@epita.fr>
3031         * lib/Autom4te/General.pm (@export_vars, @export_subs)
3032         (@export_forward_subs): New.
3033         Add basename, dirname, and fileparse.
3034         (@EXPORT): Adjust.
3035         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
3036         Don't look for aclocal flags if we already know aclocal is not
3037         used.
3038         Move aclocal.m4t only if it exists.
3039         Reported by Ezra Peisach.
3041 2001-11-03  Akim Demaille  <akim@epita.fr>
3043         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
3044         passed on command line, defaulting to ./configure.ac if present.
3045         (&maybe_autoreconf, File::Find): Remove, unused.
3046         (&autoreconf): If autoconf is not used, don't try to trace.
3048 2001-11-02  Akim Demaille  <akim@epita.fr>
3050         * configure.ac: Bump to 2.52g.
3052 2001-11-02  Akim Demaille  <akim@epita.fr>
3054         Version 2.52f.
3056 2001-11-02  Akim Demaille  <akim@epita.fr>
3058         * config/config.guess, config/config.sub, doc/standards.texi:
3059         * config/lispdir.m4: Update from masters.
3060         * configure.ac: Bump to 2.52f.
3062 2001-11-02  Akim Demaille  <akim@epita.fr>
3064         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
3065         Don't run aclocal when aclocal.m4 is not from aclocal.
3066         From Ezra Peisach.
3067         Don't run libtoolize and gettextize if --install is not given.
3069 2001-11-01  Paul Eggert  <eggert@twinsun.com>
3071         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
3072         be invoked before _AS_LINENO_PREPARE.
3073         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
3074         than character ranges.
3076         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
3077         invoking AS_BASENAME.  Set the locale variables to 'C' if
3078         possible, as POSIX requires this to get the traditional
3079         behavior.
3080         * doc/autoconf.texi (Special Shell Variables): Describe the above.
3082 2001-10-31  Paul Eggert  <eggert@twinsun.com>
3084         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
3085         with {}, as that triggers a bug in Bash 2.05.
3087         (_AS_LINENO_PREPARE): Use Sed rather than
3088         Awk.  Fix the sed prepass to work even if there are multiple
3089         instances of $LINENO on the same line.  Do not substitute for
3090         other variables like $LINENOT.  Do not check file dates; such a
3091         check is unreliable on sufficiently fast machines, and removing
3092         the check makes the code simpler and more reliable.  Check for
3093         output and chmod failures.
3095         * doc/autoconf.texi (Special Shell Variables): Document
3096         the above.
3098 2001-10-31  Akim Demaille  <akim@epita.fr>
3100         * tests/Makefile.am (atconfig): Remove this target, Automake
3101         handles it now.
3103 2001-10-31  Akim Demaille  <akim@epita.fr>
3105         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
3106         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
3107         provided, while it is optional.
3108         * configure.ac: Adjust.
3110 2001-10-26  Paul Eggert  <eggert@twinsun.com>
3112         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
3113           lib/Autom4te/Struct.pm:
3114         Require Perl 5.005_03 instead of just 5.005, as some tests fail
3115         with 5.005_02.
3117         * doc/autoconf.texi (Special Shell Variables): Document some
3118         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
3120         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
3121         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
3122         eval $LINENO is not portable in practice.
3124 2001-10-24  Akim Demaille  <akim@epita.fr>
3126         * lib/Autom4te/General.pm (backname): New.
3128 2001-10-24  Akim Demaille  <akim@epita.fr>
3130         * m4/: Remove, merged into...
3131         * config/: here.
3133 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
3135         * doc/autoconf.texi (Shellology): Mention the problems with bash
3136         2.05's use of ANSI quoting in its `set' builtin.
3138 2001-10-22  Paul Eggert  <eggert@twinsun.com>
3140         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
3141         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3142         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3143         POSIX decided to standardize on the int flavor of strerror_r.
3144         Always do char* test, as there's no reason not to.
3145         Assign to a char* var, to catch strerror_r that returns int*.
3147         * doc/autoconf.texi (Particular Functions):
3148         Document the above changes.  Also, document the fact that
3149         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
3151         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
3153 2001-10-20  Akim Demaille  <akim@epita.fr>
3155         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
3156         the executable was missing from the log.
3158 2001-10-20  Akim Demaille  <akim@epita.fr>
3160         * lib/Autom4te/General.pm (&update_file): If destination is
3161         unchanged, remove the source.
3162         (&up_to_date_p): Don't be verbose, be debug.
3163         * bin/autoreconf.in: No longer support --m4dir.
3164         (&autoreconf): Display the full path of the configure.ac we are
3165         studying.
3166         Trace it only once.
3167         Be sure to honor --force with gettextize.
3168         Always run aclocal.
3169         * doc/autoconf.texi: Adjust.
3171 2001-10-20  Akim Demaille  <akim@epita.fr>
3173         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
3174         Remove, dead.
3175         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
3176         `intl' is already present, as it refuses unless --force.
3177         (&parse_args): Use -I, --include instead of the old Autoconf
3178         options.
3179         ($localdir, $autoconf_dir): Remove.
3180         (@include): New.
3181         (&maybe_autoreconf): New, to preserve $_ for File::Find.
3183 2001-10-19  Jens Petersen  <petersen@redhat.com>
3185         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
3186         * doc/autoconf.texi (Particular Programs): Likewise.
3188 2001-10-19  Akim Demaille  <akim@epita.fr>
3190         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
3191         file in @configure_input@.
3192         Don't mention `automatically' in addition to `generated'.
3193         * tests/torture.at (#define header templates): Adjust.
3195 2001-10-19  Akim Demaille  <akim@epita.fr>
3197         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
3198         comment, explain how to install automatic mode selection.
3199         From Russ Allbery.
3201 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
3203         * bin/autoreconf.in (autoreconf): Display the path to the
3204         configure.ac being studied.
3206 2001-10-18  Paul Eggert  <eggert@twinsun.com>
3208         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
3209         long, to work around a bug in the HP C compiler version HP92453-01
3210         B.11.11.23709.GP.
3212         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
3213         (AS_BASENAME_EXPR): New macro.
3214         (AS_BASENAME_SED): Do not assume GNU sed semantics.
3215         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
3216         and fall back on 'sed' only if the other two fail.  This makes
3217         AS_BASENAME act more like AS_DIRNAME.
3218         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
3219         contains white space.
3220         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
3221         Use AS_DIRNAME, since I think it's now DOS-friendly.
3222         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
3223         Allow "dirname //FOO" to return either / or //, as POSIX allows
3224         either behavior.
3226 2001-10-10  Akim Demaille  <akim@epita.fr>
3228         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
3229         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
3230         From Eric Sharkey.
3232 2001-10-10  Akim Demaille  <akim@epita.fr>
3234         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
3235         m4_define, since...
3236         (_AS_ECHO_N): AS_REQUIREs it.
3238 2001-10-10  Akim Demaille  <akim@epita.fr>
3240         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
3241         (AC_INCLUDES_DEFAULT): Move to...
3242         * lib/autoconf/headers.m4: here.
3243         * lib/autoconf/types.m4: Comment changes.
3244         * doc/autoconf.texi: Specify where the default includes are used
3245         in the macro prototypes.
3247 2001-10-09  Akim Demaille  <akim@epita.fr>
3249         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
3250         transition code.
3252 2001-10-08  Akim Demaille  <akim@epita.fr>
3254         * bin/autoreconf.in (&autoreconf): Remove debugging code.
3255         (&parse_args): Pass verbosity/debugging options to subtools when
3256         --debug, not when --verbose.
3257         * lib/autom4te.in (Autoreconf-preselections): New.
3258         (Autoconf): Use it.
3260 2001-10-08  Akim Demaille  <akim@epita.fr>
3262         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
3264 2001-10-08  Akim Demaille  <akim@epita.fr>
3266         * doc/autoconf.texi (autoreconf Invocation): Adjust.
3267         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
3269 2001-10-08  Akim Demaille  <akim@epita.fr>
3271         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
3272         (Syntax of the shell scripts): Don't.
3273         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
3274         bother with $force since...
3275         * lib/Autom4te/General.pm: does.
3277 2001-10-08  Akim Demaille  <akim@epita.fr>
3279         * bin/autoreconf.in: Rewrite in Perl.
3280         * configure.ac: Adjust.
3281         * lib/Autom4te/General.pm (&up_to_date_p): New.
3282         * bin/autom4te.in (&up_to_date_p): Use it.
3283         Rename as...
3284         (&up_to_date): this.
3286 2001-10-08  Akim Demaille  <akim@epita.fr>
3288         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
3289         (m4_list_cmp): Use $0 to reinvoke yourself.
3290         (m4_patsubsts): New.
3291         (m4_strip, m4_version_unletter): Use it.
3292         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
3294 2001-10-08  Akim Demaille  <akim@epita.fr>
3296         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
3297         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
3298         * lib/autoconf/types.m4, lib/autotest/general.m4,
3299         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
3300         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
3301         m4_bregexp, m4_bpatsubst, and m4_bmatch.
3302         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
3304 2001-10-08  Akim Demaille  <akim@epita.fr>
3306         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
3308 2001-10-08  Akim Demaille  <akim@epita.fr>
3310         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
3311         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
3312         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
3313         * tests/tools.at, tests/m4sh.at: Use it.
3314         * tests/m4sh.at: Don't rely on Autoconf macros.
3315         (DIRNAME_TEST): Also exercise the expr variant.
3316         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
3317         preferred M4sugar extension is now `.4s'.
3318         * tests/README: Remove.
3320 2001-10-08  Akim Demaille  <akim@epita.fr>
3322         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
3323         (m4_provide_if): this.
3324         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
3325         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
3326         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
3327         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
3329 2001-10-08  Akim Demaille  <akim@epita.fr>
3331         Use `add-log-current-defun-function' for ChangeLog creation.
3332         Suggested by Tom Tromey.
3334         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
3335         (autotest-mode): Adjust.
3336         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
3337         'comment-region onto `C-c ;'.
3338         Comments are `#', not `dnl'.
3339         (autoconf-current-defun): New.
3340         (autoconf-font-lock-keywords): Recognize `m4_defun'.
3342 2001-10-08  Akim Demaille  <akim@epita.fr>
3344         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
3345         * lib/m4sugar/m4sh.m4: here.
3346         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
3347         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
3348         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
3349         include handle the m4_pattern_*, no longer push the
3350         BODY diversion nor set the /bin/sh line, AS_INIT does it.
3351         * lib/autotest/general.m4 (AT_INIT): Likewise.
3352         * tests/base.at: Adjust the tests to use AS_INIT.
3353         * tests/tools.at (AT_DATA_FORBIDDEN): New.
3354         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
3355         Autoconf.
3357 2001-10-07  Paul Eggert  <eggert@twinsun.com>
3359         * doc/autoconf.texi (config.status Invocation):
3360         CONFIG_SHELL defaults to a shell that supports LINENO if available.
3362         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
3363         shell does not support LINENO, and if CONFIG_SHELL is unset or
3364         empty, and if we can find a shell that does support LINENO,
3365         then set CONFIG_SHELL to that shell and then re-execute
3366         ourselves with CONFIG_SHELL.
3368 2001-10-05  Paul Eggert  <eggert@twinsun.com>
3370         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
3371         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
3372         build of $(TESTSUITE).
3374 2001-10-05  Akim Demaille  <akim@epita.fr>
3376         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
3377         iff we are a bareword.
3378         Reported by Raja R Harinath.
3380 2001-10-05  Akim Demaille  <akim@epita.fr>
3382         * tests/m4sh.at (LINENO): New.
3383         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
3384         PATH_SEPARATOR before using it.
3385         Fix the absolute path case/esac pattern.
3386         Provide $0 as fallback for as_myself.
3387         Reported by Raja R Harinath.
3389 2001-10-05  Akim Demaille  <akim@epita.fr>
3391         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
3392         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
3394 2001-10-05  Akim Demaille  <akim@epita.fr>
3396         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
3397         (AS_SHELL_SANITIZE): here.  Use it.
3398         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
3399         From Paul Eggert.
3401 2001-10-04  Akim Demaille  <akim@epita.fr>
3403         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
3404         combination of Awk and sed to replace $LINENO.
3406 2001-10-02  Paul Eggert  <eggert@twinsun.com>
3408         * doc/autoconf.texi (Limitations of Builtins): You can't use
3409         "source"; it's not portable.  Remove confusing and
3410         somewhat-incorrect example involving "." and "/".
3412         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
3413         compatibility with POSIX shells.
3415 2001-10-02  Akim Demaille  <akim@epita.fr>
3417         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
3418         instead of exec'ing to preserve $0 and $@.
3420 2001-10-01  Akim Demaille  <akim@epita.fr>
3422         * tests/testsuite (AT_INIT) <at_pass_list>: New.
3423         Don't run twice the same test.
3425 2001-10-01  Akim Demaille  <akim@epita.fr>
3427         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
3428         No longer output the list of tests.
3429         <--list>: New option.
3430         <--full-help>: Remove.
3431         Complete the short/long options duality.
3432         Various small adjustments.
3434 2001-10-01  Akim Demaille  <akim@epita.fr>
3436         * doc/autoconf.texi: Use @kbd for user input.
3437         Always use `$' as shell prompt.
3439 2001-09-30  Paul Eggert  <eggert@twinsun.com>
3441         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
3442         Don't use nested parenthesization.  This patch was originally
3443         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
3444         but somehow it didn't get incorporated then.
3445         * doc/autoconf.texi (Limitations of Usual Tools):
3446         Clarify remark about sed and nested parenthesization.
3448         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
3449         Report an error if the size cannot be determined even though
3450         the type exists.
3451         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
3452         Check for `expr' arithmetic overflow, and for compilation failure,
3453         and invoke a new argument $4 if either is discovered.
3454         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
3455         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
3457 2001-09-28  Akim Demaille  <akim@epita.fr>
3459         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
3460         * m4/lispdir.m4: New.
3461         * aclocal.m4, configure.ac: Adjust.
3463 2001-09-28  Akim Demaille  <akim@epita.fr>
3465         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
3466         (AT_TESTED): this.
3467         (AT_INIT): More the wrapped section to where it will be expanded.
3468         Output `AT_tested' only when existing.
3469         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
3471 2001-09-27  Akim Demaille  <akim@epita.fr>
3473         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
3474         generates too many bug reports.
3476         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
3477         status when executing the ACTION-IF-FALSE.
3478         * tests/base.at (AC_TRY_*): Rename as...
3479         (AC_TRY_COMMAND): this.
3480         (AC_RUN_IFELSE): New.
3481         * tests/compile.at (Extensions, C keywords)
3482         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
3483         (Broken/missing compilers, AC_PROG_CPP with warnings)
3484         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
3485         * tests/c.at (Extensions, C keywords)
3486         (Broken/missing compilers, AC_PROG_CPP with warnings)
3487         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
3488         (AC_PROG_CPP requires AC_PROG_CC): here and...
3489         * tests/fortran.at (GNU Fortran 77): there.
3490         * doc/autoconf.texi (autoconf Invocation): Fix the example:
3491         AC_TRY_RUN is about compilation, not shell commands.
3492         (Test Programs): AC_TRY_RUN works as used to be advertised.
3494 2001-09-27  Akim Demaille  <akim@epita.fr>
3496         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
3497         Raja R Harinath:
3498         Be sure to detect when $LINENO always returns the same value.
3499         Look for the original script, basename($0) is certainly not
3500         enough.
3501         Pass the CLI arguments to `$as_me.lineno'.
3503 2001-09-25  Akim Demaille  <akim@epita.fr>
3505         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
3506         Be sure the close and reopen the LOG fd before and after using tee
3507         to extend the log.
3508         <at_tests_pattern>: Adjust to the new format of at_help_all.
3510 2001-09-23  Akim Demaille  <akim@epita.fr>
3512         * bin/autom4te.in (parse_args): There can be several invocations
3513         of --language now.
3515 2001-09-23  Akim Demaille  <akim@epita.fr>
3517         * doc/autoconf.texi (Top): Wrap in @ifnottex.
3519 2001-09-23  Akim Demaille  <akim@epita.fr>
3521         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
3522         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
3523         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
3524         builddir, buildpath, top_builddir, and top_buildpath.
3525         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
3526         the current directory.
3527         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
3528         variables *before* changing the current directory.
3529         Skip nonexistent dirs.
3530         * doc/autoconf.texi (Preset Output Variables): Document these
3531         variables.
3533         * lib/autotest/general.m4: Do not reset AT_victims.
3534         Don't compute at_srcdir nor at_top_srcdir.
3536         * tests/tools.at: Hence use top_srcdir.
3538         * tests/Makefile.am, tests/autoconf, tests/autoheader,
3539         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
3540         Remove.
3541         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
3542         * tests/wrapsh.in, tests/autoupdate.in: New.
3543         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
3544         * configure.ac: Build the position independent wrappers.
3546         * man/Makefile.am: Now that test wrappers are position
3547         independent, use them and drop dark envvar magic.
3549 2001-09-23  Akim Demaille  <akim@epita.fr>
3551         * doc/autoconf.texi (Common Shell Constructs): Rename as...
3552         (Programming in M4sh): this.
3553         Promote to @section.
3555 2001-09-23  Akim Demaille  <akim@epita.fr>
3557         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
3558         Pass $at_debug_args to the rerun test suite.
3559         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
3560         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
3561         From Paul Eggert.
3563 2001-09-23  Akim Demaille  <akim@epita.fr>
3565         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
3567 2001-09-23  Akim Demaille  <akim@epita.fr>
3569         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
3570         over-escaping.
3572 2001-09-23  Akim Demaille  <akim@epita.fr>
3574         * lib/Autom4te/General.pm (&debug): New.
3575         * bin/autom4te.in ($language): Move to...
3576         (parse_args): here.
3577         Handle --language in languages.
3578         * lib/autom4te.in (Automake-selections, Autoheader-selections)
3579         (Autoscan-selections): New.
3580         (Autoconf): Adjust.
3582 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
3584         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
3585         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
3586         to match current versions from CVS Automake.
3588 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
3590         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
3591         for $LINENO.
3593 2001-09-22  Akim Demaille  <akim@epita.fr>
3595         * lib/autoconf/autotest.m4: Create `package.m4'.
3596         * tests/Makefile.am (package.m4): Remove.
3598 2001-09-22  Akim Demaille  <akim@epita.fr>
3600         Rely on `$LINENO' when possible instead of `__oline__'.
3602         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
3603         `$LINENO' support replacement when not supported.
3604         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
3605         them explicitly to be sure they are not output before this section
3606         (via m4_require).  Cosmetic only.
3607         * lib/autoconf/c.m4, lib/autoconf/general.m4,
3608         * lib/autoconf/programs.m4: Replace all the occurrences of
3609         `__oline__' with `$LINENO'.
3610         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
3612 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
3614         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
3615         character (u: -> ue) in a code comment.
3616         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
3617         it works.
3619 2001-09-21  Akim Demaille  <akim@epita.fr>
3621         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
3622         Suggested by Jim Meyering.
3624 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
3626         * lib/autoconf/programs.m4: Use extensions listed in
3627         $ac_executable_extensions when looking for programs.
3629 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
3631         * lib/autoconf/general.m4: Fix a small Englisho.
3632         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
3633         setting up ac_dir_suffix and ac_top_builddir.
3634         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
3636 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
3638         * doc/autoconf.texi (File System Conventions): Clarify the use of
3639         PATH_SEPARATOR.
3640         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
3641         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
3642         be used instead of ':'.
3643         * lib/autotest/general.m4: Replace occurrences of ':' in
3644         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
3646 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
3648         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
3649         arguments.  Fixed a typo.
3651 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
3653         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
3654         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
3656 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
3658         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
3659         * bin/autoupdate.in: Ditto.
3660         * bin/autoheader.in: Reworded a few comments.
3661         * bin/autoconf.in: Reworded help text for a few options.
3662         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3663         * bin/autoscan.in, bin/autoupdate.in: Ditto.
3665 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
3667         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
3668         already have $file).  Set output files to binary mode (helps avoid
3669         CR issues on DOSish systems).
3671 2001-09-19  Akim Demaille  <akim@epita.fr>
3673         * lib/autotest/general.m4: Englishoes.
3674         From Tim Van Holder and Alexey Mahotkin.
3676 2001-09-18  Paul Eggert  <eggert@twinsun.com>
3678         * doc/autoconf.texi (Common Shell Constructs): New node,
3679         documenting AS_DIRNAME.
3680         (Limitations of Usual Tools): Refer to it when discussing dirname.
3681         Also, update discussion of POSIX standard to reflect latest draft.
3683         * lib/autoconf/c.m4:
3684         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
3686         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
3687         Do not pass a first argument with leading '-'
3688         to expr, by parenthesizing initial integers that might be negative.
3690         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
3691         now merely checks whether it is an error to pass an argument
3692         to getpgrp.
3694         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
3695         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
3696         whether it is a (compile-time) error to pass an argument to
3697         getpgrp.  This simpler test supports the revised documentation,
3698         and is all that AC_FUNC_GETPGRP's users really need.
3700 2001-09-18  Akim Demaille  <akim@epita.fr>
3702         * doc/autoconf.texi (Limitations of Make) <$<>: New.
3704 2001-09-18  Akim Demaille  <akim@epita.fr>
3706         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
3707         `{}'.
3708         * lib/autotest/general.m4 (AT_INIT): Adjust.
3710 2001-09-18  Paul Wagland   <paul@wagland.net>
3712         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
3713         correctly.
3714         Add test for AS_BASENAME.
3715         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
3716         added test. It now correctly handles /1/2/3/, returning '3' not ''.
3717         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
3718         * tests/base.at: Fixed the expected responses. The old ones were
3719         one line out...
3720         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
3721         the documentation claims it should (and how it behaved in 2.13).
3723 2001-09-18  Akim Demaille  <akim@epita.fr>
3725         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
3726         the AC_CONFIG_COMMANDS invocation.
3727         This also solves the name clash problems.
3728         Don't set the package's ID.
3729         * lib/m4sugar/Makefile.am (version.m4): Revamp.
3730         No longer to be shipped.
3731         (version.in): Remove.
3732         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
3733         * lib/autoconf/status.m4: Adjust.
3734         Use `m4_PACKAGE_STRING'.
3735         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
3736         the only optional argument is the name of the test suite.
3737         Expect `package.m4' to define the package signature.
3738         * lib/autom4te.in (Autotest): Add `package.m4?'.
3739         * tests/Makefile.am (package.m4): New.
3740         * tests/suite.at: ifnames is a victim.
3742 2001-09-18  Akim Demaille  <akim@epita.fr>
3744         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
3745         AC_LIBSOURCE, AC_CONFIG_FILES.
3746         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
3747         program version string doesn't match the package's.
3748         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
3749         after `(cached)'.
3751 2001-09-17  Paul Eggert  <eggert@twinsun.com>
3753         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
3754         Allow expression to return any value that can fit into unsigned long
3755         (not int, as before).  Check for output errors.
3757 2001-09-17  Bruno Haible <haible@ilog.fr>
3759         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
3760         Always include <stdio.h> and <stdlib.h>. Evaluate
3761         the expression in an extra function before these includes. Call
3762         fprintf "%d" only after ensuring the argument is of type 'int'.
3763         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
3765 2001-09-17  Paul Eggert  <eggert@twinsun.com>
3767         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
3768         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
3769         fatal errors, and AC_CHECK_LIB causes it to include libraries even
3770         when they don't exist.
3772         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
3773         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
3774         need it.
3776         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
3777         version with the version used by fileutils 4.1, except use
3778         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
3779         we don't need it.
3781         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
3783 2001-09-13  Akim Demaille  <akim@epita.fr>
3785         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
3786         _first_.
3787         Reported by Gerrit P. Haase.
3789 2001-09-13  Akim Demaille  <akim@epita.fr>
3791         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
3792         m4_defn'ing is valid.
3794 2001-09-13  Akim Demaille  <akim@epita.fr>
3796         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
3797         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
3798         Use it.
3800 2001-09-13  Akim Demaille  <akim@epita.fr>
3802         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
3803         m4_match.
3804         (m4_re_escape): New.
3805         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
3806         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
3807         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
3808         Likewise.
3809         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
3810         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
3811         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
3812         AT_tests_all for consistency.
3813         Set at_victims.
3814         (AT_VICTIMS): Similar to AT_KEYWORDS.
3815         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
3817 2001-09-13  Akim Demaille  <akim@epita.fr>
3819         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
3821 2001-09-13  Akim Demaille  <akim@epita.fr>
3823         * lib/autotest/general.m4 (AT_INIT): Create and remove
3824         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
3825         test suites can cohabit.
3827 2001-09-13  Akim Demaille  <akim@epita.fr>
3829         * tests/mktests.sh: Don't output banners for empty test files.
3831 2001-09-13  Akim Demaille  <akim@epita.fr>
3833         Test suites can be run independently of configure.
3835         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
3836         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
3837         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
3838         ECHO_N etc.
3839         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
3840         and at_c.
3841         * lib/autotest/general.m4: Use ECHO_*.
3843 2001-09-13  Akim Demaille  <akim@epita.fr>
3845         * bin/ifnames.in: Rewrite in Perl.
3846         * configure.ac: Don't look for AWK.
3847         * tests/tools.at (AWK portability): Remove.
3848         (Syntax of the shell scripts): Don't check ifnames.
3849         (AT_CHECK_PERL_SYNTAX): New.
3850         (Syntax of the Perl scripts): Check ifnames.
3851         * tests/ifnames: New.
3853 2001-09-13  Akim Demaille  <akim@epita.fr>
3855         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
3856         test group titles.
3857         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
3858         Remove all the other keywords.
3860 2001-09-10  Akim Demaille  <akim@epita.fr>
3862         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
3863         SETUP: no longer used.
3864         Support -k, --keywords.
3865         <at_help>: Be `no', `short', or `long'.
3866         <at_help_all>: New variable.
3867         (AT_KEYWORDS): New.
3868         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
3869         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
3870         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
3871         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
3872         No longer fill the HELP diversion.
3873         (AT_CLEANUP): Use them.
3874         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
3875         (m4_list_append): Remove.
3877         Spread a few keywords in the Autoconf test suite.
3879 2001-09-10  Akim Demaille  <akim@epita.fr>
3881         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
3882         PATH_SEPARATOR, let M4sh compute it.
3883         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
3884         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
3885         Move to...
3886         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
3887         Simplify when the path is not a literal.
3888         (AS_UNAME): Use it to report PATH.
3889         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
3890         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
3891         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
3892         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
3893         normalize the path, and to look for victims.
3894         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
3895         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
3897 2001-09-07  Akim Demaille  <akim@epita.fr>
3899         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
3900         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
3901         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
3902         related variables into `at_package_*'.
3903         * lib/autotest/general.m4 (AT_VICTIMS): New.
3904         (AT_INIT): Adjust for stand-alone/embedded test suites.
3905         (AS_MESSAGE_LOG_FD): Define and use it.
3906         * tests/suite.at (AT_VICTIMS): Use it.
3907         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
3908         at_version.
3910 2001-09-07  Akim Demaille  <akim@epita.fr>
3912         Move toward possibly stand-alone test suites.
3914         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
3915         in addition, it introduces useless differences in logs.
3916         (AT_INIT): Let atconfig and atlocal be both optional.
3917         Adjust PATH computation.
3918         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
3920 2001-09-07  Akim Demaille  <akim@epita.fr>
3922         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
3923         m4sugar/version.m4.
3925 2001-09-05  Akim Demaille  <akim@epita.fr>
3927         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
3928         to avoid GCC warnings.
3929         From Uwe Seimet.
3931 2001-09-05  Akim Demaille  <akim@epita.fr>
3933         * bin/autom4te.in: --language is -l, not -s.
3935 2001-09-05  Akim Demaille  <akim@epita.fr>
3937         Be ready to handle filenames as stupid as `dnl.at', for if even
3938         the maintainer is dumb enough to do that...
3940         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
3941         excellence in M4 quotation: consider `__file__' is active.
3943         And BTW, when invoking m4, pass the --include in the right order:
3944         the wrong one.
3946         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
3947         4m.
3949 2001-09-05  Akim Demaille  <akim@epita.fr>
3951         * lib/Autom4te/XFile.pm: New lib file.
3952         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
3953         * bin/autoheader.in: Use it.
3955 2001-09-05  Akim Demaille  <akim@epita.fr>
3957         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
3958         defined.
3960 2001-09-05  Akim Demaille  <akim@epita.fr>
3962         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
3963         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
3965         * bin/autoscan.in: Use `getopt' and `find_files' etc.
3966         Add -I, --include support.
3967         * doc/autoconf.texi (autoscan Invocation): Adjust.
3969 2001-09-05  Akim Demaille  <akim@epita.fr>
3971         CVS GNU M4 doesn't like `undefine(undefined)'.
3973         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
3974         New, extracted from main.
3975         Use IO::File wherever possible.
3976         (input.m4): Be constant, use -I instead of hard coding $tmp.
3977         Therefore be a quoted heredoc.
3978         Don't invoke `_au_disable', since ac was not loaded, but just
3979         `unm4.m4'.
3981 2001-08-31  Akim Demaille  <akim@epita.fr>
3983         Version 2.52d.
3985 2001-08-31  Akim Demaille  <akim@epita.fr>
3987         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
3988         previous patch.
3989         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
3991 2001-08-31  Akim Demaille  <akim@epita.fr>
3993         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
3994         serious problems handling heredocs in heredocs.
3995         Reported by Nicolas Joly.
3997 2001-08-31  Akim Demaille  <akim@epita.fr>
3999         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
4000         (Making testsuite Scripts): Update.
4002 2001-08-31  Akim Demaille  <akim@epita.fr>
4004         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
4006 2001-08-31  Akim Demaille  <akim@epita.fr>
4008         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
4009         (testsuite Scripts): There is no such thing as `atconfig.in'.
4010         And actually one diagram is missing: test suite runtime.
4012 2001-08-31  Akim Demaille  <akim@epita.fr>
4014         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
4015         inverse order.
4017 2001-08-31  Akim Demaille  <akim@epita.fr>
4019         * bin/autoupdate.in (@include): `installcheck' revealed the path
4020         to m4sugar was lacking!
4022 2001-08-31  Akim Demaille  <akim@epita.fr>
4024         * man/Makefile.am (.x.1): We really have to pass
4025         autom4te_perllibdir.
4027 2001-08-31  Akim Demaille  <akim@epita.fr>
4029         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
4030         debug scripts, in particular passing explicitly listed tests to
4031         run is stupid.
4033 2001-08-31  Akim Demaille  <akim@epita.fr>
4035         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
4036         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
4037         Use directly autom4te, not autoconf.
4038         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
4040 2001-08-31  Akim Demaille  <akim@epita.fr>
4042         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
4043         * bin/autoheader.in (%symbol): Strip arguments of macros.
4045 2001-08-31  Akim Demaille  <akim@epita.fr>
4047         * doc/autoconf.texi: Catch up -I, --include changes.
4049 2001-08-31  Akim Demaille  <akim@epita.fr>
4051         * bin/autom4te.in (&parse_args): Die on unknown languages.
4052         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
4053         need for autoconf.
4054         Promote --include over --macrodir and other obsolete options.
4056 2001-08-31  Akim Demaille  <akim@epita.fr>
4058         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
4059         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
4060         * bin/autom4te.in ($autoconf): Pass --force.
4061         `print $out' doesn't print `$_' but `$out'.
4062         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
4063         (autoheader): Pass --force since the test suite goes too fast for
4064         the time stamps.
4065         Adjust to the new autoheader messages.
4067 2001-08-31  Akim Demaille  <akim@epita.fr>
4069         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
4070         Check the completeness of the #template.
4071         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
4072         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
4073         invocation.
4075 2001-08-31  Akim Demaille  <akim@epita.fr>
4077         * lib/Autom4te/General.pm (&find_file, &update_file): New.
4078         * bin/autoupdate.in, bin/autoheader.in: Adjust.
4079         Drop AC_MACRODIR dead for real.
4080         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
4081         `autoheader: `config.hin' is created'.
4082         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
4084 2001-08-31  Akim Demaille  <akim@epita.fr>
4086         * bin/autoheader.in: Rewrite in Perl.
4087         * tests/autoheader: Adjust.
4089 2001-08-31  Akim Demaille  <akim@epita.fr>
4091         * bin/autoconf.in (--include, -I): New option.
4092         Map --localdir, --autoconf-dir onto it.
4093         Forward autom4te's options instead of interpreting them.
4094         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
4095         There is no such envvar since the inception of autom4te.cfg.
4096         * bin/autom4te.in (&parse_args): Uniquify `@include'.
4097         * bin/autoupdate.in: Adjust, and perform more control.
4098         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
4099         * tests/autoconf: Dittowise.
4101 2001-08-31  Akim Demaille  <akim@epita.fr>
4103         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
4104         * bin/autom4te.in (&find_file): Support `FILE?' standing for
4105         optionally `FILE'.
4106         Use -e, not -f, since /dev/null for instance is OK.
4107         (&parse_args): Adjust.
4108         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
4110 2001-08-31  Akim Demaille  <akim@epita.fr>
4112         * configure.ac: Also find tested executables in bin.
4113         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
4114         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
4115         installed peer executables, only PATH is allowed to resolve it.
4116         Pass `autoconf_dir' via options, not via invisible envvars.
4117         * lib/Autom4te/General.pm (&find_peer): Remove.
4118         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
4119         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
4120         * man/Makefile.am: Let help2man rely on PATH instead of trying to
4121         find the executables for it.
4122         * tests/Makefile.am: Major cleanup.  Too lazy to document...
4123         * tests/atlocal.in: Remove all the obscure envvar manipulations.
4124         We only need PERL.
4125         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
4126         indeed related to running the test suite, while passing
4127         --autoconf-dir and others is related to running non installed
4128         Autoconf executables.  So don't do that, leave it to...
4129         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
4130         * tests/autoscan: New.
4131         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
4132         refer to library files: rely on --language.
4134 2001-08-29  Akim Demaille  <akim@epita.fr>
4136         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
4137         s/--set/--language/.
4139 2001-08-29  Akim Demaille  <akim@epita.fr>
4141         * doc/autoconf.texi: Strip the @nodes.
4142         Suggested by Paul Eggert.
4143         (Initializing configure): Typo.
4145 2001-08-29  Akim Demaille  <akim@epita.fr>
4147         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
4148         Suggested by Paul Eggert.
4150 2001-08-29  Akim Demaille  <akim@epita.fr>
4152         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
4153         download in a tmp dir.
4155 2001-08-29  Akim Demaille  <akim@epita.fr>
4157         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
4158         case insensitive OSes out there :(
4159         From Tim Van Holder.
4161 2001-08-29  Akim Demaille  <akim@epita.fr>
4163         * lib/autom4te.in: New.
4164         * lib/Makefile.am (edit, autom4te.cfg): New.
4165         * bin/autom4te.in (BEGIN): Simplify.
4166         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
4167         (&load_configuration): New.  Use it.
4168         (&parse_args): Support --mode, --set, and --melt.
4169         * bin/autoconf.in: Simplify and adjust.
4170         * tests/Makefile.am (AUTOMAKE): Use --set.
4171         * tests/atlocal.in: Adjust.
4172         * BUGS: distcheck and check are weak.
4174 2001-08-29  Akim Demaille  <akim@epita.fr>
4176         * lib/autotest/general.m4: Use
4177                 foo=`(command) 2>/dev/null`
4178         not
4179                 foo=`command` 2>/dev/null
4180         (at-devnull): Rename as...
4181         (AT-devnull): this.
4182         (--clean): Remove AT-* files too.
4183         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
4184         Reported by Nicolas Joly.
4186 2001-08-28  Akim Demaille  <akim@epita.fr>
4188         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
4189         quotes inside single quotes.
4190         Reported by Nicolas Joly.
4192 2001-08-28  Kevin Ryde  <user42@zip.com.au>
4194         * doc/autoconf.texi (Function Portability): Mention C right shifts.
4196 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
4198         * lib/autotest/general.m4: Reword some messages.
4199         (AT_INIT): Check for the `times' builtin before using it.
4200         Support test ranges as arguments to the testsuite.
4201         Have -e imply -d as the help text suggested.
4203 2001-08-27  Akim Demaille  <akim@epita.fr>
4205         * Makefile.maint: Formatting changes.
4206         (do-po-update, po-update, cvs-update, update): New targets.
4207         (AMTAR): Remove.
4209 2001-08-27  Akim Demaille  <akim@epita.fr>
4211         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
4212         <at_cmd_line>: New.
4213         Pass it to debug-*.sh scripts.
4214         <AUTOTEST_PATH>: May contain absolute dir names.
4216 2001-08-27  Akim Demaille  <akim@epita.fr>
4218         * lib/autotest/general.m4 (AT_INIT): Log the command line.
4219         Support `VAR=VAL' as arguments.
4220         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
4221         may be set via the command line.
4223 2001-08-27  Akim Demaille  <akim@epita.fr>
4225         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
4226         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
4227         first the build dirs, then the src dirs.
4228         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
4230 2001-08-27  Akim Demaille  <akim@epita.fr>
4232         * lib/autotest/general.m4 (AT_INIT): Output the definition of
4233         at_data_files earlier.
4234         (--clean, -c): New option.
4235         * tests/Makefile.am: Use this option.
4237 2001-08-27  Akim Demaille  <akim@epita.fr>
4239         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
4240         `ac_top_builddir' to mimic Automake's vocabulary, which much more
4241         readable.
4242         Adjust callers.
4243         * doc/autoconf.texi (Configuration Actions): Document the vars
4244         available in commands.
4245         Emphasize the risks of collisions in init-cmds.
4247 2001-08-27  Akim Demaille  <akim@epita.fr>
4249         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
4250         (Initializing configure): this new node.
4252 2001-08-27  Akim Demaille  <akim@epita.fr>
4254         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
4256 2001-08-27  Akim Demaille  <akim@epita.fr>
4258         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
4259         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
4260         New file.
4261         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
4263 2001-08-27  Akim Demaille  <akim@epita.fr>
4265         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
4266         to...
4267         * lib/autoconf/autoheader.m4: this new file.
4268         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
4269         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
4270         Move to...
4271         * lib/autoconf/autoupdate.m4: this new file.
4273 2001-08-27  Akim Demaille  <akim@epita.fr>
4275         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
4276         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
4277         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
4278         -> ac_dir).
4279         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
4280         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
4282 2001-08-27  Akim Demaille  <akim@epita.fr>
4284         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
4285         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
4286         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
4287         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
4288         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
4289         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
4290         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
4291         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
4292         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
4293         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
4294         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
4295         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
4296         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
4297         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
4298         (_AC_OUTPUT_SUBDIRS): Move to...
4299         * lib/autoconf/status.m4: this new file.
4300         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
4301         * tests/Makefile.am, tests/suite.at: Adjust.
4303 2001-08-27  Akim Demaille  <akim@epita.fr>
4305         Automake 1.5.
4307         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
4308         (AMTAR): Help automake define it.
4309         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
4310         needed, 1.5 can have a macro and a target with the same name.
4311         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
4312         * m4/strip.m4: New.
4313         * m4/init.m4, m4/sanity.m4: Update.
4314         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
4315         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
4316         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
4317         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
4319 2001-08-27  Akim Demaille  <akim@epita.fr>
4321         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
4323         * lib/autoconf/version.in: Remove.
4324         * lib/m4sugar/version.in: New.
4325         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
4326         Adjust callers.
4327         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
4328         the name of the directory they're in, instead of the filename,
4329         since version.m4 is now in m4sugar, but m4_acversion must not be
4330         classified as an Autoconf macro.
4331         ($input_m4): Don't qualify the path to m4sugar.
4332         Rather, pass autoconf_dir to m4.
4333         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
4334         * tests/suite.at: Require 2.52c.
4336 2001-08-27  Akim Demaille  <akim@epita.fr>
4338         testsuite.log should include config.log.
4340         * lib/autotest/autotest.m4: New.
4341         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
4342         * tests/suite.at : Adjust.
4343         (AT_INIT): Log config.log.
4344         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
4345         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
4346         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
4347         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
4348         of config.log on traps.
4349         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
4350         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
4351         for config.status'.
4352         Open the log as soon as possible.
4353         Use the same log introduction as configure's.
4355 2001-08-22  Paul Eggert  <eggert@twinsun.com>
4357         * doc/autoconf.texi (Indices): New node.
4358         Move indices out of the top level menu and into this submenu.
4360 2001-08-22  Akim Demaille  <akim@epita.fr>
4362         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
4363         AC_TRY_COMMAND.
4364         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
4366 2001-08-22  Akim Demaille  <akim@epita.fr>
4368         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
4369         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
4370         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
4371         * lib/autoconf/programs.m4: here.
4372         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
4373         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
4374         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
4375         * lib/autoconf/programs.m4: here.
4376         (_AC_DECL_YYTEXT): Rename as...
4377         (_AC_PROG_LEX_YYTEXT_DECL): this.
4378         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
4379         * tests/Makefile.am, tests/suite.am: Adjust.
4381 2001-08-22  Akim Demaille  <akim@epita.fr>
4383         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
4384         Move to...
4385         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
4386         here.
4387         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
4388         * lib/autoconf/functions.m4: here.
4389         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
4390         (AH_CHECK_LIB): Move to...
4391         * lib/autoconf/libs: this new file.
4392         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
4393         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
4394         * lib/autoconf/libs.m4: here.
4395         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
4397 2001-08-22  Akim Demaille  <akim@epita.fr>
4399         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
4400         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
4401         (AC_SITE_LOAD): Better logging of config.site.
4403 2001-08-20  Akim Demaille  <akim@epita.fr>
4405         * configure.ac (AT_CONFIG): Fix the path.
4406         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
4407         can be used.
4409 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
4411         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
4412         program with AC_LANG_PROGRAM before feeding it to
4413         AC_COMPILE_IFELSE.  Cleanup grep usage.
4415 2001-08-20  Akim Demaille  <akim@epita.fr>
4417         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
4418         * NEWS, README, README-alpha, TODO, tests/README: This package is
4419         `Autoconf', not `autoconf' (the executable).
4421 2001-08-20  Akim Demaille  <akim@epita.fr>
4423         Info readers seem to need `Index' in the index node title :(
4425         * doc/autoconf.texi: Reverse the 2001-08-15 change which
4426         simplified index node names.
4428 2001-08-20  Akim Demaille  <akim@epita.fr>
4430         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
4431         arguments are not literals.
4432         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
4433         Specify the output variables, and macros defined.
4435 2001-08-20  Akim Demaille  <akim@epita.fr>
4437         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
4438         (Examining Syntax) <AC_TRY_COMPILE>
4439         (Examining Libraries) <AC_TRY_LINK>
4440         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
4441         their arguments.
4442         Reported by Werner Lemberg.
4444 2001-08-20  Akim Demaille  <akim@epita.fr>
4446         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
4447         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
4448         Load atlocal late enough to dump it in the log.
4449         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
4451 2001-08-20  Akim Demaille  <akim@epita.fr>
4453         * tests/torture.at (Configuring subdirectories): New test.
4454         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
4455         looking for.
4456         * m4/atconfig.m4: Be sure the let $[0] be expandable.
4457         (top_srcdir): Fix its computation.
4459 2001-08-20  Akim Demaille  <akim@epita.fr>
4461         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
4462         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
4463         test suite lives.
4464         Create `atconfig' automagically.
4465         Configure atlocal.in if present.
4466         * tests/atconfig.in: Remove.
4467         * tests/atlocal.in: New.
4468         * tests/Makefile.am: Adjust.
4470 2001-08-20  Akim Demaille  <akim@epita.fr>
4472         Huh!?!?!  There are still some user EOF tags used, which prevents
4473         their use in AC_CONFIG_COMMANDS for instance...
4475         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
4476         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
4477         `_CSEOF', or `_ATEOF', as appropriate.
4478         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
4479         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
4481 2001-08-20  Akim Demaille  <akim@epita.fr>
4483         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
4484         * tests/semantics.at, tests/tools.at, tests/torture.at:
4485         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
4487 2001-08-20  Akim Demaille  <akim@epita.fr>
4489         Autotest invokes M4sh's initialization.
4491         * lib/autotest/general.m4: Adjust the diversion names.
4492         (AT_INIT): Run AS_INIT.
4493         Use the BINSH diversion to invoke /bin/sh.
4494         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
4495         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
4497 2001-08-20  Akim Demaille  <akim@epita.fr>
4499         Let M4sh have its own diversions.
4501         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
4502         (_m4_divert(NOTICE)): Rename as...
4503         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
4504         (_m4_divert(HEADER-COMMENT)): these.
4505         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
4506         (_m4_divert(NOTICE)): New, for Libtool.
4507         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
4508         long ago with `_m4_divert(GROW)'.
4509         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
4511 2001-08-20  Akim Demaille  <akim@epita.fr>
4513         * tests/base.at, tests/compile.at, tests/foreign.at,
4514         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
4515         * tests/semantics.at, tests/suite.at, tests/tools.at,
4516         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
4518 2001-08-20  Akim Demaille  <akim@epita.fr>
4520         * bin/autom4te.in (handle_output): Handle @__@.
4522 2001-08-20  Akim Demaille  <akim@epita.fr>
4524         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
4525         * lib/autotest/general.m4: Adjust the license.
4527 2001-08-17  Paul Eggert  <eggert@twinsun.com>
4529         * doc/autoconf.texi (Function Portability): Mention snprintf,
4530         following up on a suggestion by Kevin Ryde.
4532 2001-08-17  Akim Demaille  <akim@epita.fr>
4534         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
4535         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
4537 2001-08-17  Akim Demaille  <akim@epita.fr>
4539         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
4540         `$0.log' as for projects where testsuite is in src, we'd have
4541         testsuite.log created in src.
4543 2001-08-17  Akim Demaille  <akim@epita.fr>
4545         * bin/autom4te.in (&parse_args): Recognize --normalize.
4547 2001-08-17  Akim Demaille  <akim@epita.fr>
4549         Start implementing the AC_CHECK_HEADER transition scheme.
4551         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
4552         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
4553         (AC_CHECK_HEADER): Use them.
4555 2001-08-17  Akim Demaille  <akim@epita.fr>
4557         * doc/autoconf.texi: Work around Texinfo buglets.
4558         (Transformation Rules): One example is enough, users are expected
4559         to have their brains on. And BTW, use DESTDIR.
4560         (dvar): New macro.  Use it.
4562 2001-08-17  Akim Demaille  <akim@epita.fr>
4564         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
4565         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
4566         looking for ChangeLogs.
4568 2001-08-17  Akim Demaille  <akim@epita.fr>
4570         * bin/autom4te.in: --normalize is a new option.
4571         * bin/autoconf.in: Use it.
4573 2001-08-17  Akim Demaille  <akim@epita.fr>
4575         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
4576         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
4578 2001-08-16  Paul Eggert  <eggert@twinsun.com>
4580         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
4581         start, not at end.
4583 2001-08-15  Akim Demaille  <akim@epita.fr>
4585         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
4586         Use it.
4588 2001-08-15  Akim Demaille  <akim@epita.fr>
4590         * doc/autoconf.texi (pr): New index.
4591         (prindex, findex): Use, merge, and output them.
4592         (Environment Variable Index, Output Variable Index)
4593         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
4594         (Autotest Macro Index): Rename as...
4595         (Environment Variables, Output Variables,Preprocessor Symbols)
4596         (Autoconf Macros, M4 Macros, Autotest Macros): these.
4597         * doc/install.texi: Use @command.
4598         (Environment Variables): Rename as...
4599         (Defining Variables): this.
4601 2001-08-15  Akim Demaille  <akim@epita.fr>
4603         * doc/autoconf.texi (Function Portability): sprintf's return
4604         value.
4605         From Kevin Ryde.
4607 2001-08-15  Akim Demaille  <akim@epita.fr>
4609         * Makefile.maint (CVS): New.
4610         (local-check): Run changelog-check. last.
4611         (alpha): Don't depend upon local-check, since...
4612         (cvs-dist): depends upon it.
4614 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
4616         * tests/Makefile.am: Use a clean-local rule to remove
4617         autom4te.cache (it's a directory, not a file.
4618         * Makefile.am: Ditto (but maintainer-clean-local).
4620 2001-08-15  Akim Demaille  <akim@epita.fr>
4622         * bin/autom4te.in (@m4_warning): New.
4623         (&handle_m4): Use it.
4624         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
4625         warnings are issued at each run.
4626         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
4627         is in the src tree.
4629 2001-08-15  Akim Demaille  <akim@epita.fr>
4631         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
4632         don't waste time running `autoupdate --version' works.
4633         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
4635 2001-08-13  Akim Demaille  <akim@epita.fr>
4637         * doc/autoconf.texi (ma): Rename this index as...
4638         (ac): this.
4640 2001-08-13  Akim Demaille  <akim@epita.fr>
4642         * Makefile.am: Remove dead code and dead comments.
4643         (pdf, html): New targets.
4644         * doc/autoconf.texi (Using Autotest): New chapter.
4645         * doc/Makefile.am (pdf): New targets.
4646         (CLEANFILES): Adjust.
4648 2001-08-13  Akim Demaille  <akim@epita.fr>
4650         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
4651         duration of the test suite.
4653 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
4655         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
4656         endianness for comparison instead of relying on AT_CHECK_ENV.
4658 2001-08-11  Paul Eggert  <eggert@twinsun.com>
4660         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
4661         to the INSTALL file.
4663 2001-08-11  Paul Eggert  <eggert@twinsun.com>
4665         * NEWS: The autoconf manual now is distributed under the terms
4666         of the GNU Free Documentation License.
4668         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
4669         Add an appendix "Copying This Manual" for the FDL.
4671         * doc/fdl.texi: New file, from
4672         <http://www.gnu.org/licenses/fdl.texi>.
4674         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
4676 2001-08-10  Paul Eggert  <eggert@twinsun.com>
4678         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
4679         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
4680         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
4681         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
4682         m4/sanity.m4, tests/README, tests/aclocal.m4,
4683         tests/atspecific.m4, tests/base.at, tests/compile.at,
4684         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
4685         tests/semantics.at, tests/suite.at, tests/tools.at,
4686         tests/torture.at: Add copyright notice.
4688         * tests/mktests.sh: Update year in copyright notice.
4690 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
4692         * tests/semantics.at (AC_C_BIGENDIAN): New test.
4694 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
4696         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
4697         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
4698         * doc/autoconf.texi (C Compiler Characteristics): Update
4699         documentation for AC_C_BIGENDIAN.
4701 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
4703         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
4704         magic values from an object file when cross-compiling.
4705         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
4707 2001-08-10  Akim Demaille  <akim@epita.fr>
4709         * bin/autom4te.in (&handle_output): Don't use `grep' with side
4710         effects.
4711         Suggested by Russ Allbery.
4713 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
4715         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
4716         current $prefix to the sub-configures.
4718 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
4720         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
4721         extension (needed on BeOS).  Reported by Guido van Rossum.
4723 2001-08-09  Akim Demaille  <akim@epita.fr>
4725         * bin/autom4te.in ($icache): Load it only if older than autom4te.
4727 2001-08-07  Akim Demaille  <akim@epita.fr>
4729         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
4730         removed.
4731         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
4732         No need to remove the files before and after the each test, before
4733         each test and at the end of the suite is enough.
4734         Display only the children `times', not the shell's.
4735         If the test failed or was skipped, at-times is not available.
4737 2001-08-07  Akim Demaille  <akim@epita.fr>
4739         Always produce testsuite.log, including when there are no
4740         failures.  This helps getting information on skipped tests, and
4741         duration of the tests.  Err, implement the latter btw.
4743         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
4744         Dump information on the first run of each test.
4745         (AT_CLEANUP): Create `at-times' containing the duration of the
4746         test group.
4748 2001-08-07  Akim Demaille  <akim@epita.fr>
4750         The use of `dumpstat' revealed that `len' was used although it
4751         should not.  m4_text_wrap was using it, but in the Autoconf world
4752         where it is legal.  Hence (i) test M4sh in its own world, not
4753         Autoconf's, and (ii), ahem, fix the bug :)
4755         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
4756         does not like `' instead of [].
4757         (AT_INIT): Forbid `^_?AT_'.
4758         And don't output such tokens.
4759         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
4760         `script.as', and `autom4te.cache'.
4761         Remove `empty' and `macro' which are no longer used.
4762         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
4763         * tests/m4sugar.at: Use it.
4764         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
4766 2001-08-07  Akim Demaille  <akim@epita.fr>
4768         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
4770 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
4772         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
4774 2001-08-04  Akim Demaille  <akim@epita.fr>
4776         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
4777         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
4778         AC_TRY_LINK.
4779         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
4780         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
4781         (AC_F77_MAIN): Likewise.
4783 2001-08-04  Akim Demaille  <akim@epita.fr>
4785         Don't rely on M4sugar outputting the patterns in files, since we
4786         might process the output _without_ running m4, hence without these
4787         files.
4789         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
4790         * bin/autom4te.in (@Request::includes): Remove, unused.
4791         (@Request::source): Rename as...
4792         (@Request::input): this.
4793         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
4794         (&handle_output): Fetch the patterns from the traces.
4795         `$forbidden' and `$allowed' are constant: use m//o.
4796         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
4797         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
4799 2001-08-04  Akim Demaille  <akim@epita.fr>
4801         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
4802         autoconf', i.e., in addition to caching traces, cache the output.
4804         * bin/autom4te.in (Request::cache): Rename as...
4805         (Request::id): this.
4806         ($cache, $icache, $tcache, $ocache): New.
4807         (&handle_m4): Save M4 output in the cache instead of $tmp.
4808         (&handle_output): Adjust.
4809         (&up_to_date_p): Check that the output cache is up to date too.
4810         (top level): Run `&handle_m4' iff force or the cache is invalid.
4811         Run `&handle_output' if the output cache is more recent.
4813 2001-08-04  Akim Demaille  <akim@epita.fr>
4815         * bin/autom4te.in ($force): New.
4816         (&parse_args, &print_usage): -f, --force is a new option.
4817         (&handle_output): CPP directives might have spaces after `#'.
4818         (&parse_args): The first file only can be frozen.
4820 2001-08-04  Akim Demaille  <akim@epita.fr>
4822         Don't let autom4te compute the `include' traces several times:
4823         first check that the trace cache file is up to date, and then
4824         compare its timestamp with that of the output.
4826         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
4827         the preamble.  Don't require 5.005 as Autom4te::General does it,
4828         and better yet (use `use', not `require'!).
4829         * lib/Autom4te/Struct.pm: Rename the last occurrences of
4830         Class::Struct as Autom4te::Struct.
4831         * lib/Autom4te/General.pm (File::stat): Use it.
4832         (&mtime): New, export it.
4833         * bin/autom4te.in: Use it.
4834         Declare `$req' is invalid if it is outdated.
4835         Don't declare it valid before saving it if something went wrong.
4837 2001-08-04  Akim Demaille  <akim@epita.fr>
4839         Autom4te shall not encode Autoconf data, and preselecting traces
4840         must be proposed to the users.
4842         * bin/autom4te.in (@required_trace): Remove.
4843         (@preselect): New.
4844         (&parse_args, &print_usage): -p, --preselect is a new option.
4845         (&up_to_date_p): Adjust.
4846         * bin/autoconf.in: Preselect some Autoconf macros.
4848 2001-08-04  Akim Demaille  <akim@epita.fr>
4850         * tests/tools.at (autoconf --trace: user macros): Check traces on
4851         macros invoked without arguments, and macros invoked with multiple
4852         lines arguments.
4854 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
4856         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
4857         arguments.
4859 2001-08-03  Akim Demaille  <akim@epita.fr>
4861         * bin/autoconf.in ($@): Work around the usual sh bug.
4862         From Nicolas Joly.
4864 2001-08-03  Akim Demaille  <akim@epita.fr>
4866         Clean up the handling of the M4 builtins tracing exception.
4868         * bin/autom4te.in (Request::request): Don't complete M4 builtins
4869         trace requests.
4870         (@m4_builtins): Rename as...
4871         (@m4_builtin): this.
4872         (%m4_builtin_alternate_name): New.
4873         (&parse_args): Complete the trace requests with alternate names.
4874         (&handle_traces): Hence no longer do it here.
4875         (&trace_requests): Remove, unused.
4877 2001-08-03  Akim Demaille  <akim@epita.fr>
4879         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
4880         m4_if, and m4_wrap.
4882 2001-08-03  Akim Demaille  <akim@epita.fr>
4884         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
4885         (m4_divert_pop): Dump the whole diversion stack when a diversion
4886         mismatch happens.
4887         * bin/autom4te.in (&handle_output): Remember of the first
4888         occurrence of a possibly undefined macro, not the last.
4889         Complain about the possibly undefined macros in the same order as
4890         the appear in the output.
4891         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
4892         * tests/tools.at (autoconf: forbidden tokens, basic)
4893         (autoconf: forbidden tokens, exceptions): No longer sort
4894         autoconf's stderr, as it is now deterministic.
4895         Check that `dnl' is caught.
4897 2001-08-01  Akim Demaille  <akim@epita.fr>
4899         * configure.ac: Bump to 2.52c.
4901 2001-08-01  Akim Demaille  <akim@epita.fr>
4903         Version 2.52b.
4905         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
4907 2001-08-01  Akim Demaille  <akim@epita.fr>
4909         Version 2.52a.
4911 2001-08-01  Akim Demaille  <akim@epita.fr>
4913         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
4914         `die'.
4915         (&END): New.
4916         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
4917         `END', as `Autom4te::General::END' will be triggered.
4918         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
4919         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
4920         system to run `mv', `rm', and `cmp'.
4922 2001-08-01  Akim Demaille  <akim@epita.fr>
4924         * lib/Autom4te/General.pm (&unique): New.
4925         * bin/autoscan.in (&output): Use it to issue trace requests once.
4927 2001-08-01  Akim Demaille  <akim@epita.fr>
4929         * lib/Autom4te/General.pm: New.
4930         * bin/autom4te.in (Autom4te::General): Use it.
4931         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
4932         (&find_configure_ac, &find_slave): Remove.
4933         * bin/autoscan.in: Likewise.
4934         * bin/autoupdate.in: Likewise.
4936 2001-08-01  Akim Demaille  <akim@epita.fr>
4938         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
4939         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
4940         * bin: here, new directory.
4941         * lib/Autoconf: Rename as...
4942         * lib/Autom4te: this, to please case insensitive junkie OSes.
4944 2001-08-01  Akim Demaille  <akim@epita.fr>
4946         * autom4te.in ($m4): Handle the --nesting-limit.
4947         * autoconf.in (M4): Remove.
4949 2001-08-01  Akim Demaille  <akim@epita.fr>
4951         * autoconf.in ($AWK): Remove, no longer used.
4952         * test/tools.at: Use AT_CHECK_AUTOCONF.
4953         (AWK portability): Remove, for autoconf no longer uses AWK.
4954         (Syntax of the Perl scripts): New.
4955         * configure.ac: autoconf no longer needs an AWK with a good
4956         regexp engine.
4957         Use a static test on AC_PACKAGE_VERSION.
4958         * autom4te.in (&up_to_date_p): Output depends on the arguments.
4959         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
4960         * tests/atconfig.in (PERL): New.
4962 2001-08-01  Akim Demaille  <akim@epita.fr>
4964         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
4965         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
4966         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
4967         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
4968         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
4969         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
4970         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
4971         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
4972         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
4973         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
4974         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
4975         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
4976         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
4977         * lib/autoconf/c.m4: here, new file.
4979         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
4980         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
4981         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
4982         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
4983         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
4984         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
4985         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
4986         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
4987         (AC_F77_FUNC): Move to...
4988         * lib/autoconf/fortran.m4: here, new file.
4990 2001-08-01  Akim Demaille  <akim@epita.fr>
4992         * acfunctions.m4: Rename as...
4993         * lib/autoconf/functions.m4: this.
4994         * acgeneral.m4: Rename as...
4995         * lib/autoconf/general.m4: this.
4996         * acheaders.m4: Rename as...
4997         * lib/autoconf/headers.m4: this.
4998         * aclang.m4: Rename as...
4999         * lib/autoconf/lang.m4: this.
5000         * acoldnames.m4: Rename as...
5001         * lib/autoconf/oldnames.m4: this.
5002         * acspecific.m4: Rename as...
5003         * lib/autoconf/specific.m4: this.
5004         * actypes.m4: Rename as...
5005         * lib/autoconf/types.m4: this.
5006         * autoconf.m4: Rename as...
5007         * lib/autoconf/autoconf.m4: this.
5009         * m4sugar.m4: Rename as...
5010         * lib/m4sugar/m4sugar.m4: this.
5011         * m4sh.m4: Rename as...
5012         * lib/m4sugar/m4sh.m4: this.
5014         * tests/atgeneral.m4: Rename as...
5015         * lib/autotest/general.m4: this.
5017         * acfunctions: Rename as...
5018         * lib/autoscan/functions: this.
5019         * acheaders: Rename as...
5020         * lib/autoscan/headers: this.
5021         * acidentifiers: Rename as...
5022         * lib/autoscan/identifiers: this.
5023         * aclibraries: Rename as...
5024         * lib/autoscan/libraries: this.
5025         * acmakevars: Rename as...
5026         * lib/autoscan/makevars: this.
5027         * acprograms: Rename as...
5028         * lib/autoscan/programs: this.
5030 2001-08-01  Akim Demaille  <akim@epita.fr>
5032         * doc/autoconf.texi: Moving/deleting open files is not portable.
5033         Portability issues for `.' (source), and more information about sed.
5035 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
5037         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
5038         which has a special meaning and is not a reference to libibmil.a.
5039         Reported by Matteo Frigo.
5041 2001-07-25  Pavel Roskin  <proski@gnu.org>
5043         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
5044         output.
5046 2001-07-25  Akim Demaille  <akim@epita.fr>
5048         * autoconf.in: Try to define the variables before using them.
5049         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
5050         instead of `$perllibdir'.
5051         * tests/atconfig.in ($autom4te_perllibdir): Export it.
5053 2001-07-25  Akim Demaille  <akim@epita.fr>
5055         * autoconf.in (ac_LF_and_DOT): Remove, unused.
5057 2001-07-24  Akim Demaille  <akim@epita.fr>
5059         Let autoconf use autom4te for traces.
5061         * autoconf.in ($task, task trace): Remove, merely pass --trace to
5062         autom4te.
5063         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
5064         (Because I found no way for autom4te to accept `-').
5065         * autom4te.in (&Request::request): Beware of M4 builtins.
5066         (END): Don't try to remove the content of an empty dir.
5067         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
5068         (&handle_output): Set a default value to `$forbidden'.
5069         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
5070         ($autoconf): Pass --debug and --verbose.
5071         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
5072         cache.
5074 2001-07-24  Akim Demaille  <akim@epita.fr>
5076         Let autoconf use autom4te to create configure.
5078         * autoconf.in ($automate): New var.
5079         (task script): Use autom4te.
5080         * autom4te.in (File::Spec): Use it.
5081         (&find_file): New.
5082         (&parse_args): --warning is -W, not -w.
5083         Find the top level files.
5084         (&handle_m4): Pass the warnings flags.
5085         Don't report verbosely m4's failures, unless requested.
5086         (&handle_output): Don't complain for forbidden tokens in comments.
5087         Be sure to report all the forbidden tokens within a single line.
5088         (&trace_format_to_m4): Preserve `$_'.
5089         (&handle_traces): Sort the output macros.
5090         (&up_to_date_p): Find the files before trying to get its time stamp.
5092 2001-07-24  Akim Demaille  <akim@epita.fr>
5094         * Makefile.am: Ship, build and install Autom4te.
5095         (SUBDIRS): Add lib.
5096         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
5097         * configure.in: Require Perl.
5098         * man/autom4te.in: New.
5100 2001-07-19  Paul Eggert  <eggert@twinsun.com>
5102         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
5103         example, rather than (exit 1); exit (which isn't portable).
5105 2001-07-18  Akim Demaille  <akim@epita.fr>
5107         Version 2.52.
5109 2001-07-18  Akim Demaille  <akim@epita.fr>
5111         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
5112         was run, while they are needed also when it is expanded.
5113         Reported by Nicolas Joly.
5115         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
5116         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
5117         AC_F77_DUMMY_MAIN being expanded.
5119 2001-07-18  Akim Demaille  <akim@epita.fr>
5121         * configure.in: Bump to 2.51a.
5123 2001-07-17  Akim Demaille  <akim@epita.fr>
5125         Version 2.51.
5127 2001-07-17  Akim Demaille  <akim@epita.fr>
5129         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
5130         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
5132 2001-07-17  Akim Demaille  <akim@epita.fr>
5134         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
5135         used.  Well, then use the prototypes when you can, and runtime as
5136         a last resort.
5137         Reported by Artur Frysiak
5139         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
5140         (AC_FUNC_GETPGRP): Use it.
5141         First try to compile with 0-ary or 1-ary calls.
5143 2001-07-17  Akim Demaille  <akim@epita.fr>
5145         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
5146         replacement type.
5147         From Paul Eggert.
5149 2001-07-17  Akim Demaille  <akim@epita.fr>
5151         * Makefile.maint: Sync. with cppi 1.10.
5153 2001-07-17  Akim Demaille  <akim@epita.fr>
5155         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
5156         AC_F77_DUMMY_MAIN has been run.
5157         From Pavel Roskin and Steven G. Johnson.
5159 2001-07-17  Akim Demaille  <akim@epita.fr>
5161         * configure.in: Rename as...
5162         * configure.ac: this.
5164 2001-07-17  Akim Demaille  <akim@epita.fr>
5166         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
5167         rules.
5168         From Marc Espie.
5169         * Makefile.maint (release-archive-dir): Rename as...
5170         (release_archive_dir): this, so that it can be specialized in
5171         Makefile.
5173 2001-07-14  Akim Demaille  <akim@epita.fr>
5175         * configure.in: Bump to 2.50d.
5177 2001-07-14  Akim Demaille  <akim@epita.fr>
5179         Version 2.50c.
5180         * Makefile.maint (alpha): Typo.
5182 2001-07-14  Akim Demaille  <akim@epita.fr>
5184         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
5186 2001-07-14  Akim Demaille  <akim@epita.fr>
5188         * config/config.guess, config/config.sub, config/texinfo.tex
5189         * doc/standards.texi, doc/make-stds.texi: Update.
5191 2001-07-14  Akim Demaille  <akim@epita.fr>
5193         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
5195 2001-07-14  Akim Demaille  <akim@epita.fr>
5197         * Makefile.maint (maintainer-check): Rename as...
5198         (maintainer-distcheck): this.
5199         (changelog-check, static-check): New.
5200         Use them.
5202 2001-07-14  Kevin Ryde  <user42@zip.com.au>
5204         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
5205         for CXX is g++, not gcc.
5207 2001-07-14  Akim Demaille  <akim@epita.fr>
5209         * doc/autoconf.texi (Files): New subsection.
5211 2001-07-14  Akim Demaille  <akim@epita.fr>
5213         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
5214         of...
5215         (Generic Compiler Characteristics): this.
5216         (C++ Compiler): New subsection.
5218 2001-07-14  Akim Demaille  <akim@epita.fr>
5220         * autoscan.in: Use IO::File.
5221         Adjust all the routines to use it.
5222         ($log): New file (autoscan.log).
5223         (output): Dump detailed logs into $log, and a shortened version to
5224         stderr.
5225         (&scan_makefile): Refine the regexp catching tokens in the code.
5226         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
5227         and the `configure.ac' checking feature.
5229 2001-07-12  Akim Demaille  <akim@epita.fr>
5231         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
5232         Reported by Michael Elizabeth Chastain.
5234         * autoconf.in: Refuse such AWK.
5235         * configure.in: Likewise.
5236         * Makefile.am (acversion.m4): Do not use move-if-change this file
5237         has dependencies.
5238         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
5240 2001-07-10  Jens Petersen  <petersen@redhat.com>
5242         * autoscan.in (&scan_makefile): Improve programs regexp to parse
5243         things like "g++", "file.c" and "some-conf" as tokens.
5244         (&scan_file): Match C++ files extensions.
5245         If the filename extension is C++ then ask for c++.
5247 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
5249         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
5250         AC_TRY_LINK_FUNC, to check whether defining a dummy
5251         main-like routine is needed for linking with F77 libs.
5253 2001-07-05  Pavel Roskin  <proski@gnu.org>
5255         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
5256         after using break.
5257         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
5258         linking.
5260 2001-07-05  Akim Demaille  <akim@epita.fr>
5262         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
5263         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
5264         Makes' lives.
5265         Reported by Nicolas Joly.
5267 2001-07-04  Akim Demaille  <akim@epita.fr>
5269         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
5270         up.
5271         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
5272         warnings from compilers.
5273         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
5274         for all the compilers, not only GNU.  Hence move from here...
5275         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
5277 2001-07-04  Akim Demaille  <akim@epita.fr>
5279         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
5280         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
5281         AC_COMPILE_IFELSE.
5283 2001-07-04  Akim Demaille  <akim@epita.fr>
5285         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
5286         the ``strings.h'' change claimed below.
5288 2001-07-04  Akim Demaille  <akim@epita.fr>
5290         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
5292 2001-07-04  Akim Demaille  <akim@epita.fr>
5294         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
5295         strings.h if usable with string.h.
5296         Suggested by Paul Eggert.
5298 2001-07-04  Akim Demaille  <akim@epita.fr>
5300         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
5301         From Jens Petersen.
5303 2001-07-03  Akim Demaille  <akim@epita.fr>
5305         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
5306         etc. in the log.
5308 2001-07-03  Akim Demaille  <akim@epita.fr>
5310         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
5311         compiler, not the preprocessor.
5312         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
5313         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
5314         the right thing.
5315         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
5316         earlier if there are.
5318 2001-07-03  Akim Demaille  <akim@epita.fr>
5320         * autoscan.in ($initfile): Remove.
5321         (&find_file): Rename as...
5322         (&scan_file): this.
5323         Immediately scan the current file, instead of gathering them, and
5324         later having them handled by &scan_files.
5325         (&scan_files): Merely invoke Find::File.
5326         Adjust.
5328 2001-07-02  Akim Demaille  <akim@epita.fr>
5330         * autoscan.in: Formatting changes, matching the invocation order.
5331         (File::Find): Use it instead of Perl 4's `find.pl'.
5332         (&wanted): Rename as...
5333         (&find_file): this.
5335 2001-07-01  Pavel Roskin  <proski@gnu.org>
5337         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
5338         break in the argument to AC_TRY_LINK_FUNC.
5339         (AC_F77_MAIN): Remove conftest* after using break in the
5340         argument to AC_TRY_LINK.
5342 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
5344         Add alternate 'main' routine detection for linking C/C++ with Fortran,
5345         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
5347         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
5348         dummy alternate main is required even if the user provides her own
5349         'main'.
5350         (AC_F77_MAIN): New macro to detect whether it is possible to
5351         provide an alternate 'main' function name, using the 'main' from
5352         the Fortran libraries.
5353         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
5354         cross-language link tests can be performed successfully.
5355         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
5356         after $LIBS, for consistency; this should be the general rule since
5357         the user may want to link to Fortran libraries that require $FLIBS.
5358         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
5360 2001-06-29  Pavel Roskin  <proski@gnu.org>
5362         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
5363         at-stdout and at-stderr instead of removing the newline
5364         from the echo output, which is not guaranteed to work.
5366 2001-06-28  Jens Petersen  <petersen@redhat.com>
5368         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
5369         confdefs.h when non-zero.
5371 2001-06-28  Akim Demaille  <akim@epita.fr>
5373         * configure.in: Bump to 2.50c.
5375 2001-06-26  Akim Demaille  <akim@epita.fr>
5377         Version 2.50b.
5379 2001-06-26  Akim Demaille  <akim@epita.fr>
5381         Version 2.50a.
5383 2001-06-25  Pavel Roskin  <proski@gnu.org>
5385         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
5386         argument, AUTOCONF-FLAGS.
5387         * tests/mktests.sh (update_exclude_list): Add
5388         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
5389         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
5390         AC_FUNC_WAIT3 with "-W no-obsolete".
5392 2001-06-25  Akim Demaille  <akim@epita.fr>
5394         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
5396 2001-06-25  Akim Demaille  <akim@epita.fr>
5398         * autoscan.in (%macro): Now maps from word to list of macros.
5399         (&init_tables): Die when a word which is already handled by
5400         explicit macros is mapped to the default macro.
5401         (&print_unique): Remove, inlined in...
5402         (&output_kind): here.
5403         (File::Basename): Use it.
5404         (&output): Sort the CONFIG_FILES.
5405         * acheaders: Normalize.
5406         * acfunctions: Likewise.
5408 2001-06-25  Akim Demaille  <akim@epita.fr>
5410         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
5411         characteristics in the logs.
5412         Suggested by Mo DeJong.
5414 2001-06-24  Akim Demaille  <akim@epita.fr>
5416         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
5417         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
5418         * doc/autoconf.texi (Autoconf 2.13): New section.
5420 2001-06-24  Akim Demaille  <akim@epita.fr>
5422         * autoconf.in (Task traces): Separate the error messages from the
5423         traces to improve robustness.
5425 2001-06-23  Akim Demaille  <akim@epita.fr>
5427         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
5428         three as failures are unlikely, and speed matters.
5430 2001-06-23  Akim Demaille  <akim@epita.fr>
5432         * doc/autoconf.texi (Redefined M4 Macros): New.
5434 2001-06-23  Akim Demaille  <akim@epita.fr>
5436         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
5437         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
5438         5.3.
5440 2001-06-23  Paolo Bonzini <bonzini@gnu.org>
5442         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
5443         config.status targets to after the evaluation of the INIT-CMDS.
5444         Double quote config.status targets (used to be single quoted).
5446 2001-06-23  Akim Demaille  <akim@epita.fr>
5448         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
5449         Check the content of the created file.
5450         Check the ./config.status command line invocation.
5452 2001-06-23  Akim Demaille  <akim@epita.fr>
5454         * tests/foreign.at (Libtool): Reject prehistoric versions.
5456 2001-06-23  Akim Demaille  <akim@epita.fr>
5458         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
5459         preexisting files matching a.*.
5461 2001-06-23  Akim Demaille  <akim@epita.fr>
5463         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
5464         stderr.
5465         * doc/autoconf.texi (AC_ARG_VAR): Update.
5467 2001-06-21  Akim Demaille  <akim@epita.fr>
5469         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
5470         precious variables have changed.
5471         * tests/torture.at (AC_ARG_VAR): Adjust.
5473 2001-06-21  Akim Demaille  <akim@epita.fr>
5475         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
5476         but some sed choke on multiple `;', and other tools (e.g.,
5477         Automake), include the separator themselves.
5479         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
5481 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
5483         * doc/autoconf.texi (Functions Portability): Rename as...
5484         (Function Portability): this.
5485         (Function Portability): Document potential problems with unlink().
5487 2001-06-19  Paul Eggert  <eggert@twinsun.com>
5489         * NEWS, doc/autoconf.texi: Document quadrigraphs.
5491 2001-06-18  Akim Demaille  <akim@epita.fr>
5493         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
5495 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
5497         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
5498         (_AC_FUNC_VFORK): this.
5499         Remove AC_DEFINEs and don't guess cross-compilation values.
5500         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
5501         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
5502         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
5503         vfork doesn't work.
5504         Guess values if cross-compiling, but warn.
5505         * acfunctions: Add AC_FUNC_FORK.
5506         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
5507         and vfork appropriately.
5509 2001-06-18  Akim Demaille  <akim@epita.fr>
5511         * doc/autoconf.texi (Functions Portability): New section.
5513 2001-06-18  Akim Demaille  <akim@epita.fr>
5515         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
5516         in $M4.
5517         Suggested by Andreas Schwab.
5519 2001-06-18  Akim Demaille  <akim@epita.fr>
5521         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
5522         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
5523         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
5524         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
5525         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
5526         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
5527         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
5528         the converse).
5530 2001-06-18  Akim Demaille  <akim@epita.fr>
5532         * doc/autoconf.texi (ms): New index.
5533         (Macro Index): Rename as...
5534         (Autoconf Macro Index): this.
5535         (M4 Macro Index): New appendix.
5536         (Programming in M4): New chapter.
5537         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
5538         (Quoting): Rename as...
5539         (M$ Quotation): this.
5540         Be part of `Programming in M4).
5542 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
5544         * tests/torture.at (AC_ARG_VAR): Set variables and export them
5545         in separate statements for compatibility with Tru64 v5.1.
5547 2001-06-17  Akim Demaille  <akim@epita.fr>
5549         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
5550         current values of the precious variables, not the previously
5551         cached values.
5552         Pass precious variables which are set to config.status.
5553         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
5554         * tests/torture.at (AC_ARG_VAR): New.
5556 2001-06-15  Paul Eggert  <eggert@twinsun.com>
5558         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
5559         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
5560         and explain why and how to replace them.
5561         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
5562         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
5564 2001-06-15  Akim Demaille  <akim@epita.fr>
5566         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
5567         Reported by Bruno Haible.
5569         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
5570          (_AC_ARG_VAR_PRECIOUS): to here.
5572 2001-06-15  Pavel Roskin  <proski@gnu.org>
5574         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
5575         an unused pointer use cast to this type and `if' statement to
5576         avoid warnings from the compiler.
5577         (AC_HEADER_TIME): Likewise.
5578         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
5579         in `if' statement to avoid warnings from the compiler. Declare
5580         ac_aggr static to avoid the need to initialize it.
5582 2001-06-14  Akim Demaille  <akim@epita.fr>
5584         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
5585         Macros'.
5587 2001-06-13  Akim Demaille  <akim@epita.fr>
5589         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
5590         Suggested by Alexander Mai.
5592 2001-06-13  Akim Demaille  <akim@epita.fr>
5594         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
5595         sys/types.h and sys/stat.h, and check for them.
5597 2001-06-13  Akim Demaille  <akim@epita.fr>
5599         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
5600         INCLUDES.
5602 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5604         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
5605         succeeds and only try adding libdnet upon a failure.
5607 2001-06-12  Akim Demaille  <akim@epita.fr>
5609         * autoscan.in (&output_kind): Output the comment only if it exists.
5610         (%kind_comment): Add entry for `programs'.
5611         (&output_programs): Use &output_kind.
5612         (&output_functions, &output_identifiers, &output_headers)
5613         (&output_programs): Inline, and remove.
5615 2001-06-12  Akim Demaille  <akim@epita.fr>
5617         * autoscan.in (%kind_comment): New.
5618         (output_kind): New.
5619         (output_functions, output_identifiers, output_headers): Use it.
5621 2001-06-12  Akim Demaille  <akim@epita.fr>
5623         * autoscan.in (&print_unique): Take `$kind' and `$word' as
5624         arguments, to factor indirections into `%macro' and `%used'.
5625         (%generic_macro): Fix a typo.
5627 2001-06-12  Akim Demaille  <akim@epita.fr>
5629         * aclibraries: New.
5630         * autoscan.in (@kinds): Add `libraries'.
5631         Use `@kinds' instead of hard coded lists.
5632         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
5633         Remove, replaced by...
5634         (%used): this.
5636 2001-06-12  Akim Demaille  <akim@epita.fr>
5638         * autoscan.in (%functions_macros %headers_macros)
5639         (%identifiers_macros %programs_macros %makevars_macros): Remove,
5640         replaced by...
5641         (%macro): New.
5643 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
5645         * aclang.m4 (AC_NO_EXECUTABLES): Override
5646         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
5648 2001-06-11  Akim Demaille  <akim@epita.fr>
5650         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
5651         trailing new line.
5652         Reported by Andreas Schwab.
5654 2001-06-11  Akim Demaille  <akim@epita.fr>
5656         * Makefile.am, Makefile.maint: Typos.
5658 2001-06-09  Akim Demaille  <akim@epita.fr>
5660         * doc/autoconf.texi (Here-Documents): New section, gathering
5661         documentation about here-documents.
5662         Use `href', not `uref', and other changes.
5664 2001-06-09  Akim Demaille  <akim@epita.fr>
5666         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
5667         chapter.
5669 2001-06-09  Akim Demaille  <akim@epita.fr>
5671         * doc/autoconf.texi (Limitations of Builtins): Complete the
5672         description of the here-docs penalties with Alexandre Oliva's
5673         explanations.
5675 2001-06-01  Paul Eggert  <eggert@twinsun.com>
5677         * doc/autoconf.texi: Talk about here documents and speedups.
5678         Do not use "echo" on arbitrary strings.
5679         Spell "here-documents" consistently with the standard.
5681 2001-06-09  Akim Demaille  <akim@epita.fr>
5683         * doc/autoconf.texi (Concept Index): Introduce it.
5684         Regenerate the menus.
5686 2001-06-09  Akim Demaille  <akim@epita.fr>
5688         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
5689         * config/prev-version.txt: New.
5690         * config/move-if-change: New, for GNU libc.
5692 2001-06-06  Pavel Roskin  <proski@gnu.org>
5694         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
5696 2001-06-06  Akim Demaille  <akim@epita.fr>
5698         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
5699         properly when $1 is not a literal.
5700         Fixes PR Autoconf/187, reported by Bram Moolenaar.
5702 2001-06-06  Akim Demaille  <akim@epita.fr>
5704         Invoking AC_COPYRIGHT before AC_INIT fails.
5706         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
5707         * acgeneral.m4 (_m4_divert(VERSION_FSF))
5708         (_m4_divert(VERSION_USER)): New.
5709         (AC_COPYRIGHT): $2 is the diversion to use.
5710         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
5711         (AC_INIT): Remove dead comments as now it's commutative.
5713 2001-06-06  Akim Demaille  <akim@epita.fr>
5715         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
5716         PR autoconf/187.
5718 2001-06-05  Akim Demaille  <akim@epita.fr>
5720         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
5721         can be empty.
5722         `*dir' variables cannot be NONE.
5723         Reported by Mark Kettenis.
5725 2001-06-05  Paul Eggert  <eggert@twinsun.com>
5727         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
5729 2001-06-04  Akim Demaille  <akim@epita.fr>
5731         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
5732         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
5733         (AC_TR_SH): Move as...
5734         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
5735         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
5736         (AS_TR_SH): these.
5737         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
5738         (_AS_TR_SH_PREPARE): New.
5739         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
5740         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
5742 2001-06-02  Akim Demaille  <akim@epita.fr>
5744         * Makefile.am (.m4.m4f): Pass the options first.
5745         Fixes PR autoconf/182.
5747 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
5749         GNU getopt, when POSIXLY_CORRECT does not permute options and
5750         arguments.  So pass the options first.
5751         Fixes PR autoconf/184.
5753         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
5754         (run_m4): Remove files.
5755         (run_m4f): Remove.
5756         Update remainder of script to use them.
5757         (for warning in): Do not use a literal comma as it will not be
5758         split by IFS.
5760 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
5762         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
5763         Fortran compilers to check.
5764         (_AC_PROG_F77_V): Add '-###' as a possible option to print
5765         information on library and object files.
5766         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
5767         to check.
5769 2001-06-02  Akim Demaille  <akim@epita.fr>
5771         * autom4te.in (Request::@request): Declare with `vars', not `my',
5772         as it prevents updates via `do FILENAME'.
5774 2001-06-02  Akim Demaille  <akim@epita.fr>
5776         * configure.in (standards_texi): Remove, dead code.
5778 2001-06-02  Akim Demaille  <akim@epita.fr>
5780         * autom4te.in: New.
5782 2001-06-02  Pavel Roskin  <proski@gnu.org>
5784         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
5785         for signals other than 0 - exit with code 1.
5786         * m4sh.m4 (AS_TMPDIR): Likewise.
5787         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
5788         * autoheader.in: Likewise.
5789         * autoreconf.in: Likewise.
5790         * tests/torture.at (Signal handling): New test for the above.
5792 2001-06-01  Akim Demaille  <akim@epita.fr>
5794         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
5795         message.
5797 2001-05-31  Akim Demaille  <akim@epita.fr>
5799         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
5800         Add copyright and comments.
5801         * acheaders: Add stdint.h.
5802         Suggested by Paul Eggert.
5804 2001-05-31  Akim Demaille  <akim@epita.fr>
5806         * atgeneral.m4 (AT_INIT): Use $SHELL.
5807         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
5809 2001-05-31  Akim Demaille  <akim@epita.fr>
5811         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
5812         stdint.h.
5813         From Paul Eggert and Lars Hecking.
5815 2001-05-31  Akim Demaille  <akim@epita.fr>
5817         * tests/base.at: Adjust line numbers in error messages.
5819 2001-05-31  Akim Demaille  <akim@epita.fr>
5821         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
5822         to emit the bangshe line.
5823         Reported by David Carter.
5825 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
5827         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
5828         Fortran (95) compilers to check.
5830 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
5832         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
5833         Macro Archive URL.
5835 2001-05-23  Pavel Roskin  <proski@gnu.org>
5837         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
5838         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
5839         (AC_PROG_CXXCPP): Likewise.
5841 2001-05-22  Akim Demaille  <akim@epita.fr>
5843         * config: New directory.
5844         * configure.in: AC_CONFIG_AUX_DIR it.
5845         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
5847 2001-05-22  Akim Demaille  <akim@epita.fr>
5849         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
5850         * autoupdate.in: Specify the Emacs mode.
5851         * acversion.m4.in: Rename as...
5852         * acversion.m4: this.
5853         * tests/Makefile.am (CLEANFILES): More garbage.
5855 2001-05-22  Akim Demaille  <akim@epita.fr>
5857         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
5858         Rename as...
5859         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
5860         these.
5862 2001-05-21  Akim Demaille  <akim@epita.fr>
5864         * configure.in: Bump to 2.50a.
5866 -----
5868 Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
5870 This file is part of GNU Autoconf.
5872 GNU Autoconf is free software; you can redistribute it and/or modify
5873 it under the terms of the GNU General Public License as published by
5874 the Free Software Foundation; either version 2, or (at your option)
5875 any later version.
5877 GNU Autoconf is distributed in the hope that it will be useful,
5878 but WITHOUT ANY WARRANTY; without even the implied warranty of
5879 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5880 GNU General Public License for more details.
5882 You should have received a copy of the GNU General Public License
5883 along with autoconf; see the file COPYING.  If not, write to
5884 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
5885 Boston, MA 02111-1307, USA.