* lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
[autoconf.git] / ChangeLog
blob4b025c069055053af0a2534407289c6a2a459e8c
1 2004-01-23  Gary V. Vaugan  <gary@gnu.org>
3         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
4         non-truncating sed or gsed program in PATH.
5         * tests/acprograms.at: Add it.
6         * doc/autoconf.texi (Particular Programs): Document it.
7         * NEWS: Updated.
9 2004-01-15  Paul Eggert  <eggert@twinsun.com>
11         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
12         -std1 disables some useful extensions on Tru64.  Problem reported
13         by N. Lichtmaier in
14         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
16 2004-01-14  Paul Eggert  <eggert@twinsun.com>
18         * doc/autoconf.texi (Programming in M4sh): Document that
19         AS_MKDIR_P succeeds if the destination is a symbolic link
20         to an existing directory.
21         (Limitations of Usual Tools): Note that mkdir -p might not
22         succeed on symlinks to directories.
24 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
26         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
27         * bin/autoheader.in: Grammar fix in message.
28         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
29         Test for dir before calling mkdir -p.  (trivial changes)
31 2004-01-13  Eric Blake  <ebb9@byu.net>
33         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
34         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
36 2004-01-10  Jim Meyering  <jim@meyering.net>
38         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
40 2004-01-09  Paul Eggert  <eggert@twinsun.com>
42         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
43         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
44         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
45         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
46         AC_COMPILE_IFELSE, since we now assume our caller invokes
47         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
48         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
49         of AC_RUN_IFELSE; this avoids the warning mentioned above.
50         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
52 2004-01-07  Paul Eggert  <eggert@twinsun.com>
54         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
55         `"'...'"`, as it's confusing (and I suspect it may not work on
56         some platforms).  The code was incorrect anyway, as it assumed
57         that \$ evaluated to itself in that context.  Reported by
58         Alexandre Duret-Lutz.
60 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
62         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
63         and _LT_AC_TAGCONFIG.
65 2004-01-06  Paul Eggert  <eggert@twinsun.com>
67         * doc/autoconf.texi (One Macro Call): Fix an incorrect
68         example, and add more examples.  Reported by Eric Sunshine.
70 2004-01-05  Paul Eggert  <eggert@twinsun.com>
72         * doc/autoconf.texi (Limitations of Usual Tools):
73         Remove warning against "rm -fr" introduced yesterday; it
74         was a false alarm.
76         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
77         autoscan, autoupdate, ifnames): Don't use chmod -w.
78         * lib/Makefile.am (autom4te.cfg): Likewise.
79         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
80         "chmod -w".
82 2004-01-04  Paul Eggert  <eggert@twinsun.com>
83             Paolo Bonzini  <bonzini@gnu.org>
85         * libc/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
86         by doing lineno substitution only on lines containing "$LINENO".
88 2004-01-04  Paul Eggert  <eggert@twinsun.com>
90         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
91         Use "rm -f" to remove conftest.sed, not plain "rm".
92         Bug reported by David Relson in
93         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
95         * Makefile.am (autom4te-update):
96         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
97         * Makefile.maint (my-distcheck, do-po-update): Likewise.
98         * doc/autoconf.texi (Guidelines): Likewise.
99         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
100         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
101         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
102         * lib/autotest/general.m4 (AT_INIT): Likewise.
103         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
104         * tests/Makefile.am (clean-local): Likewise.
105         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
106         srcdir): Likewise.
107         * doc/autoconf.texi (Limitations of Usual Tools):
108         Warn against "rm -fr".
110 2004-01-03  Paul Eggert  <eggert@twinsun.com>
112         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
113         -c -o might not work.  From a suggestion by Kevin Ryde.
114         (C Compiler, Generating Sources, Limitations
115         of Usual Tools, Limitations of Make, Making testsuite Scripts):
116         Don't put '-o' after non-options, as POSIX doesn't allow this.
117         Mention that cc's name might be gcc or c89 or whatever.
119 2004-01-04  Kevin Ryde  <user42@zip.com.au>
121         * doc/autoconf.texi: Add various further index entries.
123 2003-12-29  Paul Eggert  <eggert@twinsun.com>
125         * bin/autoreconf.in (autoreconf_current_directory):
126         Fix typo: mkdir without umask arg.
128 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
130         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
131         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
132         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
133         explanation clearer.
135 2003-12-24  Andreas Schwab  <schwab@suse.de>
137         * doc/autoconf.texi (Default Includes): Fix misspelling of
138         AC_INCLUDES_DEFAULT.
140 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
142         * configure.ac: Test if sh -n works.
143         * configure: Regenerate.
144         * tests/atlocal.in: Store the result here.
145         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
146         tools.at, looking in atlocal's ac_cv_sh_n_works instead
147         of explicitly testing.
148         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
149         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
150         * tests/tools.at (Syntax of the shell scripts): Simplify
151         using AT_CHECK_SHELL_SYNTAX.
152         (Syntax of the Perl scripts): Remove definition of
153         AT_CHECK_PERL_SYNTAX.
155 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
157         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
158         stderr to /dev/null.
159         * bin/autoconf.in: Regenerate.
160         * bin/wrapper.in: Regenerate.
162 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
164         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
165         Extracted from AS_SHELL_SANITIZE.
166         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
167         macros.
168         (AS_SHELL_SANITIZE): Move reinvocation code from
169         _AS_LINENO_WORKS, use it to find out if shell
170         functions work.
171         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
172         does not work.
173         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
174         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
175         was called.
176         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
177         * bin/autoconf.in: Regenerate.
178         * tests/wrapper.in: Regenerate.
179         * tests/tools.at: Test the syntax of tests/autoconf
180         and tests/testsuite.
182 2003-11-24  Akim Demaille  <akim@epita.fr>
184         * config/announce-gen (&print_locations, &print_signatures)
185         (&sizes): New.
186         Use them.
187         No longer rely on Gnus to inline the list of signatures: compute
188         them on the fly.
190 2003-11-24  Akim Demaille  <akim@epita.fr>
192         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
193         override some files.
194         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
195         From Debian Autoconf 2.58.
197 2003-11-24  Akim Demaille  <akim@epita.fr>
199         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
200         uses.
201         From Debian Autoconf 2.58.
203 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
205         * TODO: Remove already done things.  Update the part about finding
206         tools for the target.
208 2003-11-24  Paolo Bonzini <bonzini@gnu.org>
210         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
211         Make wording more consistent.
212         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
213         Explain the transition better.
214         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
215         the transition better.
217 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
219         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
220         parameter of AU_DEFUN.
221         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
222         (AU_DEFUN): Remove the third parameter, it was not used.
223         Use AC_DEFUN directly, not AU_DEFINE.
224         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
225         the expanded body, consistently with other macros such as AC_USG.
227 2003-11-17  Paul Eggert  <eggert@twinsun.com>
229         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
230         into the initial confdefs.h, to work around a bug in NextStep 3.3
231         patch 3 reported by Eric Sunshine.
233 2003-11-15  Kevin Ryde  <user42@zip.com.au>
235         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
236         than $target since the latter is not usual, add guidelines on when to
237         use or not use the system type.
239 2003-11-12  Derek Price  <derek@ximbiot.com>
241         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
242         typo misrepaired by an auto-spellcheck.
244 2003-11-12  Akim Demaille  <akim@epita.fr>
246         * bin/autoreconf.in (&parse_args): Don't call automake with
247         --force-missing unless it actually supports it.
248         From Debian #219336.
250 2003-11-12  Akim Demaille  <akim@epita.fr>
252         * configure.ac: Bump to 2.59a.
253         Require 2.59.
255 2003-11-06  Akim Demaille  <akim@epita.fr>
257         Version 2.59.
259 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
261         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
262         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
263         and ac_abs_top_srcdir are absolute paths.
264         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
266 2003-11-05  Akim Demaille  <akim@epita.fr>
268         * configure.ac: Bump to 2.58a.
270 2003-11-05  Kevin Ryde  <user42@zip.com.au>
272         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
273         it provokes a warning from makeinfo about looking like a cross
274         reference in info output.
276         * doc/autoconf.texi (Function Portability): Add notes on signal
277         handler return type, as per AC_TYPE_SIGNAL.
279 2003-11-04  Akim Demaille  <akim@epita.fr>
281         Version 2.58.
282         * doc/standards.texi: Update from master.
284         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
286 2003-11-04  Akim Demaille  <akim@epita.fr>
288         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
289         computing the absolute path to d1 in the source hierarchy: it may
290         not exist at all.  So don't cd into it.
291         From Alexandre Duret-Lutz.
292         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
294         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
295         From Paul Eggert, but named after Perl's IO::Spec->catfile.
296         * doc/autoconf.texi (Programming in M4sh): Document.
297         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
299 2003-11-03  Pavel Roskin  <proski@gnu.org>
301         * doc/autoconf.texi (Generic Structure Checks): Describe
302         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
304 2003-10-31  Akim Demaille  <akim@epita.fr>
306         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
307         (GNU Fortran): New.
308         * doc/autoconf.texi (Language Choice): Document.
309         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
310         the current language is Fortran.
312 2003-10-31  Akim Demaille  <akim@epita.fr>
314         * bin/autom4te.in (&freeze): Use a less likely warning separator
315         than `\n\n', so that `\n\n\n' is valid in warnings.
316         Reported by Steve Huston.
318 2003-10-28  Akim Demaille  <akim@epita.fr>
320         * Makefile.cfg (local_updates, executable-update): Tweak to be
321         robust to parallel makes.
322         Suggested by Alexandre Duret-Lutz.
324 2003-10-27  Akim Demaille  <akim@epita.fr>
326         * Makefile.cfg (executable-update): New.
327         (local_updates): Call it.
329 2003-10-27  Akim Demaille  <akim@epita.fr>
331         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
332         Don't remove core.* as it may remove valid user files.
333         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
334         (AC_FUNC_UTIME_NULL): Likewise.
336 2003-10-23  Akim Demaille  <akim@epita.fr>
338         Version 2.57g.
339         * config/config.guess, config/config.sub: Upgrade from masters.
341 2003-10-23  Akim Demaille  <akim@epita.fr>
343         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
344         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
345         hand...
347 2003-10-23  Akim Demaille  <akim@epita.fr>
349         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
350         Don't forget to remove conftest.err.
352 2003-10-23  Akim Demaille  <akim@epita.fr>
354         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
355         same object file in $LIBOBJS.
356         Reported by Alexandre Duret-Lutz & Derek Robert Price.
357         * doc/autoconf.texi (Generic Functions): Adjust.
359 2003-10-20  Paul Eggert  <eggert@twinsun.com>
361         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
362         Use 'eval', so that the resulting configure scripts work even if
363         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
365 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
367         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
368         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
369         (_AC_LINK_IFELSE): Check the werror flag.
370         * doc/autoconf.texi (Generic Compiler Characteristics): Document
371         AC_LANG_WERROR.
372         * NEWS: Mention it.
374 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
376         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
377         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
378         override AC_LINK_IFELSE.
380 2003-10-15  Paul Eggert  <eggert@twinsun.com>
382         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
383         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
384         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
385         Mention /usr/dt/bin/dtksh on Solaris.
386         (Shell Substitutions): Warn about $((...)).
387         (Parentheses): New section.
389 2003-10-15  Kevin Ryde  <user42@zip.com.au>
391         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
392         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
394 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
396         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
397         cross test.
399 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
401         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
402         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
404 2003-10-10  Andreas Schwab  <schwab@suse.de>
406         * bin/autoheader.in: Avoid empty first line in --version and
407         --help output.
408         * bin/ifnames.in: Likewise.
410 2003-10-09  Paul Eggert  <eggert@twinsun.com>
412         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
413         Issue a more-informative diagnostic.
414         Problems reported by Eric Sunshine.
416 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
418         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
419         -mGLOB_options_string stuff for Intel ifc, which can cause
420         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
421         pattern-matching instead of grep.
423 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
425         * doc/autoconf.texi: Document new FC Fortran macros.
427 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
429         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
430         that future autopoint/aclocal/automake/autoreconf will be able
431         to trace to find where to install local m4 macros.
432         * doc/autoconf.texi (Input): Document it.
433         * NEWS: Updated.
435 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
437         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
438         -lcrtbegin.o to list of ignored flags and fix underquoting of
439         -lcrt[01].o.
441 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
443         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
444         cache variable instead of $G77 to decide whether to include -O2,
445         since $G77 is specific to Fortran 77.
447 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
449         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
450         free" flag.  Re-order flags tested into rough order of popularity.
452 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
454         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
455         arguments so that it can be used with syntax identical to
456         AC_PROG_F77, and so that we can more easily decide to
457         remove/deprecate the DIALECT optional argument in the future if it
458         proves troublesome.
459         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
460         non-freeform-supporting compilers.  Document freeform flags.
462 2003-10-03  Akim Demaille  <akim@epita.fr>
464         * configure.ac: Look for emacs, not macs.
465         Reported by Eric Sunshine.
467 2003-10-03  Akim Demaille  <akim@epita.fr>
469         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
470         * bin/autoreconf.in (autoreconf_current_directory): Create the
471         AUX_DIR if needed, for sake of automake --add-missing etc.
472         Suggested by Alexandre Duret-Lutz.
474 2003-10-03  Akim Demaille  <akim@epita.fr>
476         * configure.ac: Quotation and formatting changes.
477         (EMACS): Don't set it if it is not recent enough to support
478         autoconf-mode.el.
479         From Eric Sunshine.
481 2003-10-02  Akim Demaille  <akim@epita.fr>
483         * bin/ifnames.in (&scan_file): Skip C++ comments.
484         From Jeremy Yallop.
486 2003-10-01  Pavel Roskin  <proski@gnu.org>
488         * doc/autoconf.texi (Particular Structure Checks):
489         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
491 2003-10-01  Akim Demaille  <akim@epita.fr>
493         Version 2.57f.
495 2003-09-30  Paul Eggert  <eggert@twinsun.com>
497         * lib/Autom4te/XFile.pm: Use Errno.
498         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
499         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
501 2003-09-30  Akim Demaille  <akim@epita.fr>
503         * config/announce-gen (&print_news_deltas): Extracted from...
504         (&print_changelog_deltas): here.
505         (&news_file): Rename as...
506         (@news_file): this.
508 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
510         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
511         have been created when invoking the compiler.
512         * tests/fortran.at (GNU Fortran 77): Quote $G77.
514 2003-09-29  Akim Demaille  <akim@epita.fr>
516         Version 2.57e.
518         * config/mkinstalldirs: Upgrade.
520 2003-09-28  Paul Eggert  <eggert@twinsun.com>
522         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
523         Problem reported by Lars J. Aas in
524         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
525         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
526         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
527         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
529 2003-09-26  Akim Demaille  <akim@epita.fr>
531         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
532         directory for AC_CONFIG_COMMANDS' first argument exists.
533         This makes valid the invocation of _AC_SRCPATH that follows.
534         Reported by Eric Sunshine.
535         * doc/autoconf.texi (Configuration Commands): Adjust.
537 2003-09-26  Akim Demaille  <akim@epita.fr>
539         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
540         Reported by Ralf Corsepius.
542 2003-09-26  Akim Demaille  <akim@epita.fr>
544         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
545         arguments.
546         Actually, use AU_ALIAS.
547         From Bruno Haible.
549 2003-09-26  Paul Eggert  <eggert@twinsun.com>
551         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
552         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
553         Problem reported by Eric Sunshine in:
554         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
556 2003-09-26  Akim Demaille  <akim@epita.fr>
558         The test suite are sometimes assigning timings incorrectly.
559         Reported by Henk Krus.
560         Diagnosed by Nicolas Joly.
562         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
563         AT_help_all.
564         Instead of making AT_help a sequence of assignments to grow
565         $at_help_all, just make AT_help_all be the growing contents of
566         $at_help_all, and make a single assignment in...
567         (AT_INIT): here.
568         (at_times_skip): Flip the meaning and rename as...
569         (at_times_p): this.
570         (AT_INIT): When summarizing the test that ran, remove
571         $at_times_file after use, and check it is present before trying to
572         use it.
574 2003-09-25  Akim Demaille  <akim@epita.fr>
576         Version 2.57d.
578         * bin/Makefile.am (edit): Handle '@configure_input@'.
579         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
580         (ifnames): chmod -w.
581         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
582         executables, not bin/ executables!  Otherwise all the magic needed
583         to find non installed files is turned off.  This caused a failure
584         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
585         as found in its environment (sent by tests/autoreconf): pointing
586         to bin/autom4te that could not find its files.
587         * tests/mktests.sh: Force the replacement of generated files, for
588         the sake of "mv" program that are interactive when overwriting a
589         -w file.
590         * config/install-sh: Upgrade from CVS Automake.
592 2003-09-23  Paul Eggert  <eggert@twinsun.com>
594         * doc/autoconf.texi (Limitations of Builtins): Document test -h
595         versus test -L issues.
597 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
598             Paul Eggert <eggert@twinsun.com>
600         Trivial change to support GCC's configuration procedure.
601         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
602         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
603         about inconsistency if the preprocessor is set to give errors for
604         any warning.
605         * doc/autoconf.texi (C Compiler Characteristics): Document this.
607 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
609         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
610         and XFile.pm from Automake.
611         * lib/Autom4te/XFile.pm: Update from Automake.
613 2003-09-12  Akim Demaille  <akim@epita.fr>
615         Version 2.57c.
617 2003-09-12  Akim Demaille  <akim@epita.fr>
619         * config/config.guess, config/config.sub, config/missing,
620         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
621         from masters.
623 2003-09-12  Akim Demaille  <akim@epita.fr>
625         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
626         not asm/types.h.
628 2003-09-11  Akim Demaille  <akim@epita.fr>
630         * doc/autoconf.texi (Header Portability): linux/random.h.
631         From Peter Hendrickson.
633 2003-09-10  Akim Demaille  <akim@epita.fr>
635         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
636         willing to edit the output files.
638 2003-09-10  Akim Demaille  <akim@epita.fr>
640         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
641         and AC_FC_FREEFORM.
642         * tests/mktests.sh: Skip AC_FC_SRCEXT.
643         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
645 2003-09-09  Akim Demaille  <akim@epita.fr>
647         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
648         Reported by Gary Vaughan.
649         * bin/autom4te.in (handle_m4): Likewise.
651 2003-09-09  Akim Demaille  <akim@epita.fr>
653         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
654         trailing files.
656 2003-09-07  Paul Eggert  <eggert@twinsun.com>
658         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
659         Improve the accuracy of the wording about obsolescence.
660         From a suggestion by Ian Lance Taylor in
661         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
663 2003-09-05  Paul Eggert  <eggert@twinsun.com>
665         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
666         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
668 2003-09-04  Akim Demaille  <akim@epita.fr>
670         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
671         AC_FUNC_WAIT3.
673 2003-09-04  Akim Demaille  <akim@epita.fr>
675         * bin/autom4te.in: Use &fatal where more appropriate than &error.
676         (freeze): When exiting, use $exit_code.
677         * lib/autoconf/fortran.m4: Comment changes.
679 2003-09-04  Akim Demaille  <akim@epita.fr>
681         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
683 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
685         Add support for newer Fortran dialects.  The F77 interface is
686         unchanged, and continues to support Fortran 77.  New FC macros
687         correspond to all the old F77 macros, with output variables FC,
688         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
689         available dialect, but older dialects can be specified.  There are
690         new macros AC_FC_SRCEXT to set the source extension, and
691         AC_FC_FREEFORM to accept free-form source files.
693         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
694         New macros.
695         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
696         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
697         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
698         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
699         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
700         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
701         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
702         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
703         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
704         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
705         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
706         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
707         AC_FC_SRCEXT, AC_FC_FREEFORM):
708         New macros.
709         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
710         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
711         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
712         Rewrite in terms of the above.
713         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
714         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
715         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
716         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
718 2003-09-02  Paul Eggert  <eggert@twinsun.com>
720         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
721         Document problems with timestamp resolution that 'make', 'cp -p', and
722         'touch -r' have.
724 2003-08-27  Akim Demaille  <akim@epita.fr>
726         * tests/m4sugar.at (cross_warning): Make sure to enable the
727         output, so that we can track spurious m4sugar output.
728         * tests/local.at: Require 2.57.
729         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
730         are defaulted by AT_CHECK anyway.
731         Use AT_CHECK_AUTOM4TE.
732         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
733         missing dnl.
735 2003-08-27  Akim Demaille  <akim@epita.fr>
737         * bin/autoheader.in: Issue the "Using auxiliary..." message only
738         when -Wobsolete is set.
739         Set it on by default.
740         Suggested by Klee Dienes.
742 2003-08-27  Akim Demaille  <akim@epita.fr>
744         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
745         documentation.
746         From Guido Draheim.
748 2003-08-26  Akim Demaille  <akim@epita.fr>
750         * doc/autoconf.texi (Output): Make clear that one can run code
751         after AC_OUTPUT.
753 2003-08-25  Akim Demaille  <akim@epita.fr>
755         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
756         CVS Bison.
758 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
760         * bin/autoreconf.in (parse_args): Do not pass --no-force to
761         Automake versions prior to 1.8.
763 2003-08-25  Akim Demaille  <akim@epita.fr>
765         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
766         From Ville Karaila.
768 2003-08-24  Akim Demaille  <akim@epita.fr>
770         * configure.ac: Bump to 2.57c.
772 2003-08-22  Akim Demaille  <akim@epita.fr>
774         Version 2.57b.
776         * Makefile.cfg (local-checks-to-skip): New.
777         * Makefile.maint (local-check): Rename as...
778         (local-checks-available): this.
779         (local-check): New.
781         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
782         * configure.ac: Require Automake 1.7.6.
784 2003-08-22  Akim Demaille  <akim@epita.fr>
786         Output stack traces in warnings.
788         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
789         Replace the former...
790         (m4_warn): Pass the call stack to _m4_warn.
791         * bin/autom4te.in: Adjust to output the call stack.
792         * tests/m4sugar.at (m4@&t@_warn): Adjust.
794 2003-08-22  Akim Demaille  <akim@epita.fr>
796         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
797         * bin/autom4te.in: Adjust.
799 2003-08-21  Akim Demaille  <akim@epita.fr>
801         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
802         (&verbose): Remove.
803         (&getopt): Adjust the note and verb channels, depending upon
804         --verbose.
805         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
806         * bin/autoupdate.in: Adjust.
807         Use &verb, not &verbose.
809 2003-08-21  Akim Demaille  <akim@epita.fr>
811         * bin/autoheader.in (&parse_args): Use &parse_warnings and
812         &parse_WARNINGS.
813         ($help): Use Autom4te::ChannelDefs::usage.
814         * bin/autoscan.in: Use Autom4te::ChannelDefs.
815         * lib/Autom4te/General.pm: Don't export error: you don't own it.
817 2003-08-21  Akim Demaille  <akim@epita.fr>
819         First stab at preserving warnings between calls to autom4te,
820         including when the cache is used.
822         There are still several issues: (i) there are too many runs of m4
823         (one for include, one for warnings, and some more), (ii) warnings
824         spreading on several lines are not handled gracefully, (iii) the
825         code meant to have the call stack display for errors does not work
826         (its handling should move from m4 to autom4te).
828         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
829         Use them.
830         (@preselect): Add m4_warn.
831         ($exit_status): Remove, use $exit_code.
832         ($help): Use Autom4te::ChannelDefs::usage.
833         (&handle_m4): No longer define the m4_warnings.
834         At each run, extract and report the warnings.
835         Always cache the result, including if the exit status is on
836         failure, since if nothing changes, we should result in the same
837         failure, hence we can use the cache.
838         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
839         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
840         Remove.
841         (m4_warn): Redefine as a do-nothing: it is its invocation that
842         matters, as warnings are now reported via traces.
843         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
844         the contents of m4_warn: make it _call_ m4_warn, so that tracing
845         the latter reveals calls to the former.
847         Adjust the tests.
849         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
851 2003-08-21  Akim Demaille  <akim@epita.fr>
853         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
854         Use them.
856 2003-08-21  Akim Demaille  <akim@epita.fr>
858         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
859         forward order.
860         * lib/Autom4te/ChannelDefs.pm: Doc typos.
861         (&parse_warnings): Accept a list of warning requests.
862         (&usage): Return a string, not a side effect.
863         (cross): New warning category.
865 2003-08-21  Akim Demaille  <akim@epita.fr>
867         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
868         (&require_configure_ac): Accept an optional directory argument.
869         ($configure_ac): Remove.
870         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
871         (&catfile): Remove.
872         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
873         * bin/autoscan.in: Adjust.
875 2003-08-20  Akim Demaille  <akim@epita.fr>
877         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
878         Reported by Alexandre Duret-Lutz.
880 2003-08-20  Akim Demaille  <akim@epita.fr>
882         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
883         * bin/autom4te: Adjust.
884         In particular, be Autoconf tools are really silent when properly
885         working, bind the verbosity of the 'note' channel to $verbose.
886         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
887         (&xsystem, &contents): Remove, since they are exported by...
888         * lib/Autom4te/FileUtils.pm: this.
889         More perldoc.
890         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
891         * lib/Autom4te/FileUtils.pm: here.
893 2003-08-20  Akim Demaille  <akim@epita.fr>
895         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
896         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
897         from CVS Automake.
899 2003-08-20  Akim Demaille  <akim@epita.fr>
901         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
902         (autom4te-update): New.
903         * Makefile.cfg (update): Bind autom4te-update.
905 2003-08-19  Derek Price  <derek@ximbiot.com>
907         * lib/autotest/general.m4: Comment various HELP_* diversions.
908         (PARSE_ARGS_BEGIN): New section for option parsing related
909         initialization.
910         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
911         package specific options and associated help.
913 2003-08-19  Akim Demaille  <akim@epita.fr>
915         * config/announce-gen, Makefile.cfg: New.
916         * Makefile.am: Adjust.
917         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
919 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
921         * lib/autom4te.in (Automake-preselections): Preselect
922         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
923         and m4_sinclude.
925 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
927         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
928         (Autoconf-without-aclocal-m4): ... this new language.
929         * doc/autoconf.texi (autom4te Invocation): Mention
930         Autoconf-without-aclocal-m4.
932 2003-08-18  Derek Price <derek@ximbiot.com>
934         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
935         RUN-IF-PASS optional arguments.
937 2003-08-18  Derek Price  <derek@ximbiot.com>
939         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
941 2003-08-16  Derek Price  <derek@ximbiot.com>
943         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
944         STDOUT & STDERR arguments.
946 2003-08-14  Derek Price  <derek@ximbiot.com>
948         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
949         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
950         shorter column three.  Add DESCRIPTION to log file content.
952 2003-08-13  Derek Price  <derek@ximbiot.com>
954         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
955         output.
957 2003-08-12  Derek Price  <derek@ximbiot.com>
959         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
960         (AT_CHECK_NOESCAPE): Move core functionality to...
961         (_AT_CHECK): ...this new macro.
963 2003-08-07  Derek Price  <derek@ximbiot.com>
965         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
966         (AT_CHECK_NOESCAPE): ...to this new macro.
968 2003-07-31  Paul Eggert  <eggert@twinsun.com>
970         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
971         in Bash 2.01.  Problem reported by Brian Gough in
972         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
974 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
976         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
977         -lcrt1.o, for OS X.  (trivial change)
979 2003-07-07  Paul Eggert  <eggert@twinsun.com>
981         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
982         inside '#ifndef __cplusplus'.  Problem reported by
983         Bob Friesenhahn.
985 2003-07-06  Bill Clarke  <llib@computer.org>
987         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
988         'long', not 'int', for benefit of Sun's recent C++ compilers
989         (trivial change).  See:
990         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
991         (This really should be 'intptr_t', not 'long', but that would
992         take more work.)
994 2003-06-25  Akim Demaille  <akim@epita.fr>
996         * lib/Makefile.am (autom4te.cfg): Make it read only.
997         Depend on Makefile since it contains substitutions.
998         From Paolo Bonzini.
999         * lib/autom4te.in (args): Add local.at? for Autotest args.
1000         This change was made on autom4te.cfg which is generated.
1001         Reported by Raja R. Harinath.
1003 2003-06-25  Akim Demaille  <akim@epita.fr>
1005         * doc/autoconf.texi (Header Portability): sys/mount.h.
1006         From Gareth McCaughan.
1008 2003-06-23  Akim Demaille  <akim@epita.fr>
1010         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
1011         not all of them.  This fixes 1. the fact that when testing
1012         Autoconf there are many many config.log, 2. the incorrect use of
1013         top_srcdir to find config.log.
1014         Don't mix the detailed output of failed test with the summary of
1015         failures.  Rather, append detailed log afterwards.
1017 2003-06-23  Akim Demaille  <akim@epita.fr>
1019         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
1020         always run: output config.log on $at_group_log.
1022 2003-06-23  Akim Demaille  <akim@epita.fr>
1024         * tests/torture.at (#define header templates): Don't use quotes in
1025         C++ comments as it puzzles Emacs' sh font-lock-mode.
1027 2003-06-23  Akim Demaille  <akim@epita.fr>
1029         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
1030         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
1031         * tests/atspecific.m4: Rename as...
1032         * tests/local.at: This.
1033         * tests/suite.at: Move the globals into...
1034         * tests/local.at: here.
1035         * tests/Makefile.am: Adjust.
1036         * doc/autoconf.texi (testsuite Scripts): Adjust.
1038 2003-06-21  Kevin Ryde  <user42@zip.com.au>
1040         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
1041         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
1042         ensuring we add -std1 for full-ANSI.
1044         * doc/autoconf.texi (hdrindex): New macro.
1045         Add index entries for portability of various standard header files.
1047 2003-06-20  Akim Demaille  <akim@epita.fr>
1049         * configure.ac: Bump to 2.57b.
1051 2003-06-20  Akim Demaille  <akim@epita.fr>
1053         Version 2.57a.
1055 2003-06-20  Akim Demaille  <akim@epita.fr>
1057         * bin/autom4te.in: Don't rely on $HOME being defined.
1058         Reported by Marc Espie as PR/233.
1060 2003-06-20  Akim Demaille  <akim@epita.fr>
1062         * lib/autotest/general.m4: Use at_times_file only if used.
1063         From Nicolas Joly.
1065 2003-06-20  Akim Demaille  <akim@epita.fr>
1067         * config/config.guess, config/config.sub, config/elisp-comp,
1068         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
1069         Update from masters.
1071 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
1073         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
1074         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
1075         (TEST_SCRIPT): New diversion.
1076         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
1077         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
1078         (AT_INIT): Support for expected failures.
1080 2003-06-02  Akim Demaille  <akim@epita.fr>
1082         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
1083         changes.
1084         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
1085         Autoconf nor Automake.
1086         (&contents): New, from Automake.
1087         PODify.
1089 2003-05-28  Paul Eggert  <eggert@twinsun.com>
1091         * NEWS, doc/autoconf.texi (Particular Functions),
1092         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
1093         is the inverse of localtime.
1095 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
1097         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
1098         (handle_exec_errors): New function.  Work around $! being
1099         altered by WEXITSTATUS.
1100         (xqx, xsystem): Use handle_exec_errors.
1102 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
1104         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
1105         Do not call `_exit()', simply modify `$?'.
1106         (xsystem): Reset $! before running system, and check it afterward.
1107         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
1108         63 for version mismatches.
1110 2003-05-23  Akim Demaille  <akim@epita.fr>
1112         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
1113         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
1114         the middle of a line).
1115         * lib/m4sugar/m4sugar.m4: Likewise.
1116         Remove useless spaces in comments.
1118 2003-05-23  Akim Demaille  <akim@epita.fr>
1120         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
1121         exit 63, so that we (or Automake's "missing") can tell the
1122         difference with a plain failure.
1123         * doc/autoconf.texi (Notices): Adjust.
1125 2003-05-23  Akim Demaille  <akim@epita.fr>
1127         * Makefile.am, bin/Makefile.am, config/Makefile.am,
1128         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
1129         White spaces cleanup.
1131 2003-05-22  Jim Meyering  <jim@meyering.net>
1132             Paul Eggert <eggert@twinsun.com>
1134         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
1135         Remove `#include <stdlib.h>' from the list; we should never
1136         make confdefs.h include <stdlib.h> or <cstdlib>, because the
1137         resulting namespace pollution would cause other tests to fail.
1138         Configure scripts run with some older versions of g++ and HP's
1139         aCC would fail due to such an #include.  Problems reported by
1140         Matthew Mueller in <http://bugs.debian.org/120704> and by
1141         Keith Bostic in
1142         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
1143         In the test, use the test declaration before including <stdlib.h>,
1144         as that's closer to how it'll be used.
1146 2003-05-23  Akim Demaille  <akim@epita.fr>
1148         * doc/autoconf.texi (Header Portability): ucred.h.
1149         From Ian Redfern.
1151 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
1153         Overhaul Autotest's logging: generate separate log files
1154         in testsuite.dir/NNN/testsuite.log, and append them to
1155         testsuite.log instead of re-running the test verbosely.
1157         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
1158         file descriptor, write 0 to at_status_file instead of setting
1159         at_status=0, initialize some new variables (at_status_file,
1160         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
1161         to rerun the tests, instead append the at_group_log to the
1162         at_suite_log when a test fails.
1163         (AT_SETUP): pipe the test case's output into at_tee_pipe,
1164         with the AS_MESSAGE_LOG_FD redirected to stdout.
1165         (AT_CLEANUP): save the output status in $at_status_file
1166         and restore it, redirect the AS_MESSAGE_LOG_FD back to
1167         its original place.
1168         (AT_CHECK): since tests are run with a redirected stdout,
1169         and used to be re-run in verbose mode, turn some $at_verbose
1170         into echo, and don't redirect the output of testing stdout
1171         and stderr.
1173         * lib/autotest/autoconf.texi (testsuite Scripts): Update
1174         the name of the debugging directory and information about
1175         its contents.
1177 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
1179         * lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
1180         parameter
1182 2003-05-22  Akim Demaille  <akim@epita.fr>
1184         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
1185         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
1186         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
1187         * lib/autoconf/status.m4: Fix and adjust copyright notices.
1189 2003-05-22  Akim Demaille  <akim@epita.fr>
1191         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
1192         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
1193         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
1194         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
1195         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
1196         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
1197         * lib/autoconf/status.m4, lib/autoconf/types.m4,
1198         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
1199         * tests/atspecific.m4, tests/base.at, tests/compile.at,
1200         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
1201         * tests/tools.at, tests/torture.at:
1202         Whitespace clean up.
1203         Suggested by Jim Meyering.
1205 2003-05-22  Akim Demaille  <akim@epita.fr>
1207         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
1208         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
1209         Reported by Jim Meyering.
1211 2003-05-22  Akim Demaille  <akim@epita.fr>
1213         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
1214         Add AC_HELP_STRING  to the obsolete macros section.
1215         Typos.
1216         Use '@.' for sentences that ended in a capital letter.
1217         From Art Haas.
1219 2003-05-22  Akim Demaille  <akim@epita.fr>
1221         * config/config.guess, config/config.sub, config/elisp-comp,
1222         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
1223         * config/texinfo.tex, doc/standards.texi: Update from masters.
1225 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
1227         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
1228         it to eval.
1230 2003-05-21  Akim Demaille  <akim@epita.fr>
1232         * bin/autoupdate.in ($m4): Fix quotation.
1233         Reported by Martin Mokrejs.
1235 2003-05-19  Paul Eggert  <eggert@twinsun.com>
1237         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
1238         Remove non-ASCII characters.
1240 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
1242         * tests/semantics.at (AC_SEARCH_LIBS): New test.
1243         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
1244         AC_CHECK_HEADERS_NEW): New tests.
1246 2003-05-17  Akim Demaille  <akim@epita.fr>
1248         * lib/autoconf/functions.m4: Use the default includes so that
1249         memcmp be declared before being tested.
1250         Reported by Sander Niemeijer.
1251         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
1252         * doc/autoconf.texi (Default Includes): Document
1253         AC_INCLUDES_DEFAULT.
1255 2003-05-17  Akim Demaille  <akim@epita.fr>
1257         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
1258         * doc/autoconf.texi (Obsolete Macros): Adjust.
1259         Reported by Werner LEMBERG and Debian Bug 190886.
1261 2003-05-16  Akim Demaille  <akim@epita.fr>
1263         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
1264         user name space clashes.
1265         Reported by Bruno Haible.
1267 2003-05-16  Akim Demaille  <akim@epita.fr>
1269         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1270         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
1271         them uniform, and more robust to Perl special characters.
1272         Reported by Martin Mokrejs.
1274 2003-05-14  Akim Demaille  <akim@epita.fr>
1276         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
1278 2003-05-14  Akim Demaille  <akim@epita.fr>
1280         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
1281         linux/irda.h.
1283 2003-05-12  Akim Demaille  <akim@epita.fr>
1285         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
1286         message.
1287         From Matthias Andree.
1289 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
1291         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
1292         and truncate.
1294 2003-05-06  Akim Demaille  <akim@epita.fr>
1296         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
1297         longer updates aclocal.m4 if useless, (ii) if a file m4_included
1298         by aclocal.m4 is changed it might require the importing of another
1299         m4 extension file, i.e., aclocal must be run.
1301         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
1302         (&parse_args): Use --force with aclocal if required and supported.
1303         (&autoreconf_current_directory): Use &run_aclocal.
1305 2003-05-06  Akim Demaille  <akim@epita.fr>
1307         Lock autom4te's cache.
1309         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
1310         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
1311         argument instead of a file name, so that the request file remains
1312         open during the whole autom4te run.
1313         ($icache_file): New.
1314         (&freeze): Lock the $icache_file.
1316 2003-04-29  Derek Price  <derek@ximbiot.com>
1318         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
1319         seperator with m4_append_uniq().  It doesn't work.
1320         (AT_CLEANUP): Add `;' to end of at_help_all.
1321         (AT_INIT): Allow --keywords to be specified more than once.  When
1322         grepping $at_help_all for keywords, use the field and keyword
1323         seperators to ensure a complete keyword match.  Alter at_prev handling
1324         to support the new --keywords behavior.
1326 2003-04-27  Karl Berry  <karl@freefriends.org>
1328         * doc/autoconf.texi: Make the dir entries in the autoconf manual
1329         align better with others.  I also made some of the individual
1330         entries on one line, for brevity and to make it easier for me to
1331         sort my dir-example file in the Texinfo distribution :).
1333 2003-04-12  Jim Meyering  <jim@meyering.net>
1335         * NEWS: Mention the new macro.
1336         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
1337         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
1338         * tests/c.at: Test AC_C_RESTRICT.
1339         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
1341 2003-04-08  Akim Demaille  <akim@epita.fr>
1343         * bin/ifnames.in: Skip C++ comments.
1344         From Jeremy Yallop.
1346 2003-04-08  Akim Demaille  <akim@epita.fr>
1348         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
1349         From Ilya Zakharevich.
1351 2003-04-08  Akim Demaille  <akim@epita.fr>
1353         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
1354         net/if.h, stdlib.h.
1356 2003-04-01  Derek Price  <derek@ximbiot.com>
1358         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
1359         from Akim's checkin of 2003-03-29.
1361 2003-04-01  Derek Price  <derek@ximbiot.com>
1363         * tests/torture.at (Configuring subdirectories): Add missing
1364         close-quote for Akim's change from 2003-03-28.
1366 2003-04-01  Akim Demaille  <akim@epita.fr>
1368         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
1369         (AC, AT, MS): these.
1370         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
1371         New.
1372         Use them.
1373         * doc/Makefile.am (CLEANFILES): Adjust.
1374         (TEXI2DVI): Make it --batch.
1376 2003-03-31  Derek Price  <derek@ximbiot.com>
1378         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
1379         which removed the main loop.
1380         Thanks to Akim Demaille.
1382 2003-03-29  Akim Demaille  <akim@epita.fr>
1384         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
1385         that starts a GUI.
1386         From Ilya Zakharevich.
1388 2003-03-29  Akim Demaille  <akim@epita.fr>
1390         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
1391         documentation to read is Autoconf's.
1392         Suggested by Paul Eggert.
1394 2003-03-28  Akim Demaille  <akim@epita.fr>
1396         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
1397         reading the section "Present But Cannot Be Compiled" when the
1398         header causes problems.
1400 2003-03-28  Akim Demaille  <akim@epita.fr>
1402         * tests/torture.at (Configuring subdirectories): Require aclocal
1403         1.4, otherwise the test fails, as it does support configure.ac.
1404         This fixes the "test 40 failed" bug reports.
1406 2003-03-28  Akim Demaille  <akim@epita.fr>
1408         * doc/autoconf.texi (C Compiler): `#line' portability.
1409         From Paul Eggert and Nelson H. F. Beebe.
1411 2003-03-27  Derek Price  <derek@ximbiot.com>
1413         * lib/autotest/general.m4: Eliminate main loop and reorganize test
1414         layout in order to allow scripting around test groups.
1416 2003-03-27  Derek Price  <derek@ximbiot.com>
1418         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
1419         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
1420         use new diversions in preparation for accepting new arguments and
1421         allowing scripting around tests.
1422         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
1424 2003-03-26  Derek Price  <derek@ximbiot.com>
1426         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
1427         obsolete AC_HELP_STRING.
1428         (AC_HELP_STRING): AU_DEFUN to...
1429         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
1430         * tests/m4sh.at (AS_HELP_STRING): New test.
1432         * tests/acgeneral.at: Regenerated.
1434 2003-03-26  Derek Price  <derek@ximbiot.com>
1436         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
1437         sense.  Verbosify the diversion definitions comment.
1439 2003-03-26  Derek Price  <derek@ximbiot.com>
1441         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
1442         AS_PREPARE.
1444 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
1446         * doc/autoconf.texi (Present But Cannot Be Compiled):
1447         Grammar fixes and minor rewording. (trivial change)
1449 2003-03-06  Paul Eggert  <eggert@twinsun.com>
1451         Work around a problem noted by Nelson H. F. Beebe with coreutils
1452         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
1453         2002/05/09) rejects '#line 32768 "configure"' because the line
1454         number overflows.
1455         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
1456         #line directives.
1457         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
1458         * doc/autoconf.texi (Generating Sources): Document this.
1460 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
1462         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
1463         file name for the m4 program, when it has an "exe" file extension.
1464         DJGPP's error messages include the error code in brackets -
1465         remove the error code during normalization.
1467 2003-02-28  Akim Demaille  <akim@epita.fr>
1469         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
1471 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
1473         * doc/autoconf.texi (Limitations of Make): Remove the section
1474         about `$<' in inference rules, it was a bogus interpretation of
1475         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
1476         Tru64 make in the "target lookup" section.
1477         (Automake): Automake 1.5+ no longer requires special tools to be
1478         present on the developer's host.
1480 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
1482         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
1483         to a shell that can handle redirection or quoting correctly.
1484         Override SHELL with the shell detected by configure.
1485         Use of $^O suggested by Tim van Holder.
1486         * bin/autom4te.in (BEGIN): Likewise.
1487         * bin/autoreconf.in (BEGIN): Likewise.
1488         * bin/autoscan.in (BEGIN): Likewise.
1489         * bin/autoupdate.in (BEGIN): Likewise.
1490         * bin/ifnames.in (BEGIN): Likewise.
1492         * bin/ifnames.in: Add final newline to help and version messages.
1494         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
1495         to cope with DOS-style absolute paths, when constructing
1496         ${ac_make}.
1498         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
1499         When constructing paths with IFS=:, quote the path. If we're
1500         constructing a DOS-style absolute path, we don't want to split it
1501         on the colon.
1503         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
1504         in description.
1506 2003-02-25  Pavel Roskin  <proski@gnu.org>
1508         * bin/autoheader.in: Add missing newline when printing
1509         suggestion how change AC_DEFINE call.
1511 2003-02-24  Paul Eggert  <eggert@twinsun.com>
1513         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
1514         2002-09-01 patch by replacing "test -n" with "test -z".
1515         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
1516         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
1518         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
1519         to fix a mismatch between example and discussion.
1521 2003-02-24  Kevin Ryde  <user42@zip.com.au>
1523         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
1524         format starting with "-".
1526 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
1528         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
1529         is not portable inside Makefile.
1531 2003-02-20  Akim Demaille  <akim@epita.fr>
1533         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
1534         compiler says yeah, but preproc says nope, compiler is right.
1535         Conversely, prompt the reader to send a bug report to the
1536         maintainers of the package, not of Autoconf.
1538 2003-02-20  Klee Dienes  <kdienes@apple.com>
1540         * bin/autoreconf.in (autoreconf_current_directory): Properly
1541         handle an empty aclocal.m4.
1543 2003-02-20  Akim Demaille  <akim@epita.fr>
1545         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
1546         $ac_prefix_program.
1547         From Larry Jones.
1549 2002-12-23  Paul Eggert  <eggert@twinsun.com>
1551         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
1552         innocuous variant befor including <limits.h> or <assert.h>.  This
1553         works around a bug reported by Albert Chin: HP-UX 11i
1554         (and earlier versions) have a <limits.h> that declares
1555         gettimeofday and many other functions.
1557 2002-12-03  Paul Eggert  <eggert@twinsun.com>
1559         Version 2.57.
1561         * NEWS, configure.ac: Update version.
1563         * doc/fdl.texi: Upgrade to FDL version 1.2.
1565         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
1566         nontrivially in main's body, so that f's external declaration is
1567         not optimized away in AIX.  This should fix the bug reported by
1568         Martin Frydl in
1569         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
1571         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
1572         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
1573         defined, to support freestanding compilers.  This should fix the
1574         bug reported by Momchil Velkov in
1575         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
1577         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
1578         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
1579         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
1580         by Simon Josefsson in
1581         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
1583         * Makefile.maint (www-gnu): New macro.
1584         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
1585         the location has moved.
1587 2002-12-02  Martin Frydl  <martin@systinet.com>
1589         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
1590         \(.*\) match is too long and there is something more to be checked.
1591         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
1593 2002-11-15  Akim Demaille  <akim@epita.fr>
1595         Version 2.56.
1597         * config/install-sh: chmod +x.
1598         From Paul Eggert.
1599         * config/move-if-change: Indenting changes.
1600         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
1601         * configure.ac (AM_INIT_AUTOMAKE): here.
1602         Require 1.7.1.
1604 2002-11-14  Akim Demaille  <akim@epita.fr>
1606         Version 2.55.
1608         * config/config.guess, config/config.sub, config/install-sh:
1609         Update from masters.
1611 2002-11-14  Akim Demaille  <akim@epita.fr>
1613         * Makefile.maint: Sync with Bison, i.e.:
1614         (po-check): Scan .l and .y files instead of the
1615         .c and the .h files that they generate.  This fixes the bug
1616         reported by Tim Van Holder in:
1617         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
1618         Look for N_ as well as for _.  Try to avoid matching #define for
1619         N_ and _.
1620         From Paul Eggert.
1622 2002-11-14  Akim Demaille  <akim@epita.fr>
1624         * doc/autoconf.texi (C Compiler): Compiling several files at once.
1625         From Paul Eggert and Albert Chin-A-Young.
1627 2002-11-14  Akim Demaille  <akim@epita.fr>
1629         * doc/autoconf.texi (C Compiler): Solitary backslashes.
1630         From Paul Eggert and Albert Chin-A-Young.
1632 2002-11-14  Kevin Ryde  <user42@zip.com.au>
1634         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
1635         than assigning in main, to avoid HP cc +O3 optimizing it away.
1637 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
1639         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
1640         option.  Process --recheck after parsing all options.  Pass -q
1641         option to configure on --recheck.
1642         (AC_OUTPUT): Pass -q from configure to config.status.
1643         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
1644         arguments to record.
1645         * doc/autoconf.texi (config.status Invocation): Document
1646         config.status -q option.
1648 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
1650         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
1651         Makefile.in if Makefile.am exists.
1652         (output): Strip `.am' from Makefiles.  Don't
1653         output AC_CONFIG_FILES if no Makefiles were found.
1655 2002-11-07  Akim Demaille  <akim@epita.fr>
1657         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
1658         (local_updates): New.
1659         * Makefile.maint: Update, from CVS Bison.
1660         (local_updates): New.
1662 2002-11-06  Akim Demaille  <akim@epita.fr>
1664         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
1665         declaration in extern "C" too.
1666         Reported by Roberto Bagnara.
1668 2002-11-06  Akim Demaille  <akim@epita.fr>
1670         * tests/torture.at (Configuring subdirectories): Don't use grep
1671         -w.
1672         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
1673         Reported by Ezra Peisach.
1675 2002-11-05  Akim Demaille  <akim@epita.fr>
1677         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
1678         Remove.
1679         We _have_ to stop using the old compatibility scheme that tried to
1680         avoid useless backslashes because Libtool 1.4.3 contains a
1681         AC_DEFINE([error_t], [int],
1682         [Define to a type to use for \`error_t' if it is not
1683         otherwise available.])
1684         We _have_ to quote the single quote and backslashes with \.  The
1685         old compatibility scheme saw that ` was backslashed, and therefore
1686         did not quote the single quote.  Hence before this patch, Autoconf
1687         was not compatible with Libtool.
1689 2002-11-04  Paul Eggert  <eggert@twinsun.com>
1691         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
1692         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
1693         LC_NAME, LC_PAPER, LC_TELEPHONE.
1694         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
1696 2002-11-04  Akim Demaille  <akim@epita.fr>
1698         Version 2.54c.
1700         * Makefile.maint (update, cvs-update, po-update, do-po-update):
1701         New.
1702         * config/texinfo.tex: Update.
1704 2002-11-03  Akim Demaille  <akim@epita.fr>
1706         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
1707         from...
1708         (&autoreconf): here.
1709         ($help, $make, &parse_args, &autoreconf_current_directory):
1710         Support -m/--make.
1711         * doc/autoconf.texi (autoreconf Invocation): Adjust.
1713 2002-10-31  Bruno Haible  <bruno@clisp.org>
1715         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
1716         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
1717         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
1718         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
1719         to ac_cv_func_realloc_0_nonnull.
1720         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
1722 2002-10-31  Akim Demaille  <akim@epita.fr>
1724         The test suite was no longer checking for trailing envvars and files.
1726         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
1727         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
1729 2002-10-31  Akim Demaille  <akim@epita.fr>
1731         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
1732         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
1733         Make variable, not a shell variable.
1734         Suggested by Bruno Haible.
1736 2002-10-31  Akim Demaille  <akim@epita.fr>
1738         * bin/autom4te.in (load_configuration): Reject #args out of any
1739         language.
1741 2002-10-31  Akim Demaille  <akim@epita.fr>
1743         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
1744         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
1745         (_AC_RUN_IFELSE): Use it.
1746         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
1747         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1748         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
1749         inline it.
1751 2002-10-30  Akim Demaille  <akim@epita.fr>
1753         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
1754         * doc/autoconf.texi (autom4te Invocation): Adjust.
1755         Suggested by Tim van Holder.
1757 2002-10-29  Paul Eggert  <eggert@twinsun.com>
1759         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
1760         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
1761         Problem reported by Bruno Haible.
1763 2002-10-29  Akim Demaille  <akim@epita.fr>
1765         * doc/autoconf.texi (Header Templates): Put also in words what the
1766         pictures says to assist free style readers.
1767         (Customizing autom4te): s/--cache=/--cache /.
1769 2002-10-29  Akim Demaille  <akim@epita.fr>
1771         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
1772         sys/wait.h.
1773         sparc_address_test returns void.
1774         Use it with an argument, as prototyped.
1775         From Bruno Haible.
1777 2002-10-29  Akim Demaille  <akim@epita.fr>
1779         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
1780         configure.in, not configure.ac.
1781         Reported by Bruno Haible.
1783 2002-10-29  Akim Demaille  <akim@epita.fr>
1785         * tests/torture.at (Deep Package): New test.
1786         (Configuring subdirectories): Don't use a testSubDir as Autotest
1787         now does it itself.
1789 2002-10-29  Akim Demaille  <akim@epita.fr>
1791         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
1792         * doc/autoconf.texi (Invoking autom4te): Rename as...
1793         (autom4te Invocation): this, for consistency with the other nodes.
1795 2002-10-29  Akim Demaille  <akim@epita.fr>
1797         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
1798         Reported by Ralf Corsepius.
1800 2002-10-29  Akim Demaille  <akim@epita.fr>
1802         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1803         characters is a back as an `obsolete' warning now.
1804         Reported by Ralf Corsepius.
1806 2002-10-28  Akim Demaille  <akim@epita.fr>
1808         * configure.ac: Bump to 2.54c.
1810 2002-10-28  Akim Demaille  <akim@epita.fr>
1812         Version 2.54b.
1814         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
1816 2002-10-28  Akim Demaille  <akim@epita.fr>
1818         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
1819         m4 executable names, and different GNU M4 version.
1820         Reported by Ezra Peisach and Paul Jarc.
1822 2002-10-27  Akim Demaille  <akim@epita.fr>
1824         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
1825         AC_RUN_IFELSE.
1827 2002-10-27  Akim Demaille  <akim@epita.fr>
1829         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
1830         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
1831         Die when a simple Fortran program cannot be compiled.
1832         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
1833         Issue a warning if no function is given.
1835 2002-10-27  Akim Demaille  <akim@epita.fr>
1837         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
1838         Move the documentation of AC_TRY_RUN to...
1839         (Obsolete Macros): here.
1840         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
1841         (autoconf Invocation): Remove the duplicates with `invoking
1842         autom4te'.
1843         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
1844         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
1846 2002-10-27  Akim Demaille  <akim@epita.fr>
1848         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
1849         and AC_LANG_FUNC_LINK_TRY.
1850         (Examining Libraries): Rename as...
1851         (Running the Linker): this.
1852         Document AC_LINK_IFELSE.
1853         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
1854         (Obsolete Macros): here.
1855         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
1856         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
1857         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
1858         * lib/autoconf/headers.m4 (AC_USG): Likewise.
1860 2002-10-27  Akim Demaille  <akim@epita.fr>
1862         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
1864         More `check config.log' messages.
1866         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
1867         * doc/autoconf.texi (Printing Messages): Document it.
1868         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
1869         appropriate.
1870         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
1871         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
1872         (_AC_COMPILER_OBJEXT): Likewise.
1873         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
1874         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
1875         Likewise.
1876         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
1877         Likewise.
1879         Deprecate macros with unusual interfaces.
1881         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
1882         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
1884         Document the new ones, and proper style.
1886         * doc/autoconf.texi (Generating Sources): New.
1887         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
1888         (Examining Declarations): Rename as...
1889         (Running the Preprocessor): this.
1890         Document AC_PREPROC_IFELSE.
1891         (Examining Syntax): Rename as...
1892         (Running the Compiler): this.
1893         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
1894         (Obsolete Macros): Move the definition of AC_TRY_CPP and
1895         AC_TRY_COMPILE here.
1897 2002-10-27  Akim Demaille  <akim@epita.fr>
1899         Move sections around.
1901         * doc/autoconf.texi (Customizing autom4te): Remove a lost
1902         sentence.
1903         Reported by Burno Haible.
1904         (Language Choice): Now the first section of...
1905         (Writing Tests): this section.
1906         Make the introduction less C-centric.
1907         (Guidelines, Test Functions): Move to...
1908         (Writing Test Programs): this new section.
1909         (Test Programs): Merge into...
1910         (Run Time): this.
1912 2002-10-27  Akim Demaille  <akim@epita.fr>
1914         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
1915         autom4te.in that resulted in the need for two `make' runs.
1917 2002-10-27  Akim Demaille  <akim@epita.fr>
1919         * configure.ac: Bump to 2.54b.
1921 2002-10-25  Akim Demaille  <akim@epita.fr>
1923         Version 2.54a.
1925         * Makefile.maint: Update from the Coreutils.
1926         (AMTAR): Remove, obsolete.
1927         (automake_repo): Update to redhat.com.
1928         (cvs_file): New.
1929         Adjust to the fact that ansi2knr is now hosted by Automake.
1930         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
1931         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
1932         Update from masters.
1933         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
1934         autoscan.pre is not to be installed, and autoscan.list is not to
1935         be shipped.
1936         (CLEANFILES): Add autoscan.list.
1937         (autoscan.list): Disable the cache.
1938         * bin/Makefile.am: Include freeze.mk.
1940 2002-10-25  Akim Demaille  <akim@epita.fr>
1942         * bin/autom4te.in (&load_configuration): Take the file as
1943         argument.
1944         (&parse_args): Handle -C, --cache.
1945         ($help): Adjust.
1946         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
1947         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
1948         * doc/autoconf.texi (Invoking autom4te): Document --cache.
1949         Now a subsection of...
1950         (Using autom4te): This new section.
1951         (Customizing autom4te): New.
1952         (autom4te.cache): Adjust.
1954 2002-10-25  Akim Demaille  <akim@epita.fr>
1956         * doc/autoconf.texi (Generic Headers): More information on how to
1957         use AC_CHECK_HEADERS.
1959 2002-10-25  Akim Demaille  <akim@epita.fr>
1961         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
1962         Space changes.
1964 2002-10-25  Akim Demaille  <akim@epita.fr>
1966         * bin/autoscan.in (output): Output AC_PREREQ.
1967         (%needed_macros): Add AC_PREREQ so that configure.ac without one
1968         be reported.
1970 2002-10-23  Akim Demaille  <akim@epita.fr>
1972         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
1973         document _Bool.
1975 2002-10-23  Akim Demaille  <akim@epita.fr>
1977         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
1978         Reported by Peter Eisentraut.
1980 2002-10-23  Akim Demaille  <akim@epita.fr>
1982         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
1983         type _Bool.
1984         Fix a typo.
1985         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
1986         Eggert's recommandations.
1988 2002-10-22  Akim Demaille  <akim@epita.fr>
1990         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
1991         Bison, by Paul Eggert.
1992         * doc/autoconf.texi (Particular Headers): Document it.
1994 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
1996         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
1997         `$ac_configure_args'.
1999 2002-10-22  Akim Demaille  <akim@epita.fr>
2001         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
2002         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
2003         From Art Haas.
2005 2002-10-22  Akim Demaille  <akim@epita.fr>
2007         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
2009         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
2010         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
2011         (_AC_CHECK_HEADER_NEW): Rename as...
2012         (AC_CHECK_HEADER): this.
2014 2002-10-22  Akim Demaille  <akim@epita.fr>
2016         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
2017         words about HP-UX cmp: it was actually a user-written cmp.
2019 2002-10-22  Akim Demaille  <akim@epita.fr>
2021         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
2022         are a few warnings.
2023         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
2024         Quote for Perl '' strings, not "".
2025         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
2026         strings.
2028 2002-10-22  Akim Demaille  <akim@epita.fr>
2030         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
2031         characters is a syntax warning now.
2032         (_AS_QUOTE): Accept $2 as list of characters to quote.
2033         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
2034         Quote for Perl, not sh.
2035         * bin/autoheader.in: When $debug, report the file which is
2036         `do'ne.
2037         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
2038         `@', to tickle Perl's lists.
2039         Reported by Carlos Velasco.
2041 2002-10-18  Akim Demaille  <akim@epita.fr>
2043         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
2044         missing included files _are_ errors.
2045         Thanks to Alexandre Duret-Lutz.
2046         * tests/tools.at (autom4te cache): Adjust.
2047         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
2048         (AT_CHECK_M4SUGAR): Use it.
2049         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2050         Adjust.
2051         * tests/tools.at (autom4te): Now it does exit 1.
2053 2002-10-17  Akim Demaille  <akim@epita.fr>
2055         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
2056         Fixes the `AC_ARG_VAR' test failures.
2057         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
2058         * lib/freeze.mk (check-forbidden-patterns): New.
2059         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
2060         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
2061         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
2062         /dev/null.
2063         Reported months ago by H. Merijn Brand.
2065 2002-10-17  Akim Demaille  <akim@epita.fr>
2067         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
2069 2002-10-16  Paul Eggert  <eggert@twinsun.com>
2071         * Makefile.maint (wget_files): Remove ansi2knr.c.
2072         (ansi2knr.c-url_prefix): Remove.
2074 2002-10-16  Akim Demaille  <akim@epita.fr>
2076         Because of caching, some files that no longer exist and are no
2077         longer required can still cause errors.
2078         Reported by Alexandre Duret-Lutz.
2080         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
2081         to frozen files in @ARGV, as @ARGV must remain being a list of
2082         files.  Rather, at M4 call sites, use this...
2083         (&files_to_options): New function.
2084         (&freeze): Use &error.
2085         (&up_to_date): If a file that was included according to the cache
2086         is no longer there, then the output is out dated.
2087         (&main): Don't even check whether a file is up to date is anyway
2088         --force is given.
2089         * tests/tools.at (autom4te cache): New.
2091 2002-10-16  Akim Demaille  <akim@epita.fr>
2093         * bin/autoconf.as: Kill dead options.
2094         * bin/autoupdate.in (&parse_args): Kill old options.
2095         * bin/autoreconf.in (&parse_args): Remove dead options.
2096         Factor some code.
2097         (&autoreconf): Report the directories we enter *and leave*, so
2098         that error messages can be easily located, and use GNU Make
2099         format, so that Emacs' compile mode understands us.
2100         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
2101         if some file was changed instead of `print'.
2102         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
2103         (&parse_args): Remove the dead options.
2104         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
2105         autoheader's quiet mode.
2106         (AT_CHECK_AUTOUPDATE): Likewise.
2107         * tests/tools.at (autoupdate): Adjust.
2108         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2110 2002-10-11  Akim Demaille  <akim@epita.fr>
2112         No longer use CPP to check for the existing of headers: use CC to
2113         check for compilability.
2115         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
2116         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
2117         (_AC_CHECK_HEADER_NEW): Rename as...
2118         (AC_CHECK_HEADER): this.
2120         * lib/autotest/general.m4 (AT_INIT): Include the failed test
2121         numbers in the Subject suggestion.
2123 2002-10-11  Akim Demaille  <akim@epita.fr>
2125         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
2126         Suggest using AC_CHECK_DECLS instead.
2128 2002-10-11  Akim Demaille  <akim@epita.fr>
2130         * tests/torture.at (AC_ARG_VAR): Have configure report the value
2131         of `precious'.
2133 2002-10-11  Akim Demaille  <akim@epita.fr>
2135         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
2136         file name to enable parallel executions.
2137         From Sam Varshavchik.
2139 2002-10-08  Akim Demaille  <akim@epita.fr>
2141         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
2142         aclocal invocation, as Gettext macros might not be visible to
2143         aclocal.
2144         Instead of blindly running autopoint, scan configure.ac (not the
2145         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
2146         Reported by Paul D. Smith.
2148 2002-10-08  Paul Eggert  <eggert@twinsun.com>
2150         Work around problems found when POSIXLY_CORRECT=1 is set.
2151         None of this seems to have anything to do with POSIX, really,
2152         but it's how Perl getopt works.
2153         * bin/autom4te.in (parse_args): Configure GetOpt with
2154         "permute", too.
2155         * doc/autoconf.texi (Invoking autom4te):
2156         --warning -> --warnings.
2157         * lib/autom4te.in: --warning -> --warnings.
2159 2002-09-28  Akim Demaille  <akim@epita.fr>
2161         * doc/autoconf.texi (autom4te.cache): New section.
2163 2002-09-28  Akim Demaille  <akim@epita.fr>
2165         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
2166         (Automake-preselections): Update.
2167         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
2169 2002-09-28  Akim Demaille  <akim@epita.fr>
2171         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
2172         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
2173         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
2174         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
2176 2002-09-28  Akim Demaille  <akim@epita.fr>
2178         * tests/torture.at (Configuring subdirectories): Be robust to
2179         users who use config.site to require for a cache: in this case,
2180         the two last configure runs, using two different sets of
2181         arguments, trigger a legitimate error.
2183 2002-09-28  Akim Demaille  <akim@epita.fr>
2185         * tests/m4sh.at (Functions Support, Functions and return Support):
2186         New.
2188 2002-09-28  Akim Demaille  <akim@epita.fr>
2190         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
2191         autoheader are Perl programs.
2192         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
2193         (autom4te): Specify that the sources are in the $srcdir.
2194         * doc/autoconf.texi (Installation Directory Variables): Adjust.
2196 2002-09-28  Akim Demaille  <akim@epita.fr>
2198         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
2199         (tm_zone): Move their rules to...
2200         * lib/autoconf/types.m4: here, using AN_ macros.
2201         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
2202         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
2203         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
2204         * lib/autoconf/programs.m4: here.
2205         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
2206         (ETAGS_FOR_AUTOCONF): New.
2207         Use it.
2209 2002-09-28  Akim Demaille  <akim@epita.fr>
2211         * lib/autoconf/autoscan.m4: New file.
2212         * lib/autoconf/autoconf.m4: Include it.
2213         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
2214         that were listed in the original autoscan.list.
2215         * lib/autoconf/headers.m4: Similarly with headers.
2216         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
2217         (.m4.m4f): Don't pass --prepend-include, since that's done by
2218         tests/autom4te itself.
2219         * lib/autoscan/Makefile.am: Include freeze.mk.
2220         (autoscan.list): New target --this file is no longer a source.
2221         (autoscan.pre): New file.
2223 2002-09-28  Akim Demaille  <akim@epita.fr>
2225         * bin/autoscan.in (@kinds): Make them singular.
2226         Adjust all uses.
2227         (&init_tables): When --debug, report the list of rules to ease
2228         tracking changes in autoscan.list.
2229         * lib/autoscan/autoscan.list (function): Strip comments, sort.
2231 2002-09-28  Akim Demaille  <akim@epita.fr>
2233         * lib/autoscan/functions, lib/autoscan/headers,
2234         * lib/autoscan/identifiers, lib/autoscan/makevars,
2235         * lib/autoscan/programs: Merge into...
2236         * lib/autoscan/autoscan.list: this.
2237         * bin/autoscan.in (&init_tables): Adjust.
2239 2002-09-28  Akim Demaille  <akim@epita.fr>
2241         * lib/autoscan/functions, lib/autoscan/headers,
2242         * lib/autoscan/identifiers, lib/autoscan/makevars,
2243         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
2244         `functions' line is now prefixed with `function:'.
2245         * bin/autoscan.in (&init_tables): Adjust.
2247 2002-09-28  Akim Demaille  <akim@epita.fr>
2249         From now on, autoscan files must always map a macro name to a
2250         word: there is no `default' macro for autoscan.
2252         * bin/autoscan.in (&init_tables): Reject entries with no macro at
2253         all.
2254         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
2255         explicit.
2257 2002-09-28  Akim Demaille  <akim@epita.fr>
2259         * bin/autoscan.in (%c_keywords): Remove.
2260         (&used): Keep only track of the words we might be interested in.
2261         (&output_kind): It is no longer needed to look for non active
2262         checks.
2264 2002-09-27  Akim Demaille  <akim@epita.fr>
2266         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
2267         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
2268         * lib/autoscan/functions: Adjust.
2269         * doc/autoconf.texi (Particular Functions): Adjust.
2271 2002-09-27  Akim Demaille  <akim@epita.fr>
2273         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
2274         from /tmp.
2275         Thanks to Bill Moseley and Paul Eggert.
2276         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
2277         the tmpdir must be created.
2278         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
2279         dir be in the build tree, instead of $TMPDIR.
2281 2002-09-27  Akim Demaille  <akim@epita.fr>
2283         * bin/autoscan.in: Improve the comments.
2284         (&parse_args): Drop obsolete undocumented options.
2285         (&output_kind): Output warnings.
2286         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
2287         (getwd): Trigger a warning.
2289 2002-09-26  Akim Demaille  <akim@epita.fr>
2291         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
2292         Reported by Ralf Corsepius.
2293         * doc/autoconf.texi (autoreconf Invocation): Likewise.
2295 2002-09-26  Akim Demaille  <akim@epita.fr>
2297         Single suffix rules and seperated dependencies are not portable.
2299         * doc/autoconf.texi (Installation Directory Variables): Update.
2300         (Limitations of Make): Some about `Single Suffix Rules and
2301         Separated Dependencies'.
2302         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2303         (ifnames, autoscan, autom4te): Un-factor into several rules.
2305 2002-09-25  Paul Eggert  <eggert@twinsun.com>
2307         * BUGS (Interoperability bugs): New section.  Mention libtool
2308         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
2310 2002-09-24  Paul Eggert  <eggert@twinsun.com>
2312         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
2313         make handles suffix-rules differently from GNU make.
2315         * bin/Makefile.am (SUFFIXES, .in): Remove.
2316         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
2317         Move the body of the old .in rule here.
2319 2002-09-16  Akim Demaille  <akim@epita.fr>
2321         i960 compilers create `b.out' files by default.
2322         Reported by Ralf Corsepius.
2324         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
2325         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
2327 2002-09-13  Paul Eggert  <eggert@twinsun.com>
2329         * doc/autoconf.texi (Particular Headers): Remove obsolete
2330         reference to `struct timezone' in the description of
2331         AC_HEADER_TIME.
2333 2002-09-13  Akim Demaille  <akim@epita.fr>
2335         Version 2.54.
2337         * config/config.sub, config/config.guess: Update.
2338         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
2339         * Makefile.am: Adjust.
2341 2002-09-13  Akim Demaille  <akim@epita.fr>
2343         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
2344         reading config.log when the compiler is rejected.
2345         Suggested by Guido Draheim.
2347 2002-09-13  Akim Demaille  <akim@epita.fr>
2349         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
2350         (chdir_init) might hang when stat'ing mounted directories.
2351         Reported by Vance Shipley.
2353 2002-09-12  Akim Demaille  <akim@epita.fr>
2355         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
2356         the lists.
2358 2002-09-12  Akim Demaille  <akim@epita.fr>
2360         * doc/autoconf.texi (Defining Symbols): Present two different
2361         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
2362         difference between 1 argument calls, and 2-3 argument calls.
2364 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
2366         * doc/autoconf.texi: Review grammar and punctuation.
2368 2002-09-11  Paul Eggert  <eggert@twinsun.com>
2370         * doc/autoconf.texi: Fix minor formatting, spelling, and
2371         grammatical typos.
2372         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
2373         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
2374         is obsolescent.
2376 2002-09-11  Akim Demaille  <akim@epita.fr>
2378         * doc/autoconf.texi (Questions): Rename as...
2379         (FAQ): this.
2380         (Defining Directories): New.
2382 2002-09-09  Akim Demaille  <akim@epita.fr>
2384         * doc/autoconf.texi (Making testsuite Scripts): Update.
2385         Suggested by Nishio Futoshi.
2387 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
2389         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
2390         plain `@' is wanted.
2392 2002-09-09  Akim Demaille  <akim@epita.fr>
2394         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
2395         `duplicates', since the algorithm was too naive and could keep
2396         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
2397         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
2398         Reported by Ralf Corsepius.
2399         * tests/torture.at (Configuring subdirectories): Exercise these
2400         cases.
2402 2002-09-09  Akim Demaille  <akim@epita.fr>
2404         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
2405         looking for a replacement file.
2406         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
2407         directory is relative.
2408         * doc/autoconf.texi (Generic Functions): Clarify the replacement
2409         directory definition.
2410         Reported by Andreas Schwab and Jim Meyering.
2412 2002-09-06  Akim Demaille  <akim@epita.fr>
2414         * doc/autoconf.texi (Setting Output Variables): Clarify what
2415         precious variables are.
2416         Suggested by Pontus Skoeld.
2418 2002-09-05  Akim Demaille  <akim@epita.fr>
2420         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2421         (ifnames, autoscan, autom4te): Since we don't only depend on
2422         configure.ac variables (such as VERSION etc.), but also on prefix
2423         and so forth, depend on Makefile, not configure.ac.
2424         Reported by Alexandre Duret-Lutz.
2425         * doc/autoconf.texi (Installation Directory Variables): Adjust.
2427 2002-09-05  Kevin Ryde  <user42@zip.com.au>
2429         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
2430         doesn't seem to be confined to ia64, just say "some versions".
2432 2002-09-04  Akim Demaille  <akim@epita.fr>
2434         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
2435         Automake 1.6c.
2436         * Makefile.am (maintainer-clean-local): Remove.
2437         (MAINTAINERCLEANFILES): Remove COPYING.
2439 2002-09-03  Paul Eggert  <eggert@twinsun.com>
2441         * doc/autoconf.texi (Configuration Commands): Remove obsolete
2442         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
2443         Brinkmann.
2445 2002-09-03  Akim Demaille  <akim@epita.fr>
2447         * configure.ac: Bump to 2.53d.
2448         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
2449         as of today, on Automake's team suggestion.
2451 2002-09-03  Akim Demaille  <akim@epita.fr>
2453         Version 2.53c.
2455 2002-09-02  Akim Demaille  <akim@epita.fr>
2457         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
2458         SITE_MACRO_DIR.
2459         * configure.ac: Disable SITE_MACRO_DIR.
2461 2002-09-02  Jim Meyering  <meyering@lucent.com>
2463         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
2464         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
2465         Also, tweak grammar: s/make sure to/be sure to/.
2467 2002-09-02  Paul Eggert  <eggert@twinsun.com>
2469         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
2470         directory names are generally preferable to physical names.
2472 2002-09-02  Akim Demaille  <akim@epita.fr>
2474         * lib/Autom4te/General.pm (&update_file): s/die/error/.
2475         Reported by Raja R. Harinath.
2476         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
2477         * bin/autoupdate.in: Use error instead of die.
2479 2002-09-01  Paul Eggert  <eggert@twinsun.com>
2481         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
2482         ordinary shell concatenation rather than echo+tr+sed command that
2483         runs afoul of a long-line-related sed bug in Solaris 8.
2485         * bin/autoheader.in (parse_args): --warning -> --warnings.
2487         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
2488         stdout, as traditional "ls" does.
2489         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
2490         _AC_COMPILER_EXEEXT_O): Likewise.
2491         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
2493         * bin/autoconf.as: Add --prepend-include option.  This patch was
2494         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
2495         but bin/autoconf.in is generated automatically from bin/autoconf.as.
2497         * bin/autoconf.in, configure: Regenerate.
2499         * doc/autoconf.texi (Special Shell Variables): Mention
2500         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
2502         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
2503         MAILPATH and set PS1, PS2, PS4 to default values, to work
2504         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
2505         For LC_ALL etc, first try to set to "C" as POSIX requires and as
2506         the Autoconf documentation specifies; fall back to "unset" only if
2507         this fails.  Use a shell for-loop for this rather than an m4 loop,
2508         to shorten the output script.
2510 2002-08-30  Paul Eggert  <eggert@twinsun.com>
2512         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
2513         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
2514         for the CDPATH problem.  Document PWD.
2515         (Limitations of Builtins): Document the problem that "cd $foo" and
2516         "ls $foo" may refer to different directories in shells conforming
2517         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
2518         example, since the old example is now out of date.
2520         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
2521         FOO" and "ls FOO" talk about different directories; this catches
2522         problems when POSIX 1003.1-2001 "cd" fails due to symlink
2523         spaghetti.
2525         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
2526         of rolling our own unset.
2527         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
2528         in practice we needn't worry about CDPATH if unset doesn't work.
2530         * Makefile.in, aclocal.m4, bin/Makefile.in,
2531         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
2532         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
2533         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
2534         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
2535         tests/Makefile.in: Regenerate with Automake 1.6.3.
2537         * config/config.guess, config/config.sub, config/mkinstalldirs:
2538         Update.
2540         * configure: Regenerate with self.
2542 2002-08-30  Kevin Ryde  <user42@zip.com.au>
2544         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
2545         default output.
2547 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2549         * bin/autom4te.in (Request::load): Correctly test for "do" read
2550         failure.
2552 2002-08-29  Akim Demaille  <akim@epita.fr>
2554         * lib/Autom4te/General.pm (&xqx): New.
2555         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
2556         hand, which is not portable.
2557         (&error): New.
2558         * bin/autom4te.in: Use them.
2559         Use &error instead of die.
2560         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2561         Adjust.
2563 2002-08-17  Paul Eggert  <eggert@twinsun.com>
2565         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
2566         default list of compilers to try, since it was long ago superseded
2567         by the ksh fc builtin.  Suggested by Steven G. Johnson.
2569 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
2571         * doc/autoconf.texi (Invoking autom4te): End the option table,
2572         fixing a bug introduced by the previous patch.
2573         (Limitations of Make): Add a 'target lookup' subentry in the
2574         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
2576 2002-07-29  Mark D. Roth  <roth@feep.net>
2578         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
2579         options and use $AUTOM4TE_PATH.
2580         * doc/autoconf.texi: Remove documentation of autom4te
2581         --include-envvar and --site-macro-subdir options and document
2582         use of $AUTOM4TE_PATH.
2583         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
2584         arguments from each language section.
2586 2002-07-29  Paul Eggert  <eggert@twinsun.com>
2588         * doc/install.texi: Include copyright symbol in copyright notice.
2590         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
2591         Replace with:
2592         (AM_MAKEINFOFLAGS): New macro.
2593         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
2594         * Makefile.am (INSTALL): Use the new macros.
2595         Use -o rather than --output, since "missing" does not grok --output.
2597 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2599         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
2600         comments do not always work. Never trust the exit status of
2601         `make -k'.
2603 2002-07-24  Kevin Ryde  <user42@zip.com.au>
2605         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
2606         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
2608 2002-07-23  Paul Eggert  <eggert@twinsun.com>
2610         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
2611         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
2612         apparently treats PATH="nonexistent" as if it contained ".".
2613         Bug reported by Stefan `Sec' Zehl.
2615 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
2617         * doc/autoconf.texi (Limitations of Make): Mention the special
2618         handling of the obj/ directory by BSD make.
2620 2002-07-20  Kevin Ryde  <user42@zip.com.au>
2622         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
2623         backslashes.
2625 2002-07-19  Akim Demaille  <akim@epita.fr>
2627         * doc/autoconf.texi (Function Portability): `exit'.
2628         (Programming in M4sh): Ethymology of M4sh.
2630 2002-07-19  Akim Demaille  <akim@epita.fr>
2632         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
2634 2002-07-18  Akim Demaille  <akim@epita.fr>
2636         Version 2.53b.
2638 2002-07-18  Akim Demaille  <akim@epita.fr>
2640         * config/config.guess, config/config.sub: Update.
2642 2002-07-18  Akim Demaille  <akim@epita.fr>
2644         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
2645         Automake's parts.
2647         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
2648         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
2649         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
2651 2002-07-18  Akim Demaille  <akim@epita.fr>,
2652             Alexandre Duret-Lutz  <duret_g@epita.fr>
2654         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
2655         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
2657 2002-07-17  Russ Allbery  <rra@stanford.edu>
2659         * doc/autoconf.texi (Initializing configure): Clarify the
2660         description of the tarname default.
2662 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
2664         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
2665         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
2666         latter was not run.
2668 2002-07-17  Akim Demaille  <akim@epita.fr>
2670         * lib/Autom4te/General.pm (find_file): Browse the directories in
2671         the order they are given.
2673 2002-07-17  Akim Demaille  <akim@epita.fr>
2675         * tests/wrapsh.as, tests/wrappl.as: Merge into...
2676         * tests/wrapper.as: this.
2677         * tests/Makefile.am, configure.ac: Adjust.
2679 2002-07-17  Mark D. Roth  <roth@feep.net>
2681         * configure.ac: Add --enable-site-macro-dir option.
2682         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
2683         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
2684         --site-macro-subdir options.
2685         * bin/autoconf.in: Add --prepend-include option.
2686         * bin/autoheader.in: Add --prepend-include option.
2687         * bin/autoreconf.in: Add --prepend-include option.
2688         * bin/autoscan.in: Add --prepend-include option.
2689         * bin/autoupdate.in: Add --prepend-include option.
2690         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
2691         macro directory, remove note that include path directories are
2692         used in reverse order, and document --prepend-include option.
2693         * lib/autom4te.in: Use --prepend-include instead of --include.
2694         * tests/wrapsh.in: Use --prepend-include instead of --include.
2696 2002-07-17  Akim Demaille  <akim@epita.fr>
2698         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
2699         tarnames.
2700         * doc/autoconf.texi (Initializing configure): Adjust.
2702 2002-07-17  Akim Demaille  <akim@epita.fr>
2704         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
2705         (_AC_FUNC_MALLOC): New.
2706         (AC_FUNC_MALLOC): Use the latter.
2707         Define HAVE_MALLOC to 0 if broken.
2708         * doc/autoconf.texi (Particular Functions): Adjust.
2710 2002-07-16  Akim Demaille  <akim@epita.fr>
2712         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
2713         * doc/autoconf.texi (C Compiler): Adjust.
2715 2002-07-09  Akim Demaille  <akim@epita.fr>
2717         * doc/autoconf.texi: Properly set the ``header'' part.
2719 2002-07-09  Akim Demaille  <akim@epita.fr>
2721         * doc/autoconf.texi (Systemology): Some about Darwin.
2723 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
2725         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2726         Don't use AC_REQUIRE in AU_DEFUN.
2728 2002-07-09  Art Haas  <ahaas@neosoft.com>
2730         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
2732 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
2734         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2735         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
2736         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
2737         so that Emacs setups GNU style for perl-mode and cperl-mode.
2739 2002-06-27  Paul Eggert  <eggert@twinsun.com>
2741         * config/install-sh: Quote $src.  Prefer || to test's -o option,
2742         as per "Limitations of Builtins".
2743         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
2744         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2746         * tests/mktests.sh: Use grep instead of fgrep, as per
2747         "Limitations of Builtins".
2749 2002-06-15  Paul Eggert  <eggert@twinsun.com>
2751         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
2752         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
2753         so that we consistently test the just-built programs.
2754         * tests/wrappl.as: Likewise.
2756 2002-06-12  Paul Eggert  <eggert@twinsun.com>
2758         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
2759         name, so that symlinks to 'autoconf' work properly.  Bug reported
2760         by Bruno Haible.
2761         * bin/autoheader.in (AUTOM4TE): Likewise.
2762         * bin/autoreconf.in (autoconf, autoheader): Likewise.
2763         * bin/autoscan.in (autom4te): Likewise.
2764         * bin/autoupdate.in (autom4te): Likewise.
2766         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
2767         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
2768         on Solaris 2.5.1.
2770 2002-06-11  Andreas Schwab  <schwab@suse.de>
2772         * doc/autoconf.texi: Add more dir entries.
2774 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2776         * bin/autom4te.in ($cache): Don't define using `$me', the name
2777         of the cache should not depend on the name under which autom4te
2778         was installed.
2780 2002-06-07  Akim Demaille  <akim@epita.fr>
2782         * tests/tools.at (autoconf: forbidden tokens, basic)
2783         (autoconf: forbidden tokens, exceptions): Adjust to the change of
2784         words in autom4te.in.
2786 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
2788         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
2789         _AC_LANG_PROGRAM_C_F77_HOOKS.
2791 2002-06-07  Akim Demaille  <akim@epita.fr>
2793         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
2794         rename as...
2795         (AC_REPLACE_FNMATCH): this.
2796         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
2797         AC_FUNC_FNMATCH_GNU.
2799 2002-06-07  Akim Demaille  <akim@epita.fr>
2801         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
2802         Rosetta Stone for Unix.
2804 2002-06-07  Akim Demaille  <akim@epita.fr>
2806         * bin/autom4te.in (warn_forbidden): When rejecting a token,
2807         suggest m4_pattern_allow.
2808         Suggested by Adam J. Richter.
2810 2002-06-07  Akim Demaille  <akim@epita.fr>
2812         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2813         ac_config_libobj_dir.
2814         (AC_CONFIG_LIBOBJ_DIR): New.
2815         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
2816         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
2817         Use ac_config_libobj_dir to find the replacement files.
2818         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
2819         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
2820         (AC_REPLACE_FNMATCH_GNU): these.
2821         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
2822         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
2823         * tests/mktests.sh (ac_exclude_list): Don't check
2824         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
2826 2002-06-06  Paul Eggert  <eggert@twinsun.com>
2828         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
2829         if ln doesn't work.
2830         * NEWS: Likewise.
2831         * doc/autoconf.texi (Configuration Links): Likewise.
2832         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
2834 2002-06-05  Paul Eggert  <eggert@twinsun.com>
2836         * config/config.guess, config/config.sub, config/texinfo.tex:
2837         Update from masters.
2839 2002-05-29  Paul Eggert  <eggert@twinsun.com>
2841         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
2842         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
2843         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
2844         Likewise.
2845         * lib/autoconf/Makefile.am (check-local): Likewise.
2846         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
2847         * lib/autoconf/types.m4 (commentary only): Likewise.
2848         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
2849         * lib/autotest/Makefile.am (check-local): Likewise.
2850         * lib/m4sugar/Makefile.am (check-local): Likewise.
2851         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
2852         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
2854         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
2855         * doc/autoconf.texi (Particular Programs): Document them.
2856         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
2857         * NEWS: Likewise.
2859 2002-05-27  Paul Eggert  <eggert@twinsun.com>
2861         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
2862         * NEWS, doc/autoconf.texi (Particular Types): Document it.
2863         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
2864         instead of AC_MBSTATE_T, which never existed.
2866 2002-05-23  Akim Demaille  <akim@epita.fr>
2868         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
2869         version of Autoconf that is discussed.
2871 2002-05-22  Paul Eggert  <eggert@twinsun.com>
2873         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
2874         from the default list of compilers to try.  Suggested by
2875         Kate Hedstrom.
2876         * NEWS: Document the above.
2877         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
2879 2002-05-17  Paul Eggert  <eggert@twinsun.com>
2881         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
2882         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
2883         This improves on an earlier suggestion by H. Peter Anvin.
2885 2002-05-16  Paul Eggert  <eggert@twinsun.com>
2887         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
2888         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
2889         Both macros now accept an optional source-dir arg.
2890         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
2892         * NEWS: Document this.
2893         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
2895         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
2896         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
2897         not for GNU extensions; this undoes part of the 2000-11-03 change,
2898         reverting to 2.13-compatible behavior.
2899         Add new optional argument DIR.
2900         (AC_FUNC_FNMATCH_GNU): New macro.
2902         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
2904 2002-05-08  Paul Eggert  <eggert@twinsun.com>
2906         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
2907         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
2908         and it causes a 'test' syntax error if it fails.
2909         Bug reported by Stephen Gildea.
2911         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
2912         If prototypes are supported, use them to check this at compile-time,
2913         instead of trying to check it at run-time.  If we must do a run-time
2914         check, assume that setvbuf is standard when cross-compiling, as
2915         nonstandard setvbuf occurs only on ancient and unlikely hosts.
2916         Bug reported by Paul D. Smith.
2918         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
2919         argument specifying location of getloadavg.c.  This removes a
2920         FIXME.  This idea was taken from Jim Meyering's implementation in
2921         textutils.
2922         * doc/autoconf.texi (Particular Functions): Document this.
2923         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
2924         that's what the code does; this fixes a bug reported by
2925         Paul D. Smith.
2927 2002-05-03  Akim Demaille  <akim@epita.fr>
2929         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
2930         autopoint instead of gettextize.
2931         ($uses_alocal): Rename as...
2932         ($uses_aclocal): this.
2933         * doc/autoconf.texi (autoreconf Invocation): Adjust.
2934         Suggested by Bruno Haible.
2936 2002-05-03  Akim Demaille  <akim@epita.fr>
2938         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
2940 2002-04-29  Paul Eggert  <eggert@twinsun.com>
2942         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
2943         files to be 1 second older; just set them to be the same time.
2944         Also, sleep 1 second after the first aclocal, to work around
2945         problems with sub-second time stamps on the input files.
2947 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
2949         * doc/autoconf.texi: Mention "set -e -x" lossage
2950         under node "Limitations of Builtins".
2952 2002-04-29  Akim Demaille  <akim@epita.fr>
2954         * doc/install.texi: Better wording for setting variables when
2955         running configure.
2956         From Christian Cornelssen.
2958 2002-04-29  Akim Demaille  <akim@epita.fr>
2960         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
2961         of lack of $LINENO support, then the test will compare the $LINENO
2962         in testsuite vs. the lineno in the test file.  This is wrong, of
2963         course.
2964         Be sure to protect it.
2965         Reported by Patrick Welche.
2967 2002-04-25  Akim Demaille  <akim@epita.fr>
2969         * doc/autoconf.texi (Obsolete Macros): Typo.
2970         Reported by Vladimir Volovich.
2972 2002-04-25  Akim Demaille  <akim@epita.fr>
2974         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
2975         than some of the input files, hence, on the second run of aclocal,
2976         if some of its input are younger, make them older.
2977         Suggested by Paul Eggert.
2979 2002-04-25  Akim Demaille  <akim@epita.fr>
2981         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
2982         Thanks to Paul Eggert.
2984 2002-04-25  Akim Demaille  <akim@epita.fr>
2986         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
2987         and ac_subst_vars be sh variables containing the list of
2988         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
2989         DEFAULT diversion.
2990         (_AC_INIT_PREPARE): Use them to log them.
2991         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
2992         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
2993         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
2994         _AC_SUBST_FILES and _AC_SUBST_VARS.
2995         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
2997 2002-04-24  Akim Demaille  <akim@epita.fr>
2999         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
3000         autoheader, so that automake does not complain about a missing
3001         config.h.in that was to be created.
3003 2002-04-23  Akim Demaille  <akim@epita.fr>
3005         * bin/autoheader.in (parse_args): --warning takes an argument.
3006         Fixes PR/220.
3008 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
3010         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
3011         and bb.out when cleaning up.
3013 2002-04-22  Akim Demaille  <akim@epita.fr>
3015         Version 2.53a.
3017 2002-04-22  Akim Demaille  <akim@epita.fr>
3019         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
3021 2002-04-22  Akim Demaille  <akim@epita.fr>
3023         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
3024         comma.
3025         Reported by Gregory Giannoni.
3027 2002-04-22  Akim Demaille  <akim@epita.fr>
3029         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
3030         Fixes false failures on Darwin.
3032 2002-04-21  Paul Eggert  <eggert@twinsun.com>
3034         * TODO, bin/autoupdate.in, doc/autoconf.texi,
3035         lib/autoconf/general.m4, lib/autoconf/libs.m4,
3036         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
3037         tests/tools.at: Minor spelling and grammar fixes.
3039 2002-04-20  Paul Eggert  <eggert@twinsun.com>
3041         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
3042         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
3043         * lib/autotest/general.m4 (AT_INIT): Likewise.
3044         * tests/atgeneral.m4 (AT_INIT): Likewise.
3046 2002-04-19  Paul Eggert  <eggert@twinsun.com>
3048         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
3049         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
3050         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
3051         lib/autoconf/functions.m4, lib/autoconf/general.m4,
3052         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
3053         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
3054         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
3055         Minor spelling and grammar fixes.
3057         * doc/autoconf.texi: Follow the outline suggested in the GNU
3058         Sample Texts sections of the Texinfo 4.2 manual.  Most
3059         importantly, this makes sure that the copyright notices appear in
3060         all output formats.  You probably need Texinfo 4.2 to generate
3061         the manual now.
3063         Fix some bugs when using "$@" when there might be zero positional
3064         arguments in cases where this matters.
3066         * bin/autoconf.as: Rewrite so that the problem does not come up.
3067         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
3068         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
3069         * lib/autotest/general.m4 (AT_INIT): Likewise.
3071         * bin/autoheader.in: Use 'case' statement to work around problem.
3072         * bin/auto4mte.in: Likewise.
3073         * bin/autoreconf.in: Likewise.
3074         * bin/autoscan.in: Likewise.
3075         * bin/autoupdate.in: Likewise.
3076         * bin/ifnames.in: Likewise.
3078         * doc/autoconf.texi (Shell Substitutions): Document the problem.
3080         * lib/autotest/general.m4 (AT_INIT):
3081         Use Zsh alias to work around problem.
3082         * tests/atgeneral.m4 (AT_INIT): Likewise.
3084         * tests/c.at: We can't have zero arguments, so remove workaround
3085         that is not portable to Zsh.
3087 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
3089         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
3090         from aclocal.m4 too.
3092 2002-04-12  Akim Demaille  <akim@epita.fr>
3094         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
3096 2002-04-10  Akim Demaille  <akim@epita.fr>
3098         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
3099         workaround for ${1+"$@"}.
3100         * doc/autoconf.texi (Shell Substitutions): Explain it.
3101         From Oliver Kiddle and Peter Stephenson.
3103         Have M4sh perform minimal shell sanitizing.
3105         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
3106         part into...
3107         (_AS_PREPARE): this new macro.
3108         (AS_PREPARE): New.
3109         (AS_INIT): Invoke AS_SHELL_SANITIZE.
3110         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
3112         Adjust Autoconf and Autotest.
3114         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
3115         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
3116         * lib/autotest/general.m4 (AT_INIT): Likewise.
3117         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3118         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
3119         AS_SHELL_SANITIZE.
3121         Use this M4sh to generate Autoconf's shell scripts.
3123         * tests/wrapsh.as: New, precursor of wrapsh.in.
3124         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
3125         on Autotest and M4sh.
3126         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
3127         (wrapsh.in): New target.
3128         * bin/autoconf.as: New, precursor of autoconf.in.
3129         (autoconf.in): New target.
3131 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
3133         * doc/autoconf.texi (Limitations of Make): Mention the issue
3134         with indented comments in rules.
3136 2002-04-09  Andreas Schwab  <schwab@suse.de>
3138         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
3139         ac_top_builddir when setting ac_abs_top_builddir.
3141 2002-04-06  Kevin Ryde  <user42@zip.com.au>
3143         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
3144         (Portable Shell): Cross reference to Systemology.
3146 2002-04-05  Akim Demaille  <akim@epita.fr>
3148         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
3149         directories when descending in a SUBDIRS.
3150         Reported by Ezra Peisach.
3152 2002-04-04  Andreas Schwab  <schwab@suse.de>
3154         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
3155         contains no literal separators.
3157 2002-04-03  Akim Demaille  <akim@epita.fr>
3159         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
3160         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
3161         Use dnl, not the KILL diversion.
3162         Extracted from...
3163         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
3164         (AC_CONFIG_LINKS): here.
3165         Adjust.
3166         Don't use the KILL diversion, as it kills spurious output, which
3167         results in failures being hidden.
3168         Use m4_defn where appropriate.
3169         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
3170         after the second argument.
3171         Use m4_defn.
3172         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
3173         syntax, as it is provided by M4sugar.
3174         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
3176 2002-04-03  Andreas Schwab  <schwab@suse.de>
3178         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
3179         expanded if $# <= 2.
3181         * bin/autoreconf.in (autoreconf): Run automake after rerunning
3182         aclocal.
3184 2002-04-03  Akim Demaille  <akim@epita.fr>
3186         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
3187         (_AC_COMPILER_EXEEXT_REJECT): New.
3188         Also recognize *.bb and *.bbg as compilation byproducts.
3189         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
3190         (_AC_COMPILER_OBJEXT): Use them.
3191         Fixes Debian #138666.
3193 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
3195         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
3197         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
3198         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
3199         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
3200         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
3201         (AC_C_CONST): Same.
3202         (AC_C_INLINE): Same.
3203         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
3204         * doc/autoconf.texi, NEWS: Document.
3205         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
3206         AC_C_CROSS.
3208 2002-04-02  Akim Demaille  <akim@epita.fr>
3210         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
3211         _AS_MKDIR_P_PREPARE.
3213 2002-03-28  Kevin Ryde  <user42@zip.com.au>
3215         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
3216         to avoid versions of HP C which don't allow that.
3218 2002-03-27  Paul Eggert  <eggert@twinsun.com>
3220         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
3221         (AS_SHELL_SANITIZE): Invoke it.
3222         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
3224 2002-03-26  Akim Demaille  <akim@epita.fr>
3226         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
3228 2002-03-26  Akim Demaille  <akim@epita.fr>
3230         * doc/autoconf.texi (Introduction): The GNATS base moved.
3232 2002-03-25  Paul Eggert  <eggert@twinsun.com>
3234         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
3235         as POSIX requires, as it doesn't work with Zsh.
3236         * doc/autoconf.texi (Assignments): Document the problem.
3238 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
3240         * doc/autoconf.texi (Limitations of Make): Mention more issue
3241         about VPATH, overriding of macros in sub-makes, and handling of
3242         SHELL.
3244 2002-03-21  Paul Eggert  <eggert@twinsun.com>
3246         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
3247         problem with here-document buffer boundaries.
3249         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
3250         when reinvoking the shell, to work around problems with installers
3251         who put strange things like "cd" commands in their environments.
3253 2002-03-19  Akim Demaille  <akim@epita.fr>
3255         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
3256         From Aaron Ucko.
3258 2002-03-19  Akim Demaille  <akim@epita.fr>
3260         * bin/autoscan.in (scan_file): Specify the location in `&used'
3261         invocations.
3262         From Nicolas Joly.
3264 2002-03-19  Akim Demaille  <akim@epita.fr>
3266         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
3267         From Nishio Futoshi.
3269 2002-03-19  Akim Demaille  <akim@epita.fr>
3271         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
3273 2002-03-18  Paul Eggert  <eggert@twinsun.com>
3275         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
3276         (Limitations of Usual Tools): Add mkdir section.
3278         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
3279         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
3280         back on AS_DIRNAME to compute prefixes otherwise; this is
3281         roughly what mkinstalldirs does.  That way, we need not have
3282         our own filename disassembler.  The old disassembler did not
3283         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
3285         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
3286         Create at_test_all by a series of assignments,
3287         not by a single assignment of a long string.  The latter causes ksh
3288         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
3289         presumably because of a buffer overrun.
3291 2002-03-14  Paul Eggert  <eggert@twinsun.com>
3293         * lib/autotest/general.m4 (at_times_skip):
3294         Renamed from at_times.  Now a boolean.
3295         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
3296         says 'times: not found'.
3298 2002-03-14  Akim Demaille  <akim@epita.fr>
3300         * bin/autoreconf.in (&study_gettextize): New.
3301         (&autoreconf): Handle newest gettextize.
3302         Rerun aclocal if needed.
3303         Suggested by Andreas Schwab.
3305 2002-03-13  Akim Demaille  <akim@epita.fr>
3307         * doc/autoconf.texi (Special Shell Variables): More about IFS.
3309 2002-03-13  Akim Demaille  <akim@epita.fr>
3311         * doc/autoconf.texi (Header Portability): New.
3312         Add information about stdint.h and inttypes.h from Paul Eggert.
3314 2002-03-13  Akim Demaille  <akim@epita.fr>
3316         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
3317         -p'.
3318         From Bob Proulx.
3320 2002-03-12  Akim Demaille  <akim@epita.fr>
3322         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
3323         m4_require.
3325 2002-03-11  Andreas Schwab  <schwab@suse.de>
3327         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
3328         does not do it if --with-lispdir is given.
3330 2002-03-08  Akim Demaille  <akim@epita.fr>
3332         Version 2.53.
3334 2002-03-08  Akim Demaille  <akim@epita.fr>
3336         * doc/autoconf.texi (Subdirectories): Clarify that the
3337         subdirectory should exist.
3339 2002-03-08  Akim Demaille  <akim@epita.fr>
3341         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
3343 2002-03-08  Akim Demaille  <akim@epita.fr>
3345         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
3346         aliases the actual variables, and modifications of the former
3347         affect the latter.
3349 2002-03-08  Akim Demaille  <akim@epita.fr>
3351         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
3352         because of C-c: have m4 output in tmp files, then mv them.
3354 2002-03-08  Akim Demaille  <akim@epita.fr>
3356         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
3357         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
3358         * bin/ifnames.in: Copyright update.
3360 2002-03-08  Akim Demaille  <akim@epita.fr>
3362         * doc/autoconf.texi (Invoking autom4te): New.
3364 2002-03-05  Akim Demaille  <akim@epita.fr>
3366         * doc/autoconf.texi (Specifying Names): Clarification suggested by
3367         Kevin Ryde.
3369 2002-03-05  Akim Demaille  <akim@epita.fr>
3371         Version 2.52i.
3373 2002-03-04  Akim Demaille  <akim@epita.fr>
3375         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
3376         * lib/autoconf/general.m4 (AC_INIT): More informative error
3377         message for LIBOBJ.
3379 2002-03-04  Akim Demaille  <akim@epita.fr>
3381         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
3382         parallel builds.
3384 2002-03-04  Akim Demaille  <akim@epita.fr>
3386         * doc/autoconf.texi (Transforming Names): Equality between target
3387         and host is irrelevant.
3388         (Specifying Names, Canonicalizing): Remove all references to the
3389         backward compatibility hooks.  Rather, collect them all into...
3390         (Hosts and Cross-Compilation): this new section.
3391         * doc/install.texi (System Type): Ditto.
3392         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
3393         that `--host' implies cross-compilation.
3395 2002-03-04  Akim Demaille  <akim@epita.fr>
3397         * doc/autoconf.texi (Evaluation Macros): New.
3398         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
3399         useless.
3400         (_m4_foreach): Define the variant with immediate evaluation so
3401         that it contains exactly the items, not an expression which
3402         evaluation is the current item.
3403         (m4_re_string, m4_re_word): Don't over quote them.
3405 2002-03-04  Akim Demaille  <akim@epita.fr>
3407         Instead of having stacking `shift's evaluated at the end, let
3408         `foreach' loops immediately evaluate them.
3410         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
3411         $*.  This is the n-th time I change my mind, but hopefully this is
3412         the last...
3413         (m4_lquote): New.
3414         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
3415         efficient.
3416         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
3417         it was only a hack for m4_text_wrap.
3418         (m4_car2): Remove, replaced by...
3419         (m4_cdr): New.
3420         (_m4_foreach): Adjust.
3421         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
3422         m4_bpatsubst for clarification.
3424 2002-03-04  Akim Demaille  <akim@epita.fr>
3426         * doc/autoconf.texi (Changequote is Evil): New.
3428 2002-03-03  Kevin Ryde  <user42@zip.com.au>
3430         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
3431         on old systems like SunOS.
3433 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
3435         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3436         lib/autoconf/functions.m4, lib/autoconf/general.m4,
3437         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
3438         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
3439         of messages.
3441 2002-02-28  Akim Demaille  <akim@epita.fr>
3443         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
3444         message to be sent.
3446 2002-02-28  Kevin Ryde  <user42@zip.com.au>
3448         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
3450 2002-02-25  Akim Demaille  <akim@epita.fr>
3452         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
3453         From Akinori Musha.
3455 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
3457         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
3458         translate \r\n to \n.
3460 2002-02-07  Akim Demaille  <akim@epita.fr>
3462         Version 2.52h.
3464 2002-02-07  Akim Demaille  <akim@epita.fr>
3466         Fix Autoconf PR/209.
3467         Also reported by Frank Denis.
3469         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
3471 2002-02-07  Akim Demaille  <akim@epita.fr>
3473         Fix Autoconf PR/207:
3474         AC_PREFIX_PROGRAM fails with dashed program names
3476         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
3477         variable when looking for the prefix program.
3478         Now it also works for shell variables.
3480 2002-02-07  Akim Demaille  <akim@epita.fr>
3482         * doc/autoconf.texi (Limitations of Builtins): More about
3483         case/esac.
3485 2002-02-06  Akim Demaille  <akim@epita.fr>
3487         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
3488         case/esac, some shells don't support it.
3489         Reported by Zack Weinberg.
3490         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
3492 2002-02-06  Akim Demaille  <akim@epita.fr>
3494         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
3495         sure not to introduce newlines in at_groups.
3496         * lib/autotest/Makefile.am (autotest.m4f): Typo.
3498 2002-02-06  Akim Demaille  <akim@epita.fr>
3500         * tests/torture.at (Configuring subdirectories): Skip if aclocal
3501         is not available.
3503 2002-02-05  Paul Eggert  <eggert@twinsun.com>
3505         * doc/autoconf.texi (Specific Compiler Characteristics):
3506         Describe HP-UX cc bug workaround more accurately.
3507         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
3508         not unsigned long.
3509         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
3510         cross-compilers, too.  This undoes some of the most recent change
3511         to this file.
3513 2002-02-05  Akim Demaille  <akim@epita.fr>
3515         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
3516         to make sure they are up to date when `check' is run.
3518 2002-02-05  Akim Demaille  <akim@epita.fr>
3520         * doc/autoconf.texi (Making testsuite Scripts): Document
3521         package.m4.
3523 2002-02-05  Akim Demaille  <akim@epita.fr>
3525         * lib/freeze.mk: New.
3527 2002-02-05  Akim Demaille  <akim@epita.fr>
3529         Implement `autom4te --freeze'.
3531         * bin/autom4te.in (&freeze): New.
3532         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
3533         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
3535 2002-02-05  Akim Demaille  <akim@epita.fr>
3537         * bin/autom4te.in (&parse_args): Implement `frozen files are
3538         optional are the sum of the previous files on the command line'.
3539         Also, pass `--reload-state=' on them, so...
3540         (handle_m4): don't.
3541         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
3542         (M4sh): Rely on M4sugar.
3543         (Autotest, M4sh, M4sugar): Use frozen files.
3545 2002-01-31  Akim Demaille  <akim@epita.fr>
3547         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
3548         * doc/autoconf.texi (Initializing configure): Adjust.
3550 2002-01-30  Akim Demaille  <akim@epita.fr>
3552         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
3553         alphanumeric to `-' instead of `_'.
3555 2002-01-30  Akim Demaille  <akim@epita.fr>
3557         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
3558         for plain code, the other for cross-compilation code.  The latter
3559         is now run with GCC only.
3560         * doc/autoconf.texi (Compilers and Preprocessors): New.
3562 2002-01-30  Akim Demaille  <akim@epita.fr>
3564         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
3565         values.
3566         * doc/autoconf.texi (Initializing configure): Explain how to
3567         change AC_INIT default values.
3569 2002-01-29  Akim Demaille  <akim@epita.fr>
3571         * tests/torture.at (Configuring subdirectories): Use configure.in,
3572         so that aclocal 1.4 works.
3573         Reported by Alexandre Duret-Lutz and Larry Schmitt.
3575 2002-01-28  Akim Demaille  <akim@epita.fr>
3577         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
3578         needs an argument.
3580 2002-01-28  Akim Demaille  <akim@epita.fr>
3582         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
3583         AUTOTEST_PATH *after* it was set.
3584         Don't put `.' in the PATH: the user should be precise and `./' if
3585         needed.  In addition, given that the test suite does some `cd', if
3586         `.' is in the path, the `tested programs' sections will report
3587         programs found in the test suite's directory, while during the
3588         tests (performed in their own directory), these programs are no
3589         longer visible.  In other words, the results is confusing and
3590         useless.
3591         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
3593 2002-01-24  Akim Demaille  <akim@epita.fr>
3595         Version 2.52g.
3597 2002-01-24  Akim Demaille  <akim@epita.fr>
3599         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
3600         * doc/autoconf.texi: Finally add Akim as an author.
3602 2002-01-24  Akim Demaille  <akim@epita.fr>
3604         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
3605         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
3606         Bourne. Use /bin/sh.
3607         From Andreas Buening.
3609 2002-01-24  Akim Demaille  <akim@epita.fr>
3611         * config/config.guess, config/config.sub, config/texinfo.tex:
3612         Update from masters.
3614 2002-01-24  Akim Demaille  <akim@epita.fr>
3616         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
3617         * config/auxdir.m4, config/cond.m4, config/depend.m4,
3618         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
3619         * config/missing.m4, config/sanity.m4, config/select.m4,
3620         * config/strip.m4: Remove, to ease sync'ing with any version of
3621         Automake.
3623 2002-01-24  Akim Demaille  <akim@epita.fr>
3625         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
3626         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
3627         Reported by Geir Ove Myhr.
3629 2002-01-21  Akim Demaille  <akim@epita.fr>
3631         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
3633 2002-01-21  Akim Demaille  <akim@epita.fr>
3635         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
3636         message on invalid options.
3637         * bin/autom4te.in (parse_args): Don't use
3638         Autoconf::General::getopt with non valid options.
3640 2002-01-17  Jim Meyering  <meyering@lucent.com>
3642         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
3643         $ac_cv_exeext so we don't use an old, invalid, cached value.
3645 2002-01-11  Akim Demaille  <akim@epita.fr>
3647         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
3648         Meyering.
3649         * doc/autoconf.texi (Function Portability): Document the strnlen
3650         limitation.
3651         (Particular Functions): Document AC_FUNC_STRNLEN.
3652         * lib/autoscan/functions: Adjust.
3654 2002-01-06  Akim Demaille  <akim@epita.fr>
3656         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
3657         package.m4, since is really depends upon configure.ac, not
3658         configure.
3659         * doc/autoconf.texi (testsuite Scripts): Adjust.
3660         * tests/Makefile.am (package.m4): New.
3661         EXTRA_DIST it since its a source.
3663 2002-01-06  Akim Demaille  <akim@epita.fr>
3665         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
3666         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
3667         and PACKAGE_BUGREPORT from here...
3668         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
3669         arguments.
3670         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
3671         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
3672         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
3673         * tests/tools.at (autoheader): Adjust.
3674         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
3676 2002-01-06  Akim Demaille  <akim@epita.fr>
3678         * bin/autoscan.in (scan_file): Use `&used'.
3680 2002-01-03  Akim Demaille  <akim@epita.fr>
3682         * doc/autoconf.texi (Output): Improved wording regarding use of
3683         AC_OUTPUT.
3684         From Olly Betts.
3686 2001-12-18  Kevin Ryde  <user42@zip.com.au>
3688         * doc/autoconf.texi (Function Portability): Add notes on sscanf
3689         sometimes needing writable input.
3691 2001-12-17  Jim Meyering  <meyering@lucent.com>
3693         * doc/autoconf.texi (New Macros): Tweak wording.
3695 2001-12-14  Akim Demaille  <akim@epita.fr>
3697         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
3698         trailing files, don't apply `-rf' to files which might not be
3699         created by configure (core, core.*, and *.core), but just `rm -f'.
3700         Suggested by Jonathan Kamens.
3702 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
3704         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
3706 2001-12-14  Akim Demaille  <akim@epita.fr>
3708         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
3710 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
3712         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
3713         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
3714         abs_srcdir, top_srcpath to abs_top_srcdir.
3715         (_AC_OUTPUT_FILES): Adjust.
3716         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
3717         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
3718         * tests/wrappl.in, tests/wrapsh.in: Adjust.
3720 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
3722         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
3723         C/Fortran linking on HP/UX, by extracting the Fortran library
3724         search path from the LPATH line in the $F77 -v output.
3726 2001-12-12  Kevin Ryde  <user42@zip.com.au>
3728         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
3729         forbidden file descriptors table.
3731 2001-11-26  Akim Demaille  <akim@epita.fr>
3733         * bin/autoscan.in (%c_keywords): Build it at top level.
3734         Map to 1 in order to simplify its uses.
3736 2001-11-26  Akim Demaille  <akim@epita.fr>
3738         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
3739         Remove $filepath, useless.
3740         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
3741         variables, they are really part of the tokens.
3742         Split the input line on spaces and then look for tokens.
3743         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
3744         because of `lex$U.$(OBJEXT)'.
3745         (&scan_files): Use "@list" instead of join.
3746         * doc/Makefile.am (CLEANFILES): Add *.fns.
3748 2001-11-26  Akim Demaille  <akim@epita.fr>
3750         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
3751         Remove, replaced by...
3752         * tests/wrappl.in: Be common for all the Perl executables.
3753         In particular autoscan and autoheader want -I.
3754         * configure.ac: Adjust.
3755         * lib/autoscan/headers: errno.h is portable.
3757 2001-11-26  Akim Demaille  <akim@epita.fr>
3759         * bin/autoscan.in (used): New.
3760         Use it.
3762 2001-11-26  Akim Demaille  <akim@epita.fr>
3764         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
3765         directives.
3766         (&scan_sh_file): Remove a duplicate pattern.
3767         (&check_configure_ac): Use long options.
3768         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
3770 2001-11-26  Akim Demaille  <akim@epita.fr>
3772         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
3773         Before, having a line containing the opening of a multi line
3774         comment made the whole line be ignored.
3776 2001-11-26  Akim Demaille  <akim@epita.fr>
3778         * doc/autoconf.texi (Using an Autotest Test Suite): New.
3779         (testsuite Scripts): Be one of its subsection.
3780         (Autotest Logs): New.
3782 2001-11-26  Akim Demaille  <akim@epita.fr>
3784         Test groups are now run two directories deeper.
3786         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
3787         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
3788         at_top_builddir.
3789         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
3790         top_srcdir, builddir and top_builddir.
3791         Use `at_*dir' relatively to the directory containing the
3792         suite, use `*dir' when relatively to the current group dir.
3794 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
3796         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
3797         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
3798         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
3799         spelling errors.
3801 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
3803         * doc/autoconf.texi (Using System Type): Add an example of `case
3804         $host' usage so people quit using `case $target' everywhere.
3806 2001-11-22  Akim Demaille  <akim@epita.fr>
3808         * doc/autoconf.texi (Installation Directory Variables): Englishoes
3809         spotted by Jim Meyering.
3811 2001-11-16  Paul Eggert  <eggert@twinsun.com>
3813         This patch implements a `long double' suggestion by Oliver Kiddle.
3815         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
3816         static, to catch errors if the value isn't known at compile-time
3817         and the compiler supports dynamic arrays.  Change its name from
3818         `_array_' to `test_array' to avoid potential name clashes.
3819         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
3820         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
3821         better than double.  Catch a bug in GCC 2.95.2 x86.
3822         * doc/autoconf.texi (C Compiler): Document the above.
3823         * NEWS: Likewise.
3825 2001-11-13  Akim Demaille  <akim@epita.fr>
3827         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
3828         hand.
3829         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
3831 2001-11-13  Akim Demaille  <akim@epita.fr>
3833         * lib/autotest/general.m4 (AT_INIT): After having run the test
3834         group, go back to the initial directory, not to at_suite_dir.
3836 2001-11-13  Akim Demaille  <akim@epita.fr>
3838         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
3839         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
3840         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
3841         option.
3842         (AT_CHECK_CONFIGURE): Use absolute paths.
3843         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
3844         The problem is still the old one: there is no means in M4 (that I
3845         know about) to create a defining macro, because there is no means
3846         to create `$1' etc., therefore, the defining macro ``swallows''
3847         all the arguments meant to the defined macro.
3849 2001-11-13  Akim Demaille  <akim@epita.fr>
3851         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
3852         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
3853         configure.ac.
3854         * tests/aclocal.m4: Remove, as it is no longer used.
3856 2001-11-13  Akim Demaille  <akim@epita.fr>
3858         * lib/autotest/general.m4: Change `tests?' into `groups?' in
3859         variable names when referring to a single test group, or to
3860         `suite' when referring to the whole test suite.
3861         `at_last_test' is removed: m4 compute at_format itself.
3862         (at_stdout, at_stder1, at_stderr): New variables.
3863         (AT_CHECK): Use them.
3865 2001-11-13  Akim Demaille  <akim@epita.fr>
3867         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
3868         in PATH.
3869         Create `testsuite.dir/003/run' instead of `testsuite.003'.
3870         Do it as soon as a test fails, don't wait till the end of the test
3871         suite.
3872         Don't remove $as_me.[0-9]*, since these files no longer exist.
3874 2001-11-13  Akim Demaille  <akim@epita.fr>
3876         * tests/tools.at: Use absolute paths, since we are no longer run
3877         in place.
3879 2001-11-13  Akim Demaille  <akim@epita.fr>
3881         Now that tests are running in their own private dir, there is no
3882         need to list the files to remove at the end of tests groups.
3884         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
3885         (AT_data_files, at_data_files): Remove.
3886         (AT_CLEANUP, AT_DATA): Simplify.
3887         (AT_INIT): Adjust.
3888         Remove the group dir if !debug && !failed.
3889         * tests/atspecific.m4: Adjust.
3891 2001-11-13  Akim Demaille  <akim@epita.fr>
3893         Start a new layout for Autotest: `testsuite' creates
3894         `testsuite.dir' in which the at-check-line etc. files are to be
3895         found, and `testsuite.dir/003' where the test group 3 is run.
3897         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
3898         at_check_line_file, at_format, at_test_normalized, at_group_dir
3899         are new variables.
3900         Create the directories.
3901         Use absolute paths for at- files.
3902         (AT_CHECK): Adjust.
3904 2001-11-11  Michael Matz  <matz@kde.org>
3906         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
3907         (m4_car2): New.
3908         (m4_car): Properly quote arguments.
3910 2001-11-13  Akim Demaille  <akim@epita.fr>
3912         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
3913         with stricter rules on LIBOBJS.
3915 2001-11-12  Paul Eggert  <eggert@twinsun.com>
3917         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
3918         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
3919         __PROTOTYPES too.
3921 2001-11-12  Akim Demaille  <akim@epita.fr>
3923         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
3925 2001-11-12  Akim Demaille  <akim@epita.fr>
3927         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3928         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
3929         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
3930         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3931         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
3932         specify to what the macro should be defined (typically to 1).
3934 2001-11-12  Akim Demaille  <akim@epita.fr>
3936         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
3937         From Jim Meyering.
3939 2001-11-12  Akim Demaille  <akim@epita.fr>
3941         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
3942         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
3943         definition used by Automake where LEX is +/- "${missing} lex" and
3944         `missing' itself contains variables.
3946 2001-11-12  Akim Demaille  <akim@epita.fr>
3948         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
3949         Now that M4sh pushes BODY, the comments were output at the end of
3950         the test suites.
3952 2001-11-08  Akim Demaille  <akim@epita.fr>
3954         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
3955         that we can trace macros from aclocal.m4.
3956         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
3957         obsoleted, and redirect to the former anyway.
3958         Reported by Ralf Corsepius.
3960 2001-11-08  Akim Demaille  <akim@epita.fr>
3962         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
3963         processed only if present.
3964         * tests/torture.at (Configuring subdirectories): Use autoreconf
3965         instead of successive calls to autoconf.
3966         Add a nonexistent subdirectory to exercise the patch above.
3967         Reported by Ralf Corsepius.
3969 2001-11-08  Kevin Ryde  <user42@zip.com.au>
3971         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
3972         doesn't accept .S files.
3974 2001-11-07  Akim Demaille  <akim@epita.fr>
3976         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
3977         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
3978         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
3979         * bin/autom4te.in (warn_forbidden): New.
3980         (handle_output): Use it.
3981         Read m4_pattern_forbid with messages.
3983 2001-11-05  Akim Demaille  <akim@epita.fr>
3985         * bin/autom4te.in (--normalize): Remove.
3986         * lib/autom4te.in: Adjust.
3988 2001-11-05  Akim Demaille  <akim@epita.fr>
3990         * tests/Makefile.am (testsuite): Rename this target as...
3991         ($(TESTSUITE)): this.
3992         From Nicolas Joly.
3994 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
3996         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
3997         the --prefix option, also remove it's argument.
3999 2001-11-05  Akim Demaille  <akim@epita.fr>
4001         * doc/autoconf.texi (testsuite Invocation): Update.
4002         (Writing testsuite.at): Update.
4004 2001-11-03  Akim Demaille  <akim@epita.fr>
4006         * doc/autoconf.texi: s/@code/@command/ where appropriate.
4008 2001-11-03  Akim Demaille  <akim@epita.fr>
4010         * lib/Autom4te/General.pm: (&catfile, &canonfile)
4011         (&file_name_is_absolute): New, wrappers around routines from
4012         File::Spec.
4013         Use and export them.
4014         (&find_configure_ac): Optionally take a directory where to look at.
4015         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
4016         the arguments.
4017         Default @ARGV to `.', not find_configure_ac.
4018         (&autoreconf): Argument is a directory.
4019         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
4020         * doc/autoconf.texi (autoreconf Invocation): Update.
4022 2001-11-03  Akim Demaille  <akim@epita.fr>
4024         * lib/Autom4te/General.pm (@export_vars, @export_subs)
4025         (@export_forward_subs): New.
4026         Add basename, dirname, and fileparse.
4027         (@EXPORT): Adjust.
4028         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
4029         Don't look for aclocal flags if we already know aclocal is not
4030         used.
4031         Move aclocal.m4t only if it exists.
4032         Reported by Ezra Peisach.
4034 2001-11-03  Akim Demaille  <akim@epita.fr>
4036         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
4037         passed on command line, defaulting to ./configure.ac if present.
4038         (&maybe_autoreconf, File::Find): Remove, unused.
4039         (&autoreconf): If autoconf is not used, don't try to trace.
4041 2001-11-02  Akim Demaille  <akim@epita.fr>
4043         * configure.ac: Bump to 2.52g.
4045 2001-11-02  Akim Demaille  <akim@epita.fr>
4047         Version 2.52f.
4049 2001-11-02  Akim Demaille  <akim@epita.fr>
4051         * config/config.guess, config/config.sub, doc/standards.texi:
4052         * config/lispdir.m4: Update from masters.
4053         * configure.ac: Bump to 2.52f.
4055 2001-11-02  Akim Demaille  <akim@epita.fr>
4057         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
4058         Don't run aclocal when aclocal.m4 is not from aclocal.
4059         From Ezra Peisach.
4060         Don't run libtoolize and gettextize if --install is not given.
4062 2001-11-01  Paul Eggert  <eggert@twinsun.com>
4064         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
4065         be invoked before _AS_LINENO_PREPARE.
4066         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
4067         than character ranges.
4069         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
4070         invoking AS_BASENAME.  Set the locale variables to 'C' if
4071         possible, as POSIX requires this to get the traditional
4072         behavior.
4073         * doc/autoconf.texi (Special Shell Variables): Describe the above.
4075 2001-10-31  Paul Eggert  <eggert@twinsun.com>
4077         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
4078         with {}, as that triggers a bug in Bash 2.05.
4080         (_AS_LINENO_PREPARE): Use Sed rather than
4081         Awk.  Fix the sed prepass to work even if there are multiple
4082         instances of $LINENO on the same line.  Do not substitute for
4083         other variables like $LINENOT.  Do not check file dates; such a
4084         check is unreliable on sufficiently fast machines, and removing
4085         the check makes the code simpler and more reliable.  Check for
4086         output and chmod failures.
4088         * doc/autoconf.texi (Special Shell Variables): Document
4089         the above.
4091 2001-10-31  Akim Demaille  <akim@epita.fr>
4093         * tests/Makefile.am (atconfig): Remove this target, Automake
4094         handles it now.
4096 2001-10-31  Akim Demaille  <akim@epita.fr>
4098         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
4099         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
4100         provided, while it is optional.
4101         * configure.ac: Adjust.
4103 2001-10-26  Paul Eggert  <eggert@twinsun.com>
4105         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
4106           lib/Autom4te/Struct.pm:
4107         Require Perl 5.005_03 instead of just 5.005, as some tests fail
4108         with 5.005_02.
4110         * doc/autoconf.texi (Special Shell Variables): Document some
4111         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
4113         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
4114         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
4115         eval $LINENO is not portable in practice.
4117 2001-10-24  Akim Demaille  <akim@epita.fr>
4119         * lib/Autom4te/General.pm (backname): New.
4121 2001-10-24  Akim Demaille  <akim@epita.fr>
4123         * m4/: Remove, merged into...
4124         * config/: here.
4126 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
4128         * doc/autoconf.texi (Shellology): Mention the problems with bash
4129         2.05's use of ANSI quoting in its `set' builtin.
4131 2001-10-22  Paul Eggert  <eggert@twinsun.com>
4133         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
4134         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
4135         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
4136         POSIX decided to standardize on the int flavor of strerror_r.
4137         Always do char* test, as there's no reason not to.
4138         Assign to a char* var, to catch strerror_r that returns int*.
4140         * doc/autoconf.texi (Particular Functions):
4141         Document the above changes.  Also, document the fact that
4142         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
4144         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
4146 2001-10-20  Akim Demaille  <akim@epita.fr>
4148         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
4149         the executable was missing from the log.
4151 2001-10-20  Akim Demaille  <akim@epita.fr>
4153         * lib/Autom4te/General.pm (&update_file): If destination is
4154         unchanged, remove the source.
4155         (&up_to_date_p): Don't be verbose, be debug.
4156         * bin/autoreconf.in: No longer support --m4dir.
4157         (&autoreconf): Display the full path of the configure.ac we are
4158         studying.
4159         Trace it only once.
4160         Be sure to honor --force with gettextize.
4161         Always run aclocal.
4162         * doc/autoconf.texi: Adjust.
4164 2001-10-20  Akim Demaille  <akim@epita.fr>
4166         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
4167         Remove, dead.
4168         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
4169         `intl' is already present, as it refuses unless --force.
4170         (&parse_args): Use -I, --include instead of the old Autoconf
4171         options.
4172         ($localdir, $autoconf_dir): Remove.
4173         (@include): New.
4174         (&maybe_autoreconf): New, to preserve $_ for File::Find.
4176 2001-10-19  Jens Petersen  <petersen@redhat.com>
4178         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
4179         * doc/autoconf.texi (Particular Programs): Likewise.
4181 2001-10-19  Akim Demaille  <akim@epita.fr>
4183         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
4184         file in @configure_input@.
4185         Don't mention `automatically' in addition to `generated'.
4186         * tests/torture.at (#define header templates): Adjust.
4188 2001-10-19  Akim Demaille  <akim@epita.fr>
4190         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
4191         comment, explain how to install automatic mode selection.
4192         From Russ Allbery.
4194 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
4196         * bin/autoreconf.in (autoreconf): Display the path to the
4197         configure.ac being studied.
4199 2001-10-18  Paul Eggert  <eggert@twinsun.com>
4201         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
4202         long, to work around a bug in the HP C compiler version HP92453-01
4203         B.11.11.23709.GP.
4205         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
4206         (AS_BASENAME_EXPR): New macro.
4207         (AS_BASENAME_SED): Do not assume GNU sed semantics.
4208         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
4209         and fall back on 'sed' only if the other two fail.  This makes
4210         AS_BASENAME act more like AS_DIRNAME.
4211         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
4212         contains white space.
4213         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
4214         Use AS_DIRNAME, since I think it's now DOS-friendly.
4215         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
4216         Allow "dirname //FOO" to return either / or //, as POSIX allows
4217         either behavior.
4219 2001-10-10  Akim Demaille  <akim@epita.fr>
4221         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
4222         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
4223         From Eric Sharkey.
4225 2001-10-10  Akim Demaille  <akim@epita.fr>
4227         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
4228         m4_define, since...
4229         (_AS_ECHO_N): AS_REQUIREs it.
4231 2001-10-10  Akim Demaille  <akim@epita.fr>
4233         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
4234         (AC_INCLUDES_DEFAULT): Move to...
4235         * lib/autoconf/headers.m4: here.
4236         * lib/autoconf/types.m4: Comment changes.
4237         * doc/autoconf.texi: Specify where the default includes are used
4238         in the macro prototypes.
4240 2001-10-09  Akim Demaille  <akim@epita.fr>
4242         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
4243         transition code.
4245 2001-10-08  Akim Demaille  <akim@epita.fr>
4247         * bin/autoreconf.in (&autoreconf): Remove debugging code.
4248         (&parse_args): Pass verbosity/debugging options to subtools when
4249         --debug, not when --verbose.
4250         * lib/autom4te.in (Autoreconf-preselections): New.
4251         (Autoconf): Use it.
4253 2001-10-08  Akim Demaille  <akim@epita.fr>
4255         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
4257 2001-10-08  Akim Demaille  <akim@epita.fr>
4259         * doc/autoconf.texi (autoreconf Invocation): Adjust.
4260         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
4262 2001-10-08  Akim Demaille  <akim@epita.fr>
4264         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
4265         (Syntax of the shell scripts): Don't.
4266         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
4267         bother with $force since...
4268         * lib/Autom4te/General.pm: does.
4270 2001-10-08  Akim Demaille  <akim@epita.fr>
4272         * bin/autoreconf.in: Rewrite in Perl.
4273         * configure.ac: Adjust.
4274         * lib/Autom4te/General.pm (&up_to_date_p): New.
4275         * bin/autom4te.in (&up_to_date_p): Use it.
4276         Rename as...
4277         (&up_to_date): this.
4279 2001-10-08  Akim Demaille  <akim@epita.fr>
4281         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
4282         (m4_list_cmp): Use $0 to reinvoke yourself.
4283         (m4_patsubsts): New.
4284         (m4_strip, m4_version_unletter): Use it.
4285         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
4287 2001-10-08  Akim Demaille  <akim@epita.fr>
4289         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
4290         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
4291         * lib/autoconf/types.m4, lib/autotest/general.m4,
4292         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
4293         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
4294         m4_bregexp, m4_bpatsubst, and m4_bmatch.
4295         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
4297 2001-10-08  Akim Demaille  <akim@epita.fr>
4299         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
4301 2001-10-08  Akim Demaille  <akim@epita.fr>
4303         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
4304         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
4305         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
4306         * tests/tools.at, tests/m4sh.at: Use it.
4307         * tests/m4sh.at: Don't rely on Autoconf macros.
4308         (DIRNAME_TEST): Also exercise the expr variant.
4309         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
4310         preferred M4sugar extension is now `.4s'.
4311         * tests/README: Remove.
4313 2001-10-08  Akim Demaille  <akim@epita.fr>
4315         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
4316         (m4_provide_if): this.
4317         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
4318         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
4319         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
4320         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
4322 2001-10-08  Akim Demaille  <akim@epita.fr>
4324         Use `add-log-current-defun-function' for ChangeLog creation.
4325         Suggested by Tom Tromey.
4327         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
4328         (autotest-mode): Adjust.
4329         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
4330         'comment-region onto `C-c ;'.
4331         Comments are `#', not `dnl'.
4332         (autoconf-current-defun): New.
4333         (autoconf-font-lock-keywords): Recognize `m4_defun'.
4335 2001-10-08  Akim Demaille  <akim@epita.fr>
4337         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
4338         * lib/m4sugar/m4sh.m4: here.
4339         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
4340         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
4341         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
4342         include handle the m4_pattern_*, no longer push the
4343         BODY diversion nor set the /bin/sh line, AS_INIT does it.
4344         * lib/autotest/general.m4 (AT_INIT): Likewise.
4345         * tests/base.at: Adjust the tests to use AS_INIT.
4346         * tests/tools.at (AT_DATA_FORBIDDEN): New.
4347         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
4348         Autoconf.
4350 2001-10-07  Paul Eggert  <eggert@twinsun.com>
4352         * doc/autoconf.texi (config.status Invocation):
4353         CONFIG_SHELL defaults to a shell that supports LINENO if available.
4355         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
4356         shell does not support LINENO, and if CONFIG_SHELL is unset or
4357         empty, and if we can find a shell that does support LINENO,
4358         then set CONFIG_SHELL to that shell and then re-execute
4359         ourselves with CONFIG_SHELL.
4361 2001-10-05  Paul Eggert  <eggert@twinsun.com>
4363         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
4364         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
4365         build of $(TESTSUITE).
4367 2001-10-05  Akim Demaille  <akim@epita.fr>
4369         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
4370         iff we are a bareword.
4371         Reported by Raja R Harinath.
4373 2001-10-05  Akim Demaille  <akim@epita.fr>
4375         * tests/m4sh.at (LINENO): New.
4376         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
4377         PATH_SEPARATOR before using it.
4378         Fix the absolute path case/esac pattern.
4379         Provide $0 as fallback for as_myself.
4380         Reported by Raja R Harinath.
4382 2001-10-05  Akim Demaille  <akim@epita.fr>
4384         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
4385         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
4387 2001-10-05  Akim Demaille  <akim@epita.fr>
4389         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
4390         (AS_SHELL_SANITIZE): here.  Use it.
4391         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
4392         From Paul Eggert.
4394 2001-10-04  Akim Demaille  <akim@epita.fr>
4396         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
4397         combination of Awk and sed to replace $LINENO.
4399 2001-10-02  Paul Eggert  <eggert@twinsun.com>
4401         * doc/autoconf.texi (Limitations of Builtins): You can't use
4402         "source"; it's not portable.  Remove confusing and
4403         somewhat-incorrect example involving "." and "/".
4405         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
4406         compatibility with POSIX shells.
4408 2001-10-02  Akim Demaille  <akim@epita.fr>
4410         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
4411         instead of exec'ing to preserve $0 and $@.
4413 2001-10-01  Akim Demaille  <akim@epita.fr>
4415         * tests/testsuite (AT_INIT) <at_pass_list>: New.
4416         Don't run twice the same test.
4418 2001-10-01  Akim Demaille  <akim@epita.fr>
4420         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
4421         No longer output the list of tests.
4422         <--list>: New option.
4423         <--full-help>: Remove.
4424         Complete the short/long options duality.
4425         Various small adjustments.
4427 2001-10-01  Akim Demaille  <akim@epita.fr>
4429         * doc/autoconf.texi: Use @kbd for user input.
4430         Always use `$' as shell prompt.
4432 2001-09-30  Paul Eggert  <eggert@twinsun.com>
4434         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
4435         Don't use nested parenthesization.  This patch was originally
4436         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
4437         but somehow it didn't get incorporated then.
4438         * doc/autoconf.texi (Limitations of Usual Tools):
4439         Clarify remark about sed and nested parenthesization.
4441         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
4442         Report an error if the size cannot be determined even though
4443         the type exists.
4444         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4445         Check for `expr' arithmetic overflow, and for compilation failure,
4446         and invoke a new argument $4 if either is discovered.
4447         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
4448         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
4450 2001-09-28  Akim Demaille  <akim@epita.fr>
4452         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
4453         * m4/lispdir.m4: New.
4454         * aclocal.m4, configure.ac: Adjust.
4456 2001-09-28  Akim Demaille  <akim@epita.fr>
4458         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
4459         (AT_TESTED): this.
4460         (AT_INIT): More the wrapped section to where it will be expanded.
4461         Output `AT_tested' only when existing.
4462         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
4464 2001-09-27  Akim Demaille  <akim@epita.fr>
4466         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
4467         generates too many bug reports.
4469         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
4470         status when executing the ACTION-IF-FALSE.
4471         * tests/base.at (AC_TRY_*): Rename as...
4472         (AC_TRY_COMMAND): this.
4473         (AC_RUN_IFELSE): New.
4474         * tests/compile.at (Extensions, C keywords)
4475         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
4476         (Broken/missing compilers, AC_PROG_CPP with warnings)
4477         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
4478         * tests/c.at (Extensions, C keywords)
4479         (Broken/missing compilers, AC_PROG_CPP with warnings)
4480         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
4481         (AC_PROG_CPP requires AC_PROG_CC): here and...
4482         * tests/fortran.at (GNU Fortran 77): there.
4483         * doc/autoconf.texi (autoconf Invocation): Fix the example:
4484         AC_TRY_RUN is about compilation, not shell commands.
4485         (Test Programs): AC_TRY_RUN works as used to be advertised.
4487 2001-09-27  Akim Demaille  <akim@epita.fr>
4489         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
4490         Raja R Harinath:
4491         Be sure to detect when $LINENO always returns the same value.
4492         Look for the original script, basename($0) is certainly not
4493         enough.
4494         Pass the CLI arguments to `$as_me.lineno'.
4496 2001-09-25  Akim Demaille  <akim@epita.fr>
4498         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
4499         Be sure the close and reopen the LOG fd before and after using tee
4500         to extend the log.
4501         <at_tests_pattern>: Adjust to the new format of at_help_all.
4503 2001-09-23  Akim Demaille  <akim@epita.fr>
4505         * bin/autom4te.in (parse_args): There can be several invocations
4506         of --language now.
4508 2001-09-23  Akim Demaille  <akim@epita.fr>
4510         * doc/autoconf.texi (Top): Wrap in @ifnottex.
4512 2001-09-23  Akim Demaille  <akim@epita.fr>
4514         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
4515         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
4516         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
4517         builddir, buildpath, top_builddir, and top_buildpath.
4518         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
4519         the current directory.
4520         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
4521         variables *before* changing the current directory.
4522         Skip nonexistent dirs.
4523         * doc/autoconf.texi (Preset Output Variables): Document these
4524         variables.
4526         * lib/autotest/general.m4: Do not reset AT_victims.
4527         Don't compute at_srcdir nor at_top_srcdir.
4529         * tests/tools.at: Hence use top_srcdir.
4531         * tests/Makefile.am, tests/autoconf, tests/autoheader,
4532         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
4533         Remove.
4534         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
4535         * tests/wrapsh.in, tests/autoupdate.in: New.
4536         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
4537         * configure.ac: Build the position independent wrappers.
4539         * man/Makefile.am: Now that test wrappers are position
4540         independent, use them and drop dark envvar magic.
4542 2001-09-23  Akim Demaille  <akim@epita.fr>
4544         * doc/autoconf.texi (Common Shell Constructs): Rename as...
4545         (Programming in M4sh): this.
4546         Promote to @section.
4548 2001-09-23  Akim Demaille  <akim@epita.fr>
4550         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
4551         Pass $at_debug_args to the rerun test suite.
4552         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
4553         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
4554         From Paul Eggert.
4556 2001-09-23  Akim Demaille  <akim@epita.fr>
4558         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
4560 2001-09-23  Akim Demaille  <akim@epita.fr>
4562         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
4563         over-escaping.
4565 2001-09-23  Akim Demaille  <akim@epita.fr>
4567         * lib/Autom4te/General.pm (&debug): New.
4568         * bin/autom4te.in ($language): Move to...
4569         (parse_args): here.
4570         Handle --language in languages.
4571         * lib/autom4te.in (Automake-selections, Autoheader-selections)
4572         (Autoscan-selections): New.
4573         (Autoconf): Adjust.
4575 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
4577         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
4578         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
4579         to match current versions from CVS Automake.
4581 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
4583         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
4584         for $LINENO.
4586 2001-09-22  Akim Demaille  <akim@epita.fr>
4588         * lib/autoconf/autotest.m4: Create `package.m4'.
4589         * tests/Makefile.am (package.m4): Remove.
4591 2001-09-22  Akim Demaille  <akim@epita.fr>
4593         Rely on `$LINENO' when possible instead of `__oline__'.
4595         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
4596         `$LINENO' support replacement when not supported.
4597         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
4598         them explicitly to be sure they are not output before this section
4599         (via m4_require).  Cosmetic only.
4600         * lib/autoconf/c.m4, lib/autoconf/general.m4,
4601         * lib/autoconf/programs.m4: Replace all the occurrences of
4602         `__oline__' with `$LINENO'.
4603         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
4605 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
4607         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
4608         character (u: -> ue) in a code comment.
4609         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
4610         it works.
4612 2001-09-21  Akim Demaille  <akim@epita.fr>
4614         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
4615         Suggested by Jim Meyering.
4617 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4619         * lib/autoconf/programs.m4: Use extensions listed in
4620         $ac_executable_extensions when looking for programs.
4622 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4624         * lib/autoconf/general.m4: Fix a small Englisho.
4625         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
4626         setting up ac_dir_suffix and ac_top_builddir.
4627         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
4629 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4631         * doc/autoconf.texi (File System Conventions): Clarify the use of
4632         PATH_SEPARATOR.
4633         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
4634         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
4635         be used instead of ':'.
4636         * lib/autotest/general.m4: Replace occurrences of ':' in
4637         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
4639 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4641         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
4642         arguments.  Fixed a typo.
4644 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4646         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
4647         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
4649 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4651         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
4652         * bin/autoupdate.in: Ditto.
4653         * bin/autoheader.in: Reworded a few comments.
4654         * bin/autoconf.in: Reworded help text for a few options.
4655         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4656         * bin/autoscan.in, bin/autoupdate.in: Ditto.
4658 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4660         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
4661         already have $file).  Set output files to binary mode (helps avoid
4662         CR issues on DOSish systems).
4664 2001-09-19  Akim Demaille  <akim@epita.fr>
4666         * lib/autotest/general.m4: Englishoes.
4667         From Tim Van Holder and Alexey Mahotkin.
4669 2001-09-18  Paul Eggert  <eggert@twinsun.com>
4671         * doc/autoconf.texi (Common Shell Constructs): New node,
4672         documenting AS_DIRNAME.
4673         (Limitations of Usual Tools): Refer to it when discussing dirname.
4674         Also, update discussion of POSIX standard to reflect latest draft.
4676         * lib/autoconf/c.m4:
4677         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
4679         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4680         Do not pass a first argument with leading '-'
4681         to expr, by parenthesizing initial integers that might be negative.
4683         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
4684         now merely checks whether it is an error to pass an argument
4685         to getpgrp.
4687         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
4688         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
4689         whether it is a (compile-time) error to pass an argument to
4690         getpgrp.  This simpler test supports the revised documentation,
4691         and is all that AC_FUNC_GETPGRP's users really need.
4693 2001-09-18  Akim Demaille  <akim@epita.fr>
4695         * doc/autoconf.texi (Limitations of Make) <$<>: New.
4697 2001-09-18  Akim Demaille  <akim@epita.fr>
4699         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
4700         `{}'.
4701         * lib/autotest/general.m4 (AT_INIT): Adjust.
4703 2001-09-18  Paul Wagland  <paul@wagland.net>
4705         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
4706         correctly.
4707         Add test for AS_BASENAME.
4708         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
4709         added test. It now correctly handles /1/2/3/, returning '3' not ''.
4710         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
4711         * tests/base.at: Fixed the expected responses. The old ones were
4712         one line out...
4713         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
4714         the documentation claims it should (and how it behaved in 2.13).
4716 2001-09-18  Akim Demaille  <akim@epita.fr>
4718         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
4719         the AC_CONFIG_COMMANDS invocation.
4720         This also solves the name clash problems.
4721         Don't set the package's ID.
4722         * lib/m4sugar/Makefile.am (version.m4): Revamp.
4723         No longer to be shipped.
4724         (version.in): Remove.
4725         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
4726         * lib/autoconf/status.m4: Adjust.
4727         Use `m4_PACKAGE_STRING'.
4728         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
4729         the only optional argument is the name of the test suite.
4730         Expect `package.m4' to define the package signature.
4731         * lib/autom4te.in (Autotest): Add `package.m4?'.
4732         * tests/Makefile.am (package.m4): New.
4733         * tests/suite.at: ifnames is a victim.
4735 2001-09-18  Akim Demaille  <akim@epita.fr>
4737         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
4738         AC_LIBSOURCE, AC_CONFIG_FILES.
4739         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
4740         program version string doesn't match the package's.
4741         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
4742         after `(cached)'.
4744 2001-09-17  Paul Eggert  <eggert@twinsun.com>
4746         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4747         Allow expression to return any value that can fit into unsigned long
4748         (not int, as before).  Check for output errors.
4750 2001-09-17  Bruno Haible <haible@ilog.fr>
4752         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4753         Always include <stdio.h> and <stdlib.h>. Evaluate
4754         the expression in an extra function before these includes. Call
4755         fprintf "%d" only after ensuring the argument is of type 'int'.
4756         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
4758 2001-09-17  Paul Eggert  <eggert@twinsun.com>
4760         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
4761         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
4762         fatal errors, and AC_CHECK_LIB causes it to include libraries even
4763         when they don't exist.
4765         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
4766         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
4767         need it.
4769         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
4770         version with the version used by fileutils 4.1, except use
4771         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
4772         we don't need it.
4774         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
4776 2001-09-13  Akim Demaille  <akim@epita.fr>
4778         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
4779         _first_.
4780         Reported by Gerrit P. Haase.
4782 2001-09-13  Akim Demaille  <akim@epita.fr>
4784         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
4785         m4_defn'ing is valid.
4787 2001-09-13  Akim Demaille  <akim@epita.fr>
4789         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
4790         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
4791         Use it.
4793 2001-09-13  Akim Demaille  <akim@epita.fr>
4795         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
4796         m4_match.
4797         (m4_re_escape): New.
4798         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
4799         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
4800         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
4801         Likewise.
4802         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
4803         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
4804         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
4805         AT_tests_all for consistency.
4806         Set at_victims.
4807         (AT_VICTIMS): Similar to AT_KEYWORDS.
4808         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
4810 2001-09-13  Akim Demaille  <akim@epita.fr>
4812         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
4814 2001-09-13  Akim Demaille  <akim@epita.fr>
4816         * lib/autotest/general.m4 (AT_INIT): Create and remove
4817         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
4818         test suites can cohabit.
4820 2001-09-13  Akim Demaille  <akim@epita.fr>
4822         * tests/mktests.sh: Don't output banners for empty test files.
4824 2001-09-13  Akim Demaille  <akim@epita.fr>
4826         Test suites can be run independently of configure.
4828         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
4829         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
4830         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
4831         ECHO_N etc.
4832         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
4833         and at_c.
4834         * lib/autotest/general.m4: Use ECHO_*.
4836 2001-09-13  Akim Demaille  <akim@epita.fr>
4838         * bin/ifnames.in: Rewrite in Perl.
4839         * configure.ac: Don't look for AWK.
4840         * tests/tools.at (AWK portability): Remove.
4841         (Syntax of the shell scripts): Don't check ifnames.
4842         (AT_CHECK_PERL_SYNTAX): New.
4843         (Syntax of the Perl scripts): Check ifnames.
4844         * tests/ifnames: New.
4846 2001-09-13  Akim Demaille  <akim@epita.fr>
4848         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
4849         test group titles.
4850         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
4851         Remove all the other keywords.
4853 2001-09-10  Akim Demaille  <akim@epita.fr>
4855         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
4856         SETUP: no longer used.
4857         Support -k, --keywords.
4858         <at_help>: Be `no', `short', or `long'.
4859         <at_help_all>: New variable.
4860         (AT_KEYWORDS): New.
4861         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
4862         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
4863         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
4864         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
4865         No longer fill the HELP diversion.
4866         (AT_CLEANUP): Use them.
4867         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
4868         (m4_list_append): Remove.
4870         Spread a few keywords in the Autoconf test suite.
4872 2001-09-10  Akim Demaille  <akim@epita.fr>
4874         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
4875         PATH_SEPARATOR, let M4sh compute it.
4876         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
4877         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
4878         Move to...
4879         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
4880         Simplify when the path is not a literal.
4881         (AS_UNAME): Use it to report PATH.
4882         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
4883         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
4884         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
4885         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
4886         normalize the path, and to look for victims.
4887         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
4888         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
4890 2001-09-07  Akim Demaille  <akim@epita.fr>
4892         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
4893         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
4894         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
4895         related variables into `at_package_*'.
4896         * lib/autotest/general.m4 (AT_VICTIMS): New.
4897         (AT_INIT): Adjust for stand-alone/embedded test suites.
4898         (AS_MESSAGE_LOG_FD): Define and use it.
4899         * tests/suite.at (AT_VICTIMS): Use it.
4900         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
4901         at_version.
4903 2001-09-07  Akim Demaille  <akim@epita.fr>
4905         Move toward possibly stand-alone test suites.
4907         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
4908         in addition, it introduces useless differences in logs.
4909         (AT_INIT): Let atconfig and atlocal be both optional.
4910         Adjust PATH computation.
4911         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
4913 2001-09-07  Akim Demaille  <akim@epita.fr>
4915         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
4916         m4sugar/version.m4.
4918 2001-09-05  Akim Demaille  <akim@epita.fr>
4920         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
4921         to avoid GCC warnings.
4922         From Uwe Seimet.
4924 2001-09-05  Akim Demaille  <akim@epita.fr>
4926         * bin/autom4te.in: --language is -l, not -s.
4928 2001-09-05  Akim Demaille  <akim@epita.fr>
4930         Be ready to handle filenames as stupid as `dnl.at', for if even
4931         the maintainer is dumb enough to do that...
4933         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
4934         excellence in M4 quotation: consider `__file__' is active.
4936         And BTW, when invoking m4, pass the --include in the right order:
4937         the wrong one.
4939         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
4940         4m.
4942 2001-09-05  Akim Demaille  <akim@epita.fr>
4944         * lib/Autom4te/XFile.pm: New lib file.
4945         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
4946         * bin/autoheader.in: Use it.
4948 2001-09-05  Akim Demaille  <akim@epita.fr>
4950         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
4951         defined.
4953 2001-09-05  Akim Demaille  <akim@epita.fr>
4955         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
4956         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
4958         * bin/autoscan.in: Use `getopt' and `find_files' etc.
4959         Add -I, --include support.
4960         * doc/autoconf.texi (autoscan Invocation): Adjust.
4962 2001-09-05  Akim Demaille  <akim@epita.fr>
4964         CVS GNU M4 doesn't like `undefine(undefined)'.
4966         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
4967         New, extracted from main.
4968         Use IO::File wherever possible.
4969         (input.m4): Be constant, use -I instead of hard coding $tmp.
4970         Therefore be a quoted heredoc.
4971         Don't invoke `_au_disable', since ac was not loaded, but just
4972         `unm4.m4'.
4974 2001-08-31  Akim Demaille  <akim@epita.fr>
4976         Version 2.52d.
4978 2001-08-31  Akim Demaille  <akim@epita.fr>
4980         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
4981         previous patch.
4982         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
4984 2001-08-31  Akim Demaille  <akim@epita.fr>
4986         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
4987         serious problems handling heredocs in heredocs.
4988         Reported by Nicolas Joly.
4990 2001-08-31  Akim Demaille  <akim@epita.fr>
4992         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
4993         (Making testsuite Scripts): Update.
4995 2001-08-31  Akim Demaille  <akim@epita.fr>
4997         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
4999 2001-08-31  Akim Demaille  <akim@epita.fr>
5001         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
5002         (testsuite Scripts): There is no such thing as `atconfig.in'.
5003         And actually one diagram is missing: test suite runtime.
5005 2001-08-31  Akim Demaille  <akim@epita.fr>
5007         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
5008         inverse order.
5010 2001-08-31  Akim Demaille  <akim@epita.fr>
5012         * bin/autoupdate.in (@include): `installcheck' revealed the path
5013         to m4sugar was lacking!
5015 2001-08-31  Akim Demaille  <akim@epita.fr>
5017         * man/Makefile.am (.x.1): We really have to pass
5018         autom4te_perllibdir.
5020 2001-08-31  Akim Demaille  <akim@epita.fr>
5022         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
5023         debug scripts, in particular passing explicitly listed tests to
5024         run is stupid.
5026 2001-08-31  Akim Demaille  <akim@epita.fr>
5028         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
5029         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
5030         Use directly autom4te, not autoconf.
5031         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
5033 2001-08-31  Akim Demaille  <akim@epita.fr>
5035         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
5036         * bin/autoheader.in (%symbol): Strip arguments of macros.
5038 2001-08-31  Akim Demaille  <akim@epita.fr>
5040         * doc/autoconf.texi: Catch up -I, --include changes.
5042 2001-08-31  Akim Demaille  <akim@epita.fr>
5044         * bin/autom4te.in (&parse_args): Die on unknown languages.
5045         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
5046         need for autoconf.
5047         Promote --include over --macrodir and other obsolete options.
5049 2001-08-31  Akim Demaille  <akim@epita.fr>
5051         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
5052         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
5053         * bin/autom4te.in ($autoconf): Pass --force.
5054         `print $out' doesn't print `$_' but `$out'.
5055         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
5056         (autoheader): Pass --force since the test suite goes too fast for
5057         the time stamps.
5058         Adjust to the new autoheader messages.
5060 2001-08-31  Akim Demaille  <akim@epita.fr>
5062         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
5063         Check the completeness of the #template.
5064         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
5065         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
5066         invocation.
5068 2001-08-31  Akim Demaille  <akim@epita.fr>
5070         * lib/Autom4te/General.pm (&find_file, &update_file): New.
5071         * bin/autoupdate.in, bin/autoheader.in: Adjust.
5072         Drop AC_MACRODIR dead for real.
5073         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
5074         `autoheader: `config.hin' is created'.
5075         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
5077 2001-08-31  Akim Demaille  <akim@epita.fr>
5079         * bin/autoheader.in: Rewrite in Perl.
5080         * tests/autoheader: Adjust.
5082 2001-08-31  Akim Demaille  <akim@epita.fr>
5084         * bin/autoconf.in (--include, -I): New option.
5085         Map --localdir, --autoconf-dir onto it.
5086         Forward autom4te's options instead of interpreting them.
5087         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
5088         There is no such envvar since the inception of autom4te.cfg.
5089         * bin/autom4te.in (&parse_args): Uniquify `@include'.
5090         * bin/autoupdate.in: Adjust, and perform more control.
5091         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
5092         * tests/autoconf: Dittowise.
5094 2001-08-31  Akim Demaille  <akim@epita.fr>
5096         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
5097         * bin/autom4te.in (&find_file): Support `FILE?' standing for
5098         optionally `FILE'.
5099         Use -e, not -f, since /dev/null for instance is OK.
5100         (&parse_args): Adjust.
5101         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
5103 2001-08-31  Akim Demaille  <akim@epita.fr>
5105         * configure.ac: Also find tested executables in bin.
5106         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
5107         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
5108         installed peer executables, only PATH is allowed to resolve it.
5109         Pass `autoconf_dir' via options, not via invisible envvars.
5110         * lib/Autom4te/General.pm (&find_peer): Remove.
5111         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
5112         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
5113         * man/Makefile.am: Let help2man rely on PATH instead of trying to
5114         find the executables for it.
5115         * tests/Makefile.am: Major cleanup.  Too lazy to document...
5116         * tests/atlocal.in: Remove all the obscure envvar manipulations.
5117         We only need PERL.
5118         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
5119         indeed related to running the test suite, while passing
5120         --autoconf-dir and others is related to running non installed
5121         Autoconf executables.  So don't do that, leave it to...
5122         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
5123         * tests/autoscan: New.
5124         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
5125         refer to library files: rely on --language.
5127 2001-08-29  Akim Demaille  <akim@epita.fr>
5129         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
5130         s/--set/--language/.
5132 2001-08-29  Akim Demaille  <akim@epita.fr>
5134         * doc/autoconf.texi: Strip the @nodes.
5135         Suggested by Paul Eggert.
5136         (Initializing configure): Typo.
5138 2001-08-29  Akim Demaille  <akim@epita.fr>
5140         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
5141         Suggested by Paul Eggert.
5143 2001-08-29  Akim Demaille  <akim@epita.fr>
5145         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
5146         download in a tmp dir.
5148 2001-08-29  Akim Demaille  <akim@epita.fr>
5150         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
5151         case insensitive OSes out there :(
5152         From Tim Van Holder.
5154 2001-08-29  Akim Demaille  <akim@epita.fr>
5156         * lib/autom4te.in: New.
5157         * lib/Makefile.am (edit, autom4te.cfg): New.
5158         * bin/autom4te.in (BEGIN): Simplify.
5159         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
5160         (&load_configuration): New.  Use it.
5161         (&parse_args): Support --mode, --set, and --melt.
5162         * bin/autoconf.in: Simplify and adjust.
5163         * tests/Makefile.am (AUTOMAKE): Use --set.
5164         * tests/atlocal.in: Adjust.
5165         * BUGS: distcheck and check are weak.
5167 2001-08-29  Akim Demaille  <akim@epita.fr>
5169         * lib/autotest/general.m4: Use
5170                 foo=`(command) 2>/dev/null`
5171         not
5172                 foo=`command` 2>/dev/null
5173         (at-devnull): Rename as...
5174         (AT-devnull): this.
5175         (--clean): Remove AT-* files too.
5176         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
5177         Reported by Nicolas Joly.
5179 2001-08-28  Akim Demaille  <akim@epita.fr>
5181         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
5182         quotes inside single quotes.
5183         Reported by Nicolas Joly.
5185 2001-08-28  Kevin Ryde  <user42@zip.com.au>
5187         * doc/autoconf.texi (Function Portability): Mention C right shifts.
5189 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
5191         * lib/autotest/general.m4: Reword some messages.
5192         (AT_INIT): Check for the `times' builtin before using it.
5193         Support test ranges as arguments to the testsuite.
5194         Have -e imply -d as the help text suggested.
5196 2001-08-27  Akim Demaille  <akim@epita.fr>
5198         * Makefile.maint: Formatting changes.
5199         (do-po-update, po-update, cvs-update, update): New targets.
5200         (AMTAR): Remove.
5202 2001-08-27  Akim Demaille  <akim@epita.fr>
5204         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
5205         <at_cmd_line>: New.
5206         Pass it to debug-*.sh scripts.
5207         <AUTOTEST_PATH>: May contain absolute dir names.
5209 2001-08-27  Akim Demaille  <akim@epita.fr>
5211         * lib/autotest/general.m4 (AT_INIT): Log the command line.
5212         Support `VAR=VAL' as arguments.
5213         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
5214         may be set via the command line.
5216 2001-08-27  Akim Demaille  <akim@epita.fr>
5218         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
5219         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
5220         first the build dirs, then the src dirs.
5221         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
5223 2001-08-27  Akim Demaille  <akim@epita.fr>
5225         * lib/autotest/general.m4 (AT_INIT): Output the definition of
5226         at_data_files earlier.
5227         (--clean, -c): New option.
5228         * tests/Makefile.am: Use this option.
5230 2001-08-27  Akim Demaille  <akim@epita.fr>
5232         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
5233         `ac_top_builddir' to mimic Automake's vocabulary, which much more
5234         readable.
5235         Adjust callers.
5236         * doc/autoconf.texi (Configuration Actions): Document the vars
5237         available in commands.
5238         Emphasize the risks of collisions in init-cmds.
5240 2001-08-27  Akim Demaille  <akim@epita.fr>
5242         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
5243         (Initializing configure): this new node.
5245 2001-08-27  Akim Demaille  <akim@epita.fr>
5247         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
5249 2001-08-27  Akim Demaille  <akim@epita.fr>
5251         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
5252         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
5253         New file.
5254         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
5256 2001-08-27  Akim Demaille  <akim@epita.fr>
5258         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
5259         to...
5260         * lib/autoconf/autoheader.m4: this new file.
5261         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
5262         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
5263         Move to...
5264         * lib/autoconf/autoupdate.m4: this new file.
5266 2001-08-27  Akim Demaille  <akim@epita.fr>
5268         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
5269         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
5270         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
5271         -> ac_dir).
5272         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
5273         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
5275 2001-08-27  Akim Demaille  <akim@epita.fr>
5277         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
5278         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
5279         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
5280         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
5281         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
5282         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
5283         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
5284         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
5285         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
5286         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
5287         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
5288         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
5289         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
5290         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
5291         (_AC_OUTPUT_SUBDIRS): Move to...
5292         * lib/autoconf/status.m4: this new file.
5293         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
5294         * tests/Makefile.am, tests/suite.at: Adjust.
5296 2001-08-27  Akim Demaille  <akim@epita.fr>
5298         Automake 1.5.
5300         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
5301         (AMTAR): Help automake define it.
5302         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
5303         needed, 1.5 can have a macro and a target with the same name.
5304         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
5305         * m4/strip.m4: New.
5306         * m4/init.m4, m4/sanity.m4: Update.
5307         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
5308         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
5309         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
5310         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
5312 2001-08-27  Akim Demaille  <akim@epita.fr>
5314         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
5316         * lib/autoconf/version.in: Remove.
5317         * lib/m4sugar/version.in: New.
5318         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
5319         Adjust callers.
5320         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
5321         the name of the directory they're in, instead of the filename,
5322         since version.m4 is now in m4sugar, but m4_acversion must not be
5323         classified as an Autoconf macro.
5324         ($input_m4): Don't qualify the path to m4sugar.
5325         Rather, pass autoconf_dir to m4.
5326         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
5327         * tests/suite.at: Require 2.52c.
5329 2001-08-27  Akim Demaille  <akim@epita.fr>
5331         testsuite.log should include config.log.
5333         * lib/autotest/autotest.m4: New.
5334         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
5335         * tests/suite.at : Adjust.
5336         (AT_INIT): Log config.log.
5337         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
5338         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
5339         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
5340         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
5341         of config.log on traps.
5342         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
5343         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
5344         for config.status'.
5345         Open the log as soon as possible.
5346         Use the same log introduction as configure's.
5348 2001-08-22  Paul Eggert  <eggert@twinsun.com>
5350         * doc/autoconf.texi (Indices): New node.
5351         Move indices out of the top level menu and into this submenu.
5353 2001-08-22  Akim Demaille  <akim@epita.fr>
5355         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5356         AC_TRY_COMMAND.
5357         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
5359 2001-08-22  Akim Demaille  <akim@epita.fr>
5361         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
5362         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
5363         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
5364         * lib/autoconf/programs.m4: here.
5365         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
5366         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
5367         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
5368         * lib/autoconf/programs.m4: here.
5369         (_AC_DECL_YYTEXT): Rename as...
5370         (_AC_PROG_LEX_YYTEXT_DECL): this.
5371         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
5372         * tests/Makefile.am, tests/suite.am: Adjust.
5374 2001-08-22  Akim Demaille  <akim@epita.fr>
5376         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
5377         Move to...
5378         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
5379         here.
5380         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
5381         * lib/autoconf/functions.m4: here.
5382         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
5383         (AH_CHECK_LIB): Move to...
5384         * lib/autoconf/libs: this new file.
5385         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
5386         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
5387         * lib/autoconf/libs.m4: here.
5388         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
5390 2001-08-22  Akim Demaille  <akim@epita.fr>
5392         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
5393         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
5394         (AC_SITE_LOAD): Better logging of config.site.
5396 2001-08-20  Akim Demaille  <akim@epita.fr>
5398         * configure.ac (AT_CONFIG): Fix the path.
5399         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
5400         can be used.
5402 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
5404         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
5405         program with AC_LANG_PROGRAM before feeding it to
5406         AC_COMPILE_IFELSE.  Cleanup grep usage.
5408 2001-08-20  Akim Demaille  <akim@epita.fr>
5410         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
5411         * NEWS, README, README-alpha, TODO, tests/README: This package is
5412         `Autoconf', not `autoconf' (the executable).
5414 2001-08-20  Akim Demaille  <akim@epita.fr>
5416         Info readers seem to need `Index' in the index node title :(
5418         * doc/autoconf.texi: Reverse the 2001-08-15 change which
5419         simplified index node names.
5421 2001-08-20  Akim Demaille  <akim@epita.fr>
5423         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
5424         arguments are not literals.
5425         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
5426         Specify the output variables, and macros defined.
5428 2001-08-20  Akim Demaille  <akim@epita.fr>
5430         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
5431         (Examining Syntax) <AC_TRY_COMPILE>
5432         (Examining Libraries) <AC_TRY_LINK>
5433         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
5434         their arguments.
5435         Reported by Werner Lemberg.
5437 2001-08-20  Akim Demaille  <akim@epita.fr>
5439         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
5440         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
5441         Load atlocal late enough to dump it in the log.
5442         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
5444 2001-08-20  Akim Demaille  <akim@epita.fr>
5446         * tests/torture.at (Configuring subdirectories): New test.
5447         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
5448         looking for.
5449         * m4/atconfig.m4: Be sure the let $[0] be expandable.
5450         (top_srcdir): Fix its computation.
5452 2001-08-20  Akim Demaille  <akim@epita.fr>
5454         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
5455         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
5456         test suite lives.
5457         Create `atconfig' automagically.
5458         Configure atlocal.in if present.
5459         * tests/atconfig.in: Remove.
5460         * tests/atlocal.in: New.
5461         * tests/Makefile.am: Adjust.
5463 2001-08-20  Akim Demaille  <akim@epita.fr>
5465         Huh!?!?!  There are still some user EOF tags used, which prevents
5466         their use in AC_CONFIG_COMMANDS for instance...
5468         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
5469         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
5470         `_CSEOF', or `_ATEOF', as appropriate.
5471         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
5472         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
5474 2001-08-20  Akim Demaille  <akim@epita.fr>
5476         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
5477         * tests/semantics.at, tests/tools.at, tests/torture.at:
5478         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
5480 2001-08-20  Akim Demaille  <akim@epita.fr>
5482         Autotest invokes M4sh's initialization.
5484         * lib/autotest/general.m4: Adjust the diversion names.
5485         (AT_INIT): Run AS_INIT.
5486         Use the BINSH diversion to invoke /bin/sh.
5487         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
5488         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
5490 2001-08-20  Akim Demaille  <akim@epita.fr>
5492         Let M4sh have its own diversions.
5494         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
5495         (_m4_divert(NOTICE)): Rename as...
5496         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
5497         (_m4_divert(HEADER-COMMENT)): these.
5498         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
5499         (_m4_divert(NOTICE)): New, for Libtool.
5500         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
5501         long ago with `_m4_divert(GROW)'.
5502         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
5504 2001-08-20  Akim Demaille  <akim@epita.fr>
5506         * tests/base.at, tests/compile.at, tests/foreign.at,
5507         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5508         * tests/semantics.at, tests/suite.at, tests/tools.at,
5509         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
5511 2001-08-20  Akim Demaille  <akim@epita.fr>
5513         * bin/autom4te.in (handle_output): Handle @__@.
5515 2001-08-20  Akim Demaille  <akim@epita.fr>
5517         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
5518         * lib/autotest/general.m4: Adjust the license.
5520 2001-08-17  Paul Eggert  <eggert@twinsun.com>
5522         * doc/autoconf.texi (Function Portability): Mention snprintf,
5523         following up on a suggestion by Kevin Ryde.
5525 2001-08-17  Akim Demaille  <akim@epita.fr>
5527         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
5528         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
5530 2001-08-17  Akim Demaille  <akim@epita.fr>
5532         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
5533         `$0.log' as for projects where testsuite is in src, we'd have
5534         testsuite.log created in src.
5536 2001-08-17  Akim Demaille  <akim@epita.fr>
5538         * bin/autom4te.in (&parse_args): Recognize --normalize.
5540 2001-08-17  Akim Demaille  <akim@epita.fr>
5542         Start implementing the AC_CHECK_HEADER transition scheme.
5544         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
5545         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
5546         (AC_CHECK_HEADER): Use them.
5548 2001-08-17  Akim Demaille  <akim@epita.fr>
5550         * doc/autoconf.texi: Work around Texinfo buglets.
5551         (Transformation Rules): One example is enough, users are expected
5552         to have their brains on. And BTW, use DESTDIR.
5553         (dvar): New macro.  Use it.
5555 2001-08-17  Akim Demaille  <akim@epita.fr>
5557         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
5558         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
5559         looking for ChangeLogs.
5561 2001-08-17  Akim Demaille  <akim@epita.fr>
5563         * bin/autom4te.in: --normalize is a new option.
5564         * bin/autoconf.in: Use it.
5566 2001-08-17  Akim Demaille  <akim@epita.fr>
5568         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
5569         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
5571 2001-08-16  Paul Eggert  <eggert@twinsun.com>
5573         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
5574         start, not at end.
5576 2001-08-15  Akim Demaille  <akim@epita.fr>
5578         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
5579         Use it.
5581 2001-08-15  Akim Demaille  <akim@epita.fr>
5583         * doc/autoconf.texi (pr): New index.
5584         (prindex, findex): Use, merge, and output them.
5585         (Environment Variable Index, Output Variable Index)
5586         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
5587         (Autotest Macro Index): Rename as...
5588         (Environment Variables, Output Variables,Preprocessor Symbols)
5589         (Autoconf Macros, M4 Macros, Autotest Macros): these.
5590         * doc/install.texi: Use @command.
5591         (Environment Variables): Rename as...
5592         (Defining Variables): this.
5594 2001-08-15  Akim Demaille  <akim@epita.fr>
5596         * doc/autoconf.texi (Function Portability): sprintf's return
5597         value.
5598         From Kevin Ryde.
5600 2001-08-15  Akim Demaille  <akim@epita.fr>
5602         * Makefile.maint (CVS): New.
5603         (local-check): Run changelog-check. last.
5604         (alpha): Don't depend upon local-check, since...
5605         (cvs-dist): depends upon it.
5607 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
5609         * tests/Makefile.am: Use a clean-local rule to remove
5610         autom4te.cache (it's a directory, not a file.
5611         * Makefile.am: Ditto (but maintainer-clean-local).
5613 2001-08-15  Akim Demaille  <akim@epita.fr>
5615         * bin/autom4te.in (@m4_warning): New.
5616         (&handle_m4): Use it.
5617         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
5618         warnings are issued at each run.
5619         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
5620         is in the src tree.
5622 2001-08-15  Akim Demaille  <akim@epita.fr>
5624         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
5625         don't waste time running `autoupdate --version' works.
5626         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
5628 2001-08-13  Akim Demaille  <akim@epita.fr>
5630         * doc/autoconf.texi (ma): Rename this index as...
5631         (ac): this.
5633 2001-08-13  Akim Demaille  <akim@epita.fr>
5635         * Makefile.am: Remove dead code and dead comments.
5636         (pdf, html): New targets.
5637         * doc/autoconf.texi (Using Autotest): New chapter.
5638         * doc/Makefile.am (pdf): New targets.
5639         (CLEANFILES): Adjust.
5641 2001-08-13  Akim Demaille  <akim@epita.fr>
5643         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
5644         duration of the test suite.
5646 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
5648         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
5649         endianness for comparison instead of relying on AT_CHECK_ENV.
5651 2001-08-11  Paul Eggert  <eggert@twinsun.com>
5653         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
5654         to the INSTALL file.
5656 2001-08-11  Paul Eggert  <eggert@twinsun.com>
5658         * NEWS: The autoconf manual now is distributed under the terms
5659         of the GNU Free Documentation License.
5661         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
5662         Add an appendix "Copying This Manual" for the FDL.
5664         * doc/fdl.texi: New file, from
5665         <http://www.gnu.org/licenses/fdl.texi>.
5667         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
5669 2001-08-10  Paul Eggert  <eggert@twinsun.com>
5671         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
5672         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
5673         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
5674         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
5675         m4/sanity.m4, tests/README, tests/aclocal.m4,
5676         tests/atspecific.m4, tests/base.at, tests/compile.at,
5677         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
5678         tests/semantics.at, tests/suite.at, tests/tools.at,
5679         tests/torture.at: Add copyright notice.
5681         * tests/mktests.sh: Update year in copyright notice.
5683 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
5685         * tests/semantics.at (AC_C_BIGENDIAN): New test.
5687 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
5689         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
5690         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
5691         * doc/autoconf.texi (C Compiler Characteristics): Update
5692         documentation for AC_C_BIGENDIAN.
5694 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
5696         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
5697         magic values from an object file when cross-compiling.
5698         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
5700 2001-08-10  Akim Demaille  <akim@epita.fr>
5702         * bin/autom4te.in (&handle_output): Don't use `grep' with side
5703         effects.
5704         Suggested by Russ Allbery.
5706 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
5708         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
5709         current $prefix to the sub-configures.
5711 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
5713         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
5714         extension (needed on BeOS).  Reported by Guido van Rossum.
5716 2001-08-09  Akim Demaille  <akim@epita.fr>
5718         * bin/autom4te.in ($icache): Load it only if older than autom4te.
5720 2001-08-07  Akim Demaille  <akim@epita.fr>
5722         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
5723         removed.
5724         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
5725         No need to remove the files before and after the each test, before
5726         each test and at the end of the suite is enough.
5727         Display only the children `times', not the shell's.
5728         If the test failed or was skipped, at-times is not available.
5730 2001-08-07  Akim Demaille  <akim@epita.fr>
5732         Always produce testsuite.log, including when there are no
5733         failures.  This helps getting information on skipped tests, and
5734         duration of the tests.  Err, implement the latter btw.
5736         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
5737         Dump information on the first run of each test.
5738         (AT_CLEANUP): Create `at-times' containing the duration of the
5739         test group.
5741 2001-08-07  Akim Demaille  <akim@epita.fr>
5743         The use of `dumpstat' revealed that `len' was used although it
5744         should not.  m4_text_wrap was using it, but in the Autoconf world
5745         where it is legal.  Hence (i) test M4sh in its own world, not
5746         Autoconf's, and (ii), ahem, fix the bug :)
5748         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
5749         does not like `' instead of [].
5750         (AT_INIT): Forbid `^_?AT_'.
5751         And don't output such tokens.
5752         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
5753         `script.as', and `autom4te.cache'.
5754         Remove `empty' and `macro' which are no longer used.
5755         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
5756         * tests/m4sugar.at: Use it.
5757         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
5759 2001-08-07  Akim Demaille  <akim@epita.fr>
5761         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
5763 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
5765         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
5767 2001-08-04  Akim Demaille  <akim@epita.fr>
5769         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
5770         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
5771         AC_TRY_LINK.
5772         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
5773         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
5774         (AC_F77_MAIN): Likewise.
5776 2001-08-04  Akim Demaille  <akim@epita.fr>
5778         Don't rely on M4sugar outputting the patterns in files, since we
5779         might process the output _without_ running m4, hence without these
5780         files.
5782         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
5783         * bin/autom4te.in (@Request::includes): Remove, unused.
5784         (@Request::source): Rename as...
5785         (@Request::input): this.
5786         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
5787         (&handle_output): Fetch the patterns from the traces.
5788         `$forbidden' and `$allowed' are constant: use m//o.
5789         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
5790         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
5792 2001-08-04  Akim Demaille  <akim@epita.fr>
5794         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
5795         autoconf', i.e., in addition to caching traces, cache the output.
5797         * bin/autom4te.in (Request::cache): Rename as...
5798         (Request::id): this.
5799         ($cache, $icache, $tcache, $ocache): New.
5800         (&handle_m4): Save M4 output in the cache instead of $tmp.
5801         (&handle_output): Adjust.
5802         (&up_to_date_p): Check that the output cache is up to date too.
5803         (top level): Run `&handle_m4' iff force or the cache is invalid.
5804         Run `&handle_output' if the output cache is more recent.
5806 2001-08-04  Akim Demaille  <akim@epita.fr>
5808         * bin/autom4te.in ($force): New.
5809         (&parse_args, &print_usage): -f, --force is a new option.
5810         (&handle_output): CPP directives might have spaces after `#'.
5811         (&parse_args): The first file only can be frozen.
5813 2001-08-04  Akim Demaille  <akim@epita.fr>
5815         Don't let autom4te compute the `include' traces several times:
5816         first check that the trace cache file is up to date, and then
5817         compare its timestamp with that of the output.
5819         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
5820         the preamble.  Don't require 5.005 as Autom4te::General does it,
5821         and better yet (use `use', not `require'!).
5822         * lib/Autom4te/Struct.pm: Rename the last occurrences of
5823         Class::Struct as Autom4te::Struct.
5824         * lib/Autom4te/General.pm (File::stat): Use it.
5825         (&mtime): New, export it.
5826         * bin/autom4te.in: Use it.
5827         Declare `$req' is invalid if it is outdated.
5828         Don't declare it valid before saving it if something went wrong.
5830 2001-08-04  Akim Demaille  <akim@epita.fr>
5832         Autom4te shall not encode Autoconf data, and preselecting traces
5833         must be proposed to the users.
5835         * bin/autom4te.in (@required_trace): Remove.
5836         (@preselect): New.
5837         (&parse_args, &print_usage): -p, --preselect is a new option.
5838         (&up_to_date_p): Adjust.
5839         * bin/autoconf.in: Preselect some Autoconf macros.
5841 2001-08-04  Akim Demaille  <akim@epita.fr>
5843         * tests/tools.at (autoconf --trace: user macros): Check traces on
5844         macros invoked without arguments, and macros invoked with multiple
5845         lines arguments.
5847 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
5849         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
5850         arguments.
5852 2001-08-03  Akim Demaille  <akim@epita.fr>
5854         * bin/autoconf.in ($@): Work around the usual sh bug.
5855         From Nicolas Joly.
5857 2001-08-03  Akim Demaille  <akim@epita.fr>
5859         Clean up the handling of the M4 builtins tracing exception.
5861         * bin/autom4te.in (Request::request): Don't complete M4 builtins
5862         trace requests.
5863         (@m4_builtins): Rename as...
5864         (@m4_builtin): this.
5865         (%m4_builtin_alternate_name): New.
5866         (&parse_args): Complete the trace requests with alternate names.
5867         (&handle_traces): Hence no longer do it here.
5868         (&trace_requests): Remove, unused.
5870 2001-08-03  Akim Demaille  <akim@epita.fr>
5872         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
5873         m4_if, and m4_wrap.
5875 2001-08-03  Akim Demaille  <akim@epita.fr>
5877         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
5878         (m4_divert_pop): Dump the whole diversion stack when a diversion
5879         mismatch happens.
5880         * bin/autom4te.in (&handle_output): Remember of the first
5881         occurrence of a possibly undefined macro, not the last.
5882         Complain about the possibly undefined macros in the same order as
5883         the appear in the output.
5884         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
5885         * tests/tools.at (autoconf: forbidden tokens, basic)
5886         (autoconf: forbidden tokens, exceptions): No longer sort
5887         autoconf's stderr, as it is now deterministic.
5888         Check that `dnl' is caught.
5890 2001-08-01  Akim Demaille  <akim@epita.fr>
5892         * configure.ac: Bump to 2.52c.
5894 2001-08-01  Akim Demaille  <akim@epita.fr>
5896         Version 2.52b.
5898         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
5900 2001-08-01  Akim Demaille  <akim@epita.fr>
5902         Version 2.52a.
5904 2001-08-01  Akim Demaille  <akim@epita.fr>
5906         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
5907         `die'.
5908         (&END): New.
5909         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
5910         `END', as `Autom4te::General::END' will be triggered.
5911         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
5912         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
5913         system to run `mv', `rm', and `cmp'.
5915 2001-08-01  Akim Demaille  <akim@epita.fr>
5917         * lib/Autom4te/General.pm (&unique): New.
5918         * bin/autoscan.in (&output): Use it to issue trace requests once.
5920 2001-08-01  Akim Demaille  <akim@epita.fr>
5922         * lib/Autom4te/General.pm: New.
5923         * bin/autom4te.in (Autom4te::General): Use it.
5924         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
5925         (&find_configure_ac, &find_slave): Remove.
5926         * bin/autoscan.in: Likewise.
5927         * bin/autoupdate.in: Likewise.
5929 2001-08-01  Akim Demaille  <akim@epita.fr>
5931         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
5932         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
5933         * bin: here, new directory.
5934         * lib/Autoconf: Rename as...
5935         * lib/Autom4te: this, to please case insensitive junkie OSes.
5937 2001-08-01  Akim Demaille  <akim@epita.fr>
5939         * autom4te.in ($m4): Handle the --nesting-limit.
5940         * autoconf.in (M4): Remove.
5942 2001-08-01  Akim Demaille  <akim@epita.fr>
5944         * autoconf.in ($AWK): Remove, no longer used.
5945         * test/tools.at: Use AT_CHECK_AUTOCONF.
5946         (AWK portability): Remove, for autoconf no longer uses AWK.
5947         (Syntax of the Perl scripts): New.
5948         * configure.ac: autoconf no longer needs an AWK with a good
5949         regexp engine.
5950         Use a static test on AC_PACKAGE_VERSION.
5951         * autom4te.in (&up_to_date_p): Output depends on the arguments.
5952         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
5953         * tests/atconfig.in (PERL): New.
5955 2001-08-01  Akim Demaille  <akim@epita.fr>
5957         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
5958         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
5959         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
5960         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
5961         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
5962         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
5963         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
5964         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
5965         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
5966         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
5967         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
5968         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
5969         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
5970         * lib/autoconf/c.m4: here, new file.
5972         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
5973         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
5974         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
5975         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
5976         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
5977         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
5978         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
5979         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
5980         (AC_F77_FUNC): Move to...
5981         * lib/autoconf/fortran.m4: here, new file.
5983 2001-08-01  Akim Demaille  <akim@epita.fr>
5985         * acfunctions.m4: Rename as...
5986         * lib/autoconf/functions.m4: this.
5987         * acgeneral.m4: Rename as...
5988         * lib/autoconf/general.m4: this.
5989         * acheaders.m4: Rename as...
5990         * lib/autoconf/headers.m4: this.
5991         * aclang.m4: Rename as...
5992         * lib/autoconf/lang.m4: this.
5993         * acoldnames.m4: Rename as...
5994         * lib/autoconf/oldnames.m4: this.
5995         * acspecific.m4: Rename as...
5996         * lib/autoconf/specific.m4: this.
5997         * actypes.m4: Rename as...
5998         * lib/autoconf/types.m4: this.
5999         * autoconf.m4: Rename as...
6000         * lib/autoconf/autoconf.m4: this.
6002         * m4sugar.m4: Rename as...
6003         * lib/m4sugar/m4sugar.m4: this.
6004         * m4sh.m4: Rename as...
6005         * lib/m4sugar/m4sh.m4: this.
6007         * tests/atgeneral.m4: Rename as...
6008         * lib/autotest/general.m4: this.
6010         * acfunctions: Rename as...
6011         * lib/autoscan/functions: this.
6012         * acheaders: Rename as...
6013         * lib/autoscan/headers: this.
6014         * acidentifiers: Rename as...
6015         * lib/autoscan/identifiers: this.
6016         * aclibraries: Rename as...
6017         * lib/autoscan/libraries: this.
6018         * acmakevars: Rename as...
6019         * lib/autoscan/makevars: this.
6020         * acprograms: Rename as...
6021         * lib/autoscan/programs: this.
6023 2001-08-01  Akim Demaille  <akim@epita.fr>
6025         * doc/autoconf.texi: Moving/deleting open files is not portable.
6026         Portability issues for `.' (source), and more information about sed.
6028 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
6030         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
6031         which has a special meaning and is not a reference to libibmil.a.
6032         Reported by Matteo Frigo.
6034 2001-07-25  Pavel Roskin  <proski@gnu.org>
6036         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
6037         output.
6039 2001-07-25  Akim Demaille  <akim@epita.fr>
6041         * autoconf.in: Try to define the variables before using them.
6042         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
6043         instead of `$perllibdir'.
6044         * tests/atconfig.in ($autom4te_perllibdir): Export it.
6046 2001-07-25  Akim Demaille  <akim@epita.fr>
6048         * autoconf.in (ac_LF_and_DOT): Remove, unused.
6050 2001-07-24  Akim Demaille  <akim@epita.fr>
6052         Let autoconf use autom4te for traces.
6054         * autoconf.in ($task, task trace): Remove, merely pass --trace to
6055         autom4te.
6056         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
6057         (Because I found no way for autom4te to accept `-').
6058         * autom4te.in (&Request::request): Beware of M4 builtins.
6059         (END): Don't try to remove the content of an empty dir.
6060         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
6061         (&handle_output): Set a default value to `$forbidden'.
6062         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
6063         ($autoconf): Pass --debug and --verbose.
6064         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
6065         cache.
6067 2001-07-24  Akim Demaille  <akim@epita.fr>
6069         Let autoconf use autom4te to create configure.
6071         * autoconf.in ($automate): New var.
6072         (task script): Use autom4te.
6073         * autom4te.in (File::Spec): Use it.
6074         (&find_file): New.
6075         (&parse_args): --warning is -W, not -w.
6076         Find the top level files.
6077         (&handle_m4): Pass the warnings flags.
6078         Don't report verbosely m4's failures, unless requested.
6079         (&handle_output): Don't complain for forbidden tokens in comments.
6080         Be sure to report all the forbidden tokens within a single line.
6081         (&trace_format_to_m4): Preserve `$_'.
6082         (&handle_traces): Sort the output macros.
6083         (&up_to_date_p): Find the files before trying to get its time stamp.
6085 2001-07-24  Akim Demaille  <akim@epita.fr>
6087         * Makefile.am: Ship, build and install Autom4te.
6088         (SUBDIRS): Add lib.
6089         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
6090         * configure.in: Require Perl.
6091         * man/autom4te.in: New.
6093 2001-07-19  Paul Eggert  <eggert@twinsun.com>
6095         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
6096         example, rather than (exit 1); exit (which isn't portable).
6098 2001-07-18  Akim Demaille  <akim@epita.fr>
6100         Version 2.52.
6102 2001-07-18  Akim Demaille  <akim@epita.fr>
6104         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
6105         was run, while they are needed also when it is expanded.
6106         Reported by Nicolas Joly.
6108         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
6109         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
6110         AC_F77_DUMMY_MAIN being expanded.
6112 2001-07-18  Akim Demaille  <akim@epita.fr>
6114         * configure.in: Bump to 2.51a.
6116 2001-07-17  Akim Demaille  <akim@epita.fr>
6118         Version 2.51.
6120 2001-07-17  Akim Demaille  <akim@epita.fr>
6122         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
6123         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
6125 2001-07-17  Akim Demaille  <akim@epita.fr>
6127         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
6128         used.  Well, then use the prototypes when you can, and runtime as
6129         a last resort.
6130         Reported by Artur Frysiak
6132         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
6133         (AC_FUNC_GETPGRP): Use it.
6134         First try to compile with 0-ary or 1-ary calls.
6136 2001-07-17  Akim Demaille  <akim@epita.fr>
6138         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
6139         replacement type.
6140         From Paul Eggert.
6142 2001-07-17  Akim Demaille  <akim@epita.fr>
6144         * Makefile.maint: Sync. with cppi 1.10.
6146 2001-07-17  Akim Demaille  <akim@epita.fr>
6148         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
6149         AC_F77_DUMMY_MAIN has been run.
6150         From Pavel Roskin and Steven G. Johnson.
6152 2001-07-17  Akim Demaille  <akim@epita.fr>
6154         * configure.in: Rename as...
6155         * configure.ac: this.
6157 2001-07-17  Akim Demaille  <akim@epita.fr>
6159         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
6160         rules.
6161         From Marc Espie.
6162         * Makefile.maint (release-archive-dir): Rename as...
6163         (release_archive_dir): this, so that it can be specialized in
6164         Makefile.
6166 2001-07-14  Akim Demaille  <akim@epita.fr>
6168         * configure.in: Bump to 2.50d.
6170 2001-07-14  Akim Demaille  <akim@epita.fr>
6172         Version 2.50c.
6173         * Makefile.maint (alpha): Typo.
6175 2001-07-14  Akim Demaille  <akim@epita.fr>
6177         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
6179 2001-07-14  Akim Demaille  <akim@epita.fr>
6181         * config/config.guess, config/config.sub, config/texinfo.tex
6182         * doc/standards.texi, doc/make-stds.texi: Update.
6184 2001-07-14  Akim Demaille  <akim@epita.fr>
6186         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
6188 2001-07-14  Akim Demaille  <akim@epita.fr>
6190         * Makefile.maint (maintainer-check): Rename as...
6191         (maintainer-distcheck): this.
6192         (changelog-check, static-check): New.
6193         Use them.
6195 2001-07-14  Kevin Ryde  <user42@zip.com.au>
6197         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
6198         for CXX is g++, not gcc.
6200 2001-07-14  Akim Demaille  <akim@epita.fr>
6202         * doc/autoconf.texi (Files): New subsection.
6204 2001-07-14  Akim Demaille  <akim@epita.fr>
6206         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
6207         of...
6208         (Generic Compiler Characteristics): this.
6209         (C++ Compiler): New subsection.
6211 2001-07-14  Akim Demaille  <akim@epita.fr>
6213         * autoscan.in: Use IO::File.
6214         Adjust all the routines to use it.
6215         ($log): New file (autoscan.log).
6216         (output): Dump detailed logs into $log, and a shortened version to
6217         stderr.
6218         (&scan_makefile): Refine the regexp catching tokens in the code.
6219         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
6220         and the `configure.ac' checking feature.
6222 2001-07-12  Akim Demaille  <akim@epita.fr>
6224         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
6225         Reported by Michael Elizabeth Chastain.
6227         * autoconf.in: Refuse such AWK.
6228         * configure.in: Likewise.
6229         * Makefile.am (acversion.m4): Do not use move-if-change this file
6230         has dependencies.
6231         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
6233 2001-07-10  Jens Petersen  <petersen@redhat.com>
6235         * autoscan.in (&scan_makefile): Improve programs regexp to parse
6236         things like "g++", "file.c" and "some-conf" as tokens.
6237         (&scan_file): Match C++ files extensions.
6238         If the filename extension is C++ then ask for c++.
6240 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
6242         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
6243         AC_TRY_LINK_FUNC, to check whether defining a dummy
6244         main-like routine is needed for linking with F77 libs.
6246 2001-07-05  Pavel Roskin  <proski@gnu.org>
6248         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
6249         after using break.
6250         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
6251         linking.
6253 2001-07-05  Akim Demaille  <akim@epita.fr>
6255         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
6256         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
6257         Makes' lives.
6258         Reported by Nicolas Joly.
6260 2001-07-04  Akim Demaille  <akim@epita.fr>
6262         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
6263         up.
6264         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
6265         warnings from compilers.
6266         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
6267         for all the compilers, not only GNU.  Hence move from here...
6268         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
6270 2001-07-04  Akim Demaille  <akim@epita.fr>
6272         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
6273         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
6274         AC_COMPILE_IFELSE.
6276 2001-07-04  Akim Demaille  <akim@epita.fr>
6278         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
6279         the ``strings.h'' change claimed below.
6281 2001-07-04  Akim Demaille  <akim@epita.fr>
6283         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
6285 2001-07-04  Akim Demaille  <akim@epita.fr>
6287         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6288         strings.h if usable with string.h.
6289         Suggested by Paul Eggert.
6291 2001-07-04  Akim Demaille  <akim@epita.fr>
6293         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
6294         From Jens Petersen.
6296 2001-07-03  Akim Demaille  <akim@epita.fr>
6298         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
6299         etc. in the log.
6301 2001-07-03  Akim Demaille  <akim@epita.fr>
6303         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
6304         compiler, not the preprocessor.
6305         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
6306         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
6307         the right thing.
6308         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
6309         earlier if there are.
6311 2001-07-03  Akim Demaille  <akim@epita.fr>
6313         * autoscan.in ($initfile): Remove.
6314         (&find_file): Rename as...
6315         (&scan_file): this.
6316         Immediately scan the current file, instead of gathering them, and
6317         later having them handled by &scan_files.
6318         (&scan_files): Merely invoke Find::File.
6319         Adjust.
6321 2001-07-02  Akim Demaille  <akim@epita.fr>
6323         * autoscan.in: Formatting changes, matching the invocation order.
6324         (File::Find): Use it instead of Perl 4's `find.pl'.
6325         (&wanted): Rename as...
6326         (&find_file): this.
6328 2001-07-01  Pavel Roskin  <proski@gnu.org>
6330         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
6331         break in the argument to AC_TRY_LINK_FUNC.
6332         (AC_F77_MAIN): Remove conftest* after using break in the
6333         argument to AC_TRY_LINK.
6335 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
6337         Add alternate 'main' routine detection for linking C/C++ with Fortran,
6338         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
6340         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
6341         dummy alternate main is required even if the user provides her own
6342         'main'.
6343         (AC_F77_MAIN): New macro to detect whether it is possible to
6344         provide an alternate 'main' function name, using the 'main' from
6345         the Fortran libraries.
6346         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
6347         cross-language link tests can be performed successfully.
6348         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
6349         after $LIBS, for consistency; this should be the general rule since
6350         the user may want to link to Fortran libraries that require $FLIBS.
6351         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
6353 2001-06-29  Pavel Roskin  <proski@gnu.org>
6355         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
6356         at-stdout and at-stderr instead of removing the newline
6357         from the echo output, which is not guaranteed to work.
6359 2001-06-28  Jens Petersen  <petersen@redhat.com>
6361         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
6362         confdefs.h when non-zero.
6364 2001-06-28  Akim Demaille  <akim@epita.fr>
6366         * configure.in: Bump to 2.50c.
6368 2001-06-26  Akim Demaille  <akim@epita.fr>
6370         Version 2.50b.
6372 2001-06-26  Akim Demaille  <akim@epita.fr>
6374         Version 2.50a.
6376 2001-06-25  Pavel Roskin  <proski@gnu.org>
6378         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
6379         argument, AUTOCONF-FLAGS.
6380         * tests/mktests.sh (update_exclude_list): Add
6381         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
6382         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
6383         AC_FUNC_WAIT3 with "-W no-obsolete".
6385 2001-06-25  Akim Demaille  <akim@epita.fr>
6387         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
6389 2001-06-25  Akim Demaille  <akim@epita.fr>
6391         * autoscan.in (%macro): Now maps from word to list of macros.
6392         (&init_tables): Die when a word which is already handled by
6393         explicit macros is mapped to the default macro.
6394         (&print_unique): Remove, inlined in...
6395         (&output_kind): here.
6396         (File::Basename): Use it.
6397         (&output): Sort the CONFIG_FILES.
6398         * acheaders: Normalize.
6399         * acfunctions: Likewise.
6401 2001-06-25  Akim Demaille  <akim@epita.fr>
6403         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
6404         characteristics in the logs.
6405         Suggested by Mo DeJong.
6407 2001-06-24  Akim Demaille  <akim@epita.fr>
6409         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
6410         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
6411         * doc/autoconf.texi (Autoconf 2.13): New section.
6413 2001-06-24  Akim Demaille  <akim@epita.fr>
6415         * autoconf.in (Task traces): Separate the error messages from the
6416         traces to improve robustness.
6418 2001-06-23  Akim Demaille  <akim@epita.fr>
6420         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
6421         three as failures are unlikely, and speed matters.
6423 2001-06-23  Akim Demaille  <akim@epita.fr>
6425         * doc/autoconf.texi (Redefined M4 Macros): New.
6427 2001-06-23  Akim Demaille  <akim@epita.fr>
6429         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
6430         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
6431         5.3.
6433 2001-06-23  Paolo Bonzini <bonzini@gnu.org>
6435         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
6436         config.status targets to after the evaluation of the INIT-CMDS.
6437         Double quote config.status targets (used to be single quoted).
6439 2001-06-23  Akim Demaille  <akim@epita.fr>
6441         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
6442         Check the content of the created file.
6443         Check the ./config.status command line invocation.
6445 2001-06-23  Akim Demaille  <akim@epita.fr>
6447         * tests/foreign.at (Libtool): Reject prehistoric versions.
6449 2001-06-23  Akim Demaille  <akim@epita.fr>
6451         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
6452         preexisting files matching a.*.
6454 2001-06-23  Akim Demaille  <akim@epita.fr>
6456         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
6457         stderr.
6458         * doc/autoconf.texi (AC_ARG_VAR): Update.
6460 2001-06-21  Akim Demaille  <akim@epita.fr>
6462         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
6463         precious variables have changed.
6464         * tests/torture.at (AC_ARG_VAR): Adjust.
6466 2001-06-21  Akim Demaille  <akim@epita.fr>
6468         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
6469         but some sed choke on multiple `;', and other tools (e.g.,
6470         Automake), include the separator themselves.
6472         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
6474 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
6476         * doc/autoconf.texi (Functions Portability): Rename as...
6477         (Function Portability): this.
6478         (Function Portability): Document potential problems with unlink().
6480 2001-06-19  Paul Eggert  <eggert@twinsun.com>
6482         * NEWS, doc/autoconf.texi: Document quadrigraphs.
6484 2001-06-18  Akim Demaille  <akim@epita.fr>
6486         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
6488 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
6490         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
6491         (_AC_FUNC_VFORK): this.
6492         Remove AC_DEFINEs and don't guess cross-compilation values.
6493         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
6494         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
6495         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
6496         vfork doesn't work.
6497         Guess values if cross-compiling, but warn.
6498         * acfunctions: Add AC_FUNC_FORK.
6499         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
6500         and vfork appropriately.
6502 2001-06-18  Akim Demaille  <akim@epita.fr>
6504         * doc/autoconf.texi (Functions Portability): New section.
6506 2001-06-18  Akim Demaille  <akim@epita.fr>
6508         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
6509         in $M4.
6510         Suggested by Andreas Schwab.
6512 2001-06-18  Akim Demaille  <akim@epita.fr>
6514         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
6515         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
6516         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
6517         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
6518         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
6519         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
6520         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
6521         the converse).
6523 2001-06-18  Akim Demaille  <akim@epita.fr>
6525         * doc/autoconf.texi (ms): New index.
6526         (Macro Index): Rename as...
6527         (Autoconf Macro Index): this.
6528         (M4 Macro Index): New appendix.
6529         (Programming in M4): New chapter.
6530         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
6531         (Quoting): Rename as...
6532         (M$ Quotation): this.
6533         Be part of `Programming in M4).
6535 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
6537         * tests/torture.at (AC_ARG_VAR): Set variables and export them
6538         in separate statements for compatibility with Tru64 v5.1.
6540 2001-06-17  Akim Demaille  <akim@epita.fr>
6542         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
6543         current values of the precious variables, not the previously
6544         cached values.
6545         Pass precious variables which are set to config.status.
6546         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
6547         * tests/torture.at (AC_ARG_VAR): New.
6549 2001-06-15  Paul Eggert  <eggert@twinsun.com>
6551         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
6552         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
6553         and explain why and how to replace them.
6554         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
6555         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6557 2001-06-15  Akim Demaille  <akim@epita.fr>
6559         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
6560         Reported by Bruno Haible.
6562         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
6563          (_AC_ARG_VAR_PRECIOUS): to here.
6565 2001-06-15  Pavel Roskin  <proski@gnu.org>
6567         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
6568         an unused pointer use cast to this type and `if' statement to
6569         avoid warnings from the compiler.
6570         (AC_HEADER_TIME): Likewise.
6571         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
6572         in `if' statement to avoid warnings from the compiler. Declare
6573         ac_aggr static to avoid the need to initialize it.
6575 2001-06-14  Akim Demaille  <akim@epita.fr>
6577         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
6578         Macros'.
6580 2001-06-13  Akim Demaille  <akim@epita.fr>
6582         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
6583         Suggested by Alexander Mai.
6585 2001-06-13  Akim Demaille  <akim@epita.fr>
6587         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
6588         sys/types.h and sys/stat.h, and check for them.
6590 2001-06-13  Akim Demaille  <akim@epita.fr>
6592         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
6593         INCLUDES.
6595 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6597         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
6598         succeeds and only try adding libdnet upon a failure.
6600 2001-06-12  Akim Demaille  <akim@epita.fr>
6602         * autoscan.in (&output_kind): Output the comment only if it exists.
6603         (%kind_comment): Add entry for `programs'.
6604         (&output_programs): Use &output_kind.
6605         (&output_functions, &output_identifiers, &output_headers)
6606         (&output_programs): Inline, and remove.
6608 2001-06-12  Akim Demaille  <akim@epita.fr>
6610         * autoscan.in (%kind_comment): New.
6611         (output_kind): New.
6612         (output_functions, output_identifiers, output_headers): Use it.
6614 2001-06-12  Akim Demaille  <akim@epita.fr>
6616         * autoscan.in (&print_unique): Take `$kind' and `$word' as
6617         arguments, to factor indirections into `%macro' and `%used'.
6618         (%generic_macro): Fix a typo.
6620 2001-06-12  Akim Demaille  <akim@epita.fr>
6622         * aclibraries: New.
6623         * autoscan.in (@kinds): Add `libraries'.
6624         Use `@kinds' instead of hard coded lists.
6625         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
6626         Remove, replaced by...
6627         (%used): this.
6629 2001-06-12  Akim Demaille  <akim@epita.fr>
6631         * autoscan.in (%functions_macros %headers_macros)
6632         (%identifiers_macros %programs_macros %makevars_macros): Remove,
6633         replaced by...
6634         (%macro): New.
6636 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
6638         * aclang.m4 (AC_NO_EXECUTABLES): Override
6639         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
6641 2001-06-11  Akim Demaille  <akim@epita.fr>
6643         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
6644         trailing new line.
6645         Reported by Andreas Schwab.
6647 2001-06-11  Akim Demaille  <akim@epita.fr>
6649         * Makefile.am, Makefile.maint: Typos.
6651 2001-06-09  Akim Demaille  <akim@epita.fr>
6653         * doc/autoconf.texi (Here-Documents): New section, gathering
6654         documentation about here-documents.
6655         Use `href', not `uref', and other changes.
6657 2001-06-09  Akim Demaille  <akim@epita.fr>
6659         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
6660         chapter.
6662 2001-06-09  Akim Demaille  <akim@epita.fr>
6664         * doc/autoconf.texi (Limitations of Builtins): Complete the
6665         description of the here-docs penalties with Alexandre Oliva's
6666         explanations.
6668 2001-06-01  Paul Eggert  <eggert@twinsun.com>
6670         * doc/autoconf.texi: Talk about here documents and speedups.
6671         Do not use "echo" on arbitrary strings.
6672         Spell "here-documents" consistently with the standard.
6674 2001-06-09  Akim Demaille  <akim@epita.fr>
6676         * doc/autoconf.texi (Concept Index): Introduce it.
6677         Regenerate the menus.
6679 2001-06-09  Akim Demaille  <akim@epita.fr>
6681         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
6682         * config/prev-version.txt: New.
6683         * config/move-if-change: New, for GNU libc.
6685 2001-06-06  Pavel Roskin  <proski@gnu.org>
6687         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
6689 2001-06-06  Akim Demaille  <akim@epita.fr>
6691         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
6692         properly when $1 is not a literal.
6693         Fixes PR Autoconf/187, reported by Bram Moolenaar.
6695 2001-06-06  Akim Demaille  <akim@epita.fr>
6697         Invoking AC_COPYRIGHT before AC_INIT fails.
6699         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
6700         * acgeneral.m4 (_m4_divert(VERSION_FSF))
6701         (_m4_divert(VERSION_USER)): New.
6702         (AC_COPYRIGHT): $2 is the diversion to use.
6703         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
6704         (AC_INIT): Remove dead comments as now it's commutative.
6706 2001-06-06  Akim Demaille  <akim@epita.fr>
6708         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
6709         PR autoconf/187.
6711 2001-06-05  Akim Demaille  <akim@epita.fr>
6713         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
6714         can be empty.
6715         `*dir' variables cannot be NONE.
6716         Reported by Mark Kettenis.
6718 2001-06-05  Paul Eggert  <eggert@twinsun.com>
6720         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
6722 2001-06-04  Akim Demaille  <akim@epita.fr>
6724         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
6725         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
6726         (AC_TR_SH): Move as...
6727         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
6728         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
6729         (AS_TR_SH): these.
6730         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
6731         (_AS_TR_SH_PREPARE): New.
6732         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
6733         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
6735 2001-06-02  Akim Demaille  <akim@epita.fr>
6737         * Makefile.am (.m4.m4f): Pass the options first.
6738         Fixes PR autoconf/182.
6740 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
6742         GNU getopt, when POSIXLY_CORRECT does not permute options and
6743         arguments.  So pass the options first.
6744         Fixes PR autoconf/184.
6746         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
6747         (run_m4): Remove files.
6748         (run_m4f): Remove.
6749         Update remainder of script to use them.
6750         (for warning in): Do not use a literal comma as it will not be
6751         split by IFS.
6753 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
6755         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
6756         Fortran compilers to check.
6757         (_AC_PROG_F77_V): Add '-###' as a possible option to print
6758         information on library and object files.
6759         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
6760         to check.
6762 2001-06-02  Akim Demaille  <akim@epita.fr>
6764         * autom4te.in (Request::@request): Declare with `vars', not `my',
6765         as it prevents updates via `do FILENAME'.
6767 2001-06-02  Akim Demaille  <akim@epita.fr>
6769         * configure.in (standards_texi): Remove, dead code.
6771 2001-06-02  Akim Demaille  <akim@epita.fr>
6773         * autom4te.in: New.
6775 2001-06-02  Pavel Roskin  <proski@gnu.org>
6777         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
6778         for signals other than 0 - exit with code 1.
6779         * m4sh.m4 (AS_TMPDIR): Likewise.
6780         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
6781         * autoheader.in: Likewise.
6782         * autoreconf.in: Likewise.
6783         * tests/torture.at (Signal handling): New test for the above.
6785 2001-06-01  Akim Demaille  <akim@epita.fr>
6787         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
6788         message.
6790 2001-05-31  Akim Demaille  <akim@epita.fr>
6792         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
6793         Add copyright and comments.
6794         * acheaders: Add stdint.h.
6795         Suggested by Paul Eggert.
6797 2001-05-31  Akim Demaille  <akim@epita.fr>
6799         * atgeneral.m4 (AT_INIT): Use $SHELL.
6800         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
6802 2001-05-31  Akim Demaille  <akim@epita.fr>
6804         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6805         stdint.h.
6806         From Paul Eggert and Lars Hecking.
6808 2001-05-31  Akim Demaille  <akim@epita.fr>
6810         * tests/base.at: Adjust line numbers in error messages.
6812 2001-05-31  Akim Demaille  <akim@epita.fr>
6814         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
6815         to emit the bangshe line.
6816         Reported by David Carter.
6818 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
6820         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
6821         Fortran (95) compilers to check.
6823 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
6825         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
6826         Macro Archive URL.
6828 2001-05-23  Pavel Roskin  <proski@gnu.org>
6830         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
6831         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
6832         (AC_PROG_CXXCPP): Likewise.
6834 2001-05-22  Akim Demaille  <akim@epita.fr>
6836         * config: New directory.
6837         * configure.in: AC_CONFIG_AUX_DIR it.
6838         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
6840 2001-05-22  Akim Demaille  <akim@epita.fr>
6842         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
6843         * autoupdate.in: Specify the Emacs mode.
6844         * acversion.m4.in: Rename as...
6845         * acversion.m4: this.
6846         * tests/Makefile.am (CLEANFILES): More garbage.
6848 2001-05-22  Akim Demaille  <akim@epita.fr>
6850         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
6851         Rename as...
6852         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
6853         these.
6855 2001-05-21  Akim Demaille  <akim@epita.fr>
6857         * configure.in: Bump to 2.50a.
6859 -----
6861 Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
6863 This file is part of GNU Autoconf.
6865 GNU Autoconf is free software; you can redistribute it and/or modify
6866 it under the terms of the GNU General Public License as published by
6867 the Free Software Foundation; either version 2, or (at your option)
6868 any later version.
6870 GNU Autoconf is distributed in the hope that it will be useful,
6871 but WITHOUT ANY WARRANTY; without even the implied warranty of
6872 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6873 GNU General Public License for more details.
6875 You should have received a copy of the GNU General Public License
6876 along with autoconf; see the file COPYING.  If not, write to
6877 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
6878 Boston, MA 02111-1307, USA.