source: trunk/third/autoconf/ChangeLog @ 20137

Revision 20137, 219.0 KB checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20136, which included commits to RCS files with non-trunk default branches.
Line 
12003-11-06  Akim Demaille  <akim@epita.fr>
2
3        Version 2.59.
4
52003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
6
7        * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
8        so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
9        and ac_abs_top_srcdir are absolute paths.
10        * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
11
122003-11-05  Akim Demaille  <akim@epita.fr>
13
14        * configure.ac: Bump to 2.58a.
15
162003-11-05  Kevin Ryde  <user42@zip.com.au>
17
18        * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
19        it provokes a warning from makeinfo about looking like a cross
20        reference in info output.
21
22        * doc/autoconf.texi (Function Portability): Add notes on signal
23        handler return type, as per AC_TYPE_SIGNAL.
24
252003-11-04  Akim Demaille  <akim@epita.fr>
26
27        Version 2.58.
28        * doc/standards.texi: Update from master.
29
30        * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
31
322003-11-04  Akim Demaille  <akim@epita.fr>
33
34        AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
35        computing the absolute path to d1 in the source hierarchy: it may
36        not exist at all.  So don't cd into it.
37        From Alexandre Duret-Lutz.
38        http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
39
40        * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
41        From Paul Eggert, but named after Perl's IO::Spec->catfile.
42        * doc/autoconf.texi (Programming in M4sh): Document.
43        * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
44
452003-11-03  Pavel Roskin  <proski@gnu.org>
46
47        * doc/autoconf.texi (Generic Structure Checks): Describe
48        action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
49
502003-10-31  Akim Demaille  <akim@epita.fr>
51
52        * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
53        (GNU Fortran): New.
54        * doc/autoconf.texi (Language Choice): Document.
55        * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
56        the current language is Fortran.
57
582003-10-31  Akim Demaille  <akim@epita.fr>
59
60        * bin/autom4te.in (&freeze): Use a less likely warning separator
61        than `\n\n', so that `\n\n\n' is valid in warnings.
62        Reported by Steve Huston.
63
642003-10-28  Akim Demaille  <akim@epita.fr>
65
66        * Makefile.cfg (local_updates, executable-update): Tweak to be
67        robust to parallel makes.
68        Suggested by Alexandre Duret-Lutz.
69
702003-10-27  Akim Demaille  <akim@epita.fr>
71
72        * Makefile.cfg (executable-update): New.
73        (local_updates): Call it.
74
752003-10-27  Akim Demaille  <akim@epita.fr>
76
77        * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
78        Don't remove core.* as it may remove valid user files.
79        * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
80        (AC_FUNC_UTIME_NULL): Likewise.
81
822003-10-23  Akim Demaille  <akim@epita.fr>
83
84        Version 2.57g.
85        * config/config.guess, config/config.sub: Upgrade from masters.
86
872003-10-23  Akim Demaille  <akim@epita.fr>
88
89        * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
90        AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
91        hand...
92
932003-10-23  Akim Demaille  <akim@epita.fr>
94
95        * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
96        Don't forget to remove conftest.err.
97
982003-10-23  Akim Demaille  <akim@epita.fr>
99
100        * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
101        same object file in $LIBOBJS.
102        Reported by Alexandre Duret-Lutz & Derek Robert Price.
103        * doc/autoconf.texi (Generic Functions): Adjust.
104
1052003-10-20  Paul Eggert  <eggert@twinsun.com>
106
107        * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
108        Use 'eval', so that the resulting configure scripts work even if
109        the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
110
1112003-10-20  Daniel Jacobowitz  <drow@mvista.com>
112
113        * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
114        * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
115        (_AC_LINK_IFELSE): Check the werror flag.
116        * doc/autoconf.texi (Generic Compiler Characteristics): Document
117        AC_LANG_WERROR.
118        * NEWS: Mention it.
119
1202003-10-20  Daniel Jacobowitz  <drow@mvista.com>
121
122        * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
123        _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
124        override AC_LINK_IFELSE.
125
1262003-10-15  Paul Eggert  <eggert@twinsun.com>
127
128        * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
129        pdksh 5.2.14.  Bug reported by Ralf Corsepius.
130        * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
131        Mention /usr/dt/bin/dtksh on Solaris.
132        (Shell Substitutions): Warn about $((...)).
133        (Parentheses): New section.
134
1352003-10-15  Kevin Ryde  <user42@zip.com.au>
136
137        * doc/autoconf.texi (Function Portability): Add @prindex for exit.
138        Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
139
1402003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
141
142        * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
143        cross test.
144
1452003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
146
147        * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
148        name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
149
1502003-10-10  Andreas Schwab  <schwab@suse.de>
151
152        * bin/autoheader.in: Avoid empty first line in --version and
153        --help output.
154        * bin/ifnames.in: Likewise.
155
1562003-10-09  Paul Eggert  <eggert@twinsun.com>
157
158        * lib/Autom4te/XFile.pm: Don't assume -j is solo.
159        Issue a more-informative diagnostic.
160        Problems reported by Eric Sunshine.
161
1622003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
163
164        * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
165        -mGLOB_options_string stuff for Intel ifc, which can cause
166        _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
167        pattern-matching instead of grep.
168
1692003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
170
171        * doc/autoconf.texi: Document new FC Fortran macros.
172
1732003-10-08  Gary V. Vaughan  <gary@gnu.org>
174
175        * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
176        that future autopoint/aclocal/automake/autoreconf will be able
177        to trace to find where to install local m4 macros.
178        * doc/autoconf.texi (Input): Document it.
179        * NEWS: Updated.
180
1812003-10-06  Gary V. Vaughan  <gary@gnu.org>
182
183        * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
184        -lcrtbegin.o to list of ignored flags and fix underquoting of
185        -lcrt[01].o.
186
1872003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
188
189        * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
190        cache variable instead of $G77 to decide whether to include -O2,
191        since $G77 is specific to Fortran 77.
192
1932003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
194
195        * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
196        free" flag.  Re-order flags tested into rough order of popularity.
197
1982003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
199
200        * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
201        arguments so that it can be used with syntax identical to
202        AC_PROG_F77, and so that we can more easily decide to
203        remove/deprecate the DIALECT optional argument in the future if it
204        proves troublesome.
205        (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
206        non-freeform-supporting compilers.  Document freeform flags.
207
2082003-10-03  Akim Demaille  <akim@epita.fr>
209
210        * configure.ac: Look for emacs, not macs.
211        Reported by Eric Sunshine.
212
2132003-10-03  Akim Demaille  <akim@epita.fr>
214
215        * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
216        * bin/autoreconf.in (autoreconf_current_directory): Create the
217        AUX_DIR if needed, for sake of automake --add-missing etc.
218        Suggested by Alexandre Duret-Lutz.
219
2202003-10-03  Akim Demaille  <akim@epita.fr>
221
222        * configure.ac: Quotation and formatting changes.
223        (EMACS): Don't set it if it is not recent enough to support
224        autoconf-mode.el.
225        From Eric Sunshine.
226
2272003-10-02  Akim Demaille  <akim@epita.fr>
228
229        * bin/ifnames.in (&scan_file): Skip C++ comments.
230        From Jeremy Yallop.
231
2322003-10-01  Pavel Roskin  <proski@gnu.org>
233
234        * doc/autoconf.texi (Particular Structure Checks):
235        Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
236
2372003-10-01  Akim Demaille  <akim@epita.fr>
238
239        Version 2.57f.
240
2412003-09-30  Paul Eggert  <eggert@twinsun.com>
242
243        * lib/Autom4te/XFile.pm: Use Errno.
244        (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
245        <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
246
2472003-09-30  Akim Demaille  <akim@epita.fr>
248
249        * config/announce-gen (&print_news_deltas): Extracted from...
250        (&print_changelog_deltas): here.
251        (&news_file): Rename as...
252        (@news_file): this.
253
2542003-09-30  Nicolas Joly  <njoly@pasteur.fr>
255
256        * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
257        have been created when invoking the compiler.
258        * tests/fortran.at (GNU Fortran 77): Quote $G77.
259
2602003-09-29  Akim Demaille  <akim@epita.fr>
261
262        Version 2.57e.
263
264        * config/mkinstalldirs: Upgrade.
265
2662003-09-28  Paul Eggert  <eggert@twinsun.com>
267
268        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
269        Problem reported by Lars J. Aas in
270        <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
271        (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
272        "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
273        http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
274
2752003-09-26  Akim Demaille  <akim@epita.fr>
276
277        * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
278        directory for AC_CONFIG_COMMANDS' first argument exists.
279        This makes valid the invocation of _AC_SRCPATH that follows.
280        Reported by Eric Sunshine.
281        * doc/autoconf.texi (Configuration Commands): Adjust.
282
2832003-09-26  Akim Demaille  <akim@epita.fr>
284
285        * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
286        Reported by Ralf Corsepius.
287
2882003-09-26  Akim Demaille  <akim@epita.fr>
289
290        * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
291        arguments.
292        Actually, use AU_ALIAS.
293        From Bruno Haible.
294
2952003-09-26  Paul Eggert  <eggert@twinsun.com>
296
297        * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
298        rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
299        Problem reported by Eric Sunshine in:
300        http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
301
3022003-09-26  Akim Demaille  <akim@epita.fr>
303
304        The test suite are sometimes assigning timings incorrectly.
305        Reported by Henk Krus.
306        Diagnosed by Nicolas Joly.
307
308        * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
309        AT_help_all.
310        Instead of making AT_help a sequence of assignments to grow
311        $at_help_all, just make AT_help_all be the growing contents of
312        $at_help_all, and make a single assignment in...
313        (AT_INIT): here.
314        (at_times_skip): Flip the meaning and rename as...
315        (at_times_p): this.
316        (AT_INIT): When summarizing the test that ran, remove
317        $at_times_file after use, and check it is present before trying to
318        use it.
319
3202003-09-25  Akim Demaille  <akim@epita.fr>
321
322        Version 2.57d.
323
324        * bin/Makefile.am (edit): Handle '@configure_input@'.
325        (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
326        (ifnames): chmod -w.
327        * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
328        executables, not bin/ executables!  Otherwise all the magic needed
329        to find non installed files is turned off.  This caused a failure
330        of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
331        as found in its environment (sent by tests/autoreconf): pointing
332        to bin/autom4te that could not find its files.
333        * tests/mktests.sh: Force the replacement of generated files, for
334        the sake of "mv" program that are interactive when overwriting a
335        -w file.
336        * config/install-sh: Upgrade from CVS Automake.
337
3382003-09-23  Paul Eggert  <eggert@twinsun.com>
339
340        * doc/autoconf.texi (Limitations of Builtins): Document test -h
341        versus test -L issues.
342
3432003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
344            Paul Eggert <eggert@twinsun.com>
345
346        Trivial change to support GCC's configuration procedure.
347        * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
348        * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
349        about inconsistency if the preprocessor is set to give errors for
350        any warning.
351        * doc/autoconf.texi (C Compiler Characteristics): Document this.
352
3532003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
354
355        * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
356        and XFile.pm from Automake.
357        * lib/Autom4te/XFile.pm: Update from Automake.
358
3592003-09-12  Akim Demaille  <akim@epita.fr>
360
361        Version 2.57c.
362
3632003-09-12  Akim Demaille  <akim@epita.fr>
364
365        * config/config.guess, config/config.sub, config/missing,
366        * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
367        from masters.
368
3692003-09-12  Akim Demaille  <akim@epita.fr>
370
371        * doc/autoconf.texi (Header Portability): Promote linux/types.h,
372        not asm/types.h.
373
3742003-09-11  Akim Demaille  <akim@epita.fr>
375
376        * doc/autoconf.texi (Header Portability): linux/random.h.
377        From Peter Hendrickson.
378
3792003-09-10  Akim Demaille  <akim@epita.fr>
380
381        * tests/mktests.sh (au_exclude_egrep): Make it harder to be
382        willing to edit the output files.
383
3842003-09-10  Akim Demaille  <akim@epita.fr>
385
386        * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
387        and AC_FC_FREEFORM.
388        * tests/mktests.sh: Skip AC_FC_SRCEXT.
389        * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
390
3912003-09-09  Akim Demaille  <akim@epita.fr>
392
393        * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
394        Reported by Gary Vaughan.
395        * bin/autom4te.in (handle_m4): Likewise.
396
3972003-09-09  Akim Demaille  <akim@epita.fr>
398
399        * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
400        trailing files.
401
4022003-09-07  Paul Eggert  <eggert@twinsun.com>
403
404        * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
405        Improve the accuracy of the wording about obsolescence.
406        From a suggestion by Ian Lance Taylor in
407        <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
408
4092003-09-05  Paul Eggert  <eggert@twinsun.com>
410
411        * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
412        for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
413
4142003-09-04  Akim Demaille  <akim@epita.fr>
415
416        * tests/mktests.sh (ac_exclude_list): Fix the filtering of
417        AC_FUNC_WAIT3.
418
4192003-09-04  Akim Demaille  <akim@epita.fr>
420
421        * bin/autom4te.in: Use &fatal where more appropriate than &error.
422        (freeze): When exiting, use $exit_code.
423        * lib/autoconf/fortran.m4: Comment changes.
424
4252003-09-04  Akim Demaille  <akim@epita.fr>
426
427        * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
428
4292003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
430
431        Add support for newer Fortran dialects.  The F77 interface is
432        unchanged, and continues to support Fortran 77.  New FC macros
433        correspond to all the old F77 macros, with output variables FC,
434        FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
435        available dialect, but older dialects can be specified.  There are
436        new macros AC_FC_SRCEXT to set the source extension, and
437        AC_FC_FREEFORM to accept free-form source files.
438
439        * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
440        New macros.
441        (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
442        * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
443        _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
444        _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
445        AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
446        AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
447        _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
448        _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
449        AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
450        _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
451        AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
452        _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
453        AC_FC_SRCEXT, AC_FC_FREEFORM):
454        New macros.
455        (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
456        AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
457        AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
458        Rewrite in terms of the above.
459        (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
460        * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
461        * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
462        AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
463
4642003-09-02  Paul Eggert  <eggert@twinsun.com>
465
466        * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
467        Document problems with timestamp resolution that 'make', 'cp -p', and
468        'touch -r' have.
469
4702003-08-27  Akim Demaille  <akim@epita.fr>
471
472        * tests/m4sugar.at (cross_warning): Make sure to enable the
473        output, so that we can track spurious m4sugar output.
474        * tests/local.at: Require 2.57.
475        (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
476        are defaulted by AT_CHECK anyway.
477        Use AT_CHECK_AUTOM4TE.
478        * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
479        missing dnl.
480
4812003-08-27  Akim Demaille  <akim@epita.fr>
482
483        * bin/autoheader.in: Issue the "Using auxiliary..." message only
484        when -Wobsolete is set.
485        Set it on by default.
486        Suggested by Klee Dienes.
487
4882003-08-27  Akim Demaille  <akim@epita.fr>
489
490        * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
491        documentation.
492        From Guido Draheim.
493
4942003-08-26  Akim Demaille  <akim@epita.fr>
495
496        * doc/autoconf.texi (Output): Make clear that one can run code
497        after AC_OUTPUT.
498
4992003-08-25  Akim Demaille  <akim@epita.fr>
500
501        * config/announce-gen, GNUmakefile, Makefile.maint: Update from
502        CVS Bison.
503
5042003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
505
506        * bin/autoreconf.in (parse_args): Do not pass --no-force to
507        Automake versions prior to 1.8.
508
5092003-08-25  Akim Demaille  <akim@epita.fr>
510
511        * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
512        From Ville Karaila.
513
5142003-08-24  Akim Demaille  <akim@epita.fr>
515
516        * configure.ac: Bump to 2.57c.
517
5182003-08-22  Akim Demaille  <akim@epita.fr>
519
520        Version 2.57b.
521
522        * Makefile.cfg (local-checks-to-skip): New.
523        * Makefile.maint (local-check): Rename as...
524        (local-checks-available): this.
525        (local-check): New.
526
527        * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
528        * configure.ac: Require Automake 1.7.6.
529
5302003-08-22  Akim Demaille  <akim@epita.fr>
531
532        Output stack traces in warnings.
533
534        * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
535        Replace the former...
536        (m4_warn): Pass the call stack to _m4_warn.
537        * bin/autom4te.in: Adjust to output the call stack.
538        * tests/m4sugar.at (m4@&t@_warn): Adjust.
539
5402003-08-22  Akim Demaille  <akim@epita.fr>
541
542        * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
543        * bin/autom4te.in: Adjust.
544
5452003-08-21  Akim Demaille  <akim@epita.fr>
546
547        * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
548        (&verbose): Remove.
549        (&getopt): Adjust the note and verb channels, depending upon
550        --verbose.
551        * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
552        * bin/autoupdate.in: Adjust.
553        Use &verb, not &verbose.
554
5552003-08-21  Akim Demaille  <akim@epita.fr>
556
557        * bin/autoheader.in (&parse_args): Use &parse_warnings and
558        &parse_WARNINGS.
559        ($help): Use Autom4te::ChannelDefs::usage.
560        * bin/autoscan.in: Use Autom4te::ChannelDefs.
561        * lib/Autom4te/General.pm: Don't export error: you don't own it.
562
5632003-08-21  Akim Demaille  <akim@epita.fr>
564
565        First stab at preserving warnings between calls to autom4te,
566        including when the cache is used.
567
568        There are still several issues: (i) there are too many runs of m4
569        (one for include, one for warnings, and some more), (ii) warnings
570        spreading on several lines are not handled gracefully, (iii) the
571        code meant to have the call stack display for errors does not work
572        (its handling should move from m4 to autom4te).
573
574        * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
575        Use them.
576        (@preselect): Add m4_warn.
577        ($exit_status): Remove, use $exit_code.
578        ($help): Use Autom4te::ChannelDefs::usage.
579        (&handle_m4): No longer define the m4_warnings.
580        At each run, extract and report the warnings.
581        Always cache the result, including if the exit status is on
582        failure, since if nothing changes, we should result in the same
583        failure, hence we can use the cache.
584        * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
585        (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
586        Remove.
587        (m4_warn): Redefine as a do-nothing: it is its invocation that
588        matters, as warnings are now reported via traces.
589        * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
590        the contents of m4_warn: make it _call_ m4_warn, so that tracing
591        the latter reveals calls to the former.
592
593        Adjust the tests.
594
595        * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
596
5972003-08-21  Akim Demaille  <akim@epita.fr>
598
599        * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
600        Use them.
601
6022003-08-21  Akim Demaille  <akim@epita.fr>
603
604        * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
605        forward order.
606        * lib/Autom4te/ChannelDefs.pm: Doc typos.
607        (&parse_warnings): Accept a list of warning requests.
608        (&usage): Return a string, not a side effect.
609        (cross): New warning category.
610
6112003-08-21  Akim Demaille  <akim@epita.fr>
612
613        * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
614        (&require_configure_ac): Accept an optional directory argument.
615        ($configure_ac): Remove.
616        * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
617        (&catfile): Remove.
618        * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
619        * bin/autoscan.in: Adjust.
620
6212003-08-20  Akim Demaille  <akim@epita.fr>
622
623        * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
624        Reported by Alexandre Duret-Lutz.
625
6262003-08-20  Akim Demaille  <akim@epita.fr>
627
628        * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
629        * bin/autom4te: Adjust.
630        In particular, be Autoconf tools are really silent when properly
631        working, bind the verbosity of the 'note' channel to $verbose.
632        * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
633        (&xsystem, &contents): Remove, since they are exported by...
634        * lib/Autom4te/FileUtils.pm: this.
635        More perldoc.
636        * lib/Autom4te/General.pm (&up_to_date_p): Move to...
637        * lib/Autom4te/FileUtils.pm: here.
638
6392003-08-20  Akim Demaille  <akim@epita.fr>
640
641        * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
642        * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
643        from CVS Automake.
644
6452003-08-20  Akim Demaille  <akim@epita.fr>
646
647        * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
648        (autom4te-update): New.
649        * Makefile.cfg (update): Bind autom4te-update.
650
6512003-08-19  Derek Price  <derek@ximbiot.com>
652
653        * lib/autotest/general.m4: Comment various HELP_* diversions.
654        (PARSE_ARGS_BEGIN): New section for option parsing related
655        initialization.
656        (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
657        package specific options and associated help.
658
6592003-08-19  Akim Demaille  <akim@epita.fr>
660
661        * config/announce-gen, Makefile.cfg: New.
662        * Makefile.am: Adjust.
663        * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
664
6652003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
666
667        * lib/autom4te.in (Automake-preselections): Preselect
668        AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
669        and m4_sinclude.
670
6712003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
672
673        * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
674        (Autoconf-without-aclocal-m4): ... this new language.
675        * doc/autoconf.texi (autom4te Invocation): Mention
676        Autoconf-without-aclocal-m4.
677
6782003-08-18  Derek Price <derek@ximbiot.com>
679
680        * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
681        RUN-IF-PASS optional arguments.
682
6832003-08-18  Derek Price  <derek@ximbiot.com>
684
685        * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
686
6872003-08-16  Derek Price  <derek@ximbiot.com>
688
689        * doc/autoconf.texi (Writing testsuite.at): Document defaults for
690        STDOUT & STDERR arguments.
691
6922003-08-14  Derek Price  <derek@ximbiot.com>
693
694        * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
695        DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
696        shorter column three.  Add DESCRIPTION to log file content.
697
6982003-08-13  Derek Price  <derek@ximbiot.com>
699
700        * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
701        output.
702
7032003-08-12  Derek Price  <derek@ximbiot.com>
704
705        * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
706        (AT_CHECK_NOESCAPE): Move core functionality to...
707        (_AT_CHECK): ...this new macro.
708
7092003-08-07  Derek Price  <derek@ximbiot.com>
710
711        * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
712        (AT_CHECK_NOESCAPE): ...to this new macro.
713
7142003-07-31  Paul Eggert  <eggert@twinsun.com>
715
716        * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
717        in Bash 2.01.  Problem reported by Brian Gough in
718        <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
719
7202003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
721
722        * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
723        -lcrt1.o, for OS X.  (trivial change)
724
7252003-07-07  Paul Eggert  <eggert@twinsun.com>
726
727        * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
728        inside '#ifndef __cplusplus'.  Problem reported by
729        Bob Friesenhahn.
730
7312003-07-06  Bill Clarke  <llib@computer.org>
732
733        * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
734        'long', not 'int', for benefit of Sun's recent C++ compilers
735        (trivial change).  See:
736        http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
737        (This really should be 'intptr_t', not 'long', but that would
738        take more work.)
739
7402003-06-25  Akim Demaille  <akim@epita.fr>
741
742        * lib/Makefile.am (autom4te.cfg): Make it read only.
743        Depend on Makefile since it contains substitutions.
744        From Paolo Bonzini.
745        * lib/autom4te.in (args): Add local.at? for Autotest args.
746        This change was made on autom4te.cfg which is generated.
747        Reported by Raja R. Harinath.
748
7492003-06-25  Akim Demaille  <akim@epita.fr>
750
751        * doc/autoconf.texi (Header Portability): sys/mount.h.
752        From Gareth McCaughan.
753
7542003-06-23  Akim Demaille  <akim@epita.fr>
755
756        * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
757        not all of them.  This fixes 1. the fact that when testing
758        Autoconf there are many many config.log, 2. the incorrect use of
759        top_srcdir to find config.log.
760        Don't mix the detailed output of failed test with the summary of
761        failures.  Rather, append detailed log afterwards.
762
7632003-06-23  Akim Demaille  <akim@epita.fr>
764
765        * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
766        always run: output config.log on $at_group_log.
767
7682003-06-23  Akim Demaille  <akim@epita.fr>
769
770        * tests/torture.at (#define header templates): Don't use quotes in
771        C++ comments as it puzzles Emacs' sh font-lock-mode.
772
7732003-06-23  Akim Demaille  <akim@epita.fr>
774
775        * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
776        * lib/autom4te.cfg (args): Add local.at? for Autotest args.
777        * tests/atspecific.m4: Rename as...
778        * tests/local.at: This.
779        * tests/suite.at: Move the globals into...
780        * tests/local.at: here.
781        * tests/Makefile.am: Adjust.
782        * doc/autoconf.texi (testsuite Scripts): Adjust.
783
7842003-06-21  Kevin Ryde  <user42@zip.com.au>
785
786        * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
787        error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
788        ensuring we add -std1 for full-ANSI.
789
790        * doc/autoconf.texi (hdrindex): New macro.
791        Add index entries for portability of various standard header files.
792
7932003-06-20  Akim Demaille  <akim@epita.fr>
794
795        * configure.ac: Bump to 2.57b.
796
7972003-06-20  Akim Demaille  <akim@epita.fr>
798
799        Version 2.57a.
800
8012003-06-20  Akim Demaille  <akim@epita.fr>
802
803        * bin/autom4te.in: Don't rely on $HOME being defined.
804        Reported by Marc Espie as PR/233.
805
8062003-06-20  Akim Demaille  <akim@epita.fr>
807
808        * lib/autotest/general.m4: Use at_times_file only if used.
809        From Nicolas Joly.
810
8112003-06-20  Akim Demaille  <akim@epita.fr>
812
813        * config/config.guess, config/config.sub, config/elisp-comp,
814        * config/install-sh, config/mkinstalldirs, doc/standards.texi:
815        Update from masters.
816
8172003-06-11  Paolo Bonzini  <bonzini@gnu.org>
818
819        * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
820        * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
821        (TEST_SCRIPT): New diversion.
822        (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
823        (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
824        (AT_INIT): Support for expected failures.
825
8262003-06-02  Akim Demaille  <akim@epita.fr>
827
828        * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
829        changes.
830        * lib/Autom4te/General.pm (&backname): Remove, no longer used by
831        Autoconf nor Automake.
832        (&contents): New, from Automake.
833        PODify.
834
8352003-05-28  Paul Eggert  <eggert@twinsun.com>
836
837        * NEWS, doc/autoconf.texi (Particular Functions),
838        lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
839        is the inverse of localtime.
840
8412003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
842
843        * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
844        (handle_exec_errors): New function.  Work around $! being
845        altered by WEXITSTATUS.
846        (xqx, xsystem): Use handle_exec_errors.
847
8482003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
849
850        * lib/Autom4te/General.pm (END): Rewrite exit code processing.
851        Do not call `_exit()', simply modify `$?'.
852        (xsystem): Reset $! before running system, and check it afterward.
853        * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
854        63 for version mismatches.
855
8562003-05-23  Akim Demaille  <akim@epita.fr>
857
858        * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
859        Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
860        the middle of a line).
861        * lib/m4sugar/m4sugar.m4: Likewise.
862        Remove useless spaces in comments.
863
8642003-05-23  Akim Demaille  <akim@epita.fr>
865
866        * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
867        exit 63, so that we (or Automake's "missing") can tell the
868        difference with a plain failure.
869        * doc/autoconf.texi (Notices): Adjust.
870
8712003-05-23  Akim Demaille  <akim@epita.fr>
872
873        * Makefile.am, bin/Makefile.am, config/Makefile.am,
874        * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
875        White spaces cleanup.
876
8772003-05-22  Jim Meyering  <jim@meyering.net>
878            Paul Eggert <eggert@twinsun.com>
879
880        * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
881        Remove `#include <stdlib.h>' from the list; we should never
882        make confdefs.h include <stdlib.h> or <cstdlib>, because the
883        resulting namespace pollution would cause other tests to fail.
884        Configure scripts run with some older versions of g++ and HP's
885        aCC would fail due to such an #include.  Problems reported by
886        Matthew Mueller in <http://bugs.debian.org/120704> and by
887        Keith Bostic in
888        <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
889        In the test, use the test declaration before including <stdlib.h>,
890        as that's closer to how it'll be used.
891
8922003-05-23  Akim Demaille  <akim@epita.fr>
893
894        * doc/autoconf.texi (Header Portability): ucred.h.
895        From Ian Redfern.
896
8972003-05-22  Paolo Bonzini  <bonzini@gnu.org>
898
899        Overhaul Autotest's logging: generate separate log files
900        in testsuite.dir/NNN/testsuite.log, and append them to
901        testsuite.log instead of re-running the test verbosely.
902
903        * lib/autotest/general.m4 (AT_INIT): Use a single redirected
904        file descriptor, write 0 to at_status_file instead of setting
905        at_status=0, initialize some new variables (at_status_file,
906        at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
907        to rerun the tests, instead append the at_group_log to the
908        at_suite_log when a test fails.
909        (AT_SETUP): pipe the test case's output into at_tee_pipe,
910        with the AS_MESSAGE_LOG_FD redirected to stdout.
911        (AT_CLEANUP): save the output status in $at_status_file
912        and restore it, redirect the AS_MESSAGE_LOG_FD back to
913        its original place.
914        (AT_CHECK): since tests are run with a redirected stdout,
915        and used to be re-run in verbose mode, turn some $at_verbose
916        into echo, and don't redirect the output of testing stdout
917        and stderr.
918
919        * lib/autotest/autoconf.texi (testsuite Scripts): Update
920        the name of the debugging directory and information about
921        its contents.
922
9232003-05-22  Paolo Bonzini  <bonzini@gnu.org>
924
925        * lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
926        parameter
927
9282003-05-22  Akim Demaille  <akim@epita.fr>
929
930        * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
931        * lib/autoconf/fortran.m4 lib/autoconf/general.m4
932        * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
933        * lib/autoconf/status.m4: Fix and adjust copyright notices.
934
9352003-05-22  Akim Demaille  <akim@epita.fr>
936
937        * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
938        * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
939        * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
940        * lib/autoconf/general.m4, lib/autoconf/headers.m4,
941        * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
942        * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
943        * lib/autoconf/status.m4, lib/autoconf/types.m4,
944        * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
945        * tests/atspecific.m4, tests/base.at, tests/compile.at,
946        * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
947        * tests/tools.at, tests/torture.at:
948        Whitespace clean up.
949        Suggested by Jim Meyering.
950
9512003-05-22  Akim Demaille  <akim@epita.fr>
952
953        * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
954        ' \t' as '\t ' so that Emacs' whitespace.el keep it.
955        Reported by Jim Meyering.
956
9572003-05-22  Akim Demaille  <akim@epita.fr>
958
959        * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
960        Add AC_HELP_STRING  to the obsolete macros section.
961        Typos.
962        Use '@.' for sentences that ended in a capital letter.
963        From Art Haas.
964
9652003-05-22  Akim Demaille  <akim@epita.fr>
966
967        * config/config.guess, config/config.sub, config/elisp-comp,
968        * config/install-sh, config/mdate-sh, config/mkinstalldirs,
969        * config/texinfo.tex, doc/standards.texi: Update from masters.
970
9712003-05-21  Paolo Bonzini  <bonzini@gnu.org>
972
973        * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
974        it to eval.
975
9762003-05-21  Akim Demaille  <akim@epita.fr>
977
978        * bin/autoupdate.in ($m4): Fix quotation.
979        Reported by Martin Mokrejs.
980
9812003-05-19  Paul Eggert  <eggert@twinsun.com>
982
983        * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
984        Remove non-ASCII characters.
985
9862003-05-18  Paolo Bonzini  <bonzini@gnu.org>
987
988        * tests/semantics.at (AC_SEARCH_LIBS): New test.
989        * tests/semantics.at (AC_CHECK_HEADERS_OLD,
990        AC_CHECK_HEADERS_NEW): New tests.
991
9922003-05-17  Akim Demaille  <akim@epita.fr>
993
994        * lib/autoconf/functions.m4: Use the default includes so that
995        memcmp be declared before being tested.
996        Reported by Sander Niemeijer.
997        (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
998        * doc/autoconf.texi (Default Includes): Document
999        AC_INCLUDES_DEFAULT.
1000
10012003-05-17  Akim Demaille  <akim@epita.fr>
1002
1003        * lib/autoconf/specific.m4: Include signal.h and unistd.h.
1004        * doc/autoconf.texi (Obsolete Macros): Adjust.
1005        Reported by Werner LEMBERG and Debian Bug 190886.
1006
10072003-05-16  Akim Demaille  <akim@epita.fr>
1008
1009        * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
1010        user name space clashes.
1011        Reported by Bruno Haible.
1012
10132003-05-16  Akim Demaille  <akim@epita.fr>
1014
1015        * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1016        * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
1017        them uniform, and more robust to Perl special characters.
1018        Reported by Martin Mokrejs.
1019
10202003-05-14  Akim Demaille  <akim@epita.fr>
1021
1022        * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
1023
10242003-05-14  Akim Demaille  <akim@epita.fr>
1025
1026        * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
1027        linux/irda.h.
1028
10292003-05-12  Akim Demaille  <akim@epita.fr>
1030
1031        * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
1032        message.
1033        From Matthias Andree.
1034
10352003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
1036
1037        * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
1038        and truncate.
1039
10402003-05-06  Akim Demaille  <akim@epita.fr>
1041
1042        Don't try to be smart with aclocal 1.8+ because (i) aclocal no
1043        longer updates aclocal.m4 if useless, (ii) if a file m4_included
1044        by aclocal.m4 is changed it might require the importing of another
1045        m4 extension file, i.e., aclocal must be run.
1046
1047        * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
1048        (&parse_args): Use --force with aclocal if required and supported.
1049        (&autoreconf_current_directory): Use &run_aclocal.
1050
10512003-05-06  Akim Demaille  <akim@epita.fr>
1052
1053        Lock autom4te's cache.
1054
1055        * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
1056        * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
1057        argument instead of a file name, so that the request file remains
1058        open during the whole autom4te run.
1059        ($icache_file): New.
1060        (&freeze): Lock the $icache_file.
1061
10622003-04-29  Derek Price  <derek@ximbiot.com>
1063
1064        * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
1065        seperator with m4_append_uniq().  It doesn't work.
1066        (AT_CLEANUP): Add `;' to end of at_help_all.
1067        (AT_INIT): Allow --keywords to be specified more than once.  When
1068        grepping $at_help_all for keywords, use the field and keyword
1069        seperators to ensure a complete keyword match.  Alter at_prev handling
1070        to support the new --keywords behavior.
1071
10722003-04-27  Karl Berry  <karl@freefriends.org>
1073
1074        * doc/autoconf.texi: Make the dir entries in the autoconf manual
1075        align better with others.  I also made some of the individual
1076        entries on one line, for brevity and to make it easier for me to
1077        sort my dir-example file in the Texinfo distribution :).
1078
10792003-04-12  Jim Meyering  <jim@meyering.net>
1080
1081        * NEWS: Mention the new macro.
1082        * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
1083        * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
1084        * tests/c.at: Test AC_C_RESTRICT.
1085        * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
1086
10872003-04-08  Akim Demaille  <akim@epita.fr>
1088
1089        * bin/ifnames.in: Skip C++ comments.
1090        From Jeremy Yallop.
1091
10922003-04-08  Akim Demaille  <akim@epita.fr>
1093
1094        * GNUmakefile (SHELL): Don't assume sh is in /bin/.
1095        From Ilya Zakharevich.
1096
10972003-04-08  Akim Demaille  <akim@epita.fr>
1098
1099        * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
1100        net/if.h, stdlib.h.
1101
11022003-04-01  Derek Price  <derek@ximbiot.com>
1103
1104        * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
1105        from Akim's checkin of 2003-03-29.
1106
11072003-04-01  Derek Price  <derek@ximbiot.com>
1108
1109        * tests/torture.at (Configuring subdirectories): Add missing
1110        close-quote for Akim's change from 2003-03-28.
1111
11122003-04-01  Akim Demaille  <akim@epita.fr>
1113
1114        * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
1115        (AC, AT, MS): these.
1116        (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
1117        New.
1118        Use them.
1119        * doc/Makefile.am (CLEANFILES): Adjust.
1120        (TEXI2DVI): Make it --batch.
1121
11222003-03-31  Derek Price  <derek@ximbiot.com>
1123
1124        * lib/autotest/general.m4: Revert the checkin from 2003-03-27
1125        which removed the main loop.
1126        Thanks to Akim Demaille.
1127
11282003-03-29  Akim Demaille  <akim@epita.fr>
1129
1130        * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
1131        that starts a GUI.
1132        From Ilya Zakharevich.
1133
11342003-03-29  Akim Demaille  <akim@epita.fr>
1135
1136        * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
1137        documentation to read is Autoconf's.
1138        Suggested by Paul Eggert.
1139
11402003-03-28  Akim Demaille  <akim@epita.fr>
1141
1142        * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
1143        reading the section "Present But Cannot Be Compiled" when the
1144        header causes problems.
1145
11462003-03-28  Akim Demaille  <akim@epita.fr>
1147
1148        * tests/torture.at (Configuring subdirectories): Require aclocal
1149        1.4, otherwise the test fails, as it does support configure.ac.
1150        This fixes the "test 40 failed" bug reports.
1151
11522003-03-28  Akim Demaille  <akim@epita.fr>
1153
1154        * doc/autoconf.texi (C Compiler): `#line' portability.
1155        From Paul Eggert and Nelson H. F. Beebe.
1156
11572003-03-27  Derek Price  <derek@ximbiot.com>
1158
1159        * lib/autotest/general.m4: Eliminate main loop and reorganize test
1160        layout in order to allow scripting around test groups.
1161
11622003-03-27  Derek Price  <derek@ximbiot.com>
1163
1164        * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
1165        HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
1166        use new diversions in preparation for accepting new arguments and
1167        allowing scripting around tests.
1168        (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
1169
11702003-03-26  Derek Price  <derek@ximbiot.com>
1171
1172        * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
1173        obsolete AC_HELP_STRING.
1174        (AC_HELP_STRING): AU_DEFUN to...
1175        * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
1176        * tests/m4sh.at (AS_HELP_STRING): New test.
1177
1178        * tests/acgeneral.at: Regenerated.
1179
11802003-03-26  Derek Price  <derek@ximbiot.com>
1181
1182        * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
1183        sense.  Verbosify the diversion definitions comment.
1184
11852003-03-26  Derek Price  <derek@ximbiot.com>
1186
1187        * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
1188        AS_PREPARE.
1189
11902003-03-21  Eric Siegerman  <eric_97@pobox.com>
1191
1192        * doc/autoconf.texi (Present But Cannot Be Compiled):
1193        Grammar fixes and minor rewording. (trivial change)
1194
11952003-03-06  Paul Eggert  <eggert@twinsun.com>
1196
1197        Work around a problem noted by Nelson H. F. Beebe with coreutils
1198        4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
1199        2002/05/09) rejects '#line 32768 "configure"' because the line
1200        number overflows.
1201        * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
1202        #line directives.
1203        * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
1204        * doc/autoconf.texi (Generating Sources): Document this.
1205
12062003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
1207
1208        * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
1209        file name for the m4 program, when it has an "exe" file extension.
1210        DJGPP's error messages include the error code in brackets -
1211        remove the error code during normalization.
1212
12132003-02-28  Akim Demaille  <akim@epita.fr>
1214
1215        * doc/autoconf.texi (Present But Cannot Be Compiled): New.
1216
12172003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
1218
1219        * doc/autoconf.texi (Limitations of Make): Remove the section
1220        about `$<' in inference rules, it was a bogus interpretation of
1221        an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
1222        Tru64 make in the "target lookup" section.
1223        (Automake): Automake 1.5+ no longer requires special tools to be
1224        present on the developer's host.
1225
12262003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
1227
1228        * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
1229        to a shell that can handle redirection or quoting correctly.
1230        Override SHELL with the shell detected by configure.
1231        Use of $^O suggested by Tim van Holder.
1232        * bin/autom4te.in (BEGIN): Likewise.
1233        * bin/autoreconf.in (BEGIN): Likewise.
1234        * bin/autoscan.in (BEGIN): Likewise.
1235        * bin/autoupdate.in (BEGIN): Likewise.
1236        * bin/ifnames.in (BEGIN): Likewise.
1237
1238        * bin/ifnames.in: Add final newline to help and version messages.
1239
1240        * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
1241        to cope with DOS-style absolute paths, when constructing
1242        ${ac_make}.
1243
1244        * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
1245        When constructing paths with IFS=:, quote the path. If we're
1246        constructing a DOS-style absolute path, we don't want to split it
1247        on the colon.
1248
1249        * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
1250        in description.
1251
12522003-02-25  Pavel Roskin  <proski@gnu.org>
1253
1254        * bin/autoheader.in: Add missing newline when printing
1255        suggestion how change AC_DEFINE call.
1256
12572003-02-24  Paul Eggert  <eggert@twinsun.com>
1258
1259        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
1260        2002-09-01 patch by replacing "test -n" with "test -z".
1261        This fixes a bug found by Jeff Painter and reported by Tom Epperly in
1262        <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
1263
1264        * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
1265        to fix a mismatch between example and discussion.
1266
12672003-02-24  Kevin Ryde  <user42@zip.com.au>
1268
1269        * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
1270        format starting with "-".
1271
12722003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
1273
1274        * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
1275        is not portable inside Makefile.
1276
12772003-02-20  Akim Demaille  <akim@epita.fr>
1278
1279        * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
1280        compiler says yeah, but preproc says nope, compiler is right.
1281        Conversely, prompt the reader to send a bug report to the
1282        maintainers of the package, not of Autoconf.
1283
12842003-02-20  Klee Dienes  <kdienes@apple.com>
1285
1286        * bin/autoreconf.in (autoreconf_current_directory): Properly
1287        handle an empty aclocal.m4.
1288
12892003-02-20  Akim Demaille  <akim@epita.fr>
1290
1291        * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
1292        $ac_prefix_program.
1293        From Larry Jones.
1294
12952002-12-23  Paul Eggert  <eggert@twinsun.com>
1296
1297        * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
1298        innocuous variant befor including <limits.h> or <assert.h>.  This
1299        works around a bug reported by Albert Chin: HP-UX 11i
1300        (and earlier versions) have a <limits.h> that declares
1301        gettimeofday and many other functions.
1302
13032002-12-03  Paul Eggert  <eggert@twinsun.com>
1304
1305        Version 2.57.
1306
1307        * NEWS, configure.ac: Update version.
1308
1309        * doc/fdl.texi: Upgrade to FDL version 1.2.
1310
1311        * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
1312        nontrivially in main's body, so that f's external declaration is
1313        not optimized away in AIX.  This should fix the bug reported by
1314        Martin Frydl in
1315        <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
1316
1317        * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
1318        _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
1319        defined, to support freestanding compilers.  This should fix the
1320        bug reported by Momchil Velkov in
1321        <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
1322
1323        * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
1324        arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
1325        obsolete AC_CHECK_TYPE.  The missing empty arg was reported
1326        by Simon Josefsson in
1327        <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
1328
1329        * Makefile.maint (www-gnu): New macro.
1330        (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
1331        the location has moved.
1332
13332002-12-02  Martin Frydl  <martin@systinet.com>
1334
1335        * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
1336        \(.*\) match is too long and there is something more to be checked.
1337        <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
1338
13392002-11-15  Akim Demaille  <akim@epita.fr>
1340
1341        Version 2.56.
1342
1343        * config/install-sh: chmod +x.
1344        From Paul Eggert.
1345        * config/move-if-change: Indenting changes.
1346        * Makefile.am (AUTOMAKE_OPTIONS): Move to...
1347        * configure.ac (AM_INIT_AUTOMAKE): here.
1348        Require 1.7.1.
1349
13502002-11-14  Akim Demaille  <akim@epita.fr>
1351
1352        Version 2.55.
1353
1354        * config/config.guess, config/config.sub, config/install-sh:
1355        Update from masters.
1356
13572002-11-14  Akim Demaille  <akim@epita.fr>
1358
1359        * Makefile.maint: Sync with Bison, i.e.:
1360        (po-check): Scan .l and .y files instead of the
1361        .c and the .h files that they generate.  This fixes the bug
1362        reported by Tim Van Holder in:
1363        <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
1364        Look for N_ as well as for _.  Try to avoid matching #define for
1365        N_ and _.
1366        From Paul Eggert.
1367
13682002-11-14  Akim Demaille  <akim@epita.fr>
1369
1370        * doc/autoconf.texi (C Compiler): Compiling several files at once.
1371        From Paul Eggert and Albert Chin-A-Young.
1372
13732002-11-14  Akim Demaille  <akim@epita.fr>
1374
1375        * doc/autoconf.texi (C Compiler): Solitary backslashes.
1376        From Paul Eggert and Albert Chin-A-Young.
1377
13782002-11-14  Kevin Ryde  <user42@zip.com.au>
1379
1380        * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
1381        than assigning in main, to avoid HP cc +O3 optimizing it away.
1382
13832002-11-12  Peter Eisentraut  <peter_e@gmx.net>
1384
1385        * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
1386        option.  Process --recheck after parsing all options.  Pass -q
1387        option to configure on --recheck.
1388        (AC_OUTPUT): Pass -q from configure to config.status.
1389        * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
1390        arguments to record.
1391        * doc/autoconf.texi (config.status Invocation): Document
1392        config.status -q option.
1393
13942002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
1395
1396        * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
1397        Makefile.in if Makefile.am exists.
1398        (output): Strip `.am' from Makefiles.  Don't
1399        output AC_CONFIG_FILES if no Makefiles were found.
1400
14012002-11-07  Akim Demaille  <akim@epita.fr>
1402
1403        * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
1404        (local_updates): New.
1405        * Makefile.maint: Update, from CVS Bison.
1406        (local_updates): New.
1407
14082002-11-06  Akim Demaille  <akim@epita.fr>
1409
1410        * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
1411        declaration in extern "C" too.
1412        Reported by Roberto Bagnara.
1413
14142002-11-06  Akim Demaille  <akim@epita.fr>
1415
1416        * tests/torture.at (Configuring subdirectories): Don't use grep
1417        -w.
1418        * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
1419        Reported by Ezra Peisach.
1420
14212002-11-05  Akim Demaille  <akim@epita.fr>
1422
1423        * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
1424        Remove.
1425        We _have_ to stop using the old compatibility scheme that tried to
1426        avoid useless backslashes because Libtool 1.4.3 contains a
1427        AC_DEFINE([error_t], [int],
1428        [Define to a type to use for \`error_t' if it is not
1429        otherwise available.])
1430        We _have_ to quote the single quote and backslashes with \.  The
1431        old compatibility scheme saw that ` was backslashed, and therefore
1432        did not quote the single quote.  Hence before this patch, Autoconf
1433        was not compatible with Libtool.
1434
14352002-11-04  Paul Eggert  <eggert@twinsun.com>
1436
1437        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
1438        too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
1439        LC_NAME, LC_PAPER, LC_TELEPHONE.
1440        * doc/autoconf.texi (Special Shell Variables): Mention those vars.
1441
14422002-11-04  Akim Demaille  <akim@epita.fr>
1443
1444        Version 2.54c.
1445
1446        * Makefile.maint (update, cvs-update, po-update, do-po-update):
1447        New.
1448        * config/texinfo.tex: Update.
1449
14502002-11-03  Akim Demaille  <akim@epita.fr>
1451
1452        * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
1453        from...
1454        (&autoreconf): here.
1455        ($help, $make, &parse_args, &autoreconf_current_directory):
1456        Support -m/--make.
1457        * doc/autoconf.texi (autoreconf Invocation): Adjust.
1458
14592002-10-31  Bruno Haible  <bruno@clisp.org>
1460
1461        * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
1462        Change name of cache variable to ac_cv_func_malloc_0_nonnull.
1463        (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
1464        (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
1465        to ac_cv_func_realloc_0_nonnull.
1466        (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
1467
14682002-10-31  Akim Demaille  <akim@epita.fr>
1469
1470        The test suite was no longer checking for trailing envvars and files.
1471
1472        * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
1473        (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
1474
14752002-10-31  Akim Demaille  <akim@epita.fr>
1476
1477        * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
1478        `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
1479        Make variable, not a shell variable.
1480        Suggested by Bruno Haible.
1481
14822002-10-31  Akim Demaille  <akim@epita.fr>
1483
1484        * bin/autom4te.in (load_configuration): Reject #args out of any
1485        language.
1486
14872002-10-31  Akim Demaille  <akim@epita.fr>
1488
1489        * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
1490        (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
1491        (_AC_RUN_IFELSE): Use it.
1492        * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
1493        (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1494        * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
1495        inline it.
1496
14972002-10-30  Akim Demaille  <akim@epita.fr>
1498
1499        * bin/autom4te.in (&parse_args, $help): Support --no-cache.
1500        * doc/autoconf.texi (autom4te Invocation): Adjust.
1501        Suggested by Tim van Holder.
1502
15032002-10-29  Paul Eggert  <eggert@twinsun.com>
1504
1505        * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
1506        AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
1507        Problem reported by Bruno Haible.
1508
15092002-10-29  Akim Demaille  <akim@epita.fr>
1510
1511        * doc/autoconf.texi (Header Templates): Put also in words what the
1512        pictures says to assist free style readers.
1513        (Customizing autom4te): s/--cache=/--cache /.
1514
15152002-10-29  Akim Demaille  <akim@epita.fr>
1516
1517        * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
1518        sys/wait.h.
1519        sparc_address_test returns void.
1520        Use it with an argument, as prototyped.
1521        From Bruno Haible.
1522
15232002-10-29  Akim Demaille  <akim@epita.fr>
1524
1525        * doc/autoconf.texi (Subdirectories): Cygnus dirs have
1526        configure.in, not configure.ac.
1527        Reported by Bruno Haible.
1528
15292002-10-29  Akim Demaille  <akim@epita.fr>
1530
1531        * tests/torture.at (Deep Package): New test.
1532        (Configuring subdirectories): Don't use a testSubDir as Autotest
1533        now does it itself.
1534
15352002-10-29  Akim Demaille  <akim@epita.fr>
1536
1537        * bin/autoreconf.in (&parse_args, $help): Support --warnings.
1538        * doc/autoconf.texi (Invoking autom4te): Rename as...
1539        (autom4te Invocation): this, for consistency with the other nodes.
1540
15412002-10-29  Akim Demaille  <akim@epita.fr>
1542
1543        * lib/autom4te.in (Autoconf): s/automate/autom4te/.
1544        Reported by Ralf Corsepius.
1545
15462002-10-29  Akim Demaille  <akim@epita.fr>
1547
1548        * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1549        characters is a back as an `obsolete' warning now.
1550        Reported by Ralf Corsepius.
1551
15522002-10-28  Akim Demaille  <akim@epita.fr>
1553
1554        * configure.ac: Bump to 2.54c.
1555
15562002-10-28  Akim Demaille  <akim@epita.fr>
1557
1558        Version 2.54b.
1559
1560        * tests/foreign.at (Libtool): Adjust to broken libtoolize.
1561
15622002-10-28  Akim Demaille  <akim@epita.fr>
1563
1564        * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
1565        m4 executable names, and different GNU M4 version.
1566        Reported by Ezra Peisach and Paul Jarc.
1567
15682002-10-27  Akim Demaille  <akim@epita.fr>
1569
1570        * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
1571        AC_RUN_IFELSE.
1572
15732002-10-27  Akim Demaille  <akim@epita.fr>
1574
1575        * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
1576        * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
1577        Die when a simple Fortran program cannot be compiled.
1578        * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
1579        Issue a warning if no function is given.
1580
15812002-10-27  Akim Demaille  <akim@epita.fr>
1582
1583        * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
1584        Move the documentation of AC_TRY_RUN to...
1585        (Obsolete Macros): here.
1586        Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
1587        (autoconf Invocation): Remove the duplicates with `invoking
1588        autom4te'.
1589        * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
1590        * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
1591
15922002-10-27  Akim Demaille  <akim@epita.fr>
1593
1594        * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
1595        and AC_LANG_FUNC_LINK_TRY.
1596        (Examining Libraries): Rename as...
1597        (Running the Linker): this.
1598        Document AC_LINK_IFELSE.
1599        Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
1600        (Obsolete Macros): here.
1601        * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
1602        AC_TRY_LINK_FUNC nor AC_TRY_LINK.
1603        * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
1604        * lib/autoconf/headers.m4 (AC_USG): Likewise.
1605
16062002-10-27  Akim Demaille  <akim@epita.fr>
1607
1608        * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
1609
1610        More `check config.log' messages.
1611
1612        * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
1613        * doc/autoconf.texi (Printing Messages): Document it.
1614        * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
1615        appropriate.
1616        * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
1617        (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
1618        (_AC_COMPILER_OBJEXT): Likewise.
1619        * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
1620        * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
1621        Likewise.
1622        * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
1623        Likewise.
1624
1625        Deprecate macros with unusual interfaces.
1626
1627        * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
1628        (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
1629
1630        Document the new ones, and proper style.
1631
1632        * doc/autoconf.texi (Generating Sources): New.
1633        Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
1634        (Examining Declarations): Rename as...
1635        (Running the Preprocessor): this.
1636        Document AC_PREPROC_IFELSE.
1637        (Examining Syntax): Rename as...
1638        (Running the Compiler): this.
1639        (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
1640        (Obsolete Macros): Move the definition of AC_TRY_CPP and
1641        AC_TRY_COMPILE here.
1642
16432002-10-27  Akim Demaille  <akim@epita.fr>
1644
1645        Move sections around.
1646
1647        * doc/autoconf.texi (Customizing autom4te): Remove a lost
1648        sentence.
1649        Reported by Burno Haible.
1650        (Language Choice): Now the first section of...
1651        (Writing Tests): this section.
1652        Make the introduction less C-centric.
1653        (Guidelines, Test Functions): Move to...
1654        (Writing Test Programs): this new section.
1655        (Test Programs): Merge into...
1656        (Run Time): this.
1657
16582002-10-27  Akim Demaille  <akim@epita.fr>
1659
1660        * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
1661        autom4te.in that resulted in the need for two `make' runs.
1662
16632002-10-27  Akim Demaille  <akim@epita.fr>
1664
1665        * configure.ac: Bump to 2.54b.
1666
16672002-10-25  Akim Demaille  <akim@epita.fr>
1668
1669        Version 2.54a.
1670
1671        * Makefile.maint: Update from the Coreutils.
1672        (AMTAR): Remove, obsolete.
1673        (automake_repo): Update to redhat.com.
1674        (cvs_file): New.
1675        Adjust to the fact that ansi2knr is now hosted by Automake.
1676        * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
1677        * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
1678        Update from masters.
1679        * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
1680        autoscan.pre is not to be installed, and autoscan.list is not to
1681        be shipped.
1682        (CLEANFILES): Add autoscan.list.
1683        (autoscan.list): Disable the cache.
1684        * bin/Makefile.am: Include freeze.mk.
1685
16862002-10-25  Akim Demaille  <akim@epita.fr>
1687
1688        * bin/autom4te.in (&load_configuration): Take the file as
1689        argument.
1690        (&parse_args): Handle -C, --cache.
1691        ($help): Adjust.
1692        (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
1693        * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
1694        * doc/autoconf.texi (Invoking autom4te): Document --cache.
1695        Now a subsection of...
1696        (Using autom4te): This new section.
1697        (Customizing autom4te): New.
1698        (autom4te.cache): Adjust.
1699
17002002-10-25  Akim Demaille  <akim@epita.fr>
1701
1702        * doc/autoconf.texi (Generic Headers): More information on how to
1703        use AC_CHECK_HEADERS.
1704
17052002-10-25  Akim Demaille  <akim@epita.fr>
1706
1707        * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
1708        Space changes.
1709
17102002-10-25  Akim Demaille  <akim@epita.fr>
1711
1712        * bin/autoscan.in (output): Output AC_PREREQ.
1713        (%needed_macros): Add AC_PREREQ so that configure.ac without one
1714        be reported.
1715
17162002-10-23  Akim Demaille  <akim@epita.fr>
1717
1718        * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
1719        document _Bool.
1720
17212002-10-23  Akim Demaille  <akim@epita.fr>
1722
1723        * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
1724        Reported by Peter Eisentraut.
1725
17262002-10-23  Akim Demaille  <akim@epita.fr>
1727
1728        * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
1729        type _Bool.
1730        Fix a typo.
1731        * doc/autoconf.texi (Particular Headers): Adjust according to Paul
1732        Eggert's recommandations.
1733
17342002-10-22  Akim Demaille  <akim@epita.fr>
1735
1736        * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
1737        Bison, by Paul Eggert.
1738        * doc/autoconf.texi (Particular Headers): Document it.
1739
17402002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
1741
1742        * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
1743        `$ac_configure_args'.
1744
17452002-10-22  Akim Demaille  <akim@epita.fr>
1746
1747        * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
1748        (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
1749        From Art Haas.
1750
17512002-10-22  Akim Demaille  <akim@epita.fr>
1752
1753        Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
1754
1755        * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1756        (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
1757        (_AC_CHECK_HEADER_NEW): Rename as...
1758        (AC_CHECK_HEADER): this.
1759
17602002-10-22  Akim Demaille  <akim@epita.fr>
1761
1762        * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
1763        words about HP-UX cmp: it was actually a user-written cmp.
1764
17652002-10-22  Akim Demaille  <akim@epita.fr>
1766
1767        * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
1768        are a few warnings.
1769        * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1770        Quote for Perl '' strings, not "".
1771        * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
1772        strings.
1773
17742002-10-22  Akim Demaille  <akim@epita.fr>
1775
1776        * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1777        characters is a syntax warning now.
1778        (_AS_QUOTE): Accept $2 as list of characters to quote.
1779        * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1780        Quote for Perl, not sh.
1781        * bin/autoheader.in: When $debug, report the file which is
1782        `do'ne.
1783        * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
1784        `@', to tickle Perl's lists.
1785        Reported by Carlos Velasco.
1786
17872002-10-18  Akim Demaille  <akim@epita.fr>
1788
1789        * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
1790        missing included files _are_ errors.
1791        Thanks to Alexandre Duret-Lutz.
1792        * tests/tools.at (autom4te cache): Adjust.
1793        * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
1794        (AT_CHECK_M4SUGAR): Use it.
1795        * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1796        Adjust.
1797        * tests/tools.at (autom4te): Now it does exit 1.
1798
17992002-10-17  Akim Demaille  <akim@epita.fr>
1800
1801        * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
1802        Fixes the `AC_ARG_VAR' test failures.
1803        * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
1804        * lib/freeze.mk (check-forbidden-patterns): New.
1805        * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
1806        * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
1807        * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
1808        /dev/null.
1809        Reported months ago by H. Merijn Brand.
1810
18112002-10-17  Akim Demaille  <akim@epita.fr>
1812
1813        * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
1814
18152002-10-16  Paul Eggert  <eggert@twinsun.com>
1816
1817        * Makefile.maint (wget_files): Remove ansi2knr.c.
1818        (ansi2knr.c-url_prefix): Remove.
1819
18202002-10-16  Akim Demaille  <akim@epita.fr>
1821
1822        Because of caching, some files that no longer exist and are no
1823        longer required can still cause errors.
1824        Reported by Alexandre Duret-Lutz.
1825
1826        * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
1827        to frozen files in @ARGV, as @ARGV must remain being a list of
1828        files.  Rather, at M4 call sites, use this...
1829        (&files_to_options): New function.
1830        (&freeze): Use &error.
1831        (&up_to_date): If a file that was included according to the cache
1832        is no longer there, then the output is out dated.
1833        (&main): Don't even check whether a file is up to date is anyway
1834        --force is given.
1835        * tests/tools.at (autom4te cache): New.
1836
18372002-10-16  Akim Demaille  <akim@epita.fr>
1838
1839        * bin/autoconf.as: Kill dead options.
1840        * bin/autoupdate.in (&parse_args): Kill old options.
1841        * bin/autoreconf.in (&parse_args): Remove dead options.
1842        Factor some code.
1843        (&autoreconf): Report the directories we enter *and leave*, so
1844        that error messages can be easily located, and use GNU Make
1845        format, so that Emacs' compile mode understands us.
1846        * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
1847        if some file was changed instead of `print'.
1848        * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
1849        (&parse_args): Remove the dead options.
1850        * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
1851        autoheader's quiet mode.
1852        (AT_CHECK_AUTOUPDATE): Likewise.
1853        * tests/tools.at (autoupdate): Adjust.
1854        * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
1855
18562002-10-11  Akim Demaille  <akim@epita.fr>
1857
1858        No longer use CPP to check for the existing of headers: use CC to
1859        check for compilability.
1860
1861        * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1862        (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
1863        (_AC_CHECK_HEADER_NEW): Rename as...
1864        (AC_CHECK_HEADER): this.
1865
1866        * lib/autotest/general.m4 (AT_INIT): Include the failed test
1867        numbers in the Subject suggestion.
1868
18692002-10-11  Akim Demaille  <akim@epita.fr>
1870
1871        * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
1872        Suggest using AC_CHECK_DECLS instead.
1873
18742002-10-11  Akim Demaille  <akim@epita.fr>
1875
1876        * tests/torture.at (AC_ARG_VAR): Have configure report the value
1877        of `precious'.
1878
18792002-10-11  Akim Demaille  <akim@epita.fr>
1880
1881        * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
1882        file name to enable parallel executions.
1883        From Sam Varshavchik.
1884
18852002-10-08  Akim Demaille  <akim@epita.fr>
1886
1887        * bin/autoreconf.in (&autoreconf): Run autopoint before the first
1888        aclocal invocation, as Gettext macros might not be visible to
1889        aclocal.
1890        Instead of blindly running autopoint, scan configure.ac (not the
1891        traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
1892        Reported by Paul D. Smith.
1893
18942002-10-08  Paul Eggert  <eggert@twinsun.com>
1895
1896        Work around problems found when POSIXLY_CORRECT=1 is set.
1897        None of this seems to have anything to do with POSIX, really,
1898        but it's how Perl getopt works.
1899        * bin/autom4te.in (parse_args): Configure GetOpt with
1900        "permute", too.
1901        * doc/autoconf.texi (Invoking autom4te):
1902        --warning -> --warnings.
1903        * lib/autom4te.in: --warning -> --warnings.
1904
19052002-09-28  Akim Demaille  <akim@epita.fr>
1906
1907        * doc/autoconf.texi (autom4te.cache): New section.
1908
19092002-09-28  Akim Demaille  <akim@epita.fr>
1910
1911        * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
1912        (Automake-preselections): Update.
1913        * bin/autoreconf.in, bin/autoheader.in: Comment changes.
1914
19152002-09-28  Akim Demaille  <akim@epita.fr>
1916
1917        * lib/autoscan/autoscan.pre: Move all the remaining rules to...
1918        * lib/autoconf/c.m4, lib/autoconf/functions.m4,
1919        * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
1920        * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
1921
19222002-09-28  Akim Demaille  <akim@epita.fr>
1923
1924        * tests/torture.at (Configuring subdirectories): Be robust to
1925        users who use config.site to require for a cache: in this case,
1926        the two last configure runs, using two different sets of
1927        arguments, trigger a legitimate error.
1928
19292002-09-28  Akim Demaille  <akim@epita.fr>
1930
1931        * tests/m4sh.at (Functions Support, Functions and return Support):
1932        New.
1933
19342002-09-28  Akim Demaille  <akim@epita.fr>
1935
1936        * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
1937        autoheader are Perl programs.
1938        (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
1939        (autom4te): Specify that the sources are in the $srcdir.
1940        * doc/autoconf.texi (Installation Directory Variables): Adjust.
1941
19422002-09-28  Akim Demaille  <akim@epita.fr>
1943
1944        * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
1945        (tm_zone): Move their rules to...
1946        * lib/autoconf/types.m4: here, using AN_ macros.
1947        * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
1948        (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
1949        (make, mawk, nawk, ranlib, yacc): Similarly, move to...
1950        * lib/autoconf/programs.m4: here.
1951        * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
1952        (ETAGS_FOR_AUTOCONF): New.
1953        Use it.
1954
19552002-09-28  Akim Demaille  <akim@epita.fr>
1956
1957        * lib/autoconf/autoscan.m4: New file.
1958        * lib/autoconf/autoconf.m4: Include it.
1959        * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
1960        that were listed in the original autoscan.list.
1961        * lib/autoconf/headers.m4: Similarly with headers.
1962        * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
1963        (.m4.m4f): Don't pass --prepend-include, since that's done by
1964        tests/autom4te itself.
1965        * lib/autoscan/Makefile.am: Include freeze.mk.
1966        (autoscan.list): New target --this file is no longer a source.
1967        (autoscan.pre): New file.
1968
19692002-09-28  Akim Demaille  <akim@epita.fr>
1970
1971        * bin/autoscan.in (@kinds): Make them singular.
1972        Adjust all uses.
1973        (&init_tables): When --debug, report the list of rules to ease
1974        tracking changes in autoscan.list.
1975        * lib/autoscan/autoscan.list (function): Strip comments, sort.
1976
19772002-09-28  Akim Demaille  <akim@epita.fr>
1978
1979        * lib/autoscan/functions, lib/autoscan/headers,
1980        * lib/autoscan/identifiers, lib/autoscan/makevars,
1981        * lib/autoscan/programs: Merge into...
1982        * lib/autoscan/autoscan.list: this.
1983        * bin/autoscan.in (&init_tables): Adjust.
1984
19852002-09-28  Akim Demaille  <akim@epita.fr>
1986
1987        * lib/autoscan/functions, lib/autoscan/headers,
1988        * lib/autoscan/identifiers, lib/autoscan/makevars,
1989        * lib/autoscan/programs: Make the `kind' explicit, i.e., each
1990        `functions' line is now prefixed with `function:'.
1991        * bin/autoscan.in (&init_tables): Adjust.
1992
19932002-09-28  Akim Demaille  <akim@epita.fr>
1994
1995        From now on, autoscan files must always map a macro name to a
1996        word: there is no `default' macro for autoscan.
1997
1998        * bin/autoscan.in (&init_tables): Reject entries with no macro at
1999        all.
2000        * lib/autoscan/functions, lib/autoscan/headers: Make the macro
2001        explicit.
2002
20032002-09-28  Akim Demaille  <akim@epita.fr>
2004
2005        * bin/autoscan.in (%c_keywords): Remove.
2006        (&used): Keep only track of the words we might be interested in.
2007        (&output_kind): It is no longer needed to look for non active
2008        checks.
2009
20102002-09-27  Akim Demaille  <akim@epita.fr>
2011
2012        * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
2013        jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
2014        * lib/autoscan/functions: Adjust.
2015        * doc/autoconf.texi (Particular Functions): Adjust.
2016
20172002-09-27  Akim Demaille  <akim@epita.fr>
2018
2019        * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
2020        from /tmp.
2021        Thanks to Bill Moseley and Paul Eggert.
2022        * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
2023        the tmpdir must be created.
2024        * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
2025        dir be in the build tree, instead of $TMPDIR.
2026
20272002-09-27  Akim Demaille  <akim@epita.fr>
2028
2029        * bin/autoscan.in: Improve the comments.
2030        (&parse_args): Drop obsolete undocumented options.
2031        (&output_kind): Output warnings.
2032        * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
2033        (getwd): Trigger a warning.
2034
20352002-09-26  Akim Demaille  <akim@epita.fr>
2036
2037        * bin/autoreconf.in: Clarify that -s is meaningless without -i.
2038        Reported by Ralf Corsepius.
2039        * doc/autoconf.texi (autoreconf Invocation): Likewise.
2040
20412002-09-26  Akim Demaille  <akim@epita.fr>
2042
2043        Single suffix rules and seperated dependencies are not portable.
2044
2045        * doc/autoconf.texi (Installation Directory Variables): Update.
2046        (Limitations of Make): Some about `Single Suffix Rules and
2047        Separated Dependencies'.
2048        * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2049        (ifnames, autoscan, autom4te): Un-factor into several rules.
2050
20512002-09-25  Paul Eggert  <eggert@twinsun.com>
2052
2053        * BUGS (Interoperability bugs): New section.  Mention libtool
2054        1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
2055
20562002-09-24  Paul Eggert  <eggert@twinsun.com>
2057
2058        Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
2059        make handles suffix-rules differently from GNU make.
2060
2061        * bin/Makefile.am (SUFFIXES, .in): Remove.
2062        (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
2063        Move the body of the old .in rule here.
2064
20652002-09-16  Akim Demaille  <akim@epita.fr>
2066
2067        i960 compilers create `b.out' files by default.
2068        Reported by Ralf Corsepius.
2069
2070        * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
2071        (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
2072
20732002-09-13  Paul Eggert  <eggert@twinsun.com>
2074
2075        * doc/autoconf.texi (Particular Headers): Remove obsolete
2076        reference to `struct timezone' in the description of
2077        AC_HEADER_TIME.
2078
20792002-09-13  Akim Demaille  <akim@epita.fr>
2080
2081        Version 2.54.
2082
2083        * config/config.sub, config/config.guess: Update.
2084        * Makefile.maint: Update from bits of the Coreutils 4.5.1.
2085        * Makefile.am: Adjust.
2086
20872002-09-13  Akim Demaille  <akim@epita.fr>
2088
2089        * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
2090        reading config.log when the compiler is rejected.
2091        Suggested by Guido Draheim.
2092
20932002-09-13  Akim Demaille  <akim@epita.fr>
2094
2095        * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
2096        (chdir_init) might hang when stat'ing mounted directories.
2097        Reported by Vance Shipley.
2098
20992002-09-12  Akim Demaille  <akim@epita.fr>
2100
2101        * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
2102        the lists.
2103
21042002-09-12  Akim Demaille  <akim@epita.fr>
2105
2106        * doc/autoconf.texi (Defining Symbols): Present two different
2107        prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
2108        difference between 1 argument calls, and 2-3 argument calls.
2109
21102002-09-12  Peter Eisentraut  <peter_e@gmx.net>
2111
2112        * doc/autoconf.texi: Review grammar and punctuation.
2113
21142002-09-11  Paul Eggert  <eggert@twinsun.com>
2115
2116        * doc/autoconf.texi: Fix minor formatting, spelling, and
2117        grammatical typos.
2118        (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
2119        AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
2120        is obsolescent.
2121
21222002-09-11  Akim Demaille  <akim@epita.fr>
2123
2124        * doc/autoconf.texi (Questions): Rename as...
2125        (FAQ): this.
2126        (Defining Directories): New.
2127
21282002-09-09  Akim Demaille  <akim@epita.fr>
2129
2130        * doc/autoconf.texi (Making testsuite Scripts): Update.
2131        Suggested by Nishio Futoshi.
2132
21332002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
2134
2135        * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
2136        plain `@' is wanted.
2137
21382002-09-09  Akim Demaille  <akim@epita.fr>
2139
2140        * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
2141        `duplicates', since the algorithm was too naive and could keep
2142        `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
2143        keep `--prefix foo --prefix bar' as `--prefix foo bar'.
2144        Reported by Ralf Corsepius.
2145        * tests/torture.at (Configuring subdirectories): Exercise these
2146        cases.
2147
21482002-09-09  Akim Demaille  <akim@epita.fr>
2149
2150        * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
2151        looking for a replacement file.
2152        * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
2153        directory is relative.
2154        * doc/autoconf.texi (Generic Functions): Clarify the replacement
2155        directory definition.
2156        Reported by Andreas Schwab and Jim Meyering.
2157
21582002-09-06  Akim Demaille  <akim@epita.fr>
2159
2160        * doc/autoconf.texi (Setting Output Variables): Clarify what
2161        precious variables are.
2162        Suggested by Pontus Skoeld.
2163
21642002-09-05  Akim Demaille  <akim@epita.fr>
2165
2166        * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2167        (ifnames, autoscan, autom4te): Since we don't only depend on
2168        configure.ac variables (such as VERSION etc.), but also on prefix
2169        and so forth, depend on Makefile, not configure.ac.
2170        Reported by Alexandre Duret-Lutz.
2171        * doc/autoconf.texi (Installation Directory Variables): Adjust.
2172
21732002-09-05  Kevin Ryde  <user42@zip.com.au>
2174
2175        * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
2176        doesn't seem to be confined to ia64, just say "some versions".
2177
21782002-09-04  Akim Demaille  <akim@epita.fr>
2179
2180        * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
2181        Automake 1.6c.
2182        * Makefile.am (maintainer-clean-local): Remove.
2183        (MAINTAINERCLEANFILES): Remove COPYING.
2184
21852002-09-03  Paul Eggert  <eggert@twinsun.com>
2186
2187        * doc/autoconf.texi (Configuration Commands): Remove obsolete
2188        example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
2189        Brinkmann.
2190
21912002-09-03  Akim Demaille  <akim@epita.fr>
2192
2193        * configure.ac: Bump to 2.53d.
2194        * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
2195        as of today, on Automake's team suggestion.
2196
21972002-09-03  Akim Demaille  <akim@epita.fr>
2198
2199        Version 2.53c.
2200
22012002-09-02  Akim Demaille  <akim@epita.fr>
2202
2203        * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
2204        SITE_MACRO_DIR.
2205        * configure.ac: Disable SITE_MACRO_DIR.
2206
22072002-09-02  Jim Meyering  <meyering@lucent.com>
2208
2209        * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
2210        i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
2211        Also, tweak grammar: s/make sure to/be sure to/.
2212
22132002-09-02  Paul Eggert  <eggert@twinsun.com>
2214
2215        * doc/autoconf.texi (Limitations of Builtins): Explain why logical
2216        directory names are generally preferable to physical names.
2217
22182002-09-02  Akim Demaille  <akim@epita.fr>
2219
2220        * lib/Autom4te/General.pm (&update_file): s/die/error/.
2221        Reported by Raja R. Harinath.
2222        * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
2223        * bin/autoupdate.in: Use error instead of die.
2224
22252002-09-01  Paul Eggert  <eggert@twinsun.com>
2226
2227        * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
2228        ordinary shell concatenation rather than echo+tr+sed command that
2229        runs afoul of a long-line-related sed bug in Solaris 8.
2230
2231        * bin/autoheader.in (parse_args): --warning -> --warnings.
2232
2233        * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
2234        stdout, as traditional "ls" does.
2235        * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
2236        _AC_COMPILER_EXEEXT_O): Likewise.
2237        * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
2238
2239        * bin/autoconf.as: Add --prepend-include option.  This patch was
2240        applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
2241        but bin/autoconf.in is generated automatically from bin/autoconf.as.
2242
2243        * bin/autoconf.in, configure: Regenerate.
2244
2245        * doc/autoconf.texi (Special Shell Variables): Mention
2246        ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
2247
2248        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
2249        MAILPATH and set PS1, PS2, PS4 to default values, to work
2250        around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
2251        For LC_ALL etc, first try to set to "C" as POSIX requires and as
2252        the Autoconf documentation specifies; fall back to "unset" only if
2253        this fails.  Use a shell for-loop for this rather than an m4 loop,
2254        to shorten the output script.
2255
22562002-08-30  Paul Eggert  <eggert@twinsun.com>
2257
2258        * doc/autoconf.texi (Special Shell Variables): Mention POSIX
2259        1003.1-2001's requirements for CDPATH.  Give a simpler workaround
2260        for the CDPATH problem.  Document PWD.
2261        (Limitations of Builtins): Document the problem that "cd $foo" and
2262        "ls $foo" may refer to different directories in shells conforming
2263        to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
2264        example, since the old example is now out of date.
2265
2266        * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
2267        FOO" and "ls FOO" talk about different directories; this catches
2268        problems when POSIX 1003.1-2001 "cd" fails due to symlink
2269        spaghetti.
2270
2271        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
2272        of rolling our own unset.
2273        (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
2274        in practice we needn't worry about CDPATH if unset doesn't work.
2275
2276        * Makefile.in, aclocal.m4, bin/Makefile.in,
2277        config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
2278        lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
2279        lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
2280        lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
2281        tests/Makefile.in: Regenerate with Automake 1.6.3.
2282
2283        * config/config.guess, config/config.sub, config/mkinstalldirs:
2284        Update.
2285
2286        * configure: Regenerate with self.
2287
22882002-08-30  Kevin Ryde  <user42@zip.com.au>
2289
2290        * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
2291        default output.
2292
22932002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2294
2295        * bin/autom4te.in (Request::load): Correctly test for "do" read
2296        failure.
2297
22982002-08-29  Akim Demaille  <akim@epita.fr>
2299
2300        * lib/Autom4te/General.pm (&xqx): New.
2301        (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
2302        hand, which is not portable.
2303        (&error): New.
2304        * bin/autom4te.in: Use them.
2305        Use &error instead of die.
2306        * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2307        Adjust.
2308
23092002-08-17  Paul Eggert  <eggert@twinsun.com>
2310
2311        * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
2312        default list of compilers to try, since it was long ago superseded
2313        by the ksh fc builtin.  Suggested by Steven G. Johnson.
2314
23152002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
2316
2317        * doc/autoconf.texi (Invoking autom4te): End the option table,
2318        fixing a bug introduced by the previous patch.
2319        (Limitations of Make): Add a 'target lookup' subentry in the
2320        'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
2321
23222002-07-29  Mark D. Roth  <roth@feep.net>
2323
2324        * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
2325        options and use $AUTOM4TE_PATH.
2326        * doc/autoconf.texi: Remove documentation of autom4te
2327        --include-envvar and --site-macro-subdir options and document
2328        use of $AUTOM4TE_PATH.
2329        * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
2330        arguments from each language section.
2331
23322002-07-29  Paul Eggert  <eggert@twinsun.com>
2333
2334        * doc/install.texi: Include copyright symbol in copyright notice.
2335
2336        * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
2337        Replace with:
2338        (AM_MAKEINFOFLAGS): New macro.
2339        * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
2340        * Makefile.am (INSTALL): Use the new macros.
2341        Use -o rather than --output, since "missing" does not grok --output.
2342
23432002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2344
2345        * doc/autoconf.texi (Limitations of Make): Escaped newlines in
2346        comments do not always work. Never trust the exit status of
2347        `make -k'.
2348
23492002-07-24  Kevin Ryde  <user42@zip.com.au>
2350
2351        * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
2352        Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
2353
23542002-07-23  Paul Eggert  <eggert@twinsun.com>
2355
2356        * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
2357        Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
2358        apparently treats PATH="nonexistent" as if it contained ".".
2359        Bug reported by Stefan `Sec' Zehl.
2360
23612002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
2362
2363        * doc/autoconf.texi (Limitations of Make): Mention the special
2364        handling of the obj/ directory by BSD make.
2365
23662002-07-20  Kevin Ryde  <user42@zip.com.au>
2367
2368        * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
2369        backslashes.
2370
23712002-07-19  Akim Demaille  <akim@epita.fr>
2372
2373        * doc/autoconf.texi (Function Portability): `exit'.
2374        (Programming in M4sh): Ethymology of M4sh.
2375
23762002-07-19  Akim Demaille  <akim@epita.fr>
2377
2378        * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
2379
23802002-07-18  Akim Demaille  <akim@epita.fr>
2381
2382        Version 2.53b.
2383
23842002-07-18  Akim Demaille  <akim@epita.fr>
2385
2386        * config/config.guess, config/config.sub: Update.
2387
23882002-07-18  Akim Demaille  <akim@epita.fr>
2389
2390        Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
2391        Automake's parts.
2392
2393        * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
2394        * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
2395        * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
2396
23972002-07-18  Akim Demaille  <akim@epita.fr>,
2398            Alexandre Duret-Lutz  <duret_g@epita.fr>
2399
2400        * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
2401        _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
2402
24032002-07-17  Russ Allbery  <rra@stanford.edu>
2404
2405        * doc/autoconf.texi (Initializing configure): Clarify the
2406        description of the tarname default.
2407
24082002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
2409
2410        * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
2411        ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
2412        latter was not run.
2413
24142002-07-17  Akim Demaille  <akim@epita.fr>
2415
2416        * lib/Autom4te/General.pm (find_file): Browse the directories in
2417        the order they are given.
2418
24192002-07-17  Akim Demaille  <akim@epita.fr>
2420
2421        * tests/wrapsh.as, tests/wrappl.as: Merge into...
2422        * tests/wrapper.as: this.
2423        * tests/Makefile.am, configure.ac: Adjust.
2424
24252002-07-17  Mark D. Roth  <roth@feep.net>
2426
2427        * configure.ac: Add --enable-site-macro-dir option.
2428        * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
2429        * bin/autom4te.in: Add --prepend-include, --include-envvar, and
2430        --site-macro-subdir options.
2431        * bin/autoconf.in: Add --prepend-include option.
2432        * bin/autoheader.in: Add --prepend-include option.
2433        * bin/autoreconf.in: Add --prepend-include option.
2434        * bin/autoscan.in: Add --prepend-include option.
2435        * bin/autoupdate.in: Add --prepend-include option.
2436        * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
2437        macro directory, remove note that include path directories are
2438        used in reverse order, and document --prepend-include option.
2439        * lib/autom4te.in: Use --prepend-include instead of --include.
2440        * tests/wrapsh.in: Use --prepend-include instead of --include.
2441
24422002-07-17  Akim Demaille  <akim@epita.fr>
2443
2444        * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
2445        tarnames.
2446        * doc/autoconf.texi (Initializing configure): Adjust.
2447
24482002-07-17  Akim Demaille  <akim@epita.fr>
2449
2450        * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
2451        (_AC_FUNC_MALLOC): New.
2452        (AC_FUNC_MALLOC): Use the latter.
2453        Define HAVE_MALLOC to 0 if broken.
2454        * doc/autoconf.texi (Particular Functions): Adjust.
2455
24562002-07-16  Akim Demaille  <akim@epita.fr>
2457
2458        * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
2459        * doc/autoconf.texi (C Compiler): Adjust.
2460
24612002-07-09  Akim Demaille  <akim@epita.fr>
2462
2463        * doc/autoconf.texi: Properly set the ``header'' part.
2464
24652002-07-09  Akim Demaille  <akim@epita.fr>
2466
2467        * doc/autoconf.texi (Systemology): Some about Darwin.
2468
24692002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
2470
2471        * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2472        Don't use AC_REQUIRE in AU_DEFUN.
2473
24742002-07-09  Art Haas  <ahaas@neosoft.com>
2475
2476        * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
2477
24782002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
2479
2480        * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2481        bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
2482        lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
2483        so that Emacs setups GNU style for perl-mode and cperl-mode.
2484
24852002-06-27  Paul Eggert  <eggert@twinsun.com>
2486
2487        * config/install-sh: Quote $src.  Prefer || to test's -o option,
2488        as per "Limitations of Builtins".
2489        * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
2490        * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2491
2492        * tests/mktests.sh: Use grep instead of fgrep, as per
2493        "Limitations of Builtins".
2494
24952002-06-15  Paul Eggert  <eggert@twinsun.com>
2496
2497        * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
2498        autom4te_perllibdir): Set to top build dir or src dir as appropriate,
2499        so that we consistently test the just-built programs.
2500        * tests/wrappl.as: Likewise.
2501
25022002-06-12  Paul Eggert  <eggert@twinsun.com>
2503
2504        * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
2505        name, so that symlinks to 'autoconf' work properly.  Bug reported
2506        by Bruno Haible.
2507        * bin/autoheader.in (AUTOM4TE): Likewise.
2508        * bin/autoreconf.in (autoconf, autoheader): Likewise.
2509        * bin/autoscan.in (autom4te): Likewise.
2510        * bin/autoupdate.in (autom4te): Likewise.
2511
2512        * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
2513        btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
2514        on Solaris 2.5.1.
2515
25162002-06-11  Andreas Schwab  <schwab@suse.de>
2517
2518        * doc/autoconf.texi: Add more dir entries.
2519
25202002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2521
2522        * bin/autom4te.in ($cache): Don't define using `$me', the name
2523        of the cache should not depend on the name under which autom4te
2524        was installed.
2525
25262002-06-07  Akim Demaille  <akim@epita.fr>
2527
2528        * tests/tools.at (autoconf: forbidden tokens, basic)
2529        (autoconf: forbidden tokens, exceptions): Adjust to the change of
2530        words in autom4te.in.
2531
25322002-06-07  Peter Eisentraut  <peter_e@gmx.net>
2533
2534        * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
2535        _AC_LANG_PROGRAM_C_F77_HOOKS.
2536
25372002-06-07  Akim Demaille  <akim@epita.fr>
2538
2539        * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
2540        rename as...
2541        (AC_REPLACE_FNMATCH): this.
2542        * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
2543        AC_FUNC_FNMATCH_GNU.
2544
25452002-06-07  Akim Demaille  <akim@epita.fr>
2546
2547        * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
2548        Rosetta Stone for Unix.
2549
25502002-06-07  Akim Demaille  <akim@epita.fr>
2551
2552        * bin/autom4te.in (warn_forbidden): When rejecting a token,
2553        suggest m4_pattern_allow.
2554        Suggested by Adam J. Richter.
2555
25562002-06-07  Akim Demaille  <akim@epita.fr>
2557
2558        * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2559        ac_config_libobj_dir.
2560        (AC_CONFIG_LIBOBJ_DIR): New.
2561        * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
2562        (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
2563        Use ac_config_libobj_dir to find the replacement files.
2564        (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
2565        (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
2566        (AC_REPLACE_FNMATCH_GNU): these.
2567        (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
2568        * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
2569        * tests/mktests.sh (ac_exclude_list): Don't check
2570        AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
2571
25722002-06-06  Paul Eggert  <eggert@twinsun.com>
2573
2574        * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
2575        if ln doesn't work.
2576        * NEWS: Likewise.
2577        * doc/autoconf.texi (Configuration Links): Likewise.
2578        (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
2579
25802002-06-05  Paul Eggert  <eggert@twinsun.com>
2581
2582        * config/config.guess, config/config.sub, config/texinfo.tex:
2583        Update from masters.
2584
25852002-05-29  Paul Eggert  <eggert@twinsun.com>
2586
2587        * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
2588        * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
2589        * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
2590        Likewise.
2591        * lib/autoconf/Makefile.am (check-local): Likewise.
2592        * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
2593        * lib/autoconf/types.m4 (commentary only): Likewise.
2594        * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
2595        * lib/autotest/Makefile.am (check-local): Likewise.
2596        * lib/m4sugar/Makefile.am (check-local): Likewise.
2597        * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
2598        * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
2599
2600        * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
2601        * doc/autoconf.texi (Particular Programs): Document them.
2602        (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
2603        * NEWS: Likewise.
2604
26052002-05-27  Paul Eggert  <eggert@twinsun.com>
2606
2607        * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
2608        * NEWS, doc/autoconf.texi (Particular Types): Document it.
2609        * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
2610        instead of AC_MBSTATE_T, which never existed.
2611
26122002-05-23  Akim Demaille  <akim@epita.fr>
2613
2614        * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
2615        version of Autoconf that is discussed.
2616
26172002-05-22  Paul Eggert  <eggert@twinsun.com>
2618
2619        * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
2620        from the default list of compilers to try.  Suggested by
2621        Kate Hedstrom.
2622        * NEWS: Document the above.
2623        * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
2624
26252002-05-17  Paul Eggert  <eggert@twinsun.com>
2626
2627        * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
2628        the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
2629        This improves on an earlier suggestion by H. Peter Anvin.
2630
26312002-05-16  Paul Eggert  <eggert@twinsun.com>
2632
2633        AC_FUNC_FNMATCH now tests only for POSIX compatibility.
2634        AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
2635        Both macros now accept an optional source-dir arg.
2636        New macro AC_GNU_SOURCE to define _GNU_SOURCE.
2637
2638        * NEWS: Document this.
2639        * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
2640
2641        * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
2642        (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
2643        not for GNU extensions; this undoes part of the 2000-11-03 change,
2644        reverting to 2.13-compatible behavior.
2645        Add new optional argument DIR.
2646        (AC_FUNC_FNMATCH_GNU): New macro.
2647
2648        * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
2649
26502002-05-08  Paul Eggert  <eggert@twinsun.com>
2651
2652        * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
2653        Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
2654        and it causes a 'test' syntax error if it fails.
2655        Bug reported by Stephen Gildea.
2656
2657        * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
2658        If prototypes are supported, use them to check this at compile-time,
2659        instead of trying to check it at run-time.  If we must do a run-time
2660        check, assume that setvbuf is standard when cross-compiling, as
2661        nonstandard setvbuf occurs only on ancient and unlikely hosts.
2662        Bug reported by Paul D. Smith.
2663
2664        * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
2665        argument specifying location of getloadavg.c.  This removes a
2666        FIXME.  This idea was taken from Jim Meyering's implementation in
2667        textutils.
2668        * doc/autoconf.texi (Particular Functions): Document this.
2669        Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
2670        that's what the code does; this fixes a bug reported by
2671        Paul D. Smith.
2672
26732002-05-03  Akim Demaille  <akim@epita.fr>
2674
2675        * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
2676        autopoint instead of gettextize.
2677        ($uses_alocal): Rename as...
2678        ($uses_aclocal): this.
2679        * doc/autoconf.texi (autoreconf Invocation): Adjust.
2680        Suggested by Bruno Haible.
2681
26822002-05-03  Akim Demaille  <akim@epita.fr>
2683
2684        * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
2685
26862002-04-29  Paul Eggert  <eggert@twinsun.com>
2687
2688        * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
2689        files to be 1 second older; just set them to be the same time.
2690        Also, sleep 1 second after the first aclocal, to work around
2691        problems with sub-second time stamps on the input files.
2692
26932002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
2694
2695        * doc/autoconf.texi: Mention "set -e -x" lossage
2696        under node "Limitations of Builtins".
2697
26982002-04-29  Akim Demaille  <akim@epita.fr>
2699
2700        * doc/install.texi: Better wording for setting variables when
2701        running configure.
2702        From Christian Cornelssen.
2703
27042002-04-29  Akim Demaille  <akim@epita.fr>
2705
2706        * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
2707        of lack of $LINENO support, then the test will compare the $LINENO
2708        in testsuite vs. the lineno in the test file.  This is wrong, of
2709        course.
2710        Be sure to protect it.
2711        Reported by Patrick Welche.
2712
27132002-04-25  Akim Demaille  <akim@epita.fr>
2714
2715        * doc/autoconf.texi (Obsolete Macros): Typo.
2716        Reported by Vladimir Volovich.
2717
27182002-04-25  Akim Demaille  <akim@epita.fr>
2719
2720        * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
2721        than some of the input files, hence, on the second run of aclocal,
2722        if some of its input are younger, make them older.
2723        Suggested by Paul Eggert.
2724
27252002-04-25  Akim Demaille  <akim@epita.fr>
2726
2727        * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
2728        Thanks to Paul Eggert.
2729
27302002-04-25  Akim Demaille  <akim@epita.fr>
2731
2732        * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
2733        and ac_subst_vars be sh variables containing the list of
2734        AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
2735        DEFAULT diversion.
2736        (_AC_INIT_PREPARE): Use them to log them.
2737        (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
2738        (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
2739        _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
2740        _AC_SUBST_FILES and _AC_SUBST_VARS.
2741        * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
2742
27432002-04-24  Akim Demaille  <akim@epita.fr>
2744
2745        * bin/autoreconf.in (autoreconf): Run automake after autoconf and
2746        autoheader, so that automake does not complain about a missing
2747        config.h.in that was to be created.
2748
27492002-04-23  Akim Demaille  <akim@epita.fr>
2750
2751        * bin/autoheader.in (parse_args): --warning takes an argument.
2752        Fixes PR/220.
2753
27542002-04-22  Peter Eisentraut  <peter_e@gmx.net>
2755
2756        * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
2757        and bb.out when cleaning up.
2758
27592002-04-22  Akim Demaille  <akim@epita.fr>
2760
2761        Version 2.53a.
2762
27632002-04-22  Akim Demaille  <akim@epita.fr>
2764
2765        * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
2766
27672002-04-22  Akim Demaille  <akim@epita.fr>
2768
2769        * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
2770        comma.
2771        Reported by Gregory Giannoni.
2772
27732002-04-22  Akim Demaille  <akim@epita.fr>
2774
2775        * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
2776        Fixes false failures on Darwin.
2777
27782002-04-21  Paul Eggert  <eggert@twinsun.com>
2779
2780        * TODO, bin/autoupdate.in, doc/autoconf.texi,
2781        lib/autoconf/general.m4, lib/autoconf/libs.m4,
2782        lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
2783        tests/tools.at: Minor spelling and grammar fixes.
2784
27852002-04-20  Paul Eggert  <eggert@twinsun.com>
2786
2787        * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
2788        ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
2789        * lib/autotest/general.m4 (AT_INIT): Likewise.
2790        * tests/atgeneral.m4 (AT_INIT): Likewise.
2791
27922002-04-19  Paul Eggert  <eggert@twinsun.com>
2793
2794        * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
2795        doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
2796        lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
2797        lib/autoconf/functions.m4, lib/autoconf/general.m4,
2798        lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
2799        lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
2800        tests/atspecific.m4, tests/semantics.at, tests/torture.at:
2801        Minor spelling and grammar fixes.
2802
2803        * doc/autoconf.texi: Follow the outline suggested in the GNU
2804        Sample Texts sections of the Texinfo 4.2 manual.  Most
2805        importantly, this makes sure that the copyright notices appear in
2806        all output formats.  You probably need Texinfo 4.2 to generate
2807        the manual now.
2808
2809        Fix some bugs when using "$@" when there might be zero positional
2810        arguments in cases where this matters.
2811
2812        * bin/autoconf.as: Rewrite so that the problem does not come up.
2813        * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
2814        * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
2815        * lib/autotest/general.m4 (AT_INIT): Likewise.
2816
2817        * bin/autoheader.in: Use 'case' statement to work around problem.
2818        * bin/auto4mte.in: Likewise.
2819        * bin/autoreconf.in: Likewise.
2820        * bin/autoscan.in: Likewise.
2821        * bin/autoupdate.in: Likewise.
2822        * bin/ifnames.in: Likewise.
2823
2824        * doc/autoconf.texi (Shell Substitutions): Document the problem.
2825
2826        * lib/autotest/general.m4 (AT_INIT):
2827        Use Zsh alias to work around problem.
2828        * tests/atgeneral.m4 (AT_INIT): Likewise.
2829
2830        * tests/c.at: We can't have zero arguments, so remove workaround
2831        that is not portable to Zsh.
2832
28332002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
2834
2835        * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
2836        from aclocal.m4 too.
2837
28382002-04-12  Akim Demaille  <akim@epita.fr>
2839
2840        * tests/wrappl.as: New, M4sh precursor of wrappl.in.
2841
28422002-04-10  Akim Demaille  <akim@epita.fr>
2843
2844        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
2845        workaround for ${1+"$@"}.
2846        * doc/autoconf.texi (Shell Substitutions): Explain it.
2847        From Oliver Kiddle and Peter Stephenson.
2848
2849        Have M4sh perform minimal shell sanitizing.
2850
2851        * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
2852        part into...
2853        (_AS_PREPARE): this new macro.
2854        (AS_PREPARE): New.
2855        (AS_INIT): Invoke AS_SHELL_SANITIZE.
2856        * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
2857
2858        Adjust Autoconf and Autotest.
2859
2860        * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
2861        AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
2862        * lib/autotest/general.m4 (AT_INIT): Likewise.
2863        * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2864        Invoke _AS_PREPARE (not AS_PREPARE) in addition to
2865        AS_SHELL_SANITIZE.
2866
2867        Use this M4sh to generate Autoconf's shell scripts.
2868
2869        * tests/wrapsh.as: New, precursor of wrapsh.in.
2870        * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
2871        on Autotest and M4sh.
2872        ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
2873        (wrapsh.in): New target.
2874        * bin/autoconf.as: New, precursor of autoconf.in.
2875        (autoconf.in): New target.
2876
28772002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
2878
2879        * doc/autoconf.texi (Limitations of Make): Mention the issue
2880        with indented comments in rules.
2881
28822002-04-09  Andreas Schwab  <schwab@suse.de>
2883
2884        * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
2885        ac_top_builddir when setting ac_abs_top_builddir.
2886
28872002-04-06  Kevin Ryde  <user42@zip.com.au>
2888
2889        * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
2890        (Portable Shell): Cross reference to Systemology.
2891
28922002-04-05  Akim Demaille  <akim@epita.fr>
2893
2894        * bin/autoreconf.in (autoreconf): Be sure to accumulate the
2895        directories when descending in a SUBDIRS.
2896        Reported by Ezra Peisach.
2897
28982002-04-04  Andreas Schwab  <schwab@suse.de>
2899
2900        * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
2901        contains no literal separators.
2902
29032002-04-03  Akim Demaille  <akim@epita.fr>
2904
2905        * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
2906        (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
2907        Use dnl, not the KILL diversion.
2908        Extracted from...
2909        (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
2910        (AC_CONFIG_LINKS): here.
2911        Adjust.
2912        Don't use the KILL diversion, as it kills spurious output, which
2913        results in failures being hidden.
2914        Use m4_defn where appropriate.
2915        (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
2916        after the second argument.
2917        Use m4_defn.
2918        * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
2919        syntax, as it is provided by M4sugar.
2920        * tests/torture.at (Multiple AC_CONFIG_FILES): New.
2921
29222002-04-03  Andreas Schwab  <schwab@suse.de>
2923
2924        * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
2925        expanded if $# <= 2.
2926
2927        * bin/autoreconf.in (autoreconf): Run automake after rerunning
2928        aclocal.
2929
29302002-04-03  Akim Demaille  <akim@epita.fr>
2931
2932        * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
2933        (_AC_COMPILER_EXEEXT_REJECT): New.
2934        Also recognize *.bb and *.bbg as compilation byproducts.
2935        (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
2936        (_AC_COMPILER_OBJEXT): Use them.
2937        Fixes Debian #138666.
2938
29392002-04-02  Peter Eisentraut  <peter_e@gmx.net>
2940
2941        Integrate AC_PROG_CC_STDC into AC_PROG_CC.
2942
2943        * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
2944        AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
2945        (AC_PROG_CC): Call _AC_PROG_CC_STDC.
2946        (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
2947        (AC_C_CONST): Same.
2948        (AC_C_INLINE): Same.
2949        (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
2950        * doc/autoconf.texi, NEWS: Document.
2951        * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
2952        AC_C_CROSS.
2953
29542002-04-02  Akim Demaille  <akim@epita.fr>
2955
2956        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
2957        _AS_MKDIR_P_PREPARE.
2958
29592002-03-28  Kevin Ryde  <user42@zip.com.au>
2960
2961        * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
2962        to avoid versions of HP C which don't allow that.
2963
29642002-03-27  Paul Eggert  <eggert@twinsun.com>
2965
2966        * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
2967        (AS_SHELL_SANITIZE): Invoke it.
2968        (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
2969
29702002-03-26  Akim Demaille  <akim@epita.fr>
2971
2972        * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
2973
29742002-03-26  Akim Demaille  <akim@epita.fr>
2975
2976        * doc/autoconf.texi (Introduction): The GNATS base moved.
2977
29782002-03-25  Paul Eggert  <eggert@twinsun.com>
2979
2980        * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
2981        as POSIX requires, as it doesn't work with Zsh.
2982        * doc/autoconf.texi (Assignments): Document the problem.
2983
29842002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2985
2986        * doc/autoconf.texi (Limitations of Make): Mention more issue
2987        about VPATH, overriding of macros in sub-makes, and handling of
2988        SHELL.
2989
29902002-03-21  Paul Eggert  <eggert@twinsun.com>
2991
2992        * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
2993        problem with here-document buffer boundaries.
2994
2995        * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
2996        when reinvoking the shell, to work around problems with installers
2997        who put strange things like "cd" commands in their environments.
2998
29992002-03-19  Akim Demaille  <akim@epita.fr>
3000
3001        * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
3002        From Aaron Ucko.
3003
30042002-03-19  Akim Demaille  <akim@epita.fr>
3005
3006        * bin/autoscan.in (scan_file): Specify the location in `&used'
3007        invocations.
3008        From Nicolas Joly.
3009
30102002-03-19  Akim Demaille  <akim@epita.fr>
3011
3012        * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
3013        From Nishio Futoshi.
3014
30152002-03-19  Akim Demaille  <akim@epita.fr>
3016
3017        * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
3018
30192002-03-18  Paul Eggert  <eggert@twinsun.com>
3020
3021        * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
3022        (Limitations of Usual Tools): Add mkdir section.
3023
3024        * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
3025        (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
3026        back on AS_DIRNAME to compute prefixes otherwise; this is
3027        roughly what mkinstalldirs does.  That way, we need not have
3028        our own filename disassembler.  The old disassembler did not
3029        work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
3030
3031        * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
3032        Create at_test_all by a series of assignments,
3033        not by a single assignment of a long string.  The latter causes ksh
3034        version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
3035        presumably because of a buffer overrun.
3036
30372002-03-14  Paul Eggert  <eggert@twinsun.com>
3038
3039        * lib/autotest/general.m4 (at_times_skip):
3040        Renamed from at_times.  Now a boolean.
3041        ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
3042        says 'times: not found'.
3043
30442002-03-14  Akim Demaille  <akim@epita.fr>
3045
3046        * bin/autoreconf.in (&study_gettextize): New.
3047        (&autoreconf): Handle newest gettextize.
3048        Rerun aclocal if needed.
3049        Suggested by Andreas Schwab.
3050
30512002-03-13  Akim Demaille  <akim@epita.fr>
3052
3053        * doc/autoconf.texi (Special Shell Variables): More about IFS.
3054
30552002-03-13  Akim Demaille  <akim@epita.fr>
3056
3057        * doc/autoconf.texi (Header Portability): New.
3058        Add information about stdint.h and inttypes.h from Paul Eggert.
3059
30602002-03-13  Akim Demaille  <akim@epita.fr>
3061
3062        * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
3063        -p'.
3064        From Bob Proulx.
3065
30662002-03-12  Akim Demaille  <akim@epita.fr>
3067
3068        * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
3069        m4_require.
3070
30712002-03-11  Andreas Schwab  <schwab@suse.de>
3072
3073        * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
3074        does not do it if --with-lispdir is given.
3075
30762002-03-08  Akim Demaille  <akim@epita.fr>
3077
3078        Version 2.53.
3079
30802002-03-08  Akim Demaille  <akim@epita.fr>
3081
3082        * doc/autoconf.texi (Subdirectories): Clarify that the
3083        subdirectory should exist.
3084
30852002-03-08  Akim Demaille  <akim@epita.fr>
3086
3087        * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
3088
30892002-03-08  Akim Demaille  <akim@epita.fr>
3090
3091        * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
3092        aliases the actual variables, and modifications of the former
3093        affect the latter.
3094
30952002-03-08  Akim Demaille  <akim@epita.fr>
3096
3097        * bin/autom4te.in (&handle_m4): Protect us from corrupted file
3098        because of C-c: have m4 output in tmp files, then mv them.
3099
31002002-03-08  Akim Demaille  <akim@epita.fr>
3101
3102        * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
3103        * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
3104        * bin/ifnames.in: Copyright update.
3105
31062002-03-08  Akim Demaille  <akim@epita.fr>
3107
3108        * doc/autoconf.texi (Invoking autom4te): New.
3109
31102002-03-05  Akim Demaille  <akim@epita.fr>
3111
3112        * doc/autoconf.texi (Specifying Names): Clarification suggested by
3113        Kevin Ryde.
3114
31152002-03-05  Akim Demaille  <akim@epita.fr>
3116
3117        Version 2.52i.
3118
31192002-03-04  Akim Demaille  <akim@epita.fr>
3120
3121        * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
3122        * lib/autoconf/general.m4 (AC_INIT): More informative error
3123        message for LIBOBJ.
3124
31252002-03-04  Akim Demaille  <akim@epita.fr>
3126
3127        * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
3128        parallel builds.
3129
31302002-03-04  Akim Demaille  <akim@epita.fr>
3131
3132        * doc/autoconf.texi (Transforming Names): Equality between target
3133        and host is irrelevant.
3134        (Specifying Names, Canonicalizing): Remove all references to the
3135        backward compatibility hooks.  Rather, collect them all into...
3136        (Hosts and Cross-Compilation): this new section.
3137        * doc/install.texi (System Type): Ditto.
3138        * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
3139        that `--host' implies cross-compilation.
3140
31412002-03-04  Akim Demaille  <akim@epita.fr>
3142
3143        * doc/autoconf.texi (Evaluation Macros): New.
3144        * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
3145        useless.
3146        (_m4_foreach): Define the variant with immediate evaluation so
3147        that it contains exactly the items, not an expression which
3148        evaluation is the current item.
3149        (m4_re_string, m4_re_word): Don't over quote them.
3150
31512002-03-04  Akim Demaille  <akim@epita.fr>
3152
3153        Instead of having stacking `shift's evaluated at the end, let
3154        `foreach' loops immediately evaluate them.
3155
3156        * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
3157        $*.  This is the n-th time I change my mind, but hopefully this is
3158        the last...
3159        (m4_lquote): New.
3160        (m4_text_wrap): Use m4_foreach, which is finally correct _and_
3161        efficient.
3162        (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
3163        it was only a hack for m4_text_wrap.
3164        (m4_car2): Remove, replaced by...
3165        (m4_cdr): New.
3166        (_m4_foreach): Adjust.
3167        * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
3168        m4_bpatsubst for clarification.
3169
31702002-03-04  Akim Demaille  <akim@epita.fr>
3171
3172        * doc/autoconf.texi (Changequote is Evil): New.
3173
31742002-03-03  Kevin Ryde  <user42@zip.com.au>
3175
3176        * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
3177        on old systems like SunOS.
3178
31792002-03-01  Peter Eisentraut  <peter_e@gmx.net>
3180
3181        * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3182        lib/autoconf/functions.m4, lib/autoconf/general.m4,
3183        lib/autoconf/headers.m4, lib/autoconf/lang.m4,
3184        lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
3185        of messages.
3186
31872002-02-28  Akim Demaille  <akim@epita.fr>
3188
3189        * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
3190        message to be sent.
3191
31922002-02-28  Kevin Ryde  <user42@zip.com.au>
3193
3194        * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
3195
31962002-02-25  Akim Demaille  <akim@epita.fr>
3197
3198        * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
3199        From Akinori Musha.
3200
32012002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
3202
3203        * lib/Autom4te/XFile.pm (getline, getlines): New functions,
3204        translate \r\n to \n.
3205
32062002-02-07  Akim Demaille  <akim@epita.fr>
3207
3208        Version 2.52h.
3209
32102002-02-07  Akim Demaille  <akim@epita.fr>
3211
3212        Fix Autoconf PR/209.
3213        Also reported by Frank Denis.
3214
3215        * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
3216
32172002-02-07  Akim Demaille  <akim@epita.fr>
3218
3219        Fix Autoconf PR/207:
3220        AC_PREFIX_PROGRAM fails with dashed program names
3221
3222        * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
3223        variable when looking for the prefix program.
3224        Now it also works for shell variables.
3225
32262002-02-07  Akim Demaille  <akim@epita.fr>
3227
3228        * doc/autoconf.texi (Limitations of Builtins): More about
3229        case/esac.
3230
32312002-02-06  Akim Demaille  <akim@epita.fr>
3232
3233        * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
3234        case/esac, some shells don't support it.
3235        Reported by Zack Weinberg.
3236        * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
3237
32382002-02-06  Akim Demaille  <akim@epita.fr>
3239
3240        * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
3241        sure not to introduce newlines in at_groups.
3242        * lib/autotest/Makefile.am (autotest.m4f): Typo.
3243
32442002-02-06  Akim Demaille  <akim@epita.fr>
3245
3246        * tests/torture.at (Configuring subdirectories): Skip if aclocal
3247        is not available.
3248
32492002-02-05  Paul Eggert  <eggert@twinsun.com>
3250
3251        * doc/autoconf.texi (Specific Compiler Characteristics):
3252        Describe HP-UX cc bug workaround more accurately.
3253        * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
3254        not unsigned long.
3255        * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
3256        cross-compilers, too.  This undoes some of the most recent change
3257        to this file.
3258
32592002-02-05  Akim Demaille  <akim@epita.fr>
3260
3261        * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
3262        to make sure they are up to date when `check' is run.
3263
32642002-02-05  Akim Demaille  <akim@epita.fr>
3265
3266        * doc/autoconf.texi (Making testsuite Scripts): Document
3267        package.m4.
3268
32692002-02-05  Akim Demaille  <akim@epita.fr>
3270
3271        * lib/freeze.mk: New.
3272
32732002-02-05  Akim Demaille  <akim@epita.fr>
3274
3275        Implement `autom4te --freeze'.
3276
3277        * bin/autom4te.in (&freeze): New.
3278        * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
3279        * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
3280
32812002-02-05  Akim Demaille  <akim@epita.fr>
3282
3283        * bin/autom4te.in (&parse_args): Implement `frozen files are
3284        optional are the sum of the previous files on the command line'.
3285        Also, pass `--reload-state=' on them, so...
3286        (handle_m4): don't.
3287        * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
3288        (M4sh): Rely on M4sugar.
3289        (Autotest, M4sh, M4sugar): Use frozen files.
3290
32912002-01-31  Akim Demaille  <akim@epita.fr>
3292
3293        * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
3294        * doc/autoconf.texi (Initializing configure): Adjust.
3295
32962002-01-30  Akim Demaille  <akim@epita.fr>
3297
3298        * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
3299        alphanumeric to `-' instead of `_'.
3300
33012002-01-30  Akim Demaille  <akim@epita.fr>
3302
3303        * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
3304        for plain code, the other for cross-compilation code.  The latter
3305        is now run with GCC only.
3306        * doc/autoconf.texi (Compilers and Preprocessors): New.
3307
33082002-01-30  Akim Demaille  <akim@epita.fr>
3309
3310        * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
3311        values.
3312        * doc/autoconf.texi (Initializing configure): Explain how to
3313        change AC_INIT default values.
3314
33152002-01-29  Akim Demaille  <akim@epita.fr>
3316
3317        * tests/torture.at (Configuring subdirectories): Use configure.in,
3318        so that aclocal 1.4 works.
3319        Reported by Alexandre Duret-Lutz and Larry Schmitt.
3320
33212002-01-28  Akim Demaille  <akim@epita.fr>
3322
3323        * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
3324        needs an argument.
3325
33262002-01-28  Akim Demaille  <akim@epita.fr>
3327
3328        * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
3329        AUTOTEST_PATH *after* it was set.
3330        Don't put `.' in the PATH: the user should be precise and `./' if
3331        needed.  In addition, given that the test suite does some `cd', if
3332        `.' is in the path, the `tested programs' sections will report
3333        programs found in the test suite's directory, while during the
3334        tests (performed in their own directory), these programs are no
3335        longer visible.  In other words, the results is confusing and
3336        useless.
3337        * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
3338
33392002-01-24  Akim Demaille  <akim@epita.fr>
3340
3341        Version 2.52g.
3342
33432002-01-24  Akim Demaille  <akim@epita.fr>
3344
3345        * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
3346        * doc/autoconf.texi: Finally add Akim as an author.
3347
33482002-01-24  Akim Demaille  <akim@epita.fr>
3349
3350        * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
3351        (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
3352        Bourne. Use /bin/sh.
3353        From Andreas Buening.
3354
33552002-01-24  Akim Demaille  <akim@epita.fr>
3356
3357        * config/config.guess, config/config.sub, config/texinfo.tex:
3358        Update from masters.
3359
33602002-01-24  Akim Demaille  <akim@epita.fr>
3361
3362        * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
3363        * config/auxdir.m4, config/cond.m4, config/depend.m4,
3364        * config/init.m4, config/install-sh.m4, config/lispdir.m4,
3365        * config/missing.m4, config/sanity.m4, config/select.m4,
3366        * config/strip.m4: Remove, to ease sync'ing with any version of
3367        Automake.
3368
33692002-01-24  Akim Demaille  <akim@epita.fr>
3370
3371        * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
3372        (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
3373        Reported by Geir Ove Myhr.
3374
33752002-01-21  Akim Demaille  <akim@epita.fr>
3376
3377        * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
3378
33792002-01-21  Akim Demaille  <akim@epita.fr>
3380
3381        * lib/Autom4te/General.pm (getopt): Use a more GNUish error
3382        message on invalid options.
3383        * bin/autom4te.in (parse_args): Don't use
3384        Autoconf::General::getopt with non valid options.
3385
33862002-01-17  Jim Meyering  <meyering@lucent.com>
3387
3388        * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
3389        $ac_cv_exeext so we don't use an old, invalid, cached value.
3390
33912002-01-11  Akim Demaille  <akim@epita.fr>
3392
3393        * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
3394        Meyering.
3395        * doc/autoconf.texi (Function Portability): Document the strnlen
3396        limitation.
3397        (Particular Functions): Document AC_FUNC_STRNLEN.
3398        * lib/autoscan/functions: Adjust.
3399
34002002-01-06  Akim Demaille  <akim@epita.fr>
3401
3402        * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
3403        package.m4, since is really depends upon configure.ac, not
3404        configure.
3405        * doc/autoconf.texi (testsuite Scripts): Adjust.
3406        * tests/Makefile.am (package.m4): New.
3407        EXTRA_DIST it since its a source.
3408
34092002-01-06  Akim Demaille  <akim@epita.fr>
3410
3411        * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
3412        of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
3413        and PACKAGE_BUGREPORT from here...
3414        (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
3415        arguments.
3416        (_AC_INIT_PREPARE): AC_DEFINE these symbols.
3417        * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
3418        (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
3419        * tests/tools.at (autoheader): Adjust.
3420        * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
3421
34222002-01-06  Akim Demaille  <akim@epita.fr>
3423
3424        * bin/autoscan.in (scan_file): Use `&used'.
3425
34262002-01-03  Akim Demaille  <akim@epita.fr>
3427
3428        * doc/autoconf.texi (Output): Improved wording regarding use of
3429        AC_OUTPUT.
3430        From Olly Betts.
3431
34322001-12-18  Kevin Ryde  <user42@zip.com.au>
3433
3434        * doc/autoconf.texi (Function Portability): Add notes on sscanf
3435        sometimes needing writable input.
3436
34372001-12-17  Jim Meyering  <meyering@lucent.com>
3438
3439        * doc/autoconf.texi (New Macros): Tweak wording.
3440
34412001-12-14  Akim Demaille  <akim@epita.fr>
3442
3443        * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
3444        trailing files, don't apply `-rf' to files which might not be
3445        created by configure (core, core.*, and *.core), but just `rm -f'.
3446        Suggested by Jonathan Kamens.
3447
34482001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
3449
3450        * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
3451
34522001-12-14  Akim Demaille  <akim@epita.fr>
3453
3454        * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
3455
34562001-12-13  Peter Eisentraut  <peter_e@gmx.net>
3457
3458        * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
3459        abs_builddir, top_buildpath to abs_top_builddir, srcpath to
3460        abs_srcdir, top_srcpath to abs_top_srcdir.
3461        (_AC_OUTPUT_FILES): Adjust.
3462        * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
3463        * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
3464        * tests/wrappl.in, tests/wrapsh.in: Adjust.
3465
34662001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
3467
3468        * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
3469        C/Fortran linking on HP/UX, by extracting the Fortran library
3470        search path from the LPATH line in the $F77 -v output.
3471
34722001-12-12  Kevin Ryde  <user42@zip.com.au>
3473
3474        * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
3475        forbidden file descriptors table.
3476
34772001-11-26  Akim Demaille  <akim@epita.fr>
3478
3479        * bin/autoscan.in (%c_keywords): Build it at top level.
3480        Map to 1 in order to simplify its uses.
3481
34822001-11-26  Akim Demaille  <akim@epita.fr>
3483
3484        * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
3485        Remove $filepath, useless.
3486        (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
3487        variables, they are really part of the tokens.
3488        Split the input line on spaces and then look for tokens.
3489        Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
3490        because of `lex$U.$(OBJEXT)'.
3491        (&scan_files): Use "@list" instead of join.
3492        * doc/Makefile.am (CLEANFILES): Add *.fns.
3493
34942001-11-26  Akim Demaille  <akim@epita.fr>
3495
3496        * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
3497        Remove, replaced by...
3498        * tests/wrappl.in: Be common for all the Perl executables.
3499        In particular autoscan and autoheader want -I.
3500        * configure.ac: Adjust.
3501        * lib/autoscan/headers: errno.h is portable.
3502
35032001-11-26  Akim Demaille  <akim@epita.fr>
3504
3505        * bin/autoscan.in (used): New.
3506        Use it.
3507
35082001-11-26  Akim Demaille  <akim@epita.fr>
3509
3510        * bin/autoscan.in (&scan_c_file): Better parsing of CPP
3511        directives.
3512        (&scan_sh_file): Remove a duplicate pattern.
3513        (&check_configure_ac): Use long options.
3514        * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
3515
35162001-11-26  Akim Demaille  <akim@epita.fr>
3517
3518        * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
3519        Before, having a line containing the opening of a multi line
3520        comment made the whole line be ignored.
3521
35222001-11-26  Akim Demaille  <akim@epita.fr>
3523
3524        * doc/autoconf.texi (Using an Autotest Test Suite): New.
3525        (testsuite Scripts): Be one of its subsection.
3526        (Autotest Logs): New.
3527
35282001-11-26  Akim Demaille  <akim@epita.fr>
3529
3530        Test groups are now run two directories deeper.
3531
3532        * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
3533        top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
3534        at_top_builddir.
3535        * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
3536        top_srcdir, builddir and top_builddir.
3537        Use `at_*dir' relatively to the directory containing the
3538        suite, use `*dir' when relatively to the current group dir.
3539
35402001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
3541
3542        * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
3543        lib/autoconf/functions.m4, lib/autoconf/headers.m4,
3544        tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
3545        spelling errors.
3546
35472001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
3548
3549        * doc/autoconf.texi (Using System Type): Add an example of `case
3550        $host' usage so people quit using `case $target' everywhere.
3551
35522001-11-22  Akim Demaille  <akim@epita.fr>
3553
3554        * doc/autoconf.texi (Installation Directory Variables): Englishoes
3555        spotted by Jim Meyering.
3556
35572001-11-16  Paul Eggert  <eggert@twinsun.com>
3558
3559        This patch implements a `long double' suggestion by Oliver Kiddle.
3560
3561        * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
3562        static, to catch errors if the value isn't known at compile-time
3563        and the compiler supports dynamic arrays.  Change its name from
3564        `_array_' to `test_array' to avoid potential name clashes.
3565        (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
3566        test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
3567        better than double.  Catch a bug in GCC 2.95.2 x86.
3568        * doc/autoconf.texi (C Compiler): Document the above.
3569        * NEWS: Likewise.
3570
35712001-11-13  Akim Demaille  <akim@epita.fr>
3572
3573        * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
3574        hand.
3575        * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
3576
35772001-11-13  Akim Demaille  <akim@epita.fr>
3578
3579        * lib/autotest/general.m4 (AT_INIT): After having run the test
3580        group, go back to the initial directory, not to at_suite_dir.
3581
35822001-11-13  Akim Demaille  <akim@epita.fr>
3583
3584        * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
3585        (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
3586        (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
3587        option.
3588        (AT_CHECK_CONFIGURE): Use absolute paths.
3589        (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
3590        The problem is still the old one: there is no means in M4 (that I
3591        know about) to create a defining macro, because there is no means
3592        to create `$1' etc., therefore, the defining macro ``swallows''
3593        all the arguments meant to the defined macro.
3594
35952001-11-13  Akim Demaille  <akim@epita.fr>
3596
3597        * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
3598        (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
3599        configure.ac.
3600        * tests/aclocal.m4: Remove, as it is no longer used.
3601
36022001-11-13  Akim Demaille  <akim@epita.fr>
3603
3604        * lib/autotest/general.m4: Change `tests?' into `groups?' in
3605        variable names when referring to a single test group, or to
3606        `suite' when referring to the whole test suite.
3607        `at_last_test' is removed: m4 compute at_format itself.
3608        (at_stdout, at_stder1, at_stderr): New variables.
3609        (AT_CHECK): Use them.
3610
36112001-11-13  Akim Demaille  <akim@epita.fr>
3612
3613        * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
3614        in PATH.
3615        Create `testsuite.dir/003/run' instead of `testsuite.003'.
3616        Do it as soon as a test fails, don't wait till the end of the test
3617        suite.
3618        Don't remove $as_me.[0-9]*, since these files no longer exist.
3619
36202001-11-13  Akim Demaille  <akim@epita.fr>
3621
3622        * tests/tools.at: Use absolute paths, since we are no longer run
3623        in place.
3624
36252001-11-13  Akim Demaille  <akim@epita.fr>
3626
3627        Now that tests are running in their own private dir, there is no
3628        need to list the files to remove at the end of tests groups.
3629
3630        * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
3631        (AT_data_files, at_data_files): Remove.
3632        (AT_CLEANUP, AT_DATA): Simplify.
3633        (AT_INIT): Adjust.
3634        Remove the group dir if !debug && !failed.
3635        * tests/atspecific.m4: Adjust.
3636
36372001-11-13  Akim Demaille  <akim@epita.fr>
3638
3639        Start a new layout for Autotest: `testsuite' creates
3640        `testsuite.dir' in which the at-check-line etc. files are to be
3641        found, and `testsuite.dir/003' where the test group 3 is run.
3642
3643        * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
3644        at_check_line_file, at_format, at_test_normalized, at_group_dir
3645        are new variables.
3646        Create the directories.
3647        Use absolute paths for at- files.
3648        (AT_CHECK): Adjust.
3649
36502001-11-11  Michael Matz  <matz@kde.org>
3651
3652        * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
3653        (m4_car2): New.
3654        (m4_car): Properly quote arguments.
3655
36562001-11-13  Akim Demaille  <akim@epita.fr>
3657
3658        * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
3659        with stricter rules on LIBOBJS.
3660
36612001-11-12  Paul Eggert  <eggert@twinsun.com>
3662
3663        * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
3664        * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
3665        __PROTOTYPES too.
3666
36672001-11-12  Akim Demaille  <akim@epita.fr>
3668
3669        * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
3670
36712001-11-12  Akim Demaille  <akim@epita.fr>
3672
3673        * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3674        * lib/autoconf/functions.m4, lib/autoconf/general.m4,
3675        * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
3676        * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3677        * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
3678        specify to what the macro should be defined (typically to 1).
3679
36802001-11-12  Akim Demaille  <akim@epita.fr>
3681
3682        * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
3683        From Jim Meyering.
3684
36852001-11-12  Akim Demaille  <akim@epita.fr>
3686
3687        * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
3688        AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
3689        definition used by Automake where LEX is +/- "${missing} lex" and
3690        `missing' itself contains variables.
3691
36922001-11-12  Akim Demaille  <akim@epita.fr>
3693
3694        * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
3695        Now that M4sh pushes BODY, the comments were output at the end of
3696        the test suites.
3697
36982001-11-08  Akim Demaille  <akim@epita.fr>
3699
3700        * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
3701        that we can trace macros from aclocal.m4.
3702        Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
3703        obsoleted, and redirect to the former anyway.
3704        Reported by Ralf Corsepius.
3705
37062001-11-08  Akim Demaille  <akim@epita.fr>
3707
3708        * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
3709        processed only if present.
3710        * tests/torture.at (Configuring subdirectories): Use autoreconf
3711        instead of successive calls to autoconf.
3712        Add a nonexistent subdirectory to exercise the patch above.
3713        Reported by Ralf Corsepius.
3714
37152001-11-08  Kevin Ryde  <user42@zip.com.au>
3716
3717        * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
3718        doesn't accept .S files.
3719
37202001-11-07  Akim Demaille  <akim@epita.fr>
3721
3722        * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
3723        * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
3724        (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
3725        * bin/autom4te.in (warn_forbidden): New.
3726        (handle_output): Use it.
3727        Read m4_pattern_forbid with messages.
3728
37292001-11-05  Akim Demaille  <akim@epita.fr>
3730
3731        * bin/autom4te.in (--normalize): Remove.
3732        * lib/autom4te.in: Adjust.
3733
37342001-11-05  Akim Demaille  <akim@epita.fr>
3735
3736        * tests/Makefile.am (testsuite): Rename this target as...
3737        ($(TESTSUITE)): this.
3738        From Nicolas Joly.
3739
37402001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
3741
3742        * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
3743        the --prefix option, also remove it's argument.
3744
37452001-11-05  Akim Demaille  <akim@epita.fr>
3746
3747        * doc/autoconf.texi (testsuite Invocation): Update.
3748        (Writing testsuite.at): Update.
3749
37502001-11-03  Akim Demaille  <akim@epita.fr>
3751
3752        * doc/autoconf.texi: s/@code/@command/ where appropriate.
3753
37542001-11-03  Akim Demaille  <akim@epita.fr>
3755
3756        * lib/Autom4te/General.pm: (&catfile, &canonfile)
3757        (&file_name_is_absolute): New, wrappers around routines from
3758        File::Spec.
3759        Use and export them.
3760        (&find_configure_ac): Optionally take a directory where to look at.
3761        * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
3762        the arguments.
3763        Default @ARGV to `.', not find_configure_ac.
3764        (&autoreconf): Argument is a directory.
3765        Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
3766        * doc/autoconf.texi (autoreconf Invocation): Update.
3767
37682001-11-03  Akim Demaille  <akim@epita.fr>
3769
3770        * lib/Autom4te/General.pm (@export_vars, @export_subs)
3771        (@export_forward_subs): New.
3772        Add basename, dirname, and fileparse.
3773        (@EXPORT): Adjust.
3774        * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
3775        Don't look for aclocal flags if we already know aclocal is not
3776        used.
3777        Move aclocal.m4t only if it exists.
3778        Reported by Ezra Peisach.
3779
37802001-11-03  Akim Demaille  <akim@epita.fr>
3781
3782        * bin/autoreconf.in (&parse_args): Work only on the configure.ac
3783        passed on command line, defaulting to ./configure.ac if present.
3784        (&maybe_autoreconf, File::Find): Remove, unused.
3785        (&autoreconf): If autoconf is not used, don't try to trace.
3786
37872001-11-02  Akim Demaille  <akim@epita.fr>
3788
3789        * configure.ac: Bump to 2.52g.
3790
37912001-11-02  Akim Demaille  <akim@epita.fr>
3792
3793        Version 2.52f.
3794
37952001-11-02  Akim Demaille  <akim@epita.fr>
3796
3797        * config/config.guess, config/config.sub, doc/standards.texi:
3798        * config/lispdir.m4: Update from masters.
3799        * configure.ac: Bump to 2.52f.
3800
38012001-11-02  Akim Demaille  <akim@epita.fr>
3802
3803        * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
3804        Don't run aclocal when aclocal.m4 is not from aclocal.
3805        From Ezra Peisach.
3806        Don't run libtoolize and gettextize if --install is not given.
3807
38082001-11-01  Paul Eggert  <eggert@twinsun.com>
3809
3810        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
3811        be invoked before _AS_LINENO_PREPARE.
3812        (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
3813        than character ranges.
3814
3815        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
3816        invoking AS_BASENAME.  Set the locale variables to 'C' if
3817        possible, as POSIX requires this to get the traditional
3818        behavior.
3819        * doc/autoconf.texi (Special Shell Variables): Describe the above.
3820
38212001-10-31  Paul Eggert  <eggert@twinsun.com>
3822
3823        * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
3824        with {}, as that triggers a bug in Bash 2.05.
3825
3826        (_AS_LINENO_PREPARE): Use Sed rather than
3827        Awk.  Fix the sed prepass to work even if there are multiple
3828        instances of $LINENO on the same line.  Do not substitute for
3829        other variables like $LINENOT.  Do not check file dates; such a
3830        check is unreliable on sufficiently fast machines, and removing
3831        the check makes the code simpler and more reliable.  Check for
3832        output and chmod failures.
3833
3834        * doc/autoconf.texi (Special Shell Variables): Document
3835        the above.
3836
38372001-10-31  Akim Demaille  <akim@epita.fr>
3838
3839        * tests/Makefile.am (atconfig): Remove this target, Automake
3840        handles it now.
3841
38422001-10-31  Akim Demaille  <akim@epita.fr>
3843
3844        * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
3845        AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
3846        provided, while it is optional.
3847        * configure.ac: Adjust.
3848
38492001-10-26  Paul Eggert  <eggert@twinsun.com>
3850
3851        * NEWS, README, configure.ac, lib/Autom4te/General.pm,
3852          lib/Autom4te/Struct.pm:
3853        Require Perl 5.005_03 instead of just 5.005, as some tests fail
3854        with 5.005_02.
3855
3856        * doc/autoconf.texi (Special Shell Variables): Document some
3857        more LINENO gotchas, particularly with respect to the Awk+Sed hack.
3858
3859        * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
3860        (_AS_LINENO_PREPARE): Use it instead of shell eval, since
3861        eval $LINENO is not portable in practice.
3862
38632001-10-24  Akim Demaille  <akim@epita.fr>
3864
3865        * lib/Autom4te/General.pm (backname): New.
3866
38672001-10-24  Akim Demaille  <akim@epita.fr>
3868
3869        * m4/: Remove, merged into...
3870        * config/: here.
3871
38722001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
3873
3874        * doc/autoconf.texi (Shellology): Mention the problems with bash
3875        2.05's use of ANSI quoting in its `set' builtin.
3876
38772001-10-22  Paul Eggert  <eggert@twinsun.com>
3878
3879        * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
3880        Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3881        and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3882        POSIX decided to standardize on the int flavor of strerror_r.
3883        Always do char* test, as there's no reason not to.
3884        Assign to a char* var, to catch strerror_r that returns int*.
3885
3886        * doc/autoconf.texi (Particular Functions):
3887        Document the above changes.  Also, document the fact that
3888        AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
3889
3890        * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
3891
38922001-10-20  Akim Demaille  <akim@epita.fr>
3893
3894        * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
3895        the executable was missing from the log.
3896
38972001-10-20  Akim Demaille  <akim@epita.fr>
3898
3899        * lib/Autom4te/General.pm (&update_file): If destination is
3900        unchanged, remove the source.
3901        (&up_to_date_p): Don't be verbose, be debug.
3902        * bin/autoreconf.in: No longer support --m4dir.
3903        (&autoreconf): Display the full path of the configure.ac we are
3904        studying.
3905        Trace it only once.
3906        Be sure to honor --force with gettextize.
3907        Always run aclocal.
3908        * doc/autoconf.texi: Adjust.
3909
39102001-10-20  Akim Demaille  <akim@epita.fr>
3911
3912        * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
3913        Remove, dead.
3914        * bin/autoreconf.in (&autoreconf): Do not run gettextize when
3915        `intl' is already present, as it refuses unless --force.
3916        (&parse_args): Use -I, --include instead of the old Autoconf
3917        options.
3918        ($localdir, $autoconf_dir): Remove.
3919        (@include): New.
3920        (&maybe_autoreconf): New, to preserve $_ for File::Find.
3921
39222001-10-19  Jens Petersen  <petersen@redhat.com>
3923
3924        * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
3925        * doc/autoconf.texi (Particular Programs): Likewise.
3926
39272001-10-19  Akim Demaille  <akim@epita.fr>
3928
3929        * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
3930        file in @configure_input@.
3931        Don't mention `automatically' in addition to `generated'.
3932        * tests/torture.at (#define header templates): Adjust.
3933
39342001-10-19  Akim Demaille  <akim@epita.fr>
3935
3936        * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
3937        comment, explain how to install automatic mode selection.
3938        From Russ Allbery.
3939
39402001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
3941
3942        * bin/autoreconf.in (autoreconf): Display the path to the
3943        configure.ac being studied.
3944
39452001-10-18  Paul Eggert  <eggert@twinsun.com>
3946
3947        * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
3948        long, to work around a bug in the HP C compiler version HP92453-01
3949        B.11.11.23709.GP.
3950
3951        * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
3952        (AS_BASENAME_EXPR): New macro.
3953        (AS_BASENAME_SED): Do not assume GNU sed semantics.
3954        (AS_BASENAME): Use 'basename' if that works; then try 'expr';
3955        and fall back on 'sed' only if the other two fail.  This makes
3956        AS_BASENAME act more like AS_DIRNAME.
3957        (as_me): Shell-quote the argument of AS_BASENAME, in case $0
3958        contains white space.
3959        * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
3960        Use AS_DIRNAME, since I think it's now DOS-friendly.
3961        * tests/m4sh.at (DIRNAME_TEST): New arg $3.
3962        Allow "dirname //FOO" to return either / or //, as POSIX allows
3963        either behavior.
3964
39652001-10-10  Akim Demaille  <akim@epita.fr>
3966
3967        * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
3968        `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
3969        From Eric Sharkey.
3970
39712001-10-10  Akim Demaille  <akim@epita.fr>
3972
3973        * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
3974        m4_define, since...
3975        (_AS_ECHO_N): AS_REQUIREs it.
3976
39772001-10-10  Akim Demaille  <akim@epita.fr>
3978
3979        * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
3980        (AC_INCLUDES_DEFAULT): Move to...
3981        * lib/autoconf/headers.m4: here.
3982        * lib/autoconf/types.m4: Comment changes.
3983        * doc/autoconf.texi: Specify where the default includes are used
3984        in the macro prototypes.
3985
39862001-10-09  Akim Demaille  <akim@epita.fr>
3987
3988        * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
3989        transition code.
3990
39912001-10-08  Akim Demaille  <akim@epita.fr>
3992
3993        * bin/autoreconf.in (&autoreconf): Remove debugging code.
3994        (&parse_args): Pass verbosity/debugging options to subtools when
3995        --debug, not when --verbose.
3996        * lib/autom4te.in (Autoreconf-preselections): New.
3997        (Autoconf): Use it.
3998
39992001-10-08  Akim Demaille  <akim@epita.fr>
4000
4001        * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
4002
40032001-10-08  Akim Demaille  <akim@epita.fr>
4004
4005        * doc/autoconf.texi (autoreconf Invocation): Adjust.
4006        * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
4007
40082001-10-08  Akim Demaille  <akim@epita.fr>
4009
4010        * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
4011        (Syntax of the shell scripts): Don't.
4012        * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
4013        bother with $force since...
4014        * lib/Autom4te/General.pm: does.
4015
40162001-10-08  Akim Demaille  <akim@epita.fr>
4017
4018        * bin/autoreconf.in: Rewrite in Perl.
4019        * configure.ac: Adjust.
4020        * lib/Autom4te/General.pm (&up_to_date_p): New.
4021        * bin/autom4te.in (&up_to_date_p): Use it.
4022        Rename as...
4023        (&up_to_date): this.
4024
40252001-10-08  Akim Demaille  <akim@epita.fr>
4026
4027        * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
4028        (m4_list_cmp): Use $0 to reinvoke yourself.
4029        (m4_patsubsts): New.
4030        (m4_strip, m4_version_unletter): Use it.
4031        * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
4032
40332001-10-08  Akim Demaille  <akim@epita.fr>
4034
4035        * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
4036        * lib/autoconf/libs.m4, lib/autoconf/status.m4,
4037        * lib/autoconf/types.m4, lib/autotest/general.m4,
4038        * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
4039        * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
4040        m4_bregexp, m4_bpatsubst, and m4_bmatch.
4041        * doc/autoconf.texi (Redefined M4 Macros): Adjust.
4042
40432001-10-08  Akim Demaille  <akim@epita.fr>
4044
4045        * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
4046
40472001-10-08  Akim Demaille  <akim@epita.fr>
4048
4049        * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
4050        * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
4051        * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
4052        * tests/tools.at, tests/m4sh.at: Use it.
4053        * tests/m4sh.at: Don't rely on Autoconf macros.
4054        (DIRNAME_TEST): Also exercise the expr variant.
4055        * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
4056        preferred M4sugar extension is now `.4s'.
4057        * tests/README: Remove.
4058
40592001-10-08  Akim Demaille  <akim@epita.fr>
4060
4061        * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
4062        (m4_provide_if): this.
4063        * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
4064        * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
4065        (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
4066        M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
4067
40682001-10-08  Akim Demaille  <akim@epita.fr>
4069
4070        Use `add-log-current-defun-function' for ChangeLog creation.
4071        Suggested by Tom Tromey.
4072
4073        * lib/emacs/autotest-mode.el (autotest-mode-map): New.
4074        (autotest-mode): Adjust.
4075        * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
4076        'comment-region onto `C-c ;'.
4077        Comments are `#', not `dnl'.
4078        (autoconf-current-defun): New.
4079        (autoconf-font-lock-keywords): Recognize `m4_defun'.
4080
40812001-10-08  Akim Demaille  <akim@epita.fr>
4082
4083        * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
4084        * lib/m4sugar/m4sh.m4: here.
4085        (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
4086        * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
4087        (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
4088        include handle the m4_pattern_*, no longer push the
4089        BODY diversion nor set the /bin/sh line, AS_INIT does it.
4090        * lib/autotest/general.m4 (AT_INIT): Likewise.
4091        * tests/base.at: Adjust the tests to use AS_INIT.
4092        * tests/tools.at (AT_DATA_FORBIDDEN): New.
4093        (autoconf: forbidden tokens): Adjust to work on M4sh instead of
4094        Autoconf.
4095
40962001-10-07  Paul Eggert  <eggert@twinsun.com>
4097
4098        * doc/autoconf.texi (config.status Invocation):
4099        CONFIG_SHELL defaults to a shell that supports LINENO if available.
4100
4101        * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
4102        shell does not support LINENO, and if CONFIG_SHELL is unset or
4103        empty, and if we can find a shell that does support LINENO,
4104        then set CONFIG_SHELL to that shell and then re-execute
4105        ourselves with CONFIG_SHELL.
4106
41072001-10-05  Paul Eggert  <eggert@twinsun.com>
4108
4109        * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
4110        doesn't exist.  Remove *.tmp, as a .tmp file is created during the
4111        build of $(TESTSUITE).
4112
41132001-10-05  Akim Demaille  <akim@epita.fr>
4114
4115        * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
4116        iff we are a bareword.
4117        Reported by Raja R Harinath.
4118
41192001-10-05  Akim Demaille  <akim@epita.fr>
4120
4121        * tests/m4sh.at (LINENO): New.
4122        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
4123        PATH_SEPARATOR before using it.
4124        Fix the absolute path case/esac pattern.
4125        Provide $0 as fallback for as_myself.
4126        Reported by Raja R Harinath.
4127
41282001-10-05  Akim Demaille  <akim@epita.fr>
4129
4130        * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
4131        * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
4132
41332001-10-05  Akim Demaille  <akim@epita.fr>
4134
4135        * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
4136        (AS_SHELL_SANITIZE): here.  Use it.
4137        (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
4138        From Paul Eggert.
4139
41402001-10-04  Akim Demaille  <akim@epita.fr>
4141
4142        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
4143        combination of Awk and sed to replace $LINENO.
4144
41452001-10-02  Paul Eggert  <eggert@twinsun.com>
4146
4147        * doc/autoconf.texi (Limitations of Builtins): You can't use
4148        "source"; it's not portable.  Remove confusing and
4149        somewhat-incorrect example involving "." and "/".
4150
4151        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
4152        compatibility with POSIX shells.
4153
41542001-10-02  Akim Demaille  <akim@epita.fr>
4155
4156        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
4157        instead of exec'ing to preserve $0 and $@.
4158
41592001-10-01  Akim Demaille  <akim@epita.fr>
4160
4161        * tests/testsuite (AT_INIT) <at_pass_list>: New.
4162        Don't run twice the same test.
4163
41642001-10-01  Akim Demaille  <akim@epita.fr>
4165
4166        * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
4167        No longer output the list of tests.
4168        <--list>: New option.
4169        <--full-help>: Remove.
4170        Complete the short/long options duality.
4171        Various small adjustments.
4172
41732001-10-01  Akim Demaille  <akim@epita.fr>
4174
4175        * doc/autoconf.texi: Use @kbd for user input.
4176        Always use `$' as shell prompt.
4177
41782001-09-30  Paul Eggert  <eggert@twinsun.com>
4179
4180        * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
4181        Don't use nested parenthesization.  This patch was originally
4182        suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
4183        but somehow it didn't get incorporated then.
4184        * doc/autoconf.texi (Limitations of Usual Tools):
4185        Clarify remark about sed and nested parenthesization.
4186
4187        * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
4188        Report an error if the size cannot be determined even though
4189        the type exists.
4190        * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4191        Check for `expr' arithmetic overflow, and for compilation failure,
4192        and invoke a new argument $4 if either is discovered.
4193        This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
4194        (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
4195
41962001-09-28  Akim Demaille  <akim@epita.fr>
4197
4198        * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
4199        * m4/lispdir.m4: New.
4200        * aclocal.m4, configure.ac: Adjust.
4201
42022001-09-28  Akim Demaille  <akim@epita.fr>
4203
4204        * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
4205        (AT_TESTED): this.
4206        (AT_INIT): More the wrapped section to where it will be expanded.
4207        Output `AT_tested' only when existing.
4208        Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
4209
42102001-09-27  Akim Demaille  <akim@epita.fr>
4211
4212        Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
4213        generates too many bug reports.
4214
4215        * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
4216        status when executing the ACTION-IF-FALSE.
4217        * tests/base.at (AC_TRY_*): Rename as...
4218        (AC_TRY_COMMAND): this.
4219        (AC_RUN_IFELSE): New.
4220        * tests/compile.at (Extensions, C keywords)
4221        (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
4222        (Broken/missing compilers, AC_PROG_CPP with warnings)
4223        (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
4224        * tests/c.at (Extensions, C keywords)
4225        (Broken/missing compilers, AC_PROG_CPP with warnings)
4226        (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
4227        (AC_PROG_CPP requires AC_PROG_CC): here and...
4228        * tests/fortran.at (GNU Fortran 77): there.
4229        * doc/autoconf.texi (autoconf Invocation): Fix the example:
4230        AC_TRY_RUN is about compilation, not shell commands.
4231        (Test Programs): AC_TRY_RUN works as used to be advertised.
4232
42332001-09-27  Akim Demaille  <akim@epita.fr>
4234
4235        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
4236        Raja R Harinath:
4237        Be sure to detect when $LINENO always returns the same value.
4238        Look for the original script, basename($0) is certainly not
4239        enough.
4240        Pass the CLI arguments to `$as_me.lineno'.
4241
42422001-09-25  Akim Demaille  <akim@epita.fr>
4243
4244        * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
4245        Be sure the close and reopen the LOG fd before and after using tee
4246        to extend the log.
4247        <at_tests_pattern>: Adjust to the new format of at_help_all.
4248
42492001-09-23  Akim Demaille  <akim@epita.fr>
4250
4251        * bin/autom4te.in (parse_args): There can be several invocations
4252        of --language now.
4253
42542001-09-23  Akim Demaille  <akim@epita.fr>
4255
4256        * doc/autoconf.texi (Top): Wrap in @ifnottex.
4257
42582001-09-23  Akim Demaille  <akim@epita.fr>
4259
4260        * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
4261        ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
4262        (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
4263        builddir, buildpath, top_builddir, and top_buildpath.
4264        (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
4265        the current directory.
4266        * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
4267        variables *before* changing the current directory.
4268        Skip nonexistent dirs.
4269        * doc/autoconf.texi (Preset Output Variables): Document these
4270        variables.
4271
4272        * lib/autotest/general.m4: Do not reset AT_victims.
4273        Don't compute at_srcdir nor at_top_srcdir.
4274
4275        * tests/tools.at: Hence use top_srcdir.
4276
4277        * tests/Makefile.am, tests/autoconf, tests/autoheader,
4278        * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
4279        Remove.
4280        * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
4281        * tests/wrapsh.in, tests/autoupdate.in: New.
4282        * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
4283        * configure.ac: Build the position independent wrappers.
4284
4285        * man/Makefile.am: Now that test wrappers are position
4286        independent, use them and drop dark envvar magic.
4287
42882001-09-23  Akim Demaille  <akim@epita.fr>
4289
4290        * doc/autoconf.texi (Common Shell Constructs): Rename as...
4291        (Programming in M4sh): this.
4292        Promote to @section.
4293
42942001-09-23  Akim Demaille  <akim@epita.fr>
4295
4296        * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
4297        Pass $at_debug_args to the rerun test suite.
4298        * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
4299        * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
4300        From Paul Eggert.
4301
43022001-09-23  Akim Demaille  <akim@epita.fr>
4303
4304        * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
4305
43062001-09-23  Akim Demaille  <akim@epita.fr>
4307
4308        * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
4309        over-escaping.
4310
43112001-09-23  Akim Demaille  <akim@epita.fr>
4312
4313        * lib/Autom4te/General.pm (&debug): New.
4314        * bin/autom4te.in ($language): Move to...
4315        (parse_args): here.
4316        Handle --language in languages.
4317        * lib/autom4te.in (Automake-selections, Autoheader-selections)
4318        (Autoscan-selections): New.
4319        (Autoconf): Adjust.
4320
43212001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
4322
4323        * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
4324        * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
4325        to match current versions from CVS Automake.
4326
43272001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
4328
4329        * doc/autoconf.texi (Special Shell Variables): Add pdksh output
4330        for $LINENO.
4331
43322001-09-22  Akim Demaille  <akim@epita.fr>
4333
4334        * lib/autoconf/autotest.m4: Create `package.m4'.
4335        * tests/Makefile.am (package.m4): Remove.
4336
43372001-09-22  Akim Demaille  <akim@epita.fr>
4338
4339        Rely on `$LINENO' when possible instead of `__oline__'.
4340
4341        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
4342        `$LINENO' support replacement when not supported.
4343        (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
4344        them explicitly to be sure they are not output before this section
4345        (via m4_require).  Cosmetic only.
4346        * lib/autoconf/c.m4, lib/autoconf/general.m4,
4347        * lib/autoconf/programs.m4: Replace all the occurrences of
4348        `__oline__' with `$LINENO'.
4349        * doc/autoconf.texi (Special Shell Variables): Document LINENO.
4350
43512001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
4352
4353        * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
4354        character (u: -> ue) in a code comment.
4355        (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
4356        it works.
4357
43582001-09-21  Akim Demaille  <akim@epita.fr>
4359
4360        * Makefile.maint (AUTOM4TE): Neutralize autom4te.
4361        Suggested by Jim Meyering.
4362
43632001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4364
4365        * lib/autoconf/programs.m4: Use extensions listed in
4366        $ac_executable_extensions when looking for programs.
4367
43682001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4369
4370        * lib/autoconf/general.m4: Fix a small Englisho.
4371        * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
4372        setting up ac_dir_suffix and ac_top_builddir.
4373        * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
4374
43752001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4376
4377        * doc/autoconf.texi (File System Conventions): Clarify the use of
4378        PATH_SEPARATOR.
4379        (Special Shell Variables[PATH_SEPARATOR]): Ditto.
4380        (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
4381        be used instead of ':'.
4382        * lib/autotest/general.m4: Replace occurrences of ':' in
4383        AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
4384
43852001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4386
4387        * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
4388        arguments.  Fixed a typo.
4389
43902001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4391
4392        * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
4393        $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
4394
43952001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4396
4397        * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
4398        * bin/autoupdate.in: Ditto.
4399        * bin/autoheader.in: Reworded a few comments.
4400        * bin/autoconf.in: Reworded help text for a few options.
4401        * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4402        * bin/autoscan.in, bin/autoupdate.in: Ditto.
4403
44042001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4405
4406        * lib/Autom4te/XFile.pm (open): Simplified the error message (we
4407        already have $file).  Set output files to binary mode (helps avoid
4408        CR issues on DOSish systems).
4409
44102001-09-19  Akim Demaille  <akim@epita.fr>
4411
4412        * lib/autotest/general.m4: Englishoes.
4413        From Tim Van Holder and Alexey Mahotkin.
4414
44152001-09-18  Paul Eggert  <eggert@twinsun.com>
4416
4417        * doc/autoconf.texi (Common Shell Constructs): New node,
4418        documenting AS_DIRNAME.
4419        (Limitations of Usual Tools): Refer to it when discussing dirname.
4420        Also, update discussion of POSIX standard to reflect latest draft.
4421
4422        * lib/autoconf/c.m4:
4423        (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
4424
4425        * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4426        Do not pass a first argument with leading '-'
4427        to expr, by parenthesizing initial integers that might be negative.
4428
4429        * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
4430        now merely checks whether it is an error to pass an argument
4431        to getpgrp.
4432
4433        * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
4434        (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
4435        whether it is a (compile-time) error to pass an argument to
4436        getpgrp.  This simpler test supports the revised documentation,
4437        and is all that AC_FUNC_GETPGRP's users really need.
4438
44392001-09-18  Akim Demaille  <akim@epita.fr>
4440
4441        * doc/autoconf.texi (Limitations of Make) <$<>: New.
4442
44432001-09-18  Akim Demaille  <akim@epita.fr>
4444
4445        * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
4446        `{}'.
4447        * lib/autotest/general.m4 (AT_INIT): Adjust.
4448
44492001-09-18  Paul Wagland  <paul@wagland.net>
4450
4451        * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
4452        correctly.
4453        Add test for AS_BASENAME.
4454        * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
4455        added test. It now correctly handles /1/2/3/, returning '3' not ''.
4456        Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
4457        * tests/base.at: Fixed the expected responses. The old ones were
4458        one line out...
4459        * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
4460        the documentation claims it should (and how it behaved in 2.13).
4461
44622001-09-18  Akim Demaille  <akim@epita.fr>
4463
4464        * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
4465        the AC_CONFIG_COMMANDS invocation.
4466        This also solves the name clash problems.
4467        Don't set the package's ID.
4468        * lib/m4sugar/Makefile.am (version.m4): Revamp.
4469        No longer to be shipped.
4470        (version.in): Remove.
4471        * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
4472        * lib/autoconf/status.m4: Adjust.
4473        Use `m4_PACKAGE_STRING'.
4474        * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
4475        the only optional argument is the name of the test suite.
4476        Expect `package.m4' to define the package signature.
4477        * lib/autom4te.in (Autotest): Add `package.m4?'.
4478        * tests/Makefile.am (package.m4): New.
4479        * tests/suite.at: ifnames is a victim.
4480
44812001-09-18  Akim Demaille  <akim@epita.fr>
4482
4483        * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
4484        AC_LIBSOURCE, AC_CONFIG_FILES.
4485        * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
4486        program version string doesn't match the package's.
4487        * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
4488        after `(cached)'.
4489
44902001-09-17  Paul Eggert  <eggert@twinsun.com>
4491
4492        * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4493        Allow expression to return any value that can fit into unsigned long
4494        (not int, as before).  Check for output errors.
4495
44962001-09-17  Bruno Haible <haible@ilog.fr>
4497
4498        * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4499        Always include <stdio.h> and <stdlib.h>. Evaluate
4500        the expression in an extra function before these includes. Call
4501        fprintf "%d" only after ensuring the argument is of type 'int'.
4502        Reported by Wayne Chapeskie <waynec@spinnaker.com>.
4503
45042001-09-17  Paul Eggert  <eggert@twinsun.com>
4505
4506        Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
4507        or CFLAGS=-O5.  In that case, the linker has a relaxed view of
4508        fatal errors, and AC_CHECK_LIB causes it to include libraries even
4509        when they don't exist.
4510
4511        * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
4512        not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
4513        need it.
4514
4515        * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
4516        version with the version used by fileutils 4.1, except use
4517        AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
4518        we don't need it.
4519
4520        * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
4521
45222001-09-13  Akim Demaille  <akim@epita.fr>
4523
4524        * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
4525        _first_.
4526        Reported by Gerrit P. Haase.
4527
45282001-09-13  Akim Demaille  <akim@epita.fr>
4529
4530        * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
4531        m4_defn'ing is valid.
4532
45332001-09-13  Akim Demaille  <akim@epita.fr>
4534
4535        * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
4536        * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
4537        Use it.
4538
45392001-09-13  Akim Demaille  <akim@epita.fr>
4540
4541        * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
4542        m4_match.
4543        (m4_re_escape): New.
4544        * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
4545        * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
4546        * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
4547        Likewise.
4548        * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
4549        (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
4550        * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
4551        AT_tests_all for consistency.
4552        Set at_victims.
4553        (AT_VICTIMS): Similar to AT_KEYWORDS.
4554        (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
4555
45562001-09-13  Akim Demaille  <akim@epita.fr>
4557
4558        * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
4559
45602001-09-13  Akim Demaille  <akim@epita.fr>
4561
4562        * lib/autotest/general.m4 (AT_INIT): Create and remove
4563        `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
4564        test suites can cohabit.
4565
45662001-09-13  Akim Demaille  <akim@epita.fr>
4567
4568        * tests/mktests.sh: Don't output banners for empty test files.
4569
45702001-09-13  Akim Demaille  <akim@epita.fr>
4571
4572        Test suites can be run independently of configure.
4573
4574        * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
4575        * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
4576        * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
4577        ECHO_N etc.
4578        * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
4579        and at_c.
4580        * lib/autotest/general.m4: Use ECHO_*.
4581
45822001-09-13  Akim Demaille  <akim@epita.fr>
4583
4584        * bin/ifnames.in: Rewrite in Perl.
4585        * configure.ac: Don't look for AWK.
4586        * tests/tools.at (AWK portability): Remove.
4587        (Syntax of the shell scripts): Don't check ifnames.
4588        (AT_CHECK_PERL_SYNTAX): New.
4589        (Syntax of the Perl scripts): Check ifnames.
4590        * tests/ifnames: New.
4591
45922001-09-13  Akim Demaille  <akim@epita.fr>
4593
4594        * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
4595        test group titles.
4596        * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
4597        Remove all the other keywords.
4598
45992001-09-10  Akim Demaille  <akim@epita.fr>
4600
4601        * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
4602        SETUP: no longer used.
4603        Support -k, --keywords.
4604        <at_help>: Be `no', `short', or `long'.
4605        <at_help_all>: New variable.
4606        (AT_KEYWORDS): New.
4607        (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
4608        (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
4609        (_AT_CLEANUP_FILE_IF): Simplify the regexp.
4610        (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
4611        No longer fill the HELP diversion.
4612        (AT_CLEANUP): Use them.
4613        * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
4614        (m4_list_append): Remove.
4615
4616        Spread a few keywords in the Autoconf test suite.
4617
46182001-09-10  Akim Demaille  <akim@epita.fr>
4619
4620        * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
4621        PATH_SEPARATOR, let M4sh compute it.
4622        * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
4623        * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
4624        Move to...
4625        * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
4626        Simplify when the path is not a literal.
4627        (AS_UNAME): Use it to report PATH.
4628        * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
4629        (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
4630        * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
4631        * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
4632        normalize the path, and to look for victims.
4633        * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
4634        (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
4635
46362001-09-07  Akim Demaille  <akim@epita.fr>
4637
4638        * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
4639        doesn't neutralize SIGINT, making autoconf etc. non interruptible.
4640        * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
4641        related variables into `at_package_*'.
4642        * lib/autotest/general.m4 (AT_VICTIMS): New.
4643        (AT_INIT): Adjust for stand-alone/embedded test suites.
4644        (AS_MESSAGE_LOG_FD): Define and use it.
4645        * tests/suite.at (AT_VICTIMS): Use it.
4646        * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
4647        at_version.
4648
46492001-09-07  Akim Demaille  <akim@epita.fr>
4650
4651        Move toward possibly stand-alone test suites.
4652
4653        * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
4654        in addition, it introduces useless differences in logs.
4655        (AT_INIT): Let atconfig and atlocal be both optional.
4656        Adjust PATH computation.
4657        * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
4658
46592001-09-07  Akim Demaille  <akim@epita.fr>
4660
4661        * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
4662        m4sugar/version.m4.
4663
46642001-09-05  Akim Demaille  <akim@epita.fr>
4665
4666        * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
4667        to avoid GCC warnings.
4668        From Uwe Seimet.
4669
46702001-09-05  Akim Demaille  <akim@epita.fr>
4671
4672        * bin/autom4te.in: --language is -l, not -s.
4673
46742001-09-05  Akim Demaille  <akim@epita.fr>
4675
4676        Be ready to handle filenames as stupid as `dnl.at', for if even
4677        the maintainer is dumb enough to do that...
4678
4679        * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
4680        excellence in M4 quotation: consider `__file__' is active.
4681
4682        And BTW, when invoking m4, pass the --include in the right order:
4683        the wrong one.
4684
4685        * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
4686        4m.
4687
46882001-09-05  Akim Demaille  <akim@epita.fr>
4689
4690        * lib/Autom4te/XFile.pm: New lib file.
4691        * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
4692        * bin/autoheader.in: Use it.
4693
46942001-09-05  Akim Demaille  <akim@epita.fr>
4695
4696        * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
4697        defined.
4698
46992001-09-05  Akim Demaille  <akim@epita.fr>
4700
4701        * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
4702        * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
4703
4704        * bin/autoscan.in: Use `getopt' and `find_files' etc.
4705        Add -I, --include support.
4706        * doc/autoconf.texi (autoscan Invocation): Adjust.
4707
47082001-09-05  Akim Demaille  <akim@epita.fr>
4709
4710        CVS GNU M4 doesn't like `undefine(undefined)'.
4711
4712        * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
4713        New, extracted from main.
4714        Use IO::File wherever possible.
4715        (input.m4): Be constant, use -I instead of hard coding $tmp.
4716        Therefore be a quoted heredoc.
4717        Don't invoke `_au_disable', since ac was not loaded, but just
4718        `unm4.m4'.
4719
47202001-08-31  Akim Demaille  <akim@epita.fr>
4721
4722        Version 2.52d.
4723
47242001-08-31  Akim Demaille  <akim@epita.fr>
4725
4726        * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
4727        previous patch.
4728        * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
4729
47302001-08-31  Akim Demaille  <akim@epita.fr>
4731
4732        * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
4733        serious problems handling heredocs in heredocs.
4734        Reported by Nicolas Joly.
4735
47362001-08-31  Akim Demaille  <akim@epita.fr>
4737
4738        * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
4739        (Making testsuite Scripts): Update.
4740
47412001-08-31  Akim Demaille  <akim@epita.fr>
4742
4743        * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
4744
47452001-08-31  Akim Demaille  <akim@epita.fr>
4746
4747        * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
4748        (testsuite Scripts): There is no such thing as `atconfig.in'.
4749        And actually one diagram is missing: test suite runtime.
4750
47512001-08-31  Akim Demaille  <akim@epita.fr>
4752
4753        * lib/Autom4te/General.pm (&find_file): Browse the includes in the
4754        inverse order.
4755
47562001-08-31  Akim Demaille  <akim@epita.fr>
4757
4758        * bin/autoupdate.in (@include): `installcheck' revealed the path
4759        to m4sugar was lacking!
4760
47612001-08-31  Akim Demaille  <akim@epita.fr>
4762
4763        * man/Makefile.am (.x.1): We really have to pass
4764        autom4te_perllibdir.
4765
47662001-08-31  Akim Demaille  <akim@epita.fr>
4767
4768        * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
4769        debug scripts, in particular passing explicitly listed tests to
4770        run is stupid.
4771
47722001-08-31  Akim Demaille  <akim@epita.fr>
4773
4774        * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
4775        * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
4776        Use directly autom4te, not autoconf.
4777        * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
4778
47792001-08-31  Akim Demaille  <akim@epita.fr>
4780
4781        * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
4782        * bin/autoheader.in (%symbol): Strip arguments of macros.
4783
47842001-08-31  Akim Demaille  <akim@epita.fr>
4785
4786        * doc/autoconf.texi: Catch up -I, --include changes.
4787
47882001-08-31  Akim Demaille  <akim@epita.fr>
4789
4790        * bin/autom4te.in (&parse_args): Die on unknown languages.
4791        * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
4792        need for autoconf.
4793        Promote --include over --macrodir and other obsolete options.
4794
47952001-08-31  Akim Demaille  <akim@epita.fr>
4796
4797        * lib/Autom4te/General.pm ($version, $help, &getopt): New.
4798        * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
4799        * bin/autom4te.in ($autoconf): Pass --force.
4800        `print $out' doesn't print `$_' but `$out'.
4801        * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
4802        (autoheader): Pass --force since the test suite goes too fast for
4803        the time stamps.
4804        Adjust to the new autoheader messages.
4805
48062001-08-31  Akim Demaille  <akim@epita.fr>
4807
4808        * bin/autoheader.in: Handle the acconfig.h etc. junk files.
4809        Check the completeness of the #template.
4810        * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
4811        * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
4812        invocation.
4813
48142001-08-31  Akim Demaille  <akim@epita.fr>
4815
4816        * lib/Autom4te/General.pm (&find_file, &update_file): New.
4817        * bin/autoupdate.in, bin/autoheader.in: Adjust.
4818        Drop AC_MACRODIR dead for real.
4819        * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
4820        `autoheader: `config.hin' is created'.
4821        * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
4822
48232001-08-31  Akim Demaille  <akim@epita.fr>
4824
4825        * bin/autoheader.in: Rewrite in Perl.
4826        * tests/autoheader: Adjust.
4827
48282001-08-31  Akim Demaille  <akim@epita.fr>
4829
4830        * bin/autoconf.in (--include, -I): New option.
4831        Map --localdir, --autoconf-dir onto it.
4832        Forward autom4te's options instead of interpreting them.
4833        * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
4834        There is no such envvar since the inception of autom4te.cfg.
4835        * bin/autom4te.in (&parse_args): Uniquify `@include'.
4836        * bin/autoupdate.in: Adjust, and perform more control.
4837        * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
4838        * tests/autoconf: Dittowise.
4839
48402001-08-31  Akim Demaille  <akim@epita.fr>
4841
4842        * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
4843        * bin/autom4te.in (&find_file): Support `FILE?' standing for
4844        optionally `FILE'.
4845        Use -e, not -f, since /dev/null for instance is OK.
4846        (&parse_args): Adjust.
4847        * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
4848
48492001-08-31  Akim Demaille  <akim@epita.fr>
4850
4851        * configure.ac: Also find tested executables in bin.
4852        * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
4853        * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
4854        installed peer executables, only PATH is allowed to resolve it.
4855        Pass `autoconf_dir' via options, not via invisible envvars.
4856        * lib/Autom4te/General.pm (&find_peer): Remove.
4857        * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
4858        `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
4859        * man/Makefile.am: Let help2man rely on PATH instead of trying to
4860        find the executables for it.
4861        * tests/Makefile.am: Major cleanup.  Too lazy to document...
4862        * tests/atlocal.in: Remove all the obscure envvar manipulations.
4863        We only need PERL.
4864        * tests/atspecific.m4, tests/tools.at: Passing --localdir is
4865        indeed related to running the test suite, while passing
4866        --autoconf-dir and others is related to running non installed
4867        Autoconf executables.  So don't do that, leave it to...
4868        * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
4869        * tests/autoscan: New.
4870        * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
4871        refer to library files: rely on --language.
4872
48732001-08-29  Akim Demaille  <akim@epita.fr>
4874
4875        * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
4876        s/--set/--language/.
4877
48782001-08-29  Akim Demaille  <akim@epita.fr>
4879
4880        * doc/autoconf.texi: Strip the @nodes.
4881        Suggested by Paul Eggert.
4882        (Initializing configure): Typo.
4883
48842001-08-29  Akim Demaille  <akim@epita.fr>
4885
4886        * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
4887        Suggested by Paul Eggert.
4888
48892001-08-29  Akim Demaille  <akim@epita.fr>
4890
4891        * Makefile.maint (do-po-update): Wget refuses to overwrite files:
4892        download in a tmp dir.
4893
48942001-08-29  Akim Demaille  <akim@epita.fr>
4895
4896        * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
4897        case insensitive OSes out there :(
4898        From Tim Van Holder.
4899
49002001-08-29  Akim Demaille  <akim@epita.fr>
4901
4902        * lib/autom4te.in: New.
4903        * lib/Makefile.am (edit, autom4te.cfg): New.
4904        * bin/autom4te.in (BEGIN): Simplify.
4905        Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
4906        (&load_configuration): New.  Use it.
4907        (&parse_args): Support --mode, --set, and --melt.
4908        * bin/autoconf.in: Simplify and adjust.
4909        * tests/Makefile.am (AUTOMAKE): Use --set.
4910        * tests/atlocal.in: Adjust.
4911        * BUGS: distcheck and check are weak.
4912
49132001-08-29  Akim Demaille  <akim@epita.fr>
4914
4915        * lib/autotest/general.m4: Use
4916                foo=`(command) 2>/dev/null`
4917        not
4918                foo=`command` 2>/dev/null
4919        (at-devnull): Rename as...
4920        (AT-devnull): this.
4921        (--clean): Remove AT-* files too.
4922        * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
4923        Reported by Nicolas Joly.
4924
49252001-08-28  Akim Demaille  <akim@epita.fr>
4926
4927        * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
4928        quotes inside single quotes.
4929        Reported by Nicolas Joly.
4930
49312001-08-28  Kevin Ryde  <user42@zip.com.au>
4932
4933        * doc/autoconf.texi (Function Portability): Mention C right shifts.
4934
49352001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
4936
4937        * lib/autotest/general.m4: Reword some messages.
4938        (AT_INIT): Check for the `times' builtin before using it.
4939        Support test ranges as arguments to the testsuite.
4940        Have -e imply -d as the help text suggested.
4941
49422001-08-27  Akim Demaille  <akim@epita.fr>
4943
4944        * Makefile.maint: Formatting changes.
4945        (do-po-update, po-update, cvs-update, update): New targets.
4946        (AMTAR): Remove.
4947
49482001-08-27  Akim Demaille  <akim@epita.fr>
4949
4950        * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
4951        <at_cmd_line>: New.
4952        Pass it to debug-*.sh scripts.
4953        <AUTOTEST_PATH>: May contain absolute dir names.
4954
49552001-08-27  Akim Demaille  <akim@epita.fr>
4956
4957        * lib/autotest/general.m4 (AT_INIT): Log the command line.
4958        Support `VAR=VAL' as arguments.
4959        Compute PATH _after_ the options processing, so that AUTOTEST_PATH
4960        may be set via the command line.
4961
49622001-08-27  Akim Demaille  <akim@epita.fr>
4963
4964        * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
4965        * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
4966        first the build dirs, then the src dirs.
4967        * configure.ac (AC_CONFIG_TESTDIR): Adjust.
4968
49692001-08-27  Akim Demaille  <akim@epita.fr>
4970
4971        * lib/autotest/general.m4 (AT_INIT): Output the definition of
4972        at_data_files earlier.
4973        (--clean, -c): New option.
4974        * tests/Makefile.am: Use this option.
4975
49762001-08-27  Akim Demaille  <akim@epita.fr>
4977
4978        * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
4979        `ac_top_builddir' to mimic Automake's vocabulary, which much more
4980        readable.
4981        Adjust callers.
4982        * doc/autoconf.texi (Configuration Actions): Document the vars
4983        available in commands.
4984        Emphasize the risks of collisions in init-cmds.
4985
49862001-08-27  Akim Demaille  <akim@epita.fr>
4987
4988        * doc/autoconf.texi (Input) <AC_INIT>: Move to..
4989        (Initializing configure): this new node.
4990
49912001-08-27  Akim Demaille  <akim@epita.fr>
4992
4993        * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
4994
49952001-08-27  Akim Demaille  <akim@epita.fr>
4996
4997        * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
4998        * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
4999        New file.
5000        * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
5001
50022001-08-27  Akim Demaille  <akim@epita.fr>
5003
5004        * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
5005        to...
5006        * lib/autoconf/autoheader.m4: this new file.
5007        * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
5008        (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
5009        Move to...
5010        * lib/autoconf/autoupdate.m4: this new file.
5011
50122001-08-27  Akim Demaille  <akim@epita.fr>
5013
5014        * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
5015        (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
5016        Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
5017        -> ac_dir).
5018        (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
5019        * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
5020
50212001-08-27  Akim Demaille  <akim@epita.fr>
5022
5023        * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
5024        (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
5025        (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
5026        (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
5027        (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
5028        (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
5029        (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
5030        (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
5031        (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
5032        (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
5033        (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
5034        (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
5035        (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
5036        (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
5037        (_AC_OUTPUT_SUBDIRS): Move to...
5038        * lib/autoconf/status.m4: this new file.
5039        * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
5040        * tests/Makefile.am, tests/suite.at: Adjust.
5041
50422001-08-27  Akim Demaille  <akim@epita.fr>
5043
5044        Automake 1.5.
5045
5046        * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
5047        (AMTAR): Help automake define it.
5048        (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
5049        needed, 1.5 can have a macro and a target with the same name.
5050        * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
5051        * m4/strip.m4: New.
5052        * m4/init.m4, m4/sanity.m4: Update.
5053        * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
5054        * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
5055        * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
5056        * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
5057
50582001-08-27  Akim Demaille  <akim@epita.fr>
5059
5060        Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
5061
5062        * lib/autoconf/version.in: Remove.
5063        * lib/m4sugar/version.in: New.
5064        * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
5065        Adjust callers.
5066        * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
5067        the name of the directory they're in, instead of the filename,
5068        since version.m4 is now in m4sugar, but m4_acversion must not be
5069        classified as an Autoconf macro.
5070        ($input_m4): Don't qualify the path to m4sugar.
5071        Rather, pass autoconf_dir to m4.
5072        * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
5073        * tests/suite.at: Require 2.52c.
5074
50752001-08-27  Akim Demaille  <akim@epita.fr>
5076
5077        testsuite.log should include config.log.
5078
5079        * lib/autotest/autotest.m4: New.
5080        * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
5081        * tests/suite.at : Adjust.
5082        (AT_INIT): Log config.log.
5083        * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
5084        * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
5085        * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
5086        (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
5087        of config.log on traps.
5088        (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
5089        Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
5090        for config.status'.
5091        Open the log as soon as possible.
5092        Use the same log introduction as configure's.
5093
50942001-08-22  Paul Eggert  <eggert@twinsun.com>
5095
5096        * doc/autoconf.texi (Indices): New node.
5097        Move indices out of the top level menu and into this submenu.
5098
50992001-08-22  Akim Demaille  <akim@epita.fr>
5100
5101        * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5102        AC_TRY_COMMAND.
5103        (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
5104
51052001-08-22  Akim Demaille  <akim@epita.fr>
5106
5107        * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
5108        (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
5109        (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
5110        * lib/autoconf/programs.m4: here.
5111        * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
5112        (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
5113        (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
5114        * lib/autoconf/programs.m4: here.
5115        (_AC_DECL_YYTEXT): Rename as...
5116        (_AC_PROG_LEX_YYTEXT_DECL): this.
5117        * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
5118        * tests/Makefile.am, tests/suite.am: Adjust.
5119
51202001-08-22  Akim Demaille  <akim@epita.fr>
5121
5122        * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
5123        Move to...
5124        * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
5125        here.
5126        * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
5127        * lib/autoconf/functions.m4: here.
5128        * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
5129        (AH_CHECK_LIB): Move to...
5130        * lib/autoconf/libs: this new file.
5131        * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
5132        (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
5133        * lib/autoconf/libs.m4: here.
5134        * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
5135
51362001-08-22  Akim Demaille  <akim@epita.fr>
5137
5138        * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
5139        * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
5140        (AC_SITE_LOAD): Better logging of config.site.
5141
51422001-08-20  Akim Demaille  <akim@epita.fr>
5143
5144        * configure.ac (AT_CONFIG): Fix the path.
5145        * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
5146        can be used.
5147
51482001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
5149
5150        * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
5151        program with AC_LANG_PROGRAM before feeding it to
5152        AC_COMPILE_IFELSE.  Cleanup grep usage.
5153
51542001-08-20  Akim Demaille  <akim@epita.fr>
5155
5156        * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
5157        * NEWS, README, README-alpha, TODO, tests/README: This package is
5158        `Autoconf', not `autoconf' (the executable).
5159
51602001-08-20  Akim Demaille  <akim@epita.fr>
5161
5162        Info readers seem to need `Index' in the index node title :(
5163
5164        * doc/autoconf.texi: Reverse the 2001-08-15 change which
5165        simplified index node names.
5166
51672001-08-20  Akim Demaille  <akim@epita.fr>
5168
5169        * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
5170        arguments are not literals.
5171        * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
5172        Specify the output variables, and macros defined.
5173
51742001-08-20  Akim Demaille  <akim@epita.fr>
5175
5176        * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
5177        (Examining Syntax) <AC_TRY_COMPILE>
5178        (Examining Libraries) <AC_TRY_LINK>
5179        (Test Programs) <AC_TRY_RUN>: These macros double quote some of
5180        their arguments.
5181        Reported by Werner Lemberg.
5182
51832001-08-20  Akim Demaille  <akim@epita.fr>
5184
5185        * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
5186        top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
5187        Load atlocal late enough to dump it in the log.
5188        * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
5189
51902001-08-20  Akim Demaille  <akim@epita.fr>
5191
5192        * tests/torture.at (Configuring subdirectories): New test.
5193        * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
5194        looking for.
5195        * m4/atconfig.m4: Be sure the let $[0] be expandable.
5196        (top_srcdir): Fix its computation.
5197
51982001-08-20  Akim Demaille  <akim@epita.fr>
5199
5200        * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
5201        * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
5202        test suite lives.
5203        Create `atconfig' automagically.
5204        Configure atlocal.in if present.
5205        * tests/atconfig.in: Remove.
5206        * tests/atlocal.in: New.
5207        * tests/Makefile.am: Adjust.
5208
52092001-08-20  Akim Demaille  <akim@epita.fr>
5210
5211        Huh!?!?!  There are still some user EOF tags used, which prevents
5212        their use in AC_CONFIG_COMMANDS for instance...
5213
5214        * lib/autoconf/general.m4, lib/autoconf/specific.m4,
5215        * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
5216        `_CSEOF', or `_ATEOF', as appropriate.
5217        * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
5218        * lib/autotest/Makefile.am (check-local): Enforce this constraint.
5219
52202001-08-20  Akim Demaille  <akim@epita.fr>
5221
5222        * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
5223        * tests/semantics.at, tests/tools.at, tests/torture.at:
5224        s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
5225
52262001-08-20  Akim Demaille  <akim@epita.fr>
5227
5228        Autotest invokes M4sh's initialization.
5229
5230        * lib/autotest/general.m4: Adjust the diversion names.
5231        (AT_INIT): Run AS_INIT.
5232        Use the BINSH diversion to invoke /bin/sh.
5233        * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
5234        * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
5235
52362001-08-20  Akim Demaille  <akim@epita.fr>
5237
5238        Let M4sh have its own diversions.
5239
5240        * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
5241        (_m4_divert(NOTICE)): Rename as...
5242        * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
5243        (_m4_divert(HEADER-COMMENT)): these.
5244        (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
5245        (_m4_divert(NOTICE)): New, for Libtool.
5246        * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
5247        long ago with `_m4_divert(GROW)'.
5248        (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
5249
52502001-08-20  Akim Demaille  <akim@epita.fr>
5251
5252        * tests/base.at, tests/compile.at, tests/foreign.at,
5253        * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5254        * tests/semantics.at, tests/suite.at, tests/tools.at,
5255        * tests/torture.at: Ask Autotest mode, not Autoconf mode.
5256
52572001-08-20  Akim Demaille  <akim@epita.fr>
5258
5259        * bin/autom4te.in (handle_output): Handle @__@.
5260
52612001-08-20  Akim Demaille  <akim@epita.fr>
5262
5263        * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
5264        * lib/autotest/general.m4: Adjust the license.
5265
52662001-08-17  Paul Eggert  <eggert@twinsun.com>
5267
5268        * doc/autoconf.texi (Function Portability): Mention snprintf,
5269        following up on a suggestion by Kevin Ryde.
5270
52712001-08-17  Akim Demaille  <akim@epita.fr>
5272
5273        * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
5274        `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
5275
52762001-08-17  Akim Demaille  <akim@epita.fr>
5277
5278        * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
5279        `$0.log' as for projects where testsuite is in src, we'd have
5280        testsuite.log created in src.
5281
52822001-08-17  Akim Demaille  <akim@epita.fr>
5283
5284        * bin/autom4te.in (&parse_args): Recognize --normalize.
5285
52862001-08-17  Akim Demaille  <akim@epita.fr>
5287
5288        Start implementing the AC_CHECK_HEADER transition scheme.
5289
5290        * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
5291        (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
5292        (AC_CHECK_HEADER): Use them.
5293
52942001-08-17  Akim Demaille  <akim@epita.fr>
5295
5296        * doc/autoconf.texi: Work around Texinfo buglets.
5297        (Transformation Rules): One example is enough, users are expected
5298        to have their brains on. And BTW, use DESTDIR.
5299        (dvar): New macro.  Use it.
5300
53012001-08-17  Akim Demaille  <akim@epita.fr>
5302
5303        * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
5304        * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
5305        looking for ChangeLogs.
5306
53072001-08-17  Akim Demaille  <akim@epita.fr>
5308
5309        * bin/autom4te.in: --normalize is a new option.
5310        * bin/autoconf.in: Use it.
5311
53122001-08-17  Akim Demaille  <akim@epita.fr>
5313
5314        * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
5315        * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
5316
53172001-08-16  Paul Eggert  <eggert@twinsun.com>
5318
5319        * doc/autoconf.texi, doc/install.texi: Put copyright notice at
5320        start, not at end.
5321
53222001-08-15  Akim Demaille  <akim@epita.fr>
5323
5324        * doc/Makefile.am (fu): New index, can't use fn because of defmac.
5325        Use it.
5326
53272001-08-15  Akim Demaille  <akim@epita.fr>
5328
5329        * doc/autoconf.texi (pr): New index.
5330        (prindex, findex): Use, merge, and output them.
5331        (Environment Variable Index, Output Variable Index)
5332        (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
5333        (Autotest Macro Index): Rename as...
5334        (Environment Variables, Output Variables,Preprocessor Symbols)
5335        (Autoconf Macros, M4 Macros, Autotest Macros): these.
5336        * doc/install.texi: Use @command.
5337        (Environment Variables): Rename as...
5338        (Defining Variables): this.
5339
53402001-08-15  Akim Demaille  <akim@epita.fr>
5341
5342        * doc/autoconf.texi (Function Portability): sprintf's return
5343        value.
5344        From Kevin Ryde.
5345
53462001-08-15  Akim Demaille  <akim@epita.fr>
5347
5348        * Makefile.maint (CVS): New.
5349        (local-check): Run changelog-check. last.
5350        (alpha): Don't depend upon local-check, since...
5351        (cvs-dist): depends upon it.
5352
53532001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
5354
5355        * tests/Makefile.am: Use a clean-local rule to remove
5356        autom4te.cache (it's a directory, not a file.
5357        * Makefile.am: Ditto (but maintainer-clean-local).
5358
53592001-08-15  Akim Demaille  <akim@epita.fr>
5360
5361        * bin/autom4te.in (@m4_warning): New.
5362        (&handle_m4): Use it.
5363        * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
5364        warnings are issued at each run.
5365        * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
5366        is in the src tree.
5367
53682001-08-15  Akim Demaille  <akim@epita.fr>
5369
5370        * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
5371        don't waste time running `autoupdate --version' works.
5372        * tests/tools.at (autoupdating AC_PREREQ): Likewise.
5373
53742001-08-13  Akim Demaille  <akim@epita.fr>
5375
5376        * doc/autoconf.texi (ma): Rename this index as...
5377        (ac): this.
5378
53792001-08-13  Akim Demaille  <akim@epita.fr>
5380
5381        * Makefile.am: Remove dead code and dead comments.
5382        (pdf, html): New targets.
5383        * doc/autoconf.texi (Using Autotest): New chapter.
5384        * doc/Makefile.am (pdf): New targets.
5385        (CLEANFILES): Adjust.
5386
53872001-08-13  Akim Demaille  <akim@epita.fr>
5388
5389        * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
5390        duration of the test suite.
5391
53922001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
5393
5394        * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
5395        endianness for comparison instead of relying on AT_CHECK_ENV.
5396
53972001-08-11  Paul Eggert  <eggert@twinsun.com>
5398
5399        * doc/autoconf.texi, doc/install.texi: Add a copyright notice
5400        to the INSTALL file.
5401
54022001-08-11  Paul Eggert  <eggert@twinsun.com>
5403
5404        * NEWS: The autoconf manual now is distributed under the terms
5405        of the GNU Free Documentation License.
5406
5407        * doc/autoconf.texi: Switch from old style copyright notice to FDL.
5408        Add an appendix "Copying This Manual" for the FDL.
5409
5410        * doc/fdl.texi: New file, from
5411        <http://www.gnu.org/licenses/fdl.texi>.
5412
5413        * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
5414
54152001-08-10  Paul Eggert  <eggert@twinsun.com>
5416
5417        * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
5418        ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
5419        README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
5420        m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
5421        m4/sanity.m4, tests/README, tests/aclocal.m4,
5422        tests/atspecific.m4, tests/base.at, tests/compile.at,
5423        tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
5424        tests/semantics.at, tests/suite.at, tests/tools.at,
5425        tests/torture.at: Add copyright notice.
5426
5427        * tests/mktests.sh: Update year in copyright notice.
5428
54292001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
5430
5431        * tests/semantics.at (AC_C_BIGENDIAN): New test.
5432
54332001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
5434
5435        * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
5436        ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
5437        * doc/autoconf.texi (C Compiler Characteristics): Update
5438        documentation for AC_C_BIGENDIAN.
5439
54402001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
5441
5442        * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
5443        magic values from an object file when cross-compiling.
5444        Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
5445
54462001-08-10  Akim Demaille  <akim@epita.fr>
5447
5448        * bin/autom4te.in (&handle_output): Don't use `grep' with side
5449        effects.
5450        Suggested by Russ Allbery.
5451
54522001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
5453
5454        * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
5455        current $prefix to the sub-configures.
5456
54572001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
5458
5459        * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
5460        extension (needed on BeOS).  Reported by Guido van Rossum.
5461
54622001-08-09  Akim Demaille  <akim@epita.fr>
5463
5464        * bin/autom4te.in ($icache): Load it only if older than autom4te.
5465
54662001-08-07  Akim Demaille  <akim@epita.fr>
5467
5468        * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
5469        removed.
5470        (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
5471        No need to remove the files before and after the each test, before
5472        each test and at the end of the suite is enough.
5473        Display only the children `times', not the shell's.
5474        If the test failed or was skipped, at-times is not available.
5475
54762001-08-07  Akim Demaille  <akim@epita.fr>
5477
5478        Always produce testsuite.log, including when there are no
5479        failures.  This helps getting information on skipped tests, and
5480        duration of the tests.  Err, implement the latter btw.
5481
5482        * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
5483        Dump information on the first run of each test.
5484        (AT_CLEANUP): Create `at-times' containing the duration of the
5485        test group.
5486
54872001-08-07  Akim Demaille  <akim@epita.fr>
5488
5489        The use of `dumpstat' revealed that `len' was used although it
5490        should not.  m4_text_wrap was using it, but in the Autoconf world
5491        where it is legal.  Hence (i) test M4sh in its own world, not
5492        Autoconf's, and (ii), ahem, fix the bug :)
5493
5494        * lib/autotest/general.m4: Be sure the set good quotes, as tracing
5495        does not like `' instead of [].
5496        (AT_INIT): Forbid `^_?AT_'.
5497        And don't output such tokens.
5498        * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
5499        `script.as', and `autom4te.cache'.
5500        Remove `empty' and `macro' which are no longer used.
5501        * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
5502        * tests/m4sugar.at: Use it.
5503        * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
5504
55052001-08-07  Akim Demaille  <akim@epita.fr>
5506
5507        * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
5508
55092001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
5510
5511        * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
5512
55132001-08-04  Akim Demaille  <akim@epita.fr>
5514
5515        * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
5516        (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
5517        AC_TRY_LINK.
5518        * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
5519        * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
5520        (AC_F77_MAIN): Likewise.
5521
55222001-08-04  Akim Demaille  <akim@epita.fr>
5523
5524        Don't rely on M4sugar outputting the patterns in files, since we
5525        might process the output _without_ running m4, hence without these
5526        files.
5527
5528        * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
5529        * bin/autom4te.in (@Request::includes): Remove, unused.
5530        (@Request::source): Rename as...
5531        (@Request::input): this.
5532        (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
5533        (&handle_output): Fetch the patterns from the traces.
5534        `$forbidden' and `$allowed' are constant: use m//o.
5535        (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
5536        (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
5537
55382001-08-04  Akim Demaille  <akim@epita.fr>
5539
5540        `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
5541        autoconf', i.e., in addition to caching traces, cache the output.
5542
5543        * bin/autom4te.in (Request::cache): Rename as...
5544        (Request::id): this.
5545        ($cache, $icache, $tcache, $ocache): New.
5546        (&handle_m4): Save M4 output in the cache instead of $tmp.
5547        (&handle_output): Adjust.
5548        (&up_to_date_p): Check that the output cache is up to date too.
5549        (top level): Run `&handle_m4' iff force or the cache is invalid.
5550        Run `&handle_output' if the output cache is more recent.
5551
55522001-08-04  Akim Demaille  <akim@epita.fr>
5553
5554        * bin/autom4te.in ($force): New.
5555        (&parse_args, &print_usage): -f, --force is a new option.
5556        (&handle_output): CPP directives might have spaces after `#'.
5557        (&parse_args): The first file only can be frozen.
5558
55592001-08-04  Akim Demaille  <akim@epita.fr>
5560
5561        Don't let autom4te compute the `include' traces several times:
5562        first check that the trace cache file is up to date, and then
5563        compare its timestamp with that of the output.
5564
5565        * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
5566        the preamble.  Don't require 5.005 as Autom4te::General does it,
5567        and better yet (use `use', not `require'!).
5568        * lib/Autom4te/Struct.pm: Rename the last occurrences of
5569        Class::Struct as Autom4te::Struct.
5570        * lib/Autom4te/General.pm (File::stat): Use it.
5571        (&mtime): New, export it.
5572        * bin/autom4te.in: Use it.
5573        Declare `$req' is invalid if it is outdated.
5574        Don't declare it valid before saving it if something went wrong.
5575
55762001-08-04  Akim Demaille  <akim@epita.fr>
5577
5578        Autom4te shall not encode Autoconf data, and preselecting traces
5579        must be proposed to the users.
5580
5581        * bin/autom4te.in (@required_trace): Remove.
5582        (@preselect): New.
5583        (&parse_args, &print_usage): -p, --preselect is a new option.
5584        (&up_to_date_p): Adjust.
5585        * bin/autoconf.in: Preselect some Autoconf macros.
5586
55872001-08-04  Akim Demaille  <akim@epita.fr>
5588
5589        * tests/tools.at (autoconf --trace: user macros): Check traces on
5590        macros invoked without arguments, and macros invoked with multiple
5591        lines arguments.
5592
55932001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
5594
5595        * bin/autom4te.in (handle_traces): Fix rewriting of traces without
5596        arguments.
5597
55982001-08-03  Akim Demaille  <akim@epita.fr>
5599
5600        * bin/autoconf.in ($@): Work around the usual sh bug.
5601        From Nicolas Joly.
5602
56032001-08-03  Akim Demaille  <akim@epita.fr>
5604
5605        Clean up the handling of the M4 builtins tracing exception.
5606
5607        * bin/autom4te.in (Request::request): Don't complete M4 builtins
5608        trace requests.
5609        (@m4_builtins): Rename as...
5610        (@m4_builtin): this.
5611        (%m4_builtin_alternate_name): New.
5612        (&parse_args): Complete the trace requests with alternate names.
5613        (&handle_traces): Hence no longer do it here.
5614        (&trace_requests): Remove, unused.
5615
56162001-08-03  Akim Demaille  <akim@epita.fr>
5617
5618        * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
5619        m4_if, and m4_wrap.
5620
56212001-08-03  Akim Demaille  <akim@epita.fr>
5622
5623        * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
5624        (m4_divert_pop): Dump the whole diversion stack when a diversion
5625        mismatch happens.
5626        * bin/autom4te.in (&handle_output): Remember of the first
5627        occurrence of a possibly undefined macro, not the last.
5628        Complain about the possibly undefined macros in the same order as
5629        the appear in the output.
5630        * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
5631        * tests/tools.at (autoconf: forbidden tokens, basic)
5632        (autoconf: forbidden tokens, exceptions): No longer sort
5633        autoconf's stderr, as it is now deterministic.
5634        Check that `dnl' is caught.
5635
56362001-08-01  Akim Demaille  <akim@epita.fr>
5637
5638        * configure.ac: Bump to 2.52c.
5639
56402001-08-01  Akim Demaille  <akim@epita.fr>
5641
5642        Version 2.52b.
5643
5644        * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
5645
56462001-08-01  Akim Demaille  <akim@epita.fr>
5647
5648        Version 2.52a.
5649
56502001-08-01  Akim Demaille  <akim@epita.fr>
5651
5652        * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
5653        `die'.
5654        (&END): New.
5655        * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
5656        `END', as `Autom4te::General::END' will be triggered.
5657        * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
5658        * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
5659        system to run `mv', `rm', and `cmp'.
5660
56612001-08-01  Akim Demaille  <akim@epita.fr>
5662
5663        * lib/Autom4te/General.pm (&unique): New.
5664        * bin/autoscan.in (&output): Use it to issue trace requests once.
5665
56662001-08-01  Akim Demaille  <akim@epita.fr>
5667
5668        * lib/Autom4te/General.pm: New.
5669        * bin/autom4te.in (Autom4te::General): Use it.
5670        ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
5671        (&find_configure_ac, &find_slave): Remove.
5672        * bin/autoscan.in: Likewise.
5673        * bin/autoupdate.in: Likewise.
5674
56752001-08-01  Akim Demaille  <akim@epita.fr>
5676
5677        * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
5678        * autoheader.in, autoreconf.in, autoupdate.in: Move to...
5679        * bin: here, new directory.
5680        * lib/Autoconf: Rename as...
5681        * lib/Autom4te: this, to please case insensitive junkie OSes.
5682
56832001-08-01  Akim Demaille  <akim@epita.fr>
5684
5685        * autom4te.in ($m4): Handle the --nesting-limit.
5686        * autoconf.in (M4): Remove.
5687
56882001-08-01  Akim Demaille  <akim@epita.fr>
5689
5690        * autoconf.in ($AWK): Remove, no longer used.
5691        * test/tools.at: Use AT_CHECK_AUTOCONF.
5692        (AWK portability): Remove, for autoconf no longer uses AWK.
5693        (Syntax of the Perl scripts): New.
5694        * configure.ac: autoconf no longer needs an AWK with a good
5695        regexp engine.
5696        Use a static test on AC_PACKAGE_VERSION.
5697        * autom4te.in (&up_to_date_p): Output depends on the arguments.
5698        * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
5699        * tests/atconfig.in (PERL): New.
5700
57012001-08-01  Akim Demaille  <akim@epita.fr>
5702
5703        * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
5704        (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
5705        (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
5706        (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
5707        (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
5708        (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
5709        (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
5710        (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
5711        (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
5712        (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
5713        (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
5714        (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
5715        (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
5716        * lib/autoconf/c.m4: here, new file.
5717
5718        * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
5719        (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
5720        (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
5721        (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
5722        (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
5723        (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
5724        (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
5725        (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
5726        (AC_F77_FUNC): Move to...
5727        * lib/autoconf/fortran.m4: here, new file.
5728
57292001-08-01  Akim Demaille  <akim@epita.fr>
5730
5731        * acfunctions.m4: Rename as...
5732        * lib/autoconf/functions.m4: this.
5733        * acgeneral.m4: Rename as...
5734        * lib/autoconf/general.m4: this.
5735        * acheaders.m4: Rename as...
5736        * lib/autoconf/headers.m4: this.
5737        * aclang.m4: Rename as...
5738        * lib/autoconf/lang.m4: this.
5739        * acoldnames.m4: Rename as...
5740        * lib/autoconf/oldnames.m4: this.
5741        * acspecific.m4: Rename as...
5742        * lib/autoconf/specific.m4: this.
5743        * actypes.m4: Rename as...
5744        * lib/autoconf/types.m4: this.
5745        * autoconf.m4: Rename as...
5746        * lib/autoconf/autoconf.m4: this.
5747
5748        * m4sugar.m4: Rename as...
5749        * lib/m4sugar/m4sugar.m4: this.
5750        * m4sh.m4: Rename as...
5751        * lib/m4sugar/m4sh.m4: this.
5752
5753        * tests/atgeneral.m4: Rename as...
5754        * lib/autotest/general.m4: this.
5755
5756        * acfunctions: Rename as...
5757        * lib/autoscan/functions: this.
5758        * acheaders: Rename as...
5759        * lib/autoscan/headers: this.
5760        * acidentifiers: Rename as...
5761        * lib/autoscan/identifiers: this.
5762        * aclibraries: Rename as...
5763        * lib/autoscan/libraries: this.
5764        * acmakevars: Rename as...
5765        * lib/autoscan/makevars: this.
5766        * acprograms: Rename as...
5767        * lib/autoscan/programs: this.
5768
57692001-08-01  Akim Demaille  <akim@epita.fr>
5770
5771        * doc/autoconf.texi: Moving/deleting open files is not portable.
5772        Portability issues for `.' (source), and more information about sed.
5773
57742001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
5775
5776        * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
5777        which has a special meaning and is not a reference to libibmil.a.
5778        Reported by Matteo Frigo.
5779
57802001-07-25  Pavel Roskin  <proski@gnu.org>
5781
5782        * autom4te.in (mktmpdir): Strip trailing newline from mktemp
5783        output.
5784
57852001-07-25  Akim Demaille  <akim@epita.fr>
5786
5787        * autoconf.in: Try to define the variables before using them.
5788        * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
5789        instead of `$perllibdir'.
5790        * tests/atconfig.in ($autom4te_perllibdir): Export it.
5791
57922001-07-25  Akim Demaille  <akim@epita.fr>
5793
5794        * autoconf.in (ac_LF_and_DOT): Remove, unused.
5795
57962001-07-24  Akim Demaille  <akim@epita.fr>
5797
5798        Let autoconf use autom4te for traces.
5799
5800        * autoconf.in ($task, task trace): Remove, merely pass --trace to
5801        autom4te.
5802        * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
5803        (Because I found no way for autom4te to accept `-').
5804        * autom4te.in (&Request::request): Beware of M4 builtins.
5805        (END): Don't try to remove the content of an empty dir.
5806        (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
5807        (&handle_output): Set a default value to `$forbidden'.
5808        * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
5809        ($autoconf): Pass --debug and --verbose.
5810        * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
5811        cache.
5812
58132001-07-24  Akim Demaille  <akim@epita.fr>
5814
5815        Let autoconf use autom4te to create configure.
5816
5817        * autoconf.in ($automate): New var.
5818        (task script): Use autom4te.
5819        * autom4te.in (File::Spec): Use it.
5820        (&find_file): New.
5821        (&parse_args): --warning is -W, not -w.
5822        Find the top level files.
5823        (&handle_m4): Pass the warnings flags.
5824        Don't report verbosely m4's failures, unless requested.
5825        (&handle_output): Don't complain for forbidden tokens in comments.
5826        Be sure to report all the forbidden tokens within a single line.
5827        (&trace_format_to_m4): Preserve `$_'.
5828        (&handle_traces): Sort the output macros.
5829        (&up_to_date_p): Find the files before trying to get its time stamp.
5830
58312001-07-24  Akim Demaille  <akim@epita.fr>
5832
5833        * Makefile.am: Ship, build and install Autom4te.
5834        (SUBDIRS): Add lib.
5835        * lib/Autoconf/Struct.pm: New, from Automake 1.5.
5836        * configure.in: Require Perl.
5837        * man/autom4te.in: New.
5838
58392001-07-19  Paul Eggert  <eggert@twinsun.com>
5840
5841        * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
5842        example, rather than (exit 1); exit (which isn't portable).
5843
58442001-07-18  Akim Demaille  <akim@epita.fr>
5845
5846        Version 2.52.
5847
58482001-07-18  Akim Demaille  <akim@epita.fr>
5849
5850        The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
5851        was run, while they are needed also when it is expanded.
5852        Reported by Nicolas Joly.
5853
5854        * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
5855        (AC_LANG_PROGRAM(C)): Use it instead of depending upon
5856        AC_F77_DUMMY_MAIN being expanded.
5857
58582001-07-18  Akim Demaille  <akim@epita.fr>
5859
5860        * configure.in: Bump to 2.51a.
5861
58622001-07-17  Akim Demaille  <akim@epita.fr>
5863
5864        Version 2.51.
5865
58662001-07-17  Akim Demaille  <akim@epita.fr>
5867
5868        * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
5869        Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
5870
58712001-07-17  Akim Demaille  <akim@epita.fr>
5872
5873        The runtime test for AC_FUNC_GETPGRP fails when prototypes are
5874        used.  Well, then use the prototypes when you can, and runtime as
5875        a last resort.
5876        Reported by Artur Frysiak
5877
5878        * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
5879        (AC_FUNC_GETPGRP): Use it.
5880        First try to compile with 0-ary or 1-ary calls.
5881
58822001-07-17  Akim Demaille  <akim@epita.fr>
5883
5884        * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
5885        replacement type.
5886        From Paul Eggert.
5887
58882001-07-17  Akim Demaille  <akim@epita.fr>
5889
5890        * Makefile.maint: Sync. with cppi 1.10.
5891
58922001-07-17  Akim Demaille  <akim@epita.fr>
5893
5894        * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
5895        AC_F77_DUMMY_MAIN has been run.
5896        From Pavel Roskin and Steven G. Johnson.
5897
58982001-07-17  Akim Demaille  <akim@epita.fr>
5899
5900        * configure.in: Rename as...
5901        * configure.ac: this.
5902
59032001-07-17  Akim Demaille  <akim@epita.fr>
5904
5905        * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
5906        rules.
5907        From Marc Espie.
5908        * Makefile.maint (release-archive-dir): Rename as...
5909        (release_archive_dir): this, so that it can be specialized in
5910        Makefile.
5911
59122001-07-14  Akim Demaille  <akim@epita.fr>
5913
5914        * configure.in: Bump to 2.50d.
5915
59162001-07-14  Akim Demaille  <akim@epita.fr>
5917
5918        Version 2.50c.
5919        * Makefile.maint (alpha): Typo.
5920
59212001-07-14  Akim Demaille  <akim@epita.fr>
5922
5923        * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
5924
59252001-07-14  Akim Demaille  <akim@epita.fr>
5926
5927        * config/config.guess, config/config.sub, config/texinfo.tex
5928        * doc/standards.texi, doc/make-stds.texi: Update.
5929
59302001-07-14  Akim Demaille  <akim@epita.fr>
5931
5932        * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
5933
59342001-07-14  Akim Demaille  <akim@epita.fr>
5935
5936        * Makefile.maint (maintainer-check): Rename as...
5937        (maintainer-distcheck): this.
5938        (changelog-check, static-check): New.
5939        Use them.
5940
59412001-07-14  Kevin Ryde  <user42@zip.com.au>
5942
5943        * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
5944        for CXX is g++, not gcc.
5945
59462001-07-14  Akim Demaille  <akim@epita.fr>
5947
5948        * doc/autoconf.texi (Files): New subsection.
5949
59502001-07-14  Akim Demaille  <akim@epita.fr>
5951
5952        * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
5953        of...
5954        (Generic Compiler Characteristics): this.
5955        (C++ Compiler): New subsection.
5956
59572001-07-14  Akim Demaille  <akim@epita.fr>
5958
5959        * autoscan.in: Use IO::File.
5960        Adjust all the routines to use it.
5961        ($log): New file (autoscan.log).
5962        (output): Dump detailed logs into $log, and a shortened version to
5963        stderr.
5964        (&scan_makefile): Refine the regexp catching tokens in the code.
5965        * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
5966        and the `configure.ac' checking feature.
5967
59682001-07-12  Akim Demaille  <akim@epita.fr>
5969
5970        For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
5971        Reported by Michael Elizabeth Chastain.
5972
5973        * autoconf.in: Refuse such AWK.
5974        * configure.in: Likewise.
5975        * Makefile.am (acversion.m4): Do not use move-if-change this file
5976        has dependencies.
5977        * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
5978
59792001-07-10  Jens Petersen  <petersen@redhat.com>
5980
5981        * autoscan.in (&scan_makefile): Improve programs regexp to parse
5982        things like "g++", "file.c" and "some-conf" as tokens.
5983        (&scan_file): Match C++ files extensions.
5984        If the filename extension is C++ then ask for c++.
5985
59862001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
5987
5988        * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
5989        AC_TRY_LINK_FUNC, to check whether defining a dummy
5990        main-like routine is needed for linking with F77 libs.
5991
59922001-07-05  Pavel Roskin  <proski@gnu.org>
5993
5994        * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
5995        after using break.
5996        (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
5997        linking.
5998
59992001-07-05  Akim Demaille  <akim@epita.fr>
6000
6001        * Makefile.am (move_if_change): New.  Use it instead of `mv'.
6002        (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
6003        Makes' lives.
6004        Reported by Nicolas Joly.
6005
60062001-07-04  Akim Demaille  <akim@epita.fr>
6007
6008        * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
6009        up.
6010        * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
6011        warnings from compilers.
6012        * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
6013        for all the compilers, not only GNU.  Hence move from here...
6014        (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
6015
60162001-07-04  Akim Demaille  <akim@epita.fr>
6017
6018        * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
6019        (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
6020        AC_COMPILE_IFELSE.
6021
60222001-07-04  Akim Demaille  <akim@epita.fr>
6023
6024        * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
6025        the ``strings.h'' change claimed below.
6026
60272001-07-04  Akim Demaille  <akim@epita.fr>
6028
6029        * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
6030
60312001-07-04  Akim Demaille  <akim@epita.fr>
6032
6033        * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6034        strings.h if usable with string.h.
6035        Suggested by Paul Eggert.
6036
60372001-07-04  Akim Demaille  <akim@epita.fr>
6038
6039        * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
6040        From Jens Petersen.
6041
60422001-07-03  Akim Demaille  <akim@epita.fr>
6043
6044        * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
6045        etc. in the log.
6046
60472001-07-03  Akim Demaille  <akim@epita.fr>
6048
6049        * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
6050        compiler, not the preprocessor.
6051        * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
6052        dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
6053        the right thing.
6054        * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
6055        earlier if there are.
6056
60572001-07-03  Akim Demaille  <akim@epita.fr>
6058
6059        * autoscan.in ($initfile): Remove.
6060        (&find_file): Rename as...
6061        (&scan_file): this.
6062        Immediately scan the current file, instead of gathering them, and
6063        later having them handled by &scan_files.
6064        (&scan_files): Merely invoke Find::File.
6065        Adjust.
6066
60672001-07-02  Akim Demaille  <akim@epita.fr>
6068
6069        * autoscan.in: Formatting changes, matching the invocation order.
6070        (File::Find): Use it instead of Perl 4's `find.pl'.
6071        (&wanted): Rename as...
6072        (&find_file): this.
6073
60742001-07-01  Pavel Roskin  <proski@gnu.org>
6075
6076        * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
6077        break in the argument to AC_TRY_LINK_FUNC.
6078        (AC_F77_MAIN): Remove conftest* after using break in the
6079        argument to AC_TRY_LINK.
6080
60812001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
6082
6083        Add alternate 'main' routine detection for linking C/C++ with Fortran,
6084        fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
6085
6086        * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
6087        dummy alternate main is required even if the user provides her own
6088        'main'.
6089        (AC_F77_MAIN): New macro to detect whether it is possible to
6090        provide an alternate 'main' function name, using the 'main' from
6091        the Fortran libraries.
6092        (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
6093        cross-language link tests can be performed successfully.
6094        (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
6095        after $LIBS, for consistency; this should be the general rule since
6096        the user may want to link to Fortran libraries that require $FLIBS.
6097        * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
6098
60992001-06-29  Pavel Roskin  <proski@gnu.org>
6100
6101        * atgeneral.m4 (AT_CHECK): Add a newline to the end of
6102        at-stdout and at-stderr instead of removing the newline
6103        from the echo output, which is not guaranteed to work.
6104
61052001-06-28  Jens Petersen  <petersen@redhat.com>
6106
6107        * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
6108        confdefs.h when non-zero.
6109
61102001-06-28  Akim Demaille  <akim@epita.fr>
6111
6112        * configure.in: Bump to 2.50c.
6113
61142001-06-26  Akim Demaille  <akim@epita.fr>
6115
6116        Version 2.50b.
6117
61182001-06-26  Akim Demaille  <akim@epita.fr>
6119
6120        Version 2.50a.
6121
61222001-06-25  Pavel Roskin  <proski@gnu.org>
6123
6124        * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
6125        argument, AUTOCONF-FLAGS.
6126        * tests/mktests.sh (update_exclude_list): Add
6127        AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
6128        * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
6129        AC_FUNC_WAIT3 with "-W no-obsolete".
6130
61312001-06-25  Akim Demaille  <akim@epita.fr>
6132
6133        * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
6134
61352001-06-25  Akim Demaille  <akim@epita.fr>
6136
6137        * autoscan.in (%macro): Now maps from word to list of macros.
6138        (&init_tables): Die when a word which is already handled by
6139        explicit macros is mapped to the default macro.
6140        (&print_unique): Remove, inlined in...
6141        (&output_kind): here.
6142        (File::Basename): Use it.
6143        (&output): Sort the CONFIG_FILES.
6144        * acheaders: Normalize.
6145        * acfunctions: Likewise.
6146
61472001-06-25  Akim Demaille  <akim@epita.fr>
6148
6149        * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
6150        characteristics in the logs.
6151        Suggested by Mo DeJong.
6152
61532001-06-24  Akim Demaille  <akim@epita.fr>
6154
6155        * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
6156        (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
6157        * doc/autoconf.texi (Autoconf 2.13): New section.
6158
61592001-06-24  Akim Demaille  <akim@epita.fr>
6160
6161        * autoconf.in (Task traces): Separate the error messages from the
6162        traces to improve robustness.
6163
61642001-06-23  Akim Demaille  <akim@epita.fr>
6165
6166        * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
6167        three as failures are unlikely, and speed matters.
6168
61692001-06-23  Akim Demaille  <akim@epita.fr>
6170
6171        * doc/autoconf.texi (Redefined M4 Macros): New.
6172
61732001-06-23  Akim Demaille  <akim@epita.fr>
6174
6175        * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
6176        inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
6177        5.3.
6178
61792001-06-23  Paolo Bonzini <bonzini@gnu.org>
6180
6181        * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
6182        config.status targets to after the evaluation of the INIT-CMDS.
6183        Double quote config.status targets (used to be single quoted).
6184
61852001-06-23  Akim Demaille  <akim@epita.fr>
6186
6187        * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
6188        Check the content of the created file.
6189        Check the ./config.status command line invocation.
6190
61912001-06-23  Akim Demaille  <akim@epita.fr>
6192
6193        * tests/foreign.at (Libtool): Reject prehistoric versions.
6194
61952001-06-23  Akim Demaille  <akim@epita.fr>
6196
6197        * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
6198        preexisting files matching a.*.
6199
62002001-06-23  Akim Demaille  <akim@epita.fr>
6201
6202        * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
6203        stderr.
6204        * doc/autoconf.texi (AC_ARG_VAR): Update.
6205
62062001-06-21  Akim Demaille  <akim@epita.fr>
6207
6208        * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
6209        precious variables have changed.
6210        * tests/torture.at (AC_ARG_VAR): Adjust.
6211
62122001-06-21  Akim Demaille  <akim@epita.fr>
6213
6214        ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
6215        but some sed choke on multiple `;', and other tools (e.g.,
6216        Automake), include the separator themselves.
6217
6218        * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
6219
62202001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
6221
6222        * doc/autoconf.texi (Functions Portability): Rename as...
6223        (Function Portability): this.
6224        (Function Portability): Document potential problems with unlink().
6225
62262001-06-19  Paul Eggert  <eggert@twinsun.com>
6227
6228        * NEWS, doc/autoconf.texi: Document quadrigraphs.
6229
62302001-06-18  Akim Demaille  <akim@epita.fr>
6231
6232        * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
6233
62342001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
6235
6236        * acfunctions.m4: (AC_FUNC_VFORK) rename as...
6237        (_AC_FUNC_VFORK): this.
6238        Remove AC_DEFINEs and don't guess cross-compilation values.
6239        (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
6240        (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
6241        define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
6242        vfork doesn't work.
6243        Guess values if cross-compiling, but warn.
6244        * acfunctions: Add AC_FUNC_FORK.
6245        * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
6246        and vfork appropriately.
6247
62482001-06-18  Akim Demaille  <akim@epita.fr>
6249
6250        * doc/autoconf.texi (Functions Portability): New section.
6251
62522001-06-18  Akim Demaille  <akim@epita.fr>
6253
6254        * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
6255        in $M4.
6256        Suggested by Andreas Schwab.
6257
62582001-06-18  Akim Demaille  <akim@epita.fr>
6259
6260        * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
6261        (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
6262        (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
6263        (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
6264        Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
6265        and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
6266        (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
6267        the converse).
6268
62692001-06-18  Akim Demaille  <akim@epita.fr>
6270
6271        * doc/autoconf.texi (ms): New index.
6272        (Macro Index): Rename as...
6273        (Autoconf Macro Index): this.
6274        (M4 Macro Index): New appendix.
6275        (Programming in M4): New chapter.
6276        Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
6277        (Quoting): Rename as...
6278        (M$ Quotation): this.
6279        Be part of `Programming in M4).
6280
62812001-06-18  Nicolas Joly  <njoly@pasteur.fr>
6282
6283        * tests/torture.at (AC_ARG_VAR): Set variables and export them
6284        in separate statements for compatibility with Tru64 v5.1.
6285
62862001-06-17  Akim Demaille  <akim@epita.fr>
6287
6288        * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
6289        current values of the precious variables, not the previously
6290        cached values.
6291        Pass precious variables which are set to config.status.
6292        * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
6293        * tests/torture.at (AC_ARG_VAR): New.
6294
62952001-06-15  Paul Eggert  <eggert@twinsun.com>
6296
6297        * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
6298        AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
6299        and explain why and how to replace them.
6300        * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
6301        * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6302
63032001-06-15  Akim Demaille  <akim@epita.fr>
6304
6305        `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
6306        Reported by Bruno Haible.
6307
6308        * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
6309         (_AC_ARG_VAR_PRECIOUS): to here.
6310
63112001-06-15  Pavel Roskin  <proski@gnu.org>
6312
6313        * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
6314        an unused pointer use cast to this type and `if' statement to
6315        avoid warnings from the compiler.
6316        (AC_HEADER_TIME): Likewise.
6317        * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
6318        in `if' statement to avoid warnings from the compiler. Declare
6319        ac_aggr static to avoid the need to initialize it.
6320
63212001-06-14  Akim Demaille  <akim@epita.fr>
6322
6323        * doc/autoconf.texi (Portable Shell): Move to follow `Writing
6324        Macros'.
6325
63262001-06-13  Akim Demaille  <akim@epita.fr>
6327
6328        * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
6329        Suggested by Alexander Mai.
6330
63312001-06-13  Akim Demaille  <akim@epita.fr>
6332
6333        * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
6334        sys/types.h and sys/stat.h, and check for them.
6335
63362001-06-13  Akim Demaille  <akim@epita.fr>
6337
6338        * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
6339        INCLUDES.
6340
63412001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6342
6343        * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
6344        succeeds and only try adding libdnet upon a failure.
6345
63462001-06-12  Akim Demaille  <akim@epita.fr>
6347
6348        * autoscan.in (&output_kind): Output the comment only if it exists.
6349        (%kind_comment): Add entry for `programs'.
6350        (&output_programs): Use &output_kind.
6351        (&output_functions, &output_identifiers, &output_headers)
6352        (&output_programs): Inline, and remove.
6353
63542001-06-12  Akim Demaille  <akim@epita.fr>
6355
6356        * autoscan.in (%kind_comment): New.
6357        (output_kind): New.
6358        (output_functions, output_identifiers, output_headers): Use it.
6359
63602001-06-12  Akim Demaille  <akim@epita.fr>
6361
6362        * autoscan.in (&print_unique): Take `$kind' and `$word' as
6363        arguments, to factor indirections into `%macro' and `%used'.
6364        (%generic_macro): Fix a typo.
6365
63662001-06-12  Akim Demaille  <akim@epita.fr>
6367
6368        * aclibraries: New.
6369        * autoscan.in (@kinds): Add `libraries'.
6370        Use `@kinds' instead of hard coded lists.
6371        (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
6372        Remove, replaced by...
6373        (%used): this.
6374
63752001-06-12  Akim Demaille  <akim@epita.fr>
6376
6377        * autoscan.in (%functions_macros %headers_macros)
6378        (%identifiers_macros %programs_macros %makevars_macros): Remove,
6379        replaced by...
6380        (%macro): New.
6381
63822001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
6383
6384        * aclang.m4 (AC_NO_EXECUTABLES): Override
6385        _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
6386
63872001-06-11  Akim Demaille  <akim@epita.fr>
6388
6389        * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
6390        trailing new line.
6391        Reported by Andreas Schwab.
6392
63932001-06-11  Akim Demaille  <akim@epita.fr>
6394
6395        * Makefile.am, Makefile.maint: Typos.
6396
63972001-06-09  Akim Demaille  <akim@epita.fr>
6398
6399        * doc/autoconf.texi (Here-Documents): New section, gathering
6400        documentation about here-documents.
6401        Use `href', not `uref', and other changes.
6402
64032001-06-09  Akim Demaille  <akim@epita.fr>
6404
6405        * doc/autoconf.texi (Portable Shell Programming): Promoted as a
6406        chapter.
6407
64082001-06-09  Akim Demaille  <akim@epita.fr>
6409
6410        * doc/autoconf.texi (Limitations of Builtins): Complete the
6411        description of the here-docs penalties with Alexandre Oliva's
6412        explanations.
6413
64142001-06-01  Paul Eggert  <eggert@twinsun.com>
6415
6416        * doc/autoconf.texi: Talk about here documents and speedups.
6417        Do not use "echo" on arbitrary strings.
6418        Spell "here-documents" consistently with the standard.
6419
64202001-06-09  Akim Demaille  <akim@epita.fr>
6421
6422        * doc/autoconf.texi (Concept Index): Introduce it.
6423        Regenerate the menus.
6424
64252001-06-09  Akim Demaille  <akim@epita.fr>
6426
6427        * Makefile.maint, GNUmakefile: New, from Jim Meyering.
6428        * config/prev-version.txt: New.
6429        * config/move-if-change: New, for GNU libc.
6430
64312001-06-06  Pavel Roskin  <proski@gnu.org>
6432
6433        * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
6434
64352001-06-06  Akim Demaille  <akim@epita.fr>
6436
6437        * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
6438        properly when $1 is not a literal.
6439        Fixes PR Autoconf/187, reported by Bram Moolenaar.
6440
64412001-06-06  Akim Demaille  <akim@epita.fr>
6442
6443        Invoking AC_COPYRIGHT before AC_INIT fails.
6444
6445        * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
6446        * acgeneral.m4 (_m4_divert(VERSION_FSF))
6447        (_m4_divert(VERSION_USER)): New.
6448        (AC_COPYRIGHT): $2 is the diversion to use.
6449        (_AC_INIT_COPYRIGHT): Use the FSF diversion.
6450        (AC_INIT): Remove dead comments as now it's commutative.
6451
64522001-06-06  Akim Demaille  <akim@epita.fr>
6453
6454        * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
6455        PR autoconf/187.
6456
64572001-06-05  Akim Demaille  <akim@epita.fr>
6458
6459        * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
6460        can be empty.
6461        `*dir' variables cannot be NONE.
6462        Reported by Mark Kettenis.
6463
64642001-06-05  Paul Eggert  <eggert@twinsun.com>
6465
6466        * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
6467
64682001-06-04  Akim Demaille  <akim@epita.fr>
6469
6470        * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
6471        (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
6472        (AC_TR_SH): Move as...
6473        * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
6474        (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
6475        (AS_TR_SH): these.
6476        (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
6477        (_AS_TR_SH_PREPARE): New.
6478        (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
6479        * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
6480
64812001-06-02  Akim Demaille  <akim@epita.fr>
6482
6483        * Makefile.am (.m4.m4f): Pass the options first.
6484        Fixes PR autoconf/182.
6485
64862001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
6487
6488        GNU getopt, when POSIXLY_CORRECT does not permute options and
6489        arguments.  So pass the options first.
6490        Fixes PR autoconf/184.
6491
6492        * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
6493        (run_m4): Remove files.
6494        (run_m4f): Remove.
6495        Update remainder of script to use them.
6496        (for warning in): Do not use a literal comma as it will not be
6497        split by IFS.
6498
64992001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
6500
6501        * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
6502        Fortran compilers to check.
6503        (_AC_PROG_F77_V): Add '-###' as a possible option to print
6504        information on library and object files.
6505        (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
6506        to check.
6507
65082001-06-02  Akim Demaille  <akim@epita.fr>
6509
6510        * autom4te.in (Request::@request): Declare with `vars', not `my',
6511        as it prevents updates via `do FILENAME'.
6512
65132001-06-02  Akim Demaille  <akim@epita.fr>
6514
6515        * configure.in (standards_texi): Remove, dead code.
6516
65172001-06-02  Akim Demaille  <akim@epita.fr>
6518
6519        * autom4te.in: New.
6520
65212001-06-02  Pavel Roskin  <proski@gnu.org>
6522
6523        * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
6524        for signals other than 0 - exit with code 1.
6525        * m4sh.m4 (AS_TMPDIR): Likewise.
6526        * autoconf.in: Likewise. Also don't rely on exit == exit $?.
6527        * autoheader.in: Likewise.
6528        * autoreconf.in: Likewise.
6529        * tests/torture.at (Signal handling): New test for the above.
6530
65312001-06-01  Akim Demaille  <akim@epita.fr>
6532
6533        * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
6534        message.
6535
65362001-05-31  Akim Demaille  <akim@epita.fr>
6537
6538        * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
6539        Add copyright and comments.
6540        * acheaders: Add stdint.h.
6541        Suggested by Paul Eggert.
6542
65432001-05-31  Akim Demaille  <akim@epita.fr>
6544
6545        * atgeneral.m4 (AT_INIT): Use $SHELL.
6546        * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
6547
65482001-05-31  Akim Demaille  <akim@epita.fr>
6549
6550        * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6551        stdint.h.
6552        From Paul Eggert and Lars Hecking.
6553
65542001-05-31  Akim Demaille  <akim@epita.fr>
6555
6556        * tests/base.at: Adjust line numbers in error messages.
6557
65582001-05-31  Akim Demaille  <akim@epita.fr>
6559
6560        * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
6561        to emit the bangshe line.
6562        Reported by David Carter.
6563
65642001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
6565
6566        * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
6567        Fortran (95) compilers to check.
6568
65692001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
6570
6571        * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
6572        Macro Archive URL.
6573
65742001-05-23  Pavel Roskin  <proski@gnu.org>
6575
6576        * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
6577        _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
6578        (AC_PROG_CXXCPP): Likewise.
6579
65802001-05-22  Akim Demaille  <akim@epita.fr>
6581
6582        * config: New directory.
6583        * configure.in: AC_CONFIG_AUX_DIR it.
6584        * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
6585
65862001-05-22  Akim Demaille  <akim@epita.fr>
6587
6588        * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
6589        * autoupdate.in: Specify the Emacs mode.
6590        * acversion.m4.in: Rename as...
6591        * acversion.m4: this.
6592        * tests/Makefile.am (CLEANFILES): More garbage.
6593
65942001-05-22  Akim Demaille  <akim@epita.fr>
6595
6596        * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
6597        Rename as...
6598        * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
6599        these.
6600
66012001-05-21  Akim Demaille  <akim@epita.fr>
6602
6603        * configure.in: Bump to 2.50a.
6604
6605-----
6606
6607Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
6608
6609This file is part of GNU Autoconf.
6610
6611GNU Autoconf is free software; you can redistribute it and/or modify
6612it under the terms of the GNU General Public License as published by
6613the Free Software Foundation; either version 2, or (at your option)
6614any later version.
6615
6616GNU Autoconf is distributed in the hope that it will be useful,
6617but WITHOUT ANY WARRANTY; without even the implied warranty of
6618MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6619GNU General Public License for more details.
6620
6621You should have received a copy of the GNU General Public License
6622along with autoconf; see the file COPYING.  If not, write to
6623the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
6624Boston, MA 02111-1307, USA.
Note: See TracBrowser for help on using the repository browser.