Fix ChangeLog.
[autoconf.git] / ChangeLog
blob9c0b7d776ef22eab5ed5f4fc7435700719a0881b
1 2003-09-29  Akim Demaille  <akim@epita.fr>
3         Version 2.57e.
5         * config/mkinstalldirs: Upgrade.
7 2003-09-28  Paul Eggert  <eggert@twinsun.com>
9         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
10         Problem reported by Lars J. Aas in
11         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
12         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
13         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
14         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
16 2003-09-26  Akim Demaille  <akim@epita.fr>
18         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
19         directory for AC_CONFIG_COMMANDS' first argument exists.
20         This makes valid the invocation of _AC_SRCPATH that follows.
21         Reported by Eric Sunshine.
22         * doc/autoconf.texi (Configuration Commands): Adjust.
24 2003-09-26  Akim Demaille  <akim@epita.fr>
26         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
27         Reported by Ralf Corsepius.
29 2003-09-26  Akim Demaille  <akim@epita.fr>
31         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
32         arguments.
33         Actually, use AU_ALIAS.
34         From Bruno Haible.
36 2003-09-26  Paul Eggert  <eggert@twinsun.com>
38         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
39         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
40         Problem reported by Eric Sunshine in:
41         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
43 2003-09-26  Akim Demaille  <akim@epita.fr>
45         The test suite are sometimes assigning timings incorrectly.
46         Reported by Henk Krus.
47         Diagnosed by Nicolas Joly.
49         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
50         AT_help_all.
51         Instead of making AT_help a sequence of assignments to grow
52         $at_help_all, just make AT_help_all be the growing contents of
53         $at_help_all, and make a single assignment in...
54         (AT_INIT): here.
55         (at_times_skip): Flip the meaning and rename as...
56         (at_times_p): this.
57         (AT_INIT): When summarizing the test that ran, remove
58         $at_times_file after use, and check it is present before trying to
59         use it.
61 2003-09-25  Akim Demaille  <akim@epita.fr>
63         Version 2.57d.
65         * bin/Makefile.am (edit): Handle '@configure_input@'.
66         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
67         (ifnames): chmod -w.
68         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
69         executables, not bin/ executables!  Otherwise all the magic needed
70         to find non installed files is turned off.  This caused a failure
71         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
72         as found in its environment (sent by tests/autoreconf): pointing
73         to bin/autom4te that could not find its files.
74         * tests/mktests.sh: Force the replacement of generated files, for
75         the sake of "mv" program that are interactive when overwriting a
76         -w file.
77         * config/install-sh: Upgrade from CVS Automake.
79 2003-09-23  Paul Eggert  <eggert@twinsun.com>
81         * doc/autoconf.texi (Limitations of Builtins): Document test -h
82         versus test -L issues.
84 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
85             Paul Eggert <eggert@twinsun.com>
87         Trivial change to support GCC's configuration procedure.
88         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
89         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
90         about inconsistency if the preprocessor is set to give errors for
91         any warning.
92         * doc/autoconf.texi (C Compiler Characteristics): Document this.
94 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
96         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
97         and XFile.pm from Automake.
98         * lib/Autom4te/XFile.pm: Update from Automake.
100 2003-09-12  Akim Demaille  <akim@epita.fr>
102         Version 2.57c.
104 2003-09-12  Akim Demaille  <akim@epita.fr>
106         * config/config.guess, config/config.sub, config/missing,
107         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
108         from masters.
110 2003-09-12  Akim Demaille  <akim@epita.fr>
112         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
113         not asm/types.h.
115 2003-09-11  Akim Demaille  <akim@epita.fr>
117         * doc/autoconf.texi (Header Portability): linux/random.h.
118         From Peter Hendrickson.
120 2003-09-10  Akim Demaille  <akim@epita.fr>
122         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
123         willing to edit the output files.
125 2003-09-10  Akim Demaille  <akim@epita.fr>
127         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
128         and AC_FC_FREEFORM.
129         * tests/mktests.sh: Skip AC_FC_SRCEXT.
130         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
132 2003-09-09  Akim Demaille  <akim@epita.fr>
134         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
135         Reported by Gary Vaughan.
136         * bin/autom4te.in (handle_m4): Likewise.
138 2003-09-09  Akim Demaille  <akim@epita.fr>
140         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
141         trailing files.
143 2003-09-07  Paul Eggert  <eggert@twinsun.com>
145         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
146         Improve the accuracy of the wording about obsolescence.
147         From a suggestion by Ian Lance Taylor in
148         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
150 2003-09-05  Paul Eggert  <eggert@twinsun.com>
152         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
153         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
155 2003-09-04  Akim Demaille  <akim@epita.fr>
157         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
158         AC_FUNC_WAIT3.
160 2003-09-04  Akim Demaille  <akim@epita.fr>
162         * bin/autom4te.in: Use &fatal where more appropriate than &error.
163         (freeze): When exiting, use $exit_code.
164         * lib/autoconf/fortran.m4: Comment changes.
166 2003-09-04  Akim Demaille  <akim@epita.fr>
168         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
170 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
172         Add support for newer Fortran dialects.  The F77 interface is
173         unchanged, and continues to support Fortran 77.  New FC macros
174         correspond to all the old F77 macros, with output variables FC,
175         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
176         available dialect, but older dialects can be specified.  There are
177         new macros AC_FC_SRCEXT to set the source extension, and
178         AC_FC_FREEFORM to accept free-form source files.
180         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
181         New macros.
182         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
183         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
184         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
185         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
186         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
187         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
188         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
189         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
190         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
191         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
192         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
193         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
194         AC_FC_SRCEXT, AC_FC_FREEFORM):
195         New macros.
196         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
197         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
198         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
199         Rewrite in terms of the above.
200         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
201         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
202         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
203         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
205 2003-09-02  Paul Eggert  <eggert@twinsun.com>
207         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
208         Document problems with timestamp resolution that 'make', 'cp -p', and
209         'touch -r' have.
211 2003-08-27  Akim Demaille  <akim@epita.fr>
213         * tests/m4sugar.at (cross_warning): Make sure to enable the
214         output, so that we can track spurious m4sugar output.
215         * tests/local.at: Require 2.57.
216         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
217         are defaulted by AT_CHECK anyway.
218         Use AT_CHECK_AUTOM4TE.
219         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
220         missing dnl.
222 2003-08-27  Akim Demaille  <akim@epita.fr>
224         * bin/autoheader.in: Issue the "Using auxiliary..." message only
225         when -Wobsolete is set.
226         Set it on by default.
227         Suggested by Klee Dienes.
229 2003-08-27  Akim Demaille  <akim@epita.fr>
231         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
232         documentation.
233         From Guido Draheim.
235 2003-08-26  Akim Demaille  <akim@epita.fr>
237         * doc/autoconf.texi (Output): Make clear that one can run code
238         after AC_OUTPUT.
240 2003-08-25  Akim Demaille  <akim@epita.fr>
242         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
243         CVS Bison.
245 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
247         * bin/autoreconf.in (parse_args): Do not pass --no-force to
248         Automake versions prior to 1.8.
250 2003-08-25  Akim Demaille  <akim@epita.fr>
252         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
253         From Ville Karaila.
255 2003-08-24  Akim Demaille  <akim@epita.fr>
257         * configure.ac: Bump to 2.57c.
259 2003-08-22  Akim Demaille  <akim@epita.fr>
261         Version 2.57b.
263         * Makefile.cfg (local-checks-to-skip): New.
264         * Makefile.maint (local-check): Rename as...
265         (local-checks-available): this.
266         (local-check): New.
268         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
269         * configure.ac: Require Automake 1.7.6.
271 2003-08-22  Akim Demaille  <akim@epita.fr>
273         Output stack traces in warnings.
275         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
276         Replace the former...
277         (m4_warn): Pass the call stack to _m4_warn.
278         * bin/autom4te.in: Adjust to output the call stack.
279         * tests/m4sugar.at (m4@&t@_warn): Adjust.
281 2003-08-22  Akim Demaille  <akim@epita.fr>
283         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
284         * bin/autom4te.in: Adjust.
286 2003-08-21  Akim Demaille  <akim@epita.fr>
288         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
289         (&verbose): Remove.
290         (&getopt): Adjust the note and verb channels, depending upon
291         --verbose.
292         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
293         * bin/autoupdate.in: Adjust.
294         Use &verb, not &verbose.
296 2003-08-21  Akim Demaille  <akim@epita.fr>
298         * bin/autoheader.in (&parse_args): Use &parse_warnings and
299         &parse_WARNINGS.
300         ($help): Use Autom4te::ChannelDefs::usage.
301         * bin/autoscan.in: Use Autom4te::ChannelDefs.
302         * lib/Autom4te/General.pm: Don't export error: you don't own it.
304 2003-08-21  Akim Demaille  <akim@epita.fr>
306         First stab at preserving warnings between calls to autom4te,
307         including when the cache is used.
309         There are still several issues: (i) there are too many runs of m4
310         (one for include, one for warnings, and some more), (ii) warnings
311         spreading on several lines are not handled gracefully, (iii) the
312         code meant to have the call stack display for errors does not work
313         (its handling should move from m4 to autom4te).
315         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
316         Use them.
317         (@preselect): Add m4_warn.
318         ($exit_status): Remove, use $exit_code.
319         ($help): Use Autom4te::ChannelDefs::usage.
320         (&handle_m4): No longer define the m4_warnings.
321         At each run, extract and report the warnings.
322         Always cache the result, including if the exit status is on
323         failure, since if nothing changes, we should result in the same
324         failure, hence we can use the cache.
325         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
326         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
327         Remove.
328         (m4_warn): Redefine as a do-nothing: it is its invocation that
329         matters, as warnings are now reported via traces.
330         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
331         the contents of m4_warn: make it _call_ m4_warn, so that tracing
332         the latter reveals calls to the former.
334         Adjust the tests.
336         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
338 2003-08-21  Akim Demaille  <akim@epita.fr>
340         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
341         Use them.
343 2003-08-21  Akim Demaille  <akim@epita.fr>
345         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
346         forward order.
347         * lib/Autom4te/ChannelDefs.pm: Doc typos.
348         (&parse_warnings): Accept a list of warning requests.
349         (&usage): Return a string, not a side effect.
350         (cross): New warning category.
352 2003-08-21  Akim Demaille  <akim@epita.fr>
354         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
355         (&require_configure_ac): Accept an optional directory argument.
356         ($configure_ac): Remove.
357         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
358         (&catfile): Remove.
359         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
360         * bin/autoscan.in: Adjust.
362 2003-08-20  Akim Demaille  <akim@epita.fr>
364         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
365         Reported by Alexandre Duret-Lutz.
367 2003-08-20  Akim Demaille  <akim@epita.fr>
369         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
370         * bin/autom4te: Adjust.
371         In particular, be Autoconf tools are really silent when properly
372         working, bind the verbosity of the 'note' channel to $verbose.
373         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
374         (&xsystem, &contents): Remove, since they are exported by...
375         * lib/Autom4te/FileUtils.pm: this.
376         More perldoc.
377         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
378         * lib/Autom4te/FileUtils.pm: here.
380 2003-08-20  Akim Demaille  <akim@epita.fr>
382         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
383         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
384         from CVS Automake.
386 2003-08-20  Akim Demaille  <akim@epita.fr>
388         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
389         (autom4te-update): New.
390         * Makefile.cfg (update): Bind autom4te-update.
392 2003-08-19  Derek Price  <derek@ximbiot.com>
394         * lib/autotest/general.m4: Comment various HELP_* diversions.
395         (PARSE_ARGS_BEGIN): New section for option parsing related
396         initialization.
397         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
398         package specific options and associated help.
400 2003-08-19  Akim Demaille  <akim@epita.fr>
402         * config/announce-gen, Makefile.cfg: New.
403         * Makefile.am: Adjust.
404         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
406 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
408         * lib/autom4te.in (Automake-preselections): Preselect
409         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
410         and m4_sinclude.
412 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
414         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
415         (Autoconf-without-aclocal-m4): ... this new language.
416         * doc/autoconf.texi (autom4te Invocation): Mention
417         Autoconf-without-aclocal-m4.
419 2003-08-18  Derek Price <derek@ximbiot.com>
421         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
422         RUN-IF-PASS optional arguments.
424 2003-08-18  Derek Price  <derek@ximbiot.com>
426         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
428 2003-08-16  Derek Price  <derek@ximbiot.com>
430         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
431         STDOUT & STDERR arguments.
433 2003-08-14  Derek Price  <derek@ximbiot.com>
435         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
436         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
437         shorter column three.  Add DESCRIPTION to log file content.
439 2003-08-13  Derek Price  <derek@ximbiot.com>
441         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
442         output.
444 2003-08-12  Derek Price  <derek@ximbiot.com>
446         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
447         (AT_CHECK_NOESCAPE): Move core functionality to...
448         (_AT_CHECK): ...this new macro.
450 2003-08-07  Derek Price  <derek@ximbiot.com>
452         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
453         (AT_CHECK_NOESCAPE): ...to this new macro.
455 2003-07-31  Paul Eggert  <eggert@twinsun.com>
457         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
458         in Bash 2.01.  Problem reported by Brian Gough in
459         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
461 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
463         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
464         -lcrt1.o, for OS X.  (trivial change)
466 2003-07-07  Paul Eggert  <eggert@twinsun.com>
468         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
469         inside '#ifndef __cplusplus'.  Problem reported by
470         Bob Friesenhahn.
472 2003-07-06  Bill Clarke  <llib@computer.org>
474         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
475         'long', not 'int', for benefit of Sun's recent C++ compilers
476         (trivial change).  See:
477         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
478         (This really should be 'intptr_t', not 'long', but that would
479         take more work.)
481 2003-06-25  Akim Demaille  <akim@epita.fr>
483         * lib/Makefile.am (autom4te.cfg): Make it read only.
484         Depend on Makefile since it contains substitutions.
485         From Paolo Bonzini.
486         * lib/autom4te.in (args): Add local.at? for Autotest args.
487         This change was made on autom4te.cfg which is generated.
488         Reported by Raja R. Harinath.
490 2003-06-25  Akim Demaille  <akim@epita.fr>
492         * doc/autoconf.texi (Header Portability): sys/mount.h.
493         From Gareth McCaughan.
495 2003-06-23  Akim Demaille  <akim@epita.fr>
497         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
498         not all of them.  This fixes 1. the fact that when testing
499         Autoconf there are many many config.log, 2. the incorrect use of
500         top_srcdir to find config.log.
501         Don't mix the detailed output of failed test with the summary of
502         failures.  Rather, append detailed log afterwards.
504 2003-06-23  Akim Demaille  <akim@epita.fr>
506         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
507         always run: output config.log on $at_group_log.
509 2003-06-23  Akim Demaille  <akim@epita.fr>
511         * tests/torture.at (#define header templates): Don't use quotes in
512         C++ comments as it puzzles Emacs' sh font-lock-mode.
514 2003-06-23  Akim Demaille  <akim@epita.fr>
516         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
517         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
518         * tests/atspecific.m4: Rename as...
519         * tests/local.at: This.
520         * tests/suite.at: Move the globals into...
521         * tests/local.at: here.
522         * tests/Makefile.am: Adjust.
523         * doc/autoconf.texi (testsuite Scripts): Adjust.
525 2003-06-21  Kevin Ryde  <user42@zip.com.au>
527         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
528         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
529         ensuring we add -std1 for full-ANSI.
531         * doc/autoconf.texi (hdrindex): New macro.
532         Add index entries for portability of various standard header files.
534 2003-06-20  Akim Demaille  <akim@epita.fr>
536         * configure.ac: Bump to 2.57b.
538 2003-06-20  Akim Demaille  <akim@epita.fr>
540         Version 2.57a.
542 2003-06-20  Akim Demaille  <akim@epita.fr>
544         * bin/autom4te.in: Don't rely on $HOME being defined.
545         Reported by Marc Espie as PR/233.
547 2003-06-20  Akim Demaille  <akim@epita.fr>
549         * lib/autotest/general.m4: Use at_times_file only if used.
550         From Nicolas Joly.
552 2003-06-20  Akim Demaille  <akim@epita.fr>
554         * config/config.guess, config/config.sub, config/elisp-comp,
555         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
556         Update from masters.
558 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
560         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
561         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
562         (TEST_SCRIPT): New diversion.
563         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
564         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
565         (AT_INIT): Support for expected failures.
567 2003-06-02  Akim Demaille  <akim@epita.fr>
569         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
570         changes.
571         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
572         Autoconf nor Automake.
573         (&contents): New, from Automake.
574         PODify.
576 2003-05-28  Paul Eggert  <eggert@twinsun.com>
578         * NEWS, doc/autoconf.texi (Particular Functions),
579         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
580         is the inverse of localtime.
582 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
584         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
585         (handle_exec_errors): New function.  Work around $! being
586         altered by WEXITSTATUS.
587         (xqx, xsystem): Use handle_exec_errors.
589 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
591         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
592         Do not call `_exit()', simply modify `$?'.
593         (xsystem): Reset $! before running system, and check it afterward.
594         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
595         63 for version mismatches.
597 2003-05-23  Akim Demaille  <akim@epita.fr>
599         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
600         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
601         the middle of a line).
602         * lib/m4sugar/m4sugar.m4: Likewise.
603         Remove useless spaces in comments.
605 2003-05-23  Akim Demaille  <akim@epita.fr>
607         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
608         exit 63, so that we (or Automake's "missing") can tell the
609         difference with a plain failure.
610         * doc/autoconf.texi (Notices): Adjust.
612 2003-05-23  Akim Demaille  <akim@epita.fr>
614         * Makefile.am, bin/Makefile.am, config/Makefile.am,
615         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
616         White spaces cleanup.
618 2003-05-22  Jim Meyering  <jim@meyering.net>
619             and Paul Eggert <eggert@twinsun.com>
621         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
622         Remove `#include <stdlib.h>' from the list; we should never
623         make confdefs.h include <stdlib.h> or <cstdlib>, because the
624         resulting namespace pollution would cause other tests to fail.
625         Configure scripts run with some older versions of g++ and HP's
626         aCC would fail due to such an #include.  Problems reported by
627         Matthew Mueller in <http://bugs.debian.org/120704> and by
628         Keith Bostic in
629         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
630         In the test, use the test declaration before including <stdlib.h>,
631         as that's closer to how it'll be used.
633 2003-05-23  Akim Demaille  <akim@epita.fr>
635         * doc/autoconf.texi (Header Portability): ucred.h.
636         From Ian Redfern.
638 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
640         Overhaul Autotest's logging: generate separate log files
641         in testsuite.dir/NNN/testsuite.log, and append them to
642         testsuite.log instead of re-running the test verbosely.
644         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
645         file descriptor, write 0 to at_status_file instead of setting
646         at_status=0, initialize some new variables (at_status_file,
647         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
648         to rerun the tests, instead append the at_group_log to the
649         at_suite_log when a test fails.
650         (AT_SETUP): pipe the test case's output into at_tee_pipe,
651         with the AS_MESSAGE_LOG_FD redirected to stdout.
652         (AT_CLEANUP): save the output status in $at_status_file
653         and restore it, redirect the AS_MESSAGE_LOG_FD back to
654         its original place.
655         (AT_CHECK): since tests are run with a redirected stdout,
656         and used to be re-run in verbose mode, turn some $at_verbose
657         into echo, and don't redirect the output of testing stdout
658         and stderr.
660         * lib/autotest/autoconf.texi (testsuite Scripts): Update
661         the name of the debugging directory and information about
662         its contents.
664 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
666         * lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
667         parameter
669 2003-05-22  Akim Demaille  <akim@epita.fr>
671         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
672         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
673         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
674         * lib/autoconf/status.m4: Fix and adjust copyright notices.
676 2003-05-22  Akim Demaille  <akim@epita.fr>
678         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
679         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
680         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
681         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
682         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
683         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
684         * lib/autoconf/status.m4, lib/autoconf/types.m4,
685         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
686         * tests/atspecific.m4, tests/base.at, tests/compile.at,
687         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
688         * tests/tools.at, tests/torture.at:
689         Whitespace clean up.
690         Suggested by Jim Meyering.
692 2003-05-22  Akim Demaille  <akim@epita.fr>
694         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
695         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
696         Reported by Jim Meyering.
698 2003-05-22  Akim Demaille  <akim@epita.fr>
700         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
701         Add AC_HELP_STRING  to the obsolete macros section.
702         Typos.
703         Use '@.' for sentences that ended in a capital letter.
704         From Art Haas.
706 2003-05-22  Akim Demaille  <akim@epita.fr>
708         * config/config.guess, config/config.sub, config/elisp-comp,
709         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
710         * config/texinfo.tex, doc/standards.texi: Update from masters.
712 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
714         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
715         it to eval.
717 2003-05-21  Akim Demaille  <akim@epita.fr>
719         * bin/autoupdate.in ($m4): Fix quotation.
720         Reported by Martin Mokrejs.
722 2003-05-19  Paul Eggert  <eggert@twinsun.com>
724         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
725         Remove non-ASCII characters.
727 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
729         * tests/semantics.at (AC_SEARCH_LIBS): New test.
730         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
731         AC_CHECK_HEADERS_NEW): New tests.
733 2003-05-17  Akim Demaille  <akim@epita.fr>
735         * lib/autoconf/functions.m4: Use the default includes so that
736         memcmp be declared before being tested.
737         Reported by Sander Niemeijer.
738         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
739         * doc/autoconf.texi (Default Includes): Document
740         AC_INCLUDES_DEFAULT.
742 2003-05-17  Akim Demaille  <akim@epita.fr>
744         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
745         * doc/autoconf.texi (Obsolete Macros): Adjust.
746         Reported by Werner LEMBERG and Debian Bug 190886.
748 2003-05-16  Akim Demaille  <akim@epita.fr>
750         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
751         user name space clashes.
752         Reported by Bruno Haible.
754 2003-05-16  Akim Demaille  <akim@epita.fr>
756         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
757         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
758         them uniform, and more robust to Perl special characters.
759         Reported by Martin Mokrejs.
761 2003-05-14  Akim Demaille  <akim@epita.fr>
763         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
765 2003-05-14  Akim Demaille  <akim@epita.fr>
767         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
768         linux/irda.h.
770 2003-05-12  Akim Demaille  <akim@epita.fr>
772         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
773         message.
774         From Matthias Andree.
776 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
778         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
779         and truncate.
781 2003-05-06  Akim Demaille  <akim@epita.fr>
783         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
784         longer updates aclocal.m4 if useless, (ii) if a file m4_included
785         by aclocal.m4 is changed it might require the importing of another
786         m4 extension file, i.e., aclocal must be run.
788         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
789         (&parse_args): Use --force with aclocal if required and supported.
790         (&autoreconf_current_directory): Use &run_aclocal.
792 2003-05-06  Akim Demaille  <akim@epita.fr>
794         Lock autom4te's cache.
796         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
797         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
798         argument instead of a file name, so that the request file remains
799         open during the whole autom4te run.
800         ($icache_file): New.
801         (&freeze): Lock the $icache_file.
803 2003-04-29  Derek Price  <derek@ximbiot.com>
805         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
806         seperator with m4_append_uniq().  It doesn't work.
807         (AT_CLEANUP): Add `;' to end of at_help_all.
808         (AT_INIT): Allow --keywords to be specified more than once.  When
809         grepping $at_help_all for keywords, use the field and keyword
810         seperators to ensure a complete keyword match.  Alter at_prev handling
811         to support the new --keywords behavior.
813 2003-04-27  Karl Berry  <karl@freefriends.org>
815         * doc/autoconf.texi: Make the dir entries in the autoconf manual
816         align better with others.  I also made some of the individual
817         entries on one line, for brevity and to make it easier for me to
818         sort my dir-example file in the Texinfo distribution :).
820 2003-04-12  Jim Meyering  <jim@meyering.net>
822         * NEWS: Mention the new macro.
823         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
824         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
825         * tests/c.at: Test AC_C_RESTRICT.
826         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
828 2003-04-08  Akim Demaille  <akim@epita.fr>
830         * bin/ifnames.in: Skip C++ comments.
831         From Jeremy Yallop.
833 2003-04-08  Akim Demaille  <akim@epita.fr>
835         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
836         From Ilya Zakharevich.
838 2003-04-08  Akim Demaille  <akim@epita.fr>
840         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
841         net/if.h, stdlib.h.
843 2003-04-01  Derek Price  <derek@ximbiot.com>
845         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
846         from Akim's checkin of 2003-03-29.
848 2003-04-01  Derek Price  <derek@ximbiot.com>
850         * tests/torture.at (Configuring subdirectories): Add missing
851         close-quote for Akim's change from 2003-03-28.
853 2003-04-01  Akim Demaille  <akim@epita.fr>
855         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
856         (AC, AT, MS): these.
857         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
858         New.
859         Use them.
860         * doc/Makefile.am (CLEANFILES): Adjust.
861         (TEXI2DVI): Make it --batch.
863 2003-03-31  Derek Price  <derek@ximbiot.com>
865         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
866         which removed the main loop.
867         Thanks to Akim Demaille.
869 2003-03-29  Akim Demaille  <akim@epita.fr>
871         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
872         that starts a GUI.
873         From Ilya Zakharevich.
875 2003-03-29  Akim Demaille  <akim@epita.fr>
877         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
878         documentation to read is Autoconf's.
879         Suggested by Paul Eggert.
881 2003-03-28  Akim Demaille  <akim@epita.fr>
883         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
884         reading the section "Present But Cannot Be Compiled" when the
885         header causes problems.
887 2003-03-28  Akim Demaille  <akim@epita.fr>
889         * tests/torture.at (Configuring subdirectories): Require aclocal
890         1.4, otherwise the test fails, as it does support configure.ac.
891         This fixes the "test 40 failed" bug reports.
893 2003-03-28  Akim Demaille  <akim@epita.fr>
895         * doc/autoconf.texi (C Compiler): `#line' portability.
896         From Paul Eggert and Nelson H. F. Beebe.
898 2003-03-27  Derek Price  <derek@ximbiot.com>
900         * lib/autotest/general.m4: Eliminate main loop and reorganize test
901         layout in order to allow scripting around test groups.
903 2003-03-27  Derek Price  <derek@ximbiot.com>
905         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
906         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
907         use new diversions in preparation for accepting new arguments and
908         allowing scripting around tests.
909         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
911 2003-03-26  Derek Price  <derek@ximbiot.com>
913         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
914         obsolete AC_HELP_STRING.
915         (AC_HELP_STRING): AU_DEFUN to...
916         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
917         * tests/m4sh.at (AS_HELP_STRING): New test.
919         * tests/acgeneral.at: Regenerated.
921 2003-03-26  Derek Price  <derek@ximbiot.com>
923         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
924         sense.  Verbosify the diversion definitions comment.
926 2003-03-26  Derek Price  <derek@ximbiot.com>
928         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
929         AS_PREPARE.
931 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
933         * doc/autoconf.texi (Present But Cannot Be Compiled):
934         Grammar fixes and minor rewording. (trivial change)
936 2003-03-06  Paul Eggert  <eggert@twinsun.com>
938         Work around a problem noted by Nelson H. F. Beebe with coreutils
939         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
940         2002/05/09) rejects '#line 32768 "configure"' because the line
941         number overflows.
942         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
943         #line directives.
944         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
945         * doc/autoconf.texi (Generating Sources): Document this.
947 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
949         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
950         file name for the m4 program, when it has an "exe" file extension.
951         DJGPP's error messages include the error code in brackets -
952         remove the error code during normalization.
954 2003-02-28  Akim Demaille  <akim@epita.fr>
956         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
958 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
960         * doc/autoconf.texi (Limitations of Make): Remove the section
961         about `$<' in inference rules, it was a bogus interpretation of
962         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
963         Tru64 make in the "target lookup" section.
964         (Automake): Automake 1.5+ no longer requires special tools to be
965         present on the developer's host.
967 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
969         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
970         to a shell that can handle redirection or quoting correctly.
971         Override SHELL with the shell detected by configure.
972         Use of $^O suggested by Tim van Holder.
973         * bin/autom4te.in (BEGIN): Likewise.
974         * bin/autoreconf.in (BEGIN): Likewise.
975         * bin/autoscan.in (BEGIN): Likewise.
976         * bin/autoupdate.in (BEGIN): Likewise.
977         * bin/ifnames.in (BEGIN): Likewise.
979         * bin/ifnames.in: Add final newline to help and version messages.
981         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
982         to cope with DOS-style absolute paths, when constructing
983         ${ac_make}.
985         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
986         When constructing paths with IFS=:, quote the path. If we're
987         constructing a DOS-style absolute path, we don't want to split it
988         on the colon.
990         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
991         in description.
993 2003-02-25  Pavel Roskin  <proski@gnu.org>
995         * bin/autoheader.in: Add missing newline when printing
996         suggestion how change AC_DEFINE call.
998 2003-02-24  Paul Eggert  <eggert@twinsun.com>
1000         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
1001         2002-09-01 patch by replacing "test -n" with "test -z".
1002         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
1003         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
1005         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
1006         to fix a mismatch between example and discussion.
1008 2003-02-24  Kevin Ryde  <user42@zip.com.au>
1010         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
1011         format starting with "-".
1013 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
1015         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
1016         is not portable inside Makefile.
1018 2003-02-20  Akim Demaille  <akim@epita.fr>
1020         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
1021         compiler says yeah, but preproc says nope, compiler is right.
1022         Conversely, prompt the reader to send a bug report to the
1023         maintainers of the package, not of Autoconf.
1025 2003-02-20  Klee Dienes  <kdienes@apple.com>
1027         * bin/autoreconf.in (autoreconf_current_directory): Properly
1028         handle an empty aclocal.m4.
1030 2003-02-20  Akim Demaille  <akim@epita.fr>
1032         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
1033         $ac_prefix_program.
1034         From Larry Jones.
1036 2002-12-23  Paul Eggert  <eggert@twinsun.com>
1038         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
1039         innocuous variant befor including <limits.h> or <assert.h>.  This
1040         works around a bug reported by Albert Chin: HP-UX 11i
1041         (and earlier versions) have a <limits.h> that declares
1042         gettimeofday and many other functions.
1044 2002-12-03  Paul Eggert  <eggert@twinsun.com>
1046         Version 2.57.
1048         * NEWS, configure.ac: Update version.
1050         * doc/fdl.texi: Upgrade to FDL version 1.2.
1052         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
1053         nontrivially in main's body, so that f's external declaration is
1054         not optimized away in AIX.  This should fix the bug reported by
1055         Martin Frydl in
1056         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
1058         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
1059         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
1060         defined, to support freestanding compilers.  This should fix the
1061         bug reported by Momchil Velkov in
1062         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
1064         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
1065         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
1066         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
1067         by Simon Josefsson in
1068         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
1070         * Makefile.maint (www-gnu): New macro.
1071         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
1072         the location has moved.
1074 2002-12-02  Martin Frydl  <martin@systinet.com>
1076         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
1077         \(.*\) match is too long and there is something more to be checked.
1078         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
1080 2002-11-15  Akim Demaille  <akim@epita.fr>
1082         Version 2.56.
1084         * config/install-sh: chmod +x.
1085         From Paul Eggert.
1086         * config/move-if-change: Indenting changes.
1087         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
1088         * configure.ac (AM_INIT_AUTOMAKE): here.
1089         Require 1.7.1.
1091 2002-11-14  Akim Demaille  <akim@epita.fr>
1093         Version 2.55.
1095         * config/config.guess, config/config.sub, config/install-sh:
1096         Update from masters.
1098 2002-11-14  Akim Demaille  <akim@epita.fr>
1100         * Makefile.maint: Sync with Bison, i.e.:
1101         (po-check): Scan .l and .y files instead of the
1102         .c and the .h files that they generate.  This fixes the bug
1103         reported by Tim Van Holder in:
1104         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
1105         Look for N_ as well as for _.  Try to avoid matching #define for
1106         N_ and _.
1107         From Paul Eggert.
1109 2002-11-14  Akim Demaille  <akim@epita.fr>
1111         * doc/autoconf.texi (C Compiler): Compiling several files at once.
1112         From Paul Eggert and Albert Chin-A-Young.
1114 2002-11-14  Akim Demaille  <akim@epita.fr>
1116         * doc/autoconf.texi (C Compiler): Solitary backslashes.
1117         From Paul Eggert and Albert Chin-A-Young.
1119 2002-11-14  Kevin Ryde  <user42@zip.com.au>
1121         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
1122         than assigning in main, to avoid HP cc +O3 optimizing it away.
1124 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
1126         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
1127         option.  Process --recheck after parsing all options.  Pass -q
1128         option to configure on --recheck.
1129         (AC_OUTPUT): Pass -q from configure to config.status.
1130         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
1131         arguments to record.
1132         * doc/autoconf.texi (config.status Invocation): Document
1133         config.status -q option.
1135 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
1137         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
1138         Makefile.in if Makefile.am exists.
1139         (output): Strip `.am' from Makefiles.  Don't
1140         output AC_CONFIG_FILES if no Makefiles were found.
1142 2002-11-07  Akim Demaille  <akim@epita.fr>
1144         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
1145         (local_updates): New.
1146         * Makefile.maint: Update, from CVS Bison.
1147         (local_updates): New.
1149 2002-11-06  Akim Demaille  <akim@epita.fr>
1151         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
1152         declaration in extern "C" too.
1153         Reported by Roberto Bagnara.
1155 2002-11-06  Akim Demaille  <akim@epita.fr>
1157         * tests/torture.at (Configuring subdirectories): Don't use grep
1158         -w.
1159         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
1160         Reported by Ezra Peisach.
1162 2002-11-05  Akim Demaille  <akim@epita.fr>
1164         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
1165         Remove.
1166         We _have_ to stop using the old compatibility scheme that tried to
1167         avoid useless backslashes because Libtool 1.4.3 contains a
1168         AC_DEFINE([error_t], [int],
1169         [Define to a type to use for \`error_t' if it is not
1170         otherwise available.])
1171         We _have_ to quote the single quote and backslashes with \.  The
1172         old compatibility scheme saw that ` was backslashed, and therefore
1173         did not quote the single quote.  Hence before this patch, Autoconf
1174         was not compatible with Libtool.
1176 2002-11-04  Paul Eggert  <eggert@twinsun.com>
1178         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
1179         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
1180         LC_NAME, LC_PAPER, LC_TELEPHONE.
1181         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
1183 2002-11-04  Akim Demaille  <akim@epita.fr>
1185         Version 2.54c.
1187         * Makefile.maint (update, cvs-update, po-update, do-po-update):
1188         New.
1189         * config/texinfo.tex: Update.
1191 2002-11-03  Akim Demaille  <akim@epita.fr>
1193         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
1194         from...
1195         (&autoreconf): here.
1196         ($help, $make, &parse_args, &autoreconf_current_directory):
1197         Support -m/--make.
1198         * doc/autoconf.texi (autoreconf Invocation): Adjust.
1200 2002-10-31  Bruno Haible  <bruno@clisp.org>
1202         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
1203         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
1204         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
1205         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
1206         to ac_cv_func_realloc_0_nonnull.
1207         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
1209 2002-10-31  Akim Demaille  <akim@epita.fr>
1211         The test suite was no longer checking for trailing envvars and files.
1213         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
1214         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
1216 2002-10-31  Akim Demaille  <akim@epita.fr>
1218         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
1219         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
1220         Make variable, not a shell variable.
1221         Suggested by Bruno Haible.
1223 2002-10-31  Akim Demaille  <akim@epita.fr>
1225         * bin/autom4te.in (load_configuration): Reject #args out of any
1226         language.
1228 2002-10-31  Akim Demaille  <akim@epita.fr>
1230         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
1231         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
1232         (_AC_RUN_IFELSE): Use it.
1233         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
1234         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1235         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
1236         inline it.
1238 2002-10-30  Akim Demaille  <akim@epita.fr>
1240         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
1241         * doc/autoconf.texi (autom4te Invocation): Adjust.
1242         Suggested by Tim van Holder.
1244 2002-10-29  Paul Eggert  <eggert@twinsun.com>
1246         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
1247         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
1248         Problem reported by Bruno Haible.
1250 2002-10-29  Akim Demaille  <akim@epita.fr>
1252         * doc/autoconf.texi (Header Templates): Put also in words what the
1253         pictures says to assist free style readers.
1254         (Customizing autom4te): s/--cache=/--cache /.
1256 2002-10-29  Akim Demaille  <akim@epita.fr>
1258         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
1259         sys/wait.h.
1260         sparc_address_test returns void.
1261         Use it with an argument, as prototyped.
1262         From Bruno Haible.
1264 2002-10-29  Akim Demaille  <akim@epita.fr>
1266         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
1267         configure.in, not configure.ac.
1268         Reported by Bruno Haible.
1270 2002-10-29  Akim Demaille  <akim@epita.fr>
1272         * tests/torture.at (Deep Package): New test.
1273         (Configuring subdirectories): Don't use a testSubDir as Autotest
1274         now does it itself.
1276 2002-10-29  Akim Demaille  <akim@epita.fr>
1278         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
1279         * doc/autoconf.texi (Invoking autom4te): Rename as...
1280         (autom4te Invocation): this, for consistency with the other nodes.
1282 2002-10-29  Akim Demaille  <akim@epita.fr>
1284         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
1285         Reported by Ralf Corsepius.
1287 2002-10-29  Akim Demaille  <akim@epita.fr>
1289         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1290         characters is a back as an `obsolete' warning now.
1291         Reported by Ralf Corsepius.
1293 2002-10-28  Akim Demaille  <akim@epita.fr>
1295         * configure.ac: Bump to 2.54c.
1297 2002-10-28  Akim Demaille  <akim@epita.fr>
1299         Version 2.54b.
1301         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
1303 2002-10-28  Akim Demaille  <akim@epita.fr>
1305         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
1306         m4 executable names, and different GNU M4 version.
1307         Reported by Ezra Peisach and Paul Jarc.
1309 2002-10-27  Akim Demaille  <akim@epita.fr>
1311         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
1312         AC_RUN_IFELSE.
1314 2002-10-27  Akim Demaille  <akim@epita.fr>
1316         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
1317         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
1318         Die when a simple Fortran program cannot be compiled.
1319         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
1320         Issue a warning if no function is given.
1322 2002-10-27  Akim Demaille  <akim@epita.fr>
1324         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
1325         Move the documentation of AC_TRY_RUN to...
1326         (Obsolete Macros): here.
1327         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
1328         (autoconf Invocation): Remove the duplicates with `invoking
1329         autom4te'.
1330         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
1331         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
1333 2002-10-27  Akim Demaille  <akim@epita.fr>
1335         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
1336         and AC_LANG_FUNC_LINK_TRY.
1337         (Examining Libraries): Rename as...
1338         (Running the Linker): this.
1339         Document AC_LINK_IFELSE.
1340         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
1341         (Obsolete Macros): here.
1342         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
1343         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
1344         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
1345         * lib/autoconf/headers.m4 (AC_USG): Likewise.
1347 2002-10-27  Akim Demaille  <akim@epita.fr>
1349         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
1351         More `check config.log' messages.
1353         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
1354         * doc/autoconf.texi (Printing Messages): Document it.
1355         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
1356         appropriate.
1357         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
1358         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
1359         (_AC_COMPILER_OBJEXT): Likewise.
1360         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
1361         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
1362         Likewise.
1363         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
1364         Likewise.
1366         Deprecate macros with unusual interfaces.
1368         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
1369         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
1371         Document the new ones, and proper style.
1373         * doc/autoconf.texi (Generating Sources): New.
1374         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
1375         (Examining Declarations): Rename as...
1376         (Running the Preprocessor): this.
1377         Document AC_PREPROC_IFELSE.
1378         (Examining Syntax): Rename as...
1379         (Running the Compiler): this.
1380         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
1381         (Obsolete Macros): Move the definition of AC_TRY_CPP and
1382         AC_TRY_COMPILE here.
1384 2002-10-27  Akim Demaille  <akim@epita.fr>
1386         Move sections around.
1388         * doc/autoconf.texi (Customizing autom4te): Remove a lost
1389         sentence.
1390         Reported by Burno Haible.
1391         (Language Choice): Now the first section of...
1392         (Writing Tests): this section.
1393         Make the introduction less C-centric.
1394         (Guidelines, Test Functions): Move to...
1395         (Writing Test Programs): this new section.
1396         (Test Programs): Merge into...
1397         (Run Time): this.
1399 2002-10-27  Akim Demaille  <akim@epita.fr>
1401         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
1402         autom4te.in that resulted in the need for two `make' runs.
1404 2002-10-27  Akim Demaille  <akim@epita.fr>
1406         * configure.ac: Bump to 2.54b.
1408 2002-10-25  Akim Demaille  <akim@epita.fr>
1410         Version 2.54a.
1412         * Makefile.maint: Update from the Coreutils.
1413         (AMTAR): Remove, obsolete.
1414         (automake_repo): Update to redhat.com.
1415         (cvs_file): New.
1416         Adjust to the fact that ansi2knr is now hosted by Automake.
1417         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
1418         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
1419         Update from masters.
1420         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
1421         autoscan.pre is not to be installed, and autoscan.list is not to
1422         be shipped.
1423         (CLEANFILES): Add autoscan.list.
1424         (autoscan.list): Disable the cache.
1425         * bin/Makefile.am: Include freeze.mk.
1427 2002-10-25  Akim Demaille  <akim@epita.fr>
1429         * bin/autom4te.in (&load_configuration): Take the file as
1430         argument.
1431         (&parse_args): Handle -C, --cache.
1432         ($help): Adjust.
1433         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
1434         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
1435         * doc/autoconf.texi (Invoking autom4te): Document --cache.
1436         Now a subsection of...
1437         (Using autom4te): This new section.
1438         (Customizing autom4te): New.
1439         (autom4te.cache): Adjust.
1441 2002-10-25  Akim Demaille  <akim@epita.fr>
1443         * doc/autoconf.texi (Generic Headers): More information on how to
1444         use AC_CHECK_HEADERS.
1446 2002-10-25  Akim Demaille  <akim@epita.fr>
1448         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
1449         Space changes.
1451 2002-10-25  Akim Demaille  <akim@epita.fr>
1453         * bin/autoscan.in (output): Output AC_PREREQ.
1454         (%needed_macros): Add AC_PREREQ so that configure.ac without one
1455         be reported.
1457 2002-10-23  Akim Demaille  <akim@epita.fr>
1459         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
1460         document _Bool.
1462 2002-10-23  Akim Demaille  <akim@epita.fr>
1464         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
1465         Reported by Peter Eisentraut.
1467 2002-10-23  Akim Demaille  <akim@epita.fr>
1469         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
1470         type _Bool.
1471         Fix a typo.
1472         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
1473         Eggert's recommandations.
1475 2002-10-22  Akim Demaille  <akim@epita.fr>
1477         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
1478         Bison, by Paul Eggert.
1479         * doc/autoconf.texi (Particular Headers): Document it.
1481 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
1483         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
1484         `$ac_configure_args'.
1486 2002-10-22  Akim Demaille  <akim@epita.fr>
1488         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
1489         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
1490         From Art Haas.
1492 2002-10-22  Akim Demaille  <akim@epita.fr>
1494         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
1496         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1497         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
1498         (_AC_CHECK_HEADER_NEW): Rename as...
1499         (AC_CHECK_HEADER): this.
1501 2002-10-22  Akim Demaille  <akim@epita.fr>
1503         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
1504         words about HP-UX cmp: it was actually a user-written cmp.
1506 2002-10-22  Akim Demaille  <akim@epita.fr>
1508         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
1509         are a few warnings.
1510         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1511         Quote for Perl '' strings, not "".
1512         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
1513         strings.
1515 2002-10-22  Akim Demaille  <akim@epita.fr>
1517         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1518         characters is a syntax warning now.
1519         (_AS_QUOTE): Accept $2 as list of characters to quote.
1520         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1521         Quote for Perl, not sh.
1522         * bin/autoheader.in: When $debug, report the file which is
1523         `do'ne.
1524         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
1525         `@', to tickle Perl's lists.
1526         Reported by Carlos Velasco.
1528 2002-10-18  Akim Demaille  <akim@epita.fr>
1530         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
1531         missing included files _are_ errors.
1532         Thanks to Alexandre Duret-Lutz.
1533         * tests/tools.at (autom4te cache): Adjust.
1534         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
1535         (AT_CHECK_M4SUGAR): Use it.
1536         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1537         Adjust.
1538         * tests/tools.at (autom4te): Now it does exit 1.
1540 2002-10-17  Akim Demaille  <akim@epita.fr>
1542         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
1543         Fixes the `AC_ARG_VAR' test failures.
1544         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
1545         * lib/freeze.mk (check-forbidden-patterns): New.
1546         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
1547         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
1548         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
1549         /dev/null.
1550         Reported months ago by H. Merijn Brand.
1552 2002-10-17  Akim Demaille  <akim@epita.fr>
1554         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
1556 2002-10-16  Paul Eggert  <eggert@twinsun.com>
1558         * Makefile.maint (wget_files): Remove ansi2knr.c.
1559         (ansi2knr.c-url_prefix): Remove.
1561 2002-10-16  Akim Demaille  <akim@epita.fr>
1563         Because of caching, some files that no longer exist and are no
1564         longer required can still cause errors.
1565         Reported by Alexandre Duret-Lutz.
1567         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
1568         to frozen files in @ARGV, as @ARGV must remain being a list of
1569         files.  Rather, at M4 call sites, use this...
1570         (&files_to_options): New function.
1571         (&freeze): Use &error.
1572         (&up_to_date): If a file that was included according to the cache
1573         is no longer there, then the output is out dated.
1574         (&main): Don't even check whether a file is up to date is anyway
1575         --force is given.
1576         * tests/tools.at (autom4te cache): New.
1578 2002-10-16  Akim Demaille  <akim@epita.fr>
1580         * bin/autoconf.as: Kill dead options.
1581         * bin/autoupdate.in (&parse_args): Kill old options.
1582         * bin/autoreconf.in (&parse_args): Remove dead options.
1583         Factor some code.
1584         (&autoreconf): Report the directories we enter *and leave*, so
1585         that error messages can be easily located, and use GNU Make
1586         format, so that Emacs' compile mode understands us.
1587         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
1588         if some file was changed instead of `print'.
1589         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
1590         (&parse_args): Remove the dead options.
1591         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
1592         autoheader's quiet mode.
1593         (AT_CHECK_AUTOUPDATE): Likewise.
1594         * tests/tools.at (autoupdate): Adjust.
1595         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
1597 2002-10-11  Akim Demaille  <akim@epita.fr>
1599         No longer use CPP to check for the existing of headers: use CC to
1600         check for compilability.
1602         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1603         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
1604         (_AC_CHECK_HEADER_NEW): Rename as...
1605         (AC_CHECK_HEADER): this.
1607         * lib/autotest/general.m4 (AT_INIT): Include the failed test
1608         numbers in the Subject suggestion.
1610 2002-10-11  Akim Demaille  <akim@epita.fr>
1612         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
1613         Suggest using AC_CHECK_DECLS instead.
1615 2002-10-11  Akim Demaille  <akim@epita.fr>
1617         * tests/torture.at (AC_ARG_VAR): Have configure report the value
1618         of `precious'.
1620 2002-10-11  Akim Demaille  <akim@epita.fr>
1622         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
1623         file name to enable parallel executions.
1624         From Sam Varshavchik.
1626 2002-10-08  Akim Demaille  <akim@epita.fr>
1628         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
1629         aclocal invocation, as Gettext macros might not be visible to
1630         aclocal.
1631         Instead of blindly running autopoint, scan configure.ac (not the
1632         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
1633         Reported by Paul D. Smith.
1635 2002-10-08  Paul Eggert  <eggert@twinsun.com>
1637         Work around problems found when POSIXLY_CORRECT=1 is set.
1638         None of this seems to have anything to do with POSIX, really,
1639         but it's how Perl getopt works.
1640         * bin/autom4te.in (parse_args): Configure GetOpt with
1641         "permute", too.
1642         * doc/autoconf.texi (Invoking autom4te):
1643         --warning -> --warnings.
1644         * lib/autom4te.in: --warning -> --warnings.
1646 2002-09-28  Akim Demaille  <akim@epita.fr>
1648         * doc/autoconf.texi (autom4te.cache): New section.
1650 2002-09-28  Akim Demaille  <akim@epita.fr>
1652         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
1653         (Automake-preselections): Update.
1654         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
1656 2002-09-28  Akim Demaille  <akim@epita.fr>
1658         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
1659         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
1660         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
1661         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
1663 2002-09-28  Akim Demaille  <akim@epita.fr>
1665         * tests/torture.at (Configuring subdirectories): Be robust to
1666         users who use config.site to require for a cache: in this case,
1667         the two last configure runs, using two different sets of
1668         arguments, trigger a legitimate error.
1670 2002-09-28  Akim Demaille  <akim@epita.fr>
1672         * tests/m4sh.at (Functions Support, Functions and return Support):
1673         New.
1675 2002-09-28  Akim Demaille  <akim@epita.fr>
1677         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
1678         autoheader are Perl programs.
1679         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
1680         (autom4te): Specify that the sources are in the $srcdir.
1681         * doc/autoconf.texi (Installation Directory Variables): Adjust.
1683 2002-09-28  Akim Demaille  <akim@epita.fr>
1685         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
1686         (tm_zone): Move their rules to...
1687         * lib/autoconf/types.m4: here, using AN_ macros.
1688         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
1689         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
1690         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
1691         * lib/autoconf/programs.m4: here.
1692         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
1693         (ETAGS_FOR_AUTOCONF): New.
1694         Use it.
1696 2002-09-28  Akim Demaille  <akim@epita.fr>
1698         * lib/autoconf/autoscan.m4: New file.
1699         * lib/autoconf/autoconf.m4: Include it.
1700         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
1701         that were listed in the original autoscan.list.
1702         * lib/autoconf/headers.m4: Similarly with headers.
1703         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
1704         (.m4.m4f): Don't pass --prepend-include, since that's done by
1705         tests/autom4te itself.
1706         * lib/autoscan/Makefile.am: Include freeze.mk.
1707         (autoscan.list): New target --this file is no longer a source.
1708         (autoscan.pre): New file.
1710 2002-09-28  Akim Demaille  <akim@epita.fr>
1712         * bin/autoscan.in (@kinds): Make them singular.
1713         Adjust all uses.
1714         (&init_tables): When --debug, report the list of rules to ease
1715         tracking changes in autoscan.list.
1716         * lib/autoscan/autoscan.list (function): Strip comments, sort.
1718 2002-09-28  Akim Demaille  <akim@epita.fr>
1720         * lib/autoscan/functions, lib/autoscan/headers,
1721         * lib/autoscan/identifiers, lib/autoscan/makevars,
1722         * lib/autoscan/programs: Merge into...
1723         * lib/autoscan/autoscan.list: this.
1724         * bin/autoscan.in (&init_tables): Adjust.
1726 2002-09-28  Akim Demaille  <akim@epita.fr>
1728         * lib/autoscan/functions, lib/autoscan/headers,
1729         * lib/autoscan/identifiers, lib/autoscan/makevars,
1730         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
1731         `functions' line is now prefixed with `function:'.
1732         * bin/autoscan.in (&init_tables): Adjust.
1734 2002-09-28  Akim Demaille  <akim@epita.fr>
1736         From now on, autoscan files must always map a macro name to a
1737         word: there is no `default' macro for autoscan.
1739         * bin/autoscan.in (&init_tables): Reject entries with no macro at
1740         all.
1741         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
1742         explicit.
1744 2002-09-28  Akim Demaille  <akim@epita.fr>
1746         * bin/autoscan.in (%c_keywords): Remove.
1747         (&used): Keep only track of the words we might be interested in.
1748         (&output_kind): It is no longer needed to look for non active
1749         checks.
1751 2002-09-27  Akim Demaille  <akim@epita.fr>
1753         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
1754         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
1755         * lib/autoscan/functions: Adjust.
1756         * doc/autoconf.texi (Particular Functions): Adjust.
1758 2002-09-27  Akim Demaille  <akim@epita.fr>
1760         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
1761         from /tmp.
1762         Thanks to Bill Moseley and Paul Eggert.
1763         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
1764         the tmpdir must be created.
1765         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
1766         dir be in the build tree, instead of $TMPDIR.
1768 2002-09-27  Akim Demaille  <akim@epita.fr>
1770         * bin/autoscan.in: Improve the comments.
1771         (&parse_args): Drop obsolete undocumented options.
1772         (&output_kind): Output warnings.
1773         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
1774         (getwd): Trigger a warning.
1776 2002-09-26  Akim Demaille  <akim@epita.fr>
1778         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
1779         Reported by Ralf Corsepius.
1780         * doc/autoconf.texi (autoreconf Invocation): Likewise.
1782 2002-09-26  Akim Demaille  <akim@epita.fr>
1784         Single suffix rules and seperated dependencies are not portable.
1786         * doc/autoconf.texi (Installation Directory Variables): Update.
1787         (Limitations of Make): Some about `Single Suffix Rules and
1788         Separated Dependencies'.
1789         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
1790         (ifnames, autoscan, autom4te): Un-factor into several rules.
1792 2002-09-25  Paul Eggert  <eggert@twinsun.com>
1794         * BUGS (Interoperability bugs): New section.  Mention libtool
1795         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
1797 2002-09-24  Paul Eggert  <eggert@twinsun.com>
1799         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
1800         make handles suffix-rules differently from GNU make.
1802         * bin/Makefile.am (SUFFIXES, .in): Remove.
1803         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
1804         Move the body of the old .in rule here.
1806 2002-09-16  Akim Demaille  <akim@epita.fr>
1808         i960 compilers create `b.out' files by default.
1809         Reported by Ralf Corsepius.
1811         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
1812         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
1814 2002-09-13  Paul Eggert  <eggert@twinsun.com>
1816         * doc/autoconf.texi (Particular Headers): Remove obsolete
1817         reference to `struct timezone' in the description of
1818         AC_HEADER_TIME.
1820 2002-09-13  Akim Demaille  <akim@epita.fr>
1822         Version 2.54.
1824         * config/config.sub, config/config.guess: Update.
1825         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
1826         * Makefile.am: Adjust.
1828 2002-09-13  Akim Demaille  <akim@epita.fr>
1830         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
1831         reading config.log when the compiler is rejected.
1832         Suggested by Guido Draheim.
1834 2002-09-13  Akim Demaille  <akim@epita.fr>
1836         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
1837         (chdir_init) might hang when stat'ing mounted directories.
1838         Reported by Vance Shipley.
1840 2002-09-12  Akim Demaille  <akim@epita.fr>
1842         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
1843         the lists.
1845 2002-09-12  Akim Demaille  <akim@epita.fr>
1847         * doc/autoconf.texi (Defining Symbols): Present two different
1848         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
1849         difference between 1 argument calls, and 2-3 argument calls.
1851 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
1853         * doc/autoconf.texi: Review grammar and punctuation.
1855 2002-09-11  Paul Eggert  <eggert@twinsun.com>
1857         * doc/autoconf.texi: Fix minor formatting, spelling, and
1858         grammatical typos.
1859         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
1860         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
1861         is obsolescent.
1863 2002-09-11  Akim Demaille  <akim@epita.fr>
1865         * doc/autoconf.texi (Questions): Rename as...
1866         (FAQ): this.
1867         (Defining Directories): New.
1869 2002-09-09  Akim Demaille  <akim@epita.fr>
1871         * doc/autoconf.texi (Making testsuite Scripts): Update.
1872         Suggested by Nishio Futoshi.
1874 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
1876         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
1877         plain `@' is wanted.
1879 2002-09-09  Akim Demaille  <akim@epita.fr>
1881         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
1882         `duplicates', since the algorithm was too naive and could keep
1883         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
1884         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
1885         Reported by Ralf Corsepius.
1886         * tests/torture.at (Configuring subdirectories): Exercise these
1887         cases.
1889 2002-09-09  Akim Demaille  <akim@epita.fr>
1891         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
1892         looking for a replacement file.
1893         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
1894         directory is relative.
1895         * doc/autoconf.texi (Generic Functions): Clarify the replacement
1896         directory definition.
1897         Reported by Andreas Schwab and Jim Meyering.
1899 2002-09-06  Akim Demaille  <akim@epita.fr>
1901         * doc/autoconf.texi (Setting Output Variables): Clarify what
1902         precious variables are.
1903         Suggested by Pontus Skoeld.
1905 2002-09-05  Akim Demaille  <akim@epita.fr>
1907         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
1908         (ifnames, autoscan, autom4te): Since we don't only depend on
1909         configure.ac variables (such as VERSION etc.), but also on prefix
1910         and so forth, depend on Makefile, not configure.ac.
1911         Reported by Alexandre Duret-Lutz.
1912         * doc/autoconf.texi (Installation Directory Variables): Adjust.
1914 2002-09-05  Kevin Ryde  <user42@zip.com.au>
1916         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
1917         doesn't seem to be confined to ia64, just say "some versions".
1919 2002-09-04  Akim Demaille  <akim@epita.fr>
1921         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
1922         Automake 1.6c.
1923         * Makefile.am (maintainer-clean-local): Remove.
1924         (MAINTAINERCLEANFILES): Remove COPYING.
1926 2002-09-03  Paul Eggert  <eggert@twinsun.com>
1928         * doc/autoconf.texi (Configuration Commands): Remove obsolete
1929         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
1930         Brinkmann.
1932 2002-09-03  Akim Demaille  <akim@epita.fr>
1934         * configure.ac: Bump to 2.53d.
1935         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
1936         as of today, on Automake's team suggestion.
1938 2002-09-03  Akim Demaille  <akim@epita.fr>
1940         Version 2.53c.
1942 2002-09-02  Akim Demaille  <akim@epita.fr>
1944         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
1945         SITE_MACRO_DIR.
1946         * configure.ac: Disable SITE_MACRO_DIR.
1948 2002-09-02  Jim Meyering  <meyering@lucent.com>
1950         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
1951         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
1952         Also, tweak grammar: s/make sure to/be sure to/.
1954 2002-09-02  Paul Eggert  <eggert@twinsun.com>
1956         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
1957         directory names are generally preferable to physical names.
1959 2002-09-02  Akim Demaille  <akim@epita.fr>
1961         * lib/Autom4te/General.pm (&update_file): s/die/error/.
1962         Reported by Raja R. Harinath.
1963         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
1964         * bin/autoupdate.in: Use error instead of die.
1966 2002-09-01  Paul Eggert  <eggert@twinsun.com>
1968         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
1969         ordinary shell concatenation rather than echo+tr+sed command that
1970         runs afoul of a long-line-related sed bug in Solaris 8.
1972         * bin/autoheader.in (parse_args): --warning -> --warnings.
1974         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
1975         stdout, as traditional "ls" does.
1976         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
1977         _AC_COMPILER_EXEEXT_O): Likewise.
1978         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
1980         * bin/autoconf.as: Add --prepend-include option.  This patch was
1981         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
1982         but bin/autoconf.in is generated automatically from bin/autoconf.as.
1984         * bin/autoconf.in, configure: Regenerate.
1986         * doc/autoconf.texi (Special Shell Variables): Mention
1987         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
1989         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
1990         MAILPATH and set PS1, PS2, PS4 to default values, to work
1991         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
1992         For LC_ALL etc, first try to set to "C" as POSIX requires and as
1993         the Autoconf documentation specifies; fall back to "unset" only if
1994         this fails.  Use a shell for-loop for this rather than an m4 loop,
1995         to shorten the output script.
1997 2002-08-30  Paul Eggert  <eggert@twinsun.com>
1999         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
2000         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
2001         for the CDPATH problem.  Document PWD.
2002         (Limitations of Builtins): Document the problem that "cd $foo" and
2003         "ls $foo" may refer to different directories in shells conforming
2004         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
2005         example, since the old example is now out of date.
2007         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
2008         FOO" and "ls FOO" talk about different directories; this catches
2009         problems when POSIX 1003.1-2001 "cd" fails due to symlink
2010         spaghetti.
2012         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
2013         of rolling our own unset.
2014         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
2015         in practice we needn't worry about CDPATH if unset doesn't work.
2017         * Makefile.in, aclocal.m4, bin/Makefile.in,
2018         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
2019         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
2020         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
2021         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
2022         tests/Makefile.in: Regenerate with Automake 1.6.3.
2024         * config/config.guess, config/config.sub, config/mkinstalldirs:
2025         Update.
2027         * configure: Regenerate with self.
2029 2002-08-30  Kevin Ryde  <user42@zip.com.au>
2031         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
2032         default output.
2034 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2036         * bin/autom4te.in (Request::load): Correctly test for "do" read
2037         failure.
2039 2002-08-29  Akim Demaille  <akim@epita.fr>
2041         * lib/Autom4te/General.pm (&xqx): New.
2042         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
2043         hand, which is not portable.
2044         (&error): New.
2045         * bin/autom4te.in: Use them.
2046         Use &error instead of die.
2047         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2048         Adjust.
2050 2002-08-17  Paul Eggert  <eggert@twinsun.com>
2052         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
2053         default list of compilers to try, since it was long ago superseded
2054         by the ksh fc builtin.  Suggested by Steven G. Johnson.
2056 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
2058         * doc/autoconf.texi (Invoking autom4te): End the option table,
2059         fixing a bug introduced by the previous patch.
2060         (Limitations of Make): Add a 'target lookup' subentry in the
2061         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
2063 2002-07-29  Mark D. Roth  <roth@feep.net>
2065         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
2066         options and use $AUTOM4TE_PATH.
2067         * doc/autoconf.texi: Remove documentation of autom4te
2068         --include-envvar and --site-macro-subdir options and document
2069         use of $AUTOM4TE_PATH.
2070         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
2071         arguments from each language section.
2073 2002-07-29  Paul Eggert  <eggert@twinsun.com>
2075         * doc/install.texi: Include copyright symbol in copyright notice.
2077         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
2078         Replace with:
2079         (AM_MAKEINFOFLAGS): New macro.
2080         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
2081         * Makefile.am (INSTALL): Use the new macros.
2082         Use -o rather than --output, since "missing" does not grok --output.
2084 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2086         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
2087         comments do not always work. Never trust the exit status of
2088         `make -k'.
2090 2002-07-24  Kevin Ryde  <user42@zip.com.au>
2092         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
2093         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
2095 2002-07-23  Paul Eggert  <eggert@twinsun.com>
2097         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
2098         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
2099         apparently treats PATH="nonexistent" as if it contained ".".
2100         Bug reported by Stefan `Sec' Zehl.
2102 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
2104         * doc/autoconf.texi (Limitations of Make): Mention the special
2105         handling of the obj/ directory by BSD make.
2107 2002-07-20  Kevin Ryde  <user42@zip.com.au>
2109         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
2110         backslashes.
2112 2002-07-19  Akim Demaille  <akim@epita.fr>
2114         * doc/autoconf.texi (Function Portability): `exit'.
2115         (Programming in M4sh): Ethymology of M4sh.
2117 2002-07-19  Akim Demaille  <akim@epita.fr>
2119         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
2121 2002-07-18  Akim Demaille  <akim@epita.fr>
2123         Version 2.53b.
2125 2002-07-18  Akim Demaille  <akim@epita.fr>
2127         * config/config.guess, config/config.sub: Update.
2129 2002-07-18  Akim Demaille  <akim@epita.fr>
2131         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
2132         Automake's parts.
2134         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
2135         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
2136         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
2138 2002-07-18  Akim Demaille  <akim@epita.fr>,
2139             Alexandre Duret-Lutz  <duret_g@epita.fr>
2141         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
2142         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
2144 2002-07-17  Russ Allbery  <rra@stanford.edu>
2146         * doc/autoconf.texi (Initializing configure): Clarify the
2147         description of the tarname default.
2149 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
2151         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
2152         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
2153         latter was not run.
2155 2002-07-17  Akim Demaille  <akim@epita.fr>
2157         * lib/Autom4te/General.pm (find_file): Browse the directories in
2158         the order they are given.
2160 2002-07-17  Akim Demaille  <akim@epita.fr>
2162         * tests/wrapsh.as, tests/wrappl.as: Merge into...
2163         * tests/wrapper.as: this.
2164         * tests/Makefile.am, configure.ac: Adjust.
2166 2002-07-17  Mark D. Roth  <roth@feep.net>
2168         * configure.ac: Add --enable-site-macro-dir option.
2169         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
2170         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
2171         --site-macro-subdir options.
2172         * bin/autoconf.in: Add --prepend-include option.
2173         * bin/autoheader.in: Add --prepend-include option.
2174         * bin/autoreconf.in: Add --prepend-include option.
2175         * bin/autoscan.in: Add --prepend-include option.
2176         * bin/autoupdate.in: Add --prepend-include option.
2177         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
2178         macro directory, remove note that include path directories are
2179         used in reverse order, and document --prepend-include option.
2180         * lib/autom4te.in: Use --prepend-include instead of --include.
2181         * tests/wrapsh.in: Use --prepend-include instead of --include.
2183 2002-07-17  Akim Demaille  <akim@epita.fr>
2185         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
2186         tarnames.
2187         * doc/autoconf.texi (Initializing configure): Adjust.
2189 2002-07-17  Akim Demaille  <akim@epita.fr>
2191         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
2192         (_AC_FUNC_MALLOC): New.
2193         (AC_FUNC_MALLOC): Use the latter.
2194         Define HAVE_MALLOC to 0 if broken.
2195         * doc/autoconf.texi (Particular Functions): Adjust.
2197 2002-07-16  Akim Demaille  <akim@epita.fr>
2199         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
2200         * doc/autoconf.texi (C Compiler): Adjust.
2202 2002-07-09  Akim Demaille  <akim@epita.fr>
2204         * doc/autoconf.texi: Properly set the ``header'' part.
2206 2002-07-09  Akim Demaille  <akim@epita.fr>
2208         * doc/autoconf.texi (Systemology): Some about Darwin.
2210 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
2212         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2213         Don't use AC_REQUIRE in AU_DEFUN.
2215 2002-07-09  Art Haas  <ahaas@neosoft.com>
2217         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
2219 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
2221         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2222         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
2223         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
2224         so that Emacs setups GNU style for perl-mode and cperl-mode.
2226 2002-06-27  Paul Eggert  <eggert@twinsun.com>
2228         * config/install-sh: Quote $src.  Prefer || to test's -o option,
2229         as per "Limitations of Builtins".
2230         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
2231         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2233         * tests/mktests.sh: Use grep instead of fgrep, as per
2234         "Limitations of Builtins".
2236 2002-06-15  Paul Eggert  <eggert@twinsun.com>
2238         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
2239         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
2240         so that we consistently test the just-built programs.
2241         * tests/wrappl.as: Likewise.
2243 2002-06-12  Paul Eggert  <eggert@twinsun.com>
2245         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
2246         name, so that symlinks to 'autoconf' work properly.  Bug reported
2247         by Bruno Haible.
2248         * bin/autoheader.in (AUTOM4TE): Likewise.
2249         * bin/autoreconf.in (autoconf, autoheader): Likewise.
2250         * bin/autoscan.in (autom4te): Likewise.
2251         * bin/autoupdate.in (autom4te): Likewise.
2253         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
2254         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
2255         on Solaris 2.5.1.
2257 2002-06-11  Andreas Schwab  <schwab@suse.de>
2259         * doc/autoconf.texi: Add more dir entries.
2261 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2263         * bin/autom4te.in ($cache): Don't define using `$me', the name
2264         of the cache should not depend on the name under which autom4te
2265         was installed.
2267 2002-06-07  Akim Demaille  <akim@epita.fr>
2269         * tests/tools.at (autoconf: forbidden tokens, basic)
2270         (autoconf: forbidden tokens, exceptions): Adjust to the change of
2271         words in autom4te.in.
2273 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
2275         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
2276         _AC_LANG_PROGRAM_C_F77_HOOKS.
2278 2002-06-07  Akim Demaille  <akim@epita.fr>
2280         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
2281         rename as...
2282         (AC_REPLACE_FNMATCH): this.
2283         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
2284         AC_FUNC_FNMATCH_GNU.
2286 2002-06-07  Akim Demaille  <akim@epita.fr>
2288         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
2289         Rosetta Stone for Unix.
2291 2002-06-07  Akim Demaille  <akim@epita.fr>
2293         * bin/autom4te.in (warn_forbidden): When rejecting a token,
2294         suggest m4_pattern_allow.
2295         Suggested by Adam J. Richter.
2297 2002-06-07  Akim Demaille  <akim@epita.fr>
2299         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2300         ac_config_libobj_dir.
2301         (AC_CONFIG_LIBOBJ_DIR): New.
2302         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
2303         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
2304         Use ac_config_libobj_dir to find the replacement files.
2305         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
2306         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
2307         (AC_REPLACE_FNMATCH_GNU): these.
2308         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
2309         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
2310         * tests/mktests.sh (ac_exclude_list): Don't check
2311         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
2313 2002-06-06  Paul Eggert  <eggert@twinsun.com>
2315         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
2316         if ln doesn't work.
2317         * NEWS: Likewise.
2318         * doc/autoconf.texi (Configuration Links): Likewise.
2319         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
2321 2002-06-05  Paul Eggert  <eggert@twinsun.com>
2323         * config/config.guess, config/config.sub, config/texinfo.tex:
2324         Update from masters.
2326 2002-05-29  Paul Eggert  <eggert@twinsun.com>
2328         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
2329         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
2330         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
2331         Likewise.
2332         * lib/autoconf/Makefile.am (check-local): Likewise.
2333         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
2334         * lib/autoconf/types.m4 (commentary only): Likewise.
2335         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
2336         * lib/autotest/Makefile.am (check-local): Likewise.
2337         * lib/m4sugar/Makefile.am (check-local): Likewise.
2338         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
2339         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
2341         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
2342         * doc/autoconf.texi (Particular Programs): Document them.
2343         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
2344         * NEWS: Likewise.
2346 2002-05-27  Paul Eggert  <eggert@twinsun.com>
2348         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
2349         * NEWS, doc/autoconf.texi (Particular Types): Document it.
2350         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
2351         instead of AC_MBSTATE_T, which never existed.
2353 2002-05-23  Akim Demaille  <akim@epita.fr>
2355         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
2356         version of Autoconf that is discussed.
2358 2002-05-22  Paul Eggert  <eggert@twinsun.com>
2360         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
2361         from the default list of compilers to try.  Suggested by
2362         Kate Hedstrom.
2363         * NEWS: Document the above.
2364         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
2366 2002-05-17  Paul Eggert  <eggert@twinsun.com>
2368         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
2369         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
2370         This improves on an earlier suggestion by H. Peter Anvin.
2372 2002-05-16  Paul Eggert  <eggert@twinsun.com>
2374         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
2375         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
2376         Both macros now accept an optional source-dir arg.
2377         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
2379         * NEWS: Document this.
2380         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
2382         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
2383         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
2384         not for GNU extensions; this undoes part of the 2000-11-03 change,
2385         reverting to 2.13-compatible behavior.
2386         Add new optional argument DIR.
2387         (AC_FUNC_FNMATCH_GNU): New macro.
2389         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
2391 2002-05-08  Paul Eggert  <eggert@twinsun.com>
2393         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
2394         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
2395         and it causes a 'test' syntax error if it fails.
2396         Bug reported by Stephen Gildea.
2398         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
2399         If prototypes are supported, use them to check this at compile-time,
2400         instead of trying to check it at run-time.  If we must do a run-time
2401         check, assume that setvbuf is standard when cross-compiling, as
2402         nonstandard setvbuf occurs only on ancient and unlikely hosts.
2403         Bug reported by Paul D. Smith.
2405         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
2406         argument specifying location of getloadavg.c.  This removes a
2407         FIXME.  This idea was taken from Jim Meyering's implementation in
2408         textutils.
2409         * doc/autoconf.texi (Particular Functions): Document this.
2410         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
2411         that's what the code does; this fixes a bug reported by
2412         Paul D. Smith.
2414 2002-05-03  Akim Demaille  <akim@epita.fr>
2416         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
2417         autopoint instead of gettextize.
2418         ($uses_alocal): Rename as...
2419         ($uses_aclocal): this.
2420         * doc/autoconf.texi (autoreconf Invocation): Adjust.
2421         Suggested by Bruno Haible.
2423 2002-05-03  Akim Demaille  <akim@epita.fr>
2425         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
2427 2002-04-29  Paul Eggert  <eggert@twinsun.com>
2429         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
2430         files to be 1 second older; just set them to be the same time.
2431         Also, sleep 1 second after the first aclocal, to work around
2432         problems with sub-second time stamps on the input files.
2434 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
2436         * doc/autoconf.texi: Mention "set -e -x" lossage
2437         under node "Limitations of Builtins".
2439 2002-04-29  Akim Demaille  <akim@epita.fr>
2441         * doc/install.texi: Better wording for setting variables when
2442         running configure.
2443         From Christian Cornelssen.
2445 2002-04-29  Akim Demaille  <akim@epita.fr>
2447         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
2448         of lack of $LINENO support, then the test will compare the $LINENO
2449         in testsuite vs. the lineno in the test file.  This is wrong, of
2450         course.
2451         Be sure to protect it.
2452         Reported by Patrick Welche.
2454 2002-04-25  Akim Demaille  <akim@epita.fr>
2456         * doc/autoconf.texi (Obsolete Macros): Typo.
2457         Reported by Vladimir Volovich.
2459 2002-04-25  Akim Demaille  <akim@epita.fr>
2461         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
2462         than some of the input files, hence, on the second run of aclocal,
2463         if some of its input are younger, make them older.
2464         Suggested by Paul Eggert.
2466 2002-04-25  Akim Demaille  <akim@epita.fr>
2468         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
2469         Thanks to Paul Eggert.
2471 2002-04-25  Akim Demaille  <akim@epita.fr>
2473         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
2474         and ac_subst_vars be sh variables containing the list of
2475         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
2476         DEFAULT diversion.
2477         (_AC_INIT_PREPARE): Use them to log them.
2478         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
2479         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
2480         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
2481         _AC_SUBST_FILES and _AC_SUBST_VARS.
2482         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
2484 2002-04-24  Akim Demaille  <akim@epita.fr>
2486         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
2487         autoheader, so that automake does not complain about a missing
2488         config.h.in that was to be created.
2490 2002-04-23  Akim Demaille  <akim@epita.fr>
2492         * bin/autoheader.in (parse_args): --warning takes an argument.
2493         Fixes PR/220.
2495 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
2497         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
2498         and bb.out when cleaning up.
2500 2002-04-22  Akim Demaille  <akim@epita.fr>
2502         Version 2.53a.
2504 2002-04-22  Akim Demaille  <akim@epita.fr>
2506         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
2508 2002-04-22  Akim Demaille  <akim@epita.fr>
2510         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
2511         comma.
2512         Reported by Gregory Giannoni.
2514 2002-04-22  Akim Demaille  <akim@epita.fr>
2516         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
2517         Fixes false failures on Darwin.
2519 2002-04-21  Paul Eggert  <eggert@twinsun.com>
2521         * TODO, bin/autoupdate.in, doc/autoconf.texi,
2522         lib/autoconf/general.m4, lib/autoconf/libs.m4,
2523         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
2524         tests/tools.at: Minor spelling and grammar fixes.
2526 2002-04-20  Paul Eggert  <eggert@twinsun.com>
2528         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
2529         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
2530         * lib/autotest/general.m4 (AT_INIT): Likewise.
2531         * tests/atgeneral.m4 (AT_INIT): Likewise.
2533 2002-04-19  Paul Eggert  <eggert@twinsun.com>
2535         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
2536         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
2537         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
2538         lib/autoconf/functions.m4, lib/autoconf/general.m4,
2539         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
2540         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
2541         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
2542         Minor spelling and grammar fixes.
2544         * doc/autoconf.texi: Follow the outline suggested in the GNU
2545         Sample Texts sections of the Texinfo 4.2 manual.  Most
2546         importantly, this makes sure that the copyright notices appear in
2547         all output formats.  You probably need Texinfo 4.2 to generate
2548         the manual now.
2550         Fix some bugs when using "$@" when there might be zero positional
2551         arguments in cases where this matters.
2553         * bin/autoconf.as: Rewrite so that the problem does not come up.
2554         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
2555         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
2556         * lib/autotest/general.m4 (AT_INIT): Likewise.
2558         * bin/autoheader.in: Use 'case' statement to work around problem.
2559         * bin/auto4mte.in: Likewise.
2560         * bin/autoreconf.in: Likewise.
2561         * bin/autoscan.in: Likewise.
2562         * bin/autoupdate.in: Likewise.
2563         * bin/ifnames.in: Likewise.
2565         * doc/autoconf.texi (Shell Substitutions): Document the problem.
2567         * lib/autotest/general.m4 (AT_INIT):
2568         Use Zsh alias to work around problem.
2569         * tests/atgeneral.m4 (AT_INIT): Likewise.
2571         * tests/c.at: We can't have zero arguments, so remove workaround
2572         that is not portable to Zsh.
2574 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
2576         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
2577         from aclocal.m4 too.
2579 2002-04-12  Akim Demaille  <akim@epita.fr>
2581         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
2583 2002-04-10  Akim Demaille  <akim@epita.fr>
2585         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
2586         workaround for ${1+"$@"}.
2587         * doc/autoconf.texi (Shell Substitutions): Explain it.
2588         From Oliver Kiddle and Peter Stephenson.
2590         Have M4sh perform minimal shell sanitizing.
2592         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
2593         part into...
2594         (_AS_PREPARE): this new macro.
2595         (AS_PREPARE): New.
2596         (AS_INIT): Invoke AS_SHELL_SANITIZE.
2597         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
2599         Adjust Autoconf and Autotest.
2601         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
2602         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
2603         * lib/autotest/general.m4 (AT_INIT): Likewise.
2604         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2605         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
2606         AS_SHELL_SANITIZE.
2608         Use this M4sh to generate Autoconf's shell scripts.
2610         * tests/wrapsh.as: New, precursor of wrapsh.in.
2611         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
2612         on Autotest and M4sh.
2613         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
2614         (wrapsh.in): New target.
2615         * bin/autoconf.as: New, precursor of autoconf.in.
2616         (autoconf.in): New target.
2618 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
2620         * doc/autoconf.texi (Limitations of Make): Mention the issue
2621         with indented comments in rules.
2623 2002-04-09  Andreas Schwab  <schwab@suse.de>
2625         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
2626         ac_top_builddir when setting ac_abs_top_builddir.
2628 2002-04-06  Kevin Ryde  <user42@zip.com.au>
2630         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
2631         (Portable Shell): Cross reference to Systemology.
2633 2002-04-05  Akim Demaille  <akim@epita.fr>
2635         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
2636         directories when descending in a SUBDIRS.
2637         Reported by Ezra Peisach.
2639 2002-04-04  Andreas Schwab  <schwab@suse.de>
2641         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
2642         contains no literal separators.
2644 2002-04-03  Akim Demaille  <akim@epita.fr>
2646         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
2647         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
2648         Use dnl, not the KILL diversion.
2649         Extracted from...
2650         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
2651         (AC_CONFIG_LINKS): here.
2652         Adjust.
2653         Don't use the KILL diversion, as it kills spurious output, which
2654         results in failures being hidden.
2655         Use m4_defn where appropriate.
2656         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
2657         after the second argument.
2658         Use m4_defn.
2659         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
2660         syntax, as it is provided by M4sugar.
2661         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
2663 2002-04-03  Andreas Schwab  <schwab@suse.de>
2665         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
2666         expanded if $# <= 2.
2668         * bin/autoreconf.in (autoreconf): Run automake after rerunning
2669         aclocal.
2671 2002-04-03  Akim Demaille  <akim@epita.fr>
2673         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
2674         (_AC_COMPILER_EXEEXT_REJECT): New.
2675         Also recognize *.bb and *.bbg as compilation byproducts.
2676         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
2677         (_AC_COMPILER_OBJEXT): Use them.
2678         Fixes Debian #138666.
2680 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
2682         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
2684         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
2685         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
2686         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
2687         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
2688         (AC_C_CONST): Same.
2689         (AC_C_INLINE): Same.
2690         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
2691         * doc/autoconf.texi, NEWS: Document.
2692         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
2693         AC_C_CROSS.
2695 2002-04-02  Akim Demaille  <akim@epita.fr>
2697         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
2698         _AS_MKDIR_P_PREPARE.
2700 2002-03-28  Kevin Ryde  <user42@zip.com.au>
2702         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
2703         to avoid versions of HP C which don't allow that.
2705 2002-03-27  Paul Eggert  <eggert@twinsun.com>
2707         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
2708         (AS_SHELL_SANITIZE): Invoke it.
2709         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
2711 2002-03-26  Akim Demaille  <akim@epita.fr>
2713         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
2715 2002-03-26  Akim Demaille  <akim@epita.fr>
2717         * doc/autoconf.texi (Introduction): The GNATS base moved.
2719 2002-03-25  Paul Eggert  <eggert@twinsun.com>
2721         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
2722         as POSIX requires, as it doesn't work with Zsh.
2723         * doc/autoconf.texi (Assignments): Document the problem.
2725 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2727         * doc/autoconf.texi (Limitations of Make): Mention more issue
2728         about VPATH, overriding of macros in sub-makes, and handling of
2729         SHELL.
2731 2002-03-21  Paul Eggert  <eggert@twinsun.com>
2733         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
2734         problem with here-document buffer boundaries.
2736         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
2737         when reinvoking the shell, to work around problems with installers
2738         who put strange things like "cd" commands in their environments.
2740 2002-03-19  Akim Demaille  <akim@epita.fr>
2742         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
2743         From Aaron Ucko.
2745 2002-03-19  Akim Demaille  <akim@epita.fr>
2747         * bin/autoscan.in (scan_file): Specify the location in `&used'
2748         invocations.
2749         From Nicolas Joly.
2751 2002-03-19  Akim Demaille  <akim@epita.fr>
2753         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
2754         From Nishio Futoshi.
2756 2002-03-19  Akim Demaille  <akim@epita.fr>
2758         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
2760 2002-03-18  Paul Eggert  <eggert@twinsun.com>
2762         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
2763         (Limitations of Usual Tools): Add mkdir section.
2765         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
2766         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
2767         back on AS_DIRNAME to compute prefixes otherwise; this is
2768         roughly what mkinstalldirs does.  That way, we need not have
2769         our own filename disassembler.  The old disassembler did not
2770         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
2772         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
2773         Create at_test_all by a series of assignments,
2774         not by a single assignment of a long string.  The latter causes ksh
2775         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
2776         presumably because of a buffer overrun.
2778 2002-03-14  Paul Eggert  <eggert@twinsun.com>
2780         * lib/autotest/general.m4 (at_times_skip):
2781         Renamed from at_times.  Now a boolean.
2782         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
2783         says 'times: not found'.
2785 2002-03-14  Akim Demaille  <akim@epita.fr>
2787         * bin/autoreconf.in (&study_gettextize): New.
2788         (&autoreconf): Handle newest gettextize.
2789         Rerun aclocal if needed.
2790         Suggested by Andreas Schwab.
2792 2002-03-13  Akim Demaille  <akim@epita.fr>
2794         * doc/autoconf.texi (Special Shell Variables): More about IFS.
2796 2002-03-13  Akim Demaille  <akim@epita.fr>
2798         * doc/autoconf.texi (Header Portability): New.
2799         Add information about stdint.h and inttypes.h from Paul Eggert.
2801 2002-03-13  Akim Demaille  <akim@epita.fr>
2803         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
2804         -p'.
2805         From Bob Proulx.
2807 2002-03-12  Akim Demaille  <akim@epita.fr>
2809         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
2810         m4_require.
2812 2002-03-11  Andreas Schwab  <schwab@suse.de>
2814         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
2815         does not do it if --with-lispdir is given.
2817 2002-03-08  Akim Demaille  <akim@epita.fr>
2819         Version 2.53.
2821 2002-03-08  Akim Demaille  <akim@epita.fr>
2823         * doc/autoconf.texi (Subdirectories): Clarify that the
2824         subdirectory should exist.
2826 2002-03-08  Akim Demaille  <akim@epita.fr>
2828         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
2830 2002-03-08  Akim Demaille  <akim@epita.fr>
2832         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
2833         aliases the actual variables, and modifications of the former
2834         affect the latter.
2836 2002-03-08  Akim Demaille  <akim@epita.fr>
2838         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
2839         because of C-c: have m4 output in tmp files, then mv them.
2841 2002-03-08  Akim Demaille  <akim@epita.fr>
2843         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
2844         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
2845         * bin/ifnames.in: Copyright update.
2847 2002-03-08  Akim Demaille  <akim@epita.fr>
2849         * doc/autoconf.texi (Invoking autom4te): New.
2851 2002-03-05  Akim Demaille  <akim@epita.fr>
2853         * doc/autoconf.texi (Specifying Names): Clarification suggested by
2854         Kevin Ryde.
2856 2002-03-05  Akim Demaille  <akim@epita.fr>
2858         Version 2.52i.
2860 2002-03-04  Akim Demaille  <akim@epita.fr>
2862         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
2863         * lib/autoconf/general.m4 (AC_INIT): More informative error
2864         message for LIBOBJ.
2866 2002-03-04  Akim Demaille  <akim@epita.fr>
2868         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
2869         parallel builds.
2871 2002-03-04  Akim Demaille  <akim@epita.fr>
2873         * doc/autoconf.texi (Transforming Names): Equality between target
2874         and host is irrelevant.
2875         (Specifying Names, Canonicalizing): Remove all references to the
2876         backward compatibility hooks.  Rather, collect them all into...
2877         (Hosts and Cross-Compilation): this new section.
2878         * doc/install.texi (System Type): Ditto.
2879         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
2880         that `--host' implies cross-compilation.
2882 2002-03-04  Akim Demaille  <akim@epita.fr>
2884         * doc/autoconf.texi (Evaluation Macros): New.
2885         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
2886         useless.
2887         (_m4_foreach): Define the variant with immediate evaluation so
2888         that it contains exactly the items, not an expression which
2889         evaluation is the current item.
2890         (m4_re_string, m4_re_word): Don't over quote them.
2892 2002-03-04  Akim Demaille  <akim@epita.fr>
2894         Instead of having stacking `shift's evaluated at the end, let
2895         `foreach' loops immediately evaluate them.
2897         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
2898         $*.  This is the n-th time I change my mind, but hopefully this is
2899         the last...
2900         (m4_lquote): New.
2901         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
2902         efficient.
2903         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
2904         it was only a hack for m4_text_wrap.
2905         (m4_car2): Remove, replaced by...
2906         (m4_cdr): New.
2907         (_m4_foreach): Adjust.
2908         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
2909         m4_bpatsubst for clarification.
2911 2002-03-04  Akim Demaille  <akim@epita.fr>
2913         * doc/autoconf.texi (Changequote is Evil): New.
2915 2002-03-03  Kevin Ryde  <user42@zip.com.au>
2917         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
2918         on old systems like SunOS.
2920 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
2922         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
2923         lib/autoconf/functions.m4, lib/autoconf/general.m4,
2924         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
2925         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
2926         of messages.
2928 2002-02-28  Akim Demaille  <akim@epita.fr>
2930         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
2931         message to be sent.
2933 2002-02-28  Kevin Ryde  <user42@zip.com.au>
2935         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
2937 2002-02-25  Akim Demaille  <akim@epita.fr>
2939         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
2940         From Akinori Musha.
2942 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
2944         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
2945         translate \r\n to \n.
2947 2002-02-07  Akim Demaille  <akim@epita.fr>
2949         Version 2.52h.
2951 2002-02-07  Akim Demaille  <akim@epita.fr>
2953         Fix Autoconf PR/209.
2954         Also reported by Frank Denis.
2956         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
2958 2002-02-07  Akim Demaille  <akim@epita.fr>
2960         Fix Autoconf PR/207:
2961         AC_PREFIX_PROGRAM fails with dashed program names
2963         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
2964         variable when looking for the prefix program.
2965         Now it also works for shell variables.
2967 2002-02-07  Akim Demaille  <akim@epita.fr>
2969         * doc/autoconf.texi (Limitations of Builtins): More about
2970         case/esac.
2972 2002-02-06  Akim Demaille  <akim@epita.fr>
2974         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
2975         case/esac, some shells don't support it.
2976         Reported by Zack Weinberg.
2977         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
2979 2002-02-06  Akim Demaille  <akim@epita.fr>
2981         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
2982         sure not to introduce newlines in at_groups.
2983         * lib/autotest/Makefile.am (autotest.m4f): Typo.
2985 2002-02-06  Akim Demaille  <akim@epita.fr>
2987         * tests/torture.at (Configuring subdirectories): Skip if aclocal
2988         is not available.
2990 2002-02-05  Paul Eggert  <eggert@twinsun.com>
2992         * doc/autoconf.texi (Specific Compiler Characteristics):
2993         Describe HP-UX cc bug workaround more accurately.
2994         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
2995         not unsigned long.
2996         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
2997         cross-compilers, too.  This undoes some of the most recent change
2998         to this file.
3000 2002-02-05  Akim Demaille  <akim@epita.fr>
3002         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
3003         to make sure they are up to date when `check' is run.
3005 2002-02-05  Akim Demaille  <akim@epita.fr>
3007         * doc/autoconf.texi (Making testsuite Scripts): Document
3008         package.m4.
3010 2002-02-05  Akim Demaille  <akim@epita.fr>
3012         * lib/freeze.mk: New.
3014 2002-02-05  Akim Demaille  <akim@epita.fr>
3016         Implement `autom4te --freeze'.
3018         * bin/autom4te.in (&freeze): New.
3019         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
3020         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
3022 2002-02-05  Akim Demaille  <akim@epita.fr>
3024         * bin/autom4te.in (&parse_args): Implement `frozen files are
3025         optional are the sum of the previous files on the command line'.
3026         Also, pass `--reload-state=' on them, so...
3027         (handle_m4): don't.
3028         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
3029         (M4sh): Rely on M4sugar.
3030         (Autotest, M4sh, M4sugar): Use frozen files.
3032 2002-01-31  Akim Demaille  <akim@epita.fr>
3034         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
3035         * doc/autoconf.texi (Initializing configure): Adjust.
3037 2002-01-30  Akim Demaille  <akim@epita.fr>
3039         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
3040         alphanumeric to `-' instead of `_'.
3042 2002-01-30  Akim Demaille  <akim@epita.fr>
3044         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
3045         for plain code, the other for cross-compilation code.  The latter
3046         is now run with GCC only.
3047         * doc/autoconf.texi (Compilers and Preprocessors): New.
3049 2002-01-30  Akim Demaille  <akim@epita.fr>
3051         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
3052         values.
3053         * doc/autoconf.texi (Initializing configure): Explain how to
3054         change AC_INIT default values.
3056 2002-01-29  Akim Demaille  <akim@epita.fr>
3058         * tests/torture.at (Configuring subdirectories): Use configure.in,
3059         so that aclocal 1.4 works.
3060         Reported by Alexandre Duret-Lutz and Larry Schmitt.
3062 2002-01-28  Akim Demaille  <akim@epita.fr>
3064         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
3065         needs an argument.
3067 2002-01-28  Akim Demaille  <akim@epita.fr>
3069         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
3070         AUTOTEST_PATH *after* it was set.
3071         Don't put `.' in the PATH: the user should be precise and `./' if
3072         needed.  In addition, given that the test suite does some `cd', if
3073         `.' is in the path, the `tested programs' sections will report
3074         programs found in the test suite's directory, while during the
3075         tests (performed in their own directory), these programs are no
3076         longer visible.  In other words, the results is confusing and
3077         useless.
3078         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
3080 2002-01-24  Akim Demaille  <akim@epita.fr>
3082         Version 2.52g.
3084 2002-01-24  Akim Demaille  <akim@epita.fr>
3086         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
3087         * doc/autoconf.texi: Finally add Akim as an author.
3089 2002-01-24  Akim Demaille  <akim@epita.fr>
3091         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
3092         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
3093         Bourne. Use /bin/sh.
3094         From Andreas Buening.
3096 2002-01-24  Akim Demaille  <akim@epita.fr>
3098         * config/config.guess, config/config.sub, config/texinfo.tex:
3099         Update from masters.
3101 2002-01-24  Akim Demaille  <akim@epita.fr>
3103         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
3104         * config/auxdir.m4, config/cond.m4, config/depend.m4,
3105         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
3106         * config/missing.m4, config/sanity.m4, config/select.m4,
3107         * config/strip.m4: Remove, to ease sync'ing with any version of
3108         Automake.
3110 2002-01-24  Akim Demaille  <akim@epita.fr>
3112         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
3113         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
3114         Reported by Geir Ove Myhr.
3116 2002-01-21  Akim Demaille  <akim@epita.fr>
3118         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
3120 2002-01-21  Akim Demaille  <akim@epita.fr>
3122         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
3123         message on invalid options.
3124         * bin/autom4te.in (parse_args): Don't use
3125         Autoconf::General::getopt with non valid options.
3127 2002-01-17  Jim Meyering  <meyering@lucent.com>
3129         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
3130         $ac_cv_exeext so we don't use an old, invalid, cached value.
3132 2002-01-11  Akim Demaille  <akim@epita.fr>
3134         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
3135         Meyering.
3136         * doc/autoconf.texi (Function Portability): Document the strnlen
3137         limitation.
3138         (Particular Functions): Document AC_FUNC_STRNLEN.
3139         * lib/autoscan/functions: Adjust.
3141 2002-01-06  Akim Demaille  <akim@epita.fr>
3143         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
3144         package.m4, since is really depends upon configure.ac, not
3145         configure.
3146         * doc/autoconf.texi (testsuite Scripts): Adjust.
3147         * tests/Makefile.am (package.m4): New.
3148         EXTRA_DIST it since its a source.
3150 2002-01-06  Akim Demaille  <akim@epita.fr>
3152         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
3153         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
3154         and PACKAGE_BUGREPORT from here...
3155         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
3156         arguments.
3157         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
3158         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
3159         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
3160         * tests/tools.at (autoheader): Adjust.
3161         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
3163 2002-01-06  Akim Demaille  <akim@epita.fr>
3165         * bin/autoscan.in (scan_file): Use `&used'.
3167 2002-01-03  Akim Demaille  <akim@epita.fr>
3169         * doc/autoconf.texi (Output): Improved wording regarding use of
3170         AC_OUTPUT.
3171         From Olly Betts.
3173 2001-12-18  Kevin Ryde  <user42@zip.com.au>
3175         * doc/autoconf.texi (Function Portability): Add notes on sscanf
3176         sometimes needing writable input.
3178 2001-12-17  Jim Meyering  <meyering@lucent.com>
3180         * doc/autoconf.texi (New Macros): Tweak wording.
3182 2001-12-14  Akim Demaille  <akim@epita.fr>
3184         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
3185         trailing files, don't apply `-rf' to files which might not be
3186         created by configure (core, core.*, and *.core), but just `rm -f'.
3187         Suggested by Jonathan Kamens.
3189 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
3191         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
3193 2001-12-14  Akim Demaille  <akim@epita.fr>
3195         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
3197 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
3199         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
3200         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
3201         abs_srcdir, top_srcpath to abs_top_srcdir.
3202         (_AC_OUTPUT_FILES): Adjust.
3203         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
3204         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
3205         * tests/wrappl.in, tests/wrapsh.in: Adjust.
3207 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
3209         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
3210         C/Fortran linking on HP/UX, by extracting the Fortran library
3211         search path from the LPATH line in the $F77 -v output.
3213 2001-12-12  Kevin Ryde  <user42@zip.com.au>
3215         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
3216         forbidden file descriptors table.
3218 2001-11-26  Akim Demaille  <akim@epita.fr>
3220         * bin/autoscan.in (%c_keywords): Build it at top level.
3221         Map to 1 in order to simplify its uses.
3223 2001-11-26  Akim Demaille  <akim@epita.fr>
3225         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
3226         Remove $filepath, useless.
3227         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
3228         variables, they are really part of the tokens.
3229         Split the input line on spaces and then look for tokens.
3230         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
3231         because of `lex$U.$(OBJEXT)'.
3232         (&scan_files): Use "@list" instead of join.
3233         * doc/Makefile.am (CLEANFILES): Add *.fns.
3235 2001-11-26  Akim Demaille  <akim@epita.fr>
3237         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
3238         Remove, replaced by...
3239         * tests/wrappl.in: Be common for all the Perl executables.
3240         In particular autoscan and autoheader want -I.
3241         * configure.ac: Adjust.
3242         * lib/autoscan/headers: errno.h is portable.
3244 2001-11-26  Akim Demaille  <akim@epita.fr>
3246         * bin/autoscan.in (used): New.
3247         Use it.
3249 2001-11-26  Akim Demaille  <akim@epita.fr>
3251         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
3252         directives.
3253         (&scan_sh_file): Remove a duplicate pattern.
3254         (&check_configure_ac): Use long options.
3255         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
3257 2001-11-26  Akim Demaille  <akim@epita.fr>
3259         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
3260         Before, having a line containing the opening of a multi line
3261         comment made the whole line be ignored.
3263 2001-11-26  Akim Demaille  <akim@epita.fr>
3265         * doc/autoconf.texi (Using an Autotest Test Suite): New.
3266         (testsuite Scripts): Be one of its subsection.
3267         (Autotest Logs): New.
3269 2001-11-26  Akim Demaille  <akim@epita.fr>
3271         Test groups are now run two directories deeper.
3273         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
3274         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
3275         at_top_builddir.
3276         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
3277         top_srcdir, builddir and top_builddir.
3278         Use `at_*dir' relatively to the directory containing the
3279         suite, use `*dir' when relatively to the current group dir.
3281 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
3283         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
3284         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
3285         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
3286         spelling errors.
3288 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
3290         * doc/autoconf.texi (Using System Type): Add an example of `case
3291         $host' usage so people quit using `case $target' everywhere.
3293 2001-11-22  Akim Demaille  <akim@epita.fr>
3295         * doc/autoconf.texi (Installation Directory Variables): Englishoes
3296         spotted by Jim Meyering.
3298 2001-11-16  Paul Eggert  <eggert@twinsun.com>
3300         This patch implements a `long double' suggestion by Oliver Kiddle.
3302         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
3303         static, to catch errors if the value isn't known at compile-time
3304         and the compiler supports dynamic arrays.  Change its name from
3305         `_array_' to `test_array' to avoid potential name clashes.
3306         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
3307         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
3308         better than double.  Catch a bug in GCC 2.95.2 x86.
3309         * doc/autoconf.texi (C Compiler): Document the above.
3310         * NEWS: Likewise.
3312 2001-11-13  Akim Demaille  <akim@epita.fr>
3314         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
3315         hand.
3316         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
3318 2001-11-13  Akim Demaille  <akim@epita.fr>
3320         * lib/autotest/general.m4 (AT_INIT): After having run the test
3321         group, go back to the initial directory, not to at_suite_dir.
3323 2001-11-13  Akim Demaille  <akim@epita.fr>
3325         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
3326         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
3327         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
3328         option.
3329         (AT_CHECK_CONFIGURE): Use absolute paths.
3330         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
3331         The problem is still the old one: there is no means in M4 (that I
3332         know about) to create a defining macro, because there is no means
3333         to create `$1' etc., therefore, the defining macro ``swallows''
3334         all the arguments meant to the defined macro.
3336 2001-11-13  Akim Demaille  <akim@epita.fr>
3338         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
3339         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
3340         configure.ac.
3341         * tests/aclocal.m4: Remove, as it is no longer used.
3343 2001-11-13  Akim Demaille  <akim@epita.fr>
3345         * lib/autotest/general.m4: Change `tests?' into `groups?' in
3346         variable names when referring to a single test group, or to
3347         `suite' when referring to the whole test suite.
3348         `at_last_test' is removed: m4 compute at_format itself.
3349         (at_stdout, at_stder1, at_stderr): New variables.
3350         (AT_CHECK): Use them.
3352 2001-11-13  Akim Demaille  <akim@epita.fr>
3354         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
3355         in PATH.
3356         Create `testsuite.dir/003/run' instead of `testsuite.003'.
3357         Do it as soon as a test fails, don't wait till the end of the test
3358         suite.
3359         Don't remove $as_me.[0-9]*, since these files no longer exist.
3361 2001-11-13  Akim Demaille  <akim@epita.fr>
3363         * tests/tools.at: Use absolute paths, since we are no longer run
3364         in place.
3366 2001-11-13  Akim Demaille  <akim@epita.fr>
3368         Now that tests are running in their own private dir, there is no
3369         need to list the files to remove at the end of tests groups.
3371         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
3372         (AT_data_files, at_data_files): Remove.
3373         (AT_CLEANUP, AT_DATA): Simplify.
3374         (AT_INIT): Adjust.
3375         Remove the group dir if !debug && !failed.
3376         * tests/atspecific.m4: Adjust.
3378 2001-11-13  Akim Demaille  <akim@epita.fr>
3380         Start a new layout for Autotest: `testsuite' creates
3381         `testsuite.dir' in which the at-check-line etc. files are to be
3382         found, and `testsuite.dir/003' where the test group 3 is run.
3384         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
3385         at_check_line_file, at_format, at_test_normalized, at_group_dir
3386         are new variables.
3387         Create the directories.
3388         Use absolute paths for at- files.
3389         (AT_CHECK): Adjust.
3391 2001-11-11  Michael Matz  <matz@kde.org>
3393         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
3394         (m4_car2): New.
3395         (m4_car): Properly quote arguments.
3397 2001-11-13  Akim Demaille  <akim@epita.fr>
3399         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
3400         with stricter rules on LIBOBJS.
3402 2001-11-12  Paul Eggert  <eggert@twinsun.com>
3404         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
3405         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
3406         __PROTOTYPES too.
3408 2001-11-12  Akim Demaille  <akim@epita.fr>
3410         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
3412 2001-11-12  Akim Demaille  <akim@epita.fr>
3414         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3415         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
3416         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
3417         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3418         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
3419         specify to what the macro should be defined (typically to 1).
3421 2001-11-12  Akim Demaille  <akim@epita.fr>
3423         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
3424         From Jim Meyering.
3426 2001-11-12  Akim Demaille  <akim@epita.fr>
3428         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
3429         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
3430         definition used by Automake where LEX is +/- "${missing} lex" and
3431         `missing' itself contains variables.
3433 2001-11-12  Akim Demaille  <akim@epita.fr>
3435         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
3436         Now that M4sh pushes BODY, the comments were output at the end of
3437         the test suites.
3439 2001-11-08  Akim Demaille  <akim@epita.fr>
3441         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
3442         that we can trace macros from aclocal.m4.
3443         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
3444         obsoleted, and redirect to the former anyway.
3445         Reported by Ralf Corsepius.
3447 2001-11-08  Akim Demaille  <akim@epita.fr>
3449         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
3450         processed only if present.
3451         * tests/torture.at (Configuring subdirectories): Use autoreconf
3452         instead of successive calls to autoconf.
3453         Add a nonexistent subdirectory to exercise the patch above.
3454         Reported by Ralf Corsepius.
3456 2001-11-08  Kevin Ryde  <user42@zip.com.au>
3458         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
3459         doesn't accept .S files.
3461 2001-11-07  Akim Demaille  <akim@epita.fr>
3463         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
3464         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
3465         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
3466         * bin/autom4te.in (warn_forbidden): New.
3467         (handle_output): Use it.
3468         Read m4_pattern_forbid with messages.
3470 2001-11-05  Akim Demaille  <akim@epita.fr>
3472         * bin/autom4te.in (--normalize): Remove.
3473         * lib/autom4te.in: Adjust.
3475 2001-11-05  Akim Demaille  <akim@epita.fr>
3477         * tests/Makefile.am (testsuite): Rename this target as...
3478         ($(TESTSUITE)): this.
3479         From Nicolas Joly.
3481 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
3483         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
3484         the --prefix option, also remove it's argument.
3486 2001-11-05  Akim Demaille  <akim@epita.fr>
3488         * doc/autoconf.texi (testsuite Invocation): Update.
3489         (Writing testsuite.at): Update.
3491 2001-11-03  Akim Demaille  <akim@epita.fr>
3493         * doc/autoconf.texi: s/@code/@command/ where appropriate.
3495 2001-11-03  Akim Demaille  <akim@epita.fr>
3497         * lib/Autom4te/General.pm: (&catfile, &canonfile)
3498         (&file_name_is_absolute): New, wrappers around routines from
3499         File::Spec.
3500         Use and export them.
3501         (&find_configure_ac): Optionally take a directory where to look at.
3502         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
3503         the arguments.
3504         Default @ARGV to `.', not find_configure_ac.
3505         (&autoreconf): Argument is a directory.
3506         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
3507         * doc/autoconf.texi (autoreconf Invocation): Update.
3509 2001-11-03  Akim Demaille  <akim@epita.fr>
3511         * lib/Autom4te/General.pm (@export_vars, @export_subs)
3512         (@export_forward_subs): New.
3513         Add basename, dirname, and fileparse.
3514         (@EXPORT): Adjust.
3515         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
3516         Don't look for aclocal flags if we already know aclocal is not
3517         used.
3518         Move aclocal.m4t only if it exists.
3519         Reported by Ezra Peisach.
3521 2001-11-03  Akim Demaille  <akim@epita.fr>
3523         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
3524         passed on command line, defaulting to ./configure.ac if present.
3525         (&maybe_autoreconf, File::Find): Remove, unused.
3526         (&autoreconf): If autoconf is not used, don't try to trace.
3528 2001-11-02  Akim Demaille  <akim@epita.fr>
3530         * configure.ac: Bump to 2.52g.
3532 2001-11-02  Akim Demaille  <akim@epita.fr>
3534         Version 2.52f.
3536 2001-11-02  Akim Demaille  <akim@epita.fr>
3538         * config/config.guess, config/config.sub, doc/standards.texi:
3539         * config/lispdir.m4: Update from masters.
3540         * configure.ac: Bump to 2.52f.
3542 2001-11-02  Akim Demaille  <akim@epita.fr>
3544         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
3545         Don't run aclocal when aclocal.m4 is not from aclocal.
3546         From Ezra Peisach.
3547         Don't run libtoolize and gettextize if --install is not given.
3549 2001-11-01  Paul Eggert  <eggert@twinsun.com>
3551         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
3552         be invoked before _AS_LINENO_PREPARE.
3553         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
3554         than character ranges.
3556         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
3557         invoking AS_BASENAME.  Set the locale variables to 'C' if
3558         possible, as POSIX requires this to get the traditional
3559         behavior.
3560         * doc/autoconf.texi (Special Shell Variables): Describe the above.
3562 2001-10-31  Paul Eggert  <eggert@twinsun.com>
3564         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
3565         with {}, as that triggers a bug in Bash 2.05.
3567         (_AS_LINENO_PREPARE): Use Sed rather than
3568         Awk.  Fix the sed prepass to work even if there are multiple
3569         instances of $LINENO on the same line.  Do not substitute for
3570         other variables like $LINENOT.  Do not check file dates; such a
3571         check is unreliable on sufficiently fast machines, and removing
3572         the check makes the code simpler and more reliable.  Check for
3573         output and chmod failures.
3575         * doc/autoconf.texi (Special Shell Variables): Document
3576         the above.
3578 2001-10-31  Akim Demaille  <akim@epita.fr>
3580         * tests/Makefile.am (atconfig): Remove this target, Automake
3581         handles it now.
3583 2001-10-31  Akim Demaille  <akim@epita.fr>
3585         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
3586         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
3587         provided, while it is optional.
3588         * configure.ac: Adjust.
3590 2001-10-26  Paul Eggert  <eggert@twinsun.com>
3592         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
3593           lib/Autom4te/Struct.pm:
3594         Require Perl 5.005_03 instead of just 5.005, as some tests fail
3595         with 5.005_02.
3597         * doc/autoconf.texi (Special Shell Variables): Document some
3598         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
3600         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
3601         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
3602         eval $LINENO is not portable in practice.
3604 2001-10-24  Akim Demaille  <akim@epita.fr>
3606         * lib/Autom4te/General.pm (backname): New.
3608 2001-10-24  Akim Demaille  <akim@epita.fr>
3610         * m4/: Remove, merged into...
3611         * config/: here.
3613 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
3615         * doc/autoconf.texi (Shellology): Mention the problems with bash
3616         2.05's use of ANSI quoting in its `set' builtin.
3618 2001-10-22  Paul Eggert  <eggert@twinsun.com>
3620         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
3621         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3622         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3623         POSIX decided to standardize on the int flavor of strerror_r.
3624         Always do char* test, as there's no reason not to.
3625         Assign to a char* var, to catch strerror_r that returns int*.
3627         * doc/autoconf.texi (Particular Functions):
3628         Document the above changes.  Also, document the fact that
3629         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
3631         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
3633 2001-10-20  Akim Demaille  <akim@epita.fr>
3635         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
3636         the executable was missing from the log.
3638 2001-10-20  Akim Demaille  <akim@epita.fr>
3640         * lib/Autom4te/General.pm (&update_file): If destination is
3641         unchanged, remove the source.
3642         (&up_to_date_p): Don't be verbose, be debug.
3643         * bin/autoreconf.in: No longer support --m4dir.
3644         (&autoreconf): Display the full path of the configure.ac we are
3645         studying.
3646         Trace it only once.
3647         Be sure to honor --force with gettextize.
3648         Always run aclocal.
3649         * doc/autoconf.texi: Adjust.
3651 2001-10-20  Akim Demaille  <akim@epita.fr>
3653         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
3654         Remove, dead.
3655         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
3656         `intl' is already present, as it refuses unless --force.
3657         (&parse_args): Use -I, --include instead of the old Autoconf
3658         options.
3659         ($localdir, $autoconf_dir): Remove.
3660         (@include): New.
3661         (&maybe_autoreconf): New, to preserve $_ for File::Find.
3663 2001-10-19  Jens Petersen  <petersen@redhat.com>
3665         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
3666         * doc/autoconf.texi (Particular Programs): Likewise.
3668 2001-10-19  Akim Demaille  <akim@epita.fr>
3670         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
3671         file in @configure_input@.
3672         Don't mention `automatically' in addition to `generated'.
3673         * tests/torture.at (#define header templates): Adjust.
3675 2001-10-19  Akim Demaille  <akim@epita.fr>
3677         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
3678         comment, explain how to install automatic mode selection.
3679         From Russ Allbery.
3681 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
3683         * bin/autoreconf.in (autoreconf): Display the path to the
3684         configure.ac being studied.
3686 2001-10-18  Paul Eggert  <eggert@twinsun.com>
3688         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
3689         long, to work around a bug in the HP C compiler version HP92453-01
3690         B.11.11.23709.GP.
3692         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
3693         (AS_BASENAME_EXPR): New macro.
3694         (AS_BASENAME_SED): Do not assume GNU sed semantics.
3695         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
3696         and fall back on 'sed' only if the other two fail.  This makes
3697         AS_BASENAME act more like AS_DIRNAME.
3698         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
3699         contains white space.
3700         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
3701         Use AS_DIRNAME, since I think it's now DOS-friendly.
3702         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
3703         Allow "dirname //FOO" to return either / or //, as POSIX allows
3704         either behavior.
3706 2001-10-10  Akim Demaille  <akim@epita.fr>
3708         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
3709         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
3710         From Eric Sharkey.
3712 2001-10-10  Akim Demaille  <akim@epita.fr>
3714         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
3715         m4_define, since...
3716         (_AS_ECHO_N): AS_REQUIREs it.
3718 2001-10-10  Akim Demaille  <akim@epita.fr>
3720         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
3721         (AC_INCLUDES_DEFAULT): Move to...
3722         * lib/autoconf/headers.m4: here.
3723         * lib/autoconf/types.m4: Comment changes.
3724         * doc/autoconf.texi: Specify where the default includes are used
3725         in the macro prototypes.
3727 2001-10-09  Akim Demaille  <akim@epita.fr>
3729         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
3730         transition code.
3732 2001-10-08  Akim Demaille  <akim@epita.fr>
3734         * bin/autoreconf.in (&autoreconf): Remove debugging code.
3735         (&parse_args): Pass verbosity/debugging options to subtools when
3736         --debug, not when --verbose.
3737         * lib/autom4te.in (Autoreconf-preselections): New.
3738         (Autoconf): Use it.
3740 2001-10-08  Akim Demaille  <akim@epita.fr>
3742         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
3744 2001-10-08  Akim Demaille  <akim@epita.fr>
3746         * doc/autoconf.texi (autoreconf Invocation): Adjust.
3747         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
3749 2001-10-08  Akim Demaille  <akim@epita.fr>
3751         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
3752         (Syntax of the shell scripts): Don't.
3753         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
3754         bother with $force since...
3755         * lib/Autom4te/General.pm: does.
3757 2001-10-08  Akim Demaille  <akim@epita.fr>
3759         * bin/autoreconf.in: Rewrite in Perl.
3760         * configure.ac: Adjust.
3761         * lib/Autom4te/General.pm (&up_to_date_p): New.
3762         * bin/autom4te.in (&up_to_date_p): Use it.
3763         Rename as...
3764         (&up_to_date): this.
3766 2001-10-08  Akim Demaille  <akim@epita.fr>
3768         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
3769         (m4_list_cmp): Use $0 to reinvoke yourself.
3770         (m4_patsubsts): New.
3771         (m4_strip, m4_version_unletter): Use it.
3772         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
3774 2001-10-08  Akim Demaille  <akim@epita.fr>
3776         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
3777         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
3778         * lib/autoconf/types.m4, lib/autotest/general.m4,
3779         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
3780         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
3781         m4_bregexp, m4_bpatsubst, and m4_bmatch.
3782         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
3784 2001-10-08  Akim Demaille  <akim@epita.fr>
3786         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
3788 2001-10-08  Akim Demaille  <akim@epita.fr>
3790         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
3791         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
3792         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
3793         * tests/tools.at, tests/m4sh.at: Use it.
3794         * tests/m4sh.at: Don't rely on Autoconf macros.
3795         (DIRNAME_TEST): Also exercise the expr variant.
3796         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
3797         preferred M4sugar extension is now `.4s'.
3798         * tests/README: Remove.
3800 2001-10-08  Akim Demaille  <akim@epita.fr>
3802         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
3803         (m4_provide_if): this.
3804         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
3805         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
3806         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
3807         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
3809 2001-10-08  Akim Demaille  <akim@epita.fr>
3811         Use `add-log-current-defun-function' for ChangeLog creation.
3812         Suggested by Tom Tromey.
3814         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
3815         (autotest-mode): Adjust.
3816         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
3817         'comment-region onto `C-c ;'.
3818         Comments are `#', not `dnl'.
3819         (autoconf-current-defun): New.
3820         (autoconf-font-lock-keywords): Recognize `m4_defun'.
3822 2001-10-08  Akim Demaille  <akim@epita.fr>
3824         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
3825         * lib/m4sugar/m4sh.m4: here.
3826         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
3827         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
3828         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
3829         include handle the m4_pattern_*, no longer push the
3830         BODY diversion nor set the /bin/sh line, AS_INIT does it.
3831         * lib/autotest/general.m4 (AT_INIT): Likewise.
3832         * tests/base.at: Adjust the tests to use AS_INIT.
3833         * tests/tools.at (AT_DATA_FORBIDDEN): New.
3834         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
3835         Autoconf.
3837 2001-10-07  Paul Eggert  <eggert@twinsun.com>
3839         * doc/autoconf.texi (config.status Invocation):
3840         CONFIG_SHELL defaults to a shell that supports LINENO if available.
3842         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
3843         shell does not support LINENO, and if CONFIG_SHELL is unset or
3844         empty, and if we can find a shell that does support LINENO,
3845         then set CONFIG_SHELL to that shell and then re-execute
3846         ourselves with CONFIG_SHELL.
3848 2001-10-05  Paul Eggert  <eggert@twinsun.com>
3850         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
3851         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
3852         build of $(TESTSUITE).
3854 2001-10-05  Akim Demaille  <akim@epita.fr>
3856         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
3857         iff we are a bareword.
3858         Reported by Raja R Harinath.
3860 2001-10-05  Akim Demaille  <akim@epita.fr>
3862         * tests/m4sh.at (LINENO): New.
3863         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
3864         PATH_SEPARATOR before using it.
3865         Fix the absolute path case/esac pattern.
3866         Provide $0 as fallback for as_myself.
3867         Reported by Raja R Harinath.
3869 2001-10-05  Akim Demaille  <akim@epita.fr>
3871         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
3872         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
3874 2001-10-05  Akim Demaille  <akim@epita.fr>
3876         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
3877         (AS_SHELL_SANITIZE): here.  Use it.
3878         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
3879         From Paul Eggert.
3881 2001-10-04  Akim Demaille  <akim@epita.fr>
3883         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
3884         combination of Awk and sed to replace $LINENO.
3886 2001-10-02  Paul Eggert  <eggert@twinsun.com>
3888         * doc/autoconf.texi (Limitations of Builtins): You can't use
3889         "source"; it's not portable.  Remove confusing and
3890         somewhat-incorrect example involving "." and "/".
3892         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
3893         compatibility with POSIX shells.
3895 2001-10-02  Akim Demaille  <akim@epita.fr>
3897         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
3898         instead of exec'ing to preserve $0 and $@.
3900 2001-10-01  Akim Demaille  <akim@epita.fr>
3902         * tests/testsuite (AT_INIT) <at_pass_list>: New.
3903         Don't run twice the same test.
3905 2001-10-01  Akim Demaille  <akim@epita.fr>
3907         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
3908         No longer output the list of tests.
3909         <--list>: New option.
3910         <--full-help>: Remove.
3911         Complete the short/long options duality.
3912         Various small adjustments.
3914 2001-10-01  Akim Demaille  <akim@epita.fr>
3916         * doc/autoconf.texi: Use @kbd for user input.
3917         Always use `$' as shell prompt.
3919 2001-09-30  Paul Eggert  <eggert@twinsun.com>
3921         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
3922         Don't use nested parenthesization.  This patch was originally
3923         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
3924         but somehow it didn't get incorporated then.
3925         * doc/autoconf.texi (Limitations of Usual Tools):
3926         Clarify remark about sed and nested parenthesization.
3928         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
3929         Report an error if the size cannot be determined even though
3930         the type exists.
3931         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
3932         Check for `expr' arithmetic overflow, and for compilation failure,
3933         and invoke a new argument $4 if either is discovered.
3934         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
3935         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
3937 2001-09-28  Akim Demaille  <akim@epita.fr>
3939         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
3940         * m4/lispdir.m4: New.
3941         * aclocal.m4, configure.ac: Adjust.
3943 2001-09-28  Akim Demaille  <akim@epita.fr>
3945         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
3946         (AT_TESTED): this.
3947         (AT_INIT): More the wrapped section to where it will be expanded.
3948         Output `AT_tested' only when existing.
3949         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
3951 2001-09-27  Akim Demaille  <akim@epita.fr>
3953         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
3954         generates too many bug reports.
3956         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
3957         status when executing the ACTION-IF-FALSE.
3958         * tests/base.at (AC_TRY_*): Rename as...
3959         (AC_TRY_COMMAND): this.
3960         (AC_RUN_IFELSE): New.
3961         * tests/compile.at (Extensions, C keywords)
3962         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
3963         (Broken/missing compilers, AC_PROG_CPP with warnings)
3964         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
3965         * tests/c.at (Extensions, C keywords)
3966         (Broken/missing compilers, AC_PROG_CPP with warnings)
3967         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
3968         (AC_PROG_CPP requires AC_PROG_CC): here and...
3969         * tests/fortran.at (GNU Fortran 77): there.
3970         * doc/autoconf.texi (autoconf Invocation): Fix the example:
3971         AC_TRY_RUN is about compilation, not shell commands.
3972         (Test Programs): AC_TRY_RUN works as used to be advertised.
3974 2001-09-27  Akim Demaille  <akim@epita.fr>
3976         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
3977         Raja R Harinath:
3978         Be sure to detect when $LINENO always returns the same value.
3979         Look for the original script, basename($0) is certainly not
3980         enough.
3981         Pass the CLI arguments to `$as_me.lineno'.
3983 2001-09-25  Akim Demaille  <akim@epita.fr>
3985         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
3986         Be sure the close and reopen the LOG fd before and after using tee
3987         to extend the log.
3988         <at_tests_pattern>: Adjust to the new format of at_help_all.
3990 2001-09-23  Akim Demaille  <akim@epita.fr>
3992         * bin/autom4te.in (parse_args): There can be several invocations
3993         of --language now.
3995 2001-09-23  Akim Demaille  <akim@epita.fr>
3997         * doc/autoconf.texi (Top): Wrap in @ifnottex.
3999 2001-09-23  Akim Demaille  <akim@epita.fr>
4001         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
4002         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
4003         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
4004         builddir, buildpath, top_builddir, and top_buildpath.
4005         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
4006         the current directory.
4007         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
4008         variables *before* changing the current directory.
4009         Skip nonexistent dirs.
4010         * doc/autoconf.texi (Preset Output Variables): Document these
4011         variables.
4013         * lib/autotest/general.m4: Do not reset AT_victims.
4014         Don't compute at_srcdir nor at_top_srcdir.
4016         * tests/tools.at: Hence use top_srcdir.
4018         * tests/Makefile.am, tests/autoconf, tests/autoheader,
4019         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
4020         Remove.
4021         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
4022         * tests/wrapsh.in, tests/autoupdate.in: New.
4023         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
4024         * configure.ac: Build the position independent wrappers.
4026         * man/Makefile.am: Now that test wrappers are position
4027         independent, use them and drop dark envvar magic.
4029 2001-09-23  Akim Demaille  <akim@epita.fr>
4031         * doc/autoconf.texi (Common Shell Constructs): Rename as...
4032         (Programming in M4sh): this.
4033         Promote to @section.
4035 2001-09-23  Akim Demaille  <akim@epita.fr>
4037         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
4038         Pass $at_debug_args to the rerun test suite.
4039         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
4040         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
4041         From Paul Eggert.
4043 2001-09-23  Akim Demaille  <akim@epita.fr>
4045         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
4047 2001-09-23  Akim Demaille  <akim@epita.fr>
4049         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
4050         over-escaping.
4052 2001-09-23  Akim Demaille  <akim@epita.fr>
4054         * lib/Autom4te/General.pm (&debug): New.
4055         * bin/autom4te.in ($language): Move to...
4056         (parse_args): here.
4057         Handle --language in languages.
4058         * lib/autom4te.in (Automake-selections, Autoheader-selections)
4059         (Autoscan-selections): New.
4060         (Autoconf): Adjust.
4062 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
4064         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
4065         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
4066         to match current versions from CVS Automake.
4068 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
4070         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
4071         for $LINENO.
4073 2001-09-22  Akim Demaille  <akim@epita.fr>
4075         * lib/autoconf/autotest.m4: Create `package.m4'.
4076         * tests/Makefile.am (package.m4): Remove.
4078 2001-09-22  Akim Demaille  <akim@epita.fr>
4080         Rely on `$LINENO' when possible instead of `__oline__'.
4082         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
4083         `$LINENO' support replacement when not supported.
4084         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
4085         them explicitly to be sure they are not output before this section
4086         (via m4_require).  Cosmetic only.
4087         * lib/autoconf/c.m4, lib/autoconf/general.m4,
4088         * lib/autoconf/programs.m4: Replace all the occurrences of
4089         `__oline__' with `$LINENO'.
4090         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
4092 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
4094         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
4095         character (u: -> ue) in a code comment.
4096         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
4097         it works.
4099 2001-09-21  Akim Demaille  <akim@epita.fr>
4101         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
4102         Suggested by Jim Meyering.
4104 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4106         * lib/autoconf/programs.m4: Use extensions listed in
4107         $ac_executable_extensions when looking for programs.
4109 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4111         * lib/autoconf/general.m4: Fix a small Englisho.
4112         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
4113         setting up ac_dir_suffix and ac_top_builddir.
4114         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
4116 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4118         * doc/autoconf.texi (File System Conventions): Clarify the use of
4119         PATH_SEPARATOR.
4120         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
4121         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
4122         be used instead of ':'.
4123         * lib/autotest/general.m4: Replace occurrences of ':' in
4124         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
4126 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4128         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
4129         arguments.  Fixed a typo.
4131 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4133         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
4134         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
4136 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4138         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
4139         * bin/autoupdate.in: Ditto.
4140         * bin/autoheader.in: Reworded a few comments.
4141         * bin/autoconf.in: Reworded help text for a few options.
4142         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4143         * bin/autoscan.in, bin/autoupdate.in: Ditto.
4145 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4147         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
4148         already have $file).  Set output files to binary mode (helps avoid
4149         CR issues on DOSish systems).
4151 2001-09-19  Akim Demaille  <akim@epita.fr>
4153         * lib/autotest/general.m4: Englishoes.
4154         From Tim Van Holder and Alexey Mahotkin.
4156 2001-09-18  Paul Eggert  <eggert@twinsun.com>
4158         * doc/autoconf.texi (Common Shell Constructs): New node,
4159         documenting AS_DIRNAME.
4160         (Limitations of Usual Tools): Refer to it when discussing dirname.
4161         Also, update discussion of POSIX standard to reflect latest draft.
4163         * lib/autoconf/c.m4:
4164         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
4166         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4167         Do not pass a first argument with leading '-'
4168         to expr, by parenthesizing initial integers that might be negative.
4170         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
4171         now merely checks whether it is an error to pass an argument
4172         to getpgrp.
4174         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
4175         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
4176         whether it is a (compile-time) error to pass an argument to
4177         getpgrp.  This simpler test supports the revised documentation,
4178         and is all that AC_FUNC_GETPGRP's users really need.
4180 2001-09-18  Akim Demaille  <akim@epita.fr>
4182         * doc/autoconf.texi (Limitations of Make) <$<>: New.
4184 2001-09-18  Akim Demaille  <akim@epita.fr>
4186         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
4187         `{}'.
4188         * lib/autotest/general.m4 (AT_INIT): Adjust.
4190 2001-09-18  Paul Wagland   <paul@wagland.net>
4192         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
4193         correctly.
4194         Add test for AS_BASENAME.
4195         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
4196         added test. It now correctly handles /1/2/3/, returning '3' not ''.
4197         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
4198         * tests/base.at: Fixed the expected responses. The old ones were
4199         one line out...
4200         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
4201         the documentation claims it should (and how it behaved in 2.13).
4203 2001-09-18  Akim Demaille  <akim@epita.fr>
4205         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
4206         the AC_CONFIG_COMMANDS invocation.
4207         This also solves the name clash problems.
4208         Don't set the package's ID.
4209         * lib/m4sugar/Makefile.am (version.m4): Revamp.
4210         No longer to be shipped.
4211         (version.in): Remove.
4212         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
4213         * lib/autoconf/status.m4: Adjust.
4214         Use `m4_PACKAGE_STRING'.
4215         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
4216         the only optional argument is the name of the test suite.
4217         Expect `package.m4' to define the package signature.
4218         * lib/autom4te.in (Autotest): Add `package.m4?'.
4219         * tests/Makefile.am (package.m4): New.
4220         * tests/suite.at: ifnames is a victim.
4222 2001-09-18  Akim Demaille  <akim@epita.fr>
4224         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
4225         AC_LIBSOURCE, AC_CONFIG_FILES.
4226         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
4227         program version string doesn't match the package's.
4228         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
4229         after `(cached)'.
4231 2001-09-17  Paul Eggert  <eggert@twinsun.com>
4233         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4234         Allow expression to return any value that can fit into unsigned long
4235         (not int, as before).  Check for output errors.
4237 2001-09-17  Bruno Haible <haible@ilog.fr>
4239         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4240         Always include <stdio.h> and <stdlib.h>. Evaluate
4241         the expression in an extra function before these includes. Call
4242         fprintf "%d" only after ensuring the argument is of type 'int'.
4243         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
4245 2001-09-17  Paul Eggert  <eggert@twinsun.com>
4247         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
4248         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
4249         fatal errors, and AC_CHECK_LIB causes it to include libraries even
4250         when they don't exist.
4252         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
4253         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
4254         need it.
4256         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
4257         version with the version used by fileutils 4.1, except use
4258         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
4259         we don't need it.
4261         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
4263 2001-09-13  Akim Demaille  <akim@epita.fr>
4265         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
4266         _first_.
4267         Reported by Gerrit P. Haase.
4269 2001-09-13  Akim Demaille  <akim@epita.fr>
4271         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
4272         m4_defn'ing is valid.
4274 2001-09-13  Akim Demaille  <akim@epita.fr>
4276         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
4277         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
4278         Use it.
4280 2001-09-13  Akim Demaille  <akim@epita.fr>
4282         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
4283         m4_match.
4284         (m4_re_escape): New.
4285         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
4286         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
4287         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
4288         Likewise.
4289         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
4290         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
4291         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
4292         AT_tests_all for consistency.
4293         Set at_victims.
4294         (AT_VICTIMS): Similar to AT_KEYWORDS.
4295         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
4297 2001-09-13  Akim Demaille  <akim@epita.fr>
4299         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
4301 2001-09-13  Akim Demaille  <akim@epita.fr>
4303         * lib/autotest/general.m4 (AT_INIT): Create and remove
4304         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
4305         test suites can cohabit.
4307 2001-09-13  Akim Demaille  <akim@epita.fr>
4309         * tests/mktests.sh: Don't output banners for empty test files.
4311 2001-09-13  Akim Demaille  <akim@epita.fr>
4313         Test suites can be run independently of configure.
4315         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
4316         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
4317         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
4318         ECHO_N etc.
4319         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
4320         and at_c.
4321         * lib/autotest/general.m4: Use ECHO_*.
4323 2001-09-13  Akim Demaille  <akim@epita.fr>
4325         * bin/ifnames.in: Rewrite in Perl.
4326         * configure.ac: Don't look for AWK.
4327         * tests/tools.at (AWK portability): Remove.
4328         (Syntax of the shell scripts): Don't check ifnames.
4329         (AT_CHECK_PERL_SYNTAX): New.
4330         (Syntax of the Perl scripts): Check ifnames.
4331         * tests/ifnames: New.
4333 2001-09-13  Akim Demaille  <akim@epita.fr>
4335         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
4336         test group titles.
4337         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
4338         Remove all the other keywords.
4340 2001-09-10  Akim Demaille  <akim@epita.fr>
4342         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
4343         SETUP: no longer used.
4344         Support -k, --keywords.
4345         <at_help>: Be `no', `short', or `long'.
4346         <at_help_all>: New variable.
4347         (AT_KEYWORDS): New.
4348         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
4349         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
4350         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
4351         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
4352         No longer fill the HELP diversion.
4353         (AT_CLEANUP): Use them.
4354         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
4355         (m4_list_append): Remove.
4357         Spread a few keywords in the Autoconf test suite.
4359 2001-09-10  Akim Demaille  <akim@epita.fr>
4361         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
4362         PATH_SEPARATOR, let M4sh compute it.
4363         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
4364         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
4365         Move to...
4366         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
4367         Simplify when the path is not a literal.
4368         (AS_UNAME): Use it to report PATH.
4369         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
4370         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
4371         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
4372         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
4373         normalize the path, and to look for victims.
4374         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
4375         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
4377 2001-09-07  Akim Demaille  <akim@epita.fr>
4379         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
4380         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
4381         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
4382         related variables into `at_package_*'.
4383         * lib/autotest/general.m4 (AT_VICTIMS): New.
4384         (AT_INIT): Adjust for stand-alone/embedded test suites.
4385         (AS_MESSAGE_LOG_FD): Define and use it.
4386         * tests/suite.at (AT_VICTIMS): Use it.
4387         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
4388         at_version.
4390 2001-09-07  Akim Demaille  <akim@epita.fr>
4392         Move toward possibly stand-alone test suites.
4394         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
4395         in addition, it introduces useless differences in logs.
4396         (AT_INIT): Let atconfig and atlocal be both optional.
4397         Adjust PATH computation.
4398         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
4400 2001-09-07  Akim Demaille  <akim@epita.fr>
4402         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
4403         m4sugar/version.m4.
4405 2001-09-05  Akim Demaille  <akim@epita.fr>
4407         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
4408         to avoid GCC warnings.
4409         From Uwe Seimet.
4411 2001-09-05  Akim Demaille  <akim@epita.fr>
4413         * bin/autom4te.in: --language is -l, not -s.
4415 2001-09-05  Akim Demaille  <akim@epita.fr>
4417         Be ready to handle filenames as stupid as `dnl.at', for if even
4418         the maintainer is dumb enough to do that...
4420         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
4421         excellence in M4 quotation: consider `__file__' is active.
4423         And BTW, when invoking m4, pass the --include in the right order:
4424         the wrong one.
4426         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
4427         4m.
4429 2001-09-05  Akim Demaille  <akim@epita.fr>
4431         * lib/Autom4te/XFile.pm: New lib file.
4432         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
4433         * bin/autoheader.in: Use it.
4435 2001-09-05  Akim Demaille  <akim@epita.fr>
4437         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
4438         defined.
4440 2001-09-05  Akim Demaille  <akim@epita.fr>
4442         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
4443         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
4445         * bin/autoscan.in: Use `getopt' and `find_files' etc.
4446         Add -I, --include support.
4447         * doc/autoconf.texi (autoscan Invocation): Adjust.
4449 2001-09-05  Akim Demaille  <akim@epita.fr>
4451         CVS GNU M4 doesn't like `undefine(undefined)'.
4453         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
4454         New, extracted from main.
4455         Use IO::File wherever possible.
4456         (input.m4): Be constant, use -I instead of hard coding $tmp.
4457         Therefore be a quoted heredoc.
4458         Don't invoke `_au_disable', since ac was not loaded, but just
4459         `unm4.m4'.
4461 2001-08-31  Akim Demaille  <akim@epita.fr>
4463         Version 2.52d.
4465 2001-08-31  Akim Demaille  <akim@epita.fr>
4467         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
4468         previous patch.
4469         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
4471 2001-08-31  Akim Demaille  <akim@epita.fr>
4473         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
4474         serious problems handling heredocs in heredocs.
4475         Reported by Nicolas Joly.
4477 2001-08-31  Akim Demaille  <akim@epita.fr>
4479         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
4480         (Making testsuite Scripts): Update.
4482 2001-08-31  Akim Demaille  <akim@epita.fr>
4484         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
4486 2001-08-31  Akim Demaille  <akim@epita.fr>
4488         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
4489         (testsuite Scripts): There is no such thing as `atconfig.in'.
4490         And actually one diagram is missing: test suite runtime.
4492 2001-08-31  Akim Demaille  <akim@epita.fr>
4494         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
4495         inverse order.
4497 2001-08-31  Akim Demaille  <akim@epita.fr>
4499         * bin/autoupdate.in (@include): `installcheck' revealed the path
4500         to m4sugar was lacking!
4502 2001-08-31  Akim Demaille  <akim@epita.fr>
4504         * man/Makefile.am (.x.1): We really have to pass
4505         autom4te_perllibdir.
4507 2001-08-31  Akim Demaille  <akim@epita.fr>
4509         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
4510         debug scripts, in particular passing explicitly listed tests to
4511         run is stupid.
4513 2001-08-31  Akim Demaille  <akim@epita.fr>
4515         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
4516         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
4517         Use directly autom4te, not autoconf.
4518         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
4520 2001-08-31  Akim Demaille  <akim@epita.fr>
4522         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
4523         * bin/autoheader.in (%symbol): Strip arguments of macros.
4525 2001-08-31  Akim Demaille  <akim@epita.fr>
4527         * doc/autoconf.texi: Catch up -I, --include changes.
4529 2001-08-31  Akim Demaille  <akim@epita.fr>
4531         * bin/autom4te.in (&parse_args): Die on unknown languages.
4532         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
4533         need for autoconf.
4534         Promote --include over --macrodir and other obsolete options.
4536 2001-08-31  Akim Demaille  <akim@epita.fr>
4538         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
4539         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
4540         * bin/autom4te.in ($autoconf): Pass --force.
4541         `print $out' doesn't print `$_' but `$out'.
4542         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
4543         (autoheader): Pass --force since the test suite goes too fast for
4544         the time stamps.
4545         Adjust to the new autoheader messages.
4547 2001-08-31  Akim Demaille  <akim@epita.fr>
4549         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
4550         Check the completeness of the #template.
4551         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
4552         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
4553         invocation.
4555 2001-08-31  Akim Demaille  <akim@epita.fr>
4557         * lib/Autom4te/General.pm (&find_file, &update_file): New.
4558         * bin/autoupdate.in, bin/autoheader.in: Adjust.
4559         Drop AC_MACRODIR dead for real.
4560         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
4561         `autoheader: `config.hin' is created'.
4562         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
4564 2001-08-31  Akim Demaille  <akim@epita.fr>
4566         * bin/autoheader.in: Rewrite in Perl.
4567         * tests/autoheader: Adjust.
4569 2001-08-31  Akim Demaille  <akim@epita.fr>
4571         * bin/autoconf.in (--include, -I): New option.
4572         Map --localdir, --autoconf-dir onto it.
4573         Forward autom4te's options instead of interpreting them.
4574         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
4575         There is no such envvar since the inception of autom4te.cfg.
4576         * bin/autom4te.in (&parse_args): Uniquify `@include'.
4577         * bin/autoupdate.in: Adjust, and perform more control.
4578         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
4579         * tests/autoconf: Dittowise.
4581 2001-08-31  Akim Demaille  <akim@epita.fr>
4583         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
4584         * bin/autom4te.in (&find_file): Support `FILE?' standing for
4585         optionally `FILE'.
4586         Use -e, not -f, since /dev/null for instance is OK.
4587         (&parse_args): Adjust.
4588         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
4590 2001-08-31  Akim Demaille  <akim@epita.fr>
4592         * configure.ac: Also find tested executables in bin.
4593         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
4594         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
4595         installed peer executables, only PATH is allowed to resolve it.
4596         Pass `autoconf_dir' via options, not via invisible envvars.
4597         * lib/Autom4te/General.pm (&find_peer): Remove.
4598         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
4599         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
4600         * man/Makefile.am: Let help2man rely on PATH instead of trying to
4601         find the executables for it.
4602         * tests/Makefile.am: Major cleanup.  Too lazy to document...
4603         * tests/atlocal.in: Remove all the obscure envvar manipulations.
4604         We only need PERL.
4605         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
4606         indeed related to running the test suite, while passing
4607         --autoconf-dir and others is related to running non installed
4608         Autoconf executables.  So don't do that, leave it to...
4609         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
4610         * tests/autoscan: New.
4611         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
4612         refer to library files: rely on --language.
4614 2001-08-29  Akim Demaille  <akim@epita.fr>
4616         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
4617         s/--set/--language/.
4619 2001-08-29  Akim Demaille  <akim@epita.fr>
4621         * doc/autoconf.texi: Strip the @nodes.
4622         Suggested by Paul Eggert.
4623         (Initializing configure): Typo.
4625 2001-08-29  Akim Demaille  <akim@epita.fr>
4627         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
4628         Suggested by Paul Eggert.
4630 2001-08-29  Akim Demaille  <akim@epita.fr>
4632         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
4633         download in a tmp dir.
4635 2001-08-29  Akim Demaille  <akim@epita.fr>
4637         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
4638         case insensitive OSes out there :(
4639         From Tim Van Holder.
4641 2001-08-29  Akim Demaille  <akim@epita.fr>
4643         * lib/autom4te.in: New.
4644         * lib/Makefile.am (edit, autom4te.cfg): New.
4645         * bin/autom4te.in (BEGIN): Simplify.
4646         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
4647         (&load_configuration): New.  Use it.
4648         (&parse_args): Support --mode, --set, and --melt.
4649         * bin/autoconf.in: Simplify and adjust.
4650         * tests/Makefile.am (AUTOMAKE): Use --set.
4651         * tests/atlocal.in: Adjust.
4652         * BUGS: distcheck and check are weak.
4654 2001-08-29  Akim Demaille  <akim@epita.fr>
4656         * lib/autotest/general.m4: Use
4657                 foo=`(command) 2>/dev/null`
4658         not
4659                 foo=`command` 2>/dev/null
4660         (at-devnull): Rename as...
4661         (AT-devnull): this.
4662         (--clean): Remove AT-* files too.
4663         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
4664         Reported by Nicolas Joly.
4666 2001-08-28  Akim Demaille  <akim@epita.fr>
4668         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
4669         quotes inside single quotes.
4670         Reported by Nicolas Joly.
4672 2001-08-28  Kevin Ryde  <user42@zip.com.au>
4674         * doc/autoconf.texi (Function Portability): Mention C right shifts.
4676 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
4678         * lib/autotest/general.m4: Reword some messages.
4679         (AT_INIT): Check for the `times' builtin before using it.
4680         Support test ranges as arguments to the testsuite.
4681         Have -e imply -d as the help text suggested.
4683 2001-08-27  Akim Demaille  <akim@epita.fr>
4685         * Makefile.maint: Formatting changes.
4686         (do-po-update, po-update, cvs-update, update): New targets.
4687         (AMTAR): Remove.
4689 2001-08-27  Akim Demaille  <akim@epita.fr>
4691         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
4692         <at_cmd_line>: New.
4693         Pass it to debug-*.sh scripts.
4694         <AUTOTEST_PATH>: May contain absolute dir names.
4696 2001-08-27  Akim Demaille  <akim@epita.fr>
4698         * lib/autotest/general.m4 (AT_INIT): Log the command line.
4699         Support `VAR=VAL' as arguments.
4700         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
4701         may be set via the command line.
4703 2001-08-27  Akim Demaille  <akim@epita.fr>
4705         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
4706         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
4707         first the build dirs, then the src dirs.
4708         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
4710 2001-08-27  Akim Demaille  <akim@epita.fr>
4712         * lib/autotest/general.m4 (AT_INIT): Output the definition of
4713         at_data_files earlier.
4714         (--clean, -c): New option.
4715         * tests/Makefile.am: Use this option.
4717 2001-08-27  Akim Demaille  <akim@epita.fr>
4719         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
4720         `ac_top_builddir' to mimic Automake's vocabulary, which much more
4721         readable.
4722         Adjust callers.
4723         * doc/autoconf.texi (Configuration Actions): Document the vars
4724         available in commands.
4725         Emphasize the risks of collisions in init-cmds.
4727 2001-08-27  Akim Demaille  <akim@epita.fr>
4729         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
4730         (Initializing configure): this new node.
4732 2001-08-27  Akim Demaille  <akim@epita.fr>
4734         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
4736 2001-08-27  Akim Demaille  <akim@epita.fr>
4738         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
4739         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
4740         New file.
4741         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
4743 2001-08-27  Akim Demaille  <akim@epita.fr>
4745         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
4746         to...
4747         * lib/autoconf/autoheader.m4: this new file.
4748         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
4749         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
4750         Move to...
4751         * lib/autoconf/autoupdate.m4: this new file.
4753 2001-08-27  Akim Demaille  <akim@epita.fr>
4755         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
4756         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
4757         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
4758         -> ac_dir).
4759         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
4760         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
4762 2001-08-27  Akim Demaille  <akim@epita.fr>
4764         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
4765         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
4766         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
4767         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
4768         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
4769         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
4770         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
4771         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
4772         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
4773         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
4774         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
4775         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
4776         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
4777         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
4778         (_AC_OUTPUT_SUBDIRS): Move to...
4779         * lib/autoconf/status.m4: this new file.
4780         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
4781         * tests/Makefile.am, tests/suite.at: Adjust.
4783 2001-08-27  Akim Demaille  <akim@epita.fr>
4785         Automake 1.5.
4787         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
4788         (AMTAR): Help automake define it.
4789         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
4790         needed, 1.5 can have a macro and a target with the same name.
4791         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
4792         * m4/strip.m4: New.
4793         * m4/init.m4, m4/sanity.m4: Update.
4794         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
4795         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
4796         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
4797         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
4799 2001-08-27  Akim Demaille  <akim@epita.fr>
4801         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
4803         * lib/autoconf/version.in: Remove.
4804         * lib/m4sugar/version.in: New.
4805         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
4806         Adjust callers.
4807         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
4808         the name of the directory they're in, instead of the filename,
4809         since version.m4 is now in m4sugar, but m4_acversion must not be
4810         classified as an Autoconf macro.
4811         ($input_m4): Don't qualify the path to m4sugar.
4812         Rather, pass autoconf_dir to m4.
4813         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
4814         * tests/suite.at: Require 2.52c.
4816 2001-08-27  Akim Demaille  <akim@epita.fr>
4818         testsuite.log should include config.log.
4820         * lib/autotest/autotest.m4: New.
4821         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
4822         * tests/suite.at : Adjust.
4823         (AT_INIT): Log config.log.
4824         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
4825         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
4826         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
4827         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
4828         of config.log on traps.
4829         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
4830         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
4831         for config.status'.
4832         Open the log as soon as possible.
4833         Use the same log introduction as configure's.
4835 2001-08-22  Paul Eggert  <eggert@twinsun.com>
4837         * doc/autoconf.texi (Indices): New node.
4838         Move indices out of the top level menu and into this submenu.
4840 2001-08-22  Akim Demaille  <akim@epita.fr>
4842         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
4843         AC_TRY_COMMAND.
4844         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
4846 2001-08-22  Akim Demaille  <akim@epita.fr>
4848         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
4849         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
4850         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
4851         * lib/autoconf/programs.m4: here.
4852         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
4853         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
4854         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
4855         * lib/autoconf/programs.m4: here.
4856         (_AC_DECL_YYTEXT): Rename as...
4857         (_AC_PROG_LEX_YYTEXT_DECL): this.
4858         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
4859         * tests/Makefile.am, tests/suite.am: Adjust.
4861 2001-08-22  Akim Demaille  <akim@epita.fr>
4863         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
4864         Move to...
4865         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
4866         here.
4867         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
4868         * lib/autoconf/functions.m4: here.
4869         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
4870         (AH_CHECK_LIB): Move to...
4871         * lib/autoconf/libs: this new file.
4872         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
4873         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
4874         * lib/autoconf/libs.m4: here.
4875         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
4877 2001-08-22  Akim Demaille  <akim@epita.fr>
4879         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
4880         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
4881         (AC_SITE_LOAD): Better logging of config.site.
4883 2001-08-20  Akim Demaille  <akim@epita.fr>
4885         * configure.ac (AT_CONFIG): Fix the path.
4886         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
4887         can be used.
4889 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
4891         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
4892         program with AC_LANG_PROGRAM before feeding it to
4893         AC_COMPILE_IFELSE.  Cleanup grep usage.
4895 2001-08-20  Akim Demaille  <akim@epita.fr>
4897         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
4898         * NEWS, README, README-alpha, TODO, tests/README: This package is
4899         `Autoconf', not `autoconf' (the executable).
4901 2001-08-20  Akim Demaille  <akim@epita.fr>
4903         Info readers seem to need `Index' in the index node title :(
4905         * doc/autoconf.texi: Reverse the 2001-08-15 change which
4906         simplified index node names.
4908 2001-08-20  Akim Demaille  <akim@epita.fr>
4910         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
4911         arguments are not literals.
4912         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
4913         Specify the output variables, and macros defined.
4915 2001-08-20  Akim Demaille  <akim@epita.fr>
4917         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
4918         (Examining Syntax) <AC_TRY_COMPILE>
4919         (Examining Libraries) <AC_TRY_LINK>
4920         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
4921         their arguments.
4922         Reported by Werner Lemberg.
4924 2001-08-20  Akim Demaille  <akim@epita.fr>
4926         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
4927         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
4928         Load atlocal late enough to dump it in the log.
4929         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
4931 2001-08-20  Akim Demaille  <akim@epita.fr>
4933         * tests/torture.at (Configuring subdirectories): New test.
4934         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
4935         looking for.
4936         * m4/atconfig.m4: Be sure the let $[0] be expandable.
4937         (top_srcdir): Fix its computation.
4939 2001-08-20  Akim Demaille  <akim@epita.fr>
4941         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
4942         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
4943         test suite lives.
4944         Create `atconfig' automagically.
4945         Configure atlocal.in if present.
4946         * tests/atconfig.in: Remove.
4947         * tests/atlocal.in: New.
4948         * tests/Makefile.am: Adjust.
4950 2001-08-20  Akim Demaille  <akim@epita.fr>
4952         Huh!?!?!  There are still some user EOF tags used, which prevents
4953         their use in AC_CONFIG_COMMANDS for instance...
4955         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
4956         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
4957         `_CSEOF', or `_ATEOF', as appropriate.
4958         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
4959         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
4961 2001-08-20  Akim Demaille  <akim@epita.fr>
4963         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
4964         * tests/semantics.at, tests/tools.at, tests/torture.at:
4965         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
4967 2001-08-20  Akim Demaille  <akim@epita.fr>
4969         Autotest invokes M4sh's initialization.
4971         * lib/autotest/general.m4: Adjust the diversion names.
4972         (AT_INIT): Run AS_INIT.
4973         Use the BINSH diversion to invoke /bin/sh.
4974         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
4975         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
4977 2001-08-20  Akim Demaille  <akim@epita.fr>
4979         Let M4sh have its own diversions.
4981         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
4982         (_m4_divert(NOTICE)): Rename as...
4983         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
4984         (_m4_divert(HEADER-COMMENT)): these.
4985         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
4986         (_m4_divert(NOTICE)): New, for Libtool.
4987         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
4988         long ago with `_m4_divert(GROW)'.
4989         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
4991 2001-08-20  Akim Demaille  <akim@epita.fr>
4993         * tests/base.at, tests/compile.at, tests/foreign.at,
4994         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
4995         * tests/semantics.at, tests/suite.at, tests/tools.at,
4996         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
4998 2001-08-20  Akim Demaille  <akim@epita.fr>
5000         * bin/autom4te.in (handle_output): Handle @__@.
5002 2001-08-20  Akim Demaille  <akim@epita.fr>
5004         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
5005         * lib/autotest/general.m4: Adjust the license.
5007 2001-08-17  Paul Eggert  <eggert@twinsun.com>
5009         * doc/autoconf.texi (Function Portability): Mention snprintf,
5010         following up on a suggestion by Kevin Ryde.
5012 2001-08-17  Akim Demaille  <akim@epita.fr>
5014         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
5015         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
5017 2001-08-17  Akim Demaille  <akim@epita.fr>
5019         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
5020         `$0.log' as for projects where testsuite is in src, we'd have
5021         testsuite.log created in src.
5023 2001-08-17  Akim Demaille  <akim@epita.fr>
5025         * bin/autom4te.in (&parse_args): Recognize --normalize.
5027 2001-08-17  Akim Demaille  <akim@epita.fr>
5029         Start implementing the AC_CHECK_HEADER transition scheme.
5031         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
5032         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
5033         (AC_CHECK_HEADER): Use them.
5035 2001-08-17  Akim Demaille  <akim@epita.fr>
5037         * doc/autoconf.texi: Work around Texinfo buglets.
5038         (Transformation Rules): One example is enough, users are expected
5039         to have their brains on. And BTW, use DESTDIR.
5040         (dvar): New macro.  Use it.
5042 2001-08-17  Akim Demaille  <akim@epita.fr>
5044         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
5045         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
5046         looking for ChangeLogs.
5048 2001-08-17  Akim Demaille  <akim@epita.fr>
5050         * bin/autom4te.in: --normalize is a new option.
5051         * bin/autoconf.in: Use it.
5053 2001-08-17  Akim Demaille  <akim@epita.fr>
5055         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
5056         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
5058 2001-08-16  Paul Eggert  <eggert@twinsun.com>
5060         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
5061         start, not at end.
5063 2001-08-15  Akim Demaille  <akim@epita.fr>
5065         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
5066         Use it.
5068 2001-08-15  Akim Demaille  <akim@epita.fr>
5070         * doc/autoconf.texi (pr): New index.
5071         (prindex, findex): Use, merge, and output them.
5072         (Environment Variable Index, Output Variable Index)
5073         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
5074         (Autotest Macro Index): Rename as...
5075         (Environment Variables, Output Variables,Preprocessor Symbols)
5076         (Autoconf Macros, M4 Macros, Autotest Macros): these.
5077         * doc/install.texi: Use @command.
5078         (Environment Variables): Rename as...
5079         (Defining Variables): this.
5081 2001-08-15  Akim Demaille  <akim@epita.fr>
5083         * doc/autoconf.texi (Function Portability): sprintf's return
5084         value.
5085         From Kevin Ryde.
5087 2001-08-15  Akim Demaille  <akim@epita.fr>
5089         * Makefile.maint (CVS): New.
5090         (local-check): Run changelog-check. last.
5091         (alpha): Don't depend upon local-check, since...
5092         (cvs-dist): depends upon it.
5094 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
5096         * tests/Makefile.am: Use a clean-local rule to remove
5097         autom4te.cache (it's a directory, not a file.
5098         * Makefile.am: Ditto (but maintainer-clean-local).
5100 2001-08-15  Akim Demaille  <akim@epita.fr>
5102         * bin/autom4te.in (@m4_warning): New.
5103         (&handle_m4): Use it.
5104         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
5105         warnings are issued at each run.
5106         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
5107         is in the src tree.
5109 2001-08-15  Akim Demaille  <akim@epita.fr>
5111         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
5112         don't waste time running `autoupdate --version' works.
5113         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
5115 2001-08-13  Akim Demaille  <akim@epita.fr>
5117         * doc/autoconf.texi (ma): Rename this index as...
5118         (ac): this.
5120 2001-08-13  Akim Demaille  <akim@epita.fr>
5122         * Makefile.am: Remove dead code and dead comments.
5123         (pdf, html): New targets.
5124         * doc/autoconf.texi (Using Autotest): New chapter.
5125         * doc/Makefile.am (pdf): New targets.
5126         (CLEANFILES): Adjust.
5128 2001-08-13  Akim Demaille  <akim@epita.fr>
5130         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
5131         duration of the test suite.
5133 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
5135         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
5136         endianness for comparison instead of relying on AT_CHECK_ENV.
5138 2001-08-11  Paul Eggert  <eggert@twinsun.com>
5140         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
5141         to the INSTALL file.
5143 2001-08-11  Paul Eggert  <eggert@twinsun.com>
5145         * NEWS: The autoconf manual now is distributed under the terms
5146         of the GNU Free Documentation License.
5148         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
5149         Add an appendix "Copying This Manual" for the FDL.
5151         * doc/fdl.texi: New file, from
5152         <http://www.gnu.org/licenses/fdl.texi>.
5154         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
5156 2001-08-10  Paul Eggert  <eggert@twinsun.com>
5158         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
5159         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
5160         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
5161         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
5162         m4/sanity.m4, tests/README, tests/aclocal.m4,
5163         tests/atspecific.m4, tests/base.at, tests/compile.at,
5164         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
5165         tests/semantics.at, tests/suite.at, tests/tools.at,
5166         tests/torture.at: Add copyright notice.
5168         * tests/mktests.sh: Update year in copyright notice.
5170 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
5172         * tests/semantics.at (AC_C_BIGENDIAN): New test.
5174 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
5176         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
5177         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
5178         * doc/autoconf.texi (C Compiler Characteristics): Update
5179         documentation for AC_C_BIGENDIAN.
5181 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
5183         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
5184         magic values from an object file when cross-compiling.
5185         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
5187 2001-08-10  Akim Demaille  <akim@epita.fr>
5189         * bin/autom4te.in (&handle_output): Don't use `grep' with side
5190         effects.
5191         Suggested by Russ Allbery.
5193 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
5195         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
5196         current $prefix to the sub-configures.
5198 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
5200         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
5201         extension (needed on BeOS).  Reported by Guido van Rossum.
5203 2001-08-09  Akim Demaille  <akim@epita.fr>
5205         * bin/autom4te.in ($icache): Load it only if older than autom4te.
5207 2001-08-07  Akim Demaille  <akim@epita.fr>
5209         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
5210         removed.
5211         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
5212         No need to remove the files before and after the each test, before
5213         each test and at the end of the suite is enough.
5214         Display only the children `times', not the shell's.
5215         If the test failed or was skipped, at-times is not available.
5217 2001-08-07  Akim Demaille  <akim@epita.fr>
5219         Always produce testsuite.log, including when there are no
5220         failures.  This helps getting information on skipped tests, and
5221         duration of the tests.  Err, implement the latter btw.
5223         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
5224         Dump information on the first run of each test.
5225         (AT_CLEANUP): Create `at-times' containing the duration of the
5226         test group.
5228 2001-08-07  Akim Demaille  <akim@epita.fr>
5230         The use of `dumpstat' revealed that `len' was used although it
5231         should not.  m4_text_wrap was using it, but in the Autoconf world
5232         where it is legal.  Hence (i) test M4sh in its own world, not
5233         Autoconf's, and (ii), ahem, fix the bug :)
5235         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
5236         does not like `' instead of [].
5237         (AT_INIT): Forbid `^_?AT_'.
5238         And don't output such tokens.
5239         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
5240         `script.as', and `autom4te.cache'.
5241         Remove `empty' and `macro' which are no longer used.
5242         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
5243         * tests/m4sugar.at: Use it.
5244         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
5246 2001-08-07  Akim Demaille  <akim@epita.fr>
5248         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
5250 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
5252         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
5254 2001-08-04  Akim Demaille  <akim@epita.fr>
5256         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
5257         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
5258         AC_TRY_LINK.
5259         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
5260         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
5261         (AC_F77_MAIN): Likewise.
5263 2001-08-04  Akim Demaille  <akim@epita.fr>
5265         Don't rely on M4sugar outputting the patterns in files, since we
5266         might process the output _without_ running m4, hence without these
5267         files.
5269         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
5270         * bin/autom4te.in (@Request::includes): Remove, unused.
5271         (@Request::source): Rename as...
5272         (@Request::input): this.
5273         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
5274         (&handle_output): Fetch the patterns from the traces.
5275         `$forbidden' and `$allowed' are constant: use m//o.
5276         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
5277         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
5279 2001-08-04  Akim Demaille  <akim@epita.fr>
5281         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
5282         autoconf', i.e., in addition to caching traces, cache the output.
5284         * bin/autom4te.in (Request::cache): Rename as...
5285         (Request::id): this.
5286         ($cache, $icache, $tcache, $ocache): New.
5287         (&handle_m4): Save M4 output in the cache instead of $tmp.
5288         (&handle_output): Adjust.
5289         (&up_to_date_p): Check that the output cache is up to date too.
5290         (top level): Run `&handle_m4' iff force or the cache is invalid.
5291         Run `&handle_output' if the output cache is more recent.
5293 2001-08-04  Akim Demaille  <akim@epita.fr>
5295         * bin/autom4te.in ($force): New.
5296         (&parse_args, &print_usage): -f, --force is a new option.
5297         (&handle_output): CPP directives might have spaces after `#'.
5298         (&parse_args): The first file only can be frozen.
5300 2001-08-04  Akim Demaille  <akim@epita.fr>
5302         Don't let autom4te compute the `include' traces several times:
5303         first check that the trace cache file is up to date, and then
5304         compare its timestamp with that of the output.
5306         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
5307         the preamble.  Don't require 5.005 as Autom4te::General does it,
5308         and better yet (use `use', not `require'!).
5309         * lib/Autom4te/Struct.pm: Rename the last occurrences of
5310         Class::Struct as Autom4te::Struct.
5311         * lib/Autom4te/General.pm (File::stat): Use it.
5312         (&mtime): New, export it.
5313         * bin/autom4te.in: Use it.
5314         Declare `$req' is invalid if it is outdated.
5315         Don't declare it valid before saving it if something went wrong.
5317 2001-08-04  Akim Demaille  <akim@epita.fr>
5319         Autom4te shall not encode Autoconf data, and preselecting traces
5320         must be proposed to the users.
5322         * bin/autom4te.in (@required_trace): Remove.
5323         (@preselect): New.
5324         (&parse_args, &print_usage): -p, --preselect is a new option.
5325         (&up_to_date_p): Adjust.
5326         * bin/autoconf.in: Preselect some Autoconf macros.
5328 2001-08-04  Akim Demaille  <akim@epita.fr>
5330         * tests/tools.at (autoconf --trace: user macros): Check traces on
5331         macros invoked without arguments, and macros invoked with multiple
5332         lines arguments.
5334 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
5336         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
5337         arguments.
5339 2001-08-03  Akim Demaille  <akim@epita.fr>
5341         * bin/autoconf.in ($@): Work around the usual sh bug.
5342         From Nicolas Joly.
5344 2001-08-03  Akim Demaille  <akim@epita.fr>
5346         Clean up the handling of the M4 builtins tracing exception.
5348         * bin/autom4te.in (Request::request): Don't complete M4 builtins
5349         trace requests.
5350         (@m4_builtins): Rename as...
5351         (@m4_builtin): this.
5352         (%m4_builtin_alternate_name): New.
5353         (&parse_args): Complete the trace requests with alternate names.
5354         (&handle_traces): Hence no longer do it here.
5355         (&trace_requests): Remove, unused.
5357 2001-08-03  Akim Demaille  <akim@epita.fr>
5359         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
5360         m4_if, and m4_wrap.
5362 2001-08-03  Akim Demaille  <akim@epita.fr>
5364         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
5365         (m4_divert_pop): Dump the whole diversion stack when a diversion
5366         mismatch happens.
5367         * bin/autom4te.in (&handle_output): Remember of the first
5368         occurrence of a possibly undefined macro, not the last.
5369         Complain about the possibly undefined macros in the same order as
5370         the appear in the output.
5371         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
5372         * tests/tools.at (autoconf: forbidden tokens, basic)
5373         (autoconf: forbidden tokens, exceptions): No longer sort
5374         autoconf's stderr, as it is now deterministic.
5375         Check that `dnl' is caught.
5377 2001-08-01  Akim Demaille  <akim@epita.fr>
5379         * configure.ac: Bump to 2.52c.
5381 2001-08-01  Akim Demaille  <akim@epita.fr>
5383         Version 2.52b.
5385         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
5387 2001-08-01  Akim Demaille  <akim@epita.fr>
5389         Version 2.52a.
5391 2001-08-01  Akim Demaille  <akim@epita.fr>
5393         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
5394         `die'.
5395         (&END): New.
5396         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
5397         `END', as `Autom4te::General::END' will be triggered.
5398         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
5399         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
5400         system to run `mv', `rm', and `cmp'.
5402 2001-08-01  Akim Demaille  <akim@epita.fr>
5404         * lib/Autom4te/General.pm (&unique): New.
5405         * bin/autoscan.in (&output): Use it to issue trace requests once.
5407 2001-08-01  Akim Demaille  <akim@epita.fr>
5409         * lib/Autom4te/General.pm: New.
5410         * bin/autom4te.in (Autom4te::General): Use it.
5411         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
5412         (&find_configure_ac, &find_slave): Remove.
5413         * bin/autoscan.in: Likewise.
5414         * bin/autoupdate.in: Likewise.
5416 2001-08-01  Akim Demaille  <akim@epita.fr>
5418         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
5419         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
5420         * bin: here, new directory.
5421         * lib/Autoconf: Rename as...
5422         * lib/Autom4te: this, to please case insensitive junkie OSes.
5424 2001-08-01  Akim Demaille  <akim@epita.fr>
5426         * autom4te.in ($m4): Handle the --nesting-limit.
5427         * autoconf.in (M4): Remove.
5429 2001-08-01  Akim Demaille  <akim@epita.fr>
5431         * autoconf.in ($AWK): Remove, no longer used.
5432         * test/tools.at: Use AT_CHECK_AUTOCONF.
5433         (AWK portability): Remove, for autoconf no longer uses AWK.
5434         (Syntax of the Perl scripts): New.
5435         * configure.ac: autoconf no longer needs an AWK with a good
5436         regexp engine.
5437         Use a static test on AC_PACKAGE_VERSION.
5438         * autom4te.in (&up_to_date_p): Output depends on the arguments.
5439         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
5440         * tests/atconfig.in (PERL): New.
5442 2001-08-01  Akim Demaille  <akim@epita.fr>
5444         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
5445         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
5446         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
5447         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
5448         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
5449         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
5450         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
5451         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
5452         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
5453         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
5454         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
5455         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
5456         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
5457         * lib/autoconf/c.m4: here, new file.
5459         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
5460         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
5461         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
5462         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
5463         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
5464         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
5465         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
5466         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
5467         (AC_F77_FUNC): Move to...
5468         * lib/autoconf/fortran.m4: here, new file.
5470 2001-08-01  Akim Demaille  <akim@epita.fr>
5472         * acfunctions.m4: Rename as...
5473         * lib/autoconf/functions.m4: this.
5474         * acgeneral.m4: Rename as...
5475         * lib/autoconf/general.m4: this.
5476         * acheaders.m4: Rename as...
5477         * lib/autoconf/headers.m4: this.
5478         * aclang.m4: Rename as...
5479         * lib/autoconf/lang.m4: this.
5480         * acoldnames.m4: Rename as...
5481         * lib/autoconf/oldnames.m4: this.
5482         * acspecific.m4: Rename as...
5483         * lib/autoconf/specific.m4: this.
5484         * actypes.m4: Rename as...
5485         * lib/autoconf/types.m4: this.
5486         * autoconf.m4: Rename as...
5487         * lib/autoconf/autoconf.m4: this.
5489         * m4sugar.m4: Rename as...
5490         * lib/m4sugar/m4sugar.m4: this.
5491         * m4sh.m4: Rename as...
5492         * lib/m4sugar/m4sh.m4: this.
5494         * tests/atgeneral.m4: Rename as...
5495         * lib/autotest/general.m4: this.
5497         * acfunctions: Rename as...
5498         * lib/autoscan/functions: this.
5499         * acheaders: Rename as...
5500         * lib/autoscan/headers: this.
5501         * acidentifiers: Rename as...
5502         * lib/autoscan/identifiers: this.
5503         * aclibraries: Rename as...
5504         * lib/autoscan/libraries: this.
5505         * acmakevars: Rename as...
5506         * lib/autoscan/makevars: this.
5507         * acprograms: Rename as...
5508         * lib/autoscan/programs: this.
5510 2001-08-01  Akim Demaille  <akim@epita.fr>
5512         * doc/autoconf.texi: Moving/deleting open files is not portable.
5513         Portability issues for `.' (source), and more information about sed.
5515 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
5517         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
5518         which has a special meaning and is not a reference to libibmil.a.
5519         Reported by Matteo Frigo.
5521 2001-07-25  Pavel Roskin  <proski@gnu.org>
5523         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
5524         output.
5526 2001-07-25  Akim Demaille  <akim@epita.fr>
5528         * autoconf.in: Try to define the variables before using them.
5529         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
5530         instead of `$perllibdir'.
5531         * tests/atconfig.in ($autom4te_perllibdir): Export it.
5533 2001-07-25  Akim Demaille  <akim@epita.fr>
5535         * autoconf.in (ac_LF_and_DOT): Remove, unused.
5537 2001-07-24  Akim Demaille  <akim@epita.fr>
5539         Let autoconf use autom4te for traces.
5541         * autoconf.in ($task, task trace): Remove, merely pass --trace to
5542         autom4te.
5543         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
5544         (Because I found no way for autom4te to accept `-').
5545         * autom4te.in (&Request::request): Beware of M4 builtins.
5546         (END): Don't try to remove the content of an empty dir.
5547         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
5548         (&handle_output): Set a default value to `$forbidden'.
5549         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
5550         ($autoconf): Pass --debug and --verbose.
5551         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
5552         cache.
5554 2001-07-24  Akim Demaille  <akim@epita.fr>
5556         Let autoconf use autom4te to create configure.
5558         * autoconf.in ($automate): New var.
5559         (task script): Use autom4te.
5560         * autom4te.in (File::Spec): Use it.
5561         (&find_file): New.
5562         (&parse_args): --warning is -W, not -w.
5563         Find the top level files.
5564         (&handle_m4): Pass the warnings flags.
5565         Don't report verbosely m4's failures, unless requested.
5566         (&handle_output): Don't complain for forbidden tokens in comments.
5567         Be sure to report all the forbidden tokens within a single line.
5568         (&trace_format_to_m4): Preserve `$_'.
5569         (&handle_traces): Sort the output macros.
5570         (&up_to_date_p): Find the files before trying to get its time stamp.
5572 2001-07-24  Akim Demaille  <akim@epita.fr>
5574         * Makefile.am: Ship, build and install Autom4te.
5575         (SUBDIRS): Add lib.
5576         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
5577         * configure.in: Require Perl.
5578         * man/autom4te.in: New.
5580 2001-07-19  Paul Eggert  <eggert@twinsun.com>
5582         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
5583         example, rather than (exit 1); exit (which isn't portable).
5585 2001-07-18  Akim Demaille  <akim@epita.fr>
5587         Version 2.52.
5589 2001-07-18  Akim Demaille  <akim@epita.fr>
5591         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
5592         was run, while they are needed also when it is expanded.
5593         Reported by Nicolas Joly.
5595         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
5596         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
5597         AC_F77_DUMMY_MAIN being expanded.
5599 2001-07-18  Akim Demaille  <akim@epita.fr>
5601         * configure.in: Bump to 2.51a.
5603 2001-07-17  Akim Demaille  <akim@epita.fr>
5605         Version 2.51.
5607 2001-07-17  Akim Demaille  <akim@epita.fr>
5609         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
5610         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
5612 2001-07-17  Akim Demaille  <akim@epita.fr>
5614         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
5615         used.  Well, then use the prototypes when you can, and runtime as
5616         a last resort.
5617         Reported by Artur Frysiak
5619         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
5620         (AC_FUNC_GETPGRP): Use it.
5621         First try to compile with 0-ary or 1-ary calls.
5623 2001-07-17  Akim Demaille  <akim@epita.fr>
5625         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
5626         replacement type.
5627         From Paul Eggert.
5629 2001-07-17  Akim Demaille  <akim@epita.fr>
5631         * Makefile.maint: Sync. with cppi 1.10.
5633 2001-07-17  Akim Demaille  <akim@epita.fr>
5635         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
5636         AC_F77_DUMMY_MAIN has been run.
5637         From Pavel Roskin and Steven G. Johnson.
5639 2001-07-17  Akim Demaille  <akim@epita.fr>
5641         * configure.in: Rename as...
5642         * configure.ac: this.
5644 2001-07-17  Akim Demaille  <akim@epita.fr>
5646         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
5647         rules.
5648         From Marc Espie.
5649         * Makefile.maint (release-archive-dir): Rename as...
5650         (release_archive_dir): this, so that it can be specialized in
5651         Makefile.
5653 2001-07-14  Akim Demaille  <akim@epita.fr>
5655         * configure.in: Bump to 2.50d.
5657 2001-07-14  Akim Demaille  <akim@epita.fr>
5659         Version 2.50c.
5660         * Makefile.maint (alpha): Typo.
5662 2001-07-14  Akim Demaille  <akim@epita.fr>
5664         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
5666 2001-07-14  Akim Demaille  <akim@epita.fr>
5668         * config/config.guess, config/config.sub, config/texinfo.tex
5669         * doc/standards.texi, doc/make-stds.texi: Update.
5671 2001-07-14  Akim Demaille  <akim@epita.fr>
5673         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
5675 2001-07-14  Akim Demaille  <akim@epita.fr>
5677         * Makefile.maint (maintainer-check): Rename as...
5678         (maintainer-distcheck): this.
5679         (changelog-check, static-check): New.
5680         Use them.
5682 2001-07-14  Kevin Ryde  <user42@zip.com.au>
5684         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
5685         for CXX is g++, not gcc.
5687 2001-07-14  Akim Demaille  <akim@epita.fr>
5689         * doc/autoconf.texi (Files): New subsection.
5691 2001-07-14  Akim Demaille  <akim@epita.fr>
5693         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
5694         of...
5695         (Generic Compiler Characteristics): this.
5696         (C++ Compiler): New subsection.
5698 2001-07-14  Akim Demaille  <akim@epita.fr>
5700         * autoscan.in: Use IO::File.
5701         Adjust all the routines to use it.
5702         ($log): New file (autoscan.log).
5703         (output): Dump detailed logs into $log, and a shortened version to
5704         stderr.
5705         (&scan_makefile): Refine the regexp catching tokens in the code.
5706         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
5707         and the `configure.ac' checking feature.
5709 2001-07-12  Akim Demaille  <akim@epita.fr>
5711         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
5712         Reported by Michael Elizabeth Chastain.
5714         * autoconf.in: Refuse such AWK.
5715         * configure.in: Likewise.
5716         * Makefile.am (acversion.m4): Do not use move-if-change this file
5717         has dependencies.
5718         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
5720 2001-07-10  Jens Petersen  <petersen@redhat.com>
5722         * autoscan.in (&scan_makefile): Improve programs regexp to parse
5723         things like "g++", "file.c" and "some-conf" as tokens.
5724         (&scan_file): Match C++ files extensions.
5725         If the filename extension is C++ then ask for c++.
5727 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
5729         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
5730         AC_TRY_LINK_FUNC, to check whether defining a dummy
5731         main-like routine is needed for linking with F77 libs.
5733 2001-07-05  Pavel Roskin  <proski@gnu.org>
5735         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
5736         after using break.
5737         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
5738         linking.
5740 2001-07-05  Akim Demaille  <akim@epita.fr>
5742         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
5743         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
5744         Makes' lives.
5745         Reported by Nicolas Joly.
5747 2001-07-04  Akim Demaille  <akim@epita.fr>
5749         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
5750         up.
5751         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
5752         warnings from compilers.
5753         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
5754         for all the compilers, not only GNU.  Hence move from here...
5755         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
5757 2001-07-04  Akim Demaille  <akim@epita.fr>
5759         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
5760         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
5761         AC_COMPILE_IFELSE.
5763 2001-07-04  Akim Demaille  <akim@epita.fr>
5765         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
5766         the ``strings.h'' change claimed below.
5768 2001-07-04  Akim Demaille  <akim@epita.fr>
5770         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
5772 2001-07-04  Akim Demaille  <akim@epita.fr>
5774         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
5775         strings.h if usable with string.h.
5776         Suggested by Paul Eggert.
5778 2001-07-04  Akim Demaille  <akim@epita.fr>
5780         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
5781         From Jens Petersen.
5783 2001-07-03  Akim Demaille  <akim@epita.fr>
5785         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
5786         etc. in the log.
5788 2001-07-03  Akim Demaille  <akim@epita.fr>
5790         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
5791         compiler, not the preprocessor.
5792         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
5793         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
5794         the right thing.
5795         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
5796         earlier if there are.
5798 2001-07-03  Akim Demaille  <akim@epita.fr>
5800         * autoscan.in ($initfile): Remove.
5801         (&find_file): Rename as...
5802         (&scan_file): this.
5803         Immediately scan the current file, instead of gathering them, and
5804         later having them handled by &scan_files.
5805         (&scan_files): Merely invoke Find::File.
5806         Adjust.
5808 2001-07-02  Akim Demaille  <akim@epita.fr>
5810         * autoscan.in: Formatting changes, matching the invocation order.
5811         (File::Find): Use it instead of Perl 4's `find.pl'.
5812         (&wanted): Rename as...
5813         (&find_file): this.
5815 2001-07-01  Pavel Roskin  <proski@gnu.org>
5817         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
5818         break in the argument to AC_TRY_LINK_FUNC.
5819         (AC_F77_MAIN): Remove conftest* after using break in the
5820         argument to AC_TRY_LINK.
5822 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
5824         Add alternate 'main' routine detection for linking C/C++ with Fortran,
5825         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
5827         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
5828         dummy alternate main is required even if the user provides her own
5829         'main'.
5830         (AC_F77_MAIN): New macro to detect whether it is possible to
5831         provide an alternate 'main' function name, using the 'main' from
5832         the Fortran libraries.
5833         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
5834         cross-language link tests can be performed successfully.
5835         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
5836         after $LIBS, for consistency; this should be the general rule since
5837         the user may want to link to Fortran libraries that require $FLIBS.
5838         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
5840 2001-06-29  Pavel Roskin  <proski@gnu.org>
5842         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
5843         at-stdout and at-stderr instead of removing the newline
5844         from the echo output, which is not guaranteed to work.
5846 2001-06-28  Jens Petersen  <petersen@redhat.com>
5848         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
5849         confdefs.h when non-zero.
5851 2001-06-28  Akim Demaille  <akim@epita.fr>
5853         * configure.in: Bump to 2.50c.
5855 2001-06-26  Akim Demaille  <akim@epita.fr>
5857         Version 2.50b.
5859 2001-06-26  Akim Demaille  <akim@epita.fr>
5861         Version 2.50a.
5863 2001-06-25  Pavel Roskin  <proski@gnu.org>
5865         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
5866         argument, AUTOCONF-FLAGS.
5867         * tests/mktests.sh (update_exclude_list): Add
5868         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
5869         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
5870         AC_FUNC_WAIT3 with "-W no-obsolete".
5872 2001-06-25  Akim Demaille  <akim@epita.fr>
5874         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
5876 2001-06-25  Akim Demaille  <akim@epita.fr>
5878         * autoscan.in (%macro): Now maps from word to list of macros.
5879         (&init_tables): Die when a word which is already handled by
5880         explicit macros is mapped to the default macro.
5881         (&print_unique): Remove, inlined in...
5882         (&output_kind): here.
5883         (File::Basename): Use it.
5884         (&output): Sort the CONFIG_FILES.
5885         * acheaders: Normalize.
5886         * acfunctions: Likewise.
5888 2001-06-25  Akim Demaille  <akim@epita.fr>
5890         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
5891         characteristics in the logs.
5892         Suggested by Mo DeJong.
5894 2001-06-24  Akim Demaille  <akim@epita.fr>
5896         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
5897         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
5898         * doc/autoconf.texi (Autoconf 2.13): New section.
5900 2001-06-24  Akim Demaille  <akim@epita.fr>
5902         * autoconf.in (Task traces): Separate the error messages from the
5903         traces to improve robustness.
5905 2001-06-23  Akim Demaille  <akim@epita.fr>
5907         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
5908         three as failures are unlikely, and speed matters.
5910 2001-06-23  Akim Demaille  <akim@epita.fr>
5912         * doc/autoconf.texi (Redefined M4 Macros): New.
5914 2001-06-23  Akim Demaille  <akim@epita.fr>
5916         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
5917         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
5918         5.3.
5920 2001-06-23  Paolo Bonzini <bonzini@gnu.org>
5922         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
5923         config.status targets to after the evaluation of the INIT-CMDS.
5924         Double quote config.status targets (used to be single quoted).
5926 2001-06-23  Akim Demaille  <akim@epita.fr>
5928         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
5929         Check the content of the created file.
5930         Check the ./config.status command line invocation.
5932 2001-06-23  Akim Demaille  <akim@epita.fr>
5934         * tests/foreign.at (Libtool): Reject prehistoric versions.
5936 2001-06-23  Akim Demaille  <akim@epita.fr>
5938         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
5939         preexisting files matching a.*.
5941 2001-06-23  Akim Demaille  <akim@epita.fr>
5943         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
5944         stderr.
5945         * doc/autoconf.texi (AC_ARG_VAR): Update.
5947 2001-06-21  Akim Demaille  <akim@epita.fr>
5949         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
5950         precious variables have changed.
5951         * tests/torture.at (AC_ARG_VAR): Adjust.
5953 2001-06-21  Akim Demaille  <akim@epita.fr>
5955         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
5956         but some sed choke on multiple `;', and other tools (e.g.,
5957         Automake), include the separator themselves.
5959         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
5961 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
5963         * doc/autoconf.texi (Functions Portability): Rename as...
5964         (Function Portability): this.
5965         (Function Portability): Document potential problems with unlink().
5967 2001-06-19  Paul Eggert  <eggert@twinsun.com>
5969         * NEWS, doc/autoconf.texi: Document quadrigraphs.
5971 2001-06-18  Akim Demaille  <akim@epita.fr>
5973         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
5975 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
5977         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
5978         (_AC_FUNC_VFORK): this.
5979         Remove AC_DEFINEs and don't guess cross-compilation values.
5980         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
5981         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
5982         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
5983         vfork doesn't work.
5984         Guess values if cross-compiling, but warn.
5985         * acfunctions: Add AC_FUNC_FORK.
5986         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
5987         and vfork appropriately.
5989 2001-06-18  Akim Demaille  <akim@epita.fr>
5991         * doc/autoconf.texi (Functions Portability): New section.
5993 2001-06-18  Akim Demaille  <akim@epita.fr>
5995         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
5996         in $M4.
5997         Suggested by Andreas Schwab.
5999 2001-06-18  Akim Demaille  <akim@epita.fr>
6001         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
6002         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
6003         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
6004         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
6005         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
6006         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
6007         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
6008         the converse).
6010 2001-06-18  Akim Demaille  <akim@epita.fr>
6012         * doc/autoconf.texi (ms): New index.
6013         (Macro Index): Rename as...
6014         (Autoconf Macro Index): this.
6015         (M4 Macro Index): New appendix.
6016         (Programming in M4): New chapter.
6017         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
6018         (Quoting): Rename as...
6019         (M$ Quotation): this.
6020         Be part of `Programming in M4).
6022 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
6024         * tests/torture.at (AC_ARG_VAR): Set variables and export them
6025         in separate statements for compatibility with Tru64 v5.1.
6027 2001-06-17  Akim Demaille  <akim@epita.fr>
6029         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
6030         current values of the precious variables, not the previously
6031         cached values.
6032         Pass precious variables which are set to config.status.
6033         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
6034         * tests/torture.at (AC_ARG_VAR): New.
6036 2001-06-15  Paul Eggert  <eggert@twinsun.com>
6038         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
6039         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
6040         and explain why and how to replace them.
6041         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
6042         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6044 2001-06-15  Akim Demaille  <akim@epita.fr>
6046         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
6047         Reported by Bruno Haible.
6049         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
6050          (_AC_ARG_VAR_PRECIOUS): to here.
6052 2001-06-15  Pavel Roskin  <proski@gnu.org>
6054         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
6055         an unused pointer use cast to this type and `if' statement to
6056         avoid warnings from the compiler.
6057         (AC_HEADER_TIME): Likewise.
6058         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
6059         in `if' statement to avoid warnings from the compiler. Declare
6060         ac_aggr static to avoid the need to initialize it.
6062 2001-06-14  Akim Demaille  <akim@epita.fr>
6064         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
6065         Macros'.
6067 2001-06-13  Akim Demaille  <akim@epita.fr>
6069         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
6070         Suggested by Alexander Mai.
6072 2001-06-13  Akim Demaille  <akim@epita.fr>
6074         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
6075         sys/types.h and sys/stat.h, and check for them.
6077 2001-06-13  Akim Demaille  <akim@epita.fr>
6079         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
6080         INCLUDES.
6082 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6084         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
6085         succeeds and only try adding libdnet upon a failure.
6087 2001-06-12  Akim Demaille  <akim@epita.fr>
6089         * autoscan.in (&output_kind): Output the comment only if it exists.
6090         (%kind_comment): Add entry for `programs'.
6091         (&output_programs): Use &output_kind.
6092         (&output_functions, &output_identifiers, &output_headers)
6093         (&output_programs): Inline, and remove.
6095 2001-06-12  Akim Demaille  <akim@epita.fr>
6097         * autoscan.in (%kind_comment): New.
6098         (output_kind): New.
6099         (output_functions, output_identifiers, output_headers): Use it.
6101 2001-06-12  Akim Demaille  <akim@epita.fr>
6103         * autoscan.in (&print_unique): Take `$kind' and `$word' as
6104         arguments, to factor indirections into `%macro' and `%used'.
6105         (%generic_macro): Fix a typo.
6107 2001-06-12  Akim Demaille  <akim@epita.fr>
6109         * aclibraries: New.
6110         * autoscan.in (@kinds): Add `libraries'.
6111         Use `@kinds' instead of hard coded lists.
6112         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
6113         Remove, replaced by...
6114         (%used): this.
6116 2001-06-12  Akim Demaille  <akim@epita.fr>
6118         * autoscan.in (%functions_macros %headers_macros)
6119         (%identifiers_macros %programs_macros %makevars_macros): Remove,
6120         replaced by...
6121         (%macro): New.
6123 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
6125         * aclang.m4 (AC_NO_EXECUTABLES): Override
6126         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
6128 2001-06-11  Akim Demaille  <akim@epita.fr>
6130         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
6131         trailing new line.
6132         Reported by Andreas Schwab.
6134 2001-06-11  Akim Demaille  <akim@epita.fr>
6136         * Makefile.am, Makefile.maint: Typos.
6138 2001-06-09  Akim Demaille  <akim@epita.fr>
6140         * doc/autoconf.texi (Here-Documents): New section, gathering
6141         documentation about here-documents.
6142         Use `href', not `uref', and other changes.
6144 2001-06-09  Akim Demaille  <akim@epita.fr>
6146         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
6147         chapter.
6149 2001-06-09  Akim Demaille  <akim@epita.fr>
6151         * doc/autoconf.texi (Limitations of Builtins): Complete the
6152         description of the here-docs penalties with Alexandre Oliva's
6153         explanations.
6155 2001-06-01  Paul Eggert  <eggert@twinsun.com>
6157         * doc/autoconf.texi: Talk about here documents and speedups.
6158         Do not use "echo" on arbitrary strings.
6159         Spell "here-documents" consistently with the standard.
6161 2001-06-09  Akim Demaille  <akim@epita.fr>
6163         * doc/autoconf.texi (Concept Index): Introduce it.
6164         Regenerate the menus.
6166 2001-06-09  Akim Demaille  <akim@epita.fr>
6168         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
6169         * config/prev-version.txt: New.
6170         * config/move-if-change: New, for GNU libc.
6172 2001-06-06  Pavel Roskin  <proski@gnu.org>
6174         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
6176 2001-06-06  Akim Demaille  <akim@epita.fr>
6178         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
6179         properly when $1 is not a literal.
6180         Fixes PR Autoconf/187, reported by Bram Moolenaar.
6182 2001-06-06  Akim Demaille  <akim@epita.fr>
6184         Invoking AC_COPYRIGHT before AC_INIT fails.
6186         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
6187         * acgeneral.m4 (_m4_divert(VERSION_FSF))
6188         (_m4_divert(VERSION_USER)): New.
6189         (AC_COPYRIGHT): $2 is the diversion to use.
6190         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
6191         (AC_INIT): Remove dead comments as now it's commutative.
6193 2001-06-06  Akim Demaille  <akim@epita.fr>
6195         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
6196         PR autoconf/187.
6198 2001-06-05  Akim Demaille  <akim@epita.fr>
6200         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
6201         can be empty.
6202         `*dir' variables cannot be NONE.
6203         Reported by Mark Kettenis.
6205 2001-06-05  Paul Eggert  <eggert@twinsun.com>
6207         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
6209 2001-06-04  Akim Demaille  <akim@epita.fr>
6211         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
6212         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
6213         (AC_TR_SH): Move as...
6214         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
6215         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
6216         (AS_TR_SH): these.
6217         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
6218         (_AS_TR_SH_PREPARE): New.
6219         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
6220         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
6222 2001-06-02  Akim Demaille  <akim@epita.fr>
6224         * Makefile.am (.m4.m4f): Pass the options first.
6225         Fixes PR autoconf/182.
6227 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
6229         GNU getopt, when POSIXLY_CORRECT does not permute options and
6230         arguments.  So pass the options first.
6231         Fixes PR autoconf/184.
6233         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
6234         (run_m4): Remove files.
6235         (run_m4f): Remove.
6236         Update remainder of script to use them.
6237         (for warning in): Do not use a literal comma as it will not be
6238         split by IFS.
6240 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
6242         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
6243         Fortran compilers to check.
6244         (_AC_PROG_F77_V): Add '-###' as a possible option to print
6245         information on library and object files.
6246         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
6247         to check.
6249 2001-06-02  Akim Demaille  <akim@epita.fr>
6251         * autom4te.in (Request::@request): Declare with `vars', not `my',
6252         as it prevents updates via `do FILENAME'.
6254 2001-06-02  Akim Demaille  <akim@epita.fr>
6256         * configure.in (standards_texi): Remove, dead code.
6258 2001-06-02  Akim Demaille  <akim@epita.fr>
6260         * autom4te.in: New.
6262 2001-06-02  Pavel Roskin  <proski@gnu.org>
6264         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
6265         for signals other than 0 - exit with code 1.
6266         * m4sh.m4 (AS_TMPDIR): Likewise.
6267         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
6268         * autoheader.in: Likewise.
6269         * autoreconf.in: Likewise.
6270         * tests/torture.at (Signal handling): New test for the above.
6272 2001-06-01  Akim Demaille  <akim@epita.fr>
6274         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
6275         message.
6277 2001-05-31  Akim Demaille  <akim@epita.fr>
6279         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
6280         Add copyright and comments.
6281         * acheaders: Add stdint.h.
6282         Suggested by Paul Eggert.
6284 2001-05-31  Akim Demaille  <akim@epita.fr>
6286         * atgeneral.m4 (AT_INIT): Use $SHELL.
6287         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
6289 2001-05-31  Akim Demaille  <akim@epita.fr>
6291         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6292         stdint.h.
6293         From Paul Eggert and Lars Hecking.
6295 2001-05-31  Akim Demaille  <akim@epita.fr>
6297         * tests/base.at: Adjust line numbers in error messages.
6299 2001-05-31  Akim Demaille  <akim@epita.fr>
6301         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
6302         to emit the bangshe line.
6303         Reported by David Carter.
6305 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
6307         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
6308         Fortran (95) compilers to check.
6310 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
6312         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
6313         Macro Archive URL.
6315 2001-05-23  Pavel Roskin  <proski@gnu.org>
6317         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
6318         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
6319         (AC_PROG_CXXCPP): Likewise.
6321 2001-05-22  Akim Demaille  <akim@epita.fr>
6323         * config: New directory.
6324         * configure.in: AC_CONFIG_AUX_DIR it.
6325         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
6327 2001-05-22  Akim Demaille  <akim@epita.fr>
6329         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
6330         * autoupdate.in: Specify the Emacs mode.
6331         * acversion.m4.in: Rename as...
6332         * acversion.m4: this.
6333         * tests/Makefile.am (CLEANFILES): More garbage.
6335 2001-05-22  Akim Demaille  <akim@epita.fr>
6337         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
6338         Rename as...
6339         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
6340         these.
6342 2001-05-21  Akim Demaille  <akim@epita.fr>
6344         * configure.in: Bump to 2.50a.
6346 -----
6348 Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
6350 This file is part of GNU Autoconf.
6352 GNU Autoconf is free software; you can redistribute it and/or modify
6353 it under the terms of the GNU General Public License as published by
6354 the Free Software Foundation; either version 2, or (at your option)
6355 any later version.
6357 GNU Autoconf is distributed in the hope that it will be useful,
6358 but WITHOUT ANY WARRANTY; without even the implied warranty of
6359 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6360 GNU General Public License for more details.
6362 You should have received a copy of the GNU General Public License
6363 along with autoconf; see the file COPYING.  If not, write to
6364 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
6365 Boston, MA 02111-1307, USA.