2004-03-16 Paolo Bonzini <bonzini@gnu.org>
[autoconf.git] / ChangeLog
blob7b11fc4fab7c78be61cb091f4dc0e1fc500693f0
1 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
3         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
4         AC_CHECK_TOOLS): Warn if a cross-tool is found without
5         a prefix.
6         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7         AC_CHECK_TARGET_TOOLS): New macros.
8         * doc/autoconf.texi (Generic Programs): Document
9         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
10         AC_CHECK_TARGET_TOOLS, and warn for future changes
11         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
12         AC_CHECK_TOOLS.
13         (Specifying Names): Document the reason for these future
14         behavioral changes.
15         * tests/mktests.sh: Do not generate tests for the
16         new macros.
17         * NEWS: Document these changes.
19         * doc/autoconf.texi: Avoid macros with unbraced arguments,
20         they make TeX hang up.
22 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
24         * NEWS: New macro AC_CHECK_ALIGNOF.
25         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
26         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
27         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
28         vowel.
29         (AC_CHECK_ALIGNOF): New macro.
30         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
31         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
32         those for sizeof.
34 2004-03-03  Paul Eggert  <eggert@twinsun.com>
36         * bin/Makefile.am (edit): Don't use $< in a context where
37         POSIX doesn't require support for it.  Use $@.in instead.
38         Problem reported by Anthony N. Frasso in
39         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
40         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
42 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
44         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
45         from the next generation of Libtool.
46         * lib/autom4te.in (Autoreconf-preselections): Ditto.
48 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
50         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
51         is not always thread-safe.  Report from Nathanael Nerode.
53 2004-02-18  Paul Eggert  <eggert@twinsun.com>
55         Fix a dependencies problem, stemming from a Autoconf 2.59 build
56         problem on QNX reported by Stephen Rasku in
57         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
59         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
60         $(m4sh_m4f_dependencies); this removes a FIXME.
61         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
62         (MAINTAINERCLEANFILES): Split into pieces,
63         one per related section.  Add $(srcdir)/wrapper.in.
65 2004-02-09  Paul Eggert  <eggert@twinsun.com>
67         * doc/autoconf.texi (Setting Output Variables): Emphasize that
68         AC_SUBST provides no portable way to escape literal newlines.
70         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
71         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
72         Darwin uses -lcrt2.o and there's little point to cataloging all
73         the system variants.  Partial fix reported by Andreas Waechter in:
74         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
75         for bug reported by Nelson H. F. Beebe in:
76         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
78 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
80         * doc/autoconf.texi (AU_DEFUN): Fix English,
81         suggested by Paul Eggert.
82         * lib/autoconf/autoupdate.m4: Correct reference to
83         acobsolete.m4, suggested by Alexandre Duret-Lutz.
85 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
87         * bin/autoupdate.in: Define __file__ so that warnings
88         refer to the correct file.
89         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
90         the behavior of the third argument.
91         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
92         correctly the behavior of the third argument.  Document
93         what the three macros that AU_DEFUN defines do.  Fix
94         warning message when the third argument includes $0
95         (reported by Alexandre Duret-Lutz).
97 2004-01-30  Paolo Bonzini <bonzini@gnu.org>
98             Eric Sunshine <sunshine@sunshineco.com>
99             Paul Eggert <eggert@twinsun.com>
101         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
102         (AS_INIT): Output shell initialization there. Removed optional
103         parameter. Expand _AS_SHELL_FN_SPY.
104         (AS_INIT_WITH_SHELL_FN): Removed.
105         (_AS_SHELL_FN_SPY): New macro.
106         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
107         macros.
108         (AS_SHELL_SANITIZE): Remove loop to find better shell
109         and documentation for the parameter.
110         (_AS_DETECT_BETTER_SHELL): Move it here.
111         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
112         (_AS_RUN): Move it here, support testing with eval.
113         (AS_REQUIRE_SHELL_FN): Require shell functions when
114         it is used.
115         (_AS_LINENO_WORKS): Put around braces, we do not
116         trigger the bash bug anymore.
117         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
118         use AS_INIT_WITH_SHELL_FN.
119         * bin/autoconf.in, tests/wrapper.in: Regenerated.
121 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
123         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
124         * doc/autoconf.texi: Don't say that the third parameter
125         is broken.
126         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
127         (AU_DEFUN): Honor the third parameter, create autoupdate
128         macros with AU_DEFINE.
129         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
130         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
131         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
132         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
133         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
134         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
135         AC_XENIX_DIR): Likewise.
136         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
137         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
138         * lib/autoconf/status.m4: Remove FIXME.
139         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
140         that the macro is not present anymore in the updated
141         configure.ac.
142         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
143         of autoupdate.
145 2004-01-28  Paul Eggert  <eggert@twinsun.com>
147         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
148         copyright years.
149         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
150         2003 (except 1997) to the list of copyright years.  This undoes
151         the 2003-05-22 change, which removed the older years from the list.
152         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
154 2004-01-27  Gary V. Vaugan  <gary@gnu.org>
155             Albert Chin-A-Young <china@thewrittenword.com>
157         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
158         grep or ggrep program in PATH that accepts as long lines as
159         possible.
160         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
161         AC_PROG_GREP.
162         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
163         egrep and fgrep respectively if $GREP -E/-F don't work.
164         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
165         _AC_PROG_GREP, and AC_PROG_SED.
166         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
167         longest input length accepted by a command.
168         (AC_PROG_SED): Use it.
169         * doc/autoconf.texi (Particular Programs): Document the changes.
170         * NEWS: Updated.
172 2004-01-27  Paul Eggert  <eggert@twinsun.com>
174         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
175         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
176         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
177         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
179         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
180         bin/autoconf.in, config/Makefile.in, config/config.guess,
181         config/config.sub, config/install-sh, config/mdate-sh,
182         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
183         lib/Makefile.in, lib/Autom4te/Makefile.in,
184         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
185         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
186         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
187         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
188         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
189         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
190         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
191         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
192         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
193         tests/actypes.at: Regenerate and/or sync with original
194         sources.
196 2004-01-26  Paul Eggert  <eggert@twinsun.com>
198         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
199         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
200         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
201         not <inttypes.h>.  Problem reported by Tim Mooney in
202         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
203         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
204         Likewise.
206         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
207         otherwise "make check" fails because it forbids cmp (I guess
208         because cmp treats files as binary on DOS-like systems).
210         * tests/mktests.sh: Update copyright date to 2004, since some tests
211         have changed in 2004.
213 2004-01-23  Gary V. Vaugan  <gary@gnu.org>
215         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
216         non-truncating sed or gsed program in PATH.
217         * tests/acprograms.at: Add it.
218         * doc/autoconf.texi (Particular Programs): Document it.
219         * NEWS: Updated.
221 2004-01-15  Paul Eggert  <eggert@twinsun.com>
223         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
224         -std1 disables some useful extensions on Tru64.  Problem reported
225         by N. Lichtmaier in
226         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
228 2004-01-14  Paul Eggert  <eggert@twinsun.com>
230         * doc/autoconf.texi (Programming in M4sh): Document that
231         AS_MKDIR_P succeeds if the destination is a symbolic link
232         to an existing directory.
233         (Limitations of Usual Tools): Note that mkdir -p might not
234         succeed on symlinks to directories.
236 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
238         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
239         * bin/autoheader.in: Grammar fix in message.
240         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
241         Test for dir before calling mkdir -p.  (trivial changes)
243 2004-01-13  Eric Blake  <ebb9@byu.net>
245         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
246         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
248 2004-01-10  Jim Meyering  <jim@meyering.net>
250         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
252 2004-01-09  Paul Eggert  <eggert@twinsun.com>
254         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
255         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
256         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
257         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
258         AC_COMPILE_IFELSE, since we now assume our caller invokes
259         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
260         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
261         of AC_RUN_IFELSE; this avoids the warning mentioned above.
262         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
264 2004-01-07  Paul Eggert  <eggert@twinsun.com>
266         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
267         `"'...'"`, as it's confusing (and I suspect it may not work on
268         some platforms).  The code was incorrect anyway, as it assumed
269         that \$ evaluated to itself in that context.  Reported by
270         Alexandre Duret-Lutz.
272 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
274         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
275         and _LT_AC_TAGCONFIG.
277 2004-01-06  Paul Eggert  <eggert@twinsun.com>
279         * doc/autoconf.texi (One Macro Call): Fix an incorrect
280         example, and add more examples.  Reported by Eric Sunshine.
282 2004-01-05  Paul Eggert  <eggert@twinsun.com>
284         * doc/autoconf.texi (Limitations of Usual Tools):
285         Remove warning against "rm -fr" introduced yesterday; it
286         was a false alarm.
288         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
289         autoscan, autoupdate, ifnames): Don't use chmod -w.
290         * lib/Makefile.am (autom4te.cfg): Likewise.
291         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
292         "chmod -w".
294 2004-01-04  Paul Eggert  <eggert@twinsun.com>
295             Paolo Bonzini  <bonzini@gnu.org>
297         * libc/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
298         by doing lineno substitution only on lines containing "$LINENO".
300 2004-01-04  Paul Eggert  <eggert@twinsun.com>
302         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
303         Use "rm -f" to remove conftest.sed, not plain "rm".
304         Bug reported by David Relson in
305         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
307         * Makefile.am (autom4te-update):
308         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
309         * Makefile.maint (my-distcheck, do-po-update): Likewise.
310         * doc/autoconf.texi (Guidelines): Likewise.
311         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
312         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
313         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
314         * lib/autotest/general.m4 (AT_INIT): Likewise.
315         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
316         * tests/Makefile.am (clean-local): Likewise.
317         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
318         srcdir): Likewise.
319         * doc/autoconf.texi (Limitations of Usual Tools):
320         Warn against "rm -fr".
322 2004-01-03  Paul Eggert  <eggert@twinsun.com>
324         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
325         -c -o might not work.  From a suggestion by Kevin Ryde.
326         (C Compiler, Generating Sources, Limitations
327         of Usual Tools, Limitations of Make, Making testsuite Scripts):
328         Don't put '-o' after non-options, as POSIX doesn't allow this.
329         Mention that cc's name might be gcc or c89 or whatever.
331 2004-01-04  Kevin Ryde  <user42@zip.com.au>
333         * doc/autoconf.texi: Add various further index entries.
335 2003-12-29  Paul Eggert  <eggert@twinsun.com>
337         * bin/autoreconf.in (autoreconf_current_directory):
338         Fix typo: mkdir without umask arg.
340 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
342         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
343         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
344         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
345         explanation clearer.
347 2003-12-24  Andreas Schwab  <schwab@suse.de>
349         * doc/autoconf.texi (Default Includes): Fix misspelling of
350         AC_INCLUDES_DEFAULT.
352 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
354         * configure.ac: Test if sh -n works.
355         * configure: Regenerate.
356         * tests/atlocal.in: Store the result here.
357         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
358         tools.at, looking in atlocal's ac_cv_sh_n_works instead
359         of explicitly testing.
360         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
361         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
362         * tests/tools.at (Syntax of the shell scripts): Simplify
363         using AT_CHECK_SHELL_SYNTAX.
364         (Syntax of the Perl scripts): Remove definition of
365         AT_CHECK_PERL_SYNTAX.
367 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
369         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
370         stderr to /dev/null.
371         * bin/autoconf.in: Regenerate.
372         * bin/wrapper.in: Regenerate.
374 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
376         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
377         Extracted from AS_SHELL_SANITIZE.
378         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
379         macros.
380         (AS_SHELL_SANITIZE): Move reinvocation code from
381         _AS_LINENO_WORKS, use it to find out if shell
382         functions work.
383         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
384         does not work.
385         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
386         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
387         was called.
388         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
389         * bin/autoconf.in: Regenerate.
390         * tests/wrapper.in: Regenerate.
391         * tests/tools.at: Test the syntax of tests/autoconf
392         and tests/testsuite.
394 2003-11-24  Akim Demaille  <akim@epita.fr>
396         * config/announce-gen (&print_locations, &print_signatures)
397         (&sizes): New.
398         Use them.
399         No longer rely on Gnus to inline the list of signatures: compute
400         them on the fly.
402 2003-11-24  Akim Demaille  <akim@epita.fr>
404         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
405         override some files.
406         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
407         From Debian Autoconf 2.58.
409 2003-11-24  Akim Demaille  <akim@epita.fr>
411         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
412         uses.
413         From Debian Autoconf 2.58.
415 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
417         * TODO: Remove already done things.  Update the part about finding
418         tools for the target.
420 2003-11-24  Paolo Bonzini <bonzini@gnu.org>
422         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
423         Make wording more consistent.
424         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
425         Explain the transition better.
426         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
427         the transition better.
429 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
431         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
432         parameter of AU_DEFUN.
433         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
434         (AU_DEFUN): Remove the third parameter, it was not used.
435         Use AC_DEFUN directly, not AU_DEFINE.
436         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
437         the expanded body, consistently with other macros such as AC_USG.
439 2003-11-17  Paul Eggert  <eggert@twinsun.com>
441         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
442         into the initial confdefs.h, to work around a bug in NextStep 3.3
443         patch 3 reported by Eric Sunshine.
445 2003-11-15  Kevin Ryde  <user42@zip.com.au>
447         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
448         than $target since the latter is not usual, add guidelines on when to
449         use or not use the system type.
451 2003-11-12  Derek Price  <derek@ximbiot.com>
453         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
454         typo misrepaired by an auto-spellcheck.
456 2003-11-12  Akim Demaille  <akim@epita.fr>
458         * bin/autoreconf.in (&parse_args): Don't call automake with
459         --force-missing unless it actually supports it.
460         From Debian #219336.
462 2003-11-12  Akim Demaille  <akim@epita.fr>
464         * configure.ac: Bump to 2.59a.
465         Require 2.59.
467 2003-11-06  Akim Demaille  <akim@epita.fr>
469         Version 2.59.
471 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
473         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
474         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
475         and ac_abs_top_srcdir are absolute paths.
476         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
478 2003-11-05  Akim Demaille  <akim@epita.fr>
480         * configure.ac: Bump to 2.58a.
482 2003-11-05  Kevin Ryde  <user42@zip.com.au>
484         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
485         it provokes a warning from makeinfo about looking like a cross
486         reference in info output.
488         * doc/autoconf.texi (Function Portability): Add notes on signal
489         handler return type, as per AC_TYPE_SIGNAL.
491 2003-11-04  Akim Demaille  <akim@epita.fr>
493         Version 2.58.
494         * doc/standards.texi: Update from master.
496         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
498 2003-11-04  Akim Demaille  <akim@epita.fr>
500         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
501         computing the absolute path to d1 in the source hierarchy: it may
502         not exist at all.  So don't cd into it.
503         From Alexandre Duret-Lutz.
504         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
506         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
507         From Paul Eggert, but named after Perl's IO::Spec->catfile.
508         * doc/autoconf.texi (Programming in M4sh): Document.
509         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
511 2003-11-03  Pavel Roskin  <proski@gnu.org>
513         * doc/autoconf.texi (Generic Structure Checks): Describe
514         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
516 2003-10-31  Akim Demaille  <akim@epita.fr>
518         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
519         (GNU Fortran): New.
520         * doc/autoconf.texi (Language Choice): Document.
521         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
522         the current language is Fortran.
524 2003-10-31  Akim Demaille  <akim@epita.fr>
526         * bin/autom4te.in (&freeze): Use a less likely warning separator
527         than `\n\n', so that `\n\n\n' is valid in warnings.
528         Reported by Steve Huston.
530 2003-10-28  Akim Demaille  <akim@epita.fr>
532         * Makefile.cfg (local_updates, executable-update): Tweak to be
533         robust to parallel makes.
534         Suggested by Alexandre Duret-Lutz.
536 2003-10-27  Akim Demaille  <akim@epita.fr>
538         * Makefile.cfg (executable-update): New.
539         (local_updates): Call it.
541 2003-10-27  Akim Demaille  <akim@epita.fr>
543         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
544         Don't remove core.* as it may remove valid user files.
545         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
546         (AC_FUNC_UTIME_NULL): Likewise.
548 2003-10-23  Akim Demaille  <akim@epita.fr>
550         Version 2.57g.
551         * config/config.guess, config/config.sub: Upgrade from masters.
553 2003-10-23  Akim Demaille  <akim@epita.fr>
555         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
556         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
557         hand...
559 2003-10-23  Akim Demaille  <akim@epita.fr>
561         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
562         Don't forget to remove conftest.err.
564 2003-10-23  Akim Demaille  <akim@epita.fr>
566         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
567         same object file in $LIBOBJS.
568         Reported by Alexandre Duret-Lutz & Derek Robert Price.
569         * doc/autoconf.texi (Generic Functions): Adjust.
571 2003-10-20  Paul Eggert  <eggert@twinsun.com>
573         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
574         Use 'eval', so that the resulting configure scripts work even if
575         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
577 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
579         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
580         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
581         (_AC_LINK_IFELSE): Check the werror flag.
582         * doc/autoconf.texi (Generic Compiler Characteristics): Document
583         AC_LANG_WERROR.
584         * NEWS: Mention it.
586 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
588         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
589         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
590         override AC_LINK_IFELSE.
592 2003-10-15  Paul Eggert  <eggert@twinsun.com>
594         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
595         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
596         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
597         Mention /usr/dt/bin/dtksh on Solaris.
598         (Shell Substitutions): Warn about $((...)).
599         (Parentheses): New section.
601 2003-10-15  Kevin Ryde  <user42@zip.com.au>
603         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
604         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
606 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
608         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
609         cross test.
611 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
613         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
614         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
616 2003-10-10  Andreas Schwab  <schwab@suse.de>
618         * bin/autoheader.in: Avoid empty first line in --version and
619         --help output.
620         * bin/ifnames.in: Likewise.
622 2003-10-09  Paul Eggert  <eggert@twinsun.com>
624         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
625         Issue a more-informative diagnostic.
626         Problems reported by Eric Sunshine.
628 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
630         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
631         -mGLOB_options_string stuff for Intel ifc, which can cause
632         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
633         pattern-matching instead of grep.
635 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
637         * doc/autoconf.texi: Document new FC Fortran macros.
639 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
641         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
642         that future autopoint/aclocal/automake/autoreconf will be able
643         to trace to find where to install local m4 macros.
644         * doc/autoconf.texi (Input): Document it.
645         * NEWS: Updated.
647 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
649         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
650         -lcrtbegin.o to list of ignored flags and fix underquoting of
651         -lcrt[01].o.
653 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
655         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
656         cache variable instead of $G77 to decide whether to include -O2,
657         since $G77 is specific to Fortran 77.
659 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
661         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
662         free" flag.  Re-order flags tested into rough order of popularity.
664 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
666         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
667         arguments so that it can be used with syntax identical to
668         AC_PROG_F77, and so that we can more easily decide to
669         remove/deprecate the DIALECT optional argument in the future if it
670         proves troublesome.
671         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
672         non-freeform-supporting compilers.  Document freeform flags.
674 2003-10-03  Akim Demaille  <akim@epita.fr>
676         * configure.ac: Look for emacs, not macs.
677         Reported by Eric Sunshine.
679 2003-10-03  Akim Demaille  <akim@epita.fr>
681         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
682         * bin/autoreconf.in (autoreconf_current_directory): Create the
683         AUX_DIR if needed, for sake of automake --add-missing etc.
684         Suggested by Alexandre Duret-Lutz.
686 2003-10-03  Akim Demaille  <akim@epita.fr>
688         * configure.ac: Quotation and formatting changes.
689         (EMACS): Don't set it if it is not recent enough to support
690         autoconf-mode.el.
691         From Eric Sunshine.
693 2003-10-02  Akim Demaille  <akim@epita.fr>
695         * bin/ifnames.in (&scan_file): Skip C++ comments.
696         From Jeremy Yallop.
698 2003-10-01  Pavel Roskin  <proski@gnu.org>
700         * doc/autoconf.texi (Particular Structure Checks):
701         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
703 2003-10-01  Akim Demaille  <akim@epita.fr>
705         Version 2.57f.
707 2003-09-30  Paul Eggert  <eggert@twinsun.com>
709         * lib/Autom4te/XFile.pm: Use Errno.
710         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
711         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
713 2003-09-30  Akim Demaille  <akim@epita.fr>
715         * config/announce-gen (&print_news_deltas): Extracted from...
716         (&print_changelog_deltas): here.
717         (&news_file): Rename as...
718         (@news_file): this.
720 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
722         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
723         have been created when invoking the compiler.
724         * tests/fortran.at (GNU Fortran 77): Quote $G77.
726 2003-09-29  Akim Demaille  <akim@epita.fr>
728         Version 2.57e.
730         * config/mkinstalldirs: Upgrade.
732 2003-09-28  Paul Eggert  <eggert@twinsun.com>
734         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
735         Problem reported by Lars J. Aas in
736         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
737         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
738         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
739         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
741 2003-09-26  Akim Demaille  <akim@epita.fr>
743         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
744         directory for AC_CONFIG_COMMANDS' first argument exists.
745         This makes valid the invocation of _AC_SRCPATH that follows.
746         Reported by Eric Sunshine.
747         * doc/autoconf.texi (Configuration Commands): Adjust.
749 2003-09-26  Akim Demaille  <akim@epita.fr>
751         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
752         Reported by Ralf Corsepius.
754 2003-09-26  Akim Demaille  <akim@epita.fr>
756         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
757         arguments.
758         Actually, use AU_ALIAS.
759         From Bruno Haible.
761 2003-09-26  Paul Eggert  <eggert@twinsun.com>
763         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
764         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
765         Problem reported by Eric Sunshine in:
766         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
768 2003-09-26  Akim Demaille  <akim@epita.fr>
770         The test suite are sometimes assigning timings incorrectly.
771         Reported by Henk Krus.
772         Diagnosed by Nicolas Joly.
774         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
775         AT_help_all.
776         Instead of making AT_help a sequence of assignments to grow
777         $at_help_all, just make AT_help_all be the growing contents of
778         $at_help_all, and make a single assignment in...
779         (AT_INIT): here.
780         (at_times_skip): Flip the meaning and rename as...
781         (at_times_p): this.
782         (AT_INIT): When summarizing the test that ran, remove
783         $at_times_file after use, and check it is present before trying to
784         use it.
786 2003-09-25  Akim Demaille  <akim@epita.fr>
788         Version 2.57d.
790         * bin/Makefile.am (edit): Handle '@configure_input@'.
791         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
792         (ifnames): chmod -w.
793         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
794         executables, not bin/ executables!  Otherwise all the magic needed
795         to find non installed files is turned off.  This caused a failure
796         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
797         as found in its environment (sent by tests/autoreconf): pointing
798         to bin/autom4te that could not find its files.
799         * tests/mktests.sh: Force the replacement of generated files, for
800         the sake of "mv" program that are interactive when overwriting a
801         -w file.
802         * config/install-sh: Upgrade from CVS Automake.
804 2003-09-23  Paul Eggert  <eggert@twinsun.com>
806         * doc/autoconf.texi (Limitations of Builtins): Document test -h
807         versus test -L issues.
809 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
810             Paul Eggert <eggert@twinsun.com>
812         Trivial change to support GCC's configuration procedure.
813         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
814         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
815         about inconsistency if the preprocessor is set to give errors for
816         any warning.
817         * doc/autoconf.texi (C Compiler Characteristics): Document this.
819 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
821         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
822         and XFile.pm from Automake.
823         * lib/Autom4te/XFile.pm: Update from Automake.
825 2003-09-12  Akim Demaille  <akim@epita.fr>
827         Version 2.57c.
829 2003-09-12  Akim Demaille  <akim@epita.fr>
831         * config/config.guess, config/config.sub, config/missing,
832         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
833         from masters.
835 2003-09-12  Akim Demaille  <akim@epita.fr>
837         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
838         not asm/types.h.
840 2003-09-11  Akim Demaille  <akim@epita.fr>
842         * doc/autoconf.texi (Header Portability): linux/random.h.
843         From Peter Hendrickson.
845 2003-09-10  Akim Demaille  <akim@epita.fr>
847         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
848         willing to edit the output files.
850 2003-09-10  Akim Demaille  <akim@epita.fr>
852         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
853         and AC_FC_FREEFORM.
854         * tests/mktests.sh: Skip AC_FC_SRCEXT.
855         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
857 2003-09-09  Akim Demaille  <akim@epita.fr>
859         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
860         Reported by Gary Vaughan.
861         * bin/autom4te.in (handle_m4): Likewise.
863 2003-09-09  Akim Demaille  <akim@epita.fr>
865         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
866         trailing files.
868 2003-09-07  Paul Eggert  <eggert@twinsun.com>
870         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
871         Improve the accuracy of the wording about obsolescence.
872         From a suggestion by Ian Lance Taylor in
873         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
875 2003-09-05  Paul Eggert  <eggert@twinsun.com>
877         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
878         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
880 2003-09-04  Akim Demaille  <akim@epita.fr>
882         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
883         AC_FUNC_WAIT3.
885 2003-09-04  Akim Demaille  <akim@epita.fr>
887         * bin/autom4te.in: Use &fatal where more appropriate than &error.
888         (freeze): When exiting, use $exit_code.
889         * lib/autoconf/fortran.m4: Comment changes.
891 2003-09-04  Akim Demaille  <akim@epita.fr>
893         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
895 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
897         Add support for newer Fortran dialects.  The F77 interface is
898         unchanged, and continues to support Fortran 77.  New FC macros
899         correspond to all the old F77 macros, with output variables FC,
900         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
901         available dialect, but older dialects can be specified.  There are
902         new macros AC_FC_SRCEXT to set the source extension, and
903         AC_FC_FREEFORM to accept free-form source files.
905         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
906         New macros.
907         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
908         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
909         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
910         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
911         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
912         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
913         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
914         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
915         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
916         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
917         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
918         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
919         AC_FC_SRCEXT, AC_FC_FREEFORM):
920         New macros.
921         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
922         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
923         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
924         Rewrite in terms of the above.
925         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
926         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
927         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
928         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
930 2003-09-02  Paul Eggert  <eggert@twinsun.com>
932         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
933         Document problems with timestamp resolution that 'make', 'cp -p', and
934         'touch -r' have.
936 2003-08-27  Akim Demaille  <akim@epita.fr>
938         * tests/m4sugar.at (cross_warning): Make sure to enable the
939         output, so that we can track spurious m4sugar output.
940         * tests/local.at: Require 2.57.
941         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
942         are defaulted by AT_CHECK anyway.
943         Use AT_CHECK_AUTOM4TE.
944         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
945         missing dnl.
947 2003-08-27  Akim Demaille  <akim@epita.fr>
949         * bin/autoheader.in: Issue the "Using auxiliary..." message only
950         when -Wobsolete is set.
951         Set it on by default.
952         Suggested by Klee Dienes.
954 2003-08-27  Akim Demaille  <akim@epita.fr>
956         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
957         documentation.
958         From Guido Draheim.
960 2003-08-26  Akim Demaille  <akim@epita.fr>
962         * doc/autoconf.texi (Output): Make clear that one can run code
963         after AC_OUTPUT.
965 2003-08-25  Akim Demaille  <akim@epita.fr>
967         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
968         CVS Bison.
970 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
972         * bin/autoreconf.in (parse_args): Do not pass --no-force to
973         Automake versions prior to 1.8.
975 2003-08-25  Akim Demaille  <akim@epita.fr>
977         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
978         From Ville Karaila.
980 2003-08-24  Akim Demaille  <akim@epita.fr>
982         * configure.ac: Bump to 2.57c.
984 2003-08-22  Akim Demaille  <akim@epita.fr>
986         Version 2.57b.
988         * Makefile.cfg (local-checks-to-skip): New.
989         * Makefile.maint (local-check): Rename as...
990         (local-checks-available): this.
991         (local-check): New.
993         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
994         * configure.ac: Require Automake 1.7.6.
996 2003-08-22  Akim Demaille  <akim@epita.fr>
998         Output stack traces in warnings.
1000         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
1001         Replace the former...
1002         (m4_warn): Pass the call stack to _m4_warn.
1003         * bin/autom4te.in: Adjust to output the call stack.
1004         * tests/m4sugar.at (m4@&t@_warn): Adjust.
1006 2003-08-22  Akim Demaille  <akim@epita.fr>
1008         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
1009         * bin/autom4te.in: Adjust.
1011 2003-08-21  Akim Demaille  <akim@epita.fr>
1013         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
1014         (&verbose): Remove.
1015         (&getopt): Adjust the note and verb channels, depending upon
1016         --verbose.
1017         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
1018         * bin/autoupdate.in: Adjust.
1019         Use &verb, not &verbose.
1021 2003-08-21  Akim Demaille  <akim@epita.fr>
1023         * bin/autoheader.in (&parse_args): Use &parse_warnings and
1024         &parse_WARNINGS.
1025         ($help): Use Autom4te::ChannelDefs::usage.
1026         * bin/autoscan.in: Use Autom4te::ChannelDefs.
1027         * lib/Autom4te/General.pm: Don't export error: you don't own it.
1029 2003-08-21  Akim Demaille  <akim@epita.fr>
1031         First stab at preserving warnings between calls to autom4te,
1032         including when the cache is used.
1034         There are still several issues: (i) there are too many runs of m4
1035         (one for include, one for warnings, and some more), (ii) warnings
1036         spreading on several lines are not handled gracefully, (iii) the
1037         code meant to have the call stack display for errors does not work
1038         (its handling should move from m4 to autom4te).
1040         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
1041         Use them.
1042         (@preselect): Add m4_warn.
1043         ($exit_status): Remove, use $exit_code.
1044         ($help): Use Autom4te::ChannelDefs::usage.
1045         (&handle_m4): No longer define the m4_warnings.
1046         At each run, extract and report the warnings.
1047         Always cache the result, including if the exit status is on
1048         failure, since if nothing changes, we should result in the same
1049         failure, hence we can use the cache.
1050         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
1051         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
1052         Remove.
1053         (m4_warn): Redefine as a do-nothing: it is its invocation that
1054         matters, as warnings are now reported via traces.
1055         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
1056         the contents of m4_warn: make it _call_ m4_warn, so that tracing
1057         the latter reveals calls to the former.
1059         Adjust the tests.
1061         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
1063 2003-08-21  Akim Demaille  <akim@epita.fr>
1065         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
1066         Use them.
1068 2003-08-21  Akim Demaille  <akim@epita.fr>
1070         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
1071         forward order.
1072         * lib/Autom4te/ChannelDefs.pm: Doc typos.
1073         (&parse_warnings): Accept a list of warning requests.
1074         (&usage): Return a string, not a side effect.
1075         (cross): New warning category.
1077 2003-08-21  Akim Demaille  <akim@epita.fr>
1079         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
1080         (&require_configure_ac): Accept an optional directory argument.
1081         ($configure_ac): Remove.
1082         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
1083         (&catfile): Remove.
1084         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
1085         * bin/autoscan.in: Adjust.
1087 2003-08-20  Akim Demaille  <akim@epita.fr>
1089         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
1090         Reported by Alexandre Duret-Lutz.
1092 2003-08-20  Akim Demaille  <akim@epita.fr>
1094         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
1095         * bin/autom4te: Adjust.
1096         In particular, be Autoconf tools are really silent when properly
1097         working, bind the verbosity of the 'note' channel to $verbose.
1098         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
1099         (&xsystem, &contents): Remove, since they are exported by...
1100         * lib/Autom4te/FileUtils.pm: this.
1101         More perldoc.
1102         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
1103         * lib/Autom4te/FileUtils.pm: here.
1105 2003-08-20  Akim Demaille  <akim@epita.fr>
1107         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
1108         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
1109         from CVS Automake.
1111 2003-08-20  Akim Demaille  <akim@epita.fr>
1113         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
1114         (autom4te-update): New.
1115         * Makefile.cfg (update): Bind autom4te-update.
1117 2003-08-19  Derek Price  <derek@ximbiot.com>
1119         * lib/autotest/general.m4: Comment various HELP_* diversions.
1120         (PARSE_ARGS_BEGIN): New section for option parsing related
1121         initialization.
1122         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
1123         package specific options and associated help.
1125 2003-08-19  Akim Demaille  <akim@epita.fr>
1127         * config/announce-gen, Makefile.cfg: New.
1128         * Makefile.am: Adjust.
1129         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
1131 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
1133         * lib/autom4te.in (Automake-preselections): Preselect
1134         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
1135         and m4_sinclude.
1137 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
1139         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
1140         (Autoconf-without-aclocal-m4): ... this new language.
1141         * doc/autoconf.texi (autom4te Invocation): Mention
1142         Autoconf-without-aclocal-m4.
1144 2003-08-18  Derek Price <derek@ximbiot.com>
1146         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
1147         RUN-IF-PASS optional arguments.
1149 2003-08-18  Derek Price  <derek@ximbiot.com>
1151         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
1153 2003-08-16  Derek Price  <derek@ximbiot.com>
1155         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
1156         STDOUT & STDERR arguments.
1158 2003-08-14  Derek Price  <derek@ximbiot.com>
1160         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
1161         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
1162         shorter column three.  Add DESCRIPTION to log file content.
1164 2003-08-13  Derek Price  <derek@ximbiot.com>
1166         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
1167         output.
1169 2003-08-12  Derek Price  <derek@ximbiot.com>
1171         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
1172         (AT_CHECK_NOESCAPE): Move core functionality to...
1173         (_AT_CHECK): ...this new macro.
1175 2003-08-07  Derek Price  <derek@ximbiot.com>
1177         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
1178         (AT_CHECK_NOESCAPE): ...to this new macro.
1180 2003-07-31  Paul Eggert  <eggert@twinsun.com>
1182         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
1183         in Bash 2.01.  Problem reported by Brian Gough in
1184         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
1186 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
1188         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
1189         -lcrt1.o, for OS X.  (trivial change)
1191 2003-07-07  Paul Eggert  <eggert@twinsun.com>
1193         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
1194         inside '#ifndef __cplusplus'.  Problem reported by
1195         Bob Friesenhahn.
1197 2003-07-06  Bill Clarke  <llib@computer.org>
1199         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
1200         'long', not 'int', for benefit of Sun's recent C++ compilers
1201         (trivial change).  See:
1202         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
1203         (This really should be 'intptr_t', not 'long', but that would
1204         take more work.)
1206 2003-06-25  Akim Demaille  <akim@epita.fr>
1208         * lib/Makefile.am (autom4te.cfg): Make it read only.
1209         Depend on Makefile since it contains substitutions.
1210         From Paolo Bonzini.
1211         * lib/autom4te.in (args): Add local.at? for Autotest args.
1212         This change was made on autom4te.cfg which is generated.
1213         Reported by Raja R. Harinath.
1215 2003-06-25  Akim Demaille  <akim@epita.fr>
1217         * doc/autoconf.texi (Header Portability): sys/mount.h.
1218         From Gareth McCaughan.
1220 2003-06-23  Akim Demaille  <akim@epita.fr>
1222         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
1223         not all of them.  This fixes 1. the fact that when testing
1224         Autoconf there are many many config.log, 2. the incorrect use of
1225         top_srcdir to find config.log.
1226         Don't mix the detailed output of failed test with the summary of
1227         failures.  Rather, append detailed log afterwards.
1229 2003-06-23  Akim Demaille  <akim@epita.fr>
1231         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
1232         always run: output config.log on $at_group_log.
1234 2003-06-23  Akim Demaille  <akim@epita.fr>
1236         * tests/torture.at (#define header templates): Don't use quotes in
1237         C++ comments as it puzzles Emacs' sh font-lock-mode.
1239 2003-06-23  Akim Demaille  <akim@epita.fr>
1241         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
1242         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
1243         * tests/atspecific.m4: Rename as...
1244         * tests/local.at: This.
1245         * tests/suite.at: Move the globals into...
1246         * tests/local.at: here.
1247         * tests/Makefile.am: Adjust.
1248         * doc/autoconf.texi (testsuite Scripts): Adjust.
1250 2003-06-21  Kevin Ryde  <user42@zip.com.au>
1252         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
1253         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
1254         ensuring we add -std1 for full-ANSI.
1256         * doc/autoconf.texi (hdrindex): New macro.
1257         Add index entries for portability of various standard header files.
1259 2003-06-20  Akim Demaille  <akim@epita.fr>
1261         * configure.ac: Bump to 2.57b.
1263 2003-06-20  Akim Demaille  <akim@epita.fr>
1265         Version 2.57a.
1267 2003-06-20  Akim Demaille  <akim@epita.fr>
1269         * bin/autom4te.in: Don't rely on $HOME being defined.
1270         Reported by Marc Espie as PR/233.
1272 2003-06-20  Akim Demaille  <akim@epita.fr>
1274         * lib/autotest/general.m4: Use at_times_file only if used.
1275         From Nicolas Joly.
1277 2003-06-20  Akim Demaille  <akim@epita.fr>
1279         * config/config.guess, config/config.sub, config/elisp-comp,
1280         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
1281         Update from masters.
1283 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
1285         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
1286         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
1287         (TEST_SCRIPT): New diversion.
1288         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
1289         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
1290         (AT_INIT): Support for expected failures.
1292 2003-06-02  Akim Demaille  <akim@epita.fr>
1294         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
1295         changes.
1296         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
1297         Autoconf nor Automake.
1298         (&contents): New, from Automake.
1299         PODify.
1301 2003-05-28  Paul Eggert  <eggert@twinsun.com>
1303         * NEWS, doc/autoconf.texi (Particular Functions),
1304         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
1305         is the inverse of localtime.
1307 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
1309         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
1310         (handle_exec_errors): New function.  Work around $! being
1311         altered by WEXITSTATUS.
1312         (xqx, xsystem): Use handle_exec_errors.
1314 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
1316         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
1317         Do not call `_exit()', simply modify `$?'.
1318         (xsystem): Reset $! before running system, and check it afterward.
1319         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
1320         63 for version mismatches.
1322 2003-05-23  Akim Demaille  <akim@epita.fr>
1324         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
1325         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
1326         the middle of a line).
1327         * lib/m4sugar/m4sugar.m4: Likewise.
1328         Remove useless spaces in comments.
1330 2003-05-23  Akim Demaille  <akim@epita.fr>
1332         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
1333         exit 63, so that we (or Automake's "missing") can tell the
1334         difference with a plain failure.
1335         * doc/autoconf.texi (Notices): Adjust.
1337 2003-05-23  Akim Demaille  <akim@epita.fr>
1339         * Makefile.am, bin/Makefile.am, config/Makefile.am,
1340         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
1341         White spaces cleanup.
1343 2003-05-22  Jim Meyering  <jim@meyering.net>
1344             Paul Eggert <eggert@twinsun.com>
1346         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
1347         Remove `#include <stdlib.h>' from the list; we should never
1348         make confdefs.h include <stdlib.h> or <cstdlib>, because the
1349         resulting namespace pollution would cause other tests to fail.
1350         Configure scripts run with some older versions of g++ and HP's
1351         aCC would fail due to such an #include.  Problems reported by
1352         Matthew Mueller in <http://bugs.debian.org/120704> and by
1353         Keith Bostic in
1354         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
1355         In the test, use the test declaration before including <stdlib.h>,
1356         as that's closer to how it'll be used.
1358 2003-05-23  Akim Demaille  <akim@epita.fr>
1360         * doc/autoconf.texi (Header Portability): ucred.h.
1361         From Ian Redfern.
1363 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
1365         Overhaul Autotest's logging: generate separate log files
1366         in testsuite.dir/NNN/testsuite.log, and append them to
1367         testsuite.log instead of re-running the test verbosely.
1369         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
1370         file descriptor, write 0 to at_status_file instead of setting
1371         at_status=0, initialize some new variables (at_status_file,
1372         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
1373         to rerun the tests, instead append the at_group_log to the
1374         at_suite_log when a test fails.
1375         (AT_SETUP): pipe the test case's output into at_tee_pipe,
1376         with the AS_MESSAGE_LOG_FD redirected to stdout.
1377         (AT_CLEANUP): save the output status in $at_status_file
1378         and restore it, redirect the AS_MESSAGE_LOG_FD back to
1379         its original place.
1380         (AT_CHECK): since tests are run with a redirected stdout,
1381         and used to be re-run in verbose mode, turn some $at_verbose
1382         into echo, and don't redirect the output of testing stdout
1383         and stderr.
1385         * lib/autotest/autoconf.texi (testsuite Scripts): Update
1386         the name of the debugging directory and information about
1387         its contents.
1389 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
1391         * lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
1392         parameter
1394 2003-05-22  Akim Demaille  <akim@epita.fr>
1396         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
1397         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
1398         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
1399         * lib/autoconf/status.m4: Fix and adjust copyright notices.
1401 2003-05-22  Akim Demaille  <akim@epita.fr>
1403         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
1404         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
1405         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
1406         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
1407         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
1408         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
1409         * lib/autoconf/status.m4, lib/autoconf/types.m4,
1410         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
1411         * tests/atspecific.m4, tests/base.at, tests/compile.at,
1412         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
1413         * tests/tools.at, tests/torture.at:
1414         Whitespace clean up.
1415         Suggested by Jim Meyering.
1417 2003-05-22  Akim Demaille  <akim@epita.fr>
1419         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
1420         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
1421         Reported by Jim Meyering.
1423 2003-05-22  Akim Demaille  <akim@epita.fr>
1425         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
1426         Add AC_HELP_STRING  to the obsolete macros section.
1427         Typos.
1428         Use '@.' for sentences that ended in a capital letter.
1429         From Art Haas.
1431 2003-05-22  Akim Demaille  <akim@epita.fr>
1433         * config/config.guess, config/config.sub, config/elisp-comp,
1434         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
1435         * config/texinfo.tex, doc/standards.texi: Update from masters.
1437 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
1439         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
1440         it to eval.
1442 2003-05-21  Akim Demaille  <akim@epita.fr>
1444         * bin/autoupdate.in ($m4): Fix quotation.
1445         Reported by Martin Mokrejs.
1447 2003-05-19  Paul Eggert  <eggert@twinsun.com>
1449         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
1450         Remove non-ASCII characters.
1452 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
1454         * tests/semantics.at (AC_SEARCH_LIBS): New test.
1455         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
1456         AC_CHECK_HEADERS_NEW): New tests.
1458 2003-05-17  Akim Demaille  <akim@epita.fr>
1460         * lib/autoconf/functions.m4: Use the default includes so that
1461         memcmp be declared before being tested.
1462         Reported by Sander Niemeijer.
1463         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
1464         * doc/autoconf.texi (Default Includes): Document
1465         AC_INCLUDES_DEFAULT.
1467 2003-05-17  Akim Demaille  <akim@epita.fr>
1469         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
1470         * doc/autoconf.texi (Obsolete Macros): Adjust.
1471         Reported by Werner LEMBERG and Debian Bug 190886.
1473 2003-05-16  Akim Demaille  <akim@epita.fr>
1475         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
1476         user name space clashes.
1477         Reported by Bruno Haible.
1479 2003-05-16  Akim Demaille  <akim@epita.fr>
1481         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1482         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
1483         them uniform, and more robust to Perl special characters.
1484         Reported by Martin Mokrejs.
1486 2003-05-14  Akim Demaille  <akim@epita.fr>
1488         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
1490 2003-05-14  Akim Demaille  <akim@epita.fr>
1492         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
1493         linux/irda.h.
1495 2003-05-12  Akim Demaille  <akim@epita.fr>
1497         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
1498         message.
1499         From Matthias Andree.
1501 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
1503         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
1504         and truncate.
1506 2003-05-06  Akim Demaille  <akim@epita.fr>
1508         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
1509         longer updates aclocal.m4 if useless, (ii) if a file m4_included
1510         by aclocal.m4 is changed it might require the importing of another
1511         m4 extension file, i.e., aclocal must be run.
1513         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
1514         (&parse_args): Use --force with aclocal if required and supported.
1515         (&autoreconf_current_directory): Use &run_aclocal.
1517 2003-05-06  Akim Demaille  <akim@epita.fr>
1519         Lock autom4te's cache.
1521         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
1522         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
1523         argument instead of a file name, so that the request file remains
1524         open during the whole autom4te run.
1525         ($icache_file): New.
1526         (&freeze): Lock the $icache_file.
1528 2003-04-29  Derek Price  <derek@ximbiot.com>
1530         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
1531         seperator with m4_append_uniq().  It doesn't work.
1532         (AT_CLEANUP): Add `;' to end of at_help_all.
1533         (AT_INIT): Allow --keywords to be specified more than once.  When
1534         grepping $at_help_all for keywords, use the field and keyword
1535         seperators to ensure a complete keyword match.  Alter at_prev handling
1536         to support the new --keywords behavior.
1538 2003-04-27  Karl Berry  <karl@freefriends.org>
1540         * doc/autoconf.texi: Make the dir entries in the autoconf manual
1541         align better with others.  I also made some of the individual
1542         entries on one line, for brevity and to make it easier for me to
1543         sort my dir-example file in the Texinfo distribution :).
1545 2003-04-12  Jim Meyering  <jim@meyering.net>
1547         * NEWS: Mention the new macro.
1548         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
1549         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
1550         * tests/c.at: Test AC_C_RESTRICT.
1551         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
1553 2003-04-08  Akim Demaille  <akim@epita.fr>
1555         * bin/ifnames.in: Skip C++ comments.
1556         From Jeremy Yallop.
1558 2003-04-08  Akim Demaille  <akim@epita.fr>
1560         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
1561         From Ilya Zakharevich.
1563 2003-04-08  Akim Demaille  <akim@epita.fr>
1565         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
1566         net/if.h, stdlib.h.
1568 2003-04-01  Derek Price  <derek@ximbiot.com>
1570         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
1571         from Akim's checkin of 2003-03-29.
1573 2003-04-01  Derek Price  <derek@ximbiot.com>
1575         * tests/torture.at (Configuring subdirectories): Add missing
1576         close-quote for Akim's change from 2003-03-28.
1578 2003-04-01  Akim Demaille  <akim@epita.fr>
1580         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
1581         (AC, AT, MS): these.
1582         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
1583         New.
1584         Use them.
1585         * doc/Makefile.am (CLEANFILES): Adjust.
1586         (TEXI2DVI): Make it --batch.
1588 2003-03-31  Derek Price  <derek@ximbiot.com>
1590         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
1591         which removed the main loop.
1592         Thanks to Akim Demaille.
1594 2003-03-29  Akim Demaille  <akim@epita.fr>
1596         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
1597         that starts a GUI.
1598         From Ilya Zakharevich.
1600 2003-03-29  Akim Demaille  <akim@epita.fr>
1602         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
1603         documentation to read is Autoconf's.
1604         Suggested by Paul Eggert.
1606 2003-03-28  Akim Demaille  <akim@epita.fr>
1608         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
1609         reading the section "Present But Cannot Be Compiled" when the
1610         header causes problems.
1612 2003-03-28  Akim Demaille  <akim@epita.fr>
1614         * tests/torture.at (Configuring subdirectories): Require aclocal
1615         1.4, otherwise the test fails, as it does support configure.ac.
1616         This fixes the "test 40 failed" bug reports.
1618 2003-03-28  Akim Demaille  <akim@epita.fr>
1620         * doc/autoconf.texi (C Compiler): `#line' portability.
1621         From Paul Eggert and Nelson H. F. Beebe.
1623 2003-03-27  Derek Price  <derek@ximbiot.com>
1625         * lib/autotest/general.m4: Eliminate main loop and reorganize test
1626         layout in order to allow scripting around test groups.
1628 2003-03-27  Derek Price  <derek@ximbiot.com>
1630         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
1631         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
1632         use new diversions in preparation for accepting new arguments and
1633         allowing scripting around tests.
1634         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
1636 2003-03-26  Derek Price  <derek@ximbiot.com>
1638         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
1639         obsolete AC_HELP_STRING.
1640         (AC_HELP_STRING): AU_DEFUN to...
1641         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
1642         * tests/m4sh.at (AS_HELP_STRING): New test.
1644         * tests/acgeneral.at: Regenerated.
1646 2003-03-26  Derek Price  <derek@ximbiot.com>
1648         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
1649         sense.  Verbosify the diversion definitions comment.
1651 2003-03-26  Derek Price  <derek@ximbiot.com>
1653         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
1654         AS_PREPARE.
1656 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
1658         * doc/autoconf.texi (Present But Cannot Be Compiled):
1659         Grammar fixes and minor rewording. (trivial change)
1661 2003-03-06  Paul Eggert  <eggert@twinsun.com>
1663         Work around a problem noted by Nelson H. F. Beebe with coreutils
1664         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
1665         2002/05/09) rejects '#line 32768 "configure"' because the line
1666         number overflows.
1667         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
1668         #line directives.
1669         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
1670         * doc/autoconf.texi (Generating Sources): Document this.
1672 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
1674         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
1675         file name for the m4 program, when it has an "exe" file extension.
1676         DJGPP's error messages include the error code in brackets -
1677         remove the error code during normalization.
1679 2003-02-28  Akim Demaille  <akim@epita.fr>
1681         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
1683 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
1685         * doc/autoconf.texi (Limitations of Make): Remove the section
1686         about `$<' in inference rules, it was a bogus interpretation of
1687         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
1688         Tru64 make in the "target lookup" section.
1689         (Automake): Automake 1.5+ no longer requires special tools to be
1690         present on the developer's host.
1692 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
1694         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
1695         to a shell that can handle redirection or quoting correctly.
1696         Override SHELL with the shell detected by configure.
1697         Use of $^O suggested by Tim van Holder.
1698         * bin/autom4te.in (BEGIN): Likewise.
1699         * bin/autoreconf.in (BEGIN): Likewise.
1700         * bin/autoscan.in (BEGIN): Likewise.
1701         * bin/autoupdate.in (BEGIN): Likewise.
1702         * bin/ifnames.in (BEGIN): Likewise.
1704         * bin/ifnames.in: Add final newline to help and version messages.
1706         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
1707         to cope with DOS-style absolute paths, when constructing
1708         ${ac_make}.
1710         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
1711         When constructing paths with IFS=:, quote the path. If we're
1712         constructing a DOS-style absolute path, we don't want to split it
1713         on the colon.
1715         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
1716         in description.
1718 2003-02-25  Pavel Roskin  <proski@gnu.org>
1720         * bin/autoheader.in: Add missing newline when printing
1721         suggestion how change AC_DEFINE call.
1723 2003-02-24  Paul Eggert  <eggert@twinsun.com>
1725         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
1726         2002-09-01 patch by replacing "test -n" with "test -z".
1727         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
1728         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
1730         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
1731         to fix a mismatch between example and discussion.
1733 2003-02-24  Kevin Ryde  <user42@zip.com.au>
1735         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
1736         format starting with "-".
1738 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
1740         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
1741         is not portable inside Makefile.
1743 2003-02-20  Akim Demaille  <akim@epita.fr>
1745         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
1746         compiler says yeah, but preproc says nope, compiler is right.
1747         Conversely, prompt the reader to send a bug report to the
1748         maintainers of the package, not of Autoconf.
1750 2003-02-20  Klee Dienes  <kdienes@apple.com>
1752         * bin/autoreconf.in (autoreconf_current_directory): Properly
1753         handle an empty aclocal.m4.
1755 2003-02-20  Akim Demaille  <akim@epita.fr>
1757         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
1758         $ac_prefix_program.
1759         From Larry Jones.
1761 2002-12-23  Paul Eggert  <eggert@twinsun.com>
1763         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
1764         innocuous variant befor including <limits.h> or <assert.h>.  This
1765         works around a bug reported by Albert Chin: HP-UX 11i
1766         (and earlier versions) have a <limits.h> that declares
1767         gettimeofday and many other functions.
1769 2002-12-03  Paul Eggert  <eggert@twinsun.com>
1771         Version 2.57.
1773         * NEWS, configure.ac: Update version.
1775         * doc/fdl.texi: Upgrade to FDL version 1.2.
1777         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
1778         nontrivially in main's body, so that f's external declaration is
1779         not optimized away in AIX.  This should fix the bug reported by
1780         Martin Frydl in
1781         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
1783         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
1784         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
1785         defined, to support freestanding compilers.  This should fix the
1786         bug reported by Momchil Velkov in
1787         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
1789         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
1790         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
1791         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
1792         by Simon Josefsson in
1793         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
1795         * Makefile.maint (www-gnu): New macro.
1796         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
1797         the location has moved.
1799 2002-12-02  Martin Frydl  <martin@systinet.com>
1801         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
1802         \(.*\) match is too long and there is something more to be checked.
1803         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
1805 2002-11-15  Akim Demaille  <akim@epita.fr>
1807         Version 2.56.
1809         * config/install-sh: chmod +x.
1810         From Paul Eggert.
1811         * config/move-if-change: Indenting changes.
1812         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
1813         * configure.ac (AM_INIT_AUTOMAKE): here.
1814         Require 1.7.1.
1816 2002-11-14  Akim Demaille  <akim@epita.fr>
1818         Version 2.55.
1820         * config/config.guess, config/config.sub, config/install-sh:
1821         Update from masters.
1823 2002-11-14  Akim Demaille  <akim@epita.fr>
1825         * Makefile.maint: Sync with Bison, i.e.:
1826         (po-check): Scan .l and .y files instead of the
1827         .c and the .h files that they generate.  This fixes the bug
1828         reported by Tim Van Holder in:
1829         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
1830         Look for N_ as well as for _.  Try to avoid matching #define for
1831         N_ and _.
1832         From Paul Eggert.
1834 2002-11-14  Akim Demaille  <akim@epita.fr>
1836         * doc/autoconf.texi (C Compiler): Compiling several files at once.
1837         From Paul Eggert and Albert Chin-A-Young.
1839 2002-11-14  Akim Demaille  <akim@epita.fr>
1841         * doc/autoconf.texi (C Compiler): Solitary backslashes.
1842         From Paul Eggert and Albert Chin-A-Young.
1844 2002-11-14  Kevin Ryde  <user42@zip.com.au>
1846         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
1847         than assigning in main, to avoid HP cc +O3 optimizing it away.
1849 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
1851         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
1852         option.  Process --recheck after parsing all options.  Pass -q
1853         option to configure on --recheck.
1854         (AC_OUTPUT): Pass -q from configure to config.status.
1855         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
1856         arguments to record.
1857         * doc/autoconf.texi (config.status Invocation): Document
1858         config.status -q option.
1860 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
1862         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
1863         Makefile.in if Makefile.am exists.
1864         (output): Strip `.am' from Makefiles.  Don't
1865         output AC_CONFIG_FILES if no Makefiles were found.
1867 2002-11-07  Akim Demaille  <akim@epita.fr>
1869         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
1870         (local_updates): New.
1871         * Makefile.maint: Update, from CVS Bison.
1872         (local_updates): New.
1874 2002-11-06  Akim Demaille  <akim@epita.fr>
1876         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
1877         declaration in extern "C" too.
1878         Reported by Roberto Bagnara.
1880 2002-11-06  Akim Demaille  <akim@epita.fr>
1882         * tests/torture.at (Configuring subdirectories): Don't use grep
1883         -w.
1884         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
1885         Reported by Ezra Peisach.
1887 2002-11-05  Akim Demaille  <akim@epita.fr>
1889         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
1890         Remove.
1891         We _have_ to stop using the old compatibility scheme that tried to
1892         avoid useless backslashes because Libtool 1.4.3 contains a
1893         AC_DEFINE([error_t], [int],
1894         [Define to a type to use for \`error_t' if it is not
1895         otherwise available.])
1896         We _have_ to quote the single quote and backslashes with \.  The
1897         old compatibility scheme saw that ` was backslashed, and therefore
1898         did not quote the single quote.  Hence before this patch, Autoconf
1899         was not compatible with Libtool.
1901 2002-11-04  Paul Eggert  <eggert@twinsun.com>
1903         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
1904         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
1905         LC_NAME, LC_PAPER, LC_TELEPHONE.
1906         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
1908 2002-11-04  Akim Demaille  <akim@epita.fr>
1910         Version 2.54c.
1912         * Makefile.maint (update, cvs-update, po-update, do-po-update):
1913         New.
1914         * config/texinfo.tex: Update.
1916 2002-11-03  Akim Demaille  <akim@epita.fr>
1918         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
1919         from...
1920         (&autoreconf): here.
1921         ($help, $make, &parse_args, &autoreconf_current_directory):
1922         Support -m/--make.
1923         * doc/autoconf.texi (autoreconf Invocation): Adjust.
1925 2002-10-31  Bruno Haible  <bruno@clisp.org>
1927         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
1928         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
1929         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
1930         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
1931         to ac_cv_func_realloc_0_nonnull.
1932         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
1934 2002-10-31  Akim Demaille  <akim@epita.fr>
1936         The test suite was no longer checking for trailing envvars and files.
1938         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
1939         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
1941 2002-10-31  Akim Demaille  <akim@epita.fr>
1943         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
1944         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
1945         Make variable, not a shell variable.
1946         Suggested by Bruno Haible.
1948 2002-10-31  Akim Demaille  <akim@epita.fr>
1950         * bin/autom4te.in (load_configuration): Reject #args out of any
1951         language.
1953 2002-10-31  Akim Demaille  <akim@epita.fr>
1955         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
1956         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
1957         (_AC_RUN_IFELSE): Use it.
1958         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
1959         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1960         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
1961         inline it.
1963 2002-10-30  Akim Demaille  <akim@epita.fr>
1965         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
1966         * doc/autoconf.texi (autom4te Invocation): Adjust.
1967         Suggested by Tim van Holder.
1969 2002-10-29  Paul Eggert  <eggert@twinsun.com>
1971         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
1972         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
1973         Problem reported by Bruno Haible.
1975 2002-10-29  Akim Demaille  <akim@epita.fr>
1977         * doc/autoconf.texi (Header Templates): Put also in words what the
1978         pictures says to assist free style readers.
1979         (Customizing autom4te): s/--cache=/--cache /.
1981 2002-10-29  Akim Demaille  <akim@epita.fr>
1983         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
1984         sys/wait.h.
1985         sparc_address_test returns void.
1986         Use it with an argument, as prototyped.
1987         From Bruno Haible.
1989 2002-10-29  Akim Demaille  <akim@epita.fr>
1991         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
1992         configure.in, not configure.ac.
1993         Reported by Bruno Haible.
1995 2002-10-29  Akim Demaille  <akim@epita.fr>
1997         * tests/torture.at (Deep Package): New test.
1998         (Configuring subdirectories): Don't use a testSubDir as Autotest
1999         now does it itself.
2001 2002-10-29  Akim Demaille  <akim@epita.fr>
2003         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
2004         * doc/autoconf.texi (Invoking autom4te): Rename as...
2005         (autom4te Invocation): this, for consistency with the other nodes.
2007 2002-10-29  Akim Demaille  <akim@epita.fr>
2009         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
2010         Reported by Ralf Corsepius.
2012 2002-10-29  Akim Demaille  <akim@epita.fr>
2014         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
2015         characters is a back as an `obsolete' warning now.
2016         Reported by Ralf Corsepius.
2018 2002-10-28  Akim Demaille  <akim@epita.fr>
2020         * configure.ac: Bump to 2.54c.
2022 2002-10-28  Akim Demaille  <akim@epita.fr>
2024         Version 2.54b.
2026         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
2028 2002-10-28  Akim Demaille  <akim@epita.fr>
2030         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
2031         m4 executable names, and different GNU M4 version.
2032         Reported by Ezra Peisach and Paul Jarc.
2034 2002-10-27  Akim Demaille  <akim@epita.fr>
2036         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
2037         AC_RUN_IFELSE.
2039 2002-10-27  Akim Demaille  <akim@epita.fr>
2041         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
2042         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
2043         Die when a simple Fortran program cannot be compiled.
2044         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
2045         Issue a warning if no function is given.
2047 2002-10-27  Akim Demaille  <akim@epita.fr>
2049         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
2050         Move the documentation of AC_TRY_RUN to...
2051         (Obsolete Macros): here.
2052         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
2053         (autoconf Invocation): Remove the duplicates with `invoking
2054         autom4te'.
2055         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
2056         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
2058 2002-10-27  Akim Demaille  <akim@epita.fr>
2060         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
2061         and AC_LANG_FUNC_LINK_TRY.
2062         (Examining Libraries): Rename as...
2063         (Running the Linker): this.
2064         Document AC_LINK_IFELSE.
2065         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
2066         (Obsolete Macros): here.
2067         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
2068         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
2069         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
2070         * lib/autoconf/headers.m4 (AC_USG): Likewise.
2072 2002-10-27  Akim Demaille  <akim@epita.fr>
2074         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
2076         More `check config.log' messages.
2078         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
2079         * doc/autoconf.texi (Printing Messages): Document it.
2080         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
2081         appropriate.
2082         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
2083         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
2084         (_AC_COMPILER_OBJEXT): Likewise.
2085         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
2086         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
2087         Likewise.
2088         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
2089         Likewise.
2091         Deprecate macros with unusual interfaces.
2093         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
2094         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
2096         Document the new ones, and proper style.
2098         * doc/autoconf.texi (Generating Sources): New.
2099         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
2100         (Examining Declarations): Rename as...
2101         (Running the Preprocessor): this.
2102         Document AC_PREPROC_IFELSE.
2103         (Examining Syntax): Rename as...
2104         (Running the Compiler): this.
2105         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
2106         (Obsolete Macros): Move the definition of AC_TRY_CPP and
2107         AC_TRY_COMPILE here.
2109 2002-10-27  Akim Demaille  <akim@epita.fr>
2111         Move sections around.
2113         * doc/autoconf.texi (Customizing autom4te): Remove a lost
2114         sentence.
2115         Reported by Burno Haible.
2116         (Language Choice): Now the first section of...
2117         (Writing Tests): this section.
2118         Make the introduction less C-centric.
2119         (Guidelines, Test Functions): Move to...
2120         (Writing Test Programs): this new section.
2121         (Test Programs): Merge into...
2122         (Run Time): this.
2124 2002-10-27  Akim Demaille  <akim@epita.fr>
2126         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
2127         autom4te.in that resulted in the need for two `make' runs.
2129 2002-10-27  Akim Demaille  <akim@epita.fr>
2131         * configure.ac: Bump to 2.54b.
2133 2002-10-25  Akim Demaille  <akim@epita.fr>
2135         Version 2.54a.
2137         * Makefile.maint: Update from the Coreutils.
2138         (AMTAR): Remove, obsolete.
2139         (automake_repo): Update to redhat.com.
2140         (cvs_file): New.
2141         Adjust to the fact that ansi2knr is now hosted by Automake.
2142         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
2143         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
2144         Update from masters.
2145         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
2146         autoscan.pre is not to be installed, and autoscan.list is not to
2147         be shipped.
2148         (CLEANFILES): Add autoscan.list.
2149         (autoscan.list): Disable the cache.
2150         * bin/Makefile.am: Include freeze.mk.
2152 2002-10-25  Akim Demaille  <akim@epita.fr>
2154         * bin/autom4te.in (&load_configuration): Take the file as
2155         argument.
2156         (&parse_args): Handle -C, --cache.
2157         ($help): Adjust.
2158         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
2159         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
2160         * doc/autoconf.texi (Invoking autom4te): Document --cache.
2161         Now a subsection of...
2162         (Using autom4te): This new section.
2163         (Customizing autom4te): New.
2164         (autom4te.cache): Adjust.
2166 2002-10-25  Akim Demaille  <akim@epita.fr>
2168         * doc/autoconf.texi (Generic Headers): More information on how to
2169         use AC_CHECK_HEADERS.
2171 2002-10-25  Akim Demaille  <akim@epita.fr>
2173         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
2174         Space changes.
2176 2002-10-25  Akim Demaille  <akim@epita.fr>
2178         * bin/autoscan.in (output): Output AC_PREREQ.
2179         (%needed_macros): Add AC_PREREQ so that configure.ac without one
2180         be reported.
2182 2002-10-23  Akim Demaille  <akim@epita.fr>
2184         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
2185         document _Bool.
2187 2002-10-23  Akim Demaille  <akim@epita.fr>
2189         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
2190         Reported by Peter Eisentraut.
2192 2002-10-23  Akim Demaille  <akim@epita.fr>
2194         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
2195         type _Bool.
2196         Fix a typo.
2197         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
2198         Eggert's recommandations.
2200 2002-10-22  Akim Demaille  <akim@epita.fr>
2202         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
2203         Bison, by Paul Eggert.
2204         * doc/autoconf.texi (Particular Headers): Document it.
2206 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
2208         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
2209         `$ac_configure_args'.
2211 2002-10-22  Akim Demaille  <akim@epita.fr>
2213         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
2214         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
2215         From Art Haas.
2217 2002-10-22  Akim Demaille  <akim@epita.fr>
2219         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
2221         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
2222         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
2223         (_AC_CHECK_HEADER_NEW): Rename as...
2224         (AC_CHECK_HEADER): this.
2226 2002-10-22  Akim Demaille  <akim@epita.fr>
2228         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
2229         words about HP-UX cmp: it was actually a user-written cmp.
2231 2002-10-22  Akim Demaille  <akim@epita.fr>
2233         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
2234         are a few warnings.
2235         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
2236         Quote for Perl '' strings, not "".
2237         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
2238         strings.
2240 2002-10-22  Akim Demaille  <akim@epita.fr>
2242         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
2243         characters is a syntax warning now.
2244         (_AS_QUOTE): Accept $2 as list of characters to quote.
2245         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
2246         Quote for Perl, not sh.
2247         * bin/autoheader.in: When $debug, report the file which is
2248         `do'ne.
2249         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
2250         `@', to tickle Perl's lists.
2251         Reported by Carlos Velasco.
2253 2002-10-18  Akim Demaille  <akim@epita.fr>
2255         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
2256         missing included files _are_ errors.
2257         Thanks to Alexandre Duret-Lutz.
2258         * tests/tools.at (autom4te cache): Adjust.
2259         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
2260         (AT_CHECK_M4SUGAR): Use it.
2261         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2262         Adjust.
2263         * tests/tools.at (autom4te): Now it does exit 1.
2265 2002-10-17  Akim Demaille  <akim@epita.fr>
2267         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
2268         Fixes the `AC_ARG_VAR' test failures.
2269         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
2270         * lib/freeze.mk (check-forbidden-patterns): New.
2271         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
2272         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
2273         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
2274         /dev/null.
2275         Reported months ago by H. Merijn Brand.
2277 2002-10-17  Akim Demaille  <akim@epita.fr>
2279         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
2281 2002-10-16  Paul Eggert  <eggert@twinsun.com>
2283         * Makefile.maint (wget_files): Remove ansi2knr.c.
2284         (ansi2knr.c-url_prefix): Remove.
2286 2002-10-16  Akim Demaille  <akim@epita.fr>
2288         Because of caching, some files that no longer exist and are no
2289         longer required can still cause errors.
2290         Reported by Alexandre Duret-Lutz.
2292         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
2293         to frozen files in @ARGV, as @ARGV must remain being a list of
2294         files.  Rather, at M4 call sites, use this...
2295         (&files_to_options): New function.
2296         (&freeze): Use &error.
2297         (&up_to_date): If a file that was included according to the cache
2298         is no longer there, then the output is out dated.
2299         (&main): Don't even check whether a file is up to date is anyway
2300         --force is given.
2301         * tests/tools.at (autom4te cache): New.
2303 2002-10-16  Akim Demaille  <akim@epita.fr>
2305         * bin/autoconf.as: Kill dead options.
2306         * bin/autoupdate.in (&parse_args): Kill old options.
2307         * bin/autoreconf.in (&parse_args): Remove dead options.
2308         Factor some code.
2309         (&autoreconf): Report the directories we enter *and leave*, so
2310         that error messages can be easily located, and use GNU Make
2311         format, so that Emacs' compile mode understands us.
2312         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
2313         if some file was changed instead of `print'.
2314         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
2315         (&parse_args): Remove the dead options.
2316         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
2317         autoheader's quiet mode.
2318         (AT_CHECK_AUTOUPDATE): Likewise.
2319         * tests/tools.at (autoupdate): Adjust.
2320         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2322 2002-10-11  Akim Demaille  <akim@epita.fr>
2324         No longer use CPP to check for the existing of headers: use CC to
2325         check for compilability.
2327         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
2328         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
2329         (_AC_CHECK_HEADER_NEW): Rename as...
2330         (AC_CHECK_HEADER): this.
2332         * lib/autotest/general.m4 (AT_INIT): Include the failed test
2333         numbers in the Subject suggestion.
2335 2002-10-11  Akim Demaille  <akim@epita.fr>
2337         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
2338         Suggest using AC_CHECK_DECLS instead.
2340 2002-10-11  Akim Demaille  <akim@epita.fr>
2342         * tests/torture.at (AC_ARG_VAR): Have configure report the value
2343         of `precious'.
2345 2002-10-11  Akim Demaille  <akim@epita.fr>
2347         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
2348         file name to enable parallel executions.
2349         From Sam Varshavchik.
2351 2002-10-08  Akim Demaille  <akim@epita.fr>
2353         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
2354         aclocal invocation, as Gettext macros might not be visible to
2355         aclocal.
2356         Instead of blindly running autopoint, scan configure.ac (not the
2357         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
2358         Reported by Paul D. Smith.
2360 2002-10-08  Paul Eggert  <eggert@twinsun.com>
2362         Work around problems found when POSIXLY_CORRECT=1 is set.
2363         None of this seems to have anything to do with POSIX, really,
2364         but it's how Perl getopt works.
2365         * bin/autom4te.in (parse_args): Configure GetOpt with
2366         "permute", too.
2367         * doc/autoconf.texi (Invoking autom4te):
2368         --warning -> --warnings.
2369         * lib/autom4te.in: --warning -> --warnings.
2371 2002-09-28  Akim Demaille  <akim@epita.fr>
2373         * doc/autoconf.texi (autom4te.cache): New section.
2375 2002-09-28  Akim Demaille  <akim@epita.fr>
2377         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
2378         (Automake-preselections): Update.
2379         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
2381 2002-09-28  Akim Demaille  <akim@epita.fr>
2383         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
2384         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
2385         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
2386         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
2388 2002-09-28  Akim Demaille  <akim@epita.fr>
2390         * tests/torture.at (Configuring subdirectories): Be robust to
2391         users who use config.site to require for a cache: in this case,
2392         the two last configure runs, using two different sets of
2393         arguments, trigger a legitimate error.
2395 2002-09-28  Akim Demaille  <akim@epita.fr>
2397         * tests/m4sh.at (Functions Support, Functions and return Support):
2398         New.
2400 2002-09-28  Akim Demaille  <akim@epita.fr>
2402         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
2403         autoheader are Perl programs.
2404         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
2405         (autom4te): Specify that the sources are in the $srcdir.
2406         * doc/autoconf.texi (Installation Directory Variables): Adjust.
2408 2002-09-28  Akim Demaille  <akim@epita.fr>
2410         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
2411         (tm_zone): Move their rules to...
2412         * lib/autoconf/types.m4: here, using AN_ macros.
2413         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
2414         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
2415         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
2416         * lib/autoconf/programs.m4: here.
2417         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
2418         (ETAGS_FOR_AUTOCONF): New.
2419         Use it.
2421 2002-09-28  Akim Demaille  <akim@epita.fr>
2423         * lib/autoconf/autoscan.m4: New file.
2424         * lib/autoconf/autoconf.m4: Include it.
2425         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
2426         that were listed in the original autoscan.list.
2427         * lib/autoconf/headers.m4: Similarly with headers.
2428         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
2429         (.m4.m4f): Don't pass --prepend-include, since that's done by
2430         tests/autom4te itself.
2431         * lib/autoscan/Makefile.am: Include freeze.mk.
2432         (autoscan.list): New target --this file is no longer a source.
2433         (autoscan.pre): New file.
2435 2002-09-28  Akim Demaille  <akim@epita.fr>
2437         * bin/autoscan.in (@kinds): Make them singular.
2438         Adjust all uses.
2439         (&init_tables): When --debug, report the list of rules to ease
2440         tracking changes in autoscan.list.
2441         * lib/autoscan/autoscan.list (function): Strip comments, sort.
2443 2002-09-28  Akim Demaille  <akim@epita.fr>
2445         * lib/autoscan/functions, lib/autoscan/headers,
2446         * lib/autoscan/identifiers, lib/autoscan/makevars,
2447         * lib/autoscan/programs: Merge into...
2448         * lib/autoscan/autoscan.list: this.
2449         * bin/autoscan.in (&init_tables): Adjust.
2451 2002-09-28  Akim Demaille  <akim@epita.fr>
2453         * lib/autoscan/functions, lib/autoscan/headers,
2454         * lib/autoscan/identifiers, lib/autoscan/makevars,
2455         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
2456         `functions' line is now prefixed with `function:'.
2457         * bin/autoscan.in (&init_tables): Adjust.
2459 2002-09-28  Akim Demaille  <akim@epita.fr>
2461         From now on, autoscan files must always map a macro name to a
2462         word: there is no `default' macro for autoscan.
2464         * bin/autoscan.in (&init_tables): Reject entries with no macro at
2465         all.
2466         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
2467         explicit.
2469 2002-09-28  Akim Demaille  <akim@epita.fr>
2471         * bin/autoscan.in (%c_keywords): Remove.
2472         (&used): Keep only track of the words we might be interested in.
2473         (&output_kind): It is no longer needed to look for non active
2474         checks.
2476 2002-09-27  Akim Demaille  <akim@epita.fr>
2478         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
2479         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
2480         * lib/autoscan/functions: Adjust.
2481         * doc/autoconf.texi (Particular Functions): Adjust.
2483 2002-09-27  Akim Demaille  <akim@epita.fr>
2485         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
2486         from /tmp.
2487         Thanks to Bill Moseley and Paul Eggert.
2488         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
2489         the tmpdir must be created.
2490         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
2491         dir be in the build tree, instead of $TMPDIR.
2493 2002-09-27  Akim Demaille  <akim@epita.fr>
2495         * bin/autoscan.in: Improve the comments.
2496         (&parse_args): Drop obsolete undocumented options.
2497         (&output_kind): Output warnings.
2498         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
2499         (getwd): Trigger a warning.
2501 2002-09-26  Akim Demaille  <akim@epita.fr>
2503         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
2504         Reported by Ralf Corsepius.
2505         * doc/autoconf.texi (autoreconf Invocation): Likewise.
2507 2002-09-26  Akim Demaille  <akim@epita.fr>
2509         Single suffix rules and seperated dependencies are not portable.
2511         * doc/autoconf.texi (Installation Directory Variables): Update.
2512         (Limitations of Make): Some about `Single Suffix Rules and
2513         Separated Dependencies'.
2514         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2515         (ifnames, autoscan, autom4te): Un-factor into several rules.
2517 2002-09-25  Paul Eggert  <eggert@twinsun.com>
2519         * BUGS (Interoperability bugs): New section.  Mention libtool
2520         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
2522 2002-09-24  Paul Eggert  <eggert@twinsun.com>
2524         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
2525         make handles suffix-rules differently from GNU make.
2527         * bin/Makefile.am (SUFFIXES, .in): Remove.
2528         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
2529         Move the body of the old .in rule here.
2531 2002-09-16  Akim Demaille  <akim@epita.fr>
2533         i960 compilers create `b.out' files by default.
2534         Reported by Ralf Corsepius.
2536         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
2537         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
2539 2002-09-13  Paul Eggert  <eggert@twinsun.com>
2541         * doc/autoconf.texi (Particular Headers): Remove obsolete
2542         reference to `struct timezone' in the description of
2543         AC_HEADER_TIME.
2545 2002-09-13  Akim Demaille  <akim@epita.fr>
2547         Version 2.54.
2549         * config/config.sub, config/config.guess: Update.
2550         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
2551         * Makefile.am: Adjust.
2553 2002-09-13  Akim Demaille  <akim@epita.fr>
2555         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
2556         reading config.log when the compiler is rejected.
2557         Suggested by Guido Draheim.
2559 2002-09-13  Akim Demaille  <akim@epita.fr>
2561         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
2562         (chdir_init) might hang when stat'ing mounted directories.
2563         Reported by Vance Shipley.
2565 2002-09-12  Akim Demaille  <akim@epita.fr>
2567         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
2568         the lists.
2570 2002-09-12  Akim Demaille  <akim@epita.fr>
2572         * doc/autoconf.texi (Defining Symbols): Present two different
2573         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
2574         difference between 1 argument calls, and 2-3 argument calls.
2576 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
2578         * doc/autoconf.texi: Review grammar and punctuation.
2580 2002-09-11  Paul Eggert  <eggert@twinsun.com>
2582         * doc/autoconf.texi: Fix minor formatting, spelling, and
2583         grammatical typos.
2584         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
2585         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
2586         is obsolescent.
2588 2002-09-11  Akim Demaille  <akim@epita.fr>
2590         * doc/autoconf.texi (Questions): Rename as...
2591         (FAQ): this.
2592         (Defining Directories): New.
2594 2002-09-09  Akim Demaille  <akim@epita.fr>
2596         * doc/autoconf.texi (Making testsuite Scripts): Update.
2597         Suggested by Nishio Futoshi.
2599 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
2601         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
2602         plain `@' is wanted.
2604 2002-09-09  Akim Demaille  <akim@epita.fr>
2606         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
2607         `duplicates', since the algorithm was too naive and could keep
2608         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
2609         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
2610         Reported by Ralf Corsepius.
2611         * tests/torture.at (Configuring subdirectories): Exercise these
2612         cases.
2614 2002-09-09  Akim Demaille  <akim@epita.fr>
2616         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
2617         looking for a replacement file.
2618         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
2619         directory is relative.
2620         * doc/autoconf.texi (Generic Functions): Clarify the replacement
2621         directory definition.
2622         Reported by Andreas Schwab and Jim Meyering.
2624 2002-09-06  Akim Demaille  <akim@epita.fr>
2626         * doc/autoconf.texi (Setting Output Variables): Clarify what
2627         precious variables are.
2628         Suggested by Pontus Skoeld.
2630 2002-09-05  Akim Demaille  <akim@epita.fr>
2632         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2633         (ifnames, autoscan, autom4te): Since we don't only depend on
2634         configure.ac variables (such as VERSION etc.), but also on prefix
2635         and so forth, depend on Makefile, not configure.ac.
2636         Reported by Alexandre Duret-Lutz.
2637         * doc/autoconf.texi (Installation Directory Variables): Adjust.
2639 2002-09-05  Kevin Ryde  <user42@zip.com.au>
2641         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
2642         doesn't seem to be confined to ia64, just say "some versions".
2644 2002-09-04  Akim Demaille  <akim@epita.fr>
2646         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
2647         Automake 1.6c.
2648         * Makefile.am (maintainer-clean-local): Remove.
2649         (MAINTAINERCLEANFILES): Remove COPYING.
2651 2002-09-03  Paul Eggert  <eggert@twinsun.com>
2653         * doc/autoconf.texi (Configuration Commands): Remove obsolete
2654         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
2655         Brinkmann.
2657 2002-09-03  Akim Demaille  <akim@epita.fr>
2659         * configure.ac: Bump to 2.53d.
2660         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
2661         as of today, on Automake's team suggestion.
2663 2002-09-03  Akim Demaille  <akim@epita.fr>
2665         Version 2.53c.
2667 2002-09-02  Akim Demaille  <akim@epita.fr>
2669         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
2670         SITE_MACRO_DIR.
2671         * configure.ac: Disable SITE_MACRO_DIR.
2673 2002-09-02  Jim Meyering  <meyering@lucent.com>
2675         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
2676         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
2677         Also, tweak grammar: s/make sure to/be sure to/.
2679 2002-09-02  Paul Eggert  <eggert@twinsun.com>
2681         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
2682         directory names are generally preferable to physical names.
2684 2002-09-02  Akim Demaille  <akim@epita.fr>
2686         * lib/Autom4te/General.pm (&update_file): s/die/error/.
2687         Reported by Raja R. Harinath.
2688         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
2689         * bin/autoupdate.in: Use error instead of die.
2691 2002-09-01  Paul Eggert  <eggert@twinsun.com>
2693         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
2694         ordinary shell concatenation rather than echo+tr+sed command that
2695         runs afoul of a long-line-related sed bug in Solaris 8.
2697         * bin/autoheader.in (parse_args): --warning -> --warnings.
2699         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
2700         stdout, as traditional "ls" does.
2701         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
2702         _AC_COMPILER_EXEEXT_O): Likewise.
2703         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
2705         * bin/autoconf.as: Add --prepend-include option.  This patch was
2706         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
2707         but bin/autoconf.in is generated automatically from bin/autoconf.as.
2709         * bin/autoconf.in, configure: Regenerate.
2711         * doc/autoconf.texi (Special Shell Variables): Mention
2712         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
2714         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
2715         MAILPATH and set PS1, PS2, PS4 to default values, to work
2716         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
2717         For LC_ALL etc, first try to set to "C" as POSIX requires and as
2718         the Autoconf documentation specifies; fall back to "unset" only if
2719         this fails.  Use a shell for-loop for this rather than an m4 loop,
2720         to shorten the output script.
2722 2002-08-30  Paul Eggert  <eggert@twinsun.com>
2724         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
2725         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
2726         for the CDPATH problem.  Document PWD.
2727         (Limitations of Builtins): Document the problem that "cd $foo" and
2728         "ls $foo" may refer to different directories in shells conforming
2729         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
2730         example, since the old example is now out of date.
2732         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
2733         FOO" and "ls FOO" talk about different directories; this catches
2734         problems when POSIX 1003.1-2001 "cd" fails due to symlink
2735         spaghetti.
2737         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
2738         of rolling our own unset.
2739         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
2740         in practice we needn't worry about CDPATH if unset doesn't work.
2742         * Makefile.in, aclocal.m4, bin/Makefile.in,
2743         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
2744         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
2745         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
2746         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
2747         tests/Makefile.in: Regenerate with Automake 1.6.3.
2749         * config/config.guess, config/config.sub, config/mkinstalldirs:
2750         Update.
2752         * configure: Regenerate with self.
2754 2002-08-30  Kevin Ryde  <user42@zip.com.au>
2756         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
2757         default output.
2759 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2761         * bin/autom4te.in (Request::load): Correctly test for "do" read
2762         failure.
2764 2002-08-29  Akim Demaille  <akim@epita.fr>
2766         * lib/Autom4te/General.pm (&xqx): New.
2767         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
2768         hand, which is not portable.
2769         (&error): New.
2770         * bin/autom4te.in: Use them.
2771         Use &error instead of die.
2772         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2773         Adjust.
2775 2002-08-17  Paul Eggert  <eggert@twinsun.com>
2777         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
2778         default list of compilers to try, since it was long ago superseded
2779         by the ksh fc builtin.  Suggested by Steven G. Johnson.
2781 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
2783         * doc/autoconf.texi (Invoking autom4te): End the option table,
2784         fixing a bug introduced by the previous patch.
2785         (Limitations of Make): Add a 'target lookup' subentry in the
2786         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
2788 2002-07-29  Mark D. Roth  <roth@feep.net>
2790         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
2791         options and use $AUTOM4TE_PATH.
2792         * doc/autoconf.texi: Remove documentation of autom4te
2793         --include-envvar and --site-macro-subdir options and document
2794         use of $AUTOM4TE_PATH.
2795         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
2796         arguments from each language section.
2798 2002-07-29  Paul Eggert  <eggert@twinsun.com>
2800         * doc/install.texi: Include copyright symbol in copyright notice.
2802         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
2803         Replace with:
2804         (AM_MAKEINFOFLAGS): New macro.
2805         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
2806         * Makefile.am (INSTALL): Use the new macros.
2807         Use -o rather than --output, since "missing" does not grok --output.
2809 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2811         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
2812         comments do not always work. Never trust the exit status of
2813         `make -k'.
2815 2002-07-24  Kevin Ryde  <user42@zip.com.au>
2817         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
2818         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
2820 2002-07-23  Paul Eggert  <eggert@twinsun.com>
2822         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
2823         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
2824         apparently treats PATH="nonexistent" as if it contained ".".
2825         Bug reported by Stefan `Sec' Zehl.
2827 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
2829         * doc/autoconf.texi (Limitations of Make): Mention the special
2830         handling of the obj/ directory by BSD make.
2832 2002-07-20  Kevin Ryde  <user42@zip.com.au>
2834         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
2835         backslashes.
2837 2002-07-19  Akim Demaille  <akim@epita.fr>
2839         * doc/autoconf.texi (Function Portability): `exit'.
2840         (Programming in M4sh): Ethymology of M4sh.
2842 2002-07-19  Akim Demaille  <akim@epita.fr>
2844         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
2846 2002-07-18  Akim Demaille  <akim@epita.fr>
2848         Version 2.53b.
2850 2002-07-18  Akim Demaille  <akim@epita.fr>
2852         * config/config.guess, config/config.sub: Update.
2854 2002-07-18  Akim Demaille  <akim@epita.fr>
2856         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
2857         Automake's parts.
2859         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
2860         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
2861         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
2863 2002-07-18  Akim Demaille  <akim@epita.fr>,
2864             Alexandre Duret-Lutz  <duret_g@epita.fr>
2866         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
2867         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
2869 2002-07-17  Russ Allbery  <rra@stanford.edu>
2871         * doc/autoconf.texi (Initializing configure): Clarify the
2872         description of the tarname default.
2874 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
2876         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
2877         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
2878         latter was not run.
2880 2002-07-17  Akim Demaille  <akim@epita.fr>
2882         * lib/Autom4te/General.pm (find_file): Browse the directories in
2883         the order they are given.
2885 2002-07-17  Akim Demaille  <akim@epita.fr>
2887         * tests/wrapsh.as, tests/wrappl.as: Merge into...
2888         * tests/wrapper.as: this.
2889         * tests/Makefile.am, configure.ac: Adjust.
2891 2002-07-17  Mark D. Roth  <roth@feep.net>
2893         * configure.ac: Add --enable-site-macro-dir option.
2894         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
2895         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
2896         --site-macro-subdir options.
2897         * bin/autoconf.in: Add --prepend-include option.
2898         * bin/autoheader.in: Add --prepend-include option.
2899         * bin/autoreconf.in: Add --prepend-include option.
2900         * bin/autoscan.in: Add --prepend-include option.
2901         * bin/autoupdate.in: Add --prepend-include option.
2902         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
2903         macro directory, remove note that include path directories are
2904         used in reverse order, and document --prepend-include option.
2905         * lib/autom4te.in: Use --prepend-include instead of --include.
2906         * tests/wrapsh.in: Use --prepend-include instead of --include.
2908 2002-07-17  Akim Demaille  <akim@epita.fr>
2910         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
2911         tarnames.
2912         * doc/autoconf.texi (Initializing configure): Adjust.
2914 2002-07-17  Akim Demaille  <akim@epita.fr>
2916         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
2917         (_AC_FUNC_MALLOC): New.
2918         (AC_FUNC_MALLOC): Use the latter.
2919         Define HAVE_MALLOC to 0 if broken.
2920         * doc/autoconf.texi (Particular Functions): Adjust.
2922 2002-07-16  Akim Demaille  <akim@epita.fr>
2924         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
2925         * doc/autoconf.texi (C Compiler): Adjust.
2927 2002-07-09  Akim Demaille  <akim@epita.fr>
2929         * doc/autoconf.texi: Properly set the ``header'' part.
2931 2002-07-09  Akim Demaille  <akim@epita.fr>
2933         * doc/autoconf.texi (Systemology): Some about Darwin.
2935 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
2937         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2938         Don't use AC_REQUIRE in AU_DEFUN.
2940 2002-07-09  Art Haas  <ahaas@neosoft.com>
2942         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
2944 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
2946         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2947         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
2948         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
2949         so that Emacs setups GNU style for perl-mode and cperl-mode.
2951 2002-06-27  Paul Eggert  <eggert@twinsun.com>
2953         * config/install-sh: Quote $src.  Prefer || to test's -o option,
2954         as per "Limitations of Builtins".
2955         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
2956         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2958         * tests/mktests.sh: Use grep instead of fgrep, as per
2959         "Limitations of Builtins".
2961 2002-06-15  Paul Eggert  <eggert@twinsun.com>
2963         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
2964         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
2965         so that we consistently test the just-built programs.
2966         * tests/wrappl.as: Likewise.
2968 2002-06-12  Paul Eggert  <eggert@twinsun.com>
2970         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
2971         name, so that symlinks to 'autoconf' work properly.  Bug reported
2972         by Bruno Haible.
2973         * bin/autoheader.in (AUTOM4TE): Likewise.
2974         * bin/autoreconf.in (autoconf, autoheader): Likewise.
2975         * bin/autoscan.in (autom4te): Likewise.
2976         * bin/autoupdate.in (autom4te): Likewise.
2978         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
2979         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
2980         on Solaris 2.5.1.
2982 2002-06-11  Andreas Schwab  <schwab@suse.de>
2984         * doc/autoconf.texi: Add more dir entries.
2986 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2988         * bin/autom4te.in ($cache): Don't define using `$me', the name
2989         of the cache should not depend on the name under which autom4te
2990         was installed.
2992 2002-06-07  Akim Demaille  <akim@epita.fr>
2994         * tests/tools.at (autoconf: forbidden tokens, basic)
2995         (autoconf: forbidden tokens, exceptions): Adjust to the change of
2996         words in autom4te.in.
2998 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
3000         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
3001         _AC_LANG_PROGRAM_C_F77_HOOKS.
3003 2002-06-07  Akim Demaille  <akim@epita.fr>
3005         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
3006         rename as...
3007         (AC_REPLACE_FNMATCH): this.
3008         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
3009         AC_FUNC_FNMATCH_GNU.
3011 2002-06-07  Akim Demaille  <akim@epita.fr>
3013         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
3014         Rosetta Stone for Unix.
3016 2002-06-07  Akim Demaille  <akim@epita.fr>
3018         * bin/autom4te.in (warn_forbidden): When rejecting a token,
3019         suggest m4_pattern_allow.
3020         Suggested by Adam J. Richter.
3022 2002-06-07  Akim Demaille  <akim@epita.fr>
3024         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
3025         ac_config_libobj_dir.
3026         (AC_CONFIG_LIBOBJ_DIR): New.
3027         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
3028         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
3029         Use ac_config_libobj_dir to find the replacement files.
3030         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
3031         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
3032         (AC_REPLACE_FNMATCH_GNU): these.
3033         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
3034         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
3035         * tests/mktests.sh (ac_exclude_list): Don't check
3036         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
3038 2002-06-06  Paul Eggert  <eggert@twinsun.com>
3040         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
3041         if ln doesn't work.
3042         * NEWS: Likewise.
3043         * doc/autoconf.texi (Configuration Links): Likewise.
3044         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
3046 2002-06-05  Paul Eggert  <eggert@twinsun.com>
3048         * config/config.guess, config/config.sub, config/texinfo.tex:
3049         Update from masters.
3051 2002-05-29  Paul Eggert  <eggert@twinsun.com>
3053         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
3054         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
3055         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
3056         Likewise.
3057         * lib/autoconf/Makefile.am (check-local): Likewise.
3058         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
3059         * lib/autoconf/types.m4 (commentary only): Likewise.
3060         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
3061         * lib/autotest/Makefile.am (check-local): Likewise.
3062         * lib/m4sugar/Makefile.am (check-local): Likewise.
3063         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
3064         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
3066         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
3067         * doc/autoconf.texi (Particular Programs): Document them.
3068         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
3069         * NEWS: Likewise.
3071 2002-05-27  Paul Eggert  <eggert@twinsun.com>
3073         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
3074         * NEWS, doc/autoconf.texi (Particular Types): Document it.
3075         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
3076         instead of AC_MBSTATE_T, which never existed.
3078 2002-05-23  Akim Demaille  <akim@epita.fr>
3080         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
3081         version of Autoconf that is discussed.
3083 2002-05-22  Paul Eggert  <eggert@twinsun.com>
3085         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
3086         from the default list of compilers to try.  Suggested by
3087         Kate Hedstrom.
3088         * NEWS: Document the above.
3089         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
3091 2002-05-17  Paul Eggert  <eggert@twinsun.com>
3093         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
3094         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
3095         This improves on an earlier suggestion by H. Peter Anvin.
3097 2002-05-16  Paul Eggert  <eggert@twinsun.com>
3099         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
3100         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
3101         Both macros now accept an optional source-dir arg.
3102         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
3104         * NEWS: Document this.
3105         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
3107         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
3108         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
3109         not for GNU extensions; this undoes part of the 2000-11-03 change,
3110         reverting to 2.13-compatible behavior.
3111         Add new optional argument DIR.
3112         (AC_FUNC_FNMATCH_GNU): New macro.
3114         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
3116 2002-05-08  Paul Eggert  <eggert@twinsun.com>
3118         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
3119         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
3120         and it causes a 'test' syntax error if it fails.
3121         Bug reported by Stephen Gildea.
3123         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
3124         If prototypes are supported, use them to check this at compile-time,
3125         instead of trying to check it at run-time.  If we must do a run-time
3126         check, assume that setvbuf is standard when cross-compiling, as
3127         nonstandard setvbuf occurs only on ancient and unlikely hosts.
3128         Bug reported by Paul D. Smith.
3130         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
3131         argument specifying location of getloadavg.c.  This removes a
3132         FIXME.  This idea was taken from Jim Meyering's implementation in
3133         textutils.
3134         * doc/autoconf.texi (Particular Functions): Document this.
3135         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
3136         that's what the code does; this fixes a bug reported by
3137         Paul D. Smith.
3139 2002-05-03  Akim Demaille  <akim@epita.fr>
3141         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
3142         autopoint instead of gettextize.
3143         ($uses_alocal): Rename as...
3144         ($uses_aclocal): this.
3145         * doc/autoconf.texi (autoreconf Invocation): Adjust.
3146         Suggested by Bruno Haible.
3148 2002-05-03  Akim Demaille  <akim@epita.fr>
3150         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
3152 2002-04-29  Paul Eggert  <eggert@twinsun.com>
3154         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
3155         files to be 1 second older; just set them to be the same time.
3156         Also, sleep 1 second after the first aclocal, to work around
3157         problems with sub-second time stamps on the input files.
3159 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
3161         * doc/autoconf.texi: Mention "set -e -x" lossage
3162         under node "Limitations of Builtins".
3164 2002-04-29  Akim Demaille  <akim@epita.fr>
3166         * doc/install.texi: Better wording for setting variables when
3167         running configure.
3168         From Christian Cornelssen.
3170 2002-04-29  Akim Demaille  <akim@epita.fr>
3172         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
3173         of lack of $LINENO support, then the test will compare the $LINENO
3174         in testsuite vs. the lineno in the test file.  This is wrong, of
3175         course.
3176         Be sure to protect it.
3177         Reported by Patrick Welche.
3179 2002-04-25  Akim Demaille  <akim@epita.fr>
3181         * doc/autoconf.texi (Obsolete Macros): Typo.
3182         Reported by Vladimir Volovich.
3184 2002-04-25  Akim Demaille  <akim@epita.fr>
3186         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
3187         than some of the input files, hence, on the second run of aclocal,
3188         if some of its input are younger, make them older.
3189         Suggested by Paul Eggert.
3191 2002-04-25  Akim Demaille  <akim@epita.fr>
3193         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
3194         Thanks to Paul Eggert.
3196 2002-04-25  Akim Demaille  <akim@epita.fr>
3198         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
3199         and ac_subst_vars be sh variables containing the list of
3200         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
3201         DEFAULT diversion.
3202         (_AC_INIT_PREPARE): Use them to log them.
3203         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
3204         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
3205         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
3206         _AC_SUBST_FILES and _AC_SUBST_VARS.
3207         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
3209 2002-04-24  Akim Demaille  <akim@epita.fr>
3211         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
3212         autoheader, so that automake does not complain about a missing
3213         config.h.in that was to be created.
3215 2002-04-23  Akim Demaille  <akim@epita.fr>
3217         * bin/autoheader.in (parse_args): --warning takes an argument.
3218         Fixes PR/220.
3220 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
3222         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
3223         and bb.out when cleaning up.
3225 2002-04-22  Akim Demaille  <akim@epita.fr>
3227         Version 2.53a.
3229 2002-04-22  Akim Demaille  <akim@epita.fr>
3231         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
3233 2002-04-22  Akim Demaille  <akim@epita.fr>
3235         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
3236         comma.
3237         Reported by Gregory Giannoni.
3239 2002-04-22  Akim Demaille  <akim@epita.fr>
3241         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
3242         Fixes false failures on Darwin.
3244 2002-04-21  Paul Eggert  <eggert@twinsun.com>
3246         * TODO, bin/autoupdate.in, doc/autoconf.texi,
3247         lib/autoconf/general.m4, lib/autoconf/libs.m4,
3248         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
3249         tests/tools.at: Minor spelling and grammar fixes.
3251 2002-04-20  Paul Eggert  <eggert@twinsun.com>
3253         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
3254         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
3255         * lib/autotest/general.m4 (AT_INIT): Likewise.
3256         * tests/atgeneral.m4 (AT_INIT): Likewise.
3258 2002-04-19  Paul Eggert  <eggert@twinsun.com>
3260         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
3261         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
3262         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
3263         lib/autoconf/functions.m4, lib/autoconf/general.m4,
3264         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
3265         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
3266         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
3267         Minor spelling and grammar fixes.
3269         * doc/autoconf.texi: Follow the outline suggested in the GNU
3270         Sample Texts sections of the Texinfo 4.2 manual.  Most
3271         importantly, this makes sure that the copyright notices appear in
3272         all output formats.  You probably need Texinfo 4.2 to generate
3273         the manual now.
3275         Fix some bugs when using "$@" when there might be zero positional
3276         arguments in cases where this matters.
3278         * bin/autoconf.as: Rewrite so that the problem does not come up.
3279         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
3280         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
3281         * lib/autotest/general.m4 (AT_INIT): Likewise.
3283         * bin/autoheader.in: Use 'case' statement to work around problem.
3284         * bin/auto4mte.in: Likewise.
3285         * bin/autoreconf.in: Likewise.
3286         * bin/autoscan.in: Likewise.
3287         * bin/autoupdate.in: Likewise.
3288         * bin/ifnames.in: Likewise.
3290         * doc/autoconf.texi (Shell Substitutions): Document the problem.
3292         * lib/autotest/general.m4 (AT_INIT):
3293         Use Zsh alias to work around problem.
3294         * tests/atgeneral.m4 (AT_INIT): Likewise.
3296         * tests/c.at: We can't have zero arguments, so remove workaround
3297         that is not portable to Zsh.
3299 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
3301         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
3302         from aclocal.m4 too.
3304 2002-04-12  Akim Demaille  <akim@epita.fr>
3306         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
3308 2002-04-10  Akim Demaille  <akim@epita.fr>
3310         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
3311         workaround for ${1+"$@"}.
3312         * doc/autoconf.texi (Shell Substitutions): Explain it.
3313         From Oliver Kiddle and Peter Stephenson.
3315         Have M4sh perform minimal shell sanitizing.
3317         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
3318         part into...
3319         (_AS_PREPARE): this new macro.
3320         (AS_PREPARE): New.
3321         (AS_INIT): Invoke AS_SHELL_SANITIZE.
3322         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
3324         Adjust Autoconf and Autotest.
3326         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
3327         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
3328         * lib/autotest/general.m4 (AT_INIT): Likewise.
3329         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3330         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
3331         AS_SHELL_SANITIZE.
3333         Use this M4sh to generate Autoconf's shell scripts.
3335         * tests/wrapsh.as: New, precursor of wrapsh.in.
3336         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
3337         on Autotest and M4sh.
3338         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
3339         (wrapsh.in): New target.
3340         * bin/autoconf.as: New, precursor of autoconf.in.
3341         (autoconf.in): New target.
3343 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
3345         * doc/autoconf.texi (Limitations of Make): Mention the issue
3346         with indented comments in rules.
3348 2002-04-09  Andreas Schwab  <schwab@suse.de>
3350         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
3351         ac_top_builddir when setting ac_abs_top_builddir.
3353 2002-04-06  Kevin Ryde  <user42@zip.com.au>
3355         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
3356         (Portable Shell): Cross reference to Systemology.
3358 2002-04-05  Akim Demaille  <akim@epita.fr>
3360         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
3361         directories when descending in a SUBDIRS.
3362         Reported by Ezra Peisach.
3364 2002-04-04  Andreas Schwab  <schwab@suse.de>
3366         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
3367         contains no literal separators.
3369 2002-04-03  Akim Demaille  <akim@epita.fr>
3371         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
3372         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
3373         Use dnl, not the KILL diversion.
3374         Extracted from...
3375         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
3376         (AC_CONFIG_LINKS): here.
3377         Adjust.
3378         Don't use the KILL diversion, as it kills spurious output, which
3379         results in failures being hidden.
3380         Use m4_defn where appropriate.
3381         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
3382         after the second argument.
3383         Use m4_defn.
3384         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
3385         syntax, as it is provided by M4sugar.
3386         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
3388 2002-04-03  Andreas Schwab  <schwab@suse.de>
3390         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
3391         expanded if $# <= 2.
3393         * bin/autoreconf.in (autoreconf): Run automake after rerunning
3394         aclocal.
3396 2002-04-03  Akim Demaille  <akim@epita.fr>
3398         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
3399         (_AC_COMPILER_EXEEXT_REJECT): New.
3400         Also recognize *.bb and *.bbg as compilation byproducts.
3401         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
3402         (_AC_COMPILER_OBJEXT): Use them.
3403         Fixes Debian #138666.
3405 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
3407         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
3409         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
3410         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
3411         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
3412         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
3413         (AC_C_CONST): Same.
3414         (AC_C_INLINE): Same.
3415         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
3416         * doc/autoconf.texi, NEWS: Document.
3417         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
3418         AC_C_CROSS.
3420 2002-04-02  Akim Demaille  <akim@epita.fr>
3422         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
3423         _AS_MKDIR_P_PREPARE.
3425 2002-03-28  Kevin Ryde  <user42@zip.com.au>
3427         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
3428         to avoid versions of HP C which don't allow that.
3430 2002-03-27  Paul Eggert  <eggert@twinsun.com>
3432         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
3433         (AS_SHELL_SANITIZE): Invoke it.
3434         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
3436 2002-03-26  Akim Demaille  <akim@epita.fr>
3438         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
3440 2002-03-26  Akim Demaille  <akim@epita.fr>
3442         * doc/autoconf.texi (Introduction): The GNATS base moved.
3444 2002-03-25  Paul Eggert  <eggert@twinsun.com>
3446         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
3447         as POSIX requires, as it doesn't work with Zsh.
3448         * doc/autoconf.texi (Assignments): Document the problem.
3450 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
3452         * doc/autoconf.texi (Limitations of Make): Mention more issue
3453         about VPATH, overriding of macros in sub-makes, and handling of
3454         SHELL.
3456 2002-03-21  Paul Eggert  <eggert@twinsun.com>
3458         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
3459         problem with here-document buffer boundaries.
3461         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
3462         when reinvoking the shell, to work around problems with installers
3463         who put strange things like "cd" commands in their environments.
3465 2002-03-19  Akim Demaille  <akim@epita.fr>
3467         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
3468         From Aaron Ucko.
3470 2002-03-19  Akim Demaille  <akim@epita.fr>
3472         * bin/autoscan.in (scan_file): Specify the location in `&used'
3473         invocations.
3474         From Nicolas Joly.
3476 2002-03-19  Akim Demaille  <akim@epita.fr>
3478         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
3479         From Nishio Futoshi.
3481 2002-03-19  Akim Demaille  <akim@epita.fr>
3483         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
3485 2002-03-18  Paul Eggert  <eggert@twinsun.com>
3487         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
3488         (Limitations of Usual Tools): Add mkdir section.
3490         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
3491         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
3492         back on AS_DIRNAME to compute prefixes otherwise; this is
3493         roughly what mkinstalldirs does.  That way, we need not have
3494         our own filename disassembler.  The old disassembler did not
3495         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
3497         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
3498         Create at_test_all by a series of assignments,
3499         not by a single assignment of a long string.  The latter causes ksh
3500         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
3501         presumably because of a buffer overrun.
3503 2002-03-14  Paul Eggert  <eggert@twinsun.com>
3505         * lib/autotest/general.m4 (at_times_skip):
3506         Renamed from at_times.  Now a boolean.
3507         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
3508         says 'times: not found'.
3510 2002-03-14  Akim Demaille  <akim@epita.fr>
3512         * bin/autoreconf.in (&study_gettextize): New.
3513         (&autoreconf): Handle newest gettextize.
3514         Rerun aclocal if needed.
3515         Suggested by Andreas Schwab.
3517 2002-03-13  Akim Demaille  <akim@epita.fr>
3519         * doc/autoconf.texi (Special Shell Variables): More about IFS.
3521 2002-03-13  Akim Demaille  <akim@epita.fr>
3523         * doc/autoconf.texi (Header Portability): New.
3524         Add information about stdint.h and inttypes.h from Paul Eggert.
3526 2002-03-13  Akim Demaille  <akim@epita.fr>
3528         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
3529         -p'.
3530         From Bob Proulx.
3532 2002-03-12  Akim Demaille  <akim@epita.fr>
3534         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
3535         m4_require.
3537 2002-03-11  Andreas Schwab  <schwab@suse.de>
3539         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
3540         does not do it if --with-lispdir is given.
3542 2002-03-08  Akim Demaille  <akim@epita.fr>
3544         Version 2.53.
3546 2002-03-08  Akim Demaille  <akim@epita.fr>
3548         * doc/autoconf.texi (Subdirectories): Clarify that the
3549         subdirectory should exist.
3551 2002-03-08  Akim Demaille  <akim@epita.fr>
3553         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
3555 2002-03-08  Akim Demaille  <akim@epita.fr>
3557         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
3558         aliases the actual variables, and modifications of the former
3559         affect the latter.
3561 2002-03-08  Akim Demaille  <akim@epita.fr>
3563         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
3564         because of C-c: have m4 output in tmp files, then mv them.
3566 2002-03-08  Akim Demaille  <akim@epita.fr>
3568         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
3569         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
3570         * bin/ifnames.in: Copyright update.
3572 2002-03-08  Akim Demaille  <akim@epita.fr>
3574         * doc/autoconf.texi (Invoking autom4te): New.
3576 2002-03-05  Akim Demaille  <akim@epita.fr>
3578         * doc/autoconf.texi (Specifying Names): Clarification suggested by
3579         Kevin Ryde.
3581 2002-03-05  Akim Demaille  <akim@epita.fr>
3583         Version 2.52i.
3585 2002-03-04  Akim Demaille  <akim@epita.fr>
3587         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
3588         * lib/autoconf/general.m4 (AC_INIT): More informative error
3589         message for LIBOBJ.
3591 2002-03-04  Akim Demaille  <akim@epita.fr>
3593         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
3594         parallel builds.
3596 2002-03-04  Akim Demaille  <akim@epita.fr>
3598         * doc/autoconf.texi (Transforming Names): Equality between target
3599         and host is irrelevant.
3600         (Specifying Names, Canonicalizing): Remove all references to the
3601         backward compatibility hooks.  Rather, collect them all into...
3602         (Hosts and Cross-Compilation): this new section.
3603         * doc/install.texi (System Type): Ditto.
3604         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
3605         that `--host' implies cross-compilation.
3607 2002-03-04  Akim Demaille  <akim@epita.fr>
3609         * doc/autoconf.texi (Evaluation Macros): New.
3610         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
3611         useless.
3612         (_m4_foreach): Define the variant with immediate evaluation so
3613         that it contains exactly the items, not an expression which
3614         evaluation is the current item.
3615         (m4_re_string, m4_re_word): Don't over quote them.
3617 2002-03-04  Akim Demaille  <akim@epita.fr>
3619         Instead of having stacking `shift's evaluated at the end, let
3620         `foreach' loops immediately evaluate them.
3622         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
3623         $*.  This is the n-th time I change my mind, but hopefully this is
3624         the last...
3625         (m4_lquote): New.
3626         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
3627         efficient.
3628         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
3629         it was only a hack for m4_text_wrap.
3630         (m4_car2): Remove, replaced by...
3631         (m4_cdr): New.
3632         (_m4_foreach): Adjust.
3633         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
3634         m4_bpatsubst for clarification.
3636 2002-03-04  Akim Demaille  <akim@epita.fr>
3638         * doc/autoconf.texi (Changequote is Evil): New.
3640 2002-03-03  Kevin Ryde  <user42@zip.com.au>
3642         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
3643         on old systems like SunOS.
3645 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
3647         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3648         lib/autoconf/functions.m4, lib/autoconf/general.m4,
3649         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
3650         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
3651         of messages.
3653 2002-02-28  Akim Demaille  <akim@epita.fr>
3655         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
3656         message to be sent.
3658 2002-02-28  Kevin Ryde  <user42@zip.com.au>
3660         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
3662 2002-02-25  Akim Demaille  <akim@epita.fr>
3664         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
3665         From Akinori Musha.
3667 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
3669         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
3670         translate \r\n to \n.
3672 2002-02-07  Akim Demaille  <akim@epita.fr>
3674         Version 2.52h.
3676 2002-02-07  Akim Demaille  <akim@epita.fr>
3678         Fix Autoconf PR/209.
3679         Also reported by Frank Denis.
3681         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
3683 2002-02-07  Akim Demaille  <akim@epita.fr>
3685         Fix Autoconf PR/207:
3686         AC_PREFIX_PROGRAM fails with dashed program names
3688         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
3689         variable when looking for the prefix program.
3690         Now it also works for shell variables.
3692 2002-02-07  Akim Demaille  <akim@epita.fr>
3694         * doc/autoconf.texi (Limitations of Builtins): More about
3695         case/esac.
3697 2002-02-06  Akim Demaille  <akim@epita.fr>
3699         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
3700         case/esac, some shells don't support it.
3701         Reported by Zack Weinberg.
3702         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
3704 2002-02-06  Akim Demaille  <akim@epita.fr>
3706         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
3707         sure not to introduce newlines in at_groups.
3708         * lib/autotest/Makefile.am (autotest.m4f): Typo.
3710 2002-02-06  Akim Demaille  <akim@epita.fr>
3712         * tests/torture.at (Configuring subdirectories): Skip if aclocal
3713         is not available.
3715 2002-02-05  Paul Eggert  <eggert@twinsun.com>
3717         * doc/autoconf.texi (Specific Compiler Characteristics):
3718         Describe HP-UX cc bug workaround more accurately.
3719         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
3720         not unsigned long.
3721         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
3722         cross-compilers, too.  This undoes some of the most recent change
3723         to this file.
3725 2002-02-05  Akim Demaille  <akim@epita.fr>
3727         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
3728         to make sure they are up to date when `check' is run.
3730 2002-02-05  Akim Demaille  <akim@epita.fr>
3732         * doc/autoconf.texi (Making testsuite Scripts): Document
3733         package.m4.
3735 2002-02-05  Akim Demaille  <akim@epita.fr>
3737         * lib/freeze.mk: New.
3739 2002-02-05  Akim Demaille  <akim@epita.fr>
3741         Implement `autom4te --freeze'.
3743         * bin/autom4te.in (&freeze): New.
3744         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
3745         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
3747 2002-02-05  Akim Demaille  <akim@epita.fr>
3749         * bin/autom4te.in (&parse_args): Implement `frozen files are
3750         optional are the sum of the previous files on the command line'.
3751         Also, pass `--reload-state=' on them, so...
3752         (handle_m4): don't.
3753         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
3754         (M4sh): Rely on M4sugar.
3755         (Autotest, M4sh, M4sugar): Use frozen files.
3757 2002-01-31  Akim Demaille  <akim@epita.fr>
3759         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
3760         * doc/autoconf.texi (Initializing configure): Adjust.
3762 2002-01-30  Akim Demaille  <akim@epita.fr>
3764         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
3765         alphanumeric to `-' instead of `_'.
3767 2002-01-30  Akim Demaille  <akim@epita.fr>
3769         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
3770         for plain code, the other for cross-compilation code.  The latter
3771         is now run with GCC only.
3772         * doc/autoconf.texi (Compilers and Preprocessors): New.
3774 2002-01-30  Akim Demaille  <akim@epita.fr>
3776         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
3777         values.
3778         * doc/autoconf.texi (Initializing configure): Explain how to
3779         change AC_INIT default values.
3781 2002-01-29  Akim Demaille  <akim@epita.fr>
3783         * tests/torture.at (Configuring subdirectories): Use configure.in,
3784         so that aclocal 1.4 works.
3785         Reported by Alexandre Duret-Lutz and Larry Schmitt.
3787 2002-01-28  Akim Demaille  <akim@epita.fr>
3789         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
3790         needs an argument.
3792 2002-01-28  Akim Demaille  <akim@epita.fr>
3794         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
3795         AUTOTEST_PATH *after* it was set.
3796         Don't put `.' in the PATH: the user should be precise and `./' if
3797         needed.  In addition, given that the test suite does some `cd', if
3798         `.' is in the path, the `tested programs' sections will report
3799         programs found in the test suite's directory, while during the
3800         tests (performed in their own directory), these programs are no
3801         longer visible.  In other words, the results is confusing and
3802         useless.
3803         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
3805 2002-01-24  Akim Demaille  <akim@epita.fr>
3807         Version 2.52g.
3809 2002-01-24  Akim Demaille  <akim@epita.fr>
3811         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
3812         * doc/autoconf.texi: Finally add Akim as an author.
3814 2002-01-24  Akim Demaille  <akim@epita.fr>
3816         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
3817         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
3818         Bourne. Use /bin/sh.
3819         From Andreas Buening.
3821 2002-01-24  Akim Demaille  <akim@epita.fr>
3823         * config/config.guess, config/config.sub, config/texinfo.tex:
3824         Update from masters.
3826 2002-01-24  Akim Demaille  <akim@epita.fr>
3828         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
3829         * config/auxdir.m4, config/cond.m4, config/depend.m4,
3830         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
3831         * config/missing.m4, config/sanity.m4, config/select.m4,
3832         * config/strip.m4: Remove, to ease sync'ing with any version of
3833         Automake.
3835 2002-01-24  Akim Demaille  <akim@epita.fr>
3837         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
3838         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
3839         Reported by Geir Ove Myhr.
3841 2002-01-21  Akim Demaille  <akim@epita.fr>
3843         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
3845 2002-01-21  Akim Demaille  <akim@epita.fr>
3847         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
3848         message on invalid options.
3849         * bin/autom4te.in (parse_args): Don't use
3850         Autoconf::General::getopt with non valid options.
3852 2002-01-17  Jim Meyering  <meyering@lucent.com>
3854         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
3855         $ac_cv_exeext so we don't use an old, invalid, cached value.
3857 2002-01-11  Akim Demaille  <akim@epita.fr>
3859         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
3860         Meyering.
3861         * doc/autoconf.texi (Function Portability): Document the strnlen
3862         limitation.
3863         (Particular Functions): Document AC_FUNC_STRNLEN.
3864         * lib/autoscan/functions: Adjust.
3866 2002-01-06  Akim Demaille  <akim@epita.fr>
3868         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
3869         package.m4, since is really depends upon configure.ac, not
3870         configure.
3871         * doc/autoconf.texi (testsuite Scripts): Adjust.
3872         * tests/Makefile.am (package.m4): New.
3873         EXTRA_DIST it since its a source.
3875 2002-01-06  Akim Demaille  <akim@epita.fr>
3877         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
3878         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
3879         and PACKAGE_BUGREPORT from here...
3880         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
3881         arguments.
3882         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
3883         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
3884         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
3885         * tests/tools.at (autoheader): Adjust.
3886         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
3888 2002-01-06  Akim Demaille  <akim@epita.fr>
3890         * bin/autoscan.in (scan_file): Use `&used'.
3892 2002-01-03  Akim Demaille  <akim@epita.fr>
3894         * doc/autoconf.texi (Output): Improved wording regarding use of
3895         AC_OUTPUT.
3896         From Olly Betts.
3898 2001-12-18  Kevin Ryde  <user42@zip.com.au>
3900         * doc/autoconf.texi (Function Portability): Add notes on sscanf
3901         sometimes needing writable input.
3903 2001-12-17  Jim Meyering  <meyering@lucent.com>
3905         * doc/autoconf.texi (New Macros): Tweak wording.
3907 2001-12-14  Akim Demaille  <akim@epita.fr>
3909         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
3910         trailing files, don't apply `-rf' to files which might not be
3911         created by configure (core, core.*, and *.core), but just `rm -f'.
3912         Suggested by Jonathan Kamens.
3914 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
3916         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
3918 2001-12-14  Akim Demaille  <akim@epita.fr>
3920         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
3922 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
3924         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
3925         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
3926         abs_srcdir, top_srcpath to abs_top_srcdir.
3927         (_AC_OUTPUT_FILES): Adjust.
3928         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
3929         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
3930         * tests/wrappl.in, tests/wrapsh.in: Adjust.
3932 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
3934         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
3935         C/Fortran linking on HP/UX, by extracting the Fortran library
3936         search path from the LPATH line in the $F77 -v output.
3938 2001-12-12  Kevin Ryde  <user42@zip.com.au>
3940         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
3941         forbidden file descriptors table.
3943 2001-11-26  Akim Demaille  <akim@epita.fr>
3945         * bin/autoscan.in (%c_keywords): Build it at top level.
3946         Map to 1 in order to simplify its uses.
3948 2001-11-26  Akim Demaille  <akim@epita.fr>
3950         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
3951         Remove $filepath, useless.
3952         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
3953         variables, they are really part of the tokens.
3954         Split the input line on spaces and then look for tokens.
3955         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
3956         because of `lex$U.$(OBJEXT)'.
3957         (&scan_files): Use "@list" instead of join.
3958         * doc/Makefile.am (CLEANFILES): Add *.fns.
3960 2001-11-26  Akim Demaille  <akim@epita.fr>
3962         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
3963         Remove, replaced by...
3964         * tests/wrappl.in: Be common for all the Perl executables.
3965         In particular autoscan and autoheader want -I.
3966         * configure.ac: Adjust.
3967         * lib/autoscan/headers: errno.h is portable.
3969 2001-11-26  Akim Demaille  <akim@epita.fr>
3971         * bin/autoscan.in (used): New.
3972         Use it.
3974 2001-11-26  Akim Demaille  <akim@epita.fr>
3976         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
3977         directives.
3978         (&scan_sh_file): Remove a duplicate pattern.
3979         (&check_configure_ac): Use long options.
3980         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
3982 2001-11-26  Akim Demaille  <akim@epita.fr>
3984         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
3985         Before, having a line containing the opening of a multi line
3986         comment made the whole line be ignored.
3988 2001-11-26  Akim Demaille  <akim@epita.fr>
3990         * doc/autoconf.texi (Using an Autotest Test Suite): New.
3991         (testsuite Scripts): Be one of its subsection.
3992         (Autotest Logs): New.
3994 2001-11-26  Akim Demaille  <akim@epita.fr>
3996         Test groups are now run two directories deeper.
3998         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
3999         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
4000         at_top_builddir.
4001         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
4002         top_srcdir, builddir and top_builddir.
4003         Use `at_*dir' relatively to the directory containing the
4004         suite, use `*dir' when relatively to the current group dir.
4006 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
4008         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
4009         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
4010         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
4011         spelling errors.
4013 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
4015         * doc/autoconf.texi (Using System Type): Add an example of `case
4016         $host' usage so people quit using `case $target' everywhere.
4018 2001-11-22  Akim Demaille  <akim@epita.fr>
4020         * doc/autoconf.texi (Installation Directory Variables): Englishoes
4021         spotted by Jim Meyering.
4023 2001-11-16  Paul Eggert  <eggert@twinsun.com>
4025         This patch implements a `long double' suggestion by Oliver Kiddle.
4027         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
4028         static, to catch errors if the value isn't known at compile-time
4029         and the compiler supports dynamic arrays.  Change its name from
4030         `_array_' to `test_array' to avoid potential name clashes.
4031         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
4032         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
4033         better than double.  Catch a bug in GCC 2.95.2 x86.
4034         * doc/autoconf.texi (C Compiler): Document the above.
4035         * NEWS: Likewise.
4037 2001-11-13  Akim Demaille  <akim@epita.fr>
4039         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
4040         hand.
4041         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
4043 2001-11-13  Akim Demaille  <akim@epita.fr>
4045         * lib/autotest/general.m4 (AT_INIT): After having run the test
4046         group, go back to the initial directory, not to at_suite_dir.
4048 2001-11-13  Akim Demaille  <akim@epita.fr>
4050         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
4051         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
4052         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
4053         option.
4054         (AT_CHECK_CONFIGURE): Use absolute paths.
4055         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
4056         The problem is still the old one: there is no means in M4 (that I
4057         know about) to create a defining macro, because there is no means
4058         to create `$1' etc., therefore, the defining macro ``swallows''
4059         all the arguments meant to the defined macro.
4061 2001-11-13  Akim Demaille  <akim@epita.fr>
4063         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
4064         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
4065         configure.ac.
4066         * tests/aclocal.m4: Remove, as it is no longer used.
4068 2001-11-13  Akim Demaille  <akim@epita.fr>
4070         * lib/autotest/general.m4: Change `tests?' into `groups?' in
4071         variable names when referring to a single test group, or to
4072         `suite' when referring to the whole test suite.
4073         `at_last_test' is removed: m4 compute at_format itself.
4074         (at_stdout, at_stder1, at_stderr): New variables.
4075         (AT_CHECK): Use them.
4077 2001-11-13  Akim Demaille  <akim@epita.fr>
4079         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
4080         in PATH.
4081         Create `testsuite.dir/003/run' instead of `testsuite.003'.
4082         Do it as soon as a test fails, don't wait till the end of the test
4083         suite.
4084         Don't remove $as_me.[0-9]*, since these files no longer exist.
4086 2001-11-13  Akim Demaille  <akim@epita.fr>
4088         * tests/tools.at: Use absolute paths, since we are no longer run
4089         in place.
4091 2001-11-13  Akim Demaille  <akim@epita.fr>
4093         Now that tests are running in their own private dir, there is no
4094         need to list the files to remove at the end of tests groups.
4096         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
4097         (AT_data_files, at_data_files): Remove.
4098         (AT_CLEANUP, AT_DATA): Simplify.
4099         (AT_INIT): Adjust.
4100         Remove the group dir if !debug && !failed.
4101         * tests/atspecific.m4: Adjust.
4103 2001-11-13  Akim Demaille  <akim@epita.fr>
4105         Start a new layout for Autotest: `testsuite' creates
4106         `testsuite.dir' in which the at-check-line etc. files are to be
4107         found, and `testsuite.dir/003' where the test group 3 is run.
4109         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
4110         at_check_line_file, at_format, at_test_normalized, at_group_dir
4111         are new variables.
4112         Create the directories.
4113         Use absolute paths for at- files.
4114         (AT_CHECK): Adjust.
4116 2001-11-11  Michael Matz  <matz@kde.org>
4118         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
4119         (m4_car2): New.
4120         (m4_car): Properly quote arguments.
4122 2001-11-13  Akim Demaille  <akim@epita.fr>
4124         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
4125         with stricter rules on LIBOBJS.
4127 2001-11-12  Paul Eggert  <eggert@twinsun.com>
4129         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
4130         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
4131         __PROTOTYPES too.
4133 2001-11-12  Akim Demaille  <akim@epita.fr>
4135         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
4137 2001-11-12  Akim Demaille  <akim@epita.fr>
4139         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
4140         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
4141         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
4142         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
4143         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
4144         specify to what the macro should be defined (typically to 1).
4146 2001-11-12  Akim Demaille  <akim@epita.fr>
4148         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
4149         From Jim Meyering.
4151 2001-11-12  Akim Demaille  <akim@epita.fr>
4153         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
4154         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
4155         definition used by Automake where LEX is +/- "${missing} lex" and
4156         `missing' itself contains variables.
4158 2001-11-12  Akim Demaille  <akim@epita.fr>
4160         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
4161         Now that M4sh pushes BODY, the comments were output at the end of
4162         the test suites.
4164 2001-11-08  Akim Demaille  <akim@epita.fr>
4166         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
4167         that we can trace macros from aclocal.m4.
4168         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
4169         obsoleted, and redirect to the former anyway.
4170         Reported by Ralf Corsepius.
4172 2001-11-08  Akim Demaille  <akim@epita.fr>
4174         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
4175         processed only if present.
4176         * tests/torture.at (Configuring subdirectories): Use autoreconf
4177         instead of successive calls to autoconf.
4178         Add a nonexistent subdirectory to exercise the patch above.
4179         Reported by Ralf Corsepius.
4181 2001-11-08  Kevin Ryde  <user42@zip.com.au>
4183         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
4184         doesn't accept .S files.
4186 2001-11-07  Akim Demaille  <akim@epita.fr>
4188         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
4189         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
4190         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
4191         * bin/autom4te.in (warn_forbidden): New.
4192         (handle_output): Use it.
4193         Read m4_pattern_forbid with messages.
4195 2001-11-05  Akim Demaille  <akim@epita.fr>
4197         * bin/autom4te.in (--normalize): Remove.
4198         * lib/autom4te.in: Adjust.
4200 2001-11-05  Akim Demaille  <akim@epita.fr>
4202         * tests/Makefile.am (testsuite): Rename this target as...
4203         ($(TESTSUITE)): this.
4204         From Nicolas Joly.
4206 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
4208         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
4209         the --prefix option, also remove it's argument.
4211 2001-11-05  Akim Demaille  <akim@epita.fr>
4213         * doc/autoconf.texi (testsuite Invocation): Update.
4214         (Writing testsuite.at): Update.
4216 2001-11-03  Akim Demaille  <akim@epita.fr>
4218         * doc/autoconf.texi: s/@code/@command/ where appropriate.
4220 2001-11-03  Akim Demaille  <akim@epita.fr>
4222         * lib/Autom4te/General.pm: (&catfile, &canonfile)
4223         (&file_name_is_absolute): New, wrappers around routines from
4224         File::Spec.
4225         Use and export them.
4226         (&find_configure_ac): Optionally take a directory where to look at.
4227         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
4228         the arguments.
4229         Default @ARGV to `.', not find_configure_ac.
4230         (&autoreconf): Argument is a directory.
4231         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
4232         * doc/autoconf.texi (autoreconf Invocation): Update.
4234 2001-11-03  Akim Demaille  <akim@epita.fr>
4236         * lib/Autom4te/General.pm (@export_vars, @export_subs)
4237         (@export_forward_subs): New.
4238         Add basename, dirname, and fileparse.
4239         (@EXPORT): Adjust.
4240         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
4241         Don't look for aclocal flags if we already know aclocal is not
4242         used.
4243         Move aclocal.m4t only if it exists.
4244         Reported by Ezra Peisach.
4246 2001-11-03  Akim Demaille  <akim@epita.fr>
4248         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
4249         passed on command line, defaulting to ./configure.ac if present.
4250         (&maybe_autoreconf, File::Find): Remove, unused.
4251         (&autoreconf): If autoconf is not used, don't try to trace.
4253 2001-11-02  Akim Demaille  <akim@epita.fr>
4255         * configure.ac: Bump to 2.52g.
4257 2001-11-02  Akim Demaille  <akim@epita.fr>
4259         Version 2.52f.
4261 2001-11-02  Akim Demaille  <akim@epita.fr>
4263         * config/config.guess, config/config.sub, doc/standards.texi:
4264         * config/lispdir.m4: Update from masters.
4265         * configure.ac: Bump to 2.52f.
4267 2001-11-02  Akim Demaille  <akim@epita.fr>
4269         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
4270         Don't run aclocal when aclocal.m4 is not from aclocal.
4271         From Ezra Peisach.
4272         Don't run libtoolize and gettextize if --install is not given.
4274 2001-11-01  Paul Eggert  <eggert@twinsun.com>
4276         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
4277         be invoked before _AS_LINENO_PREPARE.
4278         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
4279         than character ranges.
4281         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
4282         invoking AS_BASENAME.  Set the locale variables to 'C' if
4283         possible, as POSIX requires this to get the traditional
4284         behavior.
4285         * doc/autoconf.texi (Special Shell Variables): Describe the above.
4287 2001-10-31  Paul Eggert  <eggert@twinsun.com>
4289         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
4290         with {}, as that triggers a bug in Bash 2.05.
4292         (_AS_LINENO_PREPARE): Use Sed rather than
4293         Awk.  Fix the sed prepass to work even if there are multiple
4294         instances of $LINENO on the same line.  Do not substitute for
4295         other variables like $LINENOT.  Do not check file dates; such a
4296         check is unreliable on sufficiently fast machines, and removing
4297         the check makes the code simpler and more reliable.  Check for
4298         output and chmod failures.
4300         * doc/autoconf.texi (Special Shell Variables): Document
4301         the above.
4303 2001-10-31  Akim Demaille  <akim@epita.fr>
4305         * tests/Makefile.am (atconfig): Remove this target, Automake
4306         handles it now.
4308 2001-10-31  Akim Demaille  <akim@epita.fr>
4310         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
4311         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
4312         provided, while it is optional.
4313         * configure.ac: Adjust.
4315 2001-10-26  Paul Eggert  <eggert@twinsun.com>
4317         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
4318           lib/Autom4te/Struct.pm:
4319         Require Perl 5.005_03 instead of just 5.005, as some tests fail
4320         with 5.005_02.
4322         * doc/autoconf.texi (Special Shell Variables): Document some
4323         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
4325         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
4326         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
4327         eval $LINENO is not portable in practice.
4329 2001-10-24  Akim Demaille  <akim@epita.fr>
4331         * lib/Autom4te/General.pm (backname): New.
4333 2001-10-24  Akim Demaille  <akim@epita.fr>
4335         * m4/: Remove, merged into...
4336         * config/: here.
4338 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
4340         * doc/autoconf.texi (Shellology): Mention the problems with bash
4341         2.05's use of ANSI quoting in its `set' builtin.
4343 2001-10-22  Paul Eggert  <eggert@twinsun.com>
4345         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
4346         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
4347         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
4348         POSIX decided to standardize on the int flavor of strerror_r.
4349         Always do char* test, as there's no reason not to.
4350         Assign to a char* var, to catch strerror_r that returns int*.
4352         * doc/autoconf.texi (Particular Functions):
4353         Document the above changes.  Also, document the fact that
4354         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
4356         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
4358 2001-10-20  Akim Demaille  <akim@epita.fr>
4360         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
4361         the executable was missing from the log.
4363 2001-10-20  Akim Demaille  <akim@epita.fr>
4365         * lib/Autom4te/General.pm (&update_file): If destination is
4366         unchanged, remove the source.
4367         (&up_to_date_p): Don't be verbose, be debug.
4368         * bin/autoreconf.in: No longer support --m4dir.
4369         (&autoreconf): Display the full path of the configure.ac we are
4370         studying.
4371         Trace it only once.
4372         Be sure to honor --force with gettextize.
4373         Always run aclocal.
4374         * doc/autoconf.texi: Adjust.
4376 2001-10-20  Akim Demaille  <akim@epita.fr>
4378         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
4379         Remove, dead.
4380         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
4381         `intl' is already present, as it refuses unless --force.
4382         (&parse_args): Use -I, --include instead of the old Autoconf
4383         options.
4384         ($localdir, $autoconf_dir): Remove.
4385         (@include): New.
4386         (&maybe_autoreconf): New, to preserve $_ for File::Find.
4388 2001-10-19  Jens Petersen  <petersen@redhat.com>
4390         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
4391         * doc/autoconf.texi (Particular Programs): Likewise.
4393 2001-10-19  Akim Demaille  <akim@epita.fr>
4395         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
4396         file in @configure_input@.
4397         Don't mention `automatically' in addition to `generated'.
4398         * tests/torture.at (#define header templates): Adjust.
4400 2001-10-19  Akim Demaille  <akim@epita.fr>
4402         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
4403         comment, explain how to install automatic mode selection.
4404         From Russ Allbery.
4406 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
4408         * bin/autoreconf.in (autoreconf): Display the path to the
4409         configure.ac being studied.
4411 2001-10-18  Paul Eggert  <eggert@twinsun.com>
4413         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
4414         long, to work around a bug in the HP C compiler version HP92453-01
4415         B.11.11.23709.GP.
4417         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
4418         (AS_BASENAME_EXPR): New macro.
4419         (AS_BASENAME_SED): Do not assume GNU sed semantics.
4420         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
4421         and fall back on 'sed' only if the other two fail.  This makes
4422         AS_BASENAME act more like AS_DIRNAME.
4423         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
4424         contains white space.
4425         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
4426         Use AS_DIRNAME, since I think it's now DOS-friendly.
4427         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
4428         Allow "dirname //FOO" to return either / or //, as POSIX allows
4429         either behavior.
4431 2001-10-10  Akim Demaille  <akim@epita.fr>
4433         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
4434         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
4435         From Eric Sharkey.
4437 2001-10-10  Akim Demaille  <akim@epita.fr>
4439         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
4440         m4_define, since...
4441         (_AS_ECHO_N): AS_REQUIREs it.
4443 2001-10-10  Akim Demaille  <akim@epita.fr>
4445         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
4446         (AC_INCLUDES_DEFAULT): Move to...
4447         * lib/autoconf/headers.m4: here.
4448         * lib/autoconf/types.m4: Comment changes.
4449         * doc/autoconf.texi: Specify where the default includes are used
4450         in the macro prototypes.
4452 2001-10-09  Akim Demaille  <akim@epita.fr>
4454         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
4455         transition code.
4457 2001-10-08  Akim Demaille  <akim@epita.fr>
4459         * bin/autoreconf.in (&autoreconf): Remove debugging code.
4460         (&parse_args): Pass verbosity/debugging options to subtools when
4461         --debug, not when --verbose.
4462         * lib/autom4te.in (Autoreconf-preselections): New.
4463         (Autoconf): Use it.
4465 2001-10-08  Akim Demaille  <akim@epita.fr>
4467         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
4469 2001-10-08  Akim Demaille  <akim@epita.fr>
4471         * doc/autoconf.texi (autoreconf Invocation): Adjust.
4472         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
4474 2001-10-08  Akim Demaille  <akim@epita.fr>
4476         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
4477         (Syntax of the shell scripts): Don't.
4478         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
4479         bother with $force since...
4480         * lib/Autom4te/General.pm: does.
4482 2001-10-08  Akim Demaille  <akim@epita.fr>
4484         * bin/autoreconf.in: Rewrite in Perl.
4485         * configure.ac: Adjust.
4486         * lib/Autom4te/General.pm (&up_to_date_p): New.
4487         * bin/autom4te.in (&up_to_date_p): Use it.
4488         Rename as...
4489         (&up_to_date): this.
4491 2001-10-08  Akim Demaille  <akim@epita.fr>
4493         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
4494         (m4_list_cmp): Use $0 to reinvoke yourself.
4495         (m4_patsubsts): New.
4496         (m4_strip, m4_version_unletter): Use it.
4497         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
4499 2001-10-08  Akim Demaille  <akim@epita.fr>
4501         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
4502         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
4503         * lib/autoconf/types.m4, lib/autotest/general.m4,
4504         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
4505         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
4506         m4_bregexp, m4_bpatsubst, and m4_bmatch.
4507         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
4509 2001-10-08  Akim Demaille  <akim@epita.fr>
4511         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
4513 2001-10-08  Akim Demaille  <akim@epita.fr>
4515         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
4516         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
4517         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
4518         * tests/tools.at, tests/m4sh.at: Use it.
4519         * tests/m4sh.at: Don't rely on Autoconf macros.
4520         (DIRNAME_TEST): Also exercise the expr variant.
4521         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
4522         preferred M4sugar extension is now `.4s'.
4523         * tests/README: Remove.
4525 2001-10-08  Akim Demaille  <akim@epita.fr>
4527         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
4528         (m4_provide_if): this.
4529         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
4530         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
4531         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
4532         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
4534 2001-10-08  Akim Demaille  <akim@epita.fr>
4536         Use `add-log-current-defun-function' for ChangeLog creation.
4537         Suggested by Tom Tromey.
4539         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
4540         (autotest-mode): Adjust.
4541         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
4542         'comment-region onto `C-c ;'.
4543         Comments are `#', not `dnl'.
4544         (autoconf-current-defun): New.
4545         (autoconf-font-lock-keywords): Recognize `m4_defun'.
4547 2001-10-08  Akim Demaille  <akim@epita.fr>
4549         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
4550         * lib/m4sugar/m4sh.m4: here.
4551         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
4552         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
4553         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
4554         include handle the m4_pattern_*, no longer push the
4555         BODY diversion nor set the /bin/sh line, AS_INIT does it.
4556         * lib/autotest/general.m4 (AT_INIT): Likewise.
4557         * tests/base.at: Adjust the tests to use AS_INIT.
4558         * tests/tools.at (AT_DATA_FORBIDDEN): New.
4559         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
4560         Autoconf.
4562 2001-10-07  Paul Eggert  <eggert@twinsun.com>
4564         * doc/autoconf.texi (config.status Invocation):
4565         CONFIG_SHELL defaults to a shell that supports LINENO if available.
4567         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
4568         shell does not support LINENO, and if CONFIG_SHELL is unset or
4569         empty, and if we can find a shell that does support LINENO,
4570         then set CONFIG_SHELL to that shell and then re-execute
4571         ourselves with CONFIG_SHELL.
4573 2001-10-05  Paul Eggert  <eggert@twinsun.com>
4575         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
4576         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
4577         build of $(TESTSUITE).
4579 2001-10-05  Akim Demaille  <akim@epita.fr>
4581         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
4582         iff we are a bareword.
4583         Reported by Raja R Harinath.
4585 2001-10-05  Akim Demaille  <akim@epita.fr>
4587         * tests/m4sh.at (LINENO): New.
4588         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
4589         PATH_SEPARATOR before using it.
4590         Fix the absolute path case/esac pattern.
4591         Provide $0 as fallback for as_myself.
4592         Reported by Raja R Harinath.
4594 2001-10-05  Akim Demaille  <akim@epita.fr>
4596         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
4597         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
4599 2001-10-05  Akim Demaille  <akim@epita.fr>
4601         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
4602         (AS_SHELL_SANITIZE): here.  Use it.
4603         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
4604         From Paul Eggert.
4606 2001-10-04  Akim Demaille  <akim@epita.fr>
4608         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
4609         combination of Awk and sed to replace $LINENO.
4611 2001-10-02  Paul Eggert  <eggert@twinsun.com>
4613         * doc/autoconf.texi (Limitations of Builtins): You can't use
4614         "source"; it's not portable.  Remove confusing and
4615         somewhat-incorrect example involving "." and "/".
4617         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
4618         compatibility with POSIX shells.
4620 2001-10-02  Akim Demaille  <akim@epita.fr>
4622         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
4623         instead of exec'ing to preserve $0 and $@.
4625 2001-10-01  Akim Demaille  <akim@epita.fr>
4627         * tests/testsuite (AT_INIT) <at_pass_list>: New.
4628         Don't run twice the same test.
4630 2001-10-01  Akim Demaille  <akim@epita.fr>
4632         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
4633         No longer output the list of tests.
4634         <--list>: New option.
4635         <--full-help>: Remove.
4636         Complete the short/long options duality.
4637         Various small adjustments.
4639 2001-10-01  Akim Demaille  <akim@epita.fr>
4641         * doc/autoconf.texi: Use @kbd for user input.
4642         Always use `$' as shell prompt.
4644 2001-09-30  Paul Eggert  <eggert@twinsun.com>
4646         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
4647         Don't use nested parenthesization.  This patch was originally
4648         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
4649         but somehow it didn't get incorporated then.
4650         * doc/autoconf.texi (Limitations of Usual Tools):
4651         Clarify remark about sed and nested parenthesization.
4653         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
4654         Report an error if the size cannot be determined even though
4655         the type exists.
4656         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4657         Check for `expr' arithmetic overflow, and for compilation failure,
4658         and invoke a new argument $4 if either is discovered.
4659         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
4660         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
4662 2001-09-28  Akim Demaille  <akim@epita.fr>
4664         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
4665         * m4/lispdir.m4: New.
4666         * aclocal.m4, configure.ac: Adjust.
4668 2001-09-28  Akim Demaille  <akim@epita.fr>
4670         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
4671         (AT_TESTED): this.
4672         (AT_INIT): More the wrapped section to where it will be expanded.
4673         Output `AT_tested' only when existing.
4674         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
4676 2001-09-27  Akim Demaille  <akim@epita.fr>
4678         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
4679         generates too many bug reports.
4681         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
4682         status when executing the ACTION-IF-FALSE.
4683         * tests/base.at (AC_TRY_*): Rename as...
4684         (AC_TRY_COMMAND): this.
4685         (AC_RUN_IFELSE): New.
4686         * tests/compile.at (Extensions, C keywords)
4687         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
4688         (Broken/missing compilers, AC_PROG_CPP with warnings)
4689         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
4690         * tests/c.at (Extensions, C keywords)
4691         (Broken/missing compilers, AC_PROG_CPP with warnings)
4692         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
4693         (AC_PROG_CPP requires AC_PROG_CC): here and...
4694         * tests/fortran.at (GNU Fortran 77): there.
4695         * doc/autoconf.texi (autoconf Invocation): Fix the example:
4696         AC_TRY_RUN is about compilation, not shell commands.
4697         (Test Programs): AC_TRY_RUN works as used to be advertised.
4699 2001-09-27  Akim Demaille  <akim@epita.fr>
4701         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
4702         Raja R Harinath:
4703         Be sure to detect when $LINENO always returns the same value.
4704         Look for the original script, basename($0) is certainly not
4705         enough.
4706         Pass the CLI arguments to `$as_me.lineno'.
4708 2001-09-25  Akim Demaille  <akim@epita.fr>
4710         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
4711         Be sure the close and reopen the LOG fd before and after using tee
4712         to extend the log.
4713         <at_tests_pattern>: Adjust to the new format of at_help_all.
4715 2001-09-23  Akim Demaille  <akim@epita.fr>
4717         * bin/autom4te.in (parse_args): There can be several invocations
4718         of --language now.
4720 2001-09-23  Akim Demaille  <akim@epita.fr>
4722         * doc/autoconf.texi (Top): Wrap in @ifnottex.
4724 2001-09-23  Akim Demaille  <akim@epita.fr>
4726         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
4727         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
4728         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
4729         builddir, buildpath, top_builddir, and top_buildpath.
4730         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
4731         the current directory.
4732         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
4733         variables *before* changing the current directory.
4734         Skip nonexistent dirs.
4735         * doc/autoconf.texi (Preset Output Variables): Document these
4736         variables.
4738         * lib/autotest/general.m4: Do not reset AT_victims.
4739         Don't compute at_srcdir nor at_top_srcdir.
4741         * tests/tools.at: Hence use top_srcdir.
4743         * tests/Makefile.am, tests/autoconf, tests/autoheader,
4744         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
4745         Remove.
4746         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
4747         * tests/wrapsh.in, tests/autoupdate.in: New.
4748         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
4749         * configure.ac: Build the position independent wrappers.
4751         * man/Makefile.am: Now that test wrappers are position
4752         independent, use them and drop dark envvar magic.
4754 2001-09-23  Akim Demaille  <akim@epita.fr>
4756         * doc/autoconf.texi (Common Shell Constructs): Rename as...
4757         (Programming in M4sh): this.
4758         Promote to @section.
4760 2001-09-23  Akim Demaille  <akim@epita.fr>
4762         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
4763         Pass $at_debug_args to the rerun test suite.
4764         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
4765         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
4766         From Paul Eggert.
4768 2001-09-23  Akim Demaille  <akim@epita.fr>
4770         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
4772 2001-09-23  Akim Demaille  <akim@epita.fr>
4774         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
4775         over-escaping.
4777 2001-09-23  Akim Demaille  <akim@epita.fr>
4779         * lib/Autom4te/General.pm (&debug): New.
4780         * bin/autom4te.in ($language): Move to...
4781         (parse_args): here.
4782         Handle --language in languages.
4783         * lib/autom4te.in (Automake-selections, Autoheader-selections)
4784         (Autoscan-selections): New.
4785         (Autoconf): Adjust.
4787 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
4789         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
4790         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
4791         to match current versions from CVS Automake.
4793 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
4795         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
4796         for $LINENO.
4798 2001-09-22  Akim Demaille  <akim@epita.fr>
4800         * lib/autoconf/autotest.m4: Create `package.m4'.
4801         * tests/Makefile.am (package.m4): Remove.
4803 2001-09-22  Akim Demaille  <akim@epita.fr>
4805         Rely on `$LINENO' when possible instead of `__oline__'.
4807         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
4808         `$LINENO' support replacement when not supported.
4809         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
4810         them explicitly to be sure they are not output before this section
4811         (via m4_require).  Cosmetic only.
4812         * lib/autoconf/c.m4, lib/autoconf/general.m4,
4813         * lib/autoconf/programs.m4: Replace all the occurrences of
4814         `__oline__' with `$LINENO'.
4815         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
4817 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
4819         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
4820         character (u: -> ue) in a code comment.
4821         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
4822         it works.
4824 2001-09-21  Akim Demaille  <akim@epita.fr>
4826         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
4827         Suggested by Jim Meyering.
4829 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4831         * lib/autoconf/programs.m4: Use extensions listed in
4832         $ac_executable_extensions when looking for programs.
4834 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4836         * lib/autoconf/general.m4: Fix a small Englisho.
4837         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
4838         setting up ac_dir_suffix and ac_top_builddir.
4839         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
4841 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4843         * doc/autoconf.texi (File System Conventions): Clarify the use of
4844         PATH_SEPARATOR.
4845         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
4846         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
4847         be used instead of ':'.
4848         * lib/autotest/general.m4: Replace occurrences of ':' in
4849         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
4851 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4853         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
4854         arguments.  Fixed a typo.
4856 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4858         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
4859         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
4861 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4863         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
4864         * bin/autoupdate.in: Ditto.
4865         * bin/autoheader.in: Reworded a few comments.
4866         * bin/autoconf.in: Reworded help text for a few options.
4867         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4868         * bin/autoscan.in, bin/autoupdate.in: Ditto.
4870 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
4872         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
4873         already have $file).  Set output files to binary mode (helps avoid
4874         CR issues on DOSish systems).
4876 2001-09-19  Akim Demaille  <akim@epita.fr>
4878         * lib/autotest/general.m4: Englishoes.
4879         From Tim Van Holder and Alexey Mahotkin.
4881 2001-09-18  Paul Eggert  <eggert@twinsun.com>
4883         * doc/autoconf.texi (Common Shell Constructs): New node,
4884         documenting AS_DIRNAME.
4885         (Limitations of Usual Tools): Refer to it when discussing dirname.
4886         Also, update discussion of POSIX standard to reflect latest draft.
4888         * lib/autoconf/c.m4:
4889         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
4891         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4892         Do not pass a first argument with leading '-'
4893         to expr, by parenthesizing initial integers that might be negative.
4895         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
4896         now merely checks whether it is an error to pass an argument
4897         to getpgrp.
4899         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
4900         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
4901         whether it is a (compile-time) error to pass an argument to
4902         getpgrp.  This simpler test supports the revised documentation,
4903         and is all that AC_FUNC_GETPGRP's users really need.
4905 2001-09-18  Akim Demaille  <akim@epita.fr>
4907         * doc/autoconf.texi (Limitations of Make) <$<>: New.
4909 2001-09-18  Akim Demaille  <akim@epita.fr>
4911         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
4912         `{}'.
4913         * lib/autotest/general.m4 (AT_INIT): Adjust.
4915 2001-09-18  Paul Wagland  <paul@wagland.net>
4917         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
4918         correctly.
4919         Add test for AS_BASENAME.
4920         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
4921         added test. It now correctly handles /1/2/3/, returning '3' not ''.
4922         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
4923         * tests/base.at: Fixed the expected responses. The old ones were
4924         one line out...
4925         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
4926         the documentation claims it should (and how it behaved in 2.13).
4928 2001-09-18  Akim Demaille  <akim@epita.fr>
4930         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
4931         the AC_CONFIG_COMMANDS invocation.
4932         This also solves the name clash problems.
4933         Don't set the package's ID.
4934         * lib/m4sugar/Makefile.am (version.m4): Revamp.
4935         No longer to be shipped.
4936         (version.in): Remove.
4937         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
4938         * lib/autoconf/status.m4: Adjust.
4939         Use `m4_PACKAGE_STRING'.
4940         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
4941         the only optional argument is the name of the test suite.
4942         Expect `package.m4' to define the package signature.
4943         * lib/autom4te.in (Autotest): Add `package.m4?'.
4944         * tests/Makefile.am (package.m4): New.
4945         * tests/suite.at: ifnames is a victim.
4947 2001-09-18  Akim Demaille  <akim@epita.fr>
4949         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
4950         AC_LIBSOURCE, AC_CONFIG_FILES.
4951         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
4952         program version string doesn't match the package's.
4953         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
4954         after `(cached)'.
4956 2001-09-17  Paul Eggert  <eggert@twinsun.com>
4958         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4959         Allow expression to return any value that can fit into unsigned long
4960         (not int, as before).  Check for output errors.
4962 2001-09-17  Bruno Haible <haible@ilog.fr>
4964         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4965         Always include <stdio.h> and <stdlib.h>. Evaluate
4966         the expression in an extra function before these includes. Call
4967         fprintf "%d" only after ensuring the argument is of type 'int'.
4968         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
4970 2001-09-17  Paul Eggert  <eggert@twinsun.com>
4972         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
4973         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
4974         fatal errors, and AC_CHECK_LIB causes it to include libraries even
4975         when they don't exist.
4977         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
4978         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
4979         need it.
4981         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
4982         version with the version used by fileutils 4.1, except use
4983         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
4984         we don't need it.
4986         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
4988 2001-09-13  Akim Demaille  <akim@epita.fr>
4990         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
4991         _first_.
4992         Reported by Gerrit P. Haase.
4994 2001-09-13  Akim Demaille  <akim@epita.fr>
4996         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
4997         m4_defn'ing is valid.
4999 2001-09-13  Akim Demaille  <akim@epita.fr>
5001         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
5002         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
5003         Use it.
5005 2001-09-13  Akim Demaille  <akim@epita.fr>
5007         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
5008         m4_match.
5009         (m4_re_escape): New.
5010         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
5011         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
5012         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
5013         Likewise.
5014         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
5015         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
5016         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
5017         AT_tests_all for consistency.
5018         Set at_victims.
5019         (AT_VICTIMS): Similar to AT_KEYWORDS.
5020         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
5022 2001-09-13  Akim Demaille  <akim@epita.fr>
5024         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
5026 2001-09-13  Akim Demaille  <akim@epita.fr>
5028         * lib/autotest/general.m4 (AT_INIT): Create and remove
5029         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
5030         test suites can cohabit.
5032 2001-09-13  Akim Demaille  <akim@epita.fr>
5034         * tests/mktests.sh: Don't output banners for empty test files.
5036 2001-09-13  Akim Demaille  <akim@epita.fr>
5038         Test suites can be run independently of configure.
5040         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
5041         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
5042         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
5043         ECHO_N etc.
5044         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
5045         and at_c.
5046         * lib/autotest/general.m4: Use ECHO_*.
5048 2001-09-13  Akim Demaille  <akim@epita.fr>
5050         * bin/ifnames.in: Rewrite in Perl.
5051         * configure.ac: Don't look for AWK.
5052         * tests/tools.at (AWK portability): Remove.
5053         (Syntax of the shell scripts): Don't check ifnames.
5054         (AT_CHECK_PERL_SYNTAX): New.
5055         (Syntax of the Perl scripts): Check ifnames.
5056         * tests/ifnames: New.
5058 2001-09-13  Akim Demaille  <akim@epita.fr>
5060         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
5061         test group titles.
5062         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
5063         Remove all the other keywords.
5065 2001-09-10  Akim Demaille  <akim@epita.fr>
5067         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
5068         SETUP: no longer used.
5069         Support -k, --keywords.
5070         <at_help>: Be `no', `short', or `long'.
5071         <at_help_all>: New variable.
5072         (AT_KEYWORDS): New.
5073         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
5074         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
5075         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
5076         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
5077         No longer fill the HELP diversion.
5078         (AT_CLEANUP): Use them.
5079         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
5080         (m4_list_append): Remove.
5082         Spread a few keywords in the Autoconf test suite.
5084 2001-09-10  Akim Demaille  <akim@epita.fr>
5086         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
5087         PATH_SEPARATOR, let M4sh compute it.
5088         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
5089         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
5090         Move to...
5091         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
5092         Simplify when the path is not a literal.
5093         (AS_UNAME): Use it to report PATH.
5094         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
5095         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
5096         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
5097         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
5098         normalize the path, and to look for victims.
5099         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
5100         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
5102 2001-09-07  Akim Demaille  <akim@epita.fr>
5104         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
5105         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
5106         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
5107         related variables into `at_package_*'.
5108         * lib/autotest/general.m4 (AT_VICTIMS): New.
5109         (AT_INIT): Adjust for stand-alone/embedded test suites.
5110         (AS_MESSAGE_LOG_FD): Define and use it.
5111         * tests/suite.at (AT_VICTIMS): Use it.
5112         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
5113         at_version.
5115 2001-09-07  Akim Demaille  <akim@epita.fr>
5117         Move toward possibly stand-alone test suites.
5119         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
5120         in addition, it introduces useless differences in logs.
5121         (AT_INIT): Let atconfig and atlocal be both optional.
5122         Adjust PATH computation.
5123         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
5125 2001-09-07  Akim Demaille  <akim@epita.fr>
5127         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
5128         m4sugar/version.m4.
5130 2001-09-05  Akim Demaille  <akim@epita.fr>
5132         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
5133         to avoid GCC warnings.
5134         From Uwe Seimet.
5136 2001-09-05  Akim Demaille  <akim@epita.fr>
5138         * bin/autom4te.in: --language is -l, not -s.
5140 2001-09-05  Akim Demaille  <akim@epita.fr>
5142         Be ready to handle filenames as stupid as `dnl.at', for if even
5143         the maintainer is dumb enough to do that...
5145         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
5146         excellence in M4 quotation: consider `__file__' is active.
5148         And BTW, when invoking m4, pass the --include in the right order:
5149         the wrong one.
5151         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
5152         4m.
5154 2001-09-05  Akim Demaille  <akim@epita.fr>
5156         * lib/Autom4te/XFile.pm: New lib file.
5157         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
5158         * bin/autoheader.in: Use it.
5160 2001-09-05  Akim Demaille  <akim@epita.fr>
5162         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
5163         defined.
5165 2001-09-05  Akim Demaille  <akim@epita.fr>
5167         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
5168         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
5170         * bin/autoscan.in: Use `getopt' and `find_files' etc.
5171         Add -I, --include support.
5172         * doc/autoconf.texi (autoscan Invocation): Adjust.
5174 2001-09-05  Akim Demaille  <akim@epita.fr>
5176         CVS GNU M4 doesn't like `undefine(undefined)'.
5178         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
5179         New, extracted from main.
5180         Use IO::File wherever possible.
5181         (input.m4): Be constant, use -I instead of hard coding $tmp.
5182         Therefore be a quoted heredoc.
5183         Don't invoke `_au_disable', since ac was not loaded, but just
5184         `unm4.m4'.
5186 2001-08-31  Akim Demaille  <akim@epita.fr>
5188         Version 2.52d.
5190 2001-08-31  Akim Demaille  <akim@epita.fr>
5192         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
5193         previous patch.
5194         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
5196 2001-08-31  Akim Demaille  <akim@epita.fr>
5198         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
5199         serious problems handling heredocs in heredocs.
5200         Reported by Nicolas Joly.
5202 2001-08-31  Akim Demaille  <akim@epita.fr>
5204         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
5205         (Making testsuite Scripts): Update.
5207 2001-08-31  Akim Demaille  <akim@epita.fr>
5209         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
5211 2001-08-31  Akim Demaille  <akim@epita.fr>
5213         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
5214         (testsuite Scripts): There is no such thing as `atconfig.in'.
5215         And actually one diagram is missing: test suite runtime.
5217 2001-08-31  Akim Demaille  <akim@epita.fr>
5219         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
5220         inverse order.
5222 2001-08-31  Akim Demaille  <akim@epita.fr>
5224         * bin/autoupdate.in (@include): `installcheck' revealed the path
5225         to m4sugar was lacking!
5227 2001-08-31  Akim Demaille  <akim@epita.fr>
5229         * man/Makefile.am (.x.1): We really have to pass
5230         autom4te_perllibdir.
5232 2001-08-31  Akim Demaille  <akim@epita.fr>
5234         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
5235         debug scripts, in particular passing explicitly listed tests to
5236         run is stupid.
5238 2001-08-31  Akim Demaille  <akim@epita.fr>
5240         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
5241         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
5242         Use directly autom4te, not autoconf.
5243         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
5245 2001-08-31  Akim Demaille  <akim@epita.fr>
5247         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
5248         * bin/autoheader.in (%symbol): Strip arguments of macros.
5250 2001-08-31  Akim Demaille  <akim@epita.fr>
5252         * doc/autoconf.texi: Catch up -I, --include changes.
5254 2001-08-31  Akim Demaille  <akim@epita.fr>
5256         * bin/autom4te.in (&parse_args): Die on unknown languages.
5257         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
5258         need for autoconf.
5259         Promote --include over --macrodir and other obsolete options.
5261 2001-08-31  Akim Demaille  <akim@epita.fr>
5263         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
5264         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
5265         * bin/autom4te.in ($autoconf): Pass --force.
5266         `print $out' doesn't print `$_' but `$out'.
5267         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
5268         (autoheader): Pass --force since the test suite goes too fast for
5269         the time stamps.
5270         Adjust to the new autoheader messages.
5272 2001-08-31  Akim Demaille  <akim@epita.fr>
5274         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
5275         Check the completeness of the #template.
5276         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
5277         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
5278         invocation.
5280 2001-08-31  Akim Demaille  <akim@epita.fr>
5282         * lib/Autom4te/General.pm (&find_file, &update_file): New.
5283         * bin/autoupdate.in, bin/autoheader.in: Adjust.
5284         Drop AC_MACRODIR dead for real.
5285         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
5286         `autoheader: `config.hin' is created'.
5287         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
5289 2001-08-31  Akim Demaille  <akim@epita.fr>
5291         * bin/autoheader.in: Rewrite in Perl.
5292         * tests/autoheader: Adjust.
5294 2001-08-31  Akim Demaille  <akim@epita.fr>
5296         * bin/autoconf.in (--include, -I): New option.
5297         Map --localdir, --autoconf-dir onto it.
5298         Forward autom4te's options instead of interpreting them.
5299         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
5300         There is no such envvar since the inception of autom4te.cfg.
5301         * bin/autom4te.in (&parse_args): Uniquify `@include'.
5302         * bin/autoupdate.in: Adjust, and perform more control.
5303         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
5304         * tests/autoconf: Dittowise.
5306 2001-08-31  Akim Demaille  <akim@epita.fr>
5308         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
5309         * bin/autom4te.in (&find_file): Support `FILE?' standing for
5310         optionally `FILE'.
5311         Use -e, not -f, since /dev/null for instance is OK.
5312         (&parse_args): Adjust.
5313         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
5315 2001-08-31  Akim Demaille  <akim@epita.fr>
5317         * configure.ac: Also find tested executables in bin.
5318         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
5319         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
5320         installed peer executables, only PATH is allowed to resolve it.
5321         Pass `autoconf_dir' via options, not via invisible envvars.
5322         * lib/Autom4te/General.pm (&find_peer): Remove.
5323         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
5324         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
5325         * man/Makefile.am: Let help2man rely on PATH instead of trying to
5326         find the executables for it.
5327         * tests/Makefile.am: Major cleanup.  Too lazy to document...
5328         * tests/atlocal.in: Remove all the obscure envvar manipulations.
5329         We only need PERL.
5330         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
5331         indeed related to running the test suite, while passing
5332         --autoconf-dir and others is related to running non installed
5333         Autoconf executables.  So don't do that, leave it to...
5334         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
5335         * tests/autoscan: New.
5336         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
5337         refer to library files: rely on --language.
5339 2001-08-29  Akim Demaille  <akim@epita.fr>
5341         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
5342         s/--set/--language/.
5344 2001-08-29  Akim Demaille  <akim@epita.fr>
5346         * doc/autoconf.texi: Strip the @nodes.
5347         Suggested by Paul Eggert.
5348         (Initializing configure): Typo.
5350 2001-08-29  Akim Demaille  <akim@epita.fr>
5352         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
5353         Suggested by Paul Eggert.
5355 2001-08-29  Akim Demaille  <akim@epita.fr>
5357         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
5358         download in a tmp dir.
5360 2001-08-29  Akim Demaille  <akim@epita.fr>
5362         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
5363         case insensitive OSes out there :(
5364         From Tim Van Holder.
5366 2001-08-29  Akim Demaille  <akim@epita.fr>
5368         * lib/autom4te.in: New.
5369         * lib/Makefile.am (edit, autom4te.cfg): New.
5370         * bin/autom4te.in (BEGIN): Simplify.
5371         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
5372         (&load_configuration): New.  Use it.
5373         (&parse_args): Support --mode, --set, and --melt.
5374         * bin/autoconf.in: Simplify and adjust.
5375         * tests/Makefile.am (AUTOMAKE): Use --set.
5376         * tests/atlocal.in: Adjust.
5377         * BUGS: distcheck and check are weak.
5379 2001-08-29  Akim Demaille  <akim@epita.fr>
5381         * lib/autotest/general.m4: Use
5382                 foo=`(command) 2>/dev/null`
5383         not
5384                 foo=`command` 2>/dev/null
5385         (at-devnull): Rename as...
5386         (AT-devnull): this.
5387         (--clean): Remove AT-* files too.
5388         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
5389         Reported by Nicolas Joly.
5391 2001-08-28  Akim Demaille  <akim@epita.fr>
5393         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
5394         quotes inside single quotes.
5395         Reported by Nicolas Joly.
5397 2001-08-28  Kevin Ryde  <user42@zip.com.au>
5399         * doc/autoconf.texi (Function Portability): Mention C right shifts.
5401 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
5403         * lib/autotest/general.m4: Reword some messages.
5404         (AT_INIT): Check for the `times' builtin before using it.
5405         Support test ranges as arguments to the testsuite.
5406         Have -e imply -d as the help text suggested.
5408 2001-08-27  Akim Demaille  <akim@epita.fr>
5410         * Makefile.maint: Formatting changes.
5411         (do-po-update, po-update, cvs-update, update): New targets.
5412         (AMTAR): Remove.
5414 2001-08-27  Akim Demaille  <akim@epita.fr>
5416         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
5417         <at_cmd_line>: New.
5418         Pass it to debug-*.sh scripts.
5419         <AUTOTEST_PATH>: May contain absolute dir names.
5421 2001-08-27  Akim Demaille  <akim@epita.fr>
5423         * lib/autotest/general.m4 (AT_INIT): Log the command line.
5424         Support `VAR=VAL' as arguments.
5425         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
5426         may be set via the command line.
5428 2001-08-27  Akim Demaille  <akim@epita.fr>
5430         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
5431         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
5432         first the build dirs, then the src dirs.
5433         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
5435 2001-08-27  Akim Demaille  <akim@epita.fr>
5437         * lib/autotest/general.m4 (AT_INIT): Output the definition of
5438         at_data_files earlier.
5439         (--clean, -c): New option.
5440         * tests/Makefile.am: Use this option.
5442 2001-08-27  Akim Demaille  <akim@epita.fr>
5444         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
5445         `ac_top_builddir' to mimic Automake's vocabulary, which much more
5446         readable.
5447         Adjust callers.
5448         * doc/autoconf.texi (Configuration Actions): Document the vars
5449         available in commands.
5450         Emphasize the risks of collisions in init-cmds.
5452 2001-08-27  Akim Demaille  <akim@epita.fr>
5454         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
5455         (Initializing configure): this new node.
5457 2001-08-27  Akim Demaille  <akim@epita.fr>
5459         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
5461 2001-08-27  Akim Demaille  <akim@epita.fr>
5463         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
5464         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
5465         New file.
5466         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
5468 2001-08-27  Akim Demaille  <akim@epita.fr>
5470         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
5471         to...
5472         * lib/autoconf/autoheader.m4: this new file.
5473         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
5474         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
5475         Move to...
5476         * lib/autoconf/autoupdate.m4: this new file.
5478 2001-08-27  Akim Demaille  <akim@epita.fr>
5480         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
5481         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
5482         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
5483         -> ac_dir).
5484         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
5485         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
5487 2001-08-27  Akim Demaille  <akim@epita.fr>
5489         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
5490         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
5491         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
5492         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
5493         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
5494         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
5495         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
5496         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
5497         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
5498         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
5499         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
5500         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
5501         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
5502         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
5503         (_AC_OUTPUT_SUBDIRS): Move to...
5504         * lib/autoconf/status.m4: this new file.
5505         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
5506         * tests/Makefile.am, tests/suite.at: Adjust.
5508 2001-08-27  Akim Demaille  <akim@epita.fr>
5510         Automake 1.5.
5512         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
5513         (AMTAR): Help automake define it.
5514         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
5515         needed, 1.5 can have a macro and a target with the same name.
5516         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
5517         * m4/strip.m4: New.
5518         * m4/init.m4, m4/sanity.m4: Update.
5519         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
5520         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
5521         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
5522         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
5524 2001-08-27  Akim Demaille  <akim@epita.fr>
5526         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
5528         * lib/autoconf/version.in: Remove.
5529         * lib/m4sugar/version.in: New.
5530         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
5531         Adjust callers.
5532         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
5533         the name of the directory they're in, instead of the filename,
5534         since version.m4 is now in m4sugar, but m4_acversion must not be
5535         classified as an Autoconf macro.
5536         ($input_m4): Don't qualify the path to m4sugar.
5537         Rather, pass autoconf_dir to m4.
5538         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
5539         * tests/suite.at: Require 2.52c.
5541 2001-08-27  Akim Demaille  <akim@epita.fr>
5543         testsuite.log should include config.log.
5545         * lib/autotest/autotest.m4: New.
5546         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
5547         * tests/suite.at : Adjust.
5548         (AT_INIT): Log config.log.
5549         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
5550         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
5551         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
5552         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
5553         of config.log on traps.
5554         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
5555         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
5556         for config.status'.
5557         Open the log as soon as possible.
5558         Use the same log introduction as configure's.
5560 2001-08-22  Paul Eggert  <eggert@twinsun.com>
5562         * doc/autoconf.texi (Indices): New node.
5563         Move indices out of the top level menu and into this submenu.
5565 2001-08-22  Akim Demaille  <akim@epita.fr>
5567         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5568         AC_TRY_COMMAND.
5569         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
5571 2001-08-22  Akim Demaille  <akim@epita.fr>
5573         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
5574         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
5575         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
5576         * lib/autoconf/programs.m4: here.
5577         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
5578         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
5579         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
5580         * lib/autoconf/programs.m4: here.
5581         (_AC_DECL_YYTEXT): Rename as...
5582         (_AC_PROG_LEX_YYTEXT_DECL): this.
5583         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
5584         * tests/Makefile.am, tests/suite.am: Adjust.
5586 2001-08-22  Akim Demaille  <akim@epita.fr>
5588         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
5589         Move to...
5590         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
5591         here.
5592         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
5593         * lib/autoconf/functions.m4: here.
5594         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
5595         (AH_CHECK_LIB): Move to...
5596         * lib/autoconf/libs: this new file.
5597         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
5598         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
5599         * lib/autoconf/libs.m4: here.
5600         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
5602 2001-08-22  Akim Demaille  <akim@epita.fr>
5604         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
5605         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
5606         (AC_SITE_LOAD): Better logging of config.site.
5608 2001-08-20  Akim Demaille  <akim@epita.fr>
5610         * configure.ac (AT_CONFIG): Fix the path.
5611         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
5612         can be used.
5614 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
5616         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
5617         program with AC_LANG_PROGRAM before feeding it to
5618         AC_COMPILE_IFELSE.  Cleanup grep usage.
5620 2001-08-20  Akim Demaille  <akim@epita.fr>
5622         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
5623         * NEWS, README, README-alpha, TODO, tests/README: This package is
5624         `Autoconf', not `autoconf' (the executable).
5626 2001-08-20  Akim Demaille  <akim@epita.fr>
5628         Info readers seem to need `Index' in the index node title :(
5630         * doc/autoconf.texi: Reverse the 2001-08-15 change which
5631         simplified index node names.
5633 2001-08-20  Akim Demaille  <akim@epita.fr>
5635         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
5636         arguments are not literals.
5637         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
5638         Specify the output variables, and macros defined.
5640 2001-08-20  Akim Demaille  <akim@epita.fr>
5642         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
5643         (Examining Syntax) <AC_TRY_COMPILE>
5644         (Examining Libraries) <AC_TRY_LINK>
5645         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
5646         their arguments.
5647         Reported by Werner Lemberg.
5649 2001-08-20  Akim Demaille  <akim@epita.fr>
5651         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
5652         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
5653         Load atlocal late enough to dump it in the log.
5654         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
5656 2001-08-20  Akim Demaille  <akim@epita.fr>
5658         * tests/torture.at (Configuring subdirectories): New test.
5659         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
5660         looking for.
5661         * m4/atconfig.m4: Be sure the let $[0] be expandable.
5662         (top_srcdir): Fix its computation.
5664 2001-08-20  Akim Demaille  <akim@epita.fr>
5666         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
5667         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
5668         test suite lives.
5669         Create `atconfig' automagically.
5670         Configure atlocal.in if present.
5671         * tests/atconfig.in: Remove.
5672         * tests/atlocal.in: New.
5673         * tests/Makefile.am: Adjust.
5675 2001-08-20  Akim Demaille  <akim@epita.fr>
5677         Huh!?!?!  There are still some user EOF tags used, which prevents
5678         their use in AC_CONFIG_COMMANDS for instance...
5680         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
5681         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
5682         `_CSEOF', or `_ATEOF', as appropriate.
5683         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
5684         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
5686 2001-08-20  Akim Demaille  <akim@epita.fr>
5688         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
5689         * tests/semantics.at, tests/tools.at, tests/torture.at:
5690         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
5692 2001-08-20  Akim Demaille  <akim@epita.fr>
5694         Autotest invokes M4sh's initialization.
5696         * lib/autotest/general.m4: Adjust the diversion names.
5697         (AT_INIT): Run AS_INIT.
5698         Use the BINSH diversion to invoke /bin/sh.
5699         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
5700         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
5702 2001-08-20  Akim Demaille  <akim@epita.fr>
5704         Let M4sh have its own diversions.
5706         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
5707         (_m4_divert(NOTICE)): Rename as...
5708         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
5709         (_m4_divert(HEADER-COMMENT)): these.
5710         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
5711         (_m4_divert(NOTICE)): New, for Libtool.
5712         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
5713         long ago with `_m4_divert(GROW)'.
5714         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
5716 2001-08-20  Akim Demaille  <akim@epita.fr>
5718         * tests/base.at, tests/compile.at, tests/foreign.at,
5719         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5720         * tests/semantics.at, tests/suite.at, tests/tools.at,
5721         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
5723 2001-08-20  Akim Demaille  <akim@epita.fr>
5725         * bin/autom4te.in (handle_output): Handle @__@.
5727 2001-08-20  Akim Demaille  <akim@epita.fr>
5729         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
5730         * lib/autotest/general.m4: Adjust the license.
5732 2001-08-17  Paul Eggert  <eggert@twinsun.com>
5734         * doc/autoconf.texi (Function Portability): Mention snprintf,
5735         following up on a suggestion by Kevin Ryde.
5737 2001-08-17  Akim Demaille  <akim@epita.fr>
5739         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
5740         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
5742 2001-08-17  Akim Demaille  <akim@epita.fr>
5744         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
5745         `$0.log' as for projects where testsuite is in src, we'd have
5746         testsuite.log created in src.
5748 2001-08-17  Akim Demaille  <akim@epita.fr>
5750         * bin/autom4te.in (&parse_args): Recognize --normalize.
5752 2001-08-17  Akim Demaille  <akim@epita.fr>
5754         Start implementing the AC_CHECK_HEADER transition scheme.
5756         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
5757         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
5758         (AC_CHECK_HEADER): Use them.
5760 2001-08-17  Akim Demaille  <akim@epita.fr>
5762         * doc/autoconf.texi: Work around Texinfo buglets.
5763         (Transformation Rules): One example is enough, users are expected
5764         to have their brains on. And BTW, use DESTDIR.
5765         (dvar): New macro.  Use it.
5767 2001-08-17  Akim Demaille  <akim@epita.fr>
5769         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
5770         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
5771         looking for ChangeLogs.
5773 2001-08-17  Akim Demaille  <akim@epita.fr>
5775         * bin/autom4te.in: --normalize is a new option.
5776         * bin/autoconf.in: Use it.
5778 2001-08-17  Akim Demaille  <akim@epita.fr>
5780         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
5781         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
5783 2001-08-16  Paul Eggert  <eggert@twinsun.com>
5785         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
5786         start, not at end.
5788 2001-08-15  Akim Demaille  <akim@epita.fr>
5790         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
5791         Use it.
5793 2001-08-15  Akim Demaille  <akim@epita.fr>
5795         * doc/autoconf.texi (pr): New index.
5796         (prindex, findex): Use, merge, and output them.
5797         (Environment Variable Index, Output Variable Index)
5798         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
5799         (Autotest Macro Index): Rename as...
5800         (Environment Variables, Output Variables,Preprocessor Symbols)
5801         (Autoconf Macros, M4 Macros, Autotest Macros): these.
5802         * doc/install.texi: Use @command.
5803         (Environment Variables): Rename as...
5804         (Defining Variables): this.
5806 2001-08-15  Akim Demaille  <akim@epita.fr>
5808         * doc/autoconf.texi (Function Portability): sprintf's return
5809         value.
5810         From Kevin Ryde.
5812 2001-08-15  Akim Demaille  <akim@epita.fr>
5814         * Makefile.maint (CVS): New.
5815         (local-check): Run changelog-check. last.
5816         (alpha): Don't depend upon local-check, since...
5817         (cvs-dist): depends upon it.
5819 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
5821         * tests/Makefile.am: Use a clean-local rule to remove
5822         autom4te.cache (it's a directory, not a file.
5823         * Makefile.am: Ditto (but maintainer-clean-local).
5825 2001-08-15  Akim Demaille  <akim@epita.fr>
5827         * bin/autom4te.in (@m4_warning): New.
5828         (&handle_m4): Use it.
5829         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
5830         warnings are issued at each run.
5831         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
5832         is in the src tree.
5834 2001-08-15  Akim Demaille  <akim@epita.fr>
5836         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
5837         don't waste time running `autoupdate --version' works.
5838         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
5840 2001-08-13  Akim Demaille  <akim@epita.fr>
5842         * doc/autoconf.texi (ma): Rename this index as...
5843         (ac): this.
5845 2001-08-13  Akim Demaille  <akim@epita.fr>
5847         * Makefile.am: Remove dead code and dead comments.
5848         (pdf, html): New targets.
5849         * doc/autoconf.texi (Using Autotest): New chapter.
5850         * doc/Makefile.am (pdf): New targets.
5851         (CLEANFILES): Adjust.
5853 2001-08-13  Akim Demaille  <akim@epita.fr>
5855         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
5856         duration of the test suite.
5858 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
5860         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
5861         endianness for comparison instead of relying on AT_CHECK_ENV.
5863 2001-08-11  Paul Eggert  <eggert@twinsun.com>
5865         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
5866         to the INSTALL file.
5868 2001-08-11  Paul Eggert  <eggert@twinsun.com>
5870         * NEWS: The autoconf manual now is distributed under the terms
5871         of the GNU Free Documentation License.
5873         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
5874         Add an appendix "Copying This Manual" for the FDL.
5876         * doc/fdl.texi: New file, from
5877         <http://www.gnu.org/licenses/fdl.texi>.
5879         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
5881 2001-08-10  Paul Eggert  <eggert@twinsun.com>
5883         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
5884         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
5885         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
5886         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
5887         m4/sanity.m4, tests/README, tests/aclocal.m4,
5888         tests/atspecific.m4, tests/base.at, tests/compile.at,
5889         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
5890         tests/semantics.at, tests/suite.at, tests/tools.at,
5891         tests/torture.at: Add copyright notice.
5893         * tests/mktests.sh: Update year in copyright notice.
5895 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
5897         * tests/semantics.at (AC_C_BIGENDIAN): New test.
5899 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
5901         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
5902         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
5903         * doc/autoconf.texi (C Compiler Characteristics): Update
5904         documentation for AC_C_BIGENDIAN.
5906 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
5908         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
5909         magic values from an object file when cross-compiling.
5910         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
5912 2001-08-10  Akim Demaille  <akim@epita.fr>
5914         * bin/autom4te.in (&handle_output): Don't use `grep' with side
5915         effects.
5916         Suggested by Russ Allbery.
5918 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
5920         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
5921         current $prefix to the sub-configures.
5923 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
5925         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
5926         extension (needed on BeOS).  Reported by Guido van Rossum.
5928 2001-08-09  Akim Demaille  <akim@epita.fr>
5930         * bin/autom4te.in ($icache): Load it only if older than autom4te.
5932 2001-08-07  Akim Demaille  <akim@epita.fr>
5934         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
5935         removed.
5936         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
5937         No need to remove the files before and after the each test, before
5938         each test and at the end of the suite is enough.
5939         Display only the children `times', not the shell's.
5940         If the test failed or was skipped, at-times is not available.
5942 2001-08-07  Akim Demaille  <akim@epita.fr>
5944         Always produce testsuite.log, including when there are no
5945         failures.  This helps getting information on skipped tests, and
5946         duration of the tests.  Err, implement the latter btw.
5948         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
5949         Dump information on the first run of each test.
5950         (AT_CLEANUP): Create `at-times' containing the duration of the
5951         test group.
5953 2001-08-07  Akim Demaille  <akim@epita.fr>
5955         The use of `dumpstat' revealed that `len' was used although it
5956         should not.  m4_text_wrap was using it, but in the Autoconf world
5957         where it is legal.  Hence (i) test M4sh in its own world, not
5958         Autoconf's, and (ii), ahem, fix the bug :)
5960         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
5961         does not like `' instead of [].
5962         (AT_INIT): Forbid `^_?AT_'.
5963         And don't output such tokens.
5964         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
5965         `script.as', and `autom4te.cache'.
5966         Remove `empty' and `macro' which are no longer used.
5967         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
5968         * tests/m4sugar.at: Use it.
5969         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
5971 2001-08-07  Akim Demaille  <akim@epita.fr>
5973         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
5975 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
5977         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
5979 2001-08-04  Akim Demaille  <akim@epita.fr>
5981         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
5982         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
5983         AC_TRY_LINK.
5984         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
5985         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
5986         (AC_F77_MAIN): Likewise.
5988 2001-08-04  Akim Demaille  <akim@epita.fr>
5990         Don't rely on M4sugar outputting the patterns in files, since we
5991         might process the output _without_ running m4, hence without these
5992         files.
5994         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
5995         * bin/autom4te.in (@Request::includes): Remove, unused.
5996         (@Request::source): Rename as...
5997         (@Request::input): this.
5998         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
5999         (&handle_output): Fetch the patterns from the traces.
6000         `$forbidden' and `$allowed' are constant: use m//o.
6001         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
6002         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
6004 2001-08-04  Akim Demaille  <akim@epita.fr>
6006         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
6007         autoconf', i.e., in addition to caching traces, cache the output.
6009         * bin/autom4te.in (Request::cache): Rename as...
6010         (Request::id): this.
6011         ($cache, $icache, $tcache, $ocache): New.
6012         (&handle_m4): Save M4 output in the cache instead of $tmp.
6013         (&handle_output): Adjust.
6014         (&up_to_date_p): Check that the output cache is up to date too.
6015         (top level): Run `&handle_m4' iff force or the cache is invalid.
6016         Run `&handle_output' if the output cache is more recent.
6018 2001-08-04  Akim Demaille  <akim@epita.fr>
6020         * bin/autom4te.in ($force): New.
6021         (&parse_args, &print_usage): -f, --force is a new option.
6022         (&handle_output): CPP directives might have spaces after `#'.
6023         (&parse_args): The first file only can be frozen.
6025 2001-08-04  Akim Demaille  <akim@epita.fr>
6027         Don't let autom4te compute the `include' traces several times:
6028         first check that the trace cache file is up to date, and then
6029         compare its timestamp with that of the output.
6031         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
6032         the preamble.  Don't require 5.005 as Autom4te::General does it,
6033         and better yet (use `use', not `require'!).
6034         * lib/Autom4te/Struct.pm: Rename the last occurrences of
6035         Class::Struct as Autom4te::Struct.
6036         * lib/Autom4te/General.pm (File::stat): Use it.
6037         (&mtime): New, export it.
6038         * bin/autom4te.in: Use it.
6039         Declare `$req' is invalid if it is outdated.
6040         Don't declare it valid before saving it if something went wrong.
6042 2001-08-04  Akim Demaille  <akim@epita.fr>
6044         Autom4te shall not encode Autoconf data, and preselecting traces
6045         must be proposed to the users.
6047         * bin/autom4te.in (@required_trace): Remove.
6048         (@preselect): New.
6049         (&parse_args, &print_usage): -p, --preselect is a new option.
6050         (&up_to_date_p): Adjust.
6051         * bin/autoconf.in: Preselect some Autoconf macros.
6053 2001-08-04  Akim Demaille  <akim@epita.fr>
6055         * tests/tools.at (autoconf --trace: user macros): Check traces on
6056         macros invoked without arguments, and macros invoked with multiple
6057         lines arguments.
6059 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
6061         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
6062         arguments.
6064 2001-08-03  Akim Demaille  <akim@epita.fr>
6066         * bin/autoconf.in ($@): Work around the usual sh bug.
6067         From Nicolas Joly.
6069 2001-08-03  Akim Demaille  <akim@epita.fr>
6071         Clean up the handling of the M4 builtins tracing exception.
6073         * bin/autom4te.in (Request::request): Don't complete M4 builtins
6074         trace requests.
6075         (@m4_builtins): Rename as...
6076         (@m4_builtin): this.
6077         (%m4_builtin_alternate_name): New.
6078         (&parse_args): Complete the trace requests with alternate names.
6079         (&handle_traces): Hence no longer do it here.
6080         (&trace_requests): Remove, unused.
6082 2001-08-03  Akim Demaille  <akim@epita.fr>
6084         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
6085         m4_if, and m4_wrap.
6087 2001-08-03  Akim Demaille  <akim@epita.fr>
6089         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
6090         (m4_divert_pop): Dump the whole diversion stack when a diversion
6091         mismatch happens.
6092         * bin/autom4te.in (&handle_output): Remember of the first
6093         occurrence of a possibly undefined macro, not the last.
6094         Complain about the possibly undefined macros in the same order as
6095         the appear in the output.
6096         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
6097         * tests/tools.at (autoconf: forbidden tokens, basic)
6098         (autoconf: forbidden tokens, exceptions): No longer sort
6099         autoconf's stderr, as it is now deterministic.
6100         Check that `dnl' is caught.
6102 2001-08-01  Akim Demaille  <akim@epita.fr>
6104         * configure.ac: Bump to 2.52c.
6106 2001-08-01  Akim Demaille  <akim@epita.fr>
6108         Version 2.52b.
6110         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
6112 2001-08-01  Akim Demaille  <akim@epita.fr>
6114         Version 2.52a.
6116 2001-08-01  Akim Demaille  <akim@epita.fr>
6118         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
6119         `die'.
6120         (&END): New.
6121         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
6122         `END', as `Autom4te::General::END' will be triggered.
6123         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
6124         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
6125         system to run `mv', `rm', and `cmp'.
6127 2001-08-01  Akim Demaille  <akim@epita.fr>
6129         * lib/Autom4te/General.pm (&unique): New.
6130         * bin/autoscan.in (&output): Use it to issue trace requests once.
6132 2001-08-01  Akim Demaille  <akim@epita.fr>
6134         * lib/Autom4te/General.pm: New.
6135         * bin/autom4te.in (Autom4te::General): Use it.
6136         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
6137         (&find_configure_ac, &find_slave): Remove.
6138         * bin/autoscan.in: Likewise.
6139         * bin/autoupdate.in: Likewise.
6141 2001-08-01  Akim Demaille  <akim@epita.fr>
6143         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
6144         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
6145         * bin: here, new directory.
6146         * lib/Autoconf: Rename as...
6147         * lib/Autom4te: this, to please case insensitive junkie OSes.
6149 2001-08-01  Akim Demaille  <akim@epita.fr>
6151         * autom4te.in ($m4): Handle the --nesting-limit.
6152         * autoconf.in (M4): Remove.
6154 2001-08-01  Akim Demaille  <akim@epita.fr>
6156         * autoconf.in ($AWK): Remove, no longer used.
6157         * test/tools.at: Use AT_CHECK_AUTOCONF.
6158         (AWK portability): Remove, for autoconf no longer uses AWK.
6159         (Syntax of the Perl scripts): New.
6160         * configure.ac: autoconf no longer needs an AWK with a good
6161         regexp engine.
6162         Use a static test on AC_PACKAGE_VERSION.
6163         * autom4te.in (&up_to_date_p): Output depends on the arguments.
6164         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
6165         * tests/atconfig.in (PERL): New.
6167 2001-08-01  Akim Demaille  <akim@epita.fr>
6169         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
6170         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
6171         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
6172         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
6173         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
6174         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
6175         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
6176         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
6177         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
6178         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
6179         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
6180         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
6181         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
6182         * lib/autoconf/c.m4: here, new file.
6184         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
6185         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
6186         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
6187         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
6188         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
6189         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
6190         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
6191         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
6192         (AC_F77_FUNC): Move to...
6193         * lib/autoconf/fortran.m4: here, new file.
6195 2001-08-01  Akim Demaille  <akim@epita.fr>
6197         * acfunctions.m4: Rename as...
6198         * lib/autoconf/functions.m4: this.
6199         * acgeneral.m4: Rename as...
6200         * lib/autoconf/general.m4: this.
6201         * acheaders.m4: Rename as...
6202         * lib/autoconf/headers.m4: this.
6203         * aclang.m4: Rename as...
6204         * lib/autoconf/lang.m4: this.
6205         * acoldnames.m4: Rename as...
6206         * lib/autoconf/oldnames.m4: this.
6207         * acspecific.m4: Rename as...
6208         * lib/autoconf/specific.m4: this.
6209         * actypes.m4: Rename as...
6210         * lib/autoconf/types.m4: this.
6211         * autoconf.m4: Rename as...
6212         * lib/autoconf/autoconf.m4: this.
6214         * m4sugar.m4: Rename as...
6215         * lib/m4sugar/m4sugar.m4: this.
6216         * m4sh.m4: Rename as...
6217         * lib/m4sugar/m4sh.m4: this.
6219         * tests/atgeneral.m4: Rename as...
6220         * lib/autotest/general.m4: this.
6222         * acfunctions: Rename as...
6223         * lib/autoscan/functions: this.
6224         * acheaders: Rename as...
6225         * lib/autoscan/headers: this.
6226         * acidentifiers: Rename as...
6227         * lib/autoscan/identifiers: this.
6228         * aclibraries: Rename as...
6229         * lib/autoscan/libraries: this.
6230         * acmakevars: Rename as...
6231         * lib/autoscan/makevars: this.
6232         * acprograms: Rename as...
6233         * lib/autoscan/programs: this.
6235 2001-08-01  Akim Demaille  <akim@epita.fr>
6237         * doc/autoconf.texi: Moving/deleting open files is not portable.
6238         Portability issues for `.' (source), and more information about sed.
6240 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
6242         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
6243         which has a special meaning and is not a reference to libibmil.a.
6244         Reported by Matteo Frigo.
6246 2001-07-25  Pavel Roskin  <proski@gnu.org>
6248         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
6249         output.
6251 2001-07-25  Akim Demaille  <akim@epita.fr>
6253         * autoconf.in: Try to define the variables before using them.
6254         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
6255         instead of `$perllibdir'.
6256         * tests/atconfig.in ($autom4te_perllibdir): Export it.
6258 2001-07-25  Akim Demaille  <akim@epita.fr>
6260         * autoconf.in (ac_LF_and_DOT): Remove, unused.
6262 2001-07-24  Akim Demaille  <akim@epita.fr>
6264         Let autoconf use autom4te for traces.
6266         * autoconf.in ($task, task trace): Remove, merely pass --trace to
6267         autom4te.
6268         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
6269         (Because I found no way for autom4te to accept `-').
6270         * autom4te.in (&Request::request): Beware of M4 builtins.
6271         (END): Don't try to remove the content of an empty dir.
6272         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
6273         (&handle_output): Set a default value to `$forbidden'.
6274         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
6275         ($autoconf): Pass --debug and --verbose.
6276         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
6277         cache.
6279 2001-07-24  Akim Demaille  <akim@epita.fr>
6281         Let autoconf use autom4te to create configure.
6283         * autoconf.in ($automate): New var.
6284         (task script): Use autom4te.
6285         * autom4te.in (File::Spec): Use it.
6286         (&find_file): New.
6287         (&parse_args): --warning is -W, not -w.
6288         Find the top level files.
6289         (&handle_m4): Pass the warnings flags.
6290         Don't report verbosely m4's failures, unless requested.
6291         (&handle_output): Don't complain for forbidden tokens in comments.
6292         Be sure to report all the forbidden tokens within a single line.
6293         (&trace_format_to_m4): Preserve `$_'.
6294         (&handle_traces): Sort the output macros.
6295         (&up_to_date_p): Find the files before trying to get its time stamp.
6297 2001-07-24  Akim Demaille  <akim@epita.fr>
6299         * Makefile.am: Ship, build and install Autom4te.
6300         (SUBDIRS): Add lib.
6301         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
6302         * configure.in: Require Perl.
6303         * man/autom4te.in: New.
6305 2001-07-19  Paul Eggert  <eggert@twinsun.com>
6307         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
6308         example, rather than (exit 1); exit (which isn't portable).
6310 2001-07-18  Akim Demaille  <akim@epita.fr>
6312         Version 2.52.
6314 2001-07-18  Akim Demaille  <akim@epita.fr>
6316         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
6317         was run, while they are needed also when it is expanded.
6318         Reported by Nicolas Joly.
6320         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
6321         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
6322         AC_F77_DUMMY_MAIN being expanded.
6324 2001-07-18  Akim Demaille  <akim@epita.fr>
6326         * configure.in: Bump to 2.51a.
6328 2001-07-17  Akim Demaille  <akim@epita.fr>
6330         Version 2.51.
6332 2001-07-17  Akim Demaille  <akim@epita.fr>
6334         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
6335         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
6337 2001-07-17  Akim Demaille  <akim@epita.fr>
6339         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
6340         used.  Well, then use the prototypes when you can, and runtime as
6341         a last resort.
6342         Reported by Artur Frysiak
6344         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
6345         (AC_FUNC_GETPGRP): Use it.
6346         First try to compile with 0-ary or 1-ary calls.
6348 2001-07-17  Akim Demaille  <akim@epita.fr>
6350         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
6351         replacement type.
6352         From Paul Eggert.
6354 2001-07-17  Akim Demaille  <akim@epita.fr>
6356         * Makefile.maint: Sync. with cppi 1.10.
6358 2001-07-17  Akim Demaille  <akim@epita.fr>
6360         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
6361         AC_F77_DUMMY_MAIN has been run.
6362         From Pavel Roskin and Steven G. Johnson.
6364 2001-07-17  Akim Demaille  <akim@epita.fr>
6366         * configure.in: Rename as...
6367         * configure.ac: this.
6369 2001-07-17  Akim Demaille  <akim@epita.fr>
6371         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
6372         rules.
6373         From Marc Espie.
6374         * Makefile.maint (release-archive-dir): Rename as...
6375         (release_archive_dir): this, so that it can be specialized in
6376         Makefile.
6378 2001-07-14  Akim Demaille  <akim@epita.fr>
6380         * configure.in: Bump to 2.50d.
6382 2001-07-14  Akim Demaille  <akim@epita.fr>
6384         Version 2.50c.
6385         * Makefile.maint (alpha): Typo.
6387 2001-07-14  Akim Demaille  <akim@epita.fr>
6389         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
6391 2001-07-14  Akim Demaille  <akim@epita.fr>
6393         * config/config.guess, config/config.sub, config/texinfo.tex
6394         * doc/standards.texi, doc/make-stds.texi: Update.
6396 2001-07-14  Akim Demaille  <akim@epita.fr>
6398         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
6400 2001-07-14  Akim Demaille  <akim@epita.fr>
6402         * Makefile.maint (maintainer-check): Rename as...
6403         (maintainer-distcheck): this.
6404         (changelog-check, static-check): New.
6405         Use them.
6407 2001-07-14  Kevin Ryde  <user42@zip.com.au>
6409         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
6410         for CXX is g++, not gcc.
6412 2001-07-14  Akim Demaille  <akim@epita.fr>
6414         * doc/autoconf.texi (Files): New subsection.
6416 2001-07-14  Akim Demaille  <akim@epita.fr>
6418         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
6419         of...
6420         (Generic Compiler Characteristics): this.
6421         (C++ Compiler): New subsection.
6423 2001-07-14  Akim Demaille  <akim@epita.fr>
6425         * autoscan.in: Use IO::File.
6426         Adjust all the routines to use it.
6427         ($log): New file (autoscan.log).
6428         (output): Dump detailed logs into $log, and a shortened version to
6429         stderr.
6430         (&scan_makefile): Refine the regexp catching tokens in the code.
6431         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
6432         and the `configure.ac' checking feature.
6434 2001-07-12  Akim Demaille  <akim@epita.fr>
6436         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
6437         Reported by Michael Elizabeth Chastain.
6439         * autoconf.in: Refuse such AWK.
6440         * configure.in: Likewise.
6441         * Makefile.am (acversion.m4): Do not use move-if-change this file
6442         has dependencies.
6443         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
6445 2001-07-10  Jens Petersen  <petersen@redhat.com>
6447         * autoscan.in (&scan_makefile): Improve programs regexp to parse
6448         things like "g++", "file.c" and "some-conf" as tokens.
6449         (&scan_file): Match C++ files extensions.
6450         If the filename extension is C++ then ask for c++.
6452 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
6454         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
6455         AC_TRY_LINK_FUNC, to check whether defining a dummy
6456         main-like routine is needed for linking with F77 libs.
6458 2001-07-05  Pavel Roskin  <proski@gnu.org>
6460         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
6461         after using break.
6462         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
6463         linking.
6465 2001-07-05  Akim Demaille  <akim@epita.fr>
6467         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
6468         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
6469         Makes' lives.
6470         Reported by Nicolas Joly.
6472 2001-07-04  Akim Demaille  <akim@epita.fr>
6474         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
6475         up.
6476         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
6477         warnings from compilers.
6478         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
6479         for all the compilers, not only GNU.  Hence move from here...
6480         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
6482 2001-07-04  Akim Demaille  <akim@epita.fr>
6484         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
6485         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
6486         AC_COMPILE_IFELSE.
6488 2001-07-04  Akim Demaille  <akim@epita.fr>
6490         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
6491         the ``strings.h'' change claimed below.
6493 2001-07-04  Akim Demaille  <akim@epita.fr>
6495         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
6497 2001-07-04  Akim Demaille  <akim@epita.fr>
6499         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6500         strings.h if usable with string.h.
6501         Suggested by Paul Eggert.
6503 2001-07-04  Akim Demaille  <akim@epita.fr>
6505         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
6506         From Jens Petersen.
6508 2001-07-03  Akim Demaille  <akim@epita.fr>
6510         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
6511         etc. in the log.
6513 2001-07-03  Akim Demaille  <akim@epita.fr>
6515         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
6516         compiler, not the preprocessor.
6517         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
6518         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
6519         the right thing.
6520         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
6521         earlier if there are.
6523 2001-07-03  Akim Demaille  <akim@epita.fr>
6525         * autoscan.in ($initfile): Remove.
6526         (&find_file): Rename as...
6527         (&scan_file): this.
6528         Immediately scan the current file, instead of gathering them, and
6529         later having them handled by &scan_files.
6530         (&scan_files): Merely invoke Find::File.
6531         Adjust.
6533 2001-07-02  Akim Demaille  <akim@epita.fr>
6535         * autoscan.in: Formatting changes, matching the invocation order.
6536         (File::Find): Use it instead of Perl 4's `find.pl'.
6537         (&wanted): Rename as...
6538         (&find_file): this.
6540 2001-07-01  Pavel Roskin  <proski@gnu.org>
6542         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
6543         break in the argument to AC_TRY_LINK_FUNC.
6544         (AC_F77_MAIN): Remove conftest* after using break in the
6545         argument to AC_TRY_LINK.
6547 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
6549         Add alternate 'main' routine detection for linking C/C++ with Fortran,
6550         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
6552         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
6553         dummy alternate main is required even if the user provides her own
6554         'main'.
6555         (AC_F77_MAIN): New macro to detect whether it is possible to
6556         provide an alternate 'main' function name, using the 'main' from
6557         the Fortran libraries.
6558         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
6559         cross-language link tests can be performed successfully.
6560         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
6561         after $LIBS, for consistency; this should be the general rule since
6562         the user may want to link to Fortran libraries that require $FLIBS.
6563         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
6565 2001-06-29  Pavel Roskin  <proski@gnu.org>
6567         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
6568         at-stdout and at-stderr instead of removing the newline
6569         from the echo output, which is not guaranteed to work.
6571 2001-06-28  Jens Petersen  <petersen@redhat.com>
6573         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
6574         confdefs.h when non-zero.
6576 2001-06-28  Akim Demaille  <akim@epita.fr>
6578         * configure.in: Bump to 2.50c.
6580 2001-06-26  Akim Demaille  <akim@epita.fr>
6582         Version 2.50b.
6584 2001-06-26  Akim Demaille  <akim@epita.fr>
6586         Version 2.50a.
6588 2001-06-25  Pavel Roskin  <proski@gnu.org>
6590         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
6591         argument, AUTOCONF-FLAGS.
6592         * tests/mktests.sh (update_exclude_list): Add
6593         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
6594         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
6595         AC_FUNC_WAIT3 with "-W no-obsolete".
6597 2001-06-25  Akim Demaille  <akim@epita.fr>
6599         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
6601 2001-06-25  Akim Demaille  <akim@epita.fr>
6603         * autoscan.in (%macro): Now maps from word to list of macros.
6604         (&init_tables): Die when a word which is already handled by
6605         explicit macros is mapped to the default macro.
6606         (&print_unique): Remove, inlined in...
6607         (&output_kind): here.
6608         (File::Basename): Use it.
6609         (&output): Sort the CONFIG_FILES.
6610         * acheaders: Normalize.
6611         * acfunctions: Likewise.
6613 2001-06-25  Akim Demaille  <akim@epita.fr>
6615         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
6616         characteristics in the logs.
6617         Suggested by Mo DeJong.
6619 2001-06-24  Akim Demaille  <akim@epita.fr>
6621         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
6622         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
6623         * doc/autoconf.texi (Autoconf 2.13): New section.
6625 2001-06-24  Akim Demaille  <akim@epita.fr>
6627         * autoconf.in (Task traces): Separate the error messages from the
6628         traces to improve robustness.
6630 2001-06-23  Akim Demaille  <akim@epita.fr>
6632         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
6633         three as failures are unlikely, and speed matters.
6635 2001-06-23  Akim Demaille  <akim@epita.fr>
6637         * doc/autoconf.texi (Redefined M4 Macros): New.
6639 2001-06-23  Akim Demaille  <akim@epita.fr>
6641         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
6642         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
6643         5.3.
6645 2001-06-23  Paolo Bonzini <bonzini@gnu.org>
6647         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
6648         config.status targets to after the evaluation of the INIT-CMDS.
6649         Double quote config.status targets (used to be single quoted).
6651 2001-06-23  Akim Demaille  <akim@epita.fr>
6653         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
6654         Check the content of the created file.
6655         Check the ./config.status command line invocation.
6657 2001-06-23  Akim Demaille  <akim@epita.fr>
6659         * tests/foreign.at (Libtool): Reject prehistoric versions.
6661 2001-06-23  Akim Demaille  <akim@epita.fr>
6663         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
6664         preexisting files matching a.*.
6666 2001-06-23  Akim Demaille  <akim@epita.fr>
6668         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
6669         stderr.
6670         * doc/autoconf.texi (AC_ARG_VAR): Update.
6672 2001-06-21  Akim Demaille  <akim@epita.fr>
6674         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
6675         precious variables have changed.
6676         * tests/torture.at (AC_ARG_VAR): Adjust.
6678 2001-06-21  Akim Demaille  <akim@epita.fr>
6680         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
6681         but some sed choke on multiple `;', and other tools (e.g.,
6682         Automake), include the separator themselves.
6684         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
6686 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
6688         * doc/autoconf.texi (Functions Portability): Rename as...
6689         (Function Portability): this.
6690         (Function Portability): Document potential problems with unlink().
6692 2001-06-19  Paul Eggert  <eggert@twinsun.com>
6694         * NEWS, doc/autoconf.texi: Document quadrigraphs.
6696 2001-06-18  Akim Demaille  <akim@epita.fr>
6698         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
6700 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
6702         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
6703         (_AC_FUNC_VFORK): this.
6704         Remove AC_DEFINEs and don't guess cross-compilation values.
6705         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
6706         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
6707         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
6708         vfork doesn't work.
6709         Guess values if cross-compiling, but warn.
6710         * acfunctions: Add AC_FUNC_FORK.
6711         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
6712         and vfork appropriately.
6714 2001-06-18  Akim Demaille  <akim@epita.fr>
6716         * doc/autoconf.texi (Functions Portability): New section.
6718 2001-06-18  Akim Demaille  <akim@epita.fr>
6720         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
6721         in $M4.
6722         Suggested by Andreas Schwab.
6724 2001-06-18  Akim Demaille  <akim@epita.fr>
6726         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
6727         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
6728         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
6729         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
6730         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
6731         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
6732         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
6733         the converse).
6735 2001-06-18  Akim Demaille  <akim@epita.fr>
6737         * doc/autoconf.texi (ms): New index.
6738         (Macro Index): Rename as...
6739         (Autoconf Macro Index): this.
6740         (M4 Macro Index): New appendix.
6741         (Programming in M4): New chapter.
6742         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
6743         (Quoting): Rename as...
6744         (M$ Quotation): this.
6745         Be part of `Programming in M4).
6747 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
6749         * tests/torture.at (AC_ARG_VAR): Set variables and export them
6750         in separate statements for compatibility with Tru64 v5.1.
6752 2001-06-17  Akim Demaille  <akim@epita.fr>
6754         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
6755         current values of the precious variables, not the previously
6756         cached values.
6757         Pass precious variables which are set to config.status.
6758         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
6759         * tests/torture.at (AC_ARG_VAR): New.
6761 2001-06-15  Paul Eggert  <eggert@twinsun.com>
6763         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
6764         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
6765         and explain why and how to replace them.
6766         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
6767         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6769 2001-06-15  Akim Demaille  <akim@epita.fr>
6771         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
6772         Reported by Bruno Haible.
6774         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
6775          (_AC_ARG_VAR_PRECIOUS): to here.
6777 2001-06-15  Pavel Roskin  <proski@gnu.org>
6779         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
6780         an unused pointer use cast to this type and `if' statement to
6781         avoid warnings from the compiler.
6782         (AC_HEADER_TIME): Likewise.
6783         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
6784         in `if' statement to avoid warnings from the compiler. Declare
6785         ac_aggr static to avoid the need to initialize it.
6787 2001-06-14  Akim Demaille  <akim@epita.fr>
6789         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
6790         Macros'.
6792 2001-06-13  Akim Demaille  <akim@epita.fr>
6794         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
6795         Suggested by Alexander Mai.
6797 2001-06-13  Akim Demaille  <akim@epita.fr>
6799         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
6800         sys/types.h and sys/stat.h, and check for them.
6802 2001-06-13  Akim Demaille  <akim@epita.fr>
6804         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
6805         INCLUDES.
6807 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6809         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
6810         succeeds and only try adding libdnet upon a failure.
6812 2001-06-12  Akim Demaille  <akim@epita.fr>
6814         * autoscan.in (&output_kind): Output the comment only if it exists.
6815         (%kind_comment): Add entry for `programs'.
6816         (&output_programs): Use &output_kind.
6817         (&output_functions, &output_identifiers, &output_headers)
6818         (&output_programs): Inline, and remove.
6820 2001-06-12  Akim Demaille  <akim@epita.fr>
6822         * autoscan.in (%kind_comment): New.
6823         (output_kind): New.
6824         (output_functions, output_identifiers, output_headers): Use it.
6826 2001-06-12  Akim Demaille  <akim@epita.fr>
6828         * autoscan.in (&print_unique): Take `$kind' and `$word' as
6829         arguments, to factor indirections into `%macro' and `%used'.
6830         (%generic_macro): Fix a typo.
6832 2001-06-12  Akim Demaille  <akim@epita.fr>
6834         * aclibraries: New.
6835         * autoscan.in (@kinds): Add `libraries'.
6836         Use `@kinds' instead of hard coded lists.
6837         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
6838         Remove, replaced by...
6839         (%used): this.
6841 2001-06-12  Akim Demaille  <akim@epita.fr>
6843         * autoscan.in (%functions_macros %headers_macros)
6844         (%identifiers_macros %programs_macros %makevars_macros): Remove,
6845         replaced by...
6846         (%macro): New.
6848 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
6850         * aclang.m4 (AC_NO_EXECUTABLES): Override
6851         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
6853 2001-06-11  Akim Demaille  <akim@epita.fr>
6855         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
6856         trailing new line.
6857         Reported by Andreas Schwab.
6859 2001-06-11  Akim Demaille  <akim@epita.fr>
6861         * Makefile.am, Makefile.maint: Typos.
6863 2001-06-09  Akim Demaille  <akim@epita.fr>
6865         * doc/autoconf.texi (Here-Documents): New section, gathering
6866         documentation about here-documents.
6867         Use `href', not `uref', and other changes.
6869 2001-06-09  Akim Demaille  <akim@epita.fr>
6871         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
6872         chapter.
6874 2001-06-09  Akim Demaille  <akim@epita.fr>
6876         * doc/autoconf.texi (Limitations of Builtins): Complete the
6877         description of the here-docs penalties with Alexandre Oliva's
6878         explanations.
6880 2001-06-01  Paul Eggert  <eggert@twinsun.com>
6882         * doc/autoconf.texi: Talk about here documents and speedups.
6883         Do not use "echo" on arbitrary strings.
6884         Spell "here-documents" consistently with the standard.
6886 2001-06-09  Akim Demaille  <akim@epita.fr>
6888         * doc/autoconf.texi (Concept Index): Introduce it.
6889         Regenerate the menus.
6891 2001-06-09  Akim Demaille  <akim@epita.fr>
6893         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
6894         * config/prev-version.txt: New.
6895         * config/move-if-change: New, for GNU libc.
6897 2001-06-06  Pavel Roskin  <proski@gnu.org>
6899         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
6901 2001-06-06  Akim Demaille  <akim@epita.fr>
6903         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
6904         properly when $1 is not a literal.
6905         Fixes PR Autoconf/187, reported by Bram Moolenaar.
6907 2001-06-06  Akim Demaille  <akim@epita.fr>
6909         Invoking AC_COPYRIGHT before AC_INIT fails.
6911         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
6912         * acgeneral.m4 (_m4_divert(VERSION_FSF))
6913         (_m4_divert(VERSION_USER)): New.
6914         (AC_COPYRIGHT): $2 is the diversion to use.
6915         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
6916         (AC_INIT): Remove dead comments as now it's commutative.
6918 2001-06-06  Akim Demaille  <akim@epita.fr>
6920         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
6921         PR autoconf/187.
6923 2001-06-05  Akim Demaille  <akim@epita.fr>
6925         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
6926         can be empty.
6927         `*dir' variables cannot be NONE.
6928         Reported by Mark Kettenis.
6930 2001-06-05  Paul Eggert  <eggert@twinsun.com>
6932         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
6934 2001-06-04  Akim Demaille  <akim@epita.fr>
6936         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
6937         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
6938         (AC_TR_SH): Move as...
6939         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
6940         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
6941         (AS_TR_SH): these.
6942         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
6943         (_AS_TR_SH_PREPARE): New.
6944         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
6945         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
6947 2001-06-02  Akim Demaille  <akim@epita.fr>
6949         * Makefile.am (.m4.m4f): Pass the options first.
6950         Fixes PR autoconf/182.
6952 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
6954         GNU getopt, when POSIXLY_CORRECT does not permute options and
6955         arguments.  So pass the options first.
6956         Fixes PR autoconf/184.
6958         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
6959         (run_m4): Remove files.
6960         (run_m4f): Remove.
6961         Update remainder of script to use them.
6962         (for warning in): Do not use a literal comma as it will not be
6963         split by IFS.
6965 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
6967         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
6968         Fortran compilers to check.
6969         (_AC_PROG_F77_V): Add '-###' as a possible option to print
6970         information on library and object files.
6971         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
6972         to check.
6974 2001-06-02  Akim Demaille  <akim@epita.fr>
6976         * autom4te.in (Request::@request): Declare with `vars', not `my',
6977         as it prevents updates via `do FILENAME'.
6979 2001-06-02  Akim Demaille  <akim@epita.fr>
6981         * configure.in (standards_texi): Remove, dead code.
6983 2001-06-02  Akim Demaille  <akim@epita.fr>
6985         * autom4te.in: New.
6987 2001-06-02  Pavel Roskin  <proski@gnu.org>
6989         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
6990         for signals other than 0 - exit with code 1.
6991         * m4sh.m4 (AS_TMPDIR): Likewise.
6992         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
6993         * autoheader.in: Likewise.
6994         * autoreconf.in: Likewise.
6995         * tests/torture.at (Signal handling): New test for the above.
6997 2001-06-01  Akim Demaille  <akim@epita.fr>
6999         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
7000         message.
7002 2001-05-31  Akim Demaille  <akim@epita.fr>
7004         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
7005         Add copyright and comments.
7006         * acheaders: Add stdint.h.
7007         Suggested by Paul Eggert.
7009 2001-05-31  Akim Demaille  <akim@epita.fr>
7011         * atgeneral.m4 (AT_INIT): Use $SHELL.
7012         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
7014 2001-05-31  Akim Demaille  <akim@epita.fr>
7016         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
7017         stdint.h.
7018         From Paul Eggert and Lars Hecking.
7020 2001-05-31  Akim Demaille  <akim@epita.fr>
7022         * tests/base.at: Adjust line numbers in error messages.
7024 2001-05-31  Akim Demaille  <akim@epita.fr>
7026         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
7027         to emit the bangshe line.
7028         Reported by David Carter.
7030 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
7032         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
7033         Fortran (95) compilers to check.
7035 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
7037         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
7038         Macro Archive URL.
7040 2001-05-23  Pavel Roskin  <proski@gnu.org>
7042         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
7043         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
7044         (AC_PROG_CXXCPP): Likewise.
7046 2001-05-22  Akim Demaille  <akim@epita.fr>
7048         * config: New directory.
7049         * configure.in: AC_CONFIG_AUX_DIR it.
7050         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
7052 2001-05-22  Akim Demaille  <akim@epita.fr>
7054         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
7055         * autoupdate.in: Specify the Emacs mode.
7056         * acversion.m4.in: Rename as...
7057         * acversion.m4: this.
7058         * tests/Makefile.am (CLEANFILES): More garbage.
7060 2001-05-22  Akim Demaille  <akim@epita.fr>
7062         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
7063         Rename as...
7064         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
7065         these.
7067 2001-05-21  Akim Demaille  <akim@epita.fr>
7069         * configure.in: Bump to 2.50a.
7071 -----
7073 Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
7075 This file is part of GNU Autoconf.
7077 GNU Autoconf is free software; you can redistribute it and/or modify
7078 it under the terms of the GNU General Public License as published by
7079 the Free Software Foundation; either version 2, or (at your option)
7080 any later version.
7082 GNU Autoconf is distributed in the hope that it will be useful,
7083 but WITHOUT ANY WARRANTY; without even the implied warranty of
7084 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7085 GNU General Public License for more details.
7087 You should have received a copy of the GNU General Public License
7088 along with autoconf; see the file COPYING.  If not, write to
7089 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
7090 Boston, MA 02111-1307, USA.