* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
[autoconf.git] / ChangeLog
blobeadc9a87a52b5e5c73b24cc21d8eeb57780b98c2
1 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
3         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
4         that future autopoint/aclocal/automake/autoreconf will be able
5         to trace to find where to install local m4 macros.
6         * doc/autoconf.texi (Input): Document it.
7         * NEWS: Updated.
9 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
11         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
12         -lcrtbegin.o to list of ignored flags and fix underquoting of
13         -lcrt[01].o.
15 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
17         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
18         cache variable instead of $G77 to decide whether to include -O2,
19         since $G77 is specific to Fortran 77.
21 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
23         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
24         free" flag.  Re-order flags tested into rough order of popularity.
26 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
28         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
29         arguments so that it can be used with syntax identical to
30         AC_PROG_F77, and so that we can more easily decide to
31         remove/deprecate the DIALECT optional argument in the future if it
32         proves troublesome.
33         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
34         non-freeform-supporting compilers.  Document freeform flags.
36 2003-10-03  Akim Demaille  <akim@epita.fr>
38         * configure.ac: Look for emacs, not macs.
39         Reported by Eric Sunshine.
41 2003-10-03  Akim Demaille  <akim@epita.fr>
43         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
44         * bin/autoreconf.in (autoreconf_current_directory): Create the
45         AUX_DIR if needed, for sake of automake --add-missing etc.
46         Suggested by Alexandre Duret-Lutz.
48 2003-10-03  Akim Demaille  <akim@epita.fr>
50         * configure.ac: Quotation and formatting changes.
51         (EMACS): Don't set it if it is not recent enough to support
52         autoconf-mode.el.
53         From Eric Sunshine.
55 2003-10-02  Akim Demaille  <akim@epita.fr>
57         * bin/ifnames.in (&scan_file): Skip C++ comments.
58         From Jeremy Yallop.
60 2003-10-01  Pavel Roskin  <proski@gnu.org>
62         * doc/autoconf.texi (Particular Structure Checks):
63         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
65 2003-10-01  Akim Demaille  <akim@epita.fr>
67         Version 2.57f.
69 2003-09-30  Paul Eggert  <eggert@twinsun.com>
71         * lib/Autom4te/XFile.pm: Use Errno.
72         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
73         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
75 2003-09-30  Akim Demaille  <akim@epita.fr>
77         * config/announce-gen (&print_news_deltas): Extracted from...
78         (&print_changelog_deltas): here.
79         (&news_file): Rename as...
80         (@news_file): this.
82 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
84         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
85         have been created when invoking the compiler.
86         * tests/fortran.at (GNU Fortran 77): Quote $G77.
88 2003-09-29  Akim Demaille  <akim@epita.fr>
90         Version 2.57e.
92         * config/mkinstalldirs: Upgrade.
94 2003-09-28  Paul Eggert  <eggert@twinsun.com>
96         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
97         Problem reported by Lars J. Aas in
98         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
99         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
100         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
101         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
103 2003-09-26  Akim Demaille  <akim@epita.fr>
105         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
106         directory for AC_CONFIG_COMMANDS' first argument exists.
107         This makes valid the invocation of _AC_SRCPATH that follows.
108         Reported by Eric Sunshine.
109         * doc/autoconf.texi (Configuration Commands): Adjust.
111 2003-09-26  Akim Demaille  <akim@epita.fr>
113         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
114         Reported by Ralf Corsepius.
116 2003-09-26  Akim Demaille  <akim@epita.fr>
118         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
119         arguments.
120         Actually, use AU_ALIAS.
121         From Bruno Haible.
123 2003-09-26  Paul Eggert  <eggert@twinsun.com>
125         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
126         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
127         Problem reported by Eric Sunshine in:
128         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
130 2003-09-26  Akim Demaille  <akim@epita.fr>
132         The test suite are sometimes assigning timings incorrectly.
133         Reported by Henk Krus.
134         Diagnosed by Nicolas Joly.
136         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
137         AT_help_all.
138         Instead of making AT_help a sequence of assignments to grow
139         $at_help_all, just make AT_help_all be the growing contents of
140         $at_help_all, and make a single assignment in...
141         (AT_INIT): here.
142         (at_times_skip): Flip the meaning and rename as...
143         (at_times_p): this.
144         (AT_INIT): When summarizing the test that ran, remove
145         $at_times_file after use, and check it is present before trying to
146         use it.
148 2003-09-25  Akim Demaille  <akim@epita.fr>
150         Version 2.57d.
152         * bin/Makefile.am (edit): Handle '@configure_input@'.
153         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
154         (ifnames): chmod -w.
155         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
156         executables, not bin/ executables!  Otherwise all the magic needed
157         to find non installed files is turned off.  This caused a failure
158         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
159         as found in its environment (sent by tests/autoreconf): pointing
160         to bin/autom4te that could not find its files.
161         * tests/mktests.sh: Force the replacement of generated files, for
162         the sake of "mv" program that are interactive when overwriting a
163         -w file.
164         * config/install-sh: Upgrade from CVS Automake.
166 2003-09-23  Paul Eggert  <eggert@twinsun.com>
168         * doc/autoconf.texi (Limitations of Builtins): Document test -h
169         versus test -L issues.
171 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
172             Paul Eggert <eggert@twinsun.com>
174         Trivial change to support GCC's configuration procedure.
175         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
176         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
177         about inconsistency if the preprocessor is set to give errors for
178         any warning.
179         * doc/autoconf.texi (C Compiler Characteristics): Document this.
181 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
183         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
184         and XFile.pm from Automake.
185         * lib/Autom4te/XFile.pm: Update from Automake.
187 2003-09-12  Akim Demaille  <akim@epita.fr>
189         Version 2.57c.
191 2003-09-12  Akim Demaille  <akim@epita.fr>
193         * config/config.guess, config/config.sub, config/missing,
194         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
195         from masters.
197 2003-09-12  Akim Demaille  <akim@epita.fr>
199         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
200         not asm/types.h.
202 2003-09-11  Akim Demaille  <akim@epita.fr>
204         * doc/autoconf.texi (Header Portability): linux/random.h.
205         From Peter Hendrickson.
207 2003-09-10  Akim Demaille  <akim@epita.fr>
209         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
210         willing to edit the output files.
212 2003-09-10  Akim Demaille  <akim@epita.fr>
214         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
215         and AC_FC_FREEFORM.
216         * tests/mktests.sh: Skip AC_FC_SRCEXT.
217         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
219 2003-09-09  Akim Demaille  <akim@epita.fr>
221         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
222         Reported by Gary Vaughan.
223         * bin/autom4te.in (handle_m4): Likewise.
225 2003-09-09  Akim Demaille  <akim@epita.fr>
227         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
228         trailing files.
230 2003-09-07  Paul Eggert  <eggert@twinsun.com>
232         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
233         Improve the accuracy of the wording about obsolescence.
234         From a suggestion by Ian Lance Taylor in
235         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
237 2003-09-05  Paul Eggert  <eggert@twinsun.com>
239         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
240         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
242 2003-09-04  Akim Demaille  <akim@epita.fr>
244         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
245         AC_FUNC_WAIT3.
247 2003-09-04  Akim Demaille  <akim@epita.fr>
249         * bin/autom4te.in: Use &fatal where more appropriate than &error.
250         (freeze): When exiting, use $exit_code.
251         * lib/autoconf/fortran.m4: Comment changes.
253 2003-09-04  Akim Demaille  <akim@epita.fr>
255         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
257 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
259         Add support for newer Fortran dialects.  The F77 interface is
260         unchanged, and continues to support Fortran 77.  New FC macros
261         correspond to all the old F77 macros, with output variables FC,
262         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
263         available dialect, but older dialects can be specified.  There are
264         new macros AC_FC_SRCEXT to set the source extension, and
265         AC_FC_FREEFORM to accept free-form source files.
267         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
268         New macros.
269         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
270         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
271         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
272         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
273         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
274         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
275         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
276         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
277         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
278         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
279         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
280         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
281         AC_FC_SRCEXT, AC_FC_FREEFORM):
282         New macros.
283         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
284         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
285         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
286         Rewrite in terms of the above.
287         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
288         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
289         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
290         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
292 2003-09-02  Paul Eggert  <eggert@twinsun.com>
294         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
295         Document problems with timestamp resolution that 'make', 'cp -p', and
296         'touch -r' have.
298 2003-08-27  Akim Demaille  <akim@epita.fr>
300         * tests/m4sugar.at (cross_warning): Make sure to enable the
301         output, so that we can track spurious m4sugar output.
302         * tests/local.at: Require 2.57.
303         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
304         are defaulted by AT_CHECK anyway.
305         Use AT_CHECK_AUTOM4TE.
306         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
307         missing dnl.
309 2003-08-27  Akim Demaille  <akim@epita.fr>
311         * bin/autoheader.in: Issue the "Using auxiliary..." message only
312         when -Wobsolete is set.
313         Set it on by default.
314         Suggested by Klee Dienes.
316 2003-08-27  Akim Demaille  <akim@epita.fr>
318         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
319         documentation.
320         From Guido Draheim.
322 2003-08-26  Akim Demaille  <akim@epita.fr>
324         * doc/autoconf.texi (Output): Make clear that one can run code
325         after AC_OUTPUT.
327 2003-08-25  Akim Demaille  <akim@epita.fr>
329         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
330         CVS Bison.
332 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
334         * bin/autoreconf.in (parse_args): Do not pass --no-force to
335         Automake versions prior to 1.8.
337 2003-08-25  Akim Demaille  <akim@epita.fr>
339         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
340         From Ville Karaila.
342 2003-08-24  Akim Demaille  <akim@epita.fr>
344         * configure.ac: Bump to 2.57c.
346 2003-08-22  Akim Demaille  <akim@epita.fr>
348         Version 2.57b.
350         * Makefile.cfg (local-checks-to-skip): New.
351         * Makefile.maint (local-check): Rename as...
352         (local-checks-available): this.
353         (local-check): New.
355         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
356         * configure.ac: Require Automake 1.7.6.
358 2003-08-22  Akim Demaille  <akim@epita.fr>
360         Output stack traces in warnings.
362         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
363         Replace the former...
364         (m4_warn): Pass the call stack to _m4_warn.
365         * bin/autom4te.in: Adjust to output the call stack.
366         * tests/m4sugar.at (m4@&t@_warn): Adjust.
368 2003-08-22  Akim Demaille  <akim@epita.fr>
370         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
371         * bin/autom4te.in: Adjust.
373 2003-08-21  Akim Demaille  <akim@epita.fr>
375         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
376         (&verbose): Remove.
377         (&getopt): Adjust the note and verb channels, depending upon
378         --verbose.
379         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
380         * bin/autoupdate.in: Adjust.
381         Use &verb, not &verbose.
383 2003-08-21  Akim Demaille  <akim@epita.fr>
385         * bin/autoheader.in (&parse_args): Use &parse_warnings and
386         &parse_WARNINGS.
387         ($help): Use Autom4te::ChannelDefs::usage.
388         * bin/autoscan.in: Use Autom4te::ChannelDefs.
389         * lib/Autom4te/General.pm: Don't export error: you don't own it.
391 2003-08-21  Akim Demaille  <akim@epita.fr>
393         First stab at preserving warnings between calls to autom4te,
394         including when the cache is used.
396         There are still several issues: (i) there are too many runs of m4
397         (one for include, one for warnings, and some more), (ii) warnings
398         spreading on several lines are not handled gracefully, (iii) the
399         code meant to have the call stack display for errors does not work
400         (its handling should move from m4 to autom4te).
402         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
403         Use them.
404         (@preselect): Add m4_warn.
405         ($exit_status): Remove, use $exit_code.
406         ($help): Use Autom4te::ChannelDefs::usage.
407         (&handle_m4): No longer define the m4_warnings.
408         At each run, extract and report the warnings.
409         Always cache the result, including if the exit status is on
410         failure, since if nothing changes, we should result in the same
411         failure, hence we can use the cache.
412         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
413         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
414         Remove.
415         (m4_warn): Redefine as a do-nothing: it is its invocation that
416         matters, as warnings are now reported via traces.
417         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
418         the contents of m4_warn: make it _call_ m4_warn, so that tracing
419         the latter reveals calls to the former.
421         Adjust the tests.
423         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
425 2003-08-21  Akim Demaille  <akim@epita.fr>
427         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
428         Use them.
430 2003-08-21  Akim Demaille  <akim@epita.fr>
432         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
433         forward order.
434         * lib/Autom4te/ChannelDefs.pm: Doc typos.
435         (&parse_warnings): Accept a list of warning requests.
436         (&usage): Return a string, not a side effect.
437         (cross): New warning category.
439 2003-08-21  Akim Demaille  <akim@epita.fr>
441         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
442         (&require_configure_ac): Accept an optional directory argument.
443         ($configure_ac): Remove.
444         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
445         (&catfile): Remove.
446         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
447         * bin/autoscan.in: Adjust.
449 2003-08-20  Akim Demaille  <akim@epita.fr>
451         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
452         Reported by Alexandre Duret-Lutz.
454 2003-08-20  Akim Demaille  <akim@epita.fr>
456         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
457         * bin/autom4te: Adjust.
458         In particular, be Autoconf tools are really silent when properly
459         working, bind the verbosity of the 'note' channel to $verbose.
460         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
461         (&xsystem, &contents): Remove, since they are exported by...
462         * lib/Autom4te/FileUtils.pm: this.
463         More perldoc.
464         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
465         * lib/Autom4te/FileUtils.pm: here.
467 2003-08-20  Akim Demaille  <akim@epita.fr>
469         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
470         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
471         from CVS Automake.
473 2003-08-20  Akim Demaille  <akim@epita.fr>
475         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
476         (autom4te-update): New.
477         * Makefile.cfg (update): Bind autom4te-update.
479 2003-08-19  Derek Price  <derek@ximbiot.com>
481         * lib/autotest/general.m4: Comment various HELP_* diversions.
482         (PARSE_ARGS_BEGIN): New section for option parsing related
483         initialization.
484         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
485         package specific options and associated help.
487 2003-08-19  Akim Demaille  <akim@epita.fr>
489         * config/announce-gen, Makefile.cfg: New.
490         * Makefile.am: Adjust.
491         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
493 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
495         * lib/autom4te.in (Automake-preselections): Preselect
496         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
497         and m4_sinclude.
499 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
501         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
502         (Autoconf-without-aclocal-m4): ... this new language.
503         * doc/autoconf.texi (autom4te Invocation): Mention
504         Autoconf-without-aclocal-m4.
506 2003-08-18  Derek Price <derek@ximbiot.com>
508         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
509         RUN-IF-PASS optional arguments.
511 2003-08-18  Derek Price  <derek@ximbiot.com>
513         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
515 2003-08-16  Derek Price  <derek@ximbiot.com>
517         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
518         STDOUT & STDERR arguments.
520 2003-08-14  Derek Price  <derek@ximbiot.com>
522         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
523         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
524         shorter column three.  Add DESCRIPTION to log file content.
526 2003-08-13  Derek Price  <derek@ximbiot.com>
528         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
529         output.
531 2003-08-12  Derek Price  <derek@ximbiot.com>
533         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
534         (AT_CHECK_NOESCAPE): Move core functionality to...
535         (_AT_CHECK): ...this new macro.
537 2003-08-07  Derek Price  <derek@ximbiot.com>
539         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
540         (AT_CHECK_NOESCAPE): ...to this new macro.
542 2003-07-31  Paul Eggert  <eggert@twinsun.com>
544         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
545         in Bash 2.01.  Problem reported by Brian Gough in
546         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
548 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
550         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
551         -lcrt1.o, for OS X.  (trivial change)
553 2003-07-07  Paul Eggert  <eggert@twinsun.com>
555         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
556         inside '#ifndef __cplusplus'.  Problem reported by
557         Bob Friesenhahn.
559 2003-07-06  Bill Clarke  <llib@computer.org>
561         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
562         'long', not 'int', for benefit of Sun's recent C++ compilers
563         (trivial change).  See:
564         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
565         (This really should be 'intptr_t', not 'long', but that would
566         take more work.)
568 2003-06-25  Akim Demaille  <akim@epita.fr>
570         * lib/Makefile.am (autom4te.cfg): Make it read only.
571         Depend on Makefile since it contains substitutions.
572         From Paolo Bonzini.
573         * lib/autom4te.in (args): Add local.at? for Autotest args.
574         This change was made on autom4te.cfg which is generated.
575         Reported by Raja R. Harinath.
577 2003-06-25  Akim Demaille  <akim@epita.fr>
579         * doc/autoconf.texi (Header Portability): sys/mount.h.
580         From Gareth McCaughan.
582 2003-06-23  Akim Demaille  <akim@epita.fr>
584         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
585         not all of them.  This fixes 1. the fact that when testing
586         Autoconf there are many many config.log, 2. the incorrect use of
587         top_srcdir to find config.log.
588         Don't mix the detailed output of failed test with the summary of
589         failures.  Rather, append detailed log afterwards.
591 2003-06-23  Akim Demaille  <akim@epita.fr>
593         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
594         always run: output config.log on $at_group_log.
596 2003-06-23  Akim Demaille  <akim@epita.fr>
598         * tests/torture.at (#define header templates): Don't use quotes in
599         C++ comments as it puzzles Emacs' sh font-lock-mode.
601 2003-06-23  Akim Demaille  <akim@epita.fr>
603         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
604         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
605         * tests/atspecific.m4: Rename as...
606         * tests/local.at: This.
607         * tests/suite.at: Move the globals into...
608         * tests/local.at: here.
609         * tests/Makefile.am: Adjust.
610         * doc/autoconf.texi (testsuite Scripts): Adjust.
612 2003-06-21  Kevin Ryde  <user42@zip.com.au>
614         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
615         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
616         ensuring we add -std1 for full-ANSI.
618         * doc/autoconf.texi (hdrindex): New macro.
619         Add index entries for portability of various standard header files.
621 2003-06-20  Akim Demaille  <akim@epita.fr>
623         * configure.ac: Bump to 2.57b.
625 2003-06-20  Akim Demaille  <akim@epita.fr>
627         Version 2.57a.
629 2003-06-20  Akim Demaille  <akim@epita.fr>
631         * bin/autom4te.in: Don't rely on $HOME being defined.
632         Reported by Marc Espie as PR/233.
634 2003-06-20  Akim Demaille  <akim@epita.fr>
636         * lib/autotest/general.m4: Use at_times_file only if used.
637         From Nicolas Joly.
639 2003-06-20  Akim Demaille  <akim@epita.fr>
641         * config/config.guess, config/config.sub, config/elisp-comp,
642         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
643         Update from masters.
645 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
647         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
648         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
649         (TEST_SCRIPT): New diversion.
650         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
651         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
652         (AT_INIT): Support for expected failures.
654 2003-06-02  Akim Demaille  <akim@epita.fr>
656         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
657         changes.
658         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
659         Autoconf nor Automake.
660         (&contents): New, from Automake.
661         PODify.
663 2003-05-28  Paul Eggert  <eggert@twinsun.com>
665         * NEWS, doc/autoconf.texi (Particular Functions),
666         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
667         is the inverse of localtime.
669 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
671         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
672         (handle_exec_errors): New function.  Work around $! being
673         altered by WEXITSTATUS.
674         (xqx, xsystem): Use handle_exec_errors.
676 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
678         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
679         Do not call `_exit()', simply modify `$?'.
680         (xsystem): Reset $! before running system, and check it afterward.
681         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
682         63 for version mismatches.
684 2003-05-23  Akim Demaille  <akim@epita.fr>
686         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
687         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
688         the middle of a line).
689         * lib/m4sugar/m4sugar.m4: Likewise.
690         Remove useless spaces in comments.
692 2003-05-23  Akim Demaille  <akim@epita.fr>
694         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
695         exit 63, so that we (or Automake's "missing") can tell the
696         difference with a plain failure.
697         * doc/autoconf.texi (Notices): Adjust.
699 2003-05-23  Akim Demaille  <akim@epita.fr>
701         * Makefile.am, bin/Makefile.am, config/Makefile.am,
702         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
703         White spaces cleanup.
705 2003-05-22  Jim Meyering  <jim@meyering.net>
706             and Paul Eggert <eggert@twinsun.com>
708         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
709         Remove `#include <stdlib.h>' from the list; we should never
710         make confdefs.h include <stdlib.h> or <cstdlib>, because the
711         resulting namespace pollution would cause other tests to fail.
712         Configure scripts run with some older versions of g++ and HP's
713         aCC would fail due to such an #include.  Problems reported by
714         Matthew Mueller in <http://bugs.debian.org/120704> and by
715         Keith Bostic in
716         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
717         In the test, use the test declaration before including <stdlib.h>,
718         as that's closer to how it'll be used.
720 2003-05-23  Akim Demaille  <akim@epita.fr>
722         * doc/autoconf.texi (Header Portability): ucred.h.
723         From Ian Redfern.
725 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
727         Overhaul Autotest's logging: generate separate log files
728         in testsuite.dir/NNN/testsuite.log, and append them to
729         testsuite.log instead of re-running the test verbosely.
731         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
732         file descriptor, write 0 to at_status_file instead of setting
733         at_status=0, initialize some new variables (at_status_file,
734         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
735         to rerun the tests, instead append the at_group_log to the
736         at_suite_log when a test fails.
737         (AT_SETUP): pipe the test case's output into at_tee_pipe,
738         with the AS_MESSAGE_LOG_FD redirected to stdout.
739         (AT_CLEANUP): save the output status in $at_status_file
740         and restore it, redirect the AS_MESSAGE_LOG_FD back to
741         its original place.
742         (AT_CHECK): since tests are run with a redirected stdout,
743         and used to be re-run in verbose mode, turn some $at_verbose
744         into echo, and don't redirect the output of testing stdout
745         and stderr.
747         * lib/autotest/autoconf.texi (testsuite Scripts): Update
748         the name of the debugging directory and information about
749         its contents.
751 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
753         * lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
754         parameter
756 2003-05-22  Akim Demaille  <akim@epita.fr>
758         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
759         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
760         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
761         * lib/autoconf/status.m4: Fix and adjust copyright notices.
763 2003-05-22  Akim Demaille  <akim@epita.fr>
765         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
766         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
767         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
768         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
769         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
770         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
771         * lib/autoconf/status.m4, lib/autoconf/types.m4,
772         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
773         * tests/atspecific.m4, tests/base.at, tests/compile.at,
774         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
775         * tests/tools.at, tests/torture.at:
776         Whitespace clean up.
777         Suggested by Jim Meyering.
779 2003-05-22  Akim Demaille  <akim@epita.fr>
781         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
782         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
783         Reported by Jim Meyering.
785 2003-05-22  Akim Demaille  <akim@epita.fr>
787         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
788         Add AC_HELP_STRING  to the obsolete macros section.
789         Typos.
790         Use '@.' for sentences that ended in a capital letter.
791         From Art Haas.
793 2003-05-22  Akim Demaille  <akim@epita.fr>
795         * config/config.guess, config/config.sub, config/elisp-comp,
796         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
797         * config/texinfo.tex, doc/standards.texi: Update from masters.
799 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
801         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
802         it to eval.
804 2003-05-21  Akim Demaille  <akim@epita.fr>
806         * bin/autoupdate.in ($m4): Fix quotation.
807         Reported by Martin Mokrejs.
809 2003-05-19  Paul Eggert  <eggert@twinsun.com>
811         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
812         Remove non-ASCII characters.
814 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
816         * tests/semantics.at (AC_SEARCH_LIBS): New test.
817         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
818         AC_CHECK_HEADERS_NEW): New tests.
820 2003-05-17  Akim Demaille  <akim@epita.fr>
822         * lib/autoconf/functions.m4: Use the default includes so that
823         memcmp be declared before being tested.
824         Reported by Sander Niemeijer.
825         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
826         * doc/autoconf.texi (Default Includes): Document
827         AC_INCLUDES_DEFAULT.
829 2003-05-17  Akim Demaille  <akim@epita.fr>
831         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
832         * doc/autoconf.texi (Obsolete Macros): Adjust.
833         Reported by Werner LEMBERG and Debian Bug 190886.
835 2003-05-16  Akim Demaille  <akim@epita.fr>
837         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
838         user name space clashes.
839         Reported by Bruno Haible.
841 2003-05-16  Akim Demaille  <akim@epita.fr>
843         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
844         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
845         them uniform, and more robust to Perl special characters.
846         Reported by Martin Mokrejs.
848 2003-05-14  Akim Demaille  <akim@epita.fr>
850         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
852 2003-05-14  Akim Demaille  <akim@epita.fr>
854         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
855         linux/irda.h.
857 2003-05-12  Akim Demaille  <akim@epita.fr>
859         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
860         message.
861         From Matthias Andree.
863 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
865         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
866         and truncate.
868 2003-05-06  Akim Demaille  <akim@epita.fr>
870         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
871         longer updates aclocal.m4 if useless, (ii) if a file m4_included
872         by aclocal.m4 is changed it might require the importing of another
873         m4 extension file, i.e., aclocal must be run.
875         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
876         (&parse_args): Use --force with aclocal if required and supported.
877         (&autoreconf_current_directory): Use &run_aclocal.
879 2003-05-06  Akim Demaille  <akim@epita.fr>
881         Lock autom4te's cache.
883         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
884         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
885         argument instead of a file name, so that the request file remains
886         open during the whole autom4te run.
887         ($icache_file): New.
888         (&freeze): Lock the $icache_file.
890 2003-04-29  Derek Price  <derek@ximbiot.com>
892         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
893         seperator with m4_append_uniq().  It doesn't work.
894         (AT_CLEANUP): Add `;' to end of at_help_all.
895         (AT_INIT): Allow --keywords to be specified more than once.  When
896         grepping $at_help_all for keywords, use the field and keyword
897         seperators to ensure a complete keyword match.  Alter at_prev handling
898         to support the new --keywords behavior.
900 2003-04-27  Karl Berry  <karl@freefriends.org>
902         * doc/autoconf.texi: Make the dir entries in the autoconf manual
903         align better with others.  I also made some of the individual
904         entries on one line, for brevity and to make it easier for me to
905         sort my dir-example file in the Texinfo distribution :).
907 2003-04-12  Jim Meyering  <jim@meyering.net>
909         * NEWS: Mention the new macro.
910         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
911         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
912         * tests/c.at: Test AC_C_RESTRICT.
913         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
915 2003-04-08  Akim Demaille  <akim@epita.fr>
917         * bin/ifnames.in: Skip C++ comments.
918         From Jeremy Yallop.
920 2003-04-08  Akim Demaille  <akim@epita.fr>
922         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
923         From Ilya Zakharevich.
925 2003-04-08  Akim Demaille  <akim@epita.fr>
927         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
928         net/if.h, stdlib.h.
930 2003-04-01  Derek Price  <derek@ximbiot.com>
932         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
933         from Akim's checkin of 2003-03-29.
935 2003-04-01  Derek Price  <derek@ximbiot.com>
937         * tests/torture.at (Configuring subdirectories): Add missing
938         close-quote for Akim's change from 2003-03-28.
940 2003-04-01  Akim Demaille  <akim@epita.fr>
942         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
943         (AC, AT, MS): these.
944         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
945         New.
946         Use them.
947         * doc/Makefile.am (CLEANFILES): Adjust.
948         (TEXI2DVI): Make it --batch.
950 2003-03-31  Derek Price  <derek@ximbiot.com>
952         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
953         which removed the main loop.
954         Thanks to Akim Demaille.
956 2003-03-29  Akim Demaille  <akim@epita.fr>
958         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
959         that starts a GUI.
960         From Ilya Zakharevich.
962 2003-03-29  Akim Demaille  <akim@epita.fr>
964         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
965         documentation to read is Autoconf's.
966         Suggested by Paul Eggert.
968 2003-03-28  Akim Demaille  <akim@epita.fr>
970         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
971         reading the section "Present But Cannot Be Compiled" when the
972         header causes problems.
974 2003-03-28  Akim Demaille  <akim@epita.fr>
976         * tests/torture.at (Configuring subdirectories): Require aclocal
977         1.4, otherwise the test fails, as it does support configure.ac.
978         This fixes the "test 40 failed" bug reports.
980 2003-03-28  Akim Demaille  <akim@epita.fr>
982         * doc/autoconf.texi (C Compiler): `#line' portability.
983         From Paul Eggert and Nelson H. F. Beebe.
985 2003-03-27  Derek Price  <derek@ximbiot.com>
987         * lib/autotest/general.m4: Eliminate main loop and reorganize test
988         layout in order to allow scripting around test groups.
990 2003-03-27  Derek Price  <derek@ximbiot.com>
992         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
993         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
994         use new diversions in preparation for accepting new arguments and
995         allowing scripting around tests.
996         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
998 2003-03-26  Derek Price  <derek@ximbiot.com>
1000         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
1001         obsolete AC_HELP_STRING.
1002         (AC_HELP_STRING): AU_DEFUN to...
1003         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
1004         * tests/m4sh.at (AS_HELP_STRING): New test.
1006         * tests/acgeneral.at: Regenerated.
1008 2003-03-26  Derek Price  <derek@ximbiot.com>
1010         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
1011         sense.  Verbosify the diversion definitions comment.
1013 2003-03-26  Derek Price  <derek@ximbiot.com>
1015         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
1016         AS_PREPARE.
1018 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
1020         * doc/autoconf.texi (Present But Cannot Be Compiled):
1021         Grammar fixes and minor rewording. (trivial change)
1023 2003-03-06  Paul Eggert  <eggert@twinsun.com>
1025         Work around a problem noted by Nelson H. F. Beebe with coreutils
1026         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
1027         2002/05/09) rejects '#line 32768 "configure"' because the line
1028         number overflows.
1029         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
1030         #line directives.
1031         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
1032         * doc/autoconf.texi (Generating Sources): Document this.
1034 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
1036         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
1037         file name for the m4 program, when it has an "exe" file extension.
1038         DJGPP's error messages include the error code in brackets -
1039         remove the error code during normalization.
1041 2003-02-28  Akim Demaille  <akim@epita.fr>
1043         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
1045 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
1047         * doc/autoconf.texi (Limitations of Make): Remove the section
1048         about `$<' in inference rules, it was a bogus interpretation of
1049         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
1050         Tru64 make in the "target lookup" section.
1051         (Automake): Automake 1.5+ no longer requires special tools to be
1052         present on the developer's host.
1054 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
1056         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
1057         to a shell that can handle redirection or quoting correctly.
1058         Override SHELL with the shell detected by configure.
1059         Use of $^O suggested by Tim van Holder.
1060         * bin/autom4te.in (BEGIN): Likewise.
1061         * bin/autoreconf.in (BEGIN): Likewise.
1062         * bin/autoscan.in (BEGIN): Likewise.
1063         * bin/autoupdate.in (BEGIN): Likewise.
1064         * bin/ifnames.in (BEGIN): Likewise.
1066         * bin/ifnames.in: Add final newline to help and version messages.
1068         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
1069         to cope with DOS-style absolute paths, when constructing
1070         ${ac_make}.
1072         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
1073         When constructing paths with IFS=:, quote the path. If we're
1074         constructing a DOS-style absolute path, we don't want to split it
1075         on the colon.
1077         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
1078         in description.
1080 2003-02-25  Pavel Roskin  <proski@gnu.org>
1082         * bin/autoheader.in: Add missing newline when printing
1083         suggestion how change AC_DEFINE call.
1085 2003-02-24  Paul Eggert  <eggert@twinsun.com>
1087         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
1088         2002-09-01 patch by replacing "test -n" with "test -z".
1089         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
1090         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
1092         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
1093         to fix a mismatch between example and discussion.
1095 2003-02-24  Kevin Ryde  <user42@zip.com.au>
1097         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
1098         format starting with "-".
1100 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
1102         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
1103         is not portable inside Makefile.
1105 2003-02-20  Akim Demaille  <akim@epita.fr>
1107         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
1108         compiler says yeah, but preproc says nope, compiler is right.
1109         Conversely, prompt the reader to send a bug report to the
1110         maintainers of the package, not of Autoconf.
1112 2003-02-20  Klee Dienes  <kdienes@apple.com>
1114         * bin/autoreconf.in (autoreconf_current_directory): Properly
1115         handle an empty aclocal.m4.
1117 2003-02-20  Akim Demaille  <akim@epita.fr>
1119         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
1120         $ac_prefix_program.
1121         From Larry Jones.
1123 2002-12-23  Paul Eggert  <eggert@twinsun.com>
1125         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
1126         innocuous variant befor including <limits.h> or <assert.h>.  This
1127         works around a bug reported by Albert Chin: HP-UX 11i
1128         (and earlier versions) have a <limits.h> that declares
1129         gettimeofday and many other functions.
1131 2002-12-03  Paul Eggert  <eggert@twinsun.com>
1133         Version 2.57.
1135         * NEWS, configure.ac: Update version.
1137         * doc/fdl.texi: Upgrade to FDL version 1.2.
1139         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
1140         nontrivially in main's body, so that f's external declaration is
1141         not optimized away in AIX.  This should fix the bug reported by
1142         Martin Frydl in
1143         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
1145         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
1146         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
1147         defined, to support freestanding compilers.  This should fix the
1148         bug reported by Momchil Velkov in
1149         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
1151         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
1152         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
1153         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
1154         by Simon Josefsson in
1155         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
1157         * Makefile.maint (www-gnu): New macro.
1158         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
1159         the location has moved.
1161 2002-12-02  Martin Frydl  <martin@systinet.com>
1163         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
1164         \(.*\) match is too long and there is something more to be checked.
1165         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
1167 2002-11-15  Akim Demaille  <akim@epita.fr>
1169         Version 2.56.
1171         * config/install-sh: chmod +x.
1172         From Paul Eggert.
1173         * config/move-if-change: Indenting changes.
1174         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
1175         * configure.ac (AM_INIT_AUTOMAKE): here.
1176         Require 1.7.1.
1178 2002-11-14  Akim Demaille  <akim@epita.fr>
1180         Version 2.55.
1182         * config/config.guess, config/config.sub, config/install-sh:
1183         Update from masters.
1185 2002-11-14  Akim Demaille  <akim@epita.fr>
1187         * Makefile.maint: Sync with Bison, i.e.:
1188         (po-check): Scan .l and .y files instead of the
1189         .c and the .h files that they generate.  This fixes the bug
1190         reported by Tim Van Holder in:
1191         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
1192         Look for N_ as well as for _.  Try to avoid matching #define for
1193         N_ and _.
1194         From Paul Eggert.
1196 2002-11-14  Akim Demaille  <akim@epita.fr>
1198         * doc/autoconf.texi (C Compiler): Compiling several files at once.
1199         From Paul Eggert and Albert Chin-A-Young.
1201 2002-11-14  Akim Demaille  <akim@epita.fr>
1203         * doc/autoconf.texi (C Compiler): Solitary backslashes.
1204         From Paul Eggert and Albert Chin-A-Young.
1206 2002-11-14  Kevin Ryde  <user42@zip.com.au>
1208         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
1209         than assigning in main, to avoid HP cc +O3 optimizing it away.
1211 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
1213         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
1214         option.  Process --recheck after parsing all options.  Pass -q
1215         option to configure on --recheck.
1216         (AC_OUTPUT): Pass -q from configure to config.status.
1217         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
1218         arguments to record.
1219         * doc/autoconf.texi (config.status Invocation): Document
1220         config.status -q option.
1222 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
1224         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
1225         Makefile.in if Makefile.am exists.
1226         (output): Strip `.am' from Makefiles.  Don't
1227         output AC_CONFIG_FILES if no Makefiles were found.
1229 2002-11-07  Akim Demaille  <akim@epita.fr>
1231         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
1232         (local_updates): New.
1233         * Makefile.maint: Update, from CVS Bison.
1234         (local_updates): New.
1236 2002-11-06  Akim Demaille  <akim@epita.fr>
1238         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
1239         declaration in extern "C" too.
1240         Reported by Roberto Bagnara.
1242 2002-11-06  Akim Demaille  <akim@epita.fr>
1244         * tests/torture.at (Configuring subdirectories): Don't use grep
1245         -w.
1246         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
1247         Reported by Ezra Peisach.
1249 2002-11-05  Akim Demaille  <akim@epita.fr>
1251         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
1252         Remove.
1253         We _have_ to stop using the old compatibility scheme that tried to
1254         avoid useless backslashes because Libtool 1.4.3 contains a
1255         AC_DEFINE([error_t], [int],
1256         [Define to a type to use for \`error_t' if it is not
1257         otherwise available.])
1258         We _have_ to quote the single quote and backslashes with \.  The
1259         old compatibility scheme saw that ` was backslashed, and therefore
1260         did not quote the single quote.  Hence before this patch, Autoconf
1261         was not compatible with Libtool.
1263 2002-11-04  Paul Eggert  <eggert@twinsun.com>
1265         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
1266         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
1267         LC_NAME, LC_PAPER, LC_TELEPHONE.
1268         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
1270 2002-11-04  Akim Demaille  <akim@epita.fr>
1272         Version 2.54c.
1274         * Makefile.maint (update, cvs-update, po-update, do-po-update):
1275         New.
1276         * config/texinfo.tex: Update.
1278 2002-11-03  Akim Demaille  <akim@epita.fr>
1280         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
1281         from...
1282         (&autoreconf): here.
1283         ($help, $make, &parse_args, &autoreconf_current_directory):
1284         Support -m/--make.
1285         * doc/autoconf.texi (autoreconf Invocation): Adjust.
1287 2002-10-31  Bruno Haible  <bruno@clisp.org>
1289         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
1290         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
1291         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
1292         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
1293         to ac_cv_func_realloc_0_nonnull.
1294         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
1296 2002-10-31  Akim Demaille  <akim@epita.fr>
1298         The test suite was no longer checking for trailing envvars and files.
1300         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
1301         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
1303 2002-10-31  Akim Demaille  <akim@epita.fr>
1305         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
1306         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
1307         Make variable, not a shell variable.
1308         Suggested by Bruno Haible.
1310 2002-10-31  Akim Demaille  <akim@epita.fr>
1312         * bin/autom4te.in (load_configuration): Reject #args out of any
1313         language.
1315 2002-10-31  Akim Demaille  <akim@epita.fr>
1317         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
1318         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
1319         (_AC_RUN_IFELSE): Use it.
1320         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
1321         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1322         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
1323         inline it.
1325 2002-10-30  Akim Demaille  <akim@epita.fr>
1327         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
1328         * doc/autoconf.texi (autom4te Invocation): Adjust.
1329         Suggested by Tim van Holder.
1331 2002-10-29  Paul Eggert  <eggert@twinsun.com>
1333         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
1334         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
1335         Problem reported by Bruno Haible.
1337 2002-10-29  Akim Demaille  <akim@epita.fr>
1339         * doc/autoconf.texi (Header Templates): Put also in words what the
1340         pictures says to assist free style readers.
1341         (Customizing autom4te): s/--cache=/--cache /.
1343 2002-10-29  Akim Demaille  <akim@epita.fr>
1345         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
1346         sys/wait.h.
1347         sparc_address_test returns void.
1348         Use it with an argument, as prototyped.
1349         From Bruno Haible.
1351 2002-10-29  Akim Demaille  <akim@epita.fr>
1353         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
1354         configure.in, not configure.ac.
1355         Reported by Bruno Haible.
1357 2002-10-29  Akim Demaille  <akim@epita.fr>
1359         * tests/torture.at (Deep Package): New test.
1360         (Configuring subdirectories): Don't use a testSubDir as Autotest
1361         now does it itself.
1363 2002-10-29  Akim Demaille  <akim@epita.fr>
1365         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
1366         * doc/autoconf.texi (Invoking autom4te): Rename as...
1367         (autom4te Invocation): this, for consistency with the other nodes.
1369 2002-10-29  Akim Demaille  <akim@epita.fr>
1371         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
1372         Reported by Ralf Corsepius.
1374 2002-10-29  Akim Demaille  <akim@epita.fr>
1376         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1377         characters is a back as an `obsolete' warning now.
1378         Reported by Ralf Corsepius.
1380 2002-10-28  Akim Demaille  <akim@epita.fr>
1382         * configure.ac: Bump to 2.54c.
1384 2002-10-28  Akim Demaille  <akim@epita.fr>
1386         Version 2.54b.
1388         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
1390 2002-10-28  Akim Demaille  <akim@epita.fr>
1392         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
1393         m4 executable names, and different GNU M4 version.
1394         Reported by Ezra Peisach and Paul Jarc.
1396 2002-10-27  Akim Demaille  <akim@epita.fr>
1398         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
1399         AC_RUN_IFELSE.
1401 2002-10-27  Akim Demaille  <akim@epita.fr>
1403         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
1404         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
1405         Die when a simple Fortran program cannot be compiled.
1406         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
1407         Issue a warning if no function is given.
1409 2002-10-27  Akim Demaille  <akim@epita.fr>
1411         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
1412         Move the documentation of AC_TRY_RUN to...
1413         (Obsolete Macros): here.
1414         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
1415         (autoconf Invocation): Remove the duplicates with `invoking
1416         autom4te'.
1417         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
1418         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
1420 2002-10-27  Akim Demaille  <akim@epita.fr>
1422         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
1423         and AC_LANG_FUNC_LINK_TRY.
1424         (Examining Libraries): Rename as...
1425         (Running the Linker): this.
1426         Document AC_LINK_IFELSE.
1427         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
1428         (Obsolete Macros): here.
1429         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
1430         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
1431         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
1432         * lib/autoconf/headers.m4 (AC_USG): Likewise.
1434 2002-10-27  Akim Demaille  <akim@epita.fr>
1436         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
1438         More `check config.log' messages.
1440         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
1441         * doc/autoconf.texi (Printing Messages): Document it.
1442         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
1443         appropriate.
1444         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
1445         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
1446         (_AC_COMPILER_OBJEXT): Likewise.
1447         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
1448         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
1449         Likewise.
1450         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
1451         Likewise.
1453         Deprecate macros with unusual interfaces.
1455         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
1456         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
1458         Document the new ones, and proper style.
1460         * doc/autoconf.texi (Generating Sources): New.
1461         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
1462         (Examining Declarations): Rename as...
1463         (Running the Preprocessor): this.
1464         Document AC_PREPROC_IFELSE.
1465         (Examining Syntax): Rename as...
1466         (Running the Compiler): this.
1467         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
1468         (Obsolete Macros): Move the definition of AC_TRY_CPP and
1469         AC_TRY_COMPILE here.
1471 2002-10-27  Akim Demaille  <akim@epita.fr>
1473         Move sections around.
1475         * doc/autoconf.texi (Customizing autom4te): Remove a lost
1476         sentence.
1477         Reported by Burno Haible.
1478         (Language Choice): Now the first section of...
1479         (Writing Tests): this section.
1480         Make the introduction less C-centric.
1481         (Guidelines, Test Functions): Move to...
1482         (Writing Test Programs): this new section.
1483         (Test Programs): Merge into...
1484         (Run Time): this.
1486 2002-10-27  Akim Demaille  <akim@epita.fr>
1488         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
1489         autom4te.in that resulted in the need for two `make' runs.
1491 2002-10-27  Akim Demaille  <akim@epita.fr>
1493         * configure.ac: Bump to 2.54b.
1495 2002-10-25  Akim Demaille  <akim@epita.fr>
1497         Version 2.54a.
1499         * Makefile.maint: Update from the Coreutils.
1500         (AMTAR): Remove, obsolete.
1501         (automake_repo): Update to redhat.com.
1502         (cvs_file): New.
1503         Adjust to the fact that ansi2knr is now hosted by Automake.
1504         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
1505         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
1506         Update from masters.
1507         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
1508         autoscan.pre is not to be installed, and autoscan.list is not to
1509         be shipped.
1510         (CLEANFILES): Add autoscan.list.
1511         (autoscan.list): Disable the cache.
1512         * bin/Makefile.am: Include freeze.mk.
1514 2002-10-25  Akim Demaille  <akim@epita.fr>
1516         * bin/autom4te.in (&load_configuration): Take the file as
1517         argument.
1518         (&parse_args): Handle -C, --cache.
1519         ($help): Adjust.
1520         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
1521         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
1522         * doc/autoconf.texi (Invoking autom4te): Document --cache.
1523         Now a subsection of...
1524         (Using autom4te): This new section.
1525         (Customizing autom4te): New.
1526         (autom4te.cache): Adjust.
1528 2002-10-25  Akim Demaille  <akim@epita.fr>
1530         * doc/autoconf.texi (Generic Headers): More information on how to
1531         use AC_CHECK_HEADERS.
1533 2002-10-25  Akim Demaille  <akim@epita.fr>
1535         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
1536         Space changes.
1538 2002-10-25  Akim Demaille  <akim@epita.fr>
1540         * bin/autoscan.in (output): Output AC_PREREQ.
1541         (%needed_macros): Add AC_PREREQ so that configure.ac without one
1542         be reported.
1544 2002-10-23  Akim Demaille  <akim@epita.fr>
1546         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
1547         document _Bool.
1549 2002-10-23  Akim Demaille  <akim@epita.fr>
1551         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
1552         Reported by Peter Eisentraut.
1554 2002-10-23  Akim Demaille  <akim@epita.fr>
1556         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
1557         type _Bool.
1558         Fix a typo.
1559         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
1560         Eggert's recommandations.
1562 2002-10-22  Akim Demaille  <akim@epita.fr>
1564         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
1565         Bison, by Paul Eggert.
1566         * doc/autoconf.texi (Particular Headers): Document it.
1568 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
1570         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
1571         `$ac_configure_args'.
1573 2002-10-22  Akim Demaille  <akim@epita.fr>
1575         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
1576         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
1577         From Art Haas.
1579 2002-10-22  Akim Demaille  <akim@epita.fr>
1581         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
1583         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1584         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
1585         (_AC_CHECK_HEADER_NEW): Rename as...
1586         (AC_CHECK_HEADER): this.
1588 2002-10-22  Akim Demaille  <akim@epita.fr>
1590         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
1591         words about HP-UX cmp: it was actually a user-written cmp.
1593 2002-10-22  Akim Demaille  <akim@epita.fr>
1595         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
1596         are a few warnings.
1597         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1598         Quote for Perl '' strings, not "".
1599         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
1600         strings.
1602 2002-10-22  Akim Demaille  <akim@epita.fr>
1604         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1605         characters is a syntax warning now.
1606         (_AS_QUOTE): Accept $2 as list of characters to quote.
1607         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1608         Quote for Perl, not sh.
1609         * bin/autoheader.in: When $debug, report the file which is
1610         `do'ne.
1611         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
1612         `@', to tickle Perl's lists.
1613         Reported by Carlos Velasco.
1615 2002-10-18  Akim Demaille  <akim@epita.fr>
1617         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
1618         missing included files _are_ errors.
1619         Thanks to Alexandre Duret-Lutz.
1620         * tests/tools.at (autom4te cache): Adjust.
1621         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
1622         (AT_CHECK_M4SUGAR): Use it.
1623         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1624         Adjust.
1625         * tests/tools.at (autom4te): Now it does exit 1.
1627 2002-10-17  Akim Demaille  <akim@epita.fr>
1629         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
1630         Fixes the `AC_ARG_VAR' test failures.
1631         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
1632         * lib/freeze.mk (check-forbidden-patterns): New.
1633         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
1634         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
1635         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
1636         /dev/null.
1637         Reported months ago by H. Merijn Brand.
1639 2002-10-17  Akim Demaille  <akim@epita.fr>
1641         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
1643 2002-10-16  Paul Eggert  <eggert@twinsun.com>
1645         * Makefile.maint (wget_files): Remove ansi2knr.c.
1646         (ansi2knr.c-url_prefix): Remove.
1648 2002-10-16  Akim Demaille  <akim@epita.fr>
1650         Because of caching, some files that no longer exist and are no
1651         longer required can still cause errors.
1652         Reported by Alexandre Duret-Lutz.
1654         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
1655         to frozen files in @ARGV, as @ARGV must remain being a list of
1656         files.  Rather, at M4 call sites, use this...
1657         (&files_to_options): New function.
1658         (&freeze): Use &error.
1659         (&up_to_date): If a file that was included according to the cache
1660         is no longer there, then the output is out dated.
1661         (&main): Don't even check whether a file is up to date is anyway
1662         --force is given.
1663         * tests/tools.at (autom4te cache): New.
1665 2002-10-16  Akim Demaille  <akim@epita.fr>
1667         * bin/autoconf.as: Kill dead options.
1668         * bin/autoupdate.in (&parse_args): Kill old options.
1669         * bin/autoreconf.in (&parse_args): Remove dead options.
1670         Factor some code.
1671         (&autoreconf): Report the directories we enter *and leave*, so
1672         that error messages can be easily located, and use GNU Make
1673         format, so that Emacs' compile mode understands us.
1674         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
1675         if some file was changed instead of `print'.
1676         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
1677         (&parse_args): Remove the dead options.
1678         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
1679         autoheader's quiet mode.
1680         (AT_CHECK_AUTOUPDATE): Likewise.
1681         * tests/tools.at (autoupdate): Adjust.
1682         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
1684 2002-10-11  Akim Demaille  <akim@epita.fr>
1686         No longer use CPP to check for the existing of headers: use CC to
1687         check for compilability.
1689         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1690         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
1691         (_AC_CHECK_HEADER_NEW): Rename as...
1692         (AC_CHECK_HEADER): this.
1694         * lib/autotest/general.m4 (AT_INIT): Include the failed test
1695         numbers in the Subject suggestion.
1697 2002-10-11  Akim Demaille  <akim@epita.fr>
1699         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
1700         Suggest using AC_CHECK_DECLS instead.
1702 2002-10-11  Akim Demaille  <akim@epita.fr>
1704         * tests/torture.at (AC_ARG_VAR): Have configure report the value
1705         of `precious'.
1707 2002-10-11  Akim Demaille  <akim@epita.fr>
1709         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
1710         file name to enable parallel executions.
1711         From Sam Varshavchik.
1713 2002-10-08  Akim Demaille  <akim@epita.fr>
1715         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
1716         aclocal invocation, as Gettext macros might not be visible to
1717         aclocal.
1718         Instead of blindly running autopoint, scan configure.ac (not the
1719         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
1720         Reported by Paul D. Smith.
1722 2002-10-08  Paul Eggert  <eggert@twinsun.com>
1724         Work around problems found when POSIXLY_CORRECT=1 is set.
1725         None of this seems to have anything to do with POSIX, really,
1726         but it's how Perl getopt works.
1727         * bin/autom4te.in (parse_args): Configure GetOpt with
1728         "permute", too.
1729         * doc/autoconf.texi (Invoking autom4te):
1730         --warning -> --warnings.
1731         * lib/autom4te.in: --warning -> --warnings.
1733 2002-09-28  Akim Demaille  <akim@epita.fr>
1735         * doc/autoconf.texi (autom4te.cache): New section.
1737 2002-09-28  Akim Demaille  <akim@epita.fr>
1739         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
1740         (Automake-preselections): Update.
1741         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
1743 2002-09-28  Akim Demaille  <akim@epita.fr>
1745         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
1746         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
1747         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
1748         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
1750 2002-09-28  Akim Demaille  <akim@epita.fr>
1752         * tests/torture.at (Configuring subdirectories): Be robust to
1753         users who use config.site to require for a cache: in this case,
1754         the two last configure runs, using two different sets of
1755         arguments, trigger a legitimate error.
1757 2002-09-28  Akim Demaille  <akim@epita.fr>
1759         * tests/m4sh.at (Functions Support, Functions and return Support):
1760         New.
1762 2002-09-28  Akim Demaille  <akim@epita.fr>
1764         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
1765         autoheader are Perl programs.
1766         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
1767         (autom4te): Specify that the sources are in the $srcdir.
1768         * doc/autoconf.texi (Installation Directory Variables): Adjust.
1770 2002-09-28  Akim Demaille  <akim@epita.fr>
1772         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
1773         (tm_zone): Move their rules to...
1774         * lib/autoconf/types.m4: here, using AN_ macros.
1775         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
1776         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
1777         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
1778         * lib/autoconf/programs.m4: here.
1779         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
1780         (ETAGS_FOR_AUTOCONF): New.
1781         Use it.
1783 2002-09-28  Akim Demaille  <akim@epita.fr>
1785         * lib/autoconf/autoscan.m4: New file.
1786         * lib/autoconf/autoconf.m4: Include it.
1787         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
1788         that were listed in the original autoscan.list.
1789         * lib/autoconf/headers.m4: Similarly with headers.
1790         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
1791         (.m4.m4f): Don't pass --prepend-include, since that's done by
1792         tests/autom4te itself.
1793         * lib/autoscan/Makefile.am: Include freeze.mk.
1794         (autoscan.list): New target --this file is no longer a source.
1795         (autoscan.pre): New file.
1797 2002-09-28  Akim Demaille  <akim@epita.fr>
1799         * bin/autoscan.in (@kinds): Make them singular.
1800         Adjust all uses.
1801         (&init_tables): When --debug, report the list of rules to ease
1802         tracking changes in autoscan.list.
1803         * lib/autoscan/autoscan.list (function): Strip comments, sort.
1805 2002-09-28  Akim Demaille  <akim@epita.fr>
1807         * lib/autoscan/functions, lib/autoscan/headers,
1808         * lib/autoscan/identifiers, lib/autoscan/makevars,
1809         * lib/autoscan/programs: Merge into...
1810         * lib/autoscan/autoscan.list: this.
1811         * bin/autoscan.in (&init_tables): Adjust.
1813 2002-09-28  Akim Demaille  <akim@epita.fr>
1815         * lib/autoscan/functions, lib/autoscan/headers,
1816         * lib/autoscan/identifiers, lib/autoscan/makevars,
1817         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
1818         `functions' line is now prefixed with `function:'.
1819         * bin/autoscan.in (&init_tables): Adjust.
1821 2002-09-28  Akim Demaille  <akim@epita.fr>
1823         From now on, autoscan files must always map a macro name to a
1824         word: there is no `default' macro for autoscan.
1826         * bin/autoscan.in (&init_tables): Reject entries with no macro at
1827         all.
1828         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
1829         explicit.
1831 2002-09-28  Akim Demaille  <akim@epita.fr>
1833         * bin/autoscan.in (%c_keywords): Remove.
1834         (&used): Keep only track of the words we might be interested in.
1835         (&output_kind): It is no longer needed to look for non active
1836         checks.
1838 2002-09-27  Akim Demaille  <akim@epita.fr>
1840         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
1841         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
1842         * lib/autoscan/functions: Adjust.
1843         * doc/autoconf.texi (Particular Functions): Adjust.
1845 2002-09-27  Akim Demaille  <akim@epita.fr>
1847         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
1848         from /tmp.
1849         Thanks to Bill Moseley and Paul Eggert.
1850         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
1851         the tmpdir must be created.
1852         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
1853         dir be in the build tree, instead of $TMPDIR.
1855 2002-09-27  Akim Demaille  <akim@epita.fr>
1857         * bin/autoscan.in: Improve the comments.
1858         (&parse_args): Drop obsolete undocumented options.
1859         (&output_kind): Output warnings.
1860         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
1861         (getwd): Trigger a warning.
1863 2002-09-26  Akim Demaille  <akim@epita.fr>
1865         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
1866         Reported by Ralf Corsepius.
1867         * doc/autoconf.texi (autoreconf Invocation): Likewise.
1869 2002-09-26  Akim Demaille  <akim@epita.fr>
1871         Single suffix rules and seperated dependencies are not portable.
1873         * doc/autoconf.texi (Installation Directory Variables): Update.
1874         (Limitations of Make): Some about `Single Suffix Rules and
1875         Separated Dependencies'.
1876         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
1877         (ifnames, autoscan, autom4te): Un-factor into several rules.
1879 2002-09-25  Paul Eggert  <eggert@twinsun.com>
1881         * BUGS (Interoperability bugs): New section.  Mention libtool
1882         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
1884 2002-09-24  Paul Eggert  <eggert@twinsun.com>
1886         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
1887         make handles suffix-rules differently from GNU make.
1889         * bin/Makefile.am (SUFFIXES, .in): Remove.
1890         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
1891         Move the body of the old .in rule here.
1893 2002-09-16  Akim Demaille  <akim@epita.fr>
1895         i960 compilers create `b.out' files by default.
1896         Reported by Ralf Corsepius.
1898         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
1899         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
1901 2002-09-13  Paul Eggert  <eggert@twinsun.com>
1903         * doc/autoconf.texi (Particular Headers): Remove obsolete
1904         reference to `struct timezone' in the description of
1905         AC_HEADER_TIME.
1907 2002-09-13  Akim Demaille  <akim@epita.fr>
1909         Version 2.54.
1911         * config/config.sub, config/config.guess: Update.
1912         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
1913         * Makefile.am: Adjust.
1915 2002-09-13  Akim Demaille  <akim@epita.fr>
1917         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
1918         reading config.log when the compiler is rejected.
1919         Suggested by Guido Draheim.
1921 2002-09-13  Akim Demaille  <akim@epita.fr>
1923         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
1924         (chdir_init) might hang when stat'ing mounted directories.
1925         Reported by Vance Shipley.
1927 2002-09-12  Akim Demaille  <akim@epita.fr>
1929         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
1930         the lists.
1932 2002-09-12  Akim Demaille  <akim@epita.fr>
1934         * doc/autoconf.texi (Defining Symbols): Present two different
1935         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
1936         difference between 1 argument calls, and 2-3 argument calls.
1938 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
1940         * doc/autoconf.texi: Review grammar and punctuation.
1942 2002-09-11  Paul Eggert  <eggert@twinsun.com>
1944         * doc/autoconf.texi: Fix minor formatting, spelling, and
1945         grammatical typos.
1946         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
1947         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
1948         is obsolescent.
1950 2002-09-11  Akim Demaille  <akim@epita.fr>
1952         * doc/autoconf.texi (Questions): Rename as...
1953         (FAQ): this.
1954         (Defining Directories): New.
1956 2002-09-09  Akim Demaille  <akim@epita.fr>
1958         * doc/autoconf.texi (Making testsuite Scripts): Update.
1959         Suggested by Nishio Futoshi.
1961 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
1963         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
1964         plain `@' is wanted.
1966 2002-09-09  Akim Demaille  <akim@epita.fr>
1968         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
1969         `duplicates', since the algorithm was too naive and could keep
1970         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
1971         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
1972         Reported by Ralf Corsepius.
1973         * tests/torture.at (Configuring subdirectories): Exercise these
1974         cases.
1976 2002-09-09  Akim Demaille  <akim@epita.fr>
1978         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
1979         looking for a replacement file.
1980         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
1981         directory is relative.
1982         * doc/autoconf.texi (Generic Functions): Clarify the replacement
1983         directory definition.
1984         Reported by Andreas Schwab and Jim Meyering.
1986 2002-09-06  Akim Demaille  <akim@epita.fr>
1988         * doc/autoconf.texi (Setting Output Variables): Clarify what
1989         precious variables are.
1990         Suggested by Pontus Skoeld.
1992 2002-09-05  Akim Demaille  <akim@epita.fr>
1994         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
1995         (ifnames, autoscan, autom4te): Since we don't only depend on
1996         configure.ac variables (such as VERSION etc.), but also on prefix
1997         and so forth, depend on Makefile, not configure.ac.
1998         Reported by Alexandre Duret-Lutz.
1999         * doc/autoconf.texi (Installation Directory Variables): Adjust.
2001 2002-09-05  Kevin Ryde  <user42@zip.com.au>
2003         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
2004         doesn't seem to be confined to ia64, just say "some versions".
2006 2002-09-04  Akim Demaille  <akim@epita.fr>
2008         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
2009         Automake 1.6c.
2010         * Makefile.am (maintainer-clean-local): Remove.
2011         (MAINTAINERCLEANFILES): Remove COPYING.
2013 2002-09-03  Paul Eggert  <eggert@twinsun.com>
2015         * doc/autoconf.texi (Configuration Commands): Remove obsolete
2016         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
2017         Brinkmann.
2019 2002-09-03  Akim Demaille  <akim@epita.fr>
2021         * configure.ac: Bump to 2.53d.
2022         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
2023         as of today, on Automake's team suggestion.
2025 2002-09-03  Akim Demaille  <akim@epita.fr>
2027         Version 2.53c.
2029 2002-09-02  Akim Demaille  <akim@epita.fr>
2031         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
2032         SITE_MACRO_DIR.
2033         * configure.ac: Disable SITE_MACRO_DIR.
2035 2002-09-02  Jim Meyering  <meyering@lucent.com>
2037         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
2038         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
2039         Also, tweak grammar: s/make sure to/be sure to/.
2041 2002-09-02  Paul Eggert  <eggert@twinsun.com>
2043         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
2044         directory names are generally preferable to physical names.
2046 2002-09-02  Akim Demaille  <akim@epita.fr>
2048         * lib/Autom4te/General.pm (&update_file): s/die/error/.
2049         Reported by Raja R. Harinath.
2050         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
2051         * bin/autoupdate.in: Use error instead of die.
2053 2002-09-01  Paul Eggert  <eggert@twinsun.com>
2055         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
2056         ordinary shell concatenation rather than echo+tr+sed command that
2057         runs afoul of a long-line-related sed bug in Solaris 8.
2059         * bin/autoheader.in (parse_args): --warning -> --warnings.
2061         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
2062         stdout, as traditional "ls" does.
2063         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
2064         _AC_COMPILER_EXEEXT_O): Likewise.
2065         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
2067         * bin/autoconf.as: Add --prepend-include option.  This patch was
2068         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
2069         but bin/autoconf.in is generated automatically from bin/autoconf.as.
2071         * bin/autoconf.in, configure: Regenerate.
2073         * doc/autoconf.texi (Special Shell Variables): Mention
2074         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
2076         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
2077         MAILPATH and set PS1, PS2, PS4 to default values, to work
2078         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
2079         For LC_ALL etc, first try to set to "C" as POSIX requires and as
2080         the Autoconf documentation specifies; fall back to "unset" only if
2081         this fails.  Use a shell for-loop for this rather than an m4 loop,
2082         to shorten the output script.
2084 2002-08-30  Paul Eggert  <eggert@twinsun.com>
2086         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
2087         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
2088         for the CDPATH problem.  Document PWD.
2089         (Limitations of Builtins): Document the problem that "cd $foo" and
2090         "ls $foo" may refer to different directories in shells conforming
2091         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
2092         example, since the old example is now out of date.
2094         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
2095         FOO" and "ls FOO" talk about different directories; this catches
2096         problems when POSIX 1003.1-2001 "cd" fails due to symlink
2097         spaghetti.
2099         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
2100         of rolling our own unset.
2101         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
2102         in practice we needn't worry about CDPATH if unset doesn't work.
2104         * Makefile.in, aclocal.m4, bin/Makefile.in,
2105         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
2106         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
2107         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
2108         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
2109         tests/Makefile.in: Regenerate with Automake 1.6.3.
2111         * config/config.guess, config/config.sub, config/mkinstalldirs:
2112         Update.
2114         * configure: Regenerate with self.
2116 2002-08-30  Kevin Ryde  <user42@zip.com.au>
2118         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
2119         default output.
2121 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2123         * bin/autom4te.in (Request::load): Correctly test for "do" read
2124         failure.
2126 2002-08-29  Akim Demaille  <akim@epita.fr>
2128         * lib/Autom4te/General.pm (&xqx): New.
2129         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
2130         hand, which is not portable.
2131         (&error): New.
2132         * bin/autom4te.in: Use them.
2133         Use &error instead of die.
2134         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2135         Adjust.
2137 2002-08-17  Paul Eggert  <eggert@twinsun.com>
2139         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
2140         default list of compilers to try, since it was long ago superseded
2141         by the ksh fc builtin.  Suggested by Steven G. Johnson.
2143 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
2145         * doc/autoconf.texi (Invoking autom4te): End the option table,
2146         fixing a bug introduced by the previous patch.
2147         (Limitations of Make): Add a 'target lookup' subentry in the
2148         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
2150 2002-07-29  Mark D. Roth  <roth@feep.net>
2152         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
2153         options and use $AUTOM4TE_PATH.
2154         * doc/autoconf.texi: Remove documentation of autom4te
2155         --include-envvar and --site-macro-subdir options and document
2156         use of $AUTOM4TE_PATH.
2157         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
2158         arguments from each language section.
2160 2002-07-29  Paul Eggert  <eggert@twinsun.com>
2162         * doc/install.texi: Include copyright symbol in copyright notice.
2164         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
2165         Replace with:
2166         (AM_MAKEINFOFLAGS): New macro.
2167         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
2168         * Makefile.am (INSTALL): Use the new macros.
2169         Use -o rather than --output, since "missing" does not grok --output.
2171 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2173         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
2174         comments do not always work. Never trust the exit status of
2175         `make -k'.
2177 2002-07-24  Kevin Ryde  <user42@zip.com.au>
2179         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
2180         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
2182 2002-07-23  Paul Eggert  <eggert@twinsun.com>
2184         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
2185         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
2186         apparently treats PATH="nonexistent" as if it contained ".".
2187         Bug reported by Stefan `Sec' Zehl.
2189 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
2191         * doc/autoconf.texi (Limitations of Make): Mention the special
2192         handling of the obj/ directory by BSD make.
2194 2002-07-20  Kevin Ryde  <user42@zip.com.au>
2196         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
2197         backslashes.
2199 2002-07-19  Akim Demaille  <akim@epita.fr>
2201         * doc/autoconf.texi (Function Portability): `exit'.
2202         (Programming in M4sh): Ethymology of M4sh.
2204 2002-07-19  Akim Demaille  <akim@epita.fr>
2206         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
2208 2002-07-18  Akim Demaille  <akim@epita.fr>
2210         Version 2.53b.
2212 2002-07-18  Akim Demaille  <akim@epita.fr>
2214         * config/config.guess, config/config.sub: Update.
2216 2002-07-18  Akim Demaille  <akim@epita.fr>
2218         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
2219         Automake's parts.
2221         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
2222         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
2223         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
2225 2002-07-18  Akim Demaille  <akim@epita.fr>,
2226             Alexandre Duret-Lutz  <duret_g@epita.fr>
2228         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
2229         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
2231 2002-07-17  Russ Allbery  <rra@stanford.edu>
2233         * doc/autoconf.texi (Initializing configure): Clarify the
2234         description of the tarname default.
2236 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
2238         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
2239         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
2240         latter was not run.
2242 2002-07-17  Akim Demaille  <akim@epita.fr>
2244         * lib/Autom4te/General.pm (find_file): Browse the directories in
2245         the order they are given.
2247 2002-07-17  Akim Demaille  <akim@epita.fr>
2249         * tests/wrapsh.as, tests/wrappl.as: Merge into...
2250         * tests/wrapper.as: this.
2251         * tests/Makefile.am, configure.ac: Adjust.
2253 2002-07-17  Mark D. Roth  <roth@feep.net>
2255         * configure.ac: Add --enable-site-macro-dir option.
2256         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
2257         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
2258         --site-macro-subdir options.
2259         * bin/autoconf.in: Add --prepend-include option.
2260         * bin/autoheader.in: Add --prepend-include option.
2261         * bin/autoreconf.in: Add --prepend-include option.
2262         * bin/autoscan.in: Add --prepend-include option.
2263         * bin/autoupdate.in: Add --prepend-include option.
2264         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
2265         macro directory, remove note that include path directories are
2266         used in reverse order, and document --prepend-include option.
2267         * lib/autom4te.in: Use --prepend-include instead of --include.
2268         * tests/wrapsh.in: Use --prepend-include instead of --include.
2270 2002-07-17  Akim Demaille  <akim@epita.fr>
2272         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
2273         tarnames.
2274         * doc/autoconf.texi (Initializing configure): Adjust.
2276 2002-07-17  Akim Demaille  <akim@epita.fr>
2278         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
2279         (_AC_FUNC_MALLOC): New.
2280         (AC_FUNC_MALLOC): Use the latter.
2281         Define HAVE_MALLOC to 0 if broken.
2282         * doc/autoconf.texi (Particular Functions): Adjust.
2284 2002-07-16  Akim Demaille  <akim@epita.fr>
2286         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
2287         * doc/autoconf.texi (C Compiler): Adjust.
2289 2002-07-09  Akim Demaille  <akim@epita.fr>
2291         * doc/autoconf.texi: Properly set the ``header'' part.
2293 2002-07-09  Akim Demaille  <akim@epita.fr>
2295         * doc/autoconf.texi (Systemology): Some about Darwin.
2297 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
2299         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2300         Don't use AC_REQUIRE in AU_DEFUN.
2302 2002-07-09  Art Haas  <ahaas@neosoft.com>
2304         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
2306 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
2308         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2309         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
2310         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
2311         so that Emacs setups GNU style for perl-mode and cperl-mode.
2313 2002-06-27  Paul Eggert  <eggert@twinsun.com>
2315         * config/install-sh: Quote $src.  Prefer || to test's -o option,
2316         as per "Limitations of Builtins".
2317         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
2318         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2320         * tests/mktests.sh: Use grep instead of fgrep, as per
2321         "Limitations of Builtins".
2323 2002-06-15  Paul Eggert  <eggert@twinsun.com>
2325         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
2326         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
2327         so that we consistently test the just-built programs.
2328         * tests/wrappl.as: Likewise.
2330 2002-06-12  Paul Eggert  <eggert@twinsun.com>
2332         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
2333         name, so that symlinks to 'autoconf' work properly.  Bug reported
2334         by Bruno Haible.
2335         * bin/autoheader.in (AUTOM4TE): Likewise.
2336         * bin/autoreconf.in (autoconf, autoheader): Likewise.
2337         * bin/autoscan.in (autom4te): Likewise.
2338         * bin/autoupdate.in (autom4te): Likewise.
2340         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
2341         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
2342         on Solaris 2.5.1.
2344 2002-06-11  Andreas Schwab  <schwab@suse.de>
2346         * doc/autoconf.texi: Add more dir entries.
2348 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2350         * bin/autom4te.in ($cache): Don't define using `$me', the name
2351         of the cache should not depend on the name under which autom4te
2352         was installed.
2354 2002-06-07  Akim Demaille  <akim@epita.fr>
2356         * tests/tools.at (autoconf: forbidden tokens, basic)
2357         (autoconf: forbidden tokens, exceptions): Adjust to the change of
2358         words in autom4te.in.
2360 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
2362         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
2363         _AC_LANG_PROGRAM_C_F77_HOOKS.
2365 2002-06-07  Akim Demaille  <akim@epita.fr>
2367         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
2368         rename as...
2369         (AC_REPLACE_FNMATCH): this.
2370         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
2371         AC_FUNC_FNMATCH_GNU.
2373 2002-06-07  Akim Demaille  <akim@epita.fr>
2375         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
2376         Rosetta Stone for Unix.
2378 2002-06-07  Akim Demaille  <akim@epita.fr>
2380         * bin/autom4te.in (warn_forbidden): When rejecting a token,
2381         suggest m4_pattern_allow.
2382         Suggested by Adam J. Richter.
2384 2002-06-07  Akim Demaille  <akim@epita.fr>
2386         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2387         ac_config_libobj_dir.
2388         (AC_CONFIG_LIBOBJ_DIR): New.
2389         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
2390         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
2391         Use ac_config_libobj_dir to find the replacement files.
2392         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
2393         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
2394         (AC_REPLACE_FNMATCH_GNU): these.
2395         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
2396         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
2397         * tests/mktests.sh (ac_exclude_list): Don't check
2398         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
2400 2002-06-06  Paul Eggert  <eggert@twinsun.com>
2402         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
2403         if ln doesn't work.
2404         * NEWS: Likewise.
2405         * doc/autoconf.texi (Configuration Links): Likewise.
2406         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
2408 2002-06-05  Paul Eggert  <eggert@twinsun.com>
2410         * config/config.guess, config/config.sub, config/texinfo.tex:
2411         Update from masters.
2413 2002-05-29  Paul Eggert  <eggert@twinsun.com>
2415         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
2416         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
2417         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
2418         Likewise.
2419         * lib/autoconf/Makefile.am (check-local): Likewise.
2420         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
2421         * lib/autoconf/types.m4 (commentary only): Likewise.
2422         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
2423         * lib/autotest/Makefile.am (check-local): Likewise.
2424         * lib/m4sugar/Makefile.am (check-local): Likewise.
2425         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
2426         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
2428         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
2429         * doc/autoconf.texi (Particular Programs): Document them.
2430         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
2431         * NEWS: Likewise.
2433 2002-05-27  Paul Eggert  <eggert@twinsun.com>
2435         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
2436         * NEWS, doc/autoconf.texi (Particular Types): Document it.
2437         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
2438         instead of AC_MBSTATE_T, which never existed.
2440 2002-05-23  Akim Demaille  <akim@epita.fr>
2442         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
2443         version of Autoconf that is discussed.
2445 2002-05-22  Paul Eggert  <eggert@twinsun.com>
2447         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
2448         from the default list of compilers to try.  Suggested by
2449         Kate Hedstrom.
2450         * NEWS: Document the above.
2451         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
2453 2002-05-17  Paul Eggert  <eggert@twinsun.com>
2455         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
2456         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
2457         This improves on an earlier suggestion by H. Peter Anvin.
2459 2002-05-16  Paul Eggert  <eggert@twinsun.com>
2461         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
2462         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
2463         Both macros now accept an optional source-dir arg.
2464         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
2466         * NEWS: Document this.
2467         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
2469         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
2470         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
2471         not for GNU extensions; this undoes part of the 2000-11-03 change,
2472         reverting to 2.13-compatible behavior.
2473         Add new optional argument DIR.
2474         (AC_FUNC_FNMATCH_GNU): New macro.
2476         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
2478 2002-05-08  Paul Eggert  <eggert@twinsun.com>
2480         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
2481         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
2482         and it causes a 'test' syntax error if it fails.
2483         Bug reported by Stephen Gildea.
2485         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
2486         If prototypes are supported, use them to check this at compile-time,
2487         instead of trying to check it at run-time.  If we must do a run-time
2488         check, assume that setvbuf is standard when cross-compiling, as
2489         nonstandard setvbuf occurs only on ancient and unlikely hosts.
2490         Bug reported by Paul D. Smith.
2492         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
2493         argument specifying location of getloadavg.c.  This removes a
2494         FIXME.  This idea was taken from Jim Meyering's implementation in
2495         textutils.
2496         * doc/autoconf.texi (Particular Functions): Document this.
2497         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
2498         that's what the code does; this fixes a bug reported by
2499         Paul D. Smith.
2501 2002-05-03  Akim Demaille  <akim@epita.fr>
2503         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
2504         autopoint instead of gettextize.
2505         ($uses_alocal): Rename as...
2506         ($uses_aclocal): this.
2507         * doc/autoconf.texi (autoreconf Invocation): Adjust.
2508         Suggested by Bruno Haible.
2510 2002-05-03  Akim Demaille  <akim@epita.fr>
2512         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
2514 2002-04-29  Paul Eggert  <eggert@twinsun.com>
2516         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
2517         files to be 1 second older; just set them to be the same time.
2518         Also, sleep 1 second after the first aclocal, to work around
2519         problems with sub-second time stamps on the input files.
2521 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
2523         * doc/autoconf.texi: Mention "set -e -x" lossage
2524         under node "Limitations of Builtins".
2526 2002-04-29  Akim Demaille  <akim@epita.fr>
2528         * doc/install.texi: Better wording for setting variables when
2529         running configure.
2530         From Christian Cornelssen.
2532 2002-04-29  Akim Demaille  <akim@epita.fr>
2534         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
2535         of lack of $LINENO support, then the test will compare the $LINENO
2536         in testsuite vs. the lineno in the test file.  This is wrong, of
2537         course.
2538         Be sure to protect it.
2539         Reported by Patrick Welche.
2541 2002-04-25  Akim Demaille  <akim@epita.fr>
2543         * doc/autoconf.texi (Obsolete Macros): Typo.
2544         Reported by Vladimir Volovich.
2546 2002-04-25  Akim Demaille  <akim@epita.fr>
2548         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
2549         than some of the input files, hence, on the second run of aclocal,
2550         if some of its input are younger, make them older.
2551         Suggested by Paul Eggert.
2553 2002-04-25  Akim Demaille  <akim@epita.fr>
2555         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
2556         Thanks to Paul Eggert.
2558 2002-04-25  Akim Demaille  <akim@epita.fr>
2560         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
2561         and ac_subst_vars be sh variables containing the list of
2562         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
2563         DEFAULT diversion.
2564         (_AC_INIT_PREPARE): Use them to log them.
2565         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
2566         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
2567         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
2568         _AC_SUBST_FILES and _AC_SUBST_VARS.
2569         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
2571 2002-04-24  Akim Demaille  <akim@epita.fr>
2573         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
2574         autoheader, so that automake does not complain about a missing
2575         config.h.in that was to be created.
2577 2002-04-23  Akim Demaille  <akim@epita.fr>
2579         * bin/autoheader.in (parse_args): --warning takes an argument.
2580         Fixes PR/220.
2582 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
2584         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
2585         and bb.out when cleaning up.
2587 2002-04-22  Akim Demaille  <akim@epita.fr>
2589         Version 2.53a.
2591 2002-04-22  Akim Demaille  <akim@epita.fr>
2593         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
2595 2002-04-22  Akim Demaille  <akim@epita.fr>
2597         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
2598         comma.
2599         Reported by Gregory Giannoni.
2601 2002-04-22  Akim Demaille  <akim@epita.fr>
2603         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
2604         Fixes false failures on Darwin.
2606 2002-04-21  Paul Eggert  <eggert@twinsun.com>
2608         * TODO, bin/autoupdate.in, doc/autoconf.texi,
2609         lib/autoconf/general.m4, lib/autoconf/libs.m4,
2610         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
2611         tests/tools.at: Minor spelling and grammar fixes.
2613 2002-04-20  Paul Eggert  <eggert@twinsun.com>
2615         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
2616         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
2617         * lib/autotest/general.m4 (AT_INIT): Likewise.
2618         * tests/atgeneral.m4 (AT_INIT): Likewise.
2620 2002-04-19  Paul Eggert  <eggert@twinsun.com>
2622         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
2623         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
2624         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
2625         lib/autoconf/functions.m4, lib/autoconf/general.m4,
2626         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
2627         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
2628         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
2629         Minor spelling and grammar fixes.
2631         * doc/autoconf.texi: Follow the outline suggested in the GNU
2632         Sample Texts sections of the Texinfo 4.2 manual.  Most
2633         importantly, this makes sure that the copyright notices appear in
2634         all output formats.  You probably need Texinfo 4.2 to generate
2635         the manual now.
2637         Fix some bugs when using "$@" when there might be zero positional
2638         arguments in cases where this matters.
2640         * bin/autoconf.as: Rewrite so that the problem does not come up.
2641         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
2642         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
2643         * lib/autotest/general.m4 (AT_INIT): Likewise.
2645         * bin/autoheader.in: Use 'case' statement to work around problem.
2646         * bin/auto4mte.in: Likewise.
2647         * bin/autoreconf.in: Likewise.
2648         * bin/autoscan.in: Likewise.
2649         * bin/autoupdate.in: Likewise.
2650         * bin/ifnames.in: Likewise.
2652         * doc/autoconf.texi (Shell Substitutions): Document the problem.
2654         * lib/autotest/general.m4 (AT_INIT):
2655         Use Zsh alias to work around problem.
2656         * tests/atgeneral.m4 (AT_INIT): Likewise.
2658         * tests/c.at: We can't have zero arguments, so remove workaround
2659         that is not portable to Zsh.
2661 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
2663         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
2664         from aclocal.m4 too.
2666 2002-04-12  Akim Demaille  <akim@epita.fr>
2668         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
2670 2002-04-10  Akim Demaille  <akim@epita.fr>
2672         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
2673         workaround for ${1+"$@"}.
2674         * doc/autoconf.texi (Shell Substitutions): Explain it.
2675         From Oliver Kiddle and Peter Stephenson.
2677         Have M4sh perform minimal shell sanitizing.
2679         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
2680         part into...
2681         (_AS_PREPARE): this new macro.
2682         (AS_PREPARE): New.
2683         (AS_INIT): Invoke AS_SHELL_SANITIZE.
2684         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
2686         Adjust Autoconf and Autotest.
2688         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
2689         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
2690         * lib/autotest/general.m4 (AT_INIT): Likewise.
2691         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2692         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
2693         AS_SHELL_SANITIZE.
2695         Use this M4sh to generate Autoconf's shell scripts.
2697         * tests/wrapsh.as: New, precursor of wrapsh.in.
2698         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
2699         on Autotest and M4sh.
2700         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
2701         (wrapsh.in): New target.
2702         * bin/autoconf.as: New, precursor of autoconf.in.
2703         (autoconf.in): New target.
2705 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
2707         * doc/autoconf.texi (Limitations of Make): Mention the issue
2708         with indented comments in rules.
2710 2002-04-09  Andreas Schwab  <schwab@suse.de>
2712         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
2713         ac_top_builddir when setting ac_abs_top_builddir.
2715 2002-04-06  Kevin Ryde  <user42@zip.com.au>
2717         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
2718         (Portable Shell): Cross reference to Systemology.
2720 2002-04-05  Akim Demaille  <akim@epita.fr>
2722         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
2723         directories when descending in a SUBDIRS.
2724         Reported by Ezra Peisach.
2726 2002-04-04  Andreas Schwab  <schwab@suse.de>
2728         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
2729         contains no literal separators.
2731 2002-04-03  Akim Demaille  <akim@epita.fr>
2733         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
2734         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
2735         Use dnl, not the KILL diversion.
2736         Extracted from...
2737         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
2738         (AC_CONFIG_LINKS): here.
2739         Adjust.
2740         Don't use the KILL diversion, as it kills spurious output, which
2741         results in failures being hidden.
2742         Use m4_defn where appropriate.
2743         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
2744         after the second argument.
2745         Use m4_defn.
2746         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
2747         syntax, as it is provided by M4sugar.
2748         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
2750 2002-04-03  Andreas Schwab  <schwab@suse.de>
2752         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
2753         expanded if $# <= 2.
2755         * bin/autoreconf.in (autoreconf): Run automake after rerunning
2756         aclocal.
2758 2002-04-03  Akim Demaille  <akim@epita.fr>
2760         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
2761         (_AC_COMPILER_EXEEXT_REJECT): New.
2762         Also recognize *.bb and *.bbg as compilation byproducts.
2763         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
2764         (_AC_COMPILER_OBJEXT): Use them.
2765         Fixes Debian #138666.
2767 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
2769         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
2771         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
2772         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
2773         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
2774         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
2775         (AC_C_CONST): Same.
2776         (AC_C_INLINE): Same.
2777         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
2778         * doc/autoconf.texi, NEWS: Document.
2779         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
2780         AC_C_CROSS.
2782 2002-04-02  Akim Demaille  <akim@epita.fr>
2784         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
2785         _AS_MKDIR_P_PREPARE.
2787 2002-03-28  Kevin Ryde  <user42@zip.com.au>
2789         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
2790         to avoid versions of HP C which don't allow that.
2792 2002-03-27  Paul Eggert  <eggert@twinsun.com>
2794         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
2795         (AS_SHELL_SANITIZE): Invoke it.
2796         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
2798 2002-03-26  Akim Demaille  <akim@epita.fr>
2800         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
2802 2002-03-26  Akim Demaille  <akim@epita.fr>
2804         * doc/autoconf.texi (Introduction): The GNATS base moved.
2806 2002-03-25  Paul Eggert  <eggert@twinsun.com>
2808         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
2809         as POSIX requires, as it doesn't work with Zsh.
2810         * doc/autoconf.texi (Assignments): Document the problem.
2812 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2814         * doc/autoconf.texi (Limitations of Make): Mention more issue
2815         about VPATH, overriding of macros in sub-makes, and handling of
2816         SHELL.
2818 2002-03-21  Paul Eggert  <eggert@twinsun.com>
2820         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
2821         problem with here-document buffer boundaries.
2823         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
2824         when reinvoking the shell, to work around problems with installers
2825         who put strange things like "cd" commands in their environments.
2827 2002-03-19  Akim Demaille  <akim@epita.fr>
2829         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
2830         From Aaron Ucko.
2832 2002-03-19  Akim Demaille  <akim@epita.fr>
2834         * bin/autoscan.in (scan_file): Specify the location in `&used'
2835         invocations.
2836         From Nicolas Joly.
2838 2002-03-19  Akim Demaille  <akim@epita.fr>
2840         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
2841         From Nishio Futoshi.
2843 2002-03-19  Akim Demaille  <akim@epita.fr>
2845         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
2847 2002-03-18  Paul Eggert  <eggert@twinsun.com>
2849         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
2850         (Limitations of Usual Tools): Add mkdir section.
2852         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
2853         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
2854         back on AS_DIRNAME to compute prefixes otherwise; this is
2855         roughly what mkinstalldirs does.  That way, we need not have
2856         our own filename disassembler.  The old disassembler did not
2857         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
2859         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
2860         Create at_test_all by a series of assignments,
2861         not by a single assignment of a long string.  The latter causes ksh
2862         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
2863         presumably because of a buffer overrun.
2865 2002-03-14  Paul Eggert  <eggert@twinsun.com>
2867         * lib/autotest/general.m4 (at_times_skip):
2868         Renamed from at_times.  Now a boolean.
2869         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
2870         says 'times: not found'.
2872 2002-03-14  Akim Demaille  <akim@epita.fr>
2874         * bin/autoreconf.in (&study_gettextize): New.
2875         (&autoreconf): Handle newest gettextize.
2876         Rerun aclocal if needed.
2877         Suggested by Andreas Schwab.
2879 2002-03-13  Akim Demaille  <akim@epita.fr>
2881         * doc/autoconf.texi (Special Shell Variables): More about IFS.
2883 2002-03-13  Akim Demaille  <akim@epita.fr>
2885         * doc/autoconf.texi (Header Portability): New.
2886         Add information about stdint.h and inttypes.h from Paul Eggert.
2888 2002-03-13  Akim Demaille  <akim@epita.fr>
2890         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
2891         -p'.
2892         From Bob Proulx.
2894 2002-03-12  Akim Demaille  <akim@epita.fr>
2896         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
2897         m4_require.
2899 2002-03-11  Andreas Schwab  <schwab@suse.de>
2901         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
2902         does not do it if --with-lispdir is given.
2904 2002-03-08  Akim Demaille  <akim@epita.fr>
2906         Version 2.53.
2908 2002-03-08  Akim Demaille  <akim@epita.fr>
2910         * doc/autoconf.texi (Subdirectories): Clarify that the
2911         subdirectory should exist.
2913 2002-03-08  Akim Demaille  <akim@epita.fr>
2915         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
2917 2002-03-08  Akim Demaille  <akim@epita.fr>
2919         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
2920         aliases the actual variables, and modifications of the former
2921         affect the latter.
2923 2002-03-08  Akim Demaille  <akim@epita.fr>
2925         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
2926         because of C-c: have m4 output in tmp files, then mv them.
2928 2002-03-08  Akim Demaille  <akim@epita.fr>
2930         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
2931         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
2932         * bin/ifnames.in: Copyright update.
2934 2002-03-08  Akim Demaille  <akim@epita.fr>
2936         * doc/autoconf.texi (Invoking autom4te): New.
2938 2002-03-05  Akim Demaille  <akim@epita.fr>
2940         * doc/autoconf.texi (Specifying Names): Clarification suggested by
2941         Kevin Ryde.
2943 2002-03-05  Akim Demaille  <akim@epita.fr>
2945         Version 2.52i.
2947 2002-03-04  Akim Demaille  <akim@epita.fr>
2949         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
2950         * lib/autoconf/general.m4 (AC_INIT): More informative error
2951         message for LIBOBJ.
2953 2002-03-04  Akim Demaille  <akim@epita.fr>
2955         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
2956         parallel builds.
2958 2002-03-04  Akim Demaille  <akim@epita.fr>
2960         * doc/autoconf.texi (Transforming Names): Equality between target
2961         and host is irrelevant.
2962         (Specifying Names, Canonicalizing): Remove all references to the
2963         backward compatibility hooks.  Rather, collect them all into...
2964         (Hosts and Cross-Compilation): this new section.
2965         * doc/install.texi (System Type): Ditto.
2966         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
2967         that `--host' implies cross-compilation.
2969 2002-03-04  Akim Demaille  <akim@epita.fr>
2971         * doc/autoconf.texi (Evaluation Macros): New.
2972         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
2973         useless.
2974         (_m4_foreach): Define the variant with immediate evaluation so
2975         that it contains exactly the items, not an expression which
2976         evaluation is the current item.
2977         (m4_re_string, m4_re_word): Don't over quote them.
2979 2002-03-04  Akim Demaille  <akim@epita.fr>
2981         Instead of having stacking `shift's evaluated at the end, let
2982         `foreach' loops immediately evaluate them.
2984         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
2985         $*.  This is the n-th time I change my mind, but hopefully this is
2986         the last...
2987         (m4_lquote): New.
2988         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
2989         efficient.
2990         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
2991         it was only a hack for m4_text_wrap.
2992         (m4_car2): Remove, replaced by...
2993         (m4_cdr): New.
2994         (_m4_foreach): Adjust.
2995         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
2996         m4_bpatsubst for clarification.
2998 2002-03-04  Akim Demaille  <akim@epita.fr>
3000         * doc/autoconf.texi (Changequote is Evil): New.
3002 2002-03-03  Kevin Ryde  <user42@zip.com.au>
3004         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
3005         on old systems like SunOS.
3007 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
3009         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3010         lib/autoconf/functions.m4, lib/autoconf/general.m4,
3011         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
3012         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
3013         of messages.
3015 2002-02-28  Akim Demaille  <akim@epita.fr>
3017         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
3018         message to be sent.
3020 2002-02-28  Kevin Ryde  <user42@zip.com.au>
3022         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
3024 2002-02-25  Akim Demaille  <akim@epita.fr>
3026         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
3027         From Akinori Musha.
3029 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
3031         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
3032         translate \r\n to \n.
3034 2002-02-07  Akim Demaille  <akim@epita.fr>
3036         Version 2.52h.
3038 2002-02-07  Akim Demaille  <akim@epita.fr>
3040         Fix Autoconf PR/209.
3041         Also reported by Frank Denis.
3043         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
3045 2002-02-07  Akim Demaille  <akim@epita.fr>
3047         Fix Autoconf PR/207:
3048         AC_PREFIX_PROGRAM fails with dashed program names
3050         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
3051         variable when looking for the prefix program.
3052         Now it also works for shell variables.
3054 2002-02-07  Akim Demaille  <akim@epita.fr>
3056         * doc/autoconf.texi (Limitations of Builtins): More about
3057         case/esac.
3059 2002-02-06  Akim Demaille  <akim@epita.fr>
3061         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
3062         case/esac, some shells don't support it.
3063         Reported by Zack Weinberg.
3064         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
3066 2002-02-06  Akim Demaille  <akim@epita.fr>
3068         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
3069         sure not to introduce newlines in at_groups.
3070         * lib/autotest/Makefile.am (autotest.m4f): Typo.
3072 2002-02-06  Akim Demaille  <akim@epita.fr>
3074         * tests/torture.at (Configuring subdirectories): Skip if aclocal
3075         is not available.
3077 2002-02-05  Paul Eggert  <eggert@twinsun.com>
3079         * doc/autoconf.texi (Specific Compiler Characteristics):
3080         Describe HP-UX cc bug workaround more accurately.
3081         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
3082         not unsigned long.
3083         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
3084         cross-compilers, too.  This undoes some of the most recent change
3085         to this file.
3087 2002-02-05  Akim Demaille  <akim@epita.fr>
3089         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
3090         to make sure they are up to date when `check' is run.
3092 2002-02-05  Akim Demaille  <akim@epita.fr>
3094         * doc/autoconf.texi (Making testsuite Scripts): Document
3095         package.m4.
3097 2002-02-05  Akim Demaille  <akim@epita.fr>
3099         * lib/freeze.mk: New.
3101 2002-02-05  Akim Demaille  <akim@epita.fr>
3103         Implement `autom4te --freeze'.
3105         * bin/autom4te.in (&freeze): New.
3106         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
3107         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
3109 2002-02-05  Akim Demaille  <akim@epita.fr>
3111         * bin/autom4te.in (&parse_args): Implement `frozen files are
3112         optional are the sum of the previous files on the command line'.
3113         Also, pass `--reload-state=' on them, so...
3114         (handle_m4): don't.
3115         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
3116         (M4sh): Rely on M4sugar.
3117         (Autotest, M4sh, M4sugar): Use frozen files.
3119 2002-01-31  Akim Demaille  <akim@epita.fr>
3121         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
3122         * doc/autoconf.texi (Initializing configure): Adjust.
3124 2002-01-30  Akim Demaille  <akim@epita.fr>
3126         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
3127         alphanumeric to `-' instead of `_'.
3129 2002-01-30  Akim Demaille  <akim@epita.fr>
3131         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
3132         for plain code, the other for cross-compilation code.  The latter
3133         is now run with GCC only.
3134         * doc/autoconf.texi (Compilers and Preprocessors): New.
3136 2002-01-30  Akim Demaille  <akim@epita.fr>
3138         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
3139         values.
3140         * doc/autoconf.texi (Initializing configure): Explain how to
3141         change AC_INIT default values.
3143 2002-01-29  Akim Demaille  <akim@epita.fr>
3145         * tests/torture.at (Configuring subdirectories): Use configure.in,
3146         so that aclocal 1.4 works.
3147         Reported by Alexandre Duret-Lutz and Larry Schmitt.
3149 2002-01-28  Akim Demaille  <akim@epita.fr>
3151         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
3152         needs an argument.
3154 2002-01-28  Akim Demaille  <akim@epita.fr>
3156         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
3157         AUTOTEST_PATH *after* it was set.
3158         Don't put `.' in the PATH: the user should be precise and `./' if
3159         needed.  In addition, given that the test suite does some `cd', if
3160         `.' is in the path, the `tested programs' sections will report
3161         programs found in the test suite's directory, while during the
3162         tests (performed in their own directory), these programs are no
3163         longer visible.  In other words, the results is confusing and
3164         useless.
3165         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
3167 2002-01-24  Akim Demaille  <akim@epita.fr>
3169         Version 2.52g.
3171 2002-01-24  Akim Demaille  <akim@epita.fr>
3173         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
3174         * doc/autoconf.texi: Finally add Akim as an author.
3176 2002-01-24  Akim Demaille  <akim@epita.fr>
3178         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
3179         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
3180         Bourne. Use /bin/sh.
3181         From Andreas Buening.
3183 2002-01-24  Akim Demaille  <akim@epita.fr>
3185         * config/config.guess, config/config.sub, config/texinfo.tex:
3186         Update from masters.
3188 2002-01-24  Akim Demaille  <akim@epita.fr>
3190         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
3191         * config/auxdir.m4, config/cond.m4, config/depend.m4,
3192         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
3193         * config/missing.m4, config/sanity.m4, config/select.m4,
3194         * config/strip.m4: Remove, to ease sync'ing with any version of
3195         Automake.
3197 2002-01-24  Akim Demaille  <akim@epita.fr>
3199         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
3200         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
3201         Reported by Geir Ove Myhr.
3203 2002-01-21  Akim Demaille  <akim@epita.fr>
3205         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
3207 2002-01-21  Akim Demaille  <akim@epita.fr>
3209         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
3210         message on invalid options.
3211         * bin/autom4te.in (parse_args): Don't use
3212         Autoconf::General::getopt with non valid options.
3214 2002-01-17  Jim Meyering  <meyering@lucent.com>
3216         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
3217         $ac_cv_exeext so we don't use an old, invalid, cached value.
3219 2002-01-11  Akim Demaille  <akim@epita.fr>
3221         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
3222         Meyering.
3223         * doc/autoconf.texi (Function Portability): Document the strnlen
3224         limitation.
3225         (Particular Functions): Document AC_FUNC_STRNLEN.
3226         * lib/autoscan/functions: Adjust.
3228 2002-01-06  Akim Demaille  <akim@epita.fr>
3230         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
3231         package.m4, since is really depends upon configure.ac, not
3232         configure.
3233         * doc/autoconf.texi (testsuite Scripts): Adjust.
3234         * tests/Makefile.am (package.m4): New.
3235         EXTRA_DIST it since its a source.
3237 2002-01-06  Akim Demaille  <akim@epita.fr>
3239         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
3240         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
3241         and PACKAGE_BUGREPORT from here...
3242         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
3243         arguments.
3244         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
3245         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
3246         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
3247         * tests/tools.at (autoheader): Adjust.
3248         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
3250 2002-01-06  Akim Demaille  <akim@epita.fr>
3252         * bin/autoscan.in (scan_file): Use `&used'.
3254 2002-01-03  Akim Demaille  <akim@epita.fr>
3256         * doc/autoconf.texi (Output): Improved wording regarding use of
3257         AC_OUTPUT.
3258         From Olly Betts.
3260 2001-12-18  Kevin Ryde  <user42@zip.com.au>
3262         * doc/autoconf.texi (Function Portability): Add notes on sscanf
3263         sometimes needing writable input.
3265 2001-12-17  Jim Meyering  <meyering@lucent.com>
3267         * doc/autoconf.texi (New Macros): Tweak wording.
3269 2001-12-14  Akim Demaille  <akim@epita.fr>
3271         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
3272         trailing files, don't apply `-rf' to files which might not be
3273         created by configure (core, core.*, and *.core), but just `rm -f'.
3274         Suggested by Jonathan Kamens.
3276 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
3278         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
3280 2001-12-14  Akim Demaille  <akim@epita.fr>
3282         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
3284 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
3286         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
3287         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
3288         abs_srcdir, top_srcpath to abs_top_srcdir.
3289         (_AC_OUTPUT_FILES): Adjust.
3290         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
3291         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
3292         * tests/wrappl.in, tests/wrapsh.in: Adjust.
3294 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
3296         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
3297         C/Fortran linking on HP/UX, by extracting the Fortran library
3298         search path from the LPATH line in the $F77 -v output.
3300 2001-12-12  Kevin Ryde  <user42@zip.com.au>
3302         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
3303         forbidden file descriptors table.
3305 2001-11-26  Akim Demaille  <akim@epita.fr>
3307         * bin/autoscan.in (%c_keywords): Build it at top level.
3308         Map to 1 in order to simplify its uses.
3310 2001-11-26  Akim Demaille  <akim@epita.fr>
3312         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
3313         Remove $filepath, useless.
3314         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
3315         variables, they are really part of the tokens.
3316         Split the input line on spaces and then look for tokens.
3317         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
3318         because of `lex$U.$(OBJEXT)'.
3319         (&scan_files): Use "@list" instead of join.
3320         * doc/Makefile.am (CLEANFILES): Add *.fns.
3322 2001-11-26  Akim Demaille  <akim@epita.fr>
3324         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
3325         Remove, replaced by...
3326         * tests/wrappl.in: Be common for all the Perl executables.
3327         In particular autoscan and autoheader want -I.
3328         * configure.ac: Adjust.
3329         * lib/autoscan/headers: errno.h is portable.
3331 2001-11-26  Akim Demaille  <akim@epita.fr>
3333         * bin/autoscan.in (used): New.
3334         Use it.
3336 2001-11-26  Akim Demaille  <akim@epita.fr>
3338         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
3339         directives.
3340         (&scan_sh_file): Remove a duplicate pattern.
3341         (&check_configure_ac): Use long options.
3342         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
3344 2001-11-26  Akim Demaille  <akim@epita.fr>
3346         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
3347         Before, having a line containing the opening of a multi line
3348         comment made the whole line be ignored.
3350 2001-11-26  Akim Demaille  <akim@epita.fr>
3352         * doc/autoconf.texi (Using an Autotest Test Suite): New.
3353         (testsuite Scripts): Be one of its subsection.
3354         (Autotest Logs): New.
3356 2001-11-26  Akim Demaille  <akim@epita.fr>
3358         Test groups are now run two directories deeper.
3360         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
3361         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
3362         at_top_builddir.
3363         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
3364         top_srcdir, builddir and top_builddir.
3365         Use `at_*dir' relatively to the directory containing the
3366         suite, use `*dir' when relatively to the current group dir.
3368 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
3370         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
3371         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
3372         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
3373         spelling errors.
3375 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
3377         * doc/autoconf.texi (Using System Type): Add an example of `case
3378         $host' usage so people quit using `case $target' everywhere.
3380 2001-11-22  Akim Demaille  <akim@epita.fr>
3382         * doc/autoconf.texi (Installation Directory Variables): Englishoes
3383         spotted by Jim Meyering.
3385 2001-11-16  Paul Eggert  <eggert@twinsun.com>
3387         This patch implements a `long double' suggestion by Oliver Kiddle.
3389         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
3390         static, to catch errors if the value isn't known at compile-time
3391         and the compiler supports dynamic arrays.  Change its name from
3392         `_array_' to `test_array' to avoid potential name clashes.
3393         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
3394         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
3395         better than double.  Catch a bug in GCC 2.95.2 x86.
3396         * doc/autoconf.texi (C Compiler): Document the above.
3397         * NEWS: Likewise.
3399 2001-11-13  Akim Demaille  <akim@epita.fr>
3401         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
3402         hand.
3403         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
3405 2001-11-13  Akim Demaille  <akim@epita.fr>
3407         * lib/autotest/general.m4 (AT_INIT): After having run the test
3408         group, go back to the initial directory, not to at_suite_dir.
3410 2001-11-13  Akim Demaille  <akim@epita.fr>
3412         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
3413         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
3414         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
3415         option.
3416         (AT_CHECK_CONFIGURE): Use absolute paths.
3417         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
3418         The problem is still the old one: there is no means in M4 (that I
3419         know about) to create a defining macro, because there is no means
3420         to create `$1' etc., therefore, the defining macro ``swallows''
3421         all the arguments meant to the defined macro.
3423 2001-11-13  Akim Demaille  <akim@epita.fr>
3425         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
3426         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
3427         configure.ac.
3428         * tests/aclocal.m4: Remove, as it is no longer used.
3430 2001-11-13  Akim Demaille  <akim@epita.fr>
3432         * lib/autotest/general.m4: Change `tests?' into `groups?' in
3433         variable names when referring to a single test group, or to
3434         `suite' when referring to the whole test suite.
3435         `at_last_test' is removed: m4 compute at_format itself.
3436         (at_stdout, at_stder1, at_stderr): New variables.
3437         (AT_CHECK): Use them.
3439 2001-11-13  Akim Demaille  <akim@epita.fr>
3441         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
3442         in PATH.
3443         Create `testsuite.dir/003/run' instead of `testsuite.003'.
3444         Do it as soon as a test fails, don't wait till the end of the test
3445         suite.
3446         Don't remove $as_me.[0-9]*, since these files no longer exist.
3448 2001-11-13  Akim Demaille  <akim@epita.fr>
3450         * tests/tools.at: Use absolute paths, since we are no longer run
3451         in place.
3453 2001-11-13  Akim Demaille  <akim@epita.fr>
3455         Now that tests are running in their own private dir, there is no
3456         need to list the files to remove at the end of tests groups.
3458         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
3459         (AT_data_files, at_data_files): Remove.
3460         (AT_CLEANUP, AT_DATA): Simplify.
3461         (AT_INIT): Adjust.
3462         Remove the group dir if !debug && !failed.
3463         * tests/atspecific.m4: Adjust.
3465 2001-11-13  Akim Demaille  <akim@epita.fr>
3467         Start a new layout for Autotest: `testsuite' creates
3468         `testsuite.dir' in which the at-check-line etc. files are to be
3469         found, and `testsuite.dir/003' where the test group 3 is run.
3471         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
3472         at_check_line_file, at_format, at_test_normalized, at_group_dir
3473         are new variables.
3474         Create the directories.
3475         Use absolute paths for at- files.
3476         (AT_CHECK): Adjust.
3478 2001-11-11  Michael Matz  <matz@kde.org>
3480         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
3481         (m4_car2): New.
3482         (m4_car): Properly quote arguments.
3484 2001-11-13  Akim Demaille  <akim@epita.fr>
3486         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
3487         with stricter rules on LIBOBJS.
3489 2001-11-12  Paul Eggert  <eggert@twinsun.com>
3491         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
3492         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
3493         __PROTOTYPES too.
3495 2001-11-12  Akim Demaille  <akim@epita.fr>
3497         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
3499 2001-11-12  Akim Demaille  <akim@epita.fr>
3501         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3502         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
3503         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
3504         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3505         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
3506         specify to what the macro should be defined (typically to 1).
3508 2001-11-12  Akim Demaille  <akim@epita.fr>
3510         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
3511         From Jim Meyering.
3513 2001-11-12  Akim Demaille  <akim@epita.fr>
3515         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
3516         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
3517         definition used by Automake where LEX is +/- "${missing} lex" and
3518         `missing' itself contains variables.
3520 2001-11-12  Akim Demaille  <akim@epita.fr>
3522         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
3523         Now that M4sh pushes BODY, the comments were output at the end of
3524         the test suites.
3526 2001-11-08  Akim Demaille  <akim@epita.fr>
3528         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
3529         that we can trace macros from aclocal.m4.
3530         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
3531         obsoleted, and redirect to the former anyway.
3532         Reported by Ralf Corsepius.
3534 2001-11-08  Akim Demaille  <akim@epita.fr>
3536         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
3537         processed only if present.
3538         * tests/torture.at (Configuring subdirectories): Use autoreconf
3539         instead of successive calls to autoconf.
3540         Add a nonexistent subdirectory to exercise the patch above.
3541         Reported by Ralf Corsepius.
3543 2001-11-08  Kevin Ryde  <user42@zip.com.au>
3545         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
3546         doesn't accept .S files.
3548 2001-11-07  Akim Demaille  <akim@epita.fr>
3550         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
3551         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
3552         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
3553         * bin/autom4te.in (warn_forbidden): New.
3554         (handle_output): Use it.
3555         Read m4_pattern_forbid with messages.
3557 2001-11-05  Akim Demaille  <akim@epita.fr>
3559         * bin/autom4te.in (--normalize): Remove.
3560         * lib/autom4te.in: Adjust.
3562 2001-11-05  Akim Demaille  <akim@epita.fr>
3564         * tests/Makefile.am (testsuite): Rename this target as...
3565         ($(TESTSUITE)): this.
3566         From Nicolas Joly.
3568 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
3570         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
3571         the --prefix option, also remove it's argument.
3573 2001-11-05  Akim Demaille  <akim@epita.fr>
3575         * doc/autoconf.texi (testsuite Invocation): Update.
3576         (Writing testsuite.at): Update.
3578 2001-11-03  Akim Demaille  <akim@epita.fr>
3580         * doc/autoconf.texi: s/@code/@command/ where appropriate.
3582 2001-11-03  Akim Demaille  <akim@epita.fr>
3584         * lib/Autom4te/General.pm: (&catfile, &canonfile)
3585         (&file_name_is_absolute): New, wrappers around routines from
3586         File::Spec.
3587         Use and export them.
3588         (&find_configure_ac): Optionally take a directory where to look at.
3589         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
3590         the arguments.
3591         Default @ARGV to `.', not find_configure_ac.
3592         (&autoreconf): Argument is a directory.
3593         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
3594         * doc/autoconf.texi (autoreconf Invocation): Update.
3596 2001-11-03  Akim Demaille  <akim@epita.fr>
3598         * lib/Autom4te/General.pm (@export_vars, @export_subs)
3599         (@export_forward_subs): New.
3600         Add basename, dirname, and fileparse.
3601         (@EXPORT): Adjust.
3602         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
3603         Don't look for aclocal flags if we already know aclocal is not
3604         used.
3605         Move aclocal.m4t only if it exists.
3606         Reported by Ezra Peisach.
3608 2001-11-03  Akim Demaille  <akim@epita.fr>
3610         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
3611         passed on command line, defaulting to ./configure.ac if present.
3612         (&maybe_autoreconf, File::Find): Remove, unused.
3613         (&autoreconf): If autoconf is not used, don't try to trace.
3615 2001-11-02  Akim Demaille  <akim@epita.fr>
3617         * configure.ac: Bump to 2.52g.
3619 2001-11-02  Akim Demaille  <akim@epita.fr>
3621         Version 2.52f.
3623 2001-11-02  Akim Demaille  <akim@epita.fr>
3625         * config/config.guess, config/config.sub, doc/standards.texi:
3626         * config/lispdir.m4: Update from masters.
3627         * configure.ac: Bump to 2.52f.
3629 2001-11-02  Akim Demaille  <akim@epita.fr>
3631         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
3632         Don't run aclocal when aclocal.m4 is not from aclocal.
3633         From Ezra Peisach.
3634         Don't run libtoolize and gettextize if --install is not given.
3636 2001-11-01  Paul Eggert  <eggert@twinsun.com>
3638         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
3639         be invoked before _AS_LINENO_PREPARE.
3640         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
3641         than character ranges.
3643         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
3644         invoking AS_BASENAME.  Set the locale variables to 'C' if
3645         possible, as POSIX requires this to get the traditional
3646         behavior.
3647         * doc/autoconf.texi (Special Shell Variables): Describe the above.
3649 2001-10-31  Paul Eggert  <eggert@twinsun.com>
3651         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
3652         with {}, as that triggers a bug in Bash 2.05.
3654         (_AS_LINENO_PREPARE): Use Sed rather than
3655         Awk.  Fix the sed prepass to work even if there are multiple
3656         instances of $LINENO on the same line.  Do not substitute for
3657         other variables like $LINENOT.  Do not check file dates; such a
3658         check is unreliable on sufficiently fast machines, and removing
3659         the check makes the code simpler and more reliable.  Check for
3660         output and chmod failures.
3662         * doc/autoconf.texi (Special Shell Variables): Document
3663         the above.
3665 2001-10-31  Akim Demaille  <akim@epita.fr>
3667         * tests/Makefile.am (atconfig): Remove this target, Automake
3668         handles it now.
3670 2001-10-31  Akim Demaille  <akim@epita.fr>
3672         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
3673         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
3674         provided, while it is optional.
3675         * configure.ac: Adjust.
3677 2001-10-26  Paul Eggert  <eggert@twinsun.com>
3679         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
3680           lib/Autom4te/Struct.pm:
3681         Require Perl 5.005_03 instead of just 5.005, as some tests fail
3682         with 5.005_02.
3684         * doc/autoconf.texi (Special Shell Variables): Document some
3685         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
3687         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
3688         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
3689         eval $LINENO is not portable in practice.
3691 2001-10-24  Akim Demaille  <akim@epita.fr>
3693         * lib/Autom4te/General.pm (backname): New.
3695 2001-10-24  Akim Demaille  <akim@epita.fr>
3697         * m4/: Remove, merged into...
3698         * config/: here.
3700 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
3702         * doc/autoconf.texi (Shellology): Mention the problems with bash
3703         2.05's use of ANSI quoting in its `set' builtin.
3705 2001-10-22  Paul Eggert  <eggert@twinsun.com>
3707         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
3708         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3709         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3710         POSIX decided to standardize on the int flavor of strerror_r.
3711         Always do char* test, as there's no reason not to.
3712         Assign to a char* var, to catch strerror_r that returns int*.
3714         * doc/autoconf.texi (Particular Functions):
3715         Document the above changes.  Also, document the fact that
3716         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
3718         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
3720 2001-10-20  Akim Demaille  <akim@epita.fr>
3722         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
3723         the executable was missing from the log.
3725 2001-10-20  Akim Demaille  <akim@epita.fr>
3727         * lib/Autom4te/General.pm (&update_file): If destination is
3728         unchanged, remove the source.
3729         (&up_to_date_p): Don't be verbose, be debug.
3730         * bin/autoreconf.in: No longer support --m4dir.
3731         (&autoreconf): Display the full path of the configure.ac we are
3732         studying.
3733         Trace it only once.
3734         Be sure to honor --force with gettextize.
3735         Always run aclocal.
3736         * doc/autoconf.texi: Adjust.
3738 2001-10-20  Akim Demaille  <akim@epita.fr>
3740         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
3741         Remove, dead.
3742         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
3743         `intl' is already present, as it refuses unless --force.
3744         (&parse_args): Use -I, --include instead of the old Autoconf
3745         options.
3746         ($localdir, $autoconf_dir): Remove.
3747         (@include): New.
3748         (&maybe_autoreconf): New, to preserve $_ for File::Find.
3750 2001-10-19  Jens Petersen  <petersen@redhat.com>
3752         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
3753         * doc/autoconf.texi (Particular Programs): Likewise.
3755 2001-10-19  Akim Demaille  <akim@epita.fr>
3757         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
3758         file in @configure_input@.
3759         Don't mention `automatically' in addition to `generated'.
3760         * tests/torture.at (#define header templates): Adjust.
3762 2001-10-19  Akim Demaille  <akim@epita.fr>
3764         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
3765         comment, explain how to install automatic mode selection.
3766         From Russ Allbery.
3768 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
3770         * bin/autoreconf.in (autoreconf): Display the path to the
3771         configure.ac being studied.
3773 2001-10-18  Paul Eggert  <eggert@twinsun.com>
3775         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
3776         long, to work around a bug in the HP C compiler version HP92453-01
3777         B.11.11.23709.GP.
3779         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
3780         (AS_BASENAME_EXPR): New macro.
3781         (AS_BASENAME_SED): Do not assume GNU sed semantics.
3782         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
3783         and fall back on 'sed' only if the other two fail.  This makes
3784         AS_BASENAME act more like AS_DIRNAME.
3785         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
3786         contains white space.
3787         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
3788         Use AS_DIRNAME, since I think it's now DOS-friendly.
3789         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
3790         Allow "dirname //FOO" to return either / or //, as POSIX allows
3791         either behavior.
3793 2001-10-10  Akim Demaille  <akim@epita.fr>
3795         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
3796         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
3797         From Eric Sharkey.
3799 2001-10-10  Akim Demaille  <akim@epita.fr>
3801         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
3802         m4_define, since...
3803         (_AS_ECHO_N): AS_REQUIREs it.
3805 2001-10-10  Akim Demaille  <akim@epita.fr>
3807         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
3808         (AC_INCLUDES_DEFAULT): Move to...
3809         * lib/autoconf/headers.m4: here.
3810         * lib/autoconf/types.m4: Comment changes.
3811         * doc/autoconf.texi: Specify where the default includes are used
3812         in the macro prototypes.
3814 2001-10-09  Akim Demaille  <akim@epita.fr>
3816         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
3817         transition code.
3819 2001-10-08  Akim Demaille  <akim@epita.fr>
3821         * bin/autoreconf.in (&autoreconf): Remove debugging code.
3822         (&parse_args): Pass verbosity/debugging options to subtools when
3823         --debug, not when --verbose.
3824         * lib/autom4te.in (Autoreconf-preselections): New.
3825         (Autoconf): Use it.
3827 2001-10-08  Akim Demaille  <akim@epita.fr>
3829         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
3831 2001-10-08  Akim Demaille  <akim@epita.fr>
3833         * doc/autoconf.texi (autoreconf Invocation): Adjust.
3834         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
3836 2001-10-08  Akim Demaille  <akim@epita.fr>
3838         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
3839         (Syntax of the shell scripts): Don't.
3840         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
3841         bother with $force since...
3842         * lib/Autom4te/General.pm: does.
3844 2001-10-08  Akim Demaille  <akim@epita.fr>
3846         * bin/autoreconf.in: Rewrite in Perl.
3847         * configure.ac: Adjust.
3848         * lib/Autom4te/General.pm (&up_to_date_p): New.
3849         * bin/autom4te.in (&up_to_date_p): Use it.
3850         Rename as...
3851         (&up_to_date): this.
3853 2001-10-08  Akim Demaille  <akim@epita.fr>
3855         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
3856         (m4_list_cmp): Use $0 to reinvoke yourself.
3857         (m4_patsubsts): New.
3858         (m4_strip, m4_version_unletter): Use it.
3859         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
3861 2001-10-08  Akim Demaille  <akim@epita.fr>
3863         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
3864         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
3865         * lib/autoconf/types.m4, lib/autotest/general.m4,
3866         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
3867         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
3868         m4_bregexp, m4_bpatsubst, and m4_bmatch.
3869         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
3871 2001-10-08  Akim Demaille  <akim@epita.fr>
3873         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
3875 2001-10-08  Akim Demaille  <akim@epita.fr>
3877         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
3878         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
3879         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
3880         * tests/tools.at, tests/m4sh.at: Use it.
3881         * tests/m4sh.at: Don't rely on Autoconf macros.
3882         (DIRNAME_TEST): Also exercise the expr variant.
3883         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
3884         preferred M4sugar extension is now `.4s'.
3885         * tests/README: Remove.
3887 2001-10-08  Akim Demaille  <akim@epita.fr>
3889         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
3890         (m4_provide_if): this.
3891         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
3892         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
3893         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
3894         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
3896 2001-10-08  Akim Demaille  <akim@epita.fr>
3898         Use `add-log-current-defun-function' for ChangeLog creation.
3899         Suggested by Tom Tromey.
3901         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
3902         (autotest-mode): Adjust.
3903         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
3904         'comment-region onto `C-c ;'.
3905         Comments are `#', not `dnl'.
3906         (autoconf-current-defun): New.
3907         (autoconf-font-lock-keywords): Recognize `m4_defun'.
3909 2001-10-08  Akim Demaille  <akim@epita.fr>
3911         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
3912         * lib/m4sugar/m4sh.m4: here.
3913         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
3914         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
3915         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
3916         include handle the m4_pattern_*, no longer push the
3917         BODY diversion nor set the /bin/sh line, AS_INIT does it.
3918         * lib/autotest/general.m4 (AT_INIT): Likewise.
3919         * tests/base.at: Adjust the tests to use AS_INIT.
3920         * tests/tools.at (AT_DATA_FORBIDDEN): New.
3921         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
3922         Autoconf.
3924 2001-10-07  Paul Eggert  <eggert@twinsun.com>
3926         * doc/autoconf.texi (config.status Invocation):
3927         CONFIG_SHELL defaults to a shell that supports LINENO if available.
3929         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
3930         shell does not support LINENO, and if CONFIG_SHELL is unset or
3931         empty, and if we can find a shell that does support LINENO,
3932         then set CONFIG_SHELL to that shell and then re-execute
3933         ourselves with CONFIG_SHELL.
3935 2001-10-05  Paul Eggert  <eggert@twinsun.com>
3937         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
3938         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
3939         build of $(TESTSUITE).
3941 2001-10-05  Akim Demaille  <akim@epita.fr>
3943         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
3944         iff we are a bareword.
3945         Reported by Raja R Harinath.
3947 2001-10-05  Akim Demaille  <akim@epita.fr>
3949         * tests/m4sh.at (LINENO): New.
3950         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
3951         PATH_SEPARATOR before using it.
3952         Fix the absolute path case/esac pattern.
3953         Provide $0 as fallback for as_myself.
3954         Reported by Raja R Harinath.
3956 2001-10-05  Akim Demaille  <akim@epita.fr>
3958         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
3959         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
3961 2001-10-05  Akim Demaille  <akim@epita.fr>
3963         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
3964         (AS_SHELL_SANITIZE): here.  Use it.
3965         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
3966         From Paul Eggert.
3968 2001-10-04  Akim Demaille  <akim@epita.fr>
3970         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
3971         combination of Awk and sed to replace $LINENO.
3973 2001-10-02  Paul Eggert  <eggert@twinsun.com>
3975         * doc/autoconf.texi (Limitations of Builtins): You can't use
3976         "source"; it's not portable.  Remove confusing and
3977         somewhat-incorrect example involving "." and "/".
3979         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
3980         compatibility with POSIX shells.
3982 2001-10-02  Akim Demaille  <akim@epita.fr>
3984         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
3985         instead of exec'ing to preserve $0 and $@.
3987 2001-10-01  Akim Demaille  <akim@epita.fr>
3989         * tests/testsuite (AT_INIT) <at_pass_list>: New.
3990         Don't run twice the same test.
3992 2001-10-01  Akim Demaille  <akim@epita.fr>
3994         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
3995         No longer output the list of tests.
3996         <--list>: New option.
3997         <--full-help>: Remove.
3998         Complete the short/long options duality.
3999         Various small adjustments.
4001 2001-10-01  Akim Demaille  <akim@epita.fr>
4003         * doc/autoconf.texi: Use @kbd for user input.
4004         Always use `$' as shell prompt.
4006 2001-09-30  Paul Eggert  <eggert@twinsun.com>
4008         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
4009         Don't use nested parenthesization.  This patch was originally
4010         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
4011         but somehow it didn't get incorporated then.
4012         * doc/autoconf.texi (Limitations of Usual Tools):
4013         Clarify remark about sed and nested parenthesization.
4015         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
4016         Report an error if the size cannot be determined even though
4017         the type exists.
4018         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4019         Check for `expr' arithmetic overflow, and for compilation failure,
4020         and invoke a new argument $4 if either is discovered.
4021         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
4022         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
4024 2001-09-28  Akim Demaille  <akim@epita.fr>
4026         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
4027         * m4/lispdir.m4: New.
4028         * aclocal.m4, configure.ac: Adjust.
4030 2001-09-28  Akim Demaille  <akim@epita.fr>
4032         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
4033         (AT_TESTED): this.
4034         (AT_INIT): More the wrapped section to where it will be expanded.
4035         Output `AT_tested' only when existing.
4036         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
4038 2001-09-27  Akim Demaille  <akim@epita.fr>
4040         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
4041         generates too many bug reports.
4043         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
4044         status when executing the ACTION-IF-FALSE.
4045         * tests/base.at (AC_TRY_*): Rename as...
4046         (AC_TRY_COMMAND): this.
4047         (AC_RUN_IFELSE): New.
4048         * tests/compile.at (Extensions, C keywords)
4049         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
4050         (Broken/missing compilers, AC_PROG_CPP with warnings)
4051         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
4052         * tests/c.at (Extensions, C keywords)
4053         (Broken/missing compilers, AC_PROG_CPP with warnings)
4054         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
4055         (AC_PROG_CPP requires AC_PROG_CC): here and...
4056         * tests/fortran.at (GNU Fortran 77): there.
4057         * doc/autoconf.texi (autoconf Invocation): Fix the example:
4058         AC_TRY_RUN is about compilation, not shell commands.
4059         (Test Programs): AC_TRY_RUN works as used to be advertised.
4061 2001-09-27  Akim Demaille  <akim@epita.fr>
4063         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
4064         Raja R Harinath:
4065         Be sure to detect when $LINENO always returns the same value.
4066         Look for the original script, basename($0) is certainly not
4067         enough.
4068         Pass the CLI arguments to `$as_me.lineno'.
4070 2001-09-25  Akim Demaille  <akim@epita.fr>
4072         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
4073         Be sure the close and reopen the LOG fd before and after using tee
4074         to extend the log.
4075         <at_tests_pattern>: Adjust to the new format of at_help_all.
4077 2001-09-23  Akim Demaille  <akim@epita.fr>
4079         * bin/autom4te.in (parse_args): There can be several invocations
4080         of --language now.
4082 2001-09-23  Akim Demaille  <akim@epita.fr>
4084         * doc/autoconf.texi (Top): Wrap in @ifnottex.
4086 2001-09-23  Akim Demaille  <akim@epita.fr>
4088         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
4089         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
4090         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
4091         builddir, buildpath, top_builddir, and top_buildpath.
4092         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
4093         the current directory.
4094         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
4095         variables *before* changing the current directory.
4096         Skip nonexistent dirs.
4097         * doc/autoconf.texi (Preset Output Variables): Document these
4098         variables.
4100         * lib/autotest/general.m4: Do not reset AT_victims.
4101         Don't compute at_srcdir nor at_top_srcdir.
4103         * tests/tools.at: Hence use top_srcdir.
4105         * tests/Makefile.am, tests/autoconf, tests/autoheader,
4106         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
4107         Remove.
4108         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
4109         * tests/wrapsh.in, tests/autoupdate.in: New.
4110         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
4111         * configure.ac: Build the position independent wrappers.
4113         * man/Makefile.am: Now that test wrappers are position
4114         independent, use them and drop dark envvar magic.
4116 2001-09-23  Akim Demaille  <akim@epita.fr>
4118         * doc/autoconf.texi (Common Shell Constructs): Rename as...
4119         (Programming in M4sh): this.
4120         Promote to @section.
4122 2001-09-23  Akim Demaille  <akim@epita.fr>
4124         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
4125         Pass $at_debug_args to the rerun test suite.
4126         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
4127         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
4128         From Paul Eggert.
4130 2001-09-23  Akim Demaille  <akim@epita.fr>
4132         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
4134 2001-09-23  Akim Demaille  <akim@epita.fr>
4136         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
4137         over-escaping.
4139 2001-09-23  Akim Demaille  <akim@epita.fr>
4141         * lib/Autom4te/General.pm (&debug): New.
4142         * bin/autom4te.in ($language): Move to...
4143         (parse_args): here.
4144         Handle --language in languages.
4145         * lib/autom4te.in (Automake-selections, Autoheader-selections)
4146         (Autoscan-selections): New.
4147         (Autoconf): Adjust.
4149 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
4151         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
4152         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
4153         to match current versions from CVS Automake.
4155 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
4157         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
4158         for $LINENO.
4160 2001-09-22  Akim Demaille  <akim@epita.fr>
4162         * lib/autoconf/autotest.m4: Create `package.m4'.
4163         * tests/Makefile.am (package.m4): Remove.
4165 2001-09-22  Akim Demaille  <akim@epita.fr>
4167         Rely on `$LINENO' when possible instead of `__oline__'.
4169         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
4170         `$LINENO' support replacement when not supported.
4171         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
4172         them explicitly to be sure they are not output before this section
4173         (via m4_require).  Cosmetic only.
4174         * lib/autoconf/c.m4, lib/autoconf/general.m4,
4175         * lib/autoconf/programs.m4: Replace all the occurrences of
4176         `__oline__' with `$LINENO'.
4177         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
4179 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
4181         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
4182         character (u: -> ue) in a code comment.
4183         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
4184         it works.
4186 2001-09-21  Akim Demaille  <akim@epita.fr>
4188         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
4189         Suggested by Jim Meyering.
4191 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4193         * lib/autoconf/programs.m4: Use extensions listed in
4194         $ac_executable_extensions when looking for programs.
4196 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4198         * lib/autoconf/general.m4: Fix a small Englisho.
4199         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
4200         setting up ac_dir_suffix and ac_top_builddir.
4201         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
4203 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4205         * doc/autoconf.texi (File System Conventions): Clarify the use of
4206         PATH_SEPARATOR.
4207         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
4208         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
4209         be used instead of ':'.
4210         * lib/autotest/general.m4: Replace occurrences of ':' in
4211         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
4213 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4215         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
4216         arguments.  Fixed a typo.
4218 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4220         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
4221         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
4223 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4225         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
4226         * bin/autoupdate.in: Ditto.
4227         * bin/autoheader.in: Reworded a few comments.
4228         * bin/autoconf.in: Reworded help text for a few options.
4229         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4230         * bin/autoscan.in, bin/autoupdate.in: Ditto.
4232 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4234         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
4235         already have $file).  Set output files to binary mode (helps avoid
4236         CR issues on DOSish systems).
4238 2001-09-19  Akim Demaille  <akim@epita.fr>
4240         * lib/autotest/general.m4: Englishoes.
4241         From Tim Van Holder and Alexey Mahotkin.
4243 2001-09-18  Paul Eggert  <eggert@twinsun.com>
4245         * doc/autoconf.texi (Common Shell Constructs): New node,
4246         documenting AS_DIRNAME.
4247         (Limitations of Usual Tools): Refer to it when discussing dirname.
4248         Also, update discussion of POSIX standard to reflect latest draft.
4250         * lib/autoconf/c.m4:
4251         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
4253         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4254         Do not pass a first argument with leading '-'
4255         to expr, by parenthesizing initial integers that might be negative.
4257         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
4258         now merely checks whether it is an error to pass an argument
4259         to getpgrp.
4261         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
4262         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
4263         whether it is a (compile-time) error to pass an argument to
4264         getpgrp.  This simpler test supports the revised documentation,
4265         and is all that AC_FUNC_GETPGRP's users really need.
4267 2001-09-18  Akim Demaille  <akim@epita.fr>
4269         * doc/autoconf.texi (Limitations of Make) <$<>: New.
4271 2001-09-18  Akim Demaille  <akim@epita.fr>
4273         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
4274         `{}'.
4275         * lib/autotest/general.m4 (AT_INIT): Adjust.
4277 2001-09-18  Paul Wagland   <paul@wagland.net>
4279         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
4280         correctly.
4281         Add test for AS_BASENAME.
4282         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
4283         added test. It now correctly handles /1/2/3/, returning '3' not ''.
4284         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
4285         * tests/base.at: Fixed the expected responses. The old ones were
4286         one line out...
4287         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
4288         the documentation claims it should (and how it behaved in 2.13).
4290 2001-09-18  Akim Demaille  <akim@epita.fr>
4292         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
4293         the AC_CONFIG_COMMANDS invocation.
4294         This also solves the name clash problems.
4295         Don't set the package's ID.
4296         * lib/m4sugar/Makefile.am (version.m4): Revamp.
4297         No longer to be shipped.
4298         (version.in): Remove.
4299         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
4300         * lib/autoconf/status.m4: Adjust.
4301         Use `m4_PACKAGE_STRING'.
4302         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
4303         the only optional argument is the name of the test suite.
4304         Expect `package.m4' to define the package signature.
4305         * lib/autom4te.in (Autotest): Add `package.m4?'.
4306         * tests/Makefile.am (package.m4): New.
4307         * tests/suite.at: ifnames is a victim.
4309 2001-09-18  Akim Demaille  <akim@epita.fr>
4311         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
4312         AC_LIBSOURCE, AC_CONFIG_FILES.
4313         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
4314         program version string doesn't match the package's.
4315         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
4316         after `(cached)'.
4318 2001-09-17  Paul Eggert  <eggert@twinsun.com>
4320         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4321         Allow expression to return any value that can fit into unsigned long
4322         (not int, as before).  Check for output errors.
4324 2001-09-17  Bruno Haible <haible@ilog.fr>
4326         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4327         Always include <stdio.h> and <stdlib.h>. Evaluate
4328         the expression in an extra function before these includes. Call
4329         fprintf "%d" only after ensuring the argument is of type 'int'.
4330         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
4332 2001-09-17  Paul Eggert  <eggert@twinsun.com>
4334         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
4335         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
4336         fatal errors, and AC_CHECK_LIB causes it to include libraries even
4337         when they don't exist.
4339         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
4340         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
4341         need it.
4343         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
4344         version with the version used by fileutils 4.1, except use
4345         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
4346         we don't need it.
4348         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
4350 2001-09-13  Akim Demaille  <akim@epita.fr>
4352         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
4353         _first_.
4354         Reported by Gerrit P. Haase.
4356 2001-09-13  Akim Demaille  <akim@epita.fr>
4358         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
4359         m4_defn'ing is valid.
4361 2001-09-13  Akim Demaille  <akim@epita.fr>
4363         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
4364         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
4365         Use it.
4367 2001-09-13  Akim Demaille  <akim@epita.fr>
4369         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
4370         m4_match.
4371         (m4_re_escape): New.
4372         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
4373         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
4374         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
4375         Likewise.
4376         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
4377         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
4378         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
4379         AT_tests_all for consistency.
4380         Set at_victims.
4381         (AT_VICTIMS): Similar to AT_KEYWORDS.
4382         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
4384 2001-09-13  Akim Demaille  <akim@epita.fr>
4386         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
4388 2001-09-13  Akim Demaille  <akim@epita.fr>
4390         * lib/autotest/general.m4 (AT_INIT): Create and remove
4391         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
4392         test suites can cohabit.
4394 2001-09-13  Akim Demaille  <akim@epita.fr>
4396         * tests/mktests.sh: Don't output banners for empty test files.
4398 2001-09-13  Akim Demaille  <akim@epita.fr>
4400         Test suites can be run independently of configure.
4402         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
4403         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
4404         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
4405         ECHO_N etc.
4406         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
4407         and at_c.
4408         * lib/autotest/general.m4: Use ECHO_*.
4410 2001-09-13  Akim Demaille  <akim@epita.fr>
4412         * bin/ifnames.in: Rewrite in Perl.
4413         * configure.ac: Don't look for AWK.
4414         * tests/tools.at (AWK portability): Remove.
4415         (Syntax of the shell scripts): Don't check ifnames.
4416         (AT_CHECK_PERL_SYNTAX): New.
4417         (Syntax of the Perl scripts): Check ifnames.
4418         * tests/ifnames: New.
4420 2001-09-13  Akim Demaille  <akim@epita.fr>
4422         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
4423         test group titles.
4424         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
4425         Remove all the other keywords.
4427 2001-09-10  Akim Demaille  <akim@epita.fr>
4429         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
4430         SETUP: no longer used.
4431         Support -k, --keywords.
4432         <at_help>: Be `no', `short', or `long'.
4433         <at_help_all>: New variable.
4434         (AT_KEYWORDS): New.
4435         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
4436         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
4437         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
4438         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
4439         No longer fill the HELP diversion.
4440         (AT_CLEANUP): Use them.
4441         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
4442         (m4_list_append): Remove.
4444         Spread a few keywords in the Autoconf test suite.
4446 2001-09-10  Akim Demaille  <akim@epita.fr>
4448         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
4449         PATH_SEPARATOR, let M4sh compute it.
4450         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
4451         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
4452         Move to...
4453         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
4454         Simplify when the path is not a literal.
4455         (AS_UNAME): Use it to report PATH.
4456         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
4457         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
4458         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
4459         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
4460         normalize the path, and to look for victims.
4461         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
4462         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
4464 2001-09-07  Akim Demaille  <akim@epita.fr>
4466         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
4467         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
4468         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
4469         related variables into `at_package_*'.
4470         * lib/autotest/general.m4 (AT_VICTIMS): New.
4471         (AT_INIT): Adjust for stand-alone/embedded test suites.
4472         (AS_MESSAGE_LOG_FD): Define and use it.
4473         * tests/suite.at (AT_VICTIMS): Use it.
4474         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
4475         at_version.
4477 2001-09-07  Akim Demaille  <akim@epita.fr>
4479         Move toward possibly stand-alone test suites.
4481         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
4482         in addition, it introduces useless differences in logs.
4483         (AT_INIT): Let atconfig and atlocal be both optional.
4484         Adjust PATH computation.
4485         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
4487 2001-09-07  Akim Demaille  <akim@epita.fr>
4489         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
4490         m4sugar/version.m4.
4492 2001-09-05  Akim Demaille  <akim@epita.fr>
4494         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
4495         to avoid GCC warnings.
4496         From Uwe Seimet.
4498 2001-09-05  Akim Demaille  <akim@epita.fr>
4500         * bin/autom4te.in: --language is -l, not -s.
4502 2001-09-05  Akim Demaille  <akim@epita.fr>
4504         Be ready to handle filenames as stupid as `dnl.at', for if even
4505         the maintainer is dumb enough to do that...
4507         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
4508         excellence in M4 quotation: consider `__file__' is active.
4510         And BTW, when invoking m4, pass the --include in the right order:
4511         the wrong one.
4513         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
4514         4m.
4516 2001-09-05  Akim Demaille  <akim@epita.fr>
4518         * lib/Autom4te/XFile.pm: New lib file.
4519         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
4520         * bin/autoheader.in: Use it.
4522 2001-09-05  Akim Demaille  <akim@epita.fr>
4524         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
4525         defined.
4527 2001-09-05  Akim Demaille  <akim@epita.fr>
4529         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
4530         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
4532         * bin/autoscan.in: Use `getopt' and `find_files' etc.
4533         Add -I, --include support.
4534         * doc/autoconf.texi (autoscan Invocation): Adjust.
4536 2001-09-05  Akim Demaille  <akim@epita.fr>
4538         CVS GNU M4 doesn't like `undefine(undefined)'.
4540         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
4541         New, extracted from main.
4542         Use IO::File wherever possible.
4543         (input.m4): Be constant, use -I instead of hard coding $tmp.
4544         Therefore be a quoted heredoc.
4545         Don't invoke `_au_disable', since ac was not loaded, but just
4546         `unm4.m4'.
4548 2001-08-31  Akim Demaille  <akim@epita.fr>
4550         Version 2.52d.
4552 2001-08-31  Akim Demaille  <akim@epita.fr>
4554         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
4555         previous patch.
4556         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
4558 2001-08-31  Akim Demaille  <akim@epita.fr>
4560         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
4561         serious problems handling heredocs in heredocs.
4562         Reported by Nicolas Joly.
4564 2001-08-31  Akim Demaille  <akim@epita.fr>
4566         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
4567         (Making testsuite Scripts): Update.
4569 2001-08-31  Akim Demaille  <akim@epita.fr>
4571         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
4573 2001-08-31  Akim Demaille  <akim@epita.fr>
4575         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
4576         (testsuite Scripts): There is no such thing as `atconfig.in'.
4577         And actually one diagram is missing: test suite runtime.
4579 2001-08-31  Akim Demaille  <akim@epita.fr>
4581         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
4582         inverse order.
4584 2001-08-31  Akim Demaille  <akim@epita.fr>
4586         * bin/autoupdate.in (@include): `installcheck' revealed the path
4587         to m4sugar was lacking!
4589 2001-08-31  Akim Demaille  <akim@epita.fr>
4591         * man/Makefile.am (.x.1): We really have to pass
4592         autom4te_perllibdir.
4594 2001-08-31  Akim Demaille  <akim@epita.fr>
4596         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
4597         debug scripts, in particular passing explicitly listed tests to
4598         run is stupid.
4600 2001-08-31  Akim Demaille  <akim@epita.fr>
4602         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
4603         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
4604         Use directly autom4te, not autoconf.
4605         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
4607 2001-08-31  Akim Demaille  <akim@epita.fr>
4609         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
4610         * bin/autoheader.in (%symbol): Strip arguments of macros.
4612 2001-08-31  Akim Demaille  <akim@epita.fr>
4614         * doc/autoconf.texi: Catch up -I, --include changes.
4616 2001-08-31  Akim Demaille  <akim@epita.fr>
4618         * bin/autom4te.in (&parse_args): Die on unknown languages.
4619         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
4620         need for autoconf.
4621         Promote --include over --macrodir and other obsolete options.
4623 2001-08-31  Akim Demaille  <akim@epita.fr>
4625         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
4626         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
4627         * bin/autom4te.in ($autoconf): Pass --force.
4628         `print $out' doesn't print `$_' but `$out'.
4629         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
4630         (autoheader): Pass --force since the test suite goes too fast for
4631         the time stamps.
4632         Adjust to the new autoheader messages.
4634 2001-08-31  Akim Demaille  <akim@epita.fr>
4636         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
4637         Check the completeness of the #template.
4638         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
4639         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
4640         invocation.
4642 2001-08-31  Akim Demaille  <akim@epita.fr>
4644         * lib/Autom4te/General.pm (&find_file, &update_file): New.
4645         * bin/autoupdate.in, bin/autoheader.in: Adjust.
4646         Drop AC_MACRODIR dead for real.
4647         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
4648         `autoheader: `config.hin' is created'.
4649         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
4651 2001-08-31  Akim Demaille  <akim@epita.fr>
4653         * bin/autoheader.in: Rewrite in Perl.
4654         * tests/autoheader: Adjust.
4656 2001-08-31  Akim Demaille  <akim@epita.fr>
4658         * bin/autoconf.in (--include, -I): New option.
4659         Map --localdir, --autoconf-dir onto it.
4660         Forward autom4te's options instead of interpreting them.
4661         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
4662         There is no such envvar since the inception of autom4te.cfg.
4663         * bin/autom4te.in (&parse_args): Uniquify `@include'.
4664         * bin/autoupdate.in: Adjust, and perform more control.
4665         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
4666         * tests/autoconf: Dittowise.
4668 2001-08-31  Akim Demaille  <akim@epita.fr>
4670         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
4671         * bin/autom4te.in (&find_file): Support `FILE?' standing for
4672         optionally `FILE'.
4673         Use -e, not -f, since /dev/null for instance is OK.
4674         (&parse_args): Adjust.
4675         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
4677 2001-08-31  Akim Demaille  <akim@epita.fr>
4679         * configure.ac: Also find tested executables in bin.
4680         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
4681         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
4682         installed peer executables, only PATH is allowed to resolve it.
4683         Pass `autoconf_dir' via options, not via invisible envvars.
4684         * lib/Autom4te/General.pm (&find_peer): Remove.
4685         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
4686         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
4687         * man/Makefile.am: Let help2man rely on PATH instead of trying to
4688         find the executables for it.
4689         * tests/Makefile.am: Major cleanup.  Too lazy to document...
4690         * tests/atlocal.in: Remove all the obscure envvar manipulations.
4691         We only need PERL.
4692         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
4693         indeed related to running the test suite, while passing
4694         --autoconf-dir and others is related to running non installed
4695         Autoconf executables.  So don't do that, leave it to...
4696         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
4697         * tests/autoscan: New.
4698         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
4699         refer to library files: rely on --language.
4701 2001-08-29  Akim Demaille  <akim@epita.fr>
4703         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
4704         s/--set/--language/.
4706 2001-08-29  Akim Demaille  <akim@epita.fr>
4708         * doc/autoconf.texi: Strip the @nodes.
4709         Suggested by Paul Eggert.
4710         (Initializing configure): Typo.
4712 2001-08-29  Akim Demaille  <akim@epita.fr>
4714         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
4715         Suggested by Paul Eggert.
4717 2001-08-29  Akim Demaille  <akim@epita.fr>
4719         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
4720         download in a tmp dir.
4722 2001-08-29  Akim Demaille  <akim@epita.fr>
4724         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
4725         case insensitive OSes out there :(
4726         From Tim Van Holder.
4728 2001-08-29  Akim Demaille  <akim@epita.fr>
4730         * lib/autom4te.in: New.
4731         * lib/Makefile.am (edit, autom4te.cfg): New.
4732         * bin/autom4te.in (BEGIN): Simplify.
4733         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
4734         (&load_configuration): New.  Use it.
4735         (&parse_args): Support --mode, --set, and --melt.
4736         * bin/autoconf.in: Simplify and adjust.
4737         * tests/Makefile.am (AUTOMAKE): Use --set.
4738         * tests/atlocal.in: Adjust.
4739         * BUGS: distcheck and check are weak.
4741 2001-08-29  Akim Demaille  <akim@epita.fr>
4743         * lib/autotest/general.m4: Use
4744                 foo=`(command) 2>/dev/null`
4745         not
4746                 foo=`command` 2>/dev/null
4747         (at-devnull): Rename as...
4748         (AT-devnull): this.
4749         (--clean): Remove AT-* files too.
4750         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
4751         Reported by Nicolas Joly.
4753 2001-08-28  Akim Demaille  <akim@epita.fr>
4755         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
4756         quotes inside single quotes.
4757         Reported by Nicolas Joly.
4759 2001-08-28  Kevin Ryde  <user42@zip.com.au>
4761         * doc/autoconf.texi (Function Portability): Mention C right shifts.
4763 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
4765         * lib/autotest/general.m4: Reword some messages.
4766         (AT_INIT): Check for the `times' builtin before using it.
4767         Support test ranges as arguments to the testsuite.
4768         Have -e imply -d as the help text suggested.
4770 2001-08-27  Akim Demaille  <akim@epita.fr>
4772         * Makefile.maint: Formatting changes.
4773         (do-po-update, po-update, cvs-update, update): New targets.
4774         (AMTAR): Remove.
4776 2001-08-27  Akim Demaille  <akim@epita.fr>
4778         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
4779         <at_cmd_line>: New.
4780         Pass it to debug-*.sh scripts.
4781         <AUTOTEST_PATH>: May contain absolute dir names.
4783 2001-08-27  Akim Demaille  <akim@epita.fr>
4785         * lib/autotest/general.m4 (AT_INIT): Log the command line.
4786         Support `VAR=VAL' as arguments.
4787         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
4788         may be set via the command line.
4790 2001-08-27  Akim Demaille  <akim@epita.fr>
4792         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
4793         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
4794         first the build dirs, then the src dirs.
4795         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
4797 2001-08-27  Akim Demaille  <akim@epita.fr>
4799         * lib/autotest/general.m4 (AT_INIT): Output the definition of
4800         at_data_files earlier.
4801         (--clean, -c): New option.
4802         * tests/Makefile.am: Use this option.
4804 2001-08-27  Akim Demaille  <akim@epita.fr>
4806         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
4807         `ac_top_builddir' to mimic Automake's vocabulary, which much more
4808         readable.
4809         Adjust callers.
4810         * doc/autoconf.texi (Configuration Actions): Document the vars
4811         available in commands.
4812         Emphasize the risks of collisions in init-cmds.
4814 2001-08-27  Akim Demaille  <akim@epita.fr>
4816         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
4817         (Initializing configure): this new node.
4819 2001-08-27  Akim Demaille  <akim@epita.fr>
4821         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
4823 2001-08-27  Akim Demaille  <akim@epita.fr>
4825         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
4826         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
4827         New file.
4828         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
4830 2001-08-27  Akim Demaille  <akim@epita.fr>
4832         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
4833         to...
4834         * lib/autoconf/autoheader.m4: this new file.
4835         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
4836         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
4837         Move to...
4838         * lib/autoconf/autoupdate.m4: this new file.
4840 2001-08-27  Akim Demaille  <akim@epita.fr>
4842         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
4843         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
4844         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
4845         -> ac_dir).
4846         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
4847         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
4849 2001-08-27  Akim Demaille  <akim@epita.fr>
4851         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
4852         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
4853         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
4854         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
4855         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
4856         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
4857         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
4858         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
4859         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
4860         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
4861         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
4862         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
4863         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
4864         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
4865         (_AC_OUTPUT_SUBDIRS): Move to...
4866         * lib/autoconf/status.m4: this new file.
4867         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
4868         * tests/Makefile.am, tests/suite.at: Adjust.
4870 2001-08-27  Akim Demaille  <akim@epita.fr>
4872         Automake 1.5.
4874         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
4875         (AMTAR): Help automake define it.
4876         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
4877         needed, 1.5 can have a macro and a target with the same name.
4878         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
4879         * m4/strip.m4: New.
4880         * m4/init.m4, m4/sanity.m4: Update.
4881         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
4882         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
4883         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
4884         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
4886 2001-08-27  Akim Demaille  <akim@epita.fr>
4888         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
4890         * lib/autoconf/version.in: Remove.
4891         * lib/m4sugar/version.in: New.
4892         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
4893         Adjust callers.
4894         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
4895         the name of the directory they're in, instead of the filename,
4896         since version.m4 is now in m4sugar, but m4_acversion must not be
4897         classified as an Autoconf macro.
4898         ($input_m4): Don't qualify the path to m4sugar.
4899         Rather, pass autoconf_dir to m4.
4900         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
4901         * tests/suite.at: Require 2.52c.
4903 2001-08-27  Akim Demaille  <akim@epita.fr>
4905         testsuite.log should include config.log.
4907         * lib/autotest/autotest.m4: New.
4908         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
4909         * tests/suite.at : Adjust.
4910         (AT_INIT): Log config.log.
4911         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
4912         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
4913         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
4914         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
4915         of config.log on traps.
4916         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
4917         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
4918         for config.status'.
4919         Open the log as soon as possible.
4920         Use the same log introduction as configure's.
4922 2001-08-22  Paul Eggert  <eggert@twinsun.com>
4924         * doc/autoconf.texi (Indices): New node.
4925         Move indices out of the top level menu and into this submenu.
4927 2001-08-22  Akim Demaille  <akim@epita.fr>
4929         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
4930         AC_TRY_COMMAND.
4931         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
4933 2001-08-22  Akim Demaille  <akim@epita.fr>
4935         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
4936         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
4937         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
4938         * lib/autoconf/programs.m4: here.
4939         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
4940         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
4941         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
4942         * lib/autoconf/programs.m4: here.
4943         (_AC_DECL_YYTEXT): Rename as...
4944         (_AC_PROG_LEX_YYTEXT_DECL): this.
4945         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
4946         * tests/Makefile.am, tests/suite.am: Adjust.
4948 2001-08-22  Akim Demaille  <akim@epita.fr>
4950         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
4951         Move to...
4952         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
4953         here.
4954         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
4955         * lib/autoconf/functions.m4: here.
4956         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
4957         (AH_CHECK_LIB): Move to...
4958         * lib/autoconf/libs: this new file.
4959         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
4960         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
4961         * lib/autoconf/libs.m4: here.
4962         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
4964 2001-08-22  Akim Demaille  <akim@epita.fr>
4966         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
4967         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
4968         (AC_SITE_LOAD): Better logging of config.site.
4970 2001-08-20  Akim Demaille  <akim@epita.fr>
4972         * configure.ac (AT_CONFIG): Fix the path.
4973         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
4974         can be used.
4976 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
4978         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
4979         program with AC_LANG_PROGRAM before feeding it to
4980         AC_COMPILE_IFELSE.  Cleanup grep usage.
4982 2001-08-20  Akim Demaille  <akim@epita.fr>
4984         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
4985         * NEWS, README, README-alpha, TODO, tests/README: This package is
4986         `Autoconf', not `autoconf' (the executable).
4988 2001-08-20  Akim Demaille  <akim@epita.fr>
4990         Info readers seem to need `Index' in the index node title :(
4992         * doc/autoconf.texi: Reverse the 2001-08-15 change which
4993         simplified index node names.
4995 2001-08-20  Akim Demaille  <akim@epita.fr>
4997         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
4998         arguments are not literals.
4999         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
5000         Specify the output variables, and macros defined.
5002 2001-08-20  Akim Demaille  <akim@epita.fr>
5004         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
5005         (Examining Syntax) <AC_TRY_COMPILE>
5006         (Examining Libraries) <AC_TRY_LINK>
5007         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
5008         their arguments.
5009         Reported by Werner Lemberg.
5011 2001-08-20  Akim Demaille  <akim@epita.fr>
5013         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
5014         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
5015         Load atlocal late enough to dump it in the log.
5016         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
5018 2001-08-20  Akim Demaille  <akim@epita.fr>
5020         * tests/torture.at (Configuring subdirectories): New test.
5021         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
5022         looking for.
5023         * m4/atconfig.m4: Be sure the let $[0] be expandable.
5024         (top_srcdir): Fix its computation.
5026 2001-08-20  Akim Demaille  <akim@epita.fr>
5028         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
5029         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
5030         test suite lives.
5031         Create `atconfig' automagically.
5032         Configure atlocal.in if present.
5033         * tests/atconfig.in: Remove.
5034         * tests/atlocal.in: New.
5035         * tests/Makefile.am: Adjust.
5037 2001-08-20  Akim Demaille  <akim@epita.fr>
5039         Huh!?!?!  There are still some user EOF tags used, which prevents
5040         their use in AC_CONFIG_COMMANDS for instance...
5042         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
5043         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
5044         `_CSEOF', or `_ATEOF', as appropriate.
5045         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
5046         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
5048 2001-08-20  Akim Demaille  <akim@epita.fr>
5050         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
5051         * tests/semantics.at, tests/tools.at, tests/torture.at:
5052         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
5054 2001-08-20  Akim Demaille  <akim@epita.fr>
5056         Autotest invokes M4sh's initialization.
5058         * lib/autotest/general.m4: Adjust the diversion names.
5059         (AT_INIT): Run AS_INIT.
5060         Use the BINSH diversion to invoke /bin/sh.
5061         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
5062         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
5064 2001-08-20  Akim Demaille  <akim@epita.fr>
5066         Let M4sh have its own diversions.
5068         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
5069         (_m4_divert(NOTICE)): Rename as...
5070         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
5071         (_m4_divert(HEADER-COMMENT)): these.
5072         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
5073         (_m4_divert(NOTICE)): New, for Libtool.
5074         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
5075         long ago with `_m4_divert(GROW)'.
5076         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
5078 2001-08-20  Akim Demaille  <akim@epita.fr>
5080         * tests/base.at, tests/compile.at, tests/foreign.at,
5081         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5082         * tests/semantics.at, tests/suite.at, tests/tools.at,
5083         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
5085 2001-08-20  Akim Demaille  <akim@epita.fr>
5087         * bin/autom4te.in (handle_output): Handle @__@.
5089 2001-08-20  Akim Demaille  <akim@epita.fr>
5091         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
5092         * lib/autotest/general.m4: Adjust the license.
5094 2001-08-17  Paul Eggert  <eggert@twinsun.com>
5096         * doc/autoconf.texi (Function Portability): Mention snprintf,
5097         following up on a suggestion by Kevin Ryde.
5099 2001-08-17  Akim Demaille  <akim@epita.fr>
5101         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
5102         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
5104 2001-08-17  Akim Demaille  <akim@epita.fr>
5106         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
5107         `$0.log' as for projects where testsuite is in src, we'd have
5108         testsuite.log created in src.
5110 2001-08-17  Akim Demaille  <akim@epita.fr>
5112         * bin/autom4te.in (&parse_args): Recognize --normalize.
5114 2001-08-17  Akim Demaille  <akim@epita.fr>
5116         Start implementing the AC_CHECK_HEADER transition scheme.
5118         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
5119         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
5120         (AC_CHECK_HEADER): Use them.
5122 2001-08-17  Akim Demaille  <akim@epita.fr>
5124         * doc/autoconf.texi: Work around Texinfo buglets.
5125         (Transformation Rules): One example is enough, users are expected
5126         to have their brains on. And BTW, use DESTDIR.
5127         (dvar): New macro.  Use it.
5129 2001-08-17  Akim Demaille  <akim@epita.fr>
5131         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
5132         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
5133         looking for ChangeLogs.
5135 2001-08-17  Akim Demaille  <akim@epita.fr>
5137         * bin/autom4te.in: --normalize is a new option.
5138         * bin/autoconf.in: Use it.
5140 2001-08-17  Akim Demaille  <akim@epita.fr>
5142         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
5143         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
5145 2001-08-16  Paul Eggert  <eggert@twinsun.com>
5147         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
5148         start, not at end.
5150 2001-08-15  Akim Demaille  <akim@epita.fr>
5152         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
5153         Use it.
5155 2001-08-15  Akim Demaille  <akim@epita.fr>
5157         * doc/autoconf.texi (pr): New index.
5158         (prindex, findex): Use, merge, and output them.
5159         (Environment Variable Index, Output Variable Index)
5160         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
5161         (Autotest Macro Index): Rename as...
5162         (Environment Variables, Output Variables,Preprocessor Symbols)
5163         (Autoconf Macros, M4 Macros, Autotest Macros): these.
5164         * doc/install.texi: Use @command.
5165         (Environment Variables): Rename as...
5166         (Defining Variables): this.
5168 2001-08-15  Akim Demaille  <akim@epita.fr>
5170         * doc/autoconf.texi (Function Portability): sprintf's return
5171         value.
5172         From Kevin Ryde.
5174 2001-08-15  Akim Demaille  <akim@epita.fr>
5176         * Makefile.maint (CVS): New.
5177         (local-check): Run changelog-check. last.
5178         (alpha): Don't depend upon local-check, since...
5179         (cvs-dist): depends upon it.
5181 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
5183         * tests/Makefile.am: Use a clean-local rule to remove
5184         autom4te.cache (it's a directory, not a file.
5185         * Makefile.am: Ditto (but maintainer-clean-local).
5187 2001-08-15  Akim Demaille  <akim@epita.fr>
5189         * bin/autom4te.in (@m4_warning): New.
5190         (&handle_m4): Use it.
5191         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
5192         warnings are issued at each run.
5193         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
5194         is in the src tree.
5196 2001-08-15  Akim Demaille  <akim@epita.fr>
5198         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
5199         don't waste time running `autoupdate --version' works.
5200         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
5202 2001-08-13  Akim Demaille  <akim@epita.fr>
5204         * doc/autoconf.texi (ma): Rename this index as...
5205         (ac): this.
5207 2001-08-13  Akim Demaille  <akim@epita.fr>
5209         * Makefile.am: Remove dead code and dead comments.
5210         (pdf, html): New targets.
5211         * doc/autoconf.texi (Using Autotest): New chapter.
5212         * doc/Makefile.am (pdf): New targets.
5213         (CLEANFILES): Adjust.
5215 2001-08-13  Akim Demaille  <akim@epita.fr>
5217         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
5218         duration of the test suite.
5220 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
5222         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
5223         endianness for comparison instead of relying on AT_CHECK_ENV.
5225 2001-08-11  Paul Eggert  <eggert@twinsun.com>
5227         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
5228         to the INSTALL file.
5230 2001-08-11  Paul Eggert  <eggert@twinsun.com>
5232         * NEWS: The autoconf manual now is distributed under the terms
5233         of the GNU Free Documentation License.
5235         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
5236         Add an appendix "Copying This Manual" for the FDL.
5238         * doc/fdl.texi: New file, from
5239         <http://www.gnu.org/licenses/fdl.texi>.
5241         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
5243 2001-08-10  Paul Eggert  <eggert@twinsun.com>
5245         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
5246         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
5247         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
5248         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
5249         m4/sanity.m4, tests/README, tests/aclocal.m4,
5250         tests/atspecific.m4, tests/base.at, tests/compile.at,
5251         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
5252         tests/semantics.at, tests/suite.at, tests/tools.at,
5253         tests/torture.at: Add copyright notice.
5255         * tests/mktests.sh: Update year in copyright notice.
5257 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
5259         * tests/semantics.at (AC_C_BIGENDIAN): New test.
5261 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
5263         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
5264         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
5265         * doc/autoconf.texi (C Compiler Characteristics): Update
5266         documentation for AC_C_BIGENDIAN.
5268 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
5270         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
5271         magic values from an object file when cross-compiling.
5272         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
5274 2001-08-10  Akim Demaille  <akim@epita.fr>
5276         * bin/autom4te.in (&handle_output): Don't use `grep' with side
5277         effects.
5278         Suggested by Russ Allbery.
5280 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
5282         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
5283         current $prefix to the sub-configures.
5285 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
5287         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
5288         extension (needed on BeOS).  Reported by Guido van Rossum.
5290 2001-08-09  Akim Demaille  <akim@epita.fr>
5292         * bin/autom4te.in ($icache): Load it only if older than autom4te.
5294 2001-08-07  Akim Demaille  <akim@epita.fr>
5296         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
5297         removed.
5298         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
5299         No need to remove the files before and after the each test, before
5300         each test and at the end of the suite is enough.
5301         Display only the children `times', not the shell's.
5302         If the test failed or was skipped, at-times is not available.
5304 2001-08-07  Akim Demaille  <akim@epita.fr>
5306         Always produce testsuite.log, including when there are no
5307         failures.  This helps getting information on skipped tests, and
5308         duration of the tests.  Err, implement the latter btw.
5310         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
5311         Dump information on the first run of each test.
5312         (AT_CLEANUP): Create `at-times' containing the duration of the
5313         test group.
5315 2001-08-07  Akim Demaille  <akim@epita.fr>
5317         The use of `dumpstat' revealed that `len' was used although it
5318         should not.  m4_text_wrap was using it, but in the Autoconf world
5319         where it is legal.  Hence (i) test M4sh in its own world, not
5320         Autoconf's, and (ii), ahem, fix the bug :)
5322         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
5323         does not like `' instead of [].
5324         (AT_INIT): Forbid `^_?AT_'.
5325         And don't output such tokens.
5326         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
5327         `script.as', and `autom4te.cache'.
5328         Remove `empty' and `macro' which are no longer used.
5329         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
5330         * tests/m4sugar.at: Use it.
5331         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
5333 2001-08-07  Akim Demaille  <akim@epita.fr>
5335         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
5337 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
5339         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
5341 2001-08-04  Akim Demaille  <akim@epita.fr>
5343         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
5344         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
5345         AC_TRY_LINK.
5346         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
5347         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
5348         (AC_F77_MAIN): Likewise.
5350 2001-08-04  Akim Demaille  <akim@epita.fr>
5352         Don't rely on M4sugar outputting the patterns in files, since we
5353         might process the output _without_ running m4, hence without these
5354         files.
5356         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
5357         * bin/autom4te.in (@Request::includes): Remove, unused.
5358         (@Request::source): Rename as...
5359         (@Request::input): this.
5360         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
5361         (&handle_output): Fetch the patterns from the traces.
5362         `$forbidden' and `$allowed' are constant: use m//o.
5363         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
5364         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
5366 2001-08-04  Akim Demaille  <akim@epita.fr>
5368         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
5369         autoconf', i.e., in addition to caching traces, cache the output.
5371         * bin/autom4te.in (Request::cache): Rename as...
5372         (Request::id): this.
5373         ($cache, $icache, $tcache, $ocache): New.
5374         (&handle_m4): Save M4 output in the cache instead of $tmp.
5375         (&handle_output): Adjust.
5376         (&up_to_date_p): Check that the output cache is up to date too.
5377         (top level): Run `&handle_m4' iff force or the cache is invalid.
5378         Run `&handle_output' if the output cache is more recent.
5380 2001-08-04  Akim Demaille  <akim@epita.fr>
5382         * bin/autom4te.in ($force): New.
5383         (&parse_args, &print_usage): -f, --force is a new option.
5384         (&handle_output): CPP directives might have spaces after `#'.
5385         (&parse_args): The first file only can be frozen.
5387 2001-08-04  Akim Demaille  <akim@epita.fr>
5389         Don't let autom4te compute the `include' traces several times:
5390         first check that the trace cache file is up to date, and then
5391         compare its timestamp with that of the output.
5393         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
5394         the preamble.  Don't require 5.005 as Autom4te::General does it,
5395         and better yet (use `use', not `require'!).
5396         * lib/Autom4te/Struct.pm: Rename the last occurrences of
5397         Class::Struct as Autom4te::Struct.
5398         * lib/Autom4te/General.pm (File::stat): Use it.
5399         (&mtime): New, export it.
5400         * bin/autom4te.in: Use it.
5401         Declare `$req' is invalid if it is outdated.
5402         Don't declare it valid before saving it if something went wrong.
5404 2001-08-04  Akim Demaille  <akim@epita.fr>
5406         Autom4te shall not encode Autoconf data, and preselecting traces
5407         must be proposed to the users.
5409         * bin/autom4te.in (@required_trace): Remove.
5410         (@preselect): New.
5411         (&parse_args, &print_usage): -p, --preselect is a new option.
5412         (&up_to_date_p): Adjust.
5413         * bin/autoconf.in: Preselect some Autoconf macros.
5415 2001-08-04  Akim Demaille  <akim@epita.fr>
5417         * tests/tools.at (autoconf --trace: user macros): Check traces on
5418         macros invoked without arguments, and macros invoked with multiple
5419         lines arguments.
5421 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
5423         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
5424         arguments.
5426 2001-08-03  Akim Demaille  <akim@epita.fr>
5428         * bin/autoconf.in ($@): Work around the usual sh bug.
5429         From Nicolas Joly.
5431 2001-08-03  Akim Demaille  <akim@epita.fr>
5433         Clean up the handling of the M4 builtins tracing exception.
5435         * bin/autom4te.in (Request::request): Don't complete M4 builtins
5436         trace requests.
5437         (@m4_builtins): Rename as...
5438         (@m4_builtin): this.
5439         (%m4_builtin_alternate_name): New.
5440         (&parse_args): Complete the trace requests with alternate names.
5441         (&handle_traces): Hence no longer do it here.
5442         (&trace_requests): Remove, unused.
5444 2001-08-03  Akim Demaille  <akim@epita.fr>
5446         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
5447         m4_if, and m4_wrap.
5449 2001-08-03  Akim Demaille  <akim@epita.fr>
5451         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
5452         (m4_divert_pop): Dump the whole diversion stack when a diversion
5453         mismatch happens.
5454         * bin/autom4te.in (&handle_output): Remember of the first
5455         occurrence of a possibly undefined macro, not the last.
5456         Complain about the possibly undefined macros in the same order as
5457         the appear in the output.
5458         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
5459         * tests/tools.at (autoconf: forbidden tokens, basic)
5460         (autoconf: forbidden tokens, exceptions): No longer sort
5461         autoconf's stderr, as it is now deterministic.
5462         Check that `dnl' is caught.
5464 2001-08-01  Akim Demaille  <akim@epita.fr>
5466         * configure.ac: Bump to 2.52c.
5468 2001-08-01  Akim Demaille  <akim@epita.fr>
5470         Version 2.52b.
5472         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
5474 2001-08-01  Akim Demaille  <akim@epita.fr>
5476         Version 2.52a.
5478 2001-08-01  Akim Demaille  <akim@epita.fr>
5480         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
5481         `die'.
5482         (&END): New.
5483         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
5484         `END', as `Autom4te::General::END' will be triggered.
5485         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
5486         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
5487         system to run `mv', `rm', and `cmp'.
5489 2001-08-01  Akim Demaille  <akim@epita.fr>
5491         * lib/Autom4te/General.pm (&unique): New.
5492         * bin/autoscan.in (&output): Use it to issue trace requests once.
5494 2001-08-01  Akim Demaille  <akim@epita.fr>
5496         * lib/Autom4te/General.pm: New.
5497         * bin/autom4te.in (Autom4te::General): Use it.
5498         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
5499         (&find_configure_ac, &find_slave): Remove.
5500         * bin/autoscan.in: Likewise.
5501         * bin/autoupdate.in: Likewise.
5503 2001-08-01  Akim Demaille  <akim@epita.fr>
5505         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
5506         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
5507         * bin: here, new directory.
5508         * lib/Autoconf: Rename as...
5509         * lib/Autom4te: this, to please case insensitive junkie OSes.
5511 2001-08-01  Akim Demaille  <akim@epita.fr>
5513         * autom4te.in ($m4): Handle the --nesting-limit.
5514         * autoconf.in (M4): Remove.
5516 2001-08-01  Akim Demaille  <akim@epita.fr>
5518         * autoconf.in ($AWK): Remove, no longer used.
5519         * test/tools.at: Use AT_CHECK_AUTOCONF.
5520         (AWK portability): Remove, for autoconf no longer uses AWK.
5521         (Syntax of the Perl scripts): New.
5522         * configure.ac: autoconf no longer needs an AWK with a good
5523         regexp engine.
5524         Use a static test on AC_PACKAGE_VERSION.
5525         * autom4te.in (&up_to_date_p): Output depends on the arguments.
5526         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
5527         * tests/atconfig.in (PERL): New.
5529 2001-08-01  Akim Demaille  <akim@epita.fr>
5531         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
5532         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
5533         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
5534         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
5535         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
5536         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
5537         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
5538         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
5539         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
5540         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
5541         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
5542         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
5543         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
5544         * lib/autoconf/c.m4: here, new file.
5546         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
5547         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
5548         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
5549         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
5550         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
5551         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
5552         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
5553         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
5554         (AC_F77_FUNC): Move to...
5555         * lib/autoconf/fortran.m4: here, new file.
5557 2001-08-01  Akim Demaille  <akim@epita.fr>
5559         * acfunctions.m4: Rename as...
5560         * lib/autoconf/functions.m4: this.
5561         * acgeneral.m4: Rename as...
5562         * lib/autoconf/general.m4: this.
5563         * acheaders.m4: Rename as...
5564         * lib/autoconf/headers.m4: this.
5565         * aclang.m4: Rename as...
5566         * lib/autoconf/lang.m4: this.
5567         * acoldnames.m4: Rename as...
5568         * lib/autoconf/oldnames.m4: this.
5569         * acspecific.m4: Rename as...
5570         * lib/autoconf/specific.m4: this.
5571         * actypes.m4: Rename as...
5572         * lib/autoconf/types.m4: this.
5573         * autoconf.m4: Rename as...
5574         * lib/autoconf/autoconf.m4: this.
5576         * m4sugar.m4: Rename as...
5577         * lib/m4sugar/m4sugar.m4: this.
5578         * m4sh.m4: Rename as...
5579         * lib/m4sugar/m4sh.m4: this.
5581         * tests/atgeneral.m4: Rename as...
5582         * lib/autotest/general.m4: this.
5584         * acfunctions: Rename as...
5585         * lib/autoscan/functions: this.
5586         * acheaders: Rename as...
5587         * lib/autoscan/headers: this.
5588         * acidentifiers: Rename as...
5589         * lib/autoscan/identifiers: this.
5590         * aclibraries: Rename as...
5591         * lib/autoscan/libraries: this.
5592         * acmakevars: Rename as...
5593         * lib/autoscan/makevars: this.
5594         * acprograms: Rename as...
5595         * lib/autoscan/programs: this.
5597 2001-08-01  Akim Demaille  <akim@epita.fr>
5599         * doc/autoconf.texi: Moving/deleting open files is not portable.
5600         Portability issues for `.' (source), and more information about sed.
5602 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
5604         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
5605         which has a special meaning and is not a reference to libibmil.a.
5606         Reported by Matteo Frigo.
5608 2001-07-25  Pavel Roskin  <proski@gnu.org>
5610         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
5611         output.
5613 2001-07-25  Akim Demaille  <akim@epita.fr>
5615         * autoconf.in: Try to define the variables before using them.
5616         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
5617         instead of `$perllibdir'.
5618         * tests/atconfig.in ($autom4te_perllibdir): Export it.
5620 2001-07-25  Akim Demaille  <akim@epita.fr>
5622         * autoconf.in (ac_LF_and_DOT): Remove, unused.
5624 2001-07-24  Akim Demaille  <akim@epita.fr>
5626         Let autoconf use autom4te for traces.
5628         * autoconf.in ($task, task trace): Remove, merely pass --trace to
5629         autom4te.
5630         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
5631         (Because I found no way for autom4te to accept `-').
5632         * autom4te.in (&Request::request): Beware of M4 builtins.
5633         (END): Don't try to remove the content of an empty dir.
5634         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
5635         (&handle_output): Set a default value to `$forbidden'.
5636         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
5637         ($autoconf): Pass --debug and --verbose.
5638         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
5639         cache.
5641 2001-07-24  Akim Demaille  <akim@epita.fr>
5643         Let autoconf use autom4te to create configure.
5645         * autoconf.in ($automate): New var.
5646         (task script): Use autom4te.
5647         * autom4te.in (File::Spec): Use it.
5648         (&find_file): New.
5649         (&parse_args): --warning is -W, not -w.
5650         Find the top level files.
5651         (&handle_m4): Pass the warnings flags.
5652         Don't report verbosely m4's failures, unless requested.
5653         (&handle_output): Don't complain for forbidden tokens in comments.
5654         Be sure to report all the forbidden tokens within a single line.
5655         (&trace_format_to_m4): Preserve `$_'.
5656         (&handle_traces): Sort the output macros.
5657         (&up_to_date_p): Find the files before trying to get its time stamp.
5659 2001-07-24  Akim Demaille  <akim@epita.fr>
5661         * Makefile.am: Ship, build and install Autom4te.
5662         (SUBDIRS): Add lib.
5663         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
5664         * configure.in: Require Perl.
5665         * man/autom4te.in: New.
5667 2001-07-19  Paul Eggert  <eggert@twinsun.com>
5669         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
5670         example, rather than (exit 1); exit (which isn't portable).
5672 2001-07-18  Akim Demaille  <akim@epita.fr>
5674         Version 2.52.
5676 2001-07-18  Akim Demaille  <akim@epita.fr>
5678         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
5679         was run, while they are needed also when it is expanded.
5680         Reported by Nicolas Joly.
5682         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
5683         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
5684         AC_F77_DUMMY_MAIN being expanded.
5686 2001-07-18  Akim Demaille  <akim@epita.fr>
5688         * configure.in: Bump to 2.51a.
5690 2001-07-17  Akim Demaille  <akim@epita.fr>
5692         Version 2.51.
5694 2001-07-17  Akim Demaille  <akim@epita.fr>
5696         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
5697         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
5699 2001-07-17  Akim Demaille  <akim@epita.fr>
5701         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
5702         used.  Well, then use the prototypes when you can, and runtime as
5703         a last resort.
5704         Reported by Artur Frysiak
5706         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
5707         (AC_FUNC_GETPGRP): Use it.
5708         First try to compile with 0-ary or 1-ary calls.
5710 2001-07-17  Akim Demaille  <akim@epita.fr>
5712         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
5713         replacement type.
5714         From Paul Eggert.
5716 2001-07-17  Akim Demaille  <akim@epita.fr>
5718         * Makefile.maint: Sync. with cppi 1.10.
5720 2001-07-17  Akim Demaille  <akim@epita.fr>
5722         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
5723         AC_F77_DUMMY_MAIN has been run.
5724         From Pavel Roskin and Steven G. Johnson.
5726 2001-07-17  Akim Demaille  <akim@epita.fr>
5728         * configure.in: Rename as...
5729         * configure.ac: this.
5731 2001-07-17  Akim Demaille  <akim@epita.fr>
5733         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
5734         rules.
5735         From Marc Espie.
5736         * Makefile.maint (release-archive-dir): Rename as...
5737         (release_archive_dir): this, so that it can be specialized in
5738         Makefile.
5740 2001-07-14  Akim Demaille  <akim@epita.fr>
5742         * configure.in: Bump to 2.50d.
5744 2001-07-14  Akim Demaille  <akim@epita.fr>
5746         Version 2.50c.
5747         * Makefile.maint (alpha): Typo.
5749 2001-07-14  Akim Demaille  <akim@epita.fr>
5751         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
5753 2001-07-14  Akim Demaille  <akim@epita.fr>
5755         * config/config.guess, config/config.sub, config/texinfo.tex
5756         * doc/standards.texi, doc/make-stds.texi: Update.
5758 2001-07-14  Akim Demaille  <akim@epita.fr>
5760         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
5762 2001-07-14  Akim Demaille  <akim@epita.fr>
5764         * Makefile.maint (maintainer-check): Rename as...
5765         (maintainer-distcheck): this.
5766         (changelog-check, static-check): New.
5767         Use them.
5769 2001-07-14  Kevin Ryde  <user42@zip.com.au>
5771         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
5772         for CXX is g++, not gcc.
5774 2001-07-14  Akim Demaille  <akim@epita.fr>
5776         * doc/autoconf.texi (Files): New subsection.
5778 2001-07-14  Akim Demaille  <akim@epita.fr>
5780         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
5781         of...
5782         (Generic Compiler Characteristics): this.
5783         (C++ Compiler): New subsection.
5785 2001-07-14  Akim Demaille  <akim@epita.fr>
5787         * autoscan.in: Use IO::File.
5788         Adjust all the routines to use it.
5789         ($log): New file (autoscan.log).
5790         (output): Dump detailed logs into $log, and a shortened version to
5791         stderr.
5792         (&scan_makefile): Refine the regexp catching tokens in the code.
5793         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
5794         and the `configure.ac' checking feature.
5796 2001-07-12  Akim Demaille  <akim@epita.fr>
5798         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
5799         Reported by Michael Elizabeth Chastain.
5801         * autoconf.in: Refuse such AWK.
5802         * configure.in: Likewise.
5803         * Makefile.am (acversion.m4): Do not use move-if-change this file
5804         has dependencies.
5805         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
5807 2001-07-10  Jens Petersen  <petersen@redhat.com>
5809         * autoscan.in (&scan_makefile): Improve programs regexp to parse
5810         things like "g++", "file.c" and "some-conf" as tokens.
5811         (&scan_file): Match C++ files extensions.
5812         If the filename extension is C++ then ask for c++.
5814 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
5816         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
5817         AC_TRY_LINK_FUNC, to check whether defining a dummy
5818         main-like routine is needed for linking with F77 libs.
5820 2001-07-05  Pavel Roskin  <proski@gnu.org>
5822         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
5823         after using break.
5824         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
5825         linking.
5827 2001-07-05  Akim Demaille  <akim@epita.fr>
5829         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
5830         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
5831         Makes' lives.
5832         Reported by Nicolas Joly.
5834 2001-07-04  Akim Demaille  <akim@epita.fr>
5836         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
5837         up.
5838         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
5839         warnings from compilers.
5840         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
5841         for all the compilers, not only GNU.  Hence move from here...
5842         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
5844 2001-07-04  Akim Demaille  <akim@epita.fr>
5846         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
5847         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
5848         AC_COMPILE_IFELSE.
5850 2001-07-04  Akim Demaille  <akim@epita.fr>
5852         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
5853         the ``strings.h'' change claimed below.
5855 2001-07-04  Akim Demaille  <akim@epita.fr>
5857         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
5859 2001-07-04  Akim Demaille  <akim@epita.fr>
5861         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
5862         strings.h if usable with string.h.
5863         Suggested by Paul Eggert.
5865 2001-07-04  Akim Demaille  <akim@epita.fr>
5867         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
5868         From Jens Petersen.
5870 2001-07-03  Akim Demaille  <akim@epita.fr>
5872         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
5873         etc. in the log.
5875 2001-07-03  Akim Demaille  <akim@epita.fr>
5877         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
5878         compiler, not the preprocessor.
5879         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
5880         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
5881         the right thing.
5882         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
5883         earlier if there are.
5885 2001-07-03  Akim Demaille  <akim@epita.fr>
5887         * autoscan.in ($initfile): Remove.
5888         (&find_file): Rename as...
5889         (&scan_file): this.
5890         Immediately scan the current file, instead of gathering them, and
5891         later having them handled by &scan_files.
5892         (&scan_files): Merely invoke Find::File.
5893         Adjust.
5895 2001-07-02  Akim Demaille  <akim@epita.fr>
5897         * autoscan.in: Formatting changes, matching the invocation order.
5898         (File::Find): Use it instead of Perl 4's `find.pl'.
5899         (&wanted): Rename as...
5900         (&find_file): this.
5902 2001-07-01  Pavel Roskin  <proski@gnu.org>
5904         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
5905         break in the argument to AC_TRY_LINK_FUNC.
5906         (AC_F77_MAIN): Remove conftest* after using break in the
5907         argument to AC_TRY_LINK.
5909 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
5911         Add alternate 'main' routine detection for linking C/C++ with Fortran,
5912         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
5914         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
5915         dummy alternate main is required even if the user provides her own
5916         'main'.
5917         (AC_F77_MAIN): New macro to detect whether it is possible to
5918         provide an alternate 'main' function name, using the 'main' from
5919         the Fortran libraries.
5920         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
5921         cross-language link tests can be performed successfully.
5922         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
5923         after $LIBS, for consistency; this should be the general rule since
5924         the user may want to link to Fortran libraries that require $FLIBS.
5925         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
5927 2001-06-29  Pavel Roskin  <proski@gnu.org>
5929         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
5930         at-stdout and at-stderr instead of removing the newline
5931         from the echo output, which is not guaranteed to work.
5933 2001-06-28  Jens Petersen  <petersen@redhat.com>
5935         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
5936         confdefs.h when non-zero.
5938 2001-06-28  Akim Demaille  <akim@epita.fr>
5940         * configure.in: Bump to 2.50c.
5942 2001-06-26  Akim Demaille  <akim@epita.fr>
5944         Version 2.50b.
5946 2001-06-26  Akim Demaille  <akim@epita.fr>
5948         Version 2.50a.
5950 2001-06-25  Pavel Roskin  <proski@gnu.org>
5952         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
5953         argument, AUTOCONF-FLAGS.
5954         * tests/mktests.sh (update_exclude_list): Add
5955         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
5956         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
5957         AC_FUNC_WAIT3 with "-W no-obsolete".
5959 2001-06-25  Akim Demaille  <akim@epita.fr>
5961         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
5963 2001-06-25  Akim Demaille  <akim@epita.fr>
5965         * autoscan.in (%macro): Now maps from word to list of macros.
5966         (&init_tables): Die when a word which is already handled by
5967         explicit macros is mapped to the default macro.
5968         (&print_unique): Remove, inlined in...
5969         (&output_kind): here.
5970         (File::Basename): Use it.
5971         (&output): Sort the CONFIG_FILES.
5972         * acheaders: Normalize.
5973         * acfunctions: Likewise.
5975 2001-06-25  Akim Demaille  <akim@epita.fr>
5977         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
5978         characteristics in the logs.
5979         Suggested by Mo DeJong.
5981 2001-06-24  Akim Demaille  <akim@epita.fr>
5983         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
5984         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
5985         * doc/autoconf.texi (Autoconf 2.13): New section.
5987 2001-06-24  Akim Demaille  <akim@epita.fr>
5989         * autoconf.in (Task traces): Separate the error messages from the
5990         traces to improve robustness.
5992 2001-06-23  Akim Demaille  <akim@epita.fr>
5994         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
5995         three as failures are unlikely, and speed matters.
5997 2001-06-23  Akim Demaille  <akim@epita.fr>
5999         * doc/autoconf.texi (Redefined M4 Macros): New.
6001 2001-06-23  Akim Demaille  <akim@epita.fr>
6003         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
6004         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
6005         5.3.
6007 2001-06-23  Paolo Bonzini <bonzini@gnu.org>
6009         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
6010         config.status targets to after the evaluation of the INIT-CMDS.
6011         Double quote config.status targets (used to be single quoted).
6013 2001-06-23  Akim Demaille  <akim@epita.fr>
6015         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
6016         Check the content of the created file.
6017         Check the ./config.status command line invocation.
6019 2001-06-23  Akim Demaille  <akim@epita.fr>
6021         * tests/foreign.at (Libtool): Reject prehistoric versions.
6023 2001-06-23  Akim Demaille  <akim@epita.fr>
6025         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
6026         preexisting files matching a.*.
6028 2001-06-23  Akim Demaille  <akim@epita.fr>
6030         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
6031         stderr.
6032         * doc/autoconf.texi (AC_ARG_VAR): Update.
6034 2001-06-21  Akim Demaille  <akim@epita.fr>
6036         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
6037         precious variables have changed.
6038         * tests/torture.at (AC_ARG_VAR): Adjust.
6040 2001-06-21  Akim Demaille  <akim@epita.fr>
6042         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
6043         but some sed choke on multiple `;', and other tools (e.g.,
6044         Automake), include the separator themselves.
6046         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
6048 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
6050         * doc/autoconf.texi (Functions Portability): Rename as...
6051         (Function Portability): this.
6052         (Function Portability): Document potential problems with unlink().
6054 2001-06-19  Paul Eggert  <eggert@twinsun.com>
6056         * NEWS, doc/autoconf.texi: Document quadrigraphs.
6058 2001-06-18  Akim Demaille  <akim@epita.fr>
6060         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
6062 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
6064         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
6065         (_AC_FUNC_VFORK): this.
6066         Remove AC_DEFINEs and don't guess cross-compilation values.
6067         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
6068         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
6069         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
6070         vfork doesn't work.
6071         Guess values if cross-compiling, but warn.
6072         * acfunctions: Add AC_FUNC_FORK.
6073         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
6074         and vfork appropriately.
6076 2001-06-18  Akim Demaille  <akim@epita.fr>
6078         * doc/autoconf.texi (Functions Portability): New section.
6080 2001-06-18  Akim Demaille  <akim@epita.fr>
6082         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
6083         in $M4.
6084         Suggested by Andreas Schwab.
6086 2001-06-18  Akim Demaille  <akim@epita.fr>
6088         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
6089         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
6090         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
6091         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
6092         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
6093         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
6094         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
6095         the converse).
6097 2001-06-18  Akim Demaille  <akim@epita.fr>
6099         * doc/autoconf.texi (ms): New index.
6100         (Macro Index): Rename as...
6101         (Autoconf Macro Index): this.
6102         (M4 Macro Index): New appendix.
6103         (Programming in M4): New chapter.
6104         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
6105         (Quoting): Rename as...
6106         (M$ Quotation): this.
6107         Be part of `Programming in M4).
6109 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
6111         * tests/torture.at (AC_ARG_VAR): Set variables and export them
6112         in separate statements for compatibility with Tru64 v5.1.
6114 2001-06-17  Akim Demaille  <akim@epita.fr>
6116         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
6117         current values of the precious variables, not the previously
6118         cached values.
6119         Pass precious variables which are set to config.status.
6120         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
6121         * tests/torture.at (AC_ARG_VAR): New.
6123 2001-06-15  Paul Eggert  <eggert@twinsun.com>
6125         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
6126         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
6127         and explain why and how to replace them.
6128         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
6129         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6131 2001-06-15  Akim Demaille  <akim@epita.fr>
6133         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
6134         Reported by Bruno Haible.
6136         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
6137          (_AC_ARG_VAR_PRECIOUS): to here.
6139 2001-06-15  Pavel Roskin  <proski@gnu.org>
6141         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
6142         an unused pointer use cast to this type and `if' statement to
6143         avoid warnings from the compiler.
6144         (AC_HEADER_TIME): Likewise.
6145         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
6146         in `if' statement to avoid warnings from the compiler. Declare
6147         ac_aggr static to avoid the need to initialize it.
6149 2001-06-14  Akim Demaille  <akim@epita.fr>
6151         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
6152         Macros'.
6154 2001-06-13  Akim Demaille  <akim@epita.fr>
6156         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
6157         Suggested by Alexander Mai.
6159 2001-06-13  Akim Demaille  <akim@epita.fr>
6161         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
6162         sys/types.h and sys/stat.h, and check for them.
6164 2001-06-13  Akim Demaille  <akim@epita.fr>
6166         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
6167         INCLUDES.
6169 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6171         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
6172         succeeds and only try adding libdnet upon a failure.
6174 2001-06-12  Akim Demaille  <akim@epita.fr>
6176         * autoscan.in (&output_kind): Output the comment only if it exists.
6177         (%kind_comment): Add entry for `programs'.
6178         (&output_programs): Use &output_kind.
6179         (&output_functions, &output_identifiers, &output_headers)
6180         (&output_programs): Inline, and remove.
6182 2001-06-12  Akim Demaille  <akim@epita.fr>
6184         * autoscan.in (%kind_comment): New.
6185         (output_kind): New.
6186         (output_functions, output_identifiers, output_headers): Use it.
6188 2001-06-12  Akim Demaille  <akim@epita.fr>
6190         * autoscan.in (&print_unique): Take `$kind' and `$word' as
6191         arguments, to factor indirections into `%macro' and `%used'.
6192         (%generic_macro): Fix a typo.
6194 2001-06-12  Akim Demaille  <akim@epita.fr>
6196         * aclibraries: New.
6197         * autoscan.in (@kinds): Add `libraries'.
6198         Use `@kinds' instead of hard coded lists.
6199         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
6200         Remove, replaced by...
6201         (%used): this.
6203 2001-06-12  Akim Demaille  <akim@epita.fr>
6205         * autoscan.in (%functions_macros %headers_macros)
6206         (%identifiers_macros %programs_macros %makevars_macros): Remove,
6207         replaced by...
6208         (%macro): New.
6210 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
6212         * aclang.m4 (AC_NO_EXECUTABLES): Override
6213         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
6215 2001-06-11  Akim Demaille  <akim@epita.fr>
6217         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
6218         trailing new line.
6219         Reported by Andreas Schwab.
6221 2001-06-11  Akim Demaille  <akim@epita.fr>
6223         * Makefile.am, Makefile.maint: Typos.
6225 2001-06-09  Akim Demaille  <akim@epita.fr>
6227         * doc/autoconf.texi (Here-Documents): New section, gathering
6228         documentation about here-documents.
6229         Use `href', not `uref', and other changes.
6231 2001-06-09  Akim Demaille  <akim@epita.fr>
6233         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
6234         chapter.
6236 2001-06-09  Akim Demaille  <akim@epita.fr>
6238         * doc/autoconf.texi (Limitations of Builtins): Complete the
6239         description of the here-docs penalties with Alexandre Oliva's
6240         explanations.
6242 2001-06-01  Paul Eggert  <eggert@twinsun.com>
6244         * doc/autoconf.texi: Talk about here documents and speedups.
6245         Do not use "echo" on arbitrary strings.
6246         Spell "here-documents" consistently with the standard.
6248 2001-06-09  Akim Demaille  <akim@epita.fr>
6250         * doc/autoconf.texi (Concept Index): Introduce it.
6251         Regenerate the menus.
6253 2001-06-09  Akim Demaille  <akim@epita.fr>
6255         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
6256         * config/prev-version.txt: New.
6257         * config/move-if-change: New, for GNU libc.
6259 2001-06-06  Pavel Roskin  <proski@gnu.org>
6261         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
6263 2001-06-06  Akim Demaille  <akim@epita.fr>
6265         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
6266         properly when $1 is not a literal.
6267         Fixes PR Autoconf/187, reported by Bram Moolenaar.
6269 2001-06-06  Akim Demaille  <akim@epita.fr>
6271         Invoking AC_COPYRIGHT before AC_INIT fails.
6273         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
6274         * acgeneral.m4 (_m4_divert(VERSION_FSF))
6275         (_m4_divert(VERSION_USER)): New.
6276         (AC_COPYRIGHT): $2 is the diversion to use.
6277         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
6278         (AC_INIT): Remove dead comments as now it's commutative.
6280 2001-06-06  Akim Demaille  <akim@epita.fr>
6282         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
6283         PR autoconf/187.
6285 2001-06-05  Akim Demaille  <akim@epita.fr>
6287         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
6288         can be empty.
6289         `*dir' variables cannot be NONE.
6290         Reported by Mark Kettenis.
6292 2001-06-05  Paul Eggert  <eggert@twinsun.com>
6294         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
6296 2001-06-04  Akim Demaille  <akim@epita.fr>
6298         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
6299         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
6300         (AC_TR_SH): Move as...
6301         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
6302         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
6303         (AS_TR_SH): these.
6304         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
6305         (_AS_TR_SH_PREPARE): New.
6306         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
6307         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
6309 2001-06-02  Akim Demaille  <akim@epita.fr>
6311         * Makefile.am (.m4.m4f): Pass the options first.
6312         Fixes PR autoconf/182.
6314 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
6316         GNU getopt, when POSIXLY_CORRECT does not permute options and
6317         arguments.  So pass the options first.
6318         Fixes PR autoconf/184.
6320         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
6321         (run_m4): Remove files.
6322         (run_m4f): Remove.
6323         Update remainder of script to use them.
6324         (for warning in): Do not use a literal comma as it will not be
6325         split by IFS.
6327 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
6329         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
6330         Fortran compilers to check.
6331         (_AC_PROG_F77_V): Add '-###' as a possible option to print
6332         information on library and object files.
6333         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
6334         to check.
6336 2001-06-02  Akim Demaille  <akim@epita.fr>
6338         * autom4te.in (Request::@request): Declare with `vars', not `my',
6339         as it prevents updates via `do FILENAME'.
6341 2001-06-02  Akim Demaille  <akim@epita.fr>
6343         * configure.in (standards_texi): Remove, dead code.
6345 2001-06-02  Akim Demaille  <akim@epita.fr>
6347         * autom4te.in: New.
6349 2001-06-02  Pavel Roskin  <proski@gnu.org>
6351         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
6352         for signals other than 0 - exit with code 1.
6353         * m4sh.m4 (AS_TMPDIR): Likewise.
6354         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
6355         * autoheader.in: Likewise.
6356         * autoreconf.in: Likewise.
6357         * tests/torture.at (Signal handling): New test for the above.
6359 2001-06-01  Akim Demaille  <akim@epita.fr>
6361         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
6362         message.
6364 2001-05-31  Akim Demaille  <akim@epita.fr>
6366         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
6367         Add copyright and comments.
6368         * acheaders: Add stdint.h.
6369         Suggested by Paul Eggert.
6371 2001-05-31  Akim Demaille  <akim@epita.fr>
6373         * atgeneral.m4 (AT_INIT): Use $SHELL.
6374         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
6376 2001-05-31  Akim Demaille  <akim@epita.fr>
6378         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6379         stdint.h.
6380         From Paul Eggert and Lars Hecking.
6382 2001-05-31  Akim Demaille  <akim@epita.fr>
6384         * tests/base.at: Adjust line numbers in error messages.
6386 2001-05-31  Akim Demaille  <akim@epita.fr>
6388         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
6389         to emit the bangshe line.
6390         Reported by David Carter.
6392 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
6394         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
6395         Fortran (95) compilers to check.
6397 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
6399         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
6400         Macro Archive URL.
6402 2001-05-23  Pavel Roskin  <proski@gnu.org>
6404         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
6405         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
6406         (AC_PROG_CXXCPP): Likewise.
6408 2001-05-22  Akim Demaille  <akim@epita.fr>
6410         * config: New directory.
6411         * configure.in: AC_CONFIG_AUX_DIR it.
6412         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
6414 2001-05-22  Akim Demaille  <akim@epita.fr>
6416         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
6417         * autoupdate.in: Specify the Emacs mode.
6418         * acversion.m4.in: Rename as...
6419         * acversion.m4: this.
6420         * tests/Makefile.am (CLEANFILES): More garbage.
6422 2001-05-22  Akim Demaille  <akim@epita.fr>
6424         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
6425         Rename as...
6426         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
6427         these.
6429 2001-05-21  Akim Demaille  <akim@epita.fr>
6431         * configure.in: Bump to 2.50a.
6433 -----
6435 Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
6437 This file is part of GNU Autoconf.
6439 GNU Autoconf is free software; you can redistribute it and/or modify
6440 it under the terms of the GNU General Public License as published by
6441 the Free Software Foundation; either version 2, or (at your option)
6442 any later version.
6444 GNU Autoconf is distributed in the hope that it will be useful,
6445 but WITHOUT ANY WARRANTY; without even the implied warranty of
6446 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6447 GNU General Public License for more details.
6449 You should have received a copy of the GNU General Public License
6450 along with autoconf; see the file COPYING.  If not, write to
6451 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
6452 Boston, MA 02111-1307, USA.