* doc/autoconf.texi (Subdirectories): Fix markup typos.
[autoconf.git] / ChangeLog
blob7aba50d94e96c61361feb1634d97c81a7eafd987
1 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         * doc/autoconf.texi (Subdirectories): Fix markup typos.
5 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
7         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
9         Fix some more shell quoting problems.  Prompted by a bug report
10         from Justace Clutter.
11         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
12         variable into diagnostic.  Make the diagnostic an error, not a warning,
13         because we really don't support spaces and suchlike in dir names.
14         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
15         Don't worry about backslashes in srcdir; it can't happen now.
16         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
17         Simplify ac_optarg handling.
18         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
20 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
22         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
23         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
24         * tests/atlocal.in: Propagate $EGREP and $SED.
25         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
26         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
28         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
29         that '\|' is not allowed in BREs; recommend using newline separated
30         list of patterns instead of multiple -e options.
32         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
34 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
36         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
38 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
40         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
42 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
44         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
45         b, t, r, w commands require single space, while : cannot have any.
46         (Special Shell Variables): Fix sed code this in the example.
47         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
48         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
50 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
52         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
53         expand to the empty list.  Don't use two pairs of m4_changequote,
54         it's not necessary.
56 2005-06-20  Derek Price  <derek@ximbiot.com>
58         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
60 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
62         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
63         * doc/autoconf.texi:
64         Don't mention Solaris versions so much, if a
65         problem is common to all extant versions of Solaris.  Say "SunOS
66         4" instead of "SunOS" for SunOS 4.
67         (awk): Mention more of the limitations of traditional Awk.
68         (cat): Don't talk about cat -v.
70 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
72         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
73         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
74         but the implementation is entirely different and is designed
75         to be compatible with glibc strverscmp.
76         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
78         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
79         on Mac OS X 10.4 reported by Peter O'Gorman in:
80         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
81         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
82         Use shell builtins rather than 'expr', to work around expr bug.
84 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
86         * doc/autoconf.texi: "filesystem" -> "file system".
87         "behaviour" -> "behavior".
88         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
89         * lib/autoconf/general.m4: Omit blank after ":" sed command,
90         as per POSIX.
91         * lib/m4sugar/m4sh.m4: Likewise.
92         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
93         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
95         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
96         (.x.1): Ignore the time stamp in the .TH line when deciding whether
97         to update the man page.  That way, we don't have to check in new
98         man pages every month.
100         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
101         quotes and backslashes.  Patch from Derek Price.
103 2005-06-10  Derek Price  <derek@ximbiot.com>
105         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
106         AS_TR_SH.
108 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
110         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
111         -u, since it outputs chatter if the input files are the same.
112         Problem reported by Ralf Menzel.
114 2005-06-08  Derek Price  <derek@ximbiot.com>
116         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
117         renaming them since they are about to be redefined anyhow.
119 2005-06-08  Derek Price  <derek@ximbiot.com>
121         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
122         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
123         Move m4_undefine to alphabetical order.
125 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
127         * README: Recommend GNU M4 1.4.3 or later.
128         * doc/autoconf.texi (Introduction): Likewise.
129         Reword to avoid some formatting glitches.
130         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
131         Clarify explanation of HP compiler bug.
132         Redo example output tp match current CVS snapshot.
133         Use @example.org in email addresses when the examples
134         might get inadvertently cut-and-pasted into user code.
135         Remove example of autom4te usage that doesn't seem to work now.
136         Use modern AC_INIT (except when the example is meant to be
137         shown with Autoconf 2.13).
138         Update ksh info for Solaris 9 and later.
139         KB -> kB.
140         Modernize description of Automake versions a bit.
141         Don't claim a future version of Autoconf is near.
142         * doc/install.texi: Reword to avoid some formatting glitches.
144 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
146         * doc/autoconf.texi: Add [] to examples, so that the manual
147         follows its own advice about quoting better.
148         Reword to avoid some formatting glitches.
149         * doc/installt.exi: Reword to avoid some formatting glitches.
151         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
152         Tru64 ksh pattern matching bug.  Reported against Libtool by
153         Albert Chin <libtool@mlists.thewrittenword.com> and
154         Nicolas Joly <njoly@pasteur.fr>.
156 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
158         m4_cdr of one-member list was [[]] (one-member list containing an
159         empty string) instead of [] (an empty list.  Callers were skewed to
160         match this misbehaviour.  As a consequence of this:
161          - m4_foreach([x], [], [foo]) expanded to `foo', while
162          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
163         I fixed this bug.
165         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
166           expand to an empty string; print error msg if called without
167           an argument list.
168         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
169           misbehaviour; handle [] and [[]] correctly.
171 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
173         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
174         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
175           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
177 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
179         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
180           swallow records with more than 99 fields.
181         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
182           parse the long line.
184 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
186         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
187           swallow literals longer than 399.  Reported by Ralf Wildenhues.
188         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
189           to workaround this limitation.
191 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
193         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
194         to gfortran, and make these the first two compiler names
195         checked (following the general autoconf preference for gcc).
197 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
199         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
200         (DISTCLEANFILES): Remove $(check_SCRIPTS).
201         (testsuite): Make sure autotest.m4f is up-to-date before using it.
203 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
205         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
206         expression of unbounded size when processing the --list
207         option.  This runs afoul of a limit of 399 bytes per regular
208         expression on AIX.  Problem reported by Ralf Wildenhues.
210 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
212         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
213         * doc/autoconf.texi (Particular Headers): Reword example
214         for multiline stdbool replacement.
215         (Setting Output Variables): Reword text a bit.  Don't
216         give all the details about |#_!!_#|.
217         Reword description of line replacement.
219 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
221         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
222         now contain newlines, and substituted files must be referenced on
223         a line alone; the sed scripts to substitute them are now very
224         different.
225         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
226         commands can be put in a sed script portably.
227         * doc/autoconf.texi (Setting Output Variables): Document above
228         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
229         use of multiline substitution.
230         * tests/torture.at: No longer expect substitution of newline to fail.
232 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
234         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
235         From Ralf Menzel (trivial change).
237 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
239         * tests/local.at: Don't attempt to check for negated character
240         classes in shell scripts.  The test was too brittle.
242 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
244         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
245         * doc/autoconf.texi (Limitations of Builtins): Document this
246           limitation.
248 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
250         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
251           common code; used in many places in the tree.
252         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
253         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
255         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
257         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
258           messages when ac_unique_file is not found.
259         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
260         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
261           commands, for consistency with AC_MSG_ERROR and such.
263         * bin/autoconf.as: Make more use of "shift 2" in option processing.
265         * bin/Makefile.am: Merge the two rules for creating scripts.
267 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
269         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
270         obsolete; it was never documented.
271         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
273 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
275         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
276         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
277         (ac_top_builddir): ... this ...
278         (ac_top_build_prefix): ... to this; the old name is also kept, for
279           backward compatibility.
280         (ac_top_builddir_sub): New variable, without the trailing slash,
281           always nonempty.
282         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
283         * doc/autoconf.texi (Configuration Actions): Rename
284           ac_top_builddir to ac_top_build_prefix.
285         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
286           at_top_builddir to at_top_build_prefix.
287         * lib/autotest/general.m4 (AT_INIT): Likewise.
289 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
291         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
292           of confdefs.h .
294 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
296         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
297           argument to m4_foreach.  I guess it was necessary in the past,
298           but I think it's a no-op now.
300 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
302         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
303           ``cat <<_ACEOF'' commands to one.
304         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
305         * lib/autoconf/status.m4: On various places, use expr instead of
306           ``echo|sed.''
307         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
308         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
309         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
310           a range.
311         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
312           the wrong patterns between ``case'' and ``esac.''  The previous
313           code had false positives.
315 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
317         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
318         as on 2005-05-02.
319         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
320         Mention LIBOBJDIR.
322 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
324         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
325         ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
326         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
327         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
328         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
329         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
330         config/config.guess, config/config.sub, config/elisp-comp,
331         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
332         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
333         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
334         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
335         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
336         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
337         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
338         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
339         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
340         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
341         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
342         lib/autoconf/general.m4, lib/autoconf/headers.m4,
343         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
344         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
345         lib/autoconf/specific.m4, lib/autoconf/status.m4,
346         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
347         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
348         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
349         lib/autotest/general.m4, lib/emacs/Makefile.am,
350         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
351         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
352         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
353         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
354         tests/compile.at, tests/foreign.at, tests/fortran.at,
355         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
356         tests/semantics.at, tests/suite.at, tests/tools.at,
357         tests/torture.at, tests/wrapper.as:
358         Update FSF postal mail address.
360 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
362         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
363           check.
364         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
365           enough arguments, similarly as in m4_bpatsubsts.
367 2005-05-12  Stepan Kasal  <address@hidden>
369         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
370           of absolute paths.
372 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
374         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
375           for absolute directory names in one loop.
376         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
377           abbreviations of --version and --debug.
379 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
381         * doc/autoconf.texi (Autoconf Language): Be more precise about
382         quoting rules.  Problems noted by Stepan Kasal.
383         Also, throughout this document, be more careful about white space.
384         "blank", "white space", and "space" all have different meanings
385         and we should be careful to say what we mean.
387 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
389         Fix C++ related problems reported by Werner Lemberg.
390         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
391         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
392         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
393         avoid problems with C++ and throw.
394         * tests/compile.at: .cpp, not .cc.
396         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
398 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
400         * doc/autoconf.texi (Generic Functions): Typos.
402 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
404         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
405         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
406         set by latest automake.
408 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
410         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
411         outputs 0 on GNU/Linux these days.
413 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
415         * doc/autoconf.texi (Autoconf Language): Add more description
416         about quoting heuristics.
417         (Limitations of Builtins): Describe "set -" problems.
419 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
421         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
422         not newline.
424         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
425         by AC_DEFINE; it was a mistake.
426         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
428 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
430         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
432 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
434         * doc/autoconf.texi (External Software): Quadrigraphs are not
435           processed correctly in AS_HELP_STRING; avoid this in the examples.
436         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
437         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
438           comment and reduce m4_default([foo], []) to [foo].
439         (m4_strip): Update the explanation.
441 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
443         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
444         Remove core.conftest.* too; it's generated by Tru64 5.1.
445         Problem reported by Jennis Pruett.
446         * lib/autoconf/functions.m4
447         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
448         Don't bother to remove core files; AC_RUN_IFELSE should do that
449         for you.
451 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
453         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
455 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
457         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
458         Report from Horst Wente.
460 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
462         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
463           the comment.
465 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
467         * doc/autoconf.texi (External Software, Package Options): Add
468           examples showing how to implement --with-* and --enable-* options.
470 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
472         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
473         as well as configure.in.  Problem reported by Gregorio Guidi.
475 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
477         * doc/autoconf.texi (Particular Functions): Use gnulib's current
478         pattern for alloca snippet.
480 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
482         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
484 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
486         * doc/autoconf.texi (Generic Programs): Fix a typo.
488 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
490         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
491         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
493 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
495         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
496         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
497         whole-archive (-zallextract, -zdefaultextract) options in the hope of
498         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
499         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
501 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
503         * NEWS: The configure command now warns you if you attempt to use
504         a directory whose name contains a special character like space,
505         newline, or "\".
506         * doc/autoconf.texi (Installation Directory Variables): Allow
507         "," in file names.  Do not use \@; it's not a portable regexp.
508         * bin/Makefile.am (edit): Likewise.
509         * lib/Makefile.am (edit): Likewise.
510         * tests/Makefile.am (edit): Likewise.
511         * tests/semantics.at: Likewise.
512         * tests/torture.at: Likewise.
513         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
514         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
515         * doc/autoconf.texi (File System Conventions): Warn about
516         unportable file names.
517         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
518         (AC_INIT): Use it.
519         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
520         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
521         ac_pwd, and quote srcdir.
522         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
524         * doc/autoconf.texi: Fix some systematic formatting problems.
525         ".)"  needs a following @: if not at the end of a sentence, and
526         similarly for "!)".  "etc." should be preceded by a comma.
527         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
529 2005-03-22  Bruno Haible  <bruno@clisp.org>
531         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
532         argument is often called 'build-aux'.
534 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
536         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
537           macro AC_TRY_LINK is obsolete.
538         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
539           `AC_CONFIG_FILES'.
541 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
543         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
544           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
545           from a Common Lisp's `cl'.
546         (AC_PROG_CXX): Behave according to the documentation: don't
547           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
548           make the variable CCC precious; use `cl.exe', not `cl'.
550 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
551             Alexandre Duret-Lutz  <adl@gnu.org>
553         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
554         /dev/null, as "configure" shouldn't read stdin, and this insulates
555         us from problems (e.g., when testing for "cl").  Also, do this
556         redirection before invoking "hostname" or "uname", and keep the
557         original input stream available via...
558         (AS_ORIGINAL_STDIN_FD): ... this new macro.
559         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
560         bother with "</dev/null" since it's now done at the top of
561         'configure'.
562         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
563         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
564         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
565         * doc/autoconf.texi (File Descriptor Macros): New section.
566         (Printing Messages): Mention it.
567         * tests/base.at (Input/Output): New test.
569 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
571         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
572         newline if neither \c nor -n work, as that would output two
573         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
575 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
577         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
578         This causes that any required macros inside will get before the if.
579         * doc/autoconf.texi (autom4te.cache): A typo.
581 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
583         Undo previous change, except keep the change to
584         lib/autoconf/programs.m4 that replaced grep with shell
585         pattern-matching.  This is because net-snmp configure reads stdin.
586         Reported by Noah Misch.
588 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
590         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
591         from /dev/null, as "configure" shouldn't read stdin, and this
592         insulates us from problems (e.g., when testing for "cl").
593         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
594         before invoking "hostname" or "uname".
595         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
596         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
597         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
598         "</dev/null" since it's now done at the top of 'configure'.
599         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
600         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
601         Also, replace grep with shell pattern-matching, to save a process.
603 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
605         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
606         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
607         avoid thinking that Allegro Common Lisp's "cl" command is a C++
608         compiler.
610 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
612         * doc/autoconf.texi (Limitations of Usual Tools): Document that
613         grep -q isn't portable.  Improve grep -s explanation.
614         Problem reported by Dan Manthey.
616 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
618         * doc/autoconf.texi (Special Shell Variables): Clarify
619         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
621 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
623         * doc/autoconf.texi: Use @acronym for DJGPP.
624         Fix some @code's that should have been @env's, and vice versa.
625         Sort environment variable names.
626         Mention that shells no longer inherit IFS.
627         Don't recommend PATH_SEPARATOR=';' so strongly.
628         Mention that $RANDOM might expand to the empty string.
629         "symlink" and "soft link" -> "symbolic link".
630         Improve mktemp description (reported by Bruno Haible).
632 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
634         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
635         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
636         Likewise.
637         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
638         Likewise.
640 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
642         * NEWS: Mention AT_COPYRIGHT.
644         * tests/local.at (AT_CMP): Use diff directly on input files rather
645         than copying them.
647         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
648         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
650 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
651         and Paul Eggert  <eggert@cs.ucla.edu>
653         * tests/autotest.at (Empty test suite): New test.
654         * tests/torture.at (Substitute and define special characters)
655         (Substitute a 2000-byte string, Define to a 2000-byte string)
656         (Substitute a newline, Define a newline): New tests.
658 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
660         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
661         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
662         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
663         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
664         (Standard regular expressions): New test.
665         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
666         excess test name quoting.
667         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
668         CPPFLAGS to `configure' instead of setting it in `configure'.
670         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
671         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
672         on some platforms.
674         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
675         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
677         * tests/local.at (AT_CMP): New macro.
678         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
679         (AC_SAVE_STATE): Move environment grep...
680         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
681         (AT_CONFIG_CMP): New macro.
682         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
683         * tests/c.at (Extensions): Do not exit early.
684         * tests/atlocal.in: Inherit $GREP.
686         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
687         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
689         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
690         (AC_COPYRIGHT): Factor header comment portion out and move into...
691         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
692         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
693         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
694         --version output.
695         * tests/local.at: Add Autoconf test suite copyright notice.
696         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
698 2005-02-04  Bruno Haible <bruno@clisp.org>
699         and Paul Eggert  <eggert@cs.ucla.edu>
701         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
703 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
705         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
706         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
708         Try not to generated lines of unlimited length, as POSIX places a
709         2047-byte limit on line length of portable text files.
710         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
711         Use newline as a separator, not space.
712         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
713         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
714         space.
716 2005-02-03  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
718         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
719         as_func_*.  Add test to check whether positional parameters
720         are restored after function return.
722 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
724         * doc/autoconf.texi (Special Shell Variables): Mention _,
725         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
726         if they contain a lower-case letter.  The DUALCASE problem was
727         reported by Ralf Wildenhues.
729         * bin/autoconf.as: Don't exit with status 0 after write failure
730         with --help or --version.
731         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
732         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
734 2005-02-02  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
736         * doc/autoconf.texi (Limitations of Usual Tools):
737         Unicos 9 sed limitations.
738         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
739         to get the option-enhanced interface on older Crays.  Try ftn for
740         Fortran 95 (newer Crays).
742 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
744         * man/Makefile.am (.x.1): Go back to the simple solution, but take
745         care to echo the commands, so the user knows what's going on.
746         Modified from a suggestion by Stepan Kasal.
748         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
749         with a cross reference.  Derived from a suggestion by Bruce Korb.
751 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
753         * doc/autoconf.texi (config.status Invocation): Warn about
754         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
755         * doc/install.texi (Defining Variables): Likewise.
756         Based on a proposed patch by Ralf Wildenhues.
758         * man/Makefile.am (.x.1): Make sure the required generated files
759         are up to date.  Problem and original solution proposed by Stepan Kasal.
760         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
761         implicit-man-prerequisites): New rules, used by the above.
763         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
764         * config/config.guess, config/config.sub, config/install-sh: Likewise.
765         * config/missing, config/texinfo.tex: Likewise.
767 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
769         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
770         Update the long comment explaining it.
772         m4_require no longer writes an ``is required by'' line to the
773         execution stack.  It contains only one bit of non-redundant
774         information: that the macro was required, not called.  And even
775         this bit is useless in most situations: have you ever met a macro
776         which both calls and requires the same macro?
778         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
779         (_m4_defun_pro_outer): ... only via this macro, for the outermost
780           macro.
781         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
782         (m4_expansion_stack_pop): Remove the misplaced comment.
783         (m4_require): Don't put the ``is required by'' line to the
784           execution stack; slightly improve the out-of-a-defun error message.
785         (_m4_divert_grow): New macro, counter for the temporary diversions.
786         (_m4_require_call): Use it.
787         * tests/m4sugar.at (m4_require): Expect output without the
788           ``is required by'' messages.
790 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
792         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
793         rather than x for expr.
795         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
796         this is safe.
797         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
798         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
799         * lib/autotest/general.m4 (AT_INIT): Likewise.
800         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
801         * tests/mktests.sh: Likewise.
803 2005-01-27  Akim Demaille  <akim@epita.fr>
805         Have autoheader honor --force.
807         * doc/make-stds.texi, doc/standards.texi: Update from masters.
808         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
809         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
810         from masters, so that FileUtils.pm's update_file provide --force
811         support.
812         * bin/autoheader.in: Pass $force to update_file so that
813         config.h.in is always recreated when --force.
815 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
817         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
819 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
821         * doc/autoconf.texi (Limitations of Builtins): Clarify that
822         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
824 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
826         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
827         Warn about newline stripping in `` and $().  Update Solaris
828         version to 9.
829         (Limitations of Builtins): Use expr "X...", not expr "x...", as
830         X insulates us from future changes to Posix.
831         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
832         stripping.
834 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
836         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
837           you cannot use AC_DEFINE to define macros containing `[' or `]'.
839 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
841         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
842         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
843         bug-tar mailing list.
845 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
847         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
849 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
851         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
852         ulongval to be static, to avoid unwanted GCC warning.  Problem
853         reported by Michael Jennings via Daniel Reed; see
854         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
856 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
858         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
859         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
860         datadir, infodir, and mandir.  Adjust argument parsing code.
861         (_AC_INIT_HELP): Update help text.
862         * doc/autoconf.texi (Installation Directory Variables): Document
863         new variables.
865 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
867         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
868         not seem to work, assume it does set $(MAKE).
869         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
871 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
873         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
875 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
877         A cleanup of the diversion support in m4sugar.
879         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
880         (_m4_divert_n_stack): New macro; the expansion is
881           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
882           otherwise.
883         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
884         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
885           stored in _m4_divert_diversion or _m4_divert_dump.
886         (m4_divert_pop): When the parameter is given, compare the symbolic
887           name with the last diversion pushed on the stack.  Previously, the
888           current diversion was compared with the numeric value of the
889           diversion given as the parameter.
890         (m4_require): If the macro hasn't been expanded yet, call ...
891         (_m4_require_call): this new macro.
893 2005-01-03  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
895         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
896         Workarounds for documented `case' limitations.
898 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
900         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
901         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
903 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
905         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
906         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
907         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
909         Patch from Roger Leigh (with some minor changes) as follows:
910         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
911         Resurrect AC_PROG_CC_STDC.
912         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
913         AC_PROG_CC_C89, AC_PROG_CC_C99.
914         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
915         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
916         AC_PROG_CC_C99): New macros.
917         (AC_PROG_CC_STDC): Use them.
918         (_AC_PROG_CC_STDC): Remove.
919         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
920         * THANKS: Add Roger Leigh.
922 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
924         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
925         signals that the package uses Automake; a `Makefile.am' is typical but
926         not essential.  Reported by Magnus Therning.
927         * tests/torture.at (autoreconf.): New banner.
928         (autoreconf and non-AC configure): Rename to `Non-Autoconf
929         AC_CONFIG_SUBDIRS'.
930         (autoreconf an empty directory): Rename to `Empty directory'.
931         (Unusual Automake input files): New test.
933 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
935         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
936         (AT_SETUP): Clear AT_capture_files.
937         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
938         (AT_KEYWORDS): Fix comment typo.
939         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
940         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
941         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
943 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
945         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
946         If the variable to set is already set, set ac_cv_path_$1
947         to the preset value so caller can assume ac_cv_path_$1
948         is available.  (trivial change)
950 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
952         * BUGS (Minor Problems): Warn about makefile limitations.
953         * Makefile.am: Find and update `INSTALL' in $(srcdir).
954         * man/Makefile.am: Find and update manual pages in $(srcdir).
956 2004-12-24  Eric Blake  <ebb9@byu.net>
958         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
959         shells in subshell, to avoid noise from ash.  (trivial change)
961 2004-12-22  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
963         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
964         problems with SunOS ksh and backslash escaping, Bourne shells and
965         closing brackets (both within character classes).  Bug reported
966         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
967         <read>: New entry.  Mention non-availability of -r.
969 2004-12-21  Akim Demaille  <akim@epita.fr>
971         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
972         avoid cluttering displayed messages.  Rather, prepend srcdir where
973         AT_LINE is used for log files.
975 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
977         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
978         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
979           no longer part of the macro, quote the occurrence of ``$tmp''.
980         * doc/autoconf.texi (Forbidden Patterns): Typo.
982 2004-12-21  Akim Demaille  <akim@epita.fr>
984         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
985         separated from the test title by forcing a white space.
987 2004-12-21  Akim Demaille  <akim@epita.fr>
989         Enable Emacs navigation within testsuite.log files.
991         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
992         use the compilation mode.
993         (AT_LINE): Point to the srcdir.
995 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
997         * tests/Makefile.am (installcheck-local): Use $(bindir).
998         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
999         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
1000         Makefile.am scheme Autoconf now uses.
1002 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
1004         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
1005         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
1007 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
1009         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
1010         (_AT_CHECK): Use it.
1011         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
1012         (AS_ESCAPE): Fix comment.
1013         * tests/autotest.at: Adjust section banner comments.
1014         (AT_CHECK_AT): Accept STATUS and STDERR.
1015         (AT_CHECK_AT_TEST): Likewise.
1016         (Invalid brace-enclosed parameter expansion)
1017         (Multiline command from M4 expansion)
1018         (Double-M4-quoted command): New tests.
1020 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1022         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
1024 2004-12-17  Akim Demaille  <akim@epita.fr>
1026         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
1027         m4_pattern_allow.
1028         Suggested by Alexandre Duret-Lutz.
1029         * doc/autoconf.texi (Setting Output Variables): Catch up.
1031 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
1033         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
1035 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
1037         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
1038           remove the comment which said we cannot.
1040 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
1042         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
1043         Reini Urban and Paul Eggert for reporting the dependencies.
1045         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
1046         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
1047         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
1049 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
1051         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
1052           so that eg. ``autoscan --help'' doesn't truncate it.
1054 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
1056         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
1057         generated conftest files.
1059 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
1061         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
1062         tracing on commands with possibly-escaped newlines.
1063         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
1064         discontinued behavior and its implications.
1065         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
1066         (BSx641-newline in command, BS-BS-newline in command)
1067         (BSx640-newline in command, Newline-CODE-BS-newline in command)
1068         (Single-quote-BS-newline in command)
1069         (Single-quote-newline-BS-newline in command): New tests.
1071 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
1073         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
1074           on platforms where it works.
1075         (_AS_TEST_PREPARE): Test for ``test -x''.
1076         (_AS_BROKEN_TEST_PREPARE): Nuke.
1078 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
1080         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
1081         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
1082           give only 4-letter prefix to AS_TMPDIR, comment fixed.
1083         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
1084           create the temporary directory.
1085         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
1087 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
1089         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
1090         (trivial change)
1092 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
1094         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
1096 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
1098         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
1099         to avoid using a negated character class.  Reported by Nicolas Joly.
1100         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
1102 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1104         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
1105         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
1106         Don't depend on .x file explicitly, since "make" does that for us.
1107         Suggested by Stepan Kasal.
1109         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
1110         Add *.tmp.
1111         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
1112         ifnames): Factor common code.  And they said it couldn't be done!
1114 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
1116         * bin/.cvsignore: Add autoconf.in.
1117         * tests/.cvsignore: Add wrapper.in.
1118         * lib/autotest/general.m4: Escape '$' in case pattern.
1120 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
1122         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
1124         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
1126         * tests/autotest.at: New file.
1127         * tests/suite.at: Include it.
1128         * tests/Makefile.am: Distribute it.
1130         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
1131           shell tracing on a command that could contain multiple lines.
1132         * doc/autoconf.text: Document that fact and its implications.
1133         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
1134         * tests/autotest.at (Multiline backquote command substitution,
1135           Multiline parameter expansion, Literal multiline command,
1136           Multiline parenthetical command substitution): Remove XFAIL.
1138 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
1140         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
1141         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
1143 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
1145         * configure.ac (test suite): Cease to generate wrapper scripts.
1146         * configure: Regenerate.
1147         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
1148         (m4f_dependencies): Adjust accordingly.
1149         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
1150         (wrapper.in): Generate it in the build directory.
1151         (MAINTAINERCLEANFILES): Delete wrapper.in.
1152         (CLEANFILES): Add wrapper.in.
1153         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
1154         the output.  Replace each $as_me with a @wrap_program@.
1155         * tests/wrapper.in: Delete it; we always build it.
1157         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
1158         (EXTRA_DIST): Remove autoconf.in.
1159         (CLEANFILES): Add autoconf.in.
1160         (autoconf): Find autoconf.in in the build directory.
1161         * bin/autoconf.in: Delete it; we always build it.
1163 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
1165         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
1166         PATH members so as to not prepend an empty element.  Move a comment.
1167         * Makefile.am (SUBDIRS): Build in `tests' last.
1168         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
1170 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
1172         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
1173         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
1174         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
1175         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
1177 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
1179         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
1180         patch: extra "-l"s.
1182 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
1184         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
1185         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
1186         * doc/autoconf.texi (Particular Functions): Mention new behavior.
1188 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
1190         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
1191           out the common code to ...
1192         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
1193           value of the #define--default to 1, iff the macro was called
1194           with exactly one parameter.
1196 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
1198         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
1199         "char c = '\200';" rather than "char c = 0x80;" as the
1200         latter doesn't conform to the strict C standard due to
1201         overflow on signed char hosts.
1203         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
1204         to -qlanglvl=ansi.  We don't want to disable extensions.
1206 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
1208         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
1209         (Using Autotest, testsuite Scripts, Writing testsuite.at):
1210         Reword slightly to avoid some English-language problems noted
1211         by Ralf Wildenhues in:
1212         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
1214 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
1216         * NEWS: Add ^L above each release.
1218 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
1220         Fix documentation problems reported by Russ Boylan in
1221         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
1222         along with some nearby cruft.
1223         * doc/autoconf.texi (Libtool): Libtool can be used without
1224         Automake (not without Autoconf).
1225         (Introduction): Mention lists.gnu.org.
1226         * BUGS: Don't mention bugs.gnu.org.
1227         Remove mention of ancient libtool compatibility problem.
1228         * NEWS: Mention that bugs.gnu.org is kaput.
1229         * README: Likewise.  Mention where mailing list archives can be found.
1231 2004-11-28  Stepan Kasal  <address@ucw.cz>
1233         * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
1234         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
1236 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
1238         * doc/autoconf.texi (Pretty Help Strings): Go back to
1239         single-quoting assignments to cache variables.
1241 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
1243         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
1244         with the examples; fix the bug in MY_ARG_WITH example reported
1245         by Alexandre Duret-Lutz.
1246         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
1247         expansion of $1 in the comment emitted to configure.
1249 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
1251         * doc/autoconf.texi (Pretty Help Strings): Fix typo
1252         in my editing of the previous patch.  Problem reported
1253         by Alexandre Duret-Lutz.
1255 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
1257         * doc/autoconf.texi (Autoconf Language): Explain that
1258         ``descriptions'' may not be double quotes.
1259         (Quotation Rule Of Thumb): Likewise.
1260         (Pretty Help Strings): Likewise; remove the wrong comment;
1261         simplify the examples and improve their quoting.
1263 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
1265         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
1266         the $1_found variable, don't test whether the file is executable;
1267         Both things are checked ...
1268         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
1269         the former ``test -f''.
1270         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
1272 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
1274         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
1275         use cp -R instead.
1277 2004-11-10  Derek R. Price  <derek@ximbiot.com>
1279         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
1280         limitations.  Reorder paragraphs for clarity.
1282 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
1284         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
1285         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
1286         variants", "Unix", and some related minor wording fixups.
1288         (Shellology, Special Shell Variables): Document that the Zsh
1289         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
1290         to Alexandre Duret-Lutz for this info.
1292 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
1294         * doc/autoconf.texi (One-Shot Macros): New node.
1296 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
1298         * doc/autoconf.texi (Function Portability): Fix misdescription
1299         of putenv.  Problem reported by Michael Wardle.
1301 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
1303         * doc/autoconf.texi (auindex): New macro.
1304         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
1305         Problem reported by Stepan Kasal.
1307 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
1309         Fix problems reported by Andreas Buening in:
1310         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
1311         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
1312         in test makefile.
1313         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
1314         readable; it's not true in OS/2-emx.
1316 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1318         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
1319         "/usr/include", clear ac_x_includes instead of leaving it as "no"
1320         (trivial change).  Problem and patch reported by Andrew Church in:
1321         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
1323 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
1325         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
1326         three args in examples.  Problem reported by Frederik Fouvry in:
1327         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
1328         Also, fix some minor spacing and punctuation bugs.
1330 2004-09-02  Akim Demaille  <akim@epita.fr>
1332         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
1333         "case" to restore ordering.
1334         Reported by Stepan Kasal.
1336 2004-08-26  Akim Demaille  <akim@epita.fr>
1338         * doc/autoconf.texi: Minor typos and stylos.
1340 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
1342         * configure.ac (AC_INIT): Bump to 2.59c.
1344 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
1346         Version 2.59b.
1348         * README: Add advice about m4 1.4.2.
1350         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
1351         texinfo.tex for now (done by hand now).
1352         * Makefile.maint (wget_files, cvs_files):
1353         Remove ansi2knr.c; nobody uses it.
1354         (ansi2knr.c-url_prefix): Remove.
1355         (cvs-update): Fix test for failure.  I don't know why it ever
1356         worked...
1358         * doc/autoconf.texi: Update URLs, some of which went stale.
1359         Use @uref rather than @href.
1361         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
1362         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
1364         * config/config.guess, config/config.sub, config/elisp-comp,
1365         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
1366         doc/fdl.texi, doc/standards.texi: Sync with master copy.
1368         * NEWS, TODO, configure.ac, bin/autoscan.in,
1369         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
1370         doc/install.texi, lib/Autom4te/Configure_ac.pm,
1371         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
1372         lib/autoconf/programs.m4, lib/autoconf/status.m4,
1373         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
1374         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
1375         tests/tools.at, tests/torture.at:
1376         Use "file name" rather than "filename" or "path",
1377         to be consistent with the terminology of the GNU coding standards.
1379 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
1381         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
1382         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
1383         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
1384         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
1386         More fixes to support spaces in the name of the build directory.
1387         This isn't a complete fix but it's an improvement.
1389         * bin/autoconf.as (autom4te_options): New var.
1390         Use it instead of appending to AUTOM4TE, so that we can allow
1391         spaces in the build directory's absolute name.
1392         * bin/autoheader.in ($autoconf): Allow spaces in file names.
1393         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
1394         AT_CHECK_NOESCAPE): Likewise.
1395         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
1396         main program): Likewise.
1398 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
1400         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
1401         From Ralf Corsepius in:
1402         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
1404 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
1406         * doc/autoconf.texi (Function Portability): Document isinf and
1407         and isnan.  From a suggestion by Kevin Ryde.
1409         * lib/Autom4te/General.pm (END): Return correct exit status even
1410         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
1412 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
1414         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
1415         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
1416         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
1418 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
1420         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
1421         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
1422         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
1423         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
1424         * lib/autom4te.in (Automake-preselections): Preselect
1425         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
1427 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
1429         * lib/autom4te.in (Automake-preselections): Preselect
1430         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
1431         trace them.
1433 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
1435         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
1436         Tru64.
1437         * doc/autoconf.texi (Shellology): Mention BIN_SH.
1438         Document problem with "`""`" in pdksh POSIX mode.
1440 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
1442         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
1443         with pdksh, too.  Problem reported by Patrick Welche via
1444         Gary V. Vaughan.
1445         * doc/autoconf.texi (Shellology): Note that set -o posix is
1446         useful for pkdsh, too.
1448 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
1450         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
1451         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
1452         Don't fail if ENV or BASH_ENV is readonly.
1453         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
1454         etc. are read only.  Problem reported by Ludovic Courtes.
1456 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
1458         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
1459         zsh, disable GLOB_SUBST to avoid backslash handling problems.
1460         (trivial change)
1462 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
1464         * doc/autoconf.texi (File System Conventions): Warn about
1465         names like "aux".  Problem reported by Eric Blake.
1467         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
1468         by zero instead of array size, so that we can use any arithmetic
1469         constant expression (instead of requiring an integer constant
1470         expression).  This allows us to test expressions like DBL_MAX <
1471         LDBL_MAX, which didn't conform to the C standard using the old
1472         method.
1473         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
1474         now that we can do floating-point tests at compile time.
1476 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
1478         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
1479         and LDBL_EPSILON, as the resulting expression isn't an
1480         integer constant expression and violates the C standard.
1481         Problem reported by Nelson H. F. Beebe.  Also, check
1482         for "L" suffix, and check that long double doesn't have
1483         worse range or precision than double, that mixed-mode
1484         arithmetic doesn't generate a diagnostic, that double
1485         constants fit in long double.
1487 2004-06-03  Kevin Ryde  <user42@zip.com.au>
1489         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
1490         malloc(0) and realloc(NULL,size).
1492         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
1493         Bob Proulx.
1495 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
1497         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
1498         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
1499         by Jim Meyering.
1501 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1503         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
1504         can be rewritten using if-then-else.  Suggested by Bruno Haible.
1506 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
1508         * doc/autoconf.texi (testsuite Scripts): Fix typo.
1509         Problem reported by Stepan Kasal.
1511 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
1513         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
1514         change).  Patch reported by Ralf Wildenhues in
1515         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
1517         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
1518         function F exists if the compiler and linker let you compile an
1519         expression like (F != 0).  Recent versions of GCC optimize away
1520         the reference to F in that case, since every function address must
1521         be nonzero, so the link succeeds even if F does not exist.
1522         Problem reported by Manu in
1523         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
1525         * doc/autoconf.texi (Systemology): Standardize on the spelling of
1526         "Unix".  Many uses changed.
1527         (Limitations of Builtins): Explain better why the ! command isn't
1528         portable.
1530 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
1532         * lib/autom4te.in (Automake-preselections): Preselect
1533         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
1535 2004-05-19  Kevin Ryde  <user42@zip.com.au>
1537         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
1538         referencing AC_FUNC_STRERROR_R.
1540         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
1541         note pessimistic assumption when cross compiling.
1543 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
1545         * doc/autoconf.texi (Limitations of Make): Note that BSD make
1546         (until 2004) invoked subcommands with sh -e, contra POSIX.
1547         Reported by Kevin Ryde.
1549 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
1551         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
1552         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
1553         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
1554         `test -f "        /usr/bin/grep"', which _always_ failed.
1555         (AC_PROG_SED): Ditto bogus PATH fix.
1556         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
1557         requires that grep correctly supports _multiple_ `-e' options, rather
1558         than stating only that grep should accept `-e'.
1560 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
1562         Port to C99, which requires that 'exit' be declared.
1564         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
1565         to ensure that stdlib.h is included.
1566         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
1567         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
1568         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1569         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1570         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1571         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
1572         when using 'exit' in a test; C99 requires that 'exit' be declared.
1574 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
1576         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
1577         now prefers 'grep' implementations that accept -e.
1578         (Limitations of Usual Tools): Describe problems of traditional
1579         egrep and fgrep with long input lines, and of traditional grep
1580         with -e.
1581         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
1582         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
1583         All callers changed.  Append /usr/xpg4/bin to the PATH, for
1584         Solaris.
1585         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
1586         the user with complaints about multiple -e options.
1587         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
1588         Define it with AC_PROG_GREP.
1589         * configure.ac (AC_PROG_GREP): Add.
1590         * lib/freeze.mk (GREP): New macro.
1592 2004-05-02  Eric Sunshine <sunshine@sunshineco.com>
1594         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
1595         a possible candidate only after all others fail, rather than
1596         consulting it first.  This improves backward compatibility by
1597         better reflecting the way shell selection occurred in previous
1598         versions of Autoconf, and should help to avoid triggering latent
1599         problems in other packages, such as the one in Automake where zsh
1600         is not handled robustly:
1601         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
1602         Although it is not Autoconf's responsibility to work around
1603         problems in Automake, it nevertheless makes sense to avoid
1604         introducing unnecessary incompatibilites.
1606 2004-04-22  Albert Chin-A-Young <china@thewrittenword.com>,
1607             Gary V. Vaughan  <gary@gnu.org>
1609         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
1610         how deeply nested we are when a suitable tool is found, set the
1611         ac_path_TOOL_found flag.
1612         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
1613         nested we are in this macro.  Break out of all 3 nested loops if
1614         ac_path_TOOL_found is set.
1616 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
1618         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
1619         of the _AS_PATH_WALK loop too if GNU flavor is found.
1621 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
1623         * doc/autoconf.texi (Limitations of Make): Update documentation
1624         for `$<'.  New entry `Long lines', based on a report from Simon
1625         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
1626         paragraph about DJGPP, based on a mail from Richard Dawe.
1628 2004-04-20  Paul Eggert  <eggert@twinsun.com>
1630         * tests/c.at (C keywords): Don't assume that GCC supports
1631         "restrict" and "inline", as sufficiently-old GCC versions do not
1632         (also, GCC configured to be in pedantic C89 mode does not).
1633         Problem reported by Sumit Pandya in:
1634         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
1636         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
1637         consider -g to work if it generates warnings when plain compiles
1638         don't.  Problem reported by Braden McDaniel in:
1639         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
1641         * doc/autoconf.texi (Slashes): New section, to document a problem
1642         reported by Jim Meyering in:
1643         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
1645         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
1646         linker output files before linking, to work around IRIX 6 linker bug.
1647         Problem reported by Rainer Orth in:
1648         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
1650 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
1652         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
1653         best tool so far counter rely on the tool path variable name to
1654         avoid checks for one tool being affected by the results of running
1655         the length check on a previous tool.
1657         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
1658         match expression argument, as different greps have different
1659         regular expression flavours.
1660         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
1661         literals.
1662         (AC_PROG_EGREP): Pass 'EGREP$'.
1663         (AC_PROG_GREP): Pass 'GREP$'.
1665 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
1667         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
1668         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
1670 2004-03-29  Paul Eggert  <eggert@twinsun.com>
1672         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
1673         Types, Specific Compiler Characteristics, System Services,
1674         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
1675         etc. consistently instead of 'long', 'short', 'unsigned' etc.
1676         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
1677         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
1678         Likewise.
1679         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
1680         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
1681         AC_TYPE_OFF_T): Likewise.
1682         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
1683         Likewise.
1685         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
1686         pacify libtool 1.5.2.  Fix quoting problems in sed command.
1688 2004-03-28  Paul Eggert  <eggert@twinsun.com>
1690         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
1691         now defines HAVE_DECL_TZNAME if it is declared, when
1692         HAVE_STRUCT_TM_TM_ZONE is not defined.
1693         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
1694         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
1695         for HAVE_TZNAME.
1697 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
1699         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
1700         superfluous backslashing of quotes (") in sed expressions;
1701         thanks to Paul Eggert.
1703 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
1705         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
1706         Fortran compiler is ifort, also added pghpf; thanks to Nelson
1707         H. F. Beebe for the bug report.
1709 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
1711         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
1712         quoted -cmdline argument in Portland Group compiler (bug
1713         reported by Jeffrey J. Barteet).
1715 2004-03-25  Kevin Ryde  <user42@zip.com.au>
1717         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
1718         (Run Time): ... here, where it's now mentioned.
1720 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
1722         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
1723         inherits from language Autoconf-without-aclocal-m4.
1724         (Customizing autom4te): Adjust example; the cache must now be
1725         disabled for language Autoconf-without-aclocal-m4.
1727 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
1728             Nathanael Nerode  <neroden@twcny.rr.com>
1730         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
1731         AC_CHECK_TOOLS): Warn if a cross-tool is found without
1732         a prefix.
1733         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1734         AC_CHECK_TARGET_TOOLS): New macros.
1735         * doc/autoconf.texi (Generic Programs): Document
1736         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1737         AC_CHECK_TARGET_TOOLS, and warn for future changes
1738         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
1739         AC_CHECK_TOOLS.
1740         (Specifying Names): Document the reason for these future
1741         behavioral changes.
1742         * tests/mktests.sh: Do not generate tests for the
1743         new macros.
1744         * NEWS: Document these changes.
1746         * doc/autoconf.texi: Avoid macros with unbraced arguments,
1747         they make TeX hang up.
1749 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
1751         * NEWS: New macro AC_CHECK_ALIGNOF.
1752         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
1753         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
1754         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
1755         vowel.
1756         (AC_CHECK_ALIGNOF): New macro.
1757         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
1758         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
1759         those for sizeof.
1761 2004-03-03  Paul Eggert  <eggert@twinsun.com>
1763         * bin/Makefile.am (edit): Don't use $< in a context where
1764         POSIX doesn't require support for it.  Use $@.in instead.
1765         Problem reported by Anthony N. Frasso in
1766         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
1767         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
1769 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
1771         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
1772         from the next generation of Libtool.
1773         * lib/autom4te.in (Autoreconf-preselections): Ditto.
1775 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
1777         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
1778         is not always thread-safe.  Report from Nathanael Nerode.
1780 2004-02-18  Paul Eggert  <eggert@twinsun.com>
1782         Fix a dependencies problem, stemming from a Autoconf 2.59 build
1783         problem on QNX reported by Stephen Rasku in
1784         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
1786         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
1787         $(m4sh_m4f_dependencies); this removes a FIXME.
1788         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
1789         (MAINTAINERCLEANFILES): Split into pieces,
1790         one per related section.  Add $(srcdir)/wrapper.in.
1792 2004-02-09  Paul Eggert  <eggert@twinsun.com>
1794         * doc/autoconf.texi (Setting Output Variables): Emphasize that
1795         AC_SUBST provides no portable way to escape literal newlines.
1797         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
1798         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
1799         Darwin uses -lcrt2.o and there's little point to cataloging all
1800         the system variants.  Partial fix reported by Andreas Waechter in:
1801         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
1802         for bug reported by Nelson H. F. Beebe in:
1803         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
1805 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
1807         * doc/autoconf.texi (AU_DEFUN): Fix English,
1808         suggested by Paul Eggert.
1809         * lib/autoconf/autoupdate.m4: Correct reference to
1810         acobsolete.m4, suggested by Alexandre Duret-Lutz.
1812 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
1814         * bin/autoupdate.in: Define __file__ so that warnings
1815         refer to the correct file.
1816         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
1817         the behavior of the third argument.
1818         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
1819         correctly the behavior of the third argument.  Document
1820         what the three macros that AU_DEFUN defines do.  Fix
1821         warning message when the third argument includes $0
1822         (reported by Alexandre Duret-Lutz).
1824 2004-01-30  Paolo Bonzini <bonzini@gnu.org>
1825             Eric Sunshine <sunshine@sunshineco.com>
1826             Paul Eggert <eggert@twinsun.com>
1828         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
1829         (AS_INIT): Output shell initialization there. Removed optional
1830         parameter. Expand _AS_SHELL_FN_SPY.
1831         (AS_INIT_WITH_SHELL_FN): Removed.
1832         (_AS_SHELL_FN_SPY): New macro.
1833         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
1834         macros.
1835         (AS_SHELL_SANITIZE): Remove loop to find better shell
1836         and documentation for the parameter.
1837         (_AS_DETECT_BETTER_SHELL): Move it here.
1838         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
1839         (_AS_RUN): Move it here, support testing with eval.
1840         (AS_REQUIRE_SHELL_FN): Require shell functions when
1841         it is used.
1842         (_AS_LINENO_WORKS): Put around braces, we do not
1843         trigger the bash bug anymore.
1844         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
1845         use AS_INIT_WITH_SHELL_FN.
1846         * bin/autoconf.in, tests/wrapper.in: Regenerated.
1848 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
1850         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
1851         * doc/autoconf.texi: Don't say that the third parameter
1852         is broken.
1853         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
1854         (AU_DEFUN): Honor the third parameter, create autoupdate
1855         macros with AU_DEFINE.
1856         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
1857         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
1858         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1859         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
1860         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
1861         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
1862         AC_XENIX_DIR): Likewise.
1863         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
1864         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
1865         * lib/autoconf/status.m4: Remove FIXME.
1866         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
1867         that the macro is not present anymore in the updated
1868         configure.ac.
1869         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
1870         of autoupdate.
1872 2004-01-28  Paul Eggert  <eggert@twinsun.com>
1874         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
1875         copyright years.
1876         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
1877         2003 (except 1997) to the list of copyright years.  This undoes
1878         the 2003-05-22 change, which removed the older years from the list.
1879         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
1881 2004-01-27  Gary V. Vaugan  <gary@gnu.org>
1882             Albert Chin-A-Young <china@thewrittenword.com>
1884         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
1885         grep or ggrep program in PATH that accepts as long lines as
1886         possible.
1887         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
1888         AC_PROG_GREP.
1889         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
1890         egrep and fgrep respectively if $GREP -E/-F don't work.
1891         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
1892         _AC_PROG_GREP, and AC_PROG_SED.
1893         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
1894         longest input length accepted by a command.
1895         (AC_PROG_SED): Use it.
1896         * doc/autoconf.texi (Particular Programs): Document the changes.
1897         * NEWS: Updated.
1899 2004-01-27  Paul Eggert  <eggert@twinsun.com>
1901         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
1902         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1903         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
1904         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1906         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
1907         bin/autoconf.in, config/Makefile.in, config/config.guess,
1908         config/config.sub, config/install-sh, config/mdate-sh,
1909         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
1910         lib/Makefile.in, lib/Autom4te/Makefile.in,
1911         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
1912         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
1913         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
1914         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
1915         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
1916         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
1917         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
1918         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
1919         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
1920         tests/actypes.at: Regenerate and/or sync with original
1921         sources.
1923 2004-01-26  Paul Eggert  <eggert@twinsun.com>
1925         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
1926         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
1927         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
1928         not <inttypes.h>.  Problem reported by Tim Mooney in
1929         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
1930         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1931         Likewise.
1933         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
1934         otherwise "make check" fails because it forbids cmp (I guess
1935         because cmp treats files as binary on DOS-like systems).
1937         * tests/mktests.sh: Update copyright date to 2004, since some tests
1938         have changed in 2004.
1940 2004-01-23  Gary V. Vaugan  <gary@gnu.org>
1942         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
1943         non-truncating sed or gsed program in PATH.
1944         * tests/acprograms.at: Add it.
1945         * doc/autoconf.texi (Particular Programs): Document it.
1946         * NEWS: Updated.
1948 2004-01-15  Paul Eggert  <eggert@twinsun.com>
1950         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
1951         -std1 disables some useful extensions on Tru64.  Problem reported
1952         by N. Lichtmaier in
1953         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
1955 2004-01-14  Paul Eggert  <eggert@twinsun.com>
1957         * doc/autoconf.texi (Programming in M4sh): Document that
1958         AS_MKDIR_P succeeds if the destination is a symbolic link
1959         to an existing directory.
1960         (Limitations of Usual Tools): Note that mkdir -p might not
1961         succeed on symlinks to directories.
1963 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
1965         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
1966         * bin/autoheader.in: Grammar fix in message.
1967         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
1968         Test for dir before calling mkdir -p.  (trivial changes)
1970 2004-01-13  Eric Blake  <ebb9@byu.net>
1972         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
1973         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
1975 2004-01-10  Jim Meyering  <jim@meyering.net>
1977         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
1979 2004-01-09  Paul Eggert  <eggert@twinsun.com>
1981         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
1982         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
1983         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
1984         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
1985         AC_COMPILE_IFELSE, since we now assume our caller invokes
1986         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
1987         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
1988         of AC_RUN_IFELSE; this avoids the warning mentioned above.
1989         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
1991 2004-01-07  Paul Eggert  <eggert@twinsun.com>
1993         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
1994         `"'...'"`, as it's confusing (and I suspect it may not work on
1995         some platforms).  The code was incorrect anyway, as it assumed
1996         that \$ evaluated to itself in that context.  Reported by
1997         Alexandre Duret-Lutz.
1999 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
2001         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
2002         and _LT_AC_TAGCONFIG.
2004 2004-01-06  Paul Eggert  <eggert@twinsun.com>
2006         * doc/autoconf.texi (One Macro Call): Fix an incorrect
2007         example, and add more examples.  Reported by Eric Sunshine.
2009 2004-01-05  Paul Eggert  <eggert@twinsun.com>
2011         * doc/autoconf.texi (Limitations of Usual Tools):
2012         Remove warning against "rm -fr" introduced yesterday; it
2013         was a false alarm.
2015         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
2016         autoscan, autoupdate, ifnames): Don't use chmod -w.
2017         * lib/Makefile.am (autom4te.cfg): Likewise.
2018         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
2019         "chmod -w".
2021 2004-01-04  Paul Eggert  <eggert@twinsun.com>
2022             Paolo Bonzini  <bonzini@gnu.org>
2024         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
2025         by doing lineno substitution only on lines containing "$LINENO".
2027 2004-01-04  Paul Eggert  <eggert@twinsun.com>
2029         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
2030         Use "rm -f" to remove conftest.sed, not plain "rm".
2031         Bug reported by David Relson in
2032         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
2034         * Makefile.am (autom4te-update):
2035         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
2036         * Makefile.maint (my-distcheck, do-po-update): Likewise.
2037         * doc/autoconf.texi (Guidelines): Likewise.
2038         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
2039         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
2040         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2041         * lib/autotest/general.m4 (AT_INIT): Likewise.
2042         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
2043         * tests/Makefile.am (clean-local): Likewise.
2044         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
2045         srcdir): Likewise.
2046         * doc/autoconf.texi (Limitations of Usual Tools):
2047         Warn against "rm -fr".
2049 2004-01-03  Paul Eggert  <eggert@twinsun.com>
2051         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
2052         -c -o might not work.  From a suggestion by Kevin Ryde.
2053         (C Compiler, Generating Sources, Limitations
2054         of Usual Tools, Limitations of Make, Making testsuite Scripts):
2055         Don't put '-o' after non-options, as POSIX doesn't allow this.
2056         Mention that cc's name might be gcc or c89 or whatever.
2058 2004-01-04  Kevin Ryde  <user42@zip.com.au>
2060         * doc/autoconf.texi: Add various further index entries.
2062 2003-12-29  Paul Eggert  <eggert@twinsun.com>
2064         * bin/autoreconf.in (autoreconf_current_directory):
2065         Fix typo: mkdir without umask arg.
2067 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
2069         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
2070         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
2071         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
2072         explanation clearer.
2074 2003-12-24  Andreas Schwab  <schwab@suse.de>
2076         * doc/autoconf.texi (Default Includes): Fix misspelling of
2077         AC_INCLUDES_DEFAULT.
2079 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
2081         * configure.ac: Test if sh -n works.
2082         * configure: Regenerate.
2083         * tests/atlocal.in: Store the result here.
2084         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
2085         tools.at, looking in atlocal's ac_cv_sh_n_works instead
2086         of explicitly testing.
2087         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
2088         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
2089         * tests/tools.at (Syntax of the shell scripts): Simplify
2090         using AT_CHECK_SHELL_SYNTAX.
2091         (Syntax of the Perl scripts): Remove definition of
2092         AT_CHECK_PERL_SYNTAX.
2094 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
2096         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
2097         stderr to /dev/null.
2098         * bin/autoconf.in: Regenerate.
2099         * bin/wrapper.in: Regenerate.
2101 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
2103         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
2104         Extracted from AS_SHELL_SANITIZE.
2105         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
2106         macros.
2107         (AS_SHELL_SANITIZE): Move reinvocation code from
2108         _AS_LINENO_WORKS, use it to find out if shell
2109         functions work.
2110         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
2111         does not work.
2112         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
2113         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
2114         was called.
2115         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
2116         * bin/autoconf.in: Regenerate.
2117         * tests/wrapper.in: Regenerate.
2118         * tests/tools.at: Test the syntax of tests/autoconf
2119         and tests/testsuite.
2121 2003-11-24  Akim Demaille  <akim@epita.fr>
2123         * config/announce-gen (&print_locations, &print_signatures)
2124         (&sizes): New.
2125         Use them.
2126         No longer rely on Gnus to inline the list of signatures: compute
2127         them on the fly.
2129 2003-11-24  Akim Demaille  <akim@epita.fr>
2131         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
2132         override some files.
2133         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
2134         From Debian Autoconf 2.58.
2136 2003-11-24  Akim Demaille  <akim@epita.fr>
2138         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
2139         uses.
2140         From Debian Autoconf 2.58.
2142 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
2144         * TODO: Remove already done things.  Update the part about finding
2145         tools for the target.
2147 2003-11-24  Paolo Bonzini <bonzini@gnu.org>
2149         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
2150         Make wording more consistent.
2151         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2152         Explain the transition better.
2153         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
2154         the transition better.
2156 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
2158         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
2159         parameter of AU_DEFUN.
2160         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
2161         (AU_DEFUN): Remove the third parameter, it was not used.
2162         Use AC_DEFUN directly, not AU_DEFINE.
2163         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
2164         the expanded body, consistently with other macros such as AC_USG.
2166 2003-11-17  Paul Eggert  <eggert@twinsun.com>
2168         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
2169         into the initial confdefs.h, to work around a bug in NextStep 3.3
2170         patch 3 reported by Eric Sunshine.
2172 2003-11-15  Kevin Ryde  <user42@zip.com.au>
2174         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
2175         than $target since the latter is not usual, add guidelines on when to
2176         use or not use the system type.
2178 2003-11-12  Derek Price  <derek@ximbiot.com>
2180         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
2181         typo misrepaired by an auto-spellcheck.
2183 2003-11-12  Akim Demaille  <akim@epita.fr>
2185         * bin/autoreconf.in (&parse_args): Don't call automake with
2186         --force-missing unless it actually supports it.
2187         From Debian #219336.
2189 2003-11-12  Akim Demaille  <akim@epita.fr>
2191         * configure.ac: Bump to 2.59a.
2192         Require 2.59.
2194 2003-11-06  Akim Demaille  <akim@epita.fr>
2196         Version 2.59.
2198 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
2200         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
2201         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
2202         and ac_abs_top_srcdir are absolute paths.
2203         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2205 2003-11-05  Akim Demaille  <akim@epita.fr>
2207         * configure.ac: Bump to 2.58a.
2209 2003-11-05  Kevin Ryde  <user42@zip.com.au>
2211         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
2212         it provokes a warning from makeinfo about looking like a cross
2213         reference in info output.
2215         * doc/autoconf.texi (Function Portability): Add notes on signal
2216         handler return type, as per AC_TYPE_SIGNAL.
2218 2003-11-04  Akim Demaille  <akim@epita.fr>
2220         Version 2.58.
2221         * doc/standards.texi: Update from master.
2223         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
2225 2003-11-04  Akim Demaille  <akim@epita.fr>
2227         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
2228         computing the absolute path to d1 in the source hierarchy: it may
2229         not exist at all.  So don't cd into it.
2230         From Alexandre Duret-Lutz.
2231         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
2233         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
2234         From Paul Eggert, but named after Perl's IO::Spec->catfile.
2235         * doc/autoconf.texi (Programming in M4sh): Document.
2236         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
2238 2003-11-03  Pavel Roskin  <proski@gnu.org>
2240         * doc/autoconf.texi (Generic Structure Checks): Describe
2241         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
2243 2003-10-31  Akim Demaille  <akim@epita.fr>
2245         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
2246         (GNU Fortran): New.
2247         * doc/autoconf.texi (Language Choice): Document.
2248         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
2249         the current language is Fortran.
2251 2003-10-31  Akim Demaille  <akim@epita.fr>
2253         * bin/autom4te.in (&freeze): Use a less likely warning separator
2254         than `\n\n', so that `\n\n\n' is valid in warnings.
2255         Reported by Steve Huston.
2257 2003-10-28  Akim Demaille  <akim@epita.fr>
2259         * Makefile.cfg (local_updates, executable-update): Tweak to be
2260         robust to parallel makes.
2261         Suggested by Alexandre Duret-Lutz.
2263 2003-10-27  Akim Demaille  <akim@epita.fr>
2265         * Makefile.cfg (executable-update): New.
2266         (local_updates): Call it.
2268 2003-10-27  Akim Demaille  <akim@epita.fr>
2270         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
2271         Don't remove core.* as it may remove valid user files.
2272         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
2273         (AC_FUNC_UTIME_NULL): Likewise.
2275 2003-10-23  Akim Demaille  <akim@epita.fr>
2277         Version 2.57g.
2278         * config/config.guess, config/config.sub: Upgrade from masters.
2280 2003-10-23  Akim Demaille  <akim@epita.fr>
2282         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
2283         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
2284         hand...
2286 2003-10-23  Akim Demaille  <akim@epita.fr>
2288         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
2289         Don't forget to remove conftest.err.
2291 2003-10-23  Akim Demaille  <akim@epita.fr>
2293         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
2294         same object file in $LIBOBJS.
2295         Reported by Alexandre Duret-Lutz & Derek Robert Price.
2296         * doc/autoconf.texi (Generic Functions): Adjust.
2298 2003-10-20  Paul Eggert  <eggert@twinsun.com>
2300         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
2301         Use 'eval', so that the resulting configure scripts work even if
2302         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
2304 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
2306         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
2307         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
2308         (_AC_LINK_IFELSE): Check the werror flag.
2309         * doc/autoconf.texi (Generic Compiler Characteristics): Document
2310         AC_LANG_WERROR.
2311         * NEWS: Mention it.
2313 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
2315         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
2316         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
2317         override AC_LINK_IFELSE.
2319 2003-10-15  Paul Eggert  <eggert@twinsun.com>
2321         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
2322         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
2323         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
2324         Mention /usr/dt/bin/dtksh on Solaris.
2325         (Shell Substitutions): Warn about $((...)).
2326         (Parentheses): New section.
2328 2003-10-15  Kevin Ryde  <user42@zip.com.au>
2330         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
2331         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
2333 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
2335         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
2336         cross test.
2338 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
2340         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
2341         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
2343 2003-10-10  Andreas Schwab  <schwab@suse.de>
2345         * bin/autoheader.in: Avoid empty first line in --version and
2346         --help output.
2347         * bin/ifnames.in: Likewise.
2349 2003-10-09  Paul Eggert  <eggert@twinsun.com>
2351         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
2352         Issue a more-informative diagnostic.
2353         Problems reported by Eric Sunshine.
2355 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
2357         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
2358         -mGLOB_options_string stuff for Intel ifc, which can cause
2359         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
2360         pattern-matching instead of grep.
2362 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
2364         * doc/autoconf.texi: Document new FC Fortran macros.
2366 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
2368         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
2369         that future autopoint/aclocal/automake/autoreconf will be able
2370         to trace to find where to install local m4 macros.
2371         * doc/autoconf.texi (Input): Document it.
2372         * NEWS: Updated.
2374 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
2376         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
2377         -lcrtbegin.o to list of ignored flags and fix underquoting of
2378         -lcrt[01].o.
2380 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
2382         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
2383         cache variable instead of $G77 to decide whether to include -O2,
2384         since $G77 is specific to Fortran 77.
2386 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
2388         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
2389         free" flag.  Re-order flags tested into rough order of popularity.
2391 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
2393         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
2394         arguments so that it can be used with syntax identical to
2395         AC_PROG_F77, and so that we can more easily decide to
2396         remove/deprecate the DIALECT optional argument in the future if it
2397         proves troublesome.
2398         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
2399         non-freeform-supporting compilers.  Document freeform flags.
2401 2003-10-03  Akim Demaille  <akim@epita.fr>
2403         * configure.ac: Look for emacs, not macs.
2404         Reported by Eric Sunshine.
2406 2003-10-03  Akim Demaille  <akim@epita.fr>
2408         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
2409         * bin/autoreconf.in (autoreconf_current_directory): Create the
2410         AUX_DIR if needed, for sake of automake --add-missing etc.
2411         Suggested by Alexandre Duret-Lutz.
2413 2003-10-03  Akim Demaille  <akim@epita.fr>
2415         * configure.ac: Quotation and formatting changes.
2416         (EMACS): Don't set it if it is not recent enough to support
2417         autoconf-mode.el.
2418         From Eric Sunshine.
2420 2003-10-02  Akim Demaille  <akim@epita.fr>
2422         * bin/ifnames.in (&scan_file): Skip C++ comments.
2423         From Jeremy Yallop.
2425 2003-10-01  Pavel Roskin  <proski@gnu.org>
2427         * doc/autoconf.texi (Particular Structure Checks):
2428         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
2430 2003-10-01  Akim Demaille  <akim@epita.fr>
2432         Version 2.57f.
2434 2003-09-30  Paul Eggert  <eggert@twinsun.com>
2436         * lib/Autom4te/XFile.pm: Use Errno.
2437         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
2438         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
2440 2003-09-30  Akim Demaille  <akim@epita.fr>
2442         * config/announce-gen (&print_news_deltas): Extracted from...
2443         (&print_changelog_deltas): here.
2444         (&news_file): Rename as...
2445         (@news_file): this.
2447 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
2449         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
2450         have been created when invoking the compiler.
2451         * tests/fortran.at (GNU Fortran 77): Quote $G77.
2453 2003-09-29  Akim Demaille  <akim@epita.fr>
2455         Version 2.57e.
2457         * config/mkinstalldirs: Upgrade.
2459 2003-09-28  Paul Eggert  <eggert@twinsun.com>
2461         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
2462         Problem reported by Lars J. Aas in
2463         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
2464         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
2465         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
2466         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
2468 2003-09-26  Akim Demaille  <akim@epita.fr>
2470         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
2471         directory for AC_CONFIG_COMMANDS' first argument exists.
2472         This makes valid the invocation of _AC_SRCPATH that follows.
2473         Reported by Eric Sunshine.
2474         * doc/autoconf.texi (Configuration Commands): Adjust.
2476 2003-09-26  Akim Demaille  <akim@epita.fr>
2478         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
2479         Reported by Ralf Corsepius.
2481 2003-09-26  Akim Demaille  <akim@epita.fr>
2483         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
2484         arguments.
2485         Actually, use AU_ALIAS.
2486         From Bruno Haible.
2488 2003-09-26  Paul Eggert  <eggert@twinsun.com>
2490         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
2491         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
2492         Problem reported by Eric Sunshine in:
2493         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
2495 2003-09-26  Akim Demaille  <akim@epita.fr>
2497         The test suite are sometimes assigning timings incorrectly.
2498         Reported by Henk Krus.
2499         Diagnosed by Nicolas Joly.
2501         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
2502         AT_help_all.
2503         Instead of making AT_help a sequence of assignments to grow
2504         $at_help_all, just make AT_help_all be the growing contents of
2505         $at_help_all, and make a single assignment in...
2506         (AT_INIT): here.
2507         (at_times_skip): Flip the meaning and rename as...
2508         (at_times_p): this.
2509         (AT_INIT): When summarizing the test that ran, remove
2510         $at_times_file after use, and check it is present before trying to
2511         use it.
2513 2003-09-25  Akim Demaille  <akim@epita.fr>
2515         Version 2.57d.
2517         * bin/Makefile.am (edit): Handle '@configure_input@'.
2518         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
2519         (ifnames): chmod -w.
2520         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
2521         executables, not bin/ executables!  Otherwise all the magic needed
2522         to find non installed files is turned off.  This caused a failure
2523         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
2524         as found in its environment (sent by tests/autoreconf): pointing
2525         to bin/autom4te that could not find its files.
2526         * tests/mktests.sh: Force the replacement of generated files, for
2527         the sake of "mv" program that are interactive when overwriting a
2528         -w file.
2529         * config/install-sh: Upgrade from CVS Automake.
2531 2003-09-23  Paul Eggert  <eggert@twinsun.com>
2533         * doc/autoconf.texi (Limitations of Builtins): Document test -h
2534         versus test -L issues.
2536 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
2537             Paul Eggert <eggert@twinsun.com>
2539         Trivial change to support GCC's configuration procedure.
2540         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
2541         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
2542         about inconsistency if the preprocessor is set to give errors for
2543         any warning.
2544         * doc/autoconf.texi (C Compiler Characteristics): Document this.
2546 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
2548         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
2549         and XFile.pm from Automake.
2550         * lib/Autom4te/XFile.pm: Update from Automake.
2552 2003-09-12  Akim Demaille  <akim@epita.fr>
2554         Version 2.57c.
2556 2003-09-12  Akim Demaille  <akim@epita.fr>
2558         * config/config.guess, config/config.sub, config/missing,
2559         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
2560         from masters.
2562 2003-09-12  Akim Demaille  <akim@epita.fr>
2564         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
2565         not asm/types.h.
2567 2003-09-11  Akim Demaille  <akim@epita.fr>
2569         * doc/autoconf.texi (Header Portability): linux/random.h.
2570         From Peter Hendrickson.
2572 2003-09-10  Akim Demaille  <akim@epita.fr>
2574         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
2575         willing to edit the output files.
2577 2003-09-10  Akim Demaille  <akim@epita.fr>
2579         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
2580         and AC_FC_FREEFORM.
2581         * tests/mktests.sh: Skip AC_FC_SRCEXT.
2582         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
2584 2003-09-09  Akim Demaille  <akim@epita.fr>
2586         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
2587         Reported by Gary Vaughan.
2588         * bin/autom4te.in (handle_m4): Likewise.
2590 2003-09-09  Akim Demaille  <akim@epita.fr>
2592         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
2593         trailing files.
2595 2003-09-07  Paul Eggert  <eggert@twinsun.com>
2597         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
2598         Improve the accuracy of the wording about obsolescence.
2599         From a suggestion by Ian Lance Taylor in
2600         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
2602 2003-09-05  Paul Eggert  <eggert@twinsun.com>
2604         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
2605         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
2607 2003-09-04  Akim Demaille  <akim@epita.fr>
2609         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
2610         AC_FUNC_WAIT3.
2612 2003-09-04  Akim Demaille  <akim@epita.fr>
2614         * bin/autom4te.in: Use &fatal where more appropriate than &error.
2615         (freeze): When exiting, use $exit_code.
2616         * lib/autoconf/fortran.m4: Comment changes.
2618 2003-09-04  Akim Demaille  <akim@epita.fr>
2620         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
2622 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
2624         Add support for newer Fortran dialects.  The F77 interface is
2625         unchanged, and continues to support Fortran 77.  New FC macros
2626         correspond to all the old F77 macros, with output variables FC,
2627         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
2628         available dialect, but older dialects can be specified.  There are
2629         new macros AC_FC_SRCEXT to set the source extension, and
2630         AC_FC_FREEFORM to accept free-form source files.
2632         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
2633         New macros.
2634         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
2635         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
2636         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
2637         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
2638         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
2639         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
2640         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
2641         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
2642         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
2643         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
2644         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
2645         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
2646         AC_FC_SRCEXT, AC_FC_FREEFORM):
2647         New macros.
2648         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
2649         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
2650         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
2651         Rewrite in terms of the above.
2652         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
2653         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
2654         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
2655         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
2657 2003-09-02  Paul Eggert  <eggert@twinsun.com>
2659         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
2660         Document problems with timestamp resolution that 'make', 'cp -p', and
2661         'touch -r' have.
2663 2003-08-27  Akim Demaille  <akim@epita.fr>
2665         * tests/m4sugar.at (cross_warning): Make sure to enable the
2666         output, so that we can track spurious m4sugar output.
2667         * tests/local.at: Require 2.57.
2668         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
2669         are defaulted by AT_CHECK anyway.
2670         Use AT_CHECK_AUTOM4TE.
2671         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
2672         missing dnl.
2674 2003-08-27  Akim Demaille  <akim@epita.fr>
2676         * bin/autoheader.in: Issue the "Using auxiliary..." message only
2677         when -Wobsolete is set.
2678         Set it on by default.
2679         Suggested by Klee Dienes.
2681 2003-08-27  Akim Demaille  <akim@epita.fr>
2683         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
2684         documentation.
2685         From Guido Draheim.
2687 2003-08-26  Akim Demaille  <akim@epita.fr>
2689         * doc/autoconf.texi (Output): Make clear that one can run code
2690         after AC_OUTPUT.
2692 2003-08-25  Akim Demaille  <akim@epita.fr>
2694         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
2695         CVS Bison.
2697 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
2699         * bin/autoreconf.in (parse_args): Do not pass --no-force to
2700         Automake versions prior to 1.8.
2702 2003-08-25  Akim Demaille  <akim@epita.fr>
2704         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
2705         From Ville Karaila.
2707 2003-08-24  Akim Demaille  <akim@epita.fr>
2709         * configure.ac: Bump to 2.57c.
2711 2003-08-22  Akim Demaille  <akim@epita.fr>
2713         Version 2.57b.
2715         * Makefile.cfg (local-checks-to-skip): New.
2716         * Makefile.maint (local-check): Rename as...
2717         (local-checks-available): this.
2718         (local-check): New.
2720         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
2721         * configure.ac: Require Automake 1.7.6.
2723 2003-08-22  Akim Demaille  <akim@epita.fr>
2725         Output stack traces in warnings.
2727         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
2728         Replace the former...
2729         (m4_warn): Pass the call stack to _m4_warn.
2730         * bin/autom4te.in: Adjust to output the call stack.
2731         * tests/m4sugar.at (m4@&t@_warn): Adjust.
2733 2003-08-22  Akim Demaille  <akim@epita.fr>
2735         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
2736         * bin/autom4te.in: Adjust.
2738 2003-08-21  Akim Demaille  <akim@epita.fr>
2740         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
2741         (&verbose): Remove.
2742         (&getopt): Adjust the note and verb channels, depending upon
2743         --verbose.
2744         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
2745         * bin/autoupdate.in: Adjust.
2746         Use &verb, not &verbose.
2748 2003-08-21  Akim Demaille  <akim@epita.fr>
2750         * bin/autoheader.in (&parse_args): Use &parse_warnings and
2751         &parse_WARNINGS.
2752         ($help): Use Autom4te::ChannelDefs::usage.
2753         * bin/autoscan.in: Use Autom4te::ChannelDefs.
2754         * lib/Autom4te/General.pm: Don't export error: you don't own it.
2756 2003-08-21  Akim Demaille  <akim@epita.fr>
2758         First stab at preserving warnings between calls to autom4te,
2759         including when the cache is used.
2761         There are still several issues: (i) there are too many runs of m4
2762         (one for include, one for warnings, and some more), (ii) warnings
2763         spreading on several lines are not handled gracefully, (iii) the
2764         code meant to have the call stack display for errors does not work
2765         (its handling should move from m4 to autom4te).
2767         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
2768         Use them.
2769         (@preselect): Add m4_warn.
2770         ($exit_status): Remove, use $exit_code.
2771         ($help): Use Autom4te::ChannelDefs::usage.
2772         (&handle_m4): No longer define the m4_warnings.
2773         At each run, extract and report the warnings.
2774         Always cache the result, including if the exit status is on
2775         failure, since if nothing changes, we should result in the same
2776         failure, hence we can use the cache.
2777         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
2778         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
2779         Remove.
2780         (m4_warn): Redefine as a do-nothing: it is its invocation that
2781         matters, as warnings are now reported via traces.
2782         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
2783         the contents of m4_warn: make it _call_ m4_warn, so that tracing
2784         the latter reveals calls to the former.
2786         Adjust the tests.
2788         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2790 2003-08-21  Akim Demaille  <akim@epita.fr>
2792         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
2793         Use them.
2795 2003-08-21  Akim Demaille  <akim@epita.fr>
2797         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
2798         forward order.
2799         * lib/Autom4te/ChannelDefs.pm: Doc typos.
2800         (&parse_warnings): Accept a list of warning requests.
2801         (&usage): Return a string, not a side effect.
2802         (cross): New warning category.
2804 2003-08-21  Akim Demaille  <akim@epita.fr>
2806         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
2807         (&require_configure_ac): Accept an optional directory argument.
2808         ($configure_ac): Remove.
2809         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
2810         (&catfile): Remove.
2811         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
2812         * bin/autoscan.in: Adjust.
2814 2003-08-20  Akim Demaille  <akim@epita.fr>
2816         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
2817         Reported by Alexandre Duret-Lutz.
2819 2003-08-20  Akim Demaille  <akim@epita.fr>
2821         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
2822         * bin/autom4te: Adjust.
2823         In particular, be Autoconf tools are really silent when properly
2824         working, bind the verbosity of the 'note' channel to $verbose.
2825         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
2826         (&xsystem, &contents): Remove, since they are exported by...
2827         * lib/Autom4te/FileUtils.pm: this.
2828         More perldoc.
2829         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
2830         * lib/Autom4te/FileUtils.pm: here.
2832 2003-08-20  Akim Demaille  <akim@epita.fr>
2834         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
2835         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
2836         from CVS Automake.
2838 2003-08-20  Akim Demaille  <akim@epita.fr>
2840         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
2841         (autom4te-update): New.
2842         * Makefile.cfg (update): Bind autom4te-update.
2844 2003-08-19  Derek Price  <derek@ximbiot.com>
2846         * lib/autotest/general.m4: Comment various HELP_* diversions.
2847         (PARSE_ARGS_BEGIN): New section for option parsing related
2848         initialization.
2849         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
2850         package specific options and associated help.
2852 2003-08-19  Akim Demaille  <akim@epita.fr>
2854         * config/announce-gen, Makefile.cfg: New.
2855         * Makefile.am: Adjust.
2856         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
2858 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
2860         * lib/autom4te.in (Automake-preselections): Preselect
2861         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
2862         and m4_sinclude.
2864 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
2866         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
2867         (Autoconf-without-aclocal-m4): ... this new language.
2868         * doc/autoconf.texi (autom4te Invocation): Mention
2869         Autoconf-without-aclocal-m4.
2871 2003-08-18  Derek Price <derek@ximbiot.com>
2873         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
2874         RUN-IF-PASS optional arguments.
2876 2003-08-18  Derek Price  <derek@ximbiot.com>
2878         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
2880 2003-08-16  Derek Price  <derek@ximbiot.com>
2882         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
2883         STDOUT & STDERR arguments.
2885 2003-08-14  Derek Price  <derek@ximbiot.com>
2887         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
2888         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
2889         shorter column three.  Add DESCRIPTION to log file content.
2891 2003-08-13  Derek Price  <derek@ximbiot.com>
2893         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
2894         output.
2896 2003-08-12  Derek Price  <derek@ximbiot.com>
2898         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
2899         (AT_CHECK_NOESCAPE): Move core functionality to...
2900         (_AT_CHECK): ...this new macro.
2902 2003-08-07  Derek Price  <derek@ximbiot.com>
2904         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
2905         (AT_CHECK_NOESCAPE): ...to this new macro.
2907 2003-07-31  Paul Eggert  <eggert@twinsun.com>
2909         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
2910         in Bash 2.01.  Problem reported by Brian Gough in
2911         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
2913 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
2915         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
2916         -lcrt1.o, for OS X.  (trivial change)
2918 2003-07-07  Paul Eggert  <eggert@twinsun.com>
2920         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
2921         inside '#ifndef __cplusplus'.  Problem reported by
2922         Bob Friesenhahn.
2924 2003-07-06  Bill Clarke  <llib@computer.org>
2926         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
2927         'long', not 'int', for benefit of Sun's recent C++ compilers
2928         (trivial change).  See:
2929         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
2930         (This really should be 'intptr_t', not 'long', but that would
2931         take more work.)
2933 2003-06-25  Akim Demaille  <akim@epita.fr>
2935         * lib/Makefile.am (autom4te.cfg): Make it read only.
2936         Depend on Makefile since it contains substitutions.
2937         From Paolo Bonzini.
2938         * lib/autom4te.in (args): Add local.at? for Autotest args.
2939         This change was made on autom4te.cfg which is generated.
2940         Reported by Raja R. Harinath.
2942 2003-06-25  Akim Demaille  <akim@epita.fr>
2944         * doc/autoconf.texi (Header Portability): sys/mount.h.
2945         From Gareth McCaughan.
2947 2003-06-23  Akim Demaille  <akim@epita.fr>
2949         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
2950         not all of them.  This fixes 1. the fact that when testing
2951         Autoconf there are many many config.log, 2. the incorrect use of
2952         top_srcdir to find config.log.
2953         Don't mix the detailed output of failed test with the summary of
2954         failures.  Rather, append detailed log afterwards.
2956 2003-06-23  Akim Demaille  <akim@epita.fr>
2958         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
2959         always run: output config.log on $at_group_log.
2961 2003-06-23  Akim Demaille  <akim@epita.fr>
2963         * tests/torture.at (#define header templates): Don't use quotes in
2964         C++ comments as it puzzles Emacs' sh font-lock-mode.
2966 2003-06-23  Akim Demaille  <akim@epita.fr>
2968         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
2969         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
2970         * tests/atspecific.m4: Rename as...
2971         * tests/local.at: This.
2972         * tests/suite.at: Move the globals into...
2973         * tests/local.at: here.
2974         * tests/Makefile.am: Adjust.
2975         * doc/autoconf.texi (testsuite Scripts): Adjust.
2977 2003-06-21  Kevin Ryde  <user42@zip.com.au>
2979         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
2980         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
2981         ensuring we add -std1 for full-ANSI.
2983         * doc/autoconf.texi (hdrindex): New macro.
2984         Add index entries for portability of various standard header files.
2986 2003-06-20  Akim Demaille  <akim@epita.fr>
2988         * configure.ac: Bump to 2.57b.
2990 2003-06-20  Akim Demaille  <akim@epita.fr>
2992         Version 2.57a.
2994 2003-06-20  Akim Demaille  <akim@epita.fr>
2996         * bin/autom4te.in: Don't rely on $HOME being defined.
2997         Reported by Marc Espie as PR/233.
2999 2003-06-20  Akim Demaille  <akim@epita.fr>
3001         * lib/autotest/general.m4: Use at_times_file only if used.
3002         From Nicolas Joly.
3004 2003-06-20  Akim Demaille  <akim@epita.fr>
3006         * config/config.guess, config/config.sub, config/elisp-comp,
3007         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
3008         Update from masters.
3010 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
3012         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
3013         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
3014         (TEST_SCRIPT): New diversion.
3015         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
3016         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
3017         (AT_INIT): Support for expected failures.
3019 2003-06-02  Akim Demaille  <akim@epita.fr>
3021         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
3022         changes.
3023         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
3024         Autoconf nor Automake.
3025         (&contents): New, from Automake.
3026         PODify.
3028 2003-05-28  Paul Eggert  <eggert@twinsun.com>
3030         * NEWS, doc/autoconf.texi (Particular Functions),
3031         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
3032         is the inverse of localtime.
3034 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
3036         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
3037         (handle_exec_errors): New function.  Work around $! being
3038         altered by WEXITSTATUS.
3039         (xqx, xsystem): Use handle_exec_errors.
3041 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
3043         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
3044         Do not call `_exit()', simply modify `$?'.
3045         (xsystem): Reset $! before running system, and check it afterward.
3046         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
3047         63 for version mismatches.
3049 2003-05-23  Akim Demaille  <akim@epita.fr>
3051         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
3052         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
3053         the middle of a line).
3054         * lib/m4sugar/m4sugar.m4: Likewise.
3055         Remove useless spaces in comments.
3057 2003-05-23  Akim Demaille  <akim@epita.fr>
3059         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
3060         exit 63, so that we (or Automake's "missing") can tell the
3061         difference with a plain failure.
3062         * doc/autoconf.texi (Notices): Adjust.
3064 2003-05-23  Akim Demaille  <akim@epita.fr>
3066         * Makefile.am, bin/Makefile.am, config/Makefile.am,
3067         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
3068         White spaces cleanup.
3070 2003-05-22  Jim Meyering  <jim@meyering.net>
3071             Paul Eggert <eggert@twinsun.com>
3073         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3074         Remove `#include <stdlib.h>' from the list; we should never
3075         make confdefs.h include <stdlib.h> or <cstdlib>, because the
3076         resulting namespace pollution would cause other tests to fail.
3077         Configure scripts run with some older versions of g++ and HP's
3078         aCC would fail due to such an #include.  Problems reported by
3079         Matthew Mueller in <http://bugs.debian.org/120704> and by
3080         Keith Bostic in
3081         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
3082         In the test, use the test declaration before including <stdlib.h>,
3083         as that's closer to how it'll be used.
3085 2003-05-23  Akim Demaille  <akim@epita.fr>
3087         * doc/autoconf.texi (Header Portability): ucred.h.
3088         From Ian Redfern.
3090 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
3092         Overhaul Autotest's logging: generate separate log files
3093         in testsuite.dir/NNN/testsuite.log, and append them to
3094         testsuite.log instead of re-running the test verbosely.
3096         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
3097         file descriptor, write 0 to at_status_file instead of setting
3098         at_status=0, initialize some new variables (at_status_file,
3099         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
3100         to rerun the tests, instead append the at_group_log to the
3101         at_suite_log when a test fails.
3102         (AT_SETUP): pipe the test case's output into at_tee_pipe,
3103         with the AS_MESSAGE_LOG_FD redirected to stdout.
3104         (AT_CLEANUP): save the output status in $at_status_file
3105         and restore it, redirect the AS_MESSAGE_LOG_FD back to
3106         its original place.
3107         (AT_CHECK): since tests are run with a redirected stdout,
3108         and used to be re-run in verbose mode, turn some $at_verbose
3109         into echo, and don't redirect the output of testing stdout
3110         and stderr.
3112         * lib/autotest/autoconf.texi (testsuite Scripts): Update
3113         the name of the debugging directory and information about
3114         its contents.
3116 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
3118         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
3119         parameter.
3121 2003-05-22  Akim Demaille  <akim@epita.fr>
3123         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
3124         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
3125         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
3126         * lib/autoconf/status.m4: Fix and adjust copyright notices.
3128 2003-05-22  Akim Demaille  <akim@epita.fr>
3130         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
3131         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
3132         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3133         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
3134         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3135         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3136         * lib/autoconf/status.m4, lib/autoconf/types.m4,
3137         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
3138         * tests/atspecific.m4, tests/base.at, tests/compile.at,
3139         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
3140         * tests/tools.at, tests/torture.at:
3141         Whitespace clean up.
3142         Suggested by Jim Meyering.
3144 2003-05-22  Akim Demaille  <akim@epita.fr>
3146         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
3147         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
3148         Reported by Jim Meyering.
3150 2003-05-22  Akim Demaille  <akim@epita.fr>
3152         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
3153         Add AC_HELP_STRING  to the obsolete macros section.
3154         Typos.
3155         Use '@.' for sentences that ended in a capital letter.
3156         From Art Haas.
3158 2003-05-22  Akim Demaille  <akim@epita.fr>
3160         * config/config.guess, config/config.sub, config/elisp-comp,
3161         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
3162         * config/texinfo.tex, doc/standards.texi: Update from masters.
3164 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
3166         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
3167         it to eval.
3169 2003-05-21  Akim Demaille  <akim@epita.fr>
3171         * bin/autoupdate.in ($m4): Fix quotation.
3172         Reported by Martin Mokrejs.
3174 2003-05-19  Paul Eggert  <eggert@twinsun.com>
3176         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
3177         Remove non-ASCII characters.
3179 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
3181         * tests/semantics.at (AC_SEARCH_LIBS): New test.
3182         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
3183         AC_CHECK_HEADERS_NEW): New tests.
3185 2003-05-17  Akim Demaille  <akim@epita.fr>
3187         * lib/autoconf/functions.m4: Use the default includes so that
3188         memcmp be declared before being tested.
3189         Reported by Sander Niemeijer.
3190         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
3191         * doc/autoconf.texi (Default Includes): Document
3192         AC_INCLUDES_DEFAULT.
3194 2003-05-17  Akim Demaille  <akim@epita.fr>
3196         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
3197         * doc/autoconf.texi (Obsolete Macros): Adjust.
3198         Reported by Werner LEMBERG and Debian Bug 190886.
3200 2003-05-16  Akim Demaille  <akim@epita.fr>
3202         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
3203         user name space clashes.
3204         Reported by Bruno Haible.
3206 2003-05-16  Akim Demaille  <akim@epita.fr>
3208         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3209         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
3210         them uniform, and more robust to Perl special characters.
3211         Reported by Martin Mokrejs.
3213 2003-05-14  Akim Demaille  <akim@epita.fr>
3215         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
3217 2003-05-14  Akim Demaille  <akim@epita.fr>
3219         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
3220         linux/irda.h.
3222 2003-05-12  Akim Demaille  <akim@epita.fr>
3224         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
3225         message.
3226         From Matthias Andree.
3228 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
3230         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
3231         and truncate.
3233 2003-05-06  Akim Demaille  <akim@epita.fr>
3235         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
3236         longer updates aclocal.m4 if useless, (ii) if a file m4_included
3237         by aclocal.m4 is changed it might require the importing of another
3238         m4 extension file, i.e., aclocal must be run.
3240         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
3241         (&parse_args): Use --force with aclocal if required and supported.
3242         (&autoreconf_current_directory): Use &run_aclocal.
3244 2003-05-06  Akim Demaille  <akim@epita.fr>
3246         Lock autom4te's cache.
3248         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
3249         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
3250         argument instead of a file name, so that the request file remains
3251         open during the whole autom4te run.
3252         ($icache_file): New.
3253         (&freeze): Lock the $icache_file.
3255 2003-04-29  Derek Price  <derek@ximbiot.com>
3257         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
3258         seperator with m4_append_uniq().  It doesn't work.
3259         (AT_CLEANUP): Add `;' to end of at_help_all.
3260         (AT_INIT): Allow --keywords to be specified more than once.  When
3261         grepping $at_help_all for keywords, use the field and keyword
3262         seperators to ensure a complete keyword match.  Alter at_prev handling
3263         to support the new --keywords behavior.
3265 2003-04-27  Karl Berry  <karl@freefriends.org>
3267         * doc/autoconf.texi: Make the dir entries in the autoconf manual
3268         align better with others.  I also made some of the individual
3269         entries on one line, for brevity and to make it easier for me to
3270         sort my dir-example file in the Texinfo distribution :).
3272 2003-04-12  Jim Meyering  <jim@meyering.net>
3274         * NEWS: Mention the new macro.
3275         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
3276         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
3277         * tests/c.at: Test AC_C_RESTRICT.
3278         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
3280 2003-04-08  Akim Demaille  <akim@epita.fr>
3282         * bin/ifnames.in: Skip C++ comments.
3283         From Jeremy Yallop.
3285 2003-04-08  Akim Demaille  <akim@epita.fr>
3287         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
3288         From Ilya Zakharevich.
3290 2003-04-08  Akim Demaille  <akim@epita.fr>
3292         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
3293         net/if.h, stdlib.h.
3295 2003-04-01  Derek Price  <derek@ximbiot.com>
3297         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
3298         from Akim's checkin of 2003-03-29.
3300 2003-04-01  Derek Price  <derek@ximbiot.com>
3302         * tests/torture.at (Configuring subdirectories): Add missing
3303         close-quote for Akim's change from 2003-03-28.
3305 2003-04-01  Akim Demaille  <akim@epita.fr>
3307         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
3308         (AC, AT, MS): these.
3309         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
3310         New.
3311         Use them.
3312         * doc/Makefile.am (CLEANFILES): Adjust.
3313         (TEXI2DVI): Make it --batch.
3315 2003-03-31  Derek Price  <derek@ximbiot.com>
3317         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
3318         which removed the main loop.
3319         Thanks to Akim Demaille.
3321 2003-03-29  Akim Demaille  <akim@epita.fr>
3323         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
3324         that starts a GUI.
3325         From Ilya Zakharevich.
3327 2003-03-29  Akim Demaille  <akim@epita.fr>
3329         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
3330         documentation to read is Autoconf's.
3331         Suggested by Paul Eggert.
3333 2003-03-28  Akim Demaille  <akim@epita.fr>
3335         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
3336         reading the section "Present But Cannot Be Compiled" when the
3337         header causes problems.
3339 2003-03-28  Akim Demaille  <akim@epita.fr>
3341         * tests/torture.at (Configuring subdirectories): Require aclocal
3342         1.4, otherwise the test fails, as it does support configure.ac.
3343         This fixes the "test 40 failed" bug reports.
3345 2003-03-28  Akim Demaille  <akim@epita.fr>
3347         * doc/autoconf.texi (C Compiler): `#line' portability.
3348         From Paul Eggert and Nelson H. F. Beebe.
3350 2003-03-27  Derek Price  <derek@ximbiot.com>
3352         * lib/autotest/general.m4: Eliminate main loop and reorganize test
3353         layout in order to allow scripting around test groups.
3355 2003-03-27  Derek Price  <derek@ximbiot.com>
3357         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
3358         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
3359         use new diversions in preparation for accepting new arguments and
3360         allowing scripting around tests.
3361         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
3363 2003-03-26  Derek Price  <derek@ximbiot.com>
3365         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
3366         obsolete AC_HELP_STRING.
3367         (AC_HELP_STRING): AU_DEFUN to...
3368         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
3369         * tests/m4sh.at (AS_HELP_STRING): New test.
3371         * tests/acgeneral.at: Regenerated.
3373 2003-03-26  Derek Price  <derek@ximbiot.com>
3375         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
3376         sense.  Verbosify the diversion definitions comment.
3378 2003-03-26  Derek Price  <derek@ximbiot.com>
3380         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
3381         AS_PREPARE.
3383 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
3385         * doc/autoconf.texi (Present But Cannot Be Compiled):
3386         Grammar fixes and minor rewording. (trivial change)
3388 2003-03-06  Paul Eggert  <eggert@twinsun.com>
3390         Work around a problem noted by Nelson H. F. Beebe with coreutils
3391         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
3392         2002/05/09) rejects '#line 32768 "configure"' because the line
3393         number overflows.
3394         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
3395         #line directives.
3396         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
3397         * doc/autoconf.texi (Generating Sources): Document this.
3399 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
3401         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
3402         file name for the m4 program, when it has an "exe" file extension.
3403         DJGPP's error messages include the error code in brackets -
3404         remove the error code during normalization.
3406 2003-02-28  Akim Demaille  <akim@epita.fr>
3408         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
3410 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
3412         * doc/autoconf.texi (Limitations of Make): Remove the section
3413         about `$<' in inference rules, it was a bogus interpretation of
3414         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
3415         Tru64 make in the "target lookup" section.
3416         (Automake): Automake 1.5+ no longer requires special tools to be
3417         present on the developer's host.
3419 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
3421         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
3422         to a shell that can handle redirection or quoting correctly.
3423         Override SHELL with the shell detected by configure.
3424         Use of $^O suggested by Tim van Holder.
3425         * bin/autom4te.in (BEGIN): Likewise.
3426         * bin/autoreconf.in (BEGIN): Likewise.
3427         * bin/autoscan.in (BEGIN): Likewise.
3428         * bin/autoupdate.in (BEGIN): Likewise.
3429         * bin/ifnames.in (BEGIN): Likewise.
3431         * bin/ifnames.in: Add final newline to help and version messages.
3433         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
3434         to cope with DOS-style absolute paths, when constructing
3435         ${ac_make}.
3437         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
3438         When constructing paths with IFS=:, quote the path. If we're
3439         constructing a DOS-style absolute path, we don't want to split it
3440         on the colon.
3442         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
3443         in description.
3445 2003-02-25  Pavel Roskin  <proski@gnu.org>
3447         * bin/autoheader.in: Add missing newline when printing
3448         suggestion how change AC_DEFINE call.
3450 2003-02-24  Paul Eggert  <eggert@twinsun.com>
3452         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
3453         2002-09-01 patch by replacing "test -n" with "test -z".
3454         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
3455         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
3457         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
3458         to fix a mismatch between example and discussion.
3460 2003-02-24  Kevin Ryde  <user42@zip.com.au>
3462         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
3463         format starting with "-".
3465 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
3467         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
3468         is not portable inside Makefile.
3470 2003-02-20  Akim Demaille  <akim@epita.fr>
3472         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
3473         compiler says yeah, but preproc says nope, compiler is right.
3474         Conversely, prompt the reader to send a bug report to the
3475         maintainers of the package, not of Autoconf.
3477 2003-02-20  Klee Dienes  <kdienes@apple.com>
3479         * bin/autoreconf.in (autoreconf_current_directory): Properly
3480         handle an empty aclocal.m4.
3482 2003-02-20  Akim Demaille  <akim@epita.fr>
3484         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
3485         $ac_prefix_program.
3486         From Larry Jones.
3488 2002-12-23  Paul Eggert  <eggert@twinsun.com>
3490         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
3491         innocuous variant befor including <limits.h> or <assert.h>.  This
3492         works around a bug reported by Albert Chin: HP-UX 11i
3493         (and earlier versions) have a <limits.h> that declares
3494         gettimeofday and many other functions.
3496 2002-12-03  Paul Eggert  <eggert@twinsun.com>
3498         Version 2.57.
3500         * NEWS, configure.ac: Update version.
3502         * doc/fdl.texi: Upgrade to FDL version 1.2.
3504         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
3505         nontrivially in main's body, so that f's external declaration is
3506         not optimized away in AIX.  This should fix the bug reported by
3507         Martin Frydl in
3508         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
3510         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
3511         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
3512         defined, to support freestanding compilers.  This should fix the
3513         bug reported by Momchil Velkov in
3514         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
3516         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
3517         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
3518         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
3519         by Simon Josefsson in
3520         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
3522         * Makefile.maint (www-gnu): New macro.
3523         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
3524         the location has moved.
3526 2002-12-02  Martin Frydl  <martin@systinet.com>
3528         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
3529         \(.*\) match is too long and there is something more to be checked.
3530         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
3532 2002-11-15  Akim Demaille  <akim@epita.fr>
3534         Version 2.56.
3536         * config/install-sh: chmod +x.
3537         From Paul Eggert.
3538         * config/move-if-change: Indenting changes.
3539         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
3540         * configure.ac (AM_INIT_AUTOMAKE): here.
3541         Require 1.7.1.
3543 2002-11-14  Akim Demaille  <akim@epita.fr>
3545         Version 2.55.
3547         * config/config.guess, config/config.sub, config/install-sh:
3548         Update from masters.
3550 2002-11-14  Akim Demaille  <akim@epita.fr>
3552         * Makefile.maint: Sync with Bison, i.e.:
3553         (po-check): Scan .l and .y files instead of the
3554         .c and the .h files that they generate.  This fixes the bug
3555         reported by Tim Van Holder in:
3556         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
3557         Look for N_ as well as for _.  Try to avoid matching #define for
3558         N_ and _.
3559         From Paul Eggert.
3561 2002-11-14  Akim Demaille  <akim@epita.fr>
3563         * doc/autoconf.texi (C Compiler): Compiling several files at once.
3564         From Paul Eggert and Albert Chin-A-Young.
3566 2002-11-14  Akim Demaille  <akim@epita.fr>
3568         * doc/autoconf.texi (C Compiler): Solitary backslashes.
3569         From Paul Eggert and Albert Chin-A-Young.
3571 2002-11-14  Kevin Ryde  <user42@zip.com.au>
3573         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
3574         than assigning in main, to avoid HP cc +O3 optimizing it away.
3576 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
3578         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
3579         option.  Process --recheck after parsing all options.  Pass -q
3580         option to configure on --recheck.
3581         (AC_OUTPUT): Pass -q from configure to config.status.
3582         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
3583         arguments to record.
3584         * doc/autoconf.texi (config.status Invocation): Document
3585         config.status -q option.
3587 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
3589         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
3590         Makefile.in if Makefile.am exists.
3591         (output): Strip `.am' from Makefiles.  Don't
3592         output AC_CONFIG_FILES if no Makefiles were found.
3594 2002-11-07  Akim Demaille  <akim@epita.fr>
3596         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
3597         (local_updates): New.
3598         * Makefile.maint: Update, from CVS Bison.
3599         (local_updates): New.
3601 2002-11-06  Akim Demaille  <akim@epita.fr>
3603         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
3604         declaration in extern "C" too.
3605         Reported by Roberto Bagnara.
3607 2002-11-06  Akim Demaille  <akim@epita.fr>
3609         * tests/torture.at (Configuring subdirectories): Don't use grep
3610         -w.
3611         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
3612         Reported by Ezra Peisach.
3614 2002-11-05  Akim Demaille  <akim@epita.fr>
3616         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
3617         Remove.
3618         We _have_ to stop using the old compatibility scheme that tried to
3619         avoid useless backslashes because Libtool 1.4.3 contains a
3620         AC_DEFINE([error_t], [int],
3621         [Define to a type to use for \`error_t' if it is not
3622         otherwise available.])
3623         We _have_ to quote the single quote and backslashes with \.  The
3624         old compatibility scheme saw that ` was backslashed, and therefore
3625         did not quote the single quote.  Hence before this patch, Autoconf
3626         was not compatible with Libtool.
3628 2002-11-04  Paul Eggert  <eggert@twinsun.com>
3630         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
3631         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
3632         LC_NAME, LC_PAPER, LC_TELEPHONE.
3633         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
3635 2002-11-04  Akim Demaille  <akim@epita.fr>
3637         Version 2.54c.
3639         * Makefile.maint (update, cvs-update, po-update, do-po-update):
3640         New.
3641         * config/texinfo.tex: Update.
3643 2002-11-03  Akim Demaille  <akim@epita.fr>
3645         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
3646         from...
3647         (&autoreconf): here.
3648         ($help, $make, &parse_args, &autoreconf_current_directory):
3649         Support -m/--make.
3650         * doc/autoconf.texi (autoreconf Invocation): Adjust.
3652 2002-10-31  Bruno Haible  <bruno@clisp.org>
3654         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
3655         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
3656         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
3657         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
3658         to ac_cv_func_realloc_0_nonnull.
3659         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
3661 2002-10-31  Akim Demaille  <akim@epita.fr>
3663         The test suite was no longer checking for trailing envvars and files.
3665         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
3666         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
3668 2002-10-31  Akim Demaille  <akim@epita.fr>
3670         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
3671         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
3672         Make variable, not a shell variable.
3673         Suggested by Bruno Haible.
3675 2002-10-31  Akim Demaille  <akim@epita.fr>
3677         * bin/autom4te.in (load_configuration): Reject #args out of any
3678         language.
3680 2002-10-31  Akim Demaille  <akim@epita.fr>
3682         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
3683         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3684         (_AC_RUN_IFELSE): Use it.
3685         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
3686         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3687         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
3688         inline it.
3690 2002-10-30  Akim Demaille  <akim@epita.fr>
3692         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
3693         * doc/autoconf.texi (autom4te Invocation): Adjust.
3694         Suggested by Tim van Holder.
3696 2002-10-29  Paul Eggert  <eggert@twinsun.com>
3698         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
3699         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
3700         Problem reported by Bruno Haible.
3702 2002-10-29  Akim Demaille  <akim@epita.fr>
3704         * doc/autoconf.texi (Header Templates): Put also in words what the
3705         pictures says to assist free style readers.
3706         (Customizing autom4te): s/--cache=/--cache /.
3708 2002-10-29  Akim Demaille  <akim@epita.fr>
3710         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
3711         sys/wait.h.
3712         sparc_address_test returns void.
3713         Use it with an argument, as prototyped.
3714         From Bruno Haible.
3716 2002-10-29  Akim Demaille  <akim@epita.fr>
3718         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
3719         configure.in, not configure.ac.
3720         Reported by Bruno Haible.
3722 2002-10-29  Akim Demaille  <akim@epita.fr>
3724         * tests/torture.at (Deep Package): New test.
3725         (Configuring subdirectories): Don't use a testSubDir as Autotest
3726         now does it itself.
3728 2002-10-29  Akim Demaille  <akim@epita.fr>
3730         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
3731         * doc/autoconf.texi (Invoking autom4te): Rename as...
3732         (autom4te Invocation): this, for consistency with the other nodes.
3734 2002-10-29  Akim Demaille  <akim@epita.fr>
3736         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
3737         Reported by Ralf Corsepius.
3739 2002-10-29  Akim Demaille  <akim@epita.fr>
3741         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3742         characters is a back as an `obsolete' warning now.
3743         Reported by Ralf Corsepius.
3745 2002-10-28  Akim Demaille  <akim@epita.fr>
3747         * configure.ac: Bump to 2.54c.
3749 2002-10-28  Akim Demaille  <akim@epita.fr>
3751         Version 2.54b.
3753         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
3755 2002-10-28  Akim Demaille  <akim@epita.fr>
3757         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
3758         m4 executable names, and different GNU M4 version.
3759         Reported by Ezra Peisach and Paul Jarc.
3761 2002-10-27  Akim Demaille  <akim@epita.fr>
3763         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
3764         AC_RUN_IFELSE.
3766 2002-10-27  Akim Demaille  <akim@epita.fr>
3768         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
3769         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
3770         Die when a simple Fortran program cannot be compiled.
3771         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
3772         Issue a warning if no function is given.
3774 2002-10-27  Akim Demaille  <akim@epita.fr>
3776         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
3777         Move the documentation of AC_TRY_RUN to...
3778         (Obsolete Macros): here.
3779         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
3780         (autoconf Invocation): Remove the duplicates with `invoking
3781         autom4te'.
3782         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
3783         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
3785 2002-10-27  Akim Demaille  <akim@epita.fr>
3787         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
3788         and AC_LANG_FUNC_LINK_TRY.
3789         (Examining Libraries): Rename as...
3790         (Running the Linker): this.
3791         Document AC_LINK_IFELSE.
3792         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
3793         (Obsolete Macros): here.
3794         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
3795         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
3796         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
3797         * lib/autoconf/headers.m4 (AC_USG): Likewise.
3799 2002-10-27  Akim Demaille  <akim@epita.fr>
3801         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
3803         More `check config.log' messages.
3805         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
3806         * doc/autoconf.texi (Printing Messages): Document it.
3807         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
3808         appropriate.
3809         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
3810         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
3811         (_AC_COMPILER_OBJEXT): Likewise.
3812         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
3813         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
3814         Likewise.
3815         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
3816         Likewise.
3818         Deprecate macros with unusual interfaces.
3820         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
3821         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
3823         Document the new ones, and proper style.
3825         * doc/autoconf.texi (Generating Sources): New.
3826         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
3827         (Examining Declarations): Rename as...
3828         (Running the Preprocessor): this.
3829         Document AC_PREPROC_IFELSE.
3830         (Examining Syntax): Rename as...
3831         (Running the Compiler): this.
3832         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
3833         (Obsolete Macros): Move the definition of AC_TRY_CPP and
3834         AC_TRY_COMPILE here.
3836 2002-10-27  Akim Demaille  <akim@epita.fr>
3838         Move sections around.
3840         * doc/autoconf.texi (Customizing autom4te): Remove a lost
3841         sentence.
3842         Reported by Burno Haible.
3843         (Language Choice): Now the first section of...
3844         (Writing Tests): this section.
3845         Make the introduction less C-centric.
3846         (Guidelines, Test Functions): Move to...
3847         (Writing Test Programs): this new section.
3848         (Test Programs): Merge into...
3849         (Run Time): this.
3851 2002-10-27  Akim Demaille  <akim@epita.fr>
3853         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
3854         autom4te.in that resulted in the need for two `make' runs.
3856 2002-10-27  Akim Demaille  <akim@epita.fr>
3858         * configure.ac: Bump to 2.54b.
3860 2002-10-25  Akim Demaille  <akim@epita.fr>
3862         Version 2.54a.
3864         * Makefile.maint: Update from the Coreutils.
3865         (AMTAR): Remove, obsolete.
3866         (automake_repo): Update to redhat.com.
3867         (cvs_file): New.
3868         Adjust to the fact that ansi2knr is now hosted by Automake.
3869         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
3870         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
3871         Update from masters.
3872         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
3873         autoscan.pre is not to be installed, and autoscan.list is not to
3874         be shipped.
3875         (CLEANFILES): Add autoscan.list.
3876         (autoscan.list): Disable the cache.
3877         * bin/Makefile.am: Include freeze.mk.
3879 2002-10-25  Akim Demaille  <akim@epita.fr>
3881         * bin/autom4te.in (&load_configuration): Take the file as
3882         argument.
3883         (&parse_args): Handle -C, --cache.
3884         ($help): Adjust.
3885         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
3886         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
3887         * doc/autoconf.texi (Invoking autom4te): Document --cache.
3888         Now a subsection of...
3889         (Using autom4te): This new section.
3890         (Customizing autom4te): New.
3891         (autom4te.cache): Adjust.
3893 2002-10-25  Akim Demaille  <akim@epita.fr>
3895         * doc/autoconf.texi (Generic Headers): More information on how to
3896         use AC_CHECK_HEADERS.
3898 2002-10-25  Akim Demaille  <akim@epita.fr>
3900         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
3901         Space changes.
3903 2002-10-25  Akim Demaille  <akim@epita.fr>
3905         * bin/autoscan.in (output): Output AC_PREREQ.
3906         (%needed_macros): Add AC_PREREQ so that configure.ac without one
3907         be reported.
3909 2002-10-23  Akim Demaille  <akim@epita.fr>
3911         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
3912         document _Bool.
3914 2002-10-23  Akim Demaille  <akim@epita.fr>
3916         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
3917         Reported by Peter Eisentraut.
3919 2002-10-23  Akim Demaille  <akim@epita.fr>
3921         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
3922         type _Bool.
3923         Fix a typo.
3924         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
3925         Eggert's recommandations.
3927 2002-10-22  Akim Demaille  <akim@epita.fr>
3929         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
3930         Bison, by Paul Eggert.
3931         * doc/autoconf.texi (Particular Headers): Document it.
3933 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
3935         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
3936         `$ac_configure_args'.
3938 2002-10-22  Akim Demaille  <akim@epita.fr>
3940         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
3941         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
3942         From Art Haas.
3944 2002-10-22  Akim Demaille  <akim@epita.fr>
3946         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
3948         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3949         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
3950         (_AC_CHECK_HEADER_NEW): Rename as...
3951         (AC_CHECK_HEADER): this.
3953 2002-10-22  Akim Demaille  <akim@epita.fr>
3955         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
3956         words about HP-UX cmp: it was actually a user-written cmp.
3958 2002-10-22  Akim Demaille  <akim@epita.fr>
3960         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
3961         are a few warnings.
3962         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3963         Quote for Perl '' strings, not "".
3964         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
3965         strings.
3967 2002-10-22  Akim Demaille  <akim@epita.fr>
3969         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3970         characters is a syntax warning now.
3971         (_AS_QUOTE): Accept $2 as list of characters to quote.
3972         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3973         Quote for Perl, not sh.
3974         * bin/autoheader.in: When $debug, report the file which is
3975         `do'ne.
3976         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
3977         `@', to tickle Perl's lists.
3978         Reported by Carlos Velasco.
3980 2002-10-18  Akim Demaille  <akim@epita.fr>
3982         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
3983         missing included files _are_ errors.
3984         Thanks to Alexandre Duret-Lutz.
3985         * tests/tools.at (autom4te cache): Adjust.
3986         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
3987         (AT_CHECK_M4SUGAR): Use it.
3988         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3989         Adjust.
3990         * tests/tools.at (autom4te): Now it does exit 1.
3992 2002-10-17  Akim Demaille  <akim@epita.fr>
3994         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
3995         Fixes the `AC_ARG_VAR' test failures.
3996         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
3997         * lib/freeze.mk (check-forbidden-patterns): New.
3998         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
3999         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
4000         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
4001         /dev/null.
4002         Reported months ago by H. Merijn Brand.
4004 2002-10-17  Akim Demaille  <akim@epita.fr>
4006         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
4008 2002-10-16  Paul Eggert  <eggert@twinsun.com>
4010         * Makefile.maint (wget_files): Remove ansi2knr.c.
4011         (ansi2knr.c-url_prefix): Remove.
4013 2002-10-16  Akim Demaille  <akim@epita.fr>
4015         Because of caching, some files that no longer exist and are no
4016         longer required can still cause errors.
4017         Reported by Alexandre Duret-Lutz.
4019         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
4020         to frozen files in @ARGV, as @ARGV must remain being a list of
4021         files.  Rather, at M4 call sites, use this...
4022         (&files_to_options): New function.
4023         (&freeze): Use &error.
4024         (&up_to_date): If a file that was included according to the cache
4025         is no longer there, then the output is out dated.
4026         (&main): Don't even check whether a file is up to date is anyway
4027         --force is given.
4028         * tests/tools.at (autom4te cache): New.
4030 2002-10-16  Akim Demaille  <akim@epita.fr>
4032         * bin/autoconf.as: Kill dead options.
4033         * bin/autoupdate.in (&parse_args): Kill old options.
4034         * bin/autoreconf.in (&parse_args): Remove dead options.
4035         Factor some code.
4036         (&autoreconf): Report the directories we enter *and leave*, so
4037         that error messages can be easily located, and use GNU Make
4038         format, so that Emacs' compile mode understands us.
4039         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
4040         if some file was changed instead of `print'.
4041         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
4042         (&parse_args): Remove the dead options.
4043         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
4044         autoheader's quiet mode.
4045         (AT_CHECK_AUTOUPDATE): Likewise.
4046         * tests/tools.at (autoupdate): Adjust.
4047         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4049 2002-10-11  Akim Demaille  <akim@epita.fr>
4051         No longer use CPP to check for the existing of headers: use CC to
4052         check for compilability.
4054         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4055         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
4056         (_AC_CHECK_HEADER_NEW): Rename as...
4057         (AC_CHECK_HEADER): this.
4059         * lib/autotest/general.m4 (AT_INIT): Include the failed test
4060         numbers in the Subject suggestion.
4062 2002-10-11  Akim Demaille  <akim@epita.fr>
4064         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
4065         Suggest using AC_CHECK_DECLS instead.
4067 2002-10-11  Akim Demaille  <akim@epita.fr>
4069         * tests/torture.at (AC_ARG_VAR): Have configure report the value
4070         of `precious'.
4072 2002-10-11  Akim Demaille  <akim@epita.fr>
4074         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
4075         file name to enable parallel executions.
4076         From Sam Varshavchik.
4078 2002-10-08  Akim Demaille  <akim@epita.fr>
4080         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
4081         aclocal invocation, as Gettext macros might not be visible to
4082         aclocal.
4083         Instead of blindly running autopoint, scan configure.ac (not the
4084         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
4085         Reported by Paul D. Smith.
4087 2002-10-08  Paul Eggert  <eggert@twinsun.com>
4089         Work around problems found when POSIXLY_CORRECT=1 is set.
4090         None of this seems to have anything to do with POSIX, really,
4091         but it's how Perl getopt works.
4092         * bin/autom4te.in (parse_args): Configure GetOpt with
4093         "permute", too.
4094         * doc/autoconf.texi (Invoking autom4te):
4095         --warning -> --warnings.
4096         * lib/autom4te.in: --warning -> --warnings.
4098 2002-09-28  Akim Demaille  <akim@epita.fr>
4100         * doc/autoconf.texi (autom4te.cache): New section.
4102 2002-09-28  Akim Demaille  <akim@epita.fr>
4104         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
4105         (Automake-preselections): Update.
4106         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
4108 2002-09-28  Akim Demaille  <akim@epita.fr>
4110         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
4111         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
4112         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
4113         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
4115 2002-09-28  Akim Demaille  <akim@epita.fr>
4117         * tests/torture.at (Configuring subdirectories): Be robust to
4118         users who use config.site to require for a cache: in this case,
4119         the two last configure runs, using two different sets of
4120         arguments, trigger a legitimate error.
4122 2002-09-28  Akim Demaille  <akim@epita.fr>
4124         * tests/m4sh.at (Functions Support, Functions and return Support):
4125         New.
4127 2002-09-28  Akim Demaille  <akim@epita.fr>
4129         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
4130         autoheader are Perl programs.
4131         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
4132         (autom4te): Specify that the sources are in the $srcdir.
4133         * doc/autoconf.texi (Installation Directory Variables): Adjust.
4135 2002-09-28  Akim Demaille  <akim@epita.fr>
4137         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
4138         (tm_zone): Move their rules to...
4139         * lib/autoconf/types.m4: here, using AN_ macros.
4140         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
4141         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
4142         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
4143         * lib/autoconf/programs.m4: here.
4144         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
4145         (ETAGS_FOR_AUTOCONF): New.
4146         Use it.
4148 2002-09-28  Akim Demaille  <akim@epita.fr>
4150         * lib/autoconf/autoscan.m4: New file.
4151         * lib/autoconf/autoconf.m4: Include it.
4152         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
4153         that were listed in the original autoscan.list.
4154         * lib/autoconf/headers.m4: Similarly with headers.
4155         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
4156         (.m4.m4f): Don't pass --prepend-include, since that's done by
4157         tests/autom4te itself.
4158         * lib/autoscan/Makefile.am: Include freeze.mk.
4159         (autoscan.list): New target --this file is no longer a source.
4160         (autoscan.pre): New file.
4162 2002-09-28  Akim Demaille  <akim@epita.fr>
4164         * bin/autoscan.in (@kinds): Make them singular.
4165         Adjust all uses.
4166         (&init_tables): When --debug, report the list of rules to ease
4167         tracking changes in autoscan.list.
4168         * lib/autoscan/autoscan.list (function): Strip comments, sort.
4170 2002-09-28  Akim Demaille  <akim@epita.fr>
4172         * lib/autoscan/functions, lib/autoscan/headers,
4173         * lib/autoscan/identifiers, lib/autoscan/makevars,
4174         * lib/autoscan/programs: Merge into...
4175         * lib/autoscan/autoscan.list: this.
4176         * bin/autoscan.in (&init_tables): Adjust.
4178 2002-09-28  Akim Demaille  <akim@epita.fr>
4180         * lib/autoscan/functions, lib/autoscan/headers,
4181         * lib/autoscan/identifiers, lib/autoscan/makevars,
4182         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
4183         `functions' line is now prefixed with `function:'.
4184         * bin/autoscan.in (&init_tables): Adjust.
4186 2002-09-28  Akim Demaille  <akim@epita.fr>
4188         From now on, autoscan files must always map a macro name to a
4189         word: there is no `default' macro for autoscan.
4191         * bin/autoscan.in (&init_tables): Reject entries with no macro at
4192         all.
4193         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
4194         explicit.
4196 2002-09-28  Akim Demaille  <akim@epita.fr>
4198         * bin/autoscan.in (%c_keywords): Remove.
4199         (&used): Keep only track of the words we might be interested in.
4200         (&output_kind): It is no longer needed to look for non active
4201         checks.
4203 2002-09-27  Akim Demaille  <akim@epita.fr>
4205         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
4206         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
4207         * lib/autoscan/functions: Adjust.
4208         * doc/autoconf.texi (Particular Functions): Adjust.
4210 2002-09-27  Akim Demaille  <akim@epita.fr>
4212         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
4213         from /tmp.
4214         Thanks to Bill Moseley and Paul Eggert.
4215         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
4216         the tmpdir must be created.
4217         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
4218         dir be in the build tree, instead of $TMPDIR.
4220 2002-09-27  Akim Demaille  <akim@epita.fr>
4222         * bin/autoscan.in: Improve the comments.
4223         (&parse_args): Drop obsolete undocumented options.
4224         (&output_kind): Output warnings.
4225         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
4226         (getwd): Trigger a warning.
4228 2002-09-26  Akim Demaille  <akim@epita.fr>
4230         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
4231         Reported by Ralf Corsepius.
4232         * doc/autoconf.texi (autoreconf Invocation): Likewise.
4234 2002-09-26  Akim Demaille  <akim@epita.fr>
4236         Single suffix rules and seperated dependencies are not portable.
4238         * doc/autoconf.texi (Installation Directory Variables): Update.
4239         (Limitations of Make): Some about `Single Suffix Rules and
4240         Separated Dependencies'.
4241         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4242         (ifnames, autoscan, autom4te): Un-factor into several rules.
4244 2002-09-25  Paul Eggert  <eggert@twinsun.com>
4246         * BUGS (Interoperability bugs): New section.  Mention libtool
4247         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
4249 2002-09-24  Paul Eggert  <eggert@twinsun.com>
4251         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
4252         make handles suffix-rules differently from GNU make.
4254         * bin/Makefile.am (SUFFIXES, .in): Remove.
4255         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
4256         Move the body of the old .in rule here.
4258 2002-09-16  Akim Demaille  <akim@epita.fr>
4260         i960 compilers create `b.out' files by default.
4261         Reported by Ralf Corsepius.
4263         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
4264         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
4266 2002-09-13  Paul Eggert  <eggert@twinsun.com>
4268         * doc/autoconf.texi (Particular Headers): Remove obsolete
4269         reference to `struct timezone' in the description of
4270         AC_HEADER_TIME.
4272 2002-09-13  Akim Demaille  <akim@epita.fr>
4274         Version 2.54.
4276         * config/config.sub, config/config.guess: Update.
4277         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
4278         * Makefile.am: Adjust.
4280 2002-09-13  Akim Demaille  <akim@epita.fr>
4282         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
4283         reading config.log when the compiler is rejected.
4284         Suggested by Guido Draheim.
4286 2002-09-13  Akim Demaille  <akim@epita.fr>
4288         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
4289         (chdir_init) might hang when stat'ing mounted directories.
4290         Reported by Vance Shipley.
4292 2002-09-12  Akim Demaille  <akim@epita.fr>
4294         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
4295         the lists.
4297 2002-09-12  Akim Demaille  <akim@epita.fr>
4299         * doc/autoconf.texi (Defining Symbols): Present two different
4300         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
4301         difference between 1 argument calls, and 2-3 argument calls.
4303 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
4305         * doc/autoconf.texi: Review grammar and punctuation.
4307 2002-09-11  Paul Eggert  <eggert@twinsun.com>
4309         * doc/autoconf.texi: Fix minor formatting, spelling, and
4310         grammatical typos.
4311         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
4312         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
4313         is obsolescent.
4315 2002-09-11  Akim Demaille  <akim@epita.fr>
4317         * doc/autoconf.texi (Questions): Rename as...
4318         (FAQ): this.
4319         (Defining Directories): New.
4321 2002-09-09  Akim Demaille  <akim@epita.fr>
4323         * doc/autoconf.texi (Making testsuite Scripts): Update.
4324         Suggested by Nishio Futoshi.
4326 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
4328         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
4329         plain `@' is wanted.
4331 2002-09-09  Akim Demaille  <akim@epita.fr>
4333         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
4334         `duplicates', since the algorithm was too naive and could keep
4335         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
4336         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
4337         Reported by Ralf Corsepius.
4338         * tests/torture.at (Configuring subdirectories): Exercise these
4339         cases.
4341 2002-09-09  Akim Demaille  <akim@epita.fr>
4343         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
4344         looking for a replacement file.
4345         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
4346         directory is relative.
4347         * doc/autoconf.texi (Generic Functions): Clarify the replacement
4348         directory definition.
4349         Reported by Andreas Schwab and Jim Meyering.
4351 2002-09-06  Akim Demaille  <akim@epita.fr>
4353         * doc/autoconf.texi (Setting Output Variables): Clarify what
4354         precious variables are.
4355         Suggested by Pontus Skoeld.
4357 2002-09-05  Akim Demaille  <akim@epita.fr>
4359         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4360         (ifnames, autoscan, autom4te): Since we don't only depend on
4361         configure.ac variables (such as VERSION etc.), but also on prefix
4362         and so forth, depend on Makefile, not configure.ac.
4363         Reported by Alexandre Duret-Lutz.
4364         * doc/autoconf.texi (Installation Directory Variables): Adjust.
4366 2002-09-05  Kevin Ryde  <user42@zip.com.au>
4368         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
4369         doesn't seem to be confined to ia64, just say "some versions".
4371 2002-09-04  Akim Demaille  <akim@epita.fr>
4373         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
4374         Automake 1.6c.
4375         * Makefile.am (maintainer-clean-local): Remove.
4376         (MAINTAINERCLEANFILES): Remove COPYING.
4378 2002-09-03  Paul Eggert  <eggert@twinsun.com>
4380         * doc/autoconf.texi (Configuration Commands): Remove obsolete
4381         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
4382         Brinkmann.
4384 2002-09-03  Akim Demaille  <akim@epita.fr>
4386         * configure.ac: Bump to 2.53d.
4387         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
4388         as of today, on Automake's team suggestion.
4390 2002-09-03  Akim Demaille  <akim@epita.fr>
4392         Version 2.53c.
4394 2002-09-02  Akim Demaille  <akim@epita.fr>
4396         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
4397         SITE_MACRO_DIR.
4398         * configure.ac: Disable SITE_MACRO_DIR.
4400 2002-09-02  Jim Meyering  <meyering@lucent.com>
4402         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
4403         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
4404         Also, tweak grammar: s/make sure to/be sure to/.
4406 2002-09-02  Paul Eggert  <eggert@twinsun.com>
4408         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
4409         directory names are generally preferable to physical names.
4411 2002-09-02  Akim Demaille  <akim@epita.fr>
4413         * lib/Autom4te/General.pm (&update_file): s/die/error/.
4414         Reported by Raja R. Harinath.
4415         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
4416         * bin/autoupdate.in: Use error instead of die.
4418 2002-09-01  Paul Eggert  <eggert@twinsun.com>
4420         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
4421         ordinary shell concatenation rather than echo+tr+sed command that
4422         runs afoul of a long-line-related sed bug in Solaris 8.
4424         * bin/autoheader.in (parse_args): --warning -> --warnings.
4426         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
4427         stdout, as traditional "ls" does.
4428         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
4429         _AC_COMPILER_EXEEXT_O): Likewise.
4430         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
4432         * bin/autoconf.as: Add --prepend-include option.  This patch was
4433         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
4434         but bin/autoconf.in is generated automatically from bin/autoconf.as.
4436         * bin/autoconf.in, configure: Regenerate.
4438         * doc/autoconf.texi (Special Shell Variables): Mention
4439         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
4441         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
4442         MAILPATH and set PS1, PS2, PS4 to default values, to work
4443         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
4444         For LC_ALL etc, first try to set to "C" as POSIX requires and as
4445         the Autoconf documentation specifies; fall back to "unset" only if
4446         this fails.  Use a shell for-loop for this rather than an m4 loop,
4447         to shorten the output script.
4449 2002-08-30  Paul Eggert  <eggert@twinsun.com>
4451         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
4452         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
4453         for the CDPATH problem.  Document PWD.
4454         (Limitations of Builtins): Document the problem that "cd $foo" and
4455         "ls $foo" may refer to different directories in shells conforming
4456         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
4457         example, since the old example is now out of date.
4459         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
4460         FOO" and "ls FOO" talk about different directories; this catches
4461         problems when POSIX 1003.1-2001 "cd" fails due to symlink
4462         spaghetti.
4464         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
4465         of rolling our own unset.
4466         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
4467         in practice we needn't worry about CDPATH if unset doesn't work.
4469         * Makefile.in, aclocal.m4, bin/Makefile.in,
4470         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
4471         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
4472         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
4473         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
4474         tests/Makefile.in: Regenerate with Automake 1.6.3.
4476         * config/config.guess, config/config.sub, config/mkinstalldirs:
4477         Update.
4479         * configure: Regenerate with self.
4481 2002-08-30  Kevin Ryde  <user42@zip.com.au>
4483         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
4484         default output.
4486 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4488         * bin/autom4te.in (Request::load): Correctly test for "do" read
4489         failure.
4491 2002-08-29  Akim Demaille  <akim@epita.fr>
4493         * lib/Autom4te/General.pm (&xqx): New.
4494         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
4495         hand, which is not portable.
4496         (&error): New.
4497         * bin/autom4te.in: Use them.
4498         Use &error instead of die.
4499         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4500         Adjust.
4502 2002-08-17  Paul Eggert  <eggert@twinsun.com>
4504         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
4505         default list of compilers to try, since it was long ago superseded
4506         by the ksh fc builtin.  Suggested by Steven G. Johnson.
4508 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
4510         * doc/autoconf.texi (Invoking autom4te): End the option table,
4511         fixing a bug introduced by the previous patch.
4512         (Limitations of Make): Add a 'target lookup' subentry in the
4513         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
4515 2002-07-29  Mark D. Roth  <roth@feep.net>
4517         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
4518         options and use $AUTOM4TE_PATH.
4519         * doc/autoconf.texi: Remove documentation of autom4te
4520         --include-envvar and --site-macro-subdir options and document
4521         use of $AUTOM4TE_PATH.
4522         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
4523         arguments from each language section.
4525 2002-07-29  Paul Eggert  <eggert@twinsun.com>
4527         * doc/install.texi: Include copyright symbol in copyright notice.
4529         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
4530         Replace with:
4531         (AM_MAKEINFOFLAGS): New macro.
4532         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
4533         * Makefile.am (INSTALL): Use the new macros.
4534         Use -o rather than --output, since "missing" does not grok --output.
4536 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
4538         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
4539         comments do not always work. Never trust the exit status of
4540         `make -k'.
4542 2002-07-24  Kevin Ryde  <user42@zip.com.au>
4544         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
4545         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
4547 2002-07-23  Paul Eggert  <eggert@twinsun.com>
4549         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
4550         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
4551         apparently treats PATH="nonexistent" as if it contained ".".
4552         Bug reported by Stefan `Sec' Zehl.
4554 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
4556         * doc/autoconf.texi (Limitations of Make): Mention the special
4557         handling of the obj/ directory by BSD make.
4559 2002-07-20  Kevin Ryde  <user42@zip.com.au>
4561         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
4562         backslashes.
4564 2002-07-19  Akim Demaille  <akim@epita.fr>
4566         * doc/autoconf.texi (Function Portability): `exit'.
4567         (Programming in M4sh): Ethymology of M4sh.
4569 2002-07-19  Akim Demaille  <akim@epita.fr>
4571         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
4573 2002-07-18  Akim Demaille  <akim@epita.fr>
4575         Version 2.53b.
4577 2002-07-18  Akim Demaille  <akim@epita.fr>
4579         * config/config.guess, config/config.sub: Update.
4581 2002-07-18  Akim Demaille  <akim@epita.fr>
4583         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
4584         Automake's parts.
4586         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
4587         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
4588         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
4590 2002-07-18  Akim Demaille  <akim@epita.fr>,
4591             Alexandre Duret-Lutz  <duret_g@epita.fr>
4593         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
4594         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
4596 2002-07-17  Russ Allbery  <rra@stanford.edu>
4598         * doc/autoconf.texi (Initializing configure): Clarify the
4599         description of the tarname default.
4601 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
4603         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
4604         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
4605         latter was not run.
4607 2002-07-17  Akim Demaille  <akim@epita.fr>
4609         * lib/Autom4te/General.pm (find_file): Browse the directories in
4610         the order they are given.
4612 2002-07-17  Akim Demaille  <akim@epita.fr>
4614         * tests/wrapsh.as, tests/wrappl.as: Merge into...
4615         * tests/wrapper.as: this.
4616         * tests/Makefile.am, configure.ac: Adjust.
4618 2002-07-17  Mark D. Roth  <roth@feep.net>
4620         * configure.ac: Add --enable-site-macro-dir option.
4621         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
4622         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
4623         --site-macro-subdir options.
4624         * bin/autoconf.in: Add --prepend-include option.
4625         * bin/autoheader.in: Add --prepend-include option.
4626         * bin/autoreconf.in: Add --prepend-include option.
4627         * bin/autoscan.in: Add --prepend-include option.
4628         * bin/autoupdate.in: Add --prepend-include option.
4629         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
4630         macro directory, remove note that include path directories are
4631         used in reverse order, and document --prepend-include option.
4632         * lib/autom4te.in: Use --prepend-include instead of --include.
4633         * tests/wrapsh.in: Use --prepend-include instead of --include.
4635 2002-07-17  Akim Demaille  <akim@epita.fr>
4637         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
4638         tarnames.
4639         * doc/autoconf.texi (Initializing configure): Adjust.
4641 2002-07-17  Akim Demaille  <akim@epita.fr>
4643         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
4644         (_AC_FUNC_MALLOC): New.
4645         (AC_FUNC_MALLOC): Use the latter.
4646         Define HAVE_MALLOC to 0 if broken.
4647         * doc/autoconf.texi (Particular Functions): Adjust.
4649 2002-07-16  Akim Demaille  <akim@epita.fr>
4651         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
4652         * doc/autoconf.texi (C Compiler): Adjust.
4654 2002-07-09  Akim Demaille  <akim@epita.fr>
4656         * doc/autoconf.texi: Properly set the ``header'' part.
4658 2002-07-09  Akim Demaille  <akim@epita.fr>
4660         * doc/autoconf.texi (Systemology): Some about Darwin.
4662 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
4664         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4665         Don't use AC_REQUIRE in AU_DEFUN.
4667 2002-07-09  Art Haas  <ahaas@neosoft.com>
4669         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
4671 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
4673         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4674         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
4675         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
4676         so that Emacs setups GNU style for perl-mode and cperl-mode.
4678 2002-06-27  Paul Eggert  <eggert@twinsun.com>
4680         * config/install-sh: Quote $src.  Prefer || to test's -o option,
4681         as per "Limitations of Builtins".
4682         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
4683         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4685         * tests/mktests.sh: Use grep instead of fgrep, as per
4686         "Limitations of Builtins".
4688 2002-06-15  Paul Eggert  <eggert@twinsun.com>
4690         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
4691         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
4692         so that we consistently test the just-built programs.
4693         * tests/wrappl.as: Likewise.
4695 2002-06-12  Paul Eggert  <eggert@twinsun.com>
4697         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
4698         name, so that symlinks to 'autoconf' work properly.  Bug reported
4699         by Bruno Haible.
4700         * bin/autoheader.in (AUTOM4TE): Likewise.
4701         * bin/autoreconf.in (autoconf, autoheader): Likewise.
4702         * bin/autoscan.in (autom4te): Likewise.
4703         * bin/autoupdate.in (autom4te): Likewise.
4705         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
4706         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
4707         on Solaris 2.5.1.
4709 2002-06-11  Andreas Schwab  <schwab@suse.de>
4711         * doc/autoconf.texi: Add more dir entries.
4713 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
4715         * bin/autom4te.in ($cache): Don't define using `$me', the name
4716         of the cache should not depend on the name under which autom4te
4717         was installed.
4719 2002-06-07  Akim Demaille  <akim@epita.fr>
4721         * tests/tools.at (autoconf: forbidden tokens, basic)
4722         (autoconf: forbidden tokens, exceptions): Adjust to the change of
4723         words in autom4te.in.
4725 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
4727         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
4728         _AC_LANG_PROGRAM_C_F77_HOOKS.
4730 2002-06-07  Akim Demaille  <akim@epita.fr>
4732         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
4733         rename as...
4734         (AC_REPLACE_FNMATCH): this.
4735         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
4736         AC_FUNC_FNMATCH_GNU.
4738 2002-06-07  Akim Demaille  <akim@epita.fr>
4740         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
4741         Rosetta Stone for Unix.
4743 2002-06-07  Akim Demaille  <akim@epita.fr>
4745         * bin/autom4te.in (warn_forbidden): When rejecting a token,
4746         suggest m4_pattern_allow.
4747         Suggested by Adam J. Richter.
4749 2002-06-07  Akim Demaille  <akim@epita.fr>
4751         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4752         ac_config_libobj_dir.
4753         (AC_CONFIG_LIBOBJ_DIR): New.
4754         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
4755         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
4756         Use ac_config_libobj_dir to find the replacement files.
4757         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
4758         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
4759         (AC_REPLACE_FNMATCH_GNU): these.
4760         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
4761         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
4762         * tests/mktests.sh (ac_exclude_list): Don't check
4763         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
4765 2002-06-06  Paul Eggert  <eggert@twinsun.com>
4767         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
4768         if ln doesn't work.
4769         * NEWS: Likewise.
4770         * doc/autoconf.texi (Configuration Links): Likewise.
4771         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
4773 2002-06-05  Paul Eggert  <eggert@twinsun.com>
4775         * config/config.guess, config/config.sub, config/texinfo.tex:
4776         Update from masters.
4778 2002-05-29  Paul Eggert  <eggert@twinsun.com>
4780         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
4781         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4782         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
4783         Likewise.
4784         * lib/autoconf/Makefile.am (check-local): Likewise.
4785         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
4786         * lib/autoconf/types.m4 (commentary only): Likewise.
4787         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
4788         * lib/autotest/Makefile.am (check-local): Likewise.
4789         * lib/m4sugar/Makefile.am (check-local): Likewise.
4790         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
4791         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
4793         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
4794         * doc/autoconf.texi (Particular Programs): Document them.
4795         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
4796         * NEWS: Likewise.
4798 2002-05-27  Paul Eggert  <eggert@twinsun.com>
4800         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
4801         * NEWS, doc/autoconf.texi (Particular Types): Document it.
4802         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
4803         instead of AC_MBSTATE_T, which never existed.
4805 2002-05-23  Akim Demaille  <akim@epita.fr>
4807         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
4808         version of Autoconf that is discussed.
4810 2002-05-22  Paul Eggert  <eggert@twinsun.com>
4812         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
4813         from the default list of compilers to try.  Suggested by
4814         Kate Hedstrom.
4815         * NEWS: Document the above.
4816         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
4818 2002-05-17  Paul Eggert  <eggert@twinsun.com>
4820         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
4821         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
4822         This improves on an earlier suggestion by H. Peter Anvin.
4824 2002-05-16  Paul Eggert  <eggert@twinsun.com>
4826         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
4827         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
4828         Both macros now accept an optional source-dir arg.
4829         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
4831         * NEWS: Document this.
4832         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
4834         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
4835         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
4836         not for GNU extensions; this undoes part of the 2000-11-03 change,
4837         reverting to 2.13-compatible behavior.
4838         Add new optional argument DIR.
4839         (AC_FUNC_FNMATCH_GNU): New macro.
4841         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
4843 2002-05-08  Paul Eggert  <eggert@twinsun.com>
4845         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
4846         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
4847         and it causes a 'test' syntax error if it fails.
4848         Bug reported by Stephen Gildea.
4850         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
4851         If prototypes are supported, use them to check this at compile-time,
4852         instead of trying to check it at run-time.  If we must do a run-time
4853         check, assume that setvbuf is standard when cross-compiling, as
4854         nonstandard setvbuf occurs only on ancient and unlikely hosts.
4855         Bug reported by Paul D. Smith.
4857         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
4858         argument specifying location of getloadavg.c.  This removes a
4859         FIXME.  This idea was taken from Jim Meyering's implementation in
4860         textutils.
4861         * doc/autoconf.texi (Particular Functions): Document this.
4862         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
4863         that's what the code does; this fixes a bug reported by
4864         Paul D. Smith.
4866 2002-05-03  Akim Demaille  <akim@epita.fr>
4868         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
4869         autopoint instead of gettextize.
4870         ($uses_alocal): Rename as...
4871         ($uses_aclocal): this.
4872         * doc/autoconf.texi (autoreconf Invocation): Adjust.
4873         Suggested by Bruno Haible.
4875 2002-05-03  Akim Demaille  <akim@epita.fr>
4877         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
4879 2002-04-29  Paul Eggert  <eggert@twinsun.com>
4881         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
4882         files to be 1 second older; just set them to be the same time.
4883         Also, sleep 1 second after the first aclocal, to work around
4884         problems with sub-second time stamps on the input files.
4886 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
4888         * doc/autoconf.texi: Mention "set -e -x" lossage
4889         under node "Limitations of Builtins".
4891 2002-04-29  Akim Demaille  <akim@epita.fr>
4893         * doc/install.texi: Better wording for setting variables when
4894         running configure.
4895         From Christian Cornelssen.
4897 2002-04-29  Akim Demaille  <akim@epita.fr>
4899         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
4900         of lack of $LINENO support, then the test will compare the $LINENO
4901         in testsuite vs. the lineno in the test file.  This is wrong, of
4902         course.
4903         Be sure to protect it.
4904         Reported by Patrick Welche.
4906 2002-04-25  Akim Demaille  <akim@epita.fr>
4908         * doc/autoconf.texi (Obsolete Macros): Typo.
4909         Reported by Vladimir Volovich.
4911 2002-04-25  Akim Demaille  <akim@epita.fr>
4913         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
4914         than some of the input files, hence, on the second run of aclocal,
4915         if some of its input are younger, make them older.
4916         Suggested by Paul Eggert.
4918 2002-04-25  Akim Demaille  <akim@epita.fr>
4920         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
4921         Thanks to Paul Eggert.
4923 2002-04-25  Akim Demaille  <akim@epita.fr>
4925         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
4926         and ac_subst_vars be sh variables containing the list of
4927         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
4928         DEFAULT diversion.
4929         (_AC_INIT_PREPARE): Use them to log them.
4930         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
4931         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
4932         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
4933         _AC_SUBST_FILES and _AC_SUBST_VARS.
4934         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
4936 2002-04-24  Akim Demaille  <akim@epita.fr>
4938         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
4939         autoheader, so that automake does not complain about a missing
4940         config.h.in that was to be created.
4942 2002-04-23  Akim Demaille  <akim@epita.fr>
4944         * bin/autoheader.in (parse_args): --warning takes an argument.
4945         Fixes PR/220.
4947 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
4949         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
4950         and bb.out when cleaning up.
4952 2002-04-22  Akim Demaille  <akim@epita.fr>
4954         Version 2.53a.
4956 2002-04-22  Akim Demaille  <akim@epita.fr>
4958         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
4960 2002-04-22  Akim Demaille  <akim@epita.fr>
4962         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
4963         comma.
4964         Reported by Gregory Giannoni.
4966 2002-04-22  Akim Demaille  <akim@epita.fr>
4968         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
4969         Fixes false failures on Darwin.
4971 2002-04-21  Paul Eggert  <eggert@twinsun.com>
4973         * TODO, bin/autoupdate.in, doc/autoconf.texi,
4974         lib/autoconf/general.m4, lib/autoconf/libs.m4,
4975         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
4976         tests/tools.at: Minor spelling and grammar fixes.
4978 2002-04-20  Paul Eggert  <eggert@twinsun.com>
4980         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
4981         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
4982         * lib/autotest/general.m4 (AT_INIT): Likewise.
4983         * tests/atgeneral.m4 (AT_INIT): Likewise.
4985 2002-04-19  Paul Eggert  <eggert@twinsun.com>
4987         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
4988         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
4989         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
4990         lib/autoconf/functions.m4, lib/autoconf/general.m4,
4991         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
4992         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
4993         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
4994         Minor spelling and grammar fixes.
4996         * doc/autoconf.texi: Follow the outline suggested in the GNU
4997         Sample Texts sections of the Texinfo 4.2 manual.  Most
4998         importantly, this makes sure that the copyright notices appear in
4999         all output formats.  You probably need Texinfo 4.2 to generate
5000         the manual now.
5002         Fix some bugs when using "$@" when there might be zero positional
5003         arguments in cases where this matters.
5005         * bin/autoconf.as: Rewrite so that the problem does not come up.
5006         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
5007         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
5008         * lib/autotest/general.m4 (AT_INIT): Likewise.
5010         * bin/autoheader.in: Use 'case' statement to work around problem.
5011         * bin/auto4mte.in: Likewise.
5012         * bin/autoreconf.in: Likewise.
5013         * bin/autoscan.in: Likewise.
5014         * bin/autoupdate.in: Likewise.
5015         * bin/ifnames.in: Likewise.
5017         * doc/autoconf.texi (Shell Substitutions): Document the problem.
5019         * lib/autotest/general.m4 (AT_INIT):
5020         Use Zsh alias to work around problem.
5021         * tests/atgeneral.m4 (AT_INIT): Likewise.
5023         * tests/c.at: We can't have zero arguments, so remove workaround
5024         that is not portable to Zsh.
5026 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
5028         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
5029         from aclocal.m4 too.
5031 2002-04-12  Akim Demaille  <akim@epita.fr>
5033         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
5035 2002-04-10  Akim Demaille  <akim@epita.fr>
5037         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
5038         workaround for ${1+"$@"}.
5039         * doc/autoconf.texi (Shell Substitutions): Explain it.
5040         From Oliver Kiddle and Peter Stephenson.
5042         Have M4sh perform minimal shell sanitizing.
5044         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
5045         part into...
5046         (_AS_PREPARE): this new macro.
5047         (AS_PREPARE): New.
5048         (AS_INIT): Invoke AS_SHELL_SANITIZE.
5049         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
5051         Adjust Autoconf and Autotest.
5053         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
5054         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
5055         * lib/autotest/general.m4 (AT_INIT): Likewise.
5056         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
5057         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
5058         AS_SHELL_SANITIZE.
5060         Use this M4sh to generate Autoconf's shell scripts.
5062         * tests/wrapsh.as: New, precursor of wrapsh.in.
5063         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
5064         on Autotest and M4sh.
5065         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
5066         (wrapsh.in): New target.
5067         * bin/autoconf.as: New, precursor of autoconf.in.
5068         (autoconf.in): New target.
5070 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
5072         * doc/autoconf.texi (Limitations of Make): Mention the issue
5073         with indented comments in rules.
5075 2002-04-09  Andreas Schwab  <schwab@suse.de>
5077         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
5078         ac_top_builddir when setting ac_abs_top_builddir.
5080 2002-04-06  Kevin Ryde  <user42@zip.com.au>
5082         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
5083         (Portable Shell): Cross reference to Systemology.
5085 2002-04-05  Akim Demaille  <akim@epita.fr>
5087         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
5088         directories when descending in a SUBDIRS.
5089         Reported by Ezra Peisach.
5091 2002-04-04  Andreas Schwab  <schwab@suse.de>
5093         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
5094         contains no literal separators.
5096 2002-04-03  Akim Demaille  <akim@epita.fr>
5098         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
5099         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
5100         Use dnl, not the KILL diversion.
5101         Extracted from...
5102         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
5103         (AC_CONFIG_LINKS): here.
5104         Adjust.
5105         Don't use the KILL diversion, as it kills spurious output, which
5106         results in failures being hidden.
5107         Use m4_defn where appropriate.
5108         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
5109         after the second argument.
5110         Use m4_defn.
5111         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
5112         syntax, as it is provided by M4sugar.
5113         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
5115 2002-04-03  Andreas Schwab  <schwab@suse.de>
5117         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
5118         expanded if $# <= 2.
5120         * bin/autoreconf.in (autoreconf): Run automake after rerunning
5121         aclocal.
5123 2002-04-03  Akim Demaille  <akim@epita.fr>
5125         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
5126         (_AC_COMPILER_EXEEXT_REJECT): New.
5127         Also recognize *.bb and *.bbg as compilation byproducts.
5128         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
5129         (_AC_COMPILER_OBJEXT): Use them.
5130         Fixes Debian #138666.
5132 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
5134         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
5136         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
5137         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
5138         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
5139         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
5140         (AC_C_CONST): Same.
5141         (AC_C_INLINE): Same.
5142         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
5143         * doc/autoconf.texi, NEWS: Document.
5144         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
5145         AC_C_CROSS.
5147 2002-04-02  Akim Demaille  <akim@epita.fr>
5149         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
5150         _AS_MKDIR_P_PREPARE.
5152 2002-03-28  Kevin Ryde  <user42@zip.com.au>
5154         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
5155         to avoid versions of HP C which don't allow that.
5157 2002-03-27  Paul Eggert  <eggert@twinsun.com>
5159         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
5160         (AS_SHELL_SANITIZE): Invoke it.
5161         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
5163 2002-03-26  Akim Demaille  <akim@epita.fr>
5165         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
5167 2002-03-26  Akim Demaille  <akim@epita.fr>
5169         * doc/autoconf.texi (Introduction): The GNATS base moved.
5171 2002-03-25  Paul Eggert  <eggert@twinsun.com>
5173         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
5174         as POSIX requires, as it doesn't work with Zsh.
5175         * doc/autoconf.texi (Assignments): Document the problem.
5177 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
5179         * doc/autoconf.texi (Limitations of Make): Mention more issue
5180         about VPATH, overriding of macros in sub-makes, and handling of
5181         SHELL.
5183 2002-03-21  Paul Eggert  <eggert@twinsun.com>
5185         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
5186         problem with here-document buffer boundaries.
5188         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
5189         when reinvoking the shell, to work around problems with installers
5190         who put strange things like "cd" commands in their environments.
5192 2002-03-19  Akim Demaille  <akim@epita.fr>
5194         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
5195         From Aaron Ucko.
5197 2002-03-19  Akim Demaille  <akim@epita.fr>
5199         * bin/autoscan.in (scan_file): Specify the location in `&used'
5200         invocations.
5201         From Nicolas Joly.
5203 2002-03-19  Akim Demaille  <akim@epita.fr>
5205         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
5206         From Nishio Futoshi.
5208 2002-03-19  Akim Demaille  <akim@epita.fr>
5210         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
5212 2002-03-18  Paul Eggert  <eggert@twinsun.com>
5214         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
5215         (Limitations of Usual Tools): Add mkdir section.
5217         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
5218         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
5219         back on AS_DIRNAME to compute prefixes otherwise; this is
5220         roughly what mkinstalldirs does.  That way, we need not have
5221         our own filename disassembler.  The old disassembler did not
5222         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
5224         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
5225         Create at_test_all by a series of assignments,
5226         not by a single assignment of a long string.  The latter causes ksh
5227         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
5228         presumably because of a buffer overrun.
5230 2002-03-14  Paul Eggert  <eggert@twinsun.com>
5232         * lib/autotest/general.m4 (at_times_skip):
5233         Renamed from at_times.  Now a boolean.
5234         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
5235         says 'times: not found'.
5237 2002-03-14  Akim Demaille  <akim@epita.fr>
5239         * bin/autoreconf.in (&study_gettextize): New.
5240         (&autoreconf): Handle newest gettextize.
5241         Rerun aclocal if needed.
5242         Suggested by Andreas Schwab.
5244 2002-03-13  Akim Demaille  <akim@epita.fr>
5246         * doc/autoconf.texi (Special Shell Variables): More about IFS.
5248 2002-03-13  Akim Demaille  <akim@epita.fr>
5250         * doc/autoconf.texi (Header Portability): New.
5251         Add information about stdint.h and inttypes.h from Paul Eggert.
5253 2002-03-13  Akim Demaille  <akim@epita.fr>
5255         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
5256         -p'.
5257         From Bob Proulx.
5259 2002-03-12  Akim Demaille  <akim@epita.fr>
5261         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
5262         m4_require.
5264 2002-03-11  Andreas Schwab  <schwab@suse.de>
5266         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
5267         does not do it if --with-lispdir is given.
5269 2002-03-08  Akim Demaille  <akim@epita.fr>
5271         Version 2.53.
5273 2002-03-08  Akim Demaille  <akim@epita.fr>
5275         * doc/autoconf.texi (Subdirectories): Clarify that the
5276         subdirectory should exist.
5278 2002-03-08  Akim Demaille  <akim@epita.fr>
5280         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
5282 2002-03-08  Akim Demaille  <akim@epita.fr>
5284         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
5285         aliases the actual variables, and modifications of the former
5286         affect the latter.
5288 2002-03-08  Akim Demaille  <akim@epita.fr>
5290         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
5291         because of C-c: have m4 output in tmp files, then mv them.
5293 2002-03-08  Akim Demaille  <akim@epita.fr>
5295         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
5296         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5297         * bin/ifnames.in: Copyright update.
5299 2002-03-08  Akim Demaille  <akim@epita.fr>
5301         * doc/autoconf.texi (Invoking autom4te): New.
5303 2002-03-05  Akim Demaille  <akim@epita.fr>
5305         * doc/autoconf.texi (Specifying Names): Clarification suggested by
5306         Kevin Ryde.
5308 2002-03-05  Akim Demaille  <akim@epita.fr>
5310         Version 2.52i.
5312 2002-03-04  Akim Demaille  <akim@epita.fr>
5314         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
5315         * lib/autoconf/general.m4 (AC_INIT): More informative error
5316         message for LIBOBJ.
5318 2002-03-04  Akim Demaille  <akim@epita.fr>
5320         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
5321         parallel builds.
5323 2002-03-04  Akim Demaille  <akim@epita.fr>
5325         * doc/autoconf.texi (Transforming Names): Equality between target
5326         and host is irrelevant.
5327         (Specifying Names, Canonicalizing): Remove all references to the
5328         backward compatibility hooks.  Rather, collect them all into...
5329         (Hosts and Cross-Compilation): this new section.
5330         * doc/install.texi (System Type): Ditto.
5331         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
5332         that `--host' implies cross-compilation.
5334 2002-03-04  Akim Demaille  <akim@epita.fr>
5336         * doc/autoconf.texi (Evaluation Macros): New.
5337         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
5338         useless.
5339         (_m4_foreach): Define the variant with immediate evaluation so
5340         that it contains exactly the items, not an expression which
5341         evaluation is the current item.
5342         (m4_re_string, m4_re_word): Don't over quote them.
5344 2002-03-04  Akim Demaille  <akim@epita.fr>
5346         Instead of having stacking `shift's evaluated at the end, let
5347         `foreach' loops immediately evaluate them.
5349         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
5350         $*.  This is the n-th time I change my mind, but hopefully this is
5351         the last...
5352         (m4_lquote): New.
5353         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
5354         efficient.
5355         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
5356         it was only a hack for m4_text_wrap.
5357         (m4_car2): Remove, replaced by...
5358         (m4_cdr): New.
5359         (_m4_foreach): Adjust.
5360         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
5361         m4_bpatsubst for clarification.
5363 2002-03-04  Akim Demaille  <akim@epita.fr>
5365         * doc/autoconf.texi (Changequote is Evil): New.
5367 2002-03-03  Kevin Ryde  <user42@zip.com.au>
5369         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
5370         on old systems like SunOS.
5372 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
5374         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5375         lib/autoconf/functions.m4, lib/autoconf/general.m4,
5376         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
5377         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
5378         of messages.
5380 2002-02-28  Akim Demaille  <akim@epita.fr>
5382         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
5383         message to be sent.
5385 2002-02-28  Kevin Ryde  <user42@zip.com.au>
5387         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
5389 2002-02-25  Akim Demaille  <akim@epita.fr>
5391         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
5392         From Akinori Musha.
5394 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
5396         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
5397         translate \r\n to \n.
5399 2002-02-07  Akim Demaille  <akim@epita.fr>
5401         Version 2.52h.
5403 2002-02-07  Akim Demaille  <akim@epita.fr>
5405         Fix Autoconf PR/209.
5406         Also reported by Frank Denis.
5408         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
5410 2002-02-07  Akim Demaille  <akim@epita.fr>
5412         Fix Autoconf PR/207:
5413         AC_PREFIX_PROGRAM fails with dashed program names
5415         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
5416         variable when looking for the prefix program.
5417         Now it also works for shell variables.
5419 2002-02-07  Akim Demaille  <akim@epita.fr>
5421         * doc/autoconf.texi (Limitations of Builtins): More about
5422         case/esac.
5424 2002-02-06  Akim Demaille  <akim@epita.fr>
5426         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
5427         case/esac, some shells don't support it.
5428         Reported by Zack Weinberg.
5429         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
5431 2002-02-06  Akim Demaille  <akim@epita.fr>
5433         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
5434         sure not to introduce newlines in at_groups.
5435         * lib/autotest/Makefile.am (autotest.m4f): Typo.
5437 2002-02-06  Akim Demaille  <akim@epita.fr>
5439         * tests/torture.at (Configuring subdirectories): Skip if aclocal
5440         is not available.
5442 2002-02-05  Paul Eggert  <eggert@twinsun.com>
5444         * doc/autoconf.texi (Specific Compiler Characteristics):
5445         Describe HP-UX cc bug workaround more accurately.
5446         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
5447         not unsigned long.
5448         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
5449         cross-compilers, too.  This undoes some of the most recent change
5450         to this file.
5452 2002-02-05  Akim Demaille  <akim@epita.fr>
5454         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
5455         to make sure they are up to date when `check' is run.
5457 2002-02-05  Akim Demaille  <akim@epita.fr>
5459         * doc/autoconf.texi (Making testsuite Scripts): Document
5460         package.m4.
5462 2002-02-05  Akim Demaille  <akim@epita.fr>
5464         * lib/freeze.mk: New.
5466 2002-02-05  Akim Demaille  <akim@epita.fr>
5468         Implement `autom4te --freeze'.
5470         * bin/autom4te.in (&freeze): New.
5471         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
5472         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
5474 2002-02-05  Akim Demaille  <akim@epita.fr>
5476         * bin/autom4te.in (&parse_args): Implement `frozen files are
5477         optional are the sum of the previous files on the command line'.
5478         Also, pass `--reload-state=' on them, so...
5479         (handle_m4): don't.
5480         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
5481         (M4sh): Rely on M4sugar.
5482         (Autotest, M4sh, M4sugar): Use frozen files.
5484 2002-01-31  Akim Demaille  <akim@epita.fr>
5486         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
5487         * doc/autoconf.texi (Initializing configure): Adjust.
5489 2002-01-30  Akim Demaille  <akim@epita.fr>
5491         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
5492         alphanumeric to `-' instead of `_'.
5494 2002-01-30  Akim Demaille  <akim@epita.fr>
5496         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
5497         for plain code, the other for cross-compilation code.  The latter
5498         is now run with GCC only.
5499         * doc/autoconf.texi (Compilers and Preprocessors): New.
5501 2002-01-30  Akim Demaille  <akim@epita.fr>
5503         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
5504         values.
5505         * doc/autoconf.texi (Initializing configure): Explain how to
5506         change AC_INIT default values.
5508 2002-01-29  Akim Demaille  <akim@epita.fr>
5510         * tests/torture.at (Configuring subdirectories): Use configure.in,
5511         so that aclocal 1.4 works.
5512         Reported by Alexandre Duret-Lutz and Larry Schmitt.
5514 2002-01-28  Akim Demaille  <akim@epita.fr>
5516         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
5517         needs an argument.
5519 2002-01-28  Akim Demaille  <akim@epita.fr>
5521         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
5522         AUTOTEST_PATH *after* it was set.
5523         Don't put `.' in the PATH: the user should be precise and `./' if
5524         needed.  In addition, given that the test suite does some `cd', if
5525         `.' is in the path, the `tested programs' sections will report
5526         programs found in the test suite's directory, while during the
5527         tests (performed in their own directory), these programs are no
5528         longer visible.  In other words, the results is confusing and
5529         useless.
5530         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
5532 2002-01-24  Akim Demaille  <akim@epita.fr>
5534         Version 2.52g.
5536 2002-01-24  Akim Demaille  <akim@epita.fr>
5538         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
5539         * doc/autoconf.texi: Finally add Akim as an author.
5541 2002-01-24  Akim Demaille  <akim@epita.fr>
5543         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
5544         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
5545         Bourne. Use /bin/sh.
5546         From Andreas Buening.
5548 2002-01-24  Akim Demaille  <akim@epita.fr>
5550         * config/config.guess, config/config.sub, config/texinfo.tex:
5551         Update from masters.
5553 2002-01-24  Akim Demaille  <akim@epita.fr>
5555         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
5556         * config/auxdir.m4, config/cond.m4, config/depend.m4,
5557         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
5558         * config/missing.m4, config/sanity.m4, config/select.m4,
5559         * config/strip.m4: Remove, to ease sync'ing with any version of
5560         Automake.
5562 2002-01-24  Akim Demaille  <akim@epita.fr>
5564         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
5565         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
5566         Reported by Geir Ove Myhr.
5568 2002-01-21  Akim Demaille  <akim@epita.fr>
5570         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
5572 2002-01-21  Akim Demaille  <akim@epita.fr>
5574         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
5575         message on invalid options.
5576         * bin/autom4te.in (parse_args): Don't use
5577         Autoconf::General::getopt with non valid options.
5579 2002-01-17  Jim Meyering  <meyering@lucent.com>
5581         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
5582         $ac_cv_exeext so we don't use an old, invalid, cached value.
5584 2002-01-11  Akim Demaille  <akim@epita.fr>
5586         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
5587         Meyering.
5588         * doc/autoconf.texi (Function Portability): Document the strnlen
5589         limitation.
5590         (Particular Functions): Document AC_FUNC_STRNLEN.
5591         * lib/autoscan/functions: Adjust.
5593 2002-01-06  Akim Demaille  <akim@epita.fr>
5595         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
5596         package.m4, since is really depends upon configure.ac, not
5597         configure.
5598         * doc/autoconf.texi (testsuite Scripts): Adjust.
5599         * tests/Makefile.am (package.m4): New.
5600         EXTRA_DIST it since its a source.
5602 2002-01-06  Akim Demaille  <akim@epita.fr>
5604         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
5605         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
5606         and PACKAGE_BUGREPORT from here...
5607         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
5608         arguments.
5609         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
5610         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
5611         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
5612         * tests/tools.at (autoheader): Adjust.
5613         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
5615 2002-01-06  Akim Demaille  <akim@epita.fr>
5617         * bin/autoscan.in (scan_file): Use `&used'.
5619 2002-01-03  Akim Demaille  <akim@epita.fr>
5621         * doc/autoconf.texi (Output): Improved wording regarding use of
5622         AC_OUTPUT.
5623         From Olly Betts.
5625 2001-12-18  Kevin Ryde  <user42@zip.com.au>
5627         * doc/autoconf.texi (Function Portability): Add notes on sscanf
5628         sometimes needing writable input.
5630 2001-12-17  Jim Meyering  <meyering@lucent.com>
5632         * doc/autoconf.texi (New Macros): Tweak wording.
5634 2001-12-14  Akim Demaille  <akim@epita.fr>
5636         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
5637         trailing files, don't apply `-rf' to files which might not be
5638         created by configure (core, core.*, and *.core), but just `rm -f'.
5639         Suggested by Jonathan Kamens.
5641 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
5643         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
5645 2001-12-14  Akim Demaille  <akim@epita.fr>
5647         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
5649 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
5651         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
5652         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
5653         abs_srcdir, top_srcpath to abs_top_srcdir.
5654         (_AC_OUTPUT_FILES): Adjust.
5655         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
5656         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
5657         * tests/wrappl.in, tests/wrapsh.in: Adjust.
5659 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
5661         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
5662         C/Fortran linking on HP/UX, by extracting the Fortran library
5663         search path from the LPATH line in the $F77 -v output.
5665 2001-12-12  Kevin Ryde  <user42@zip.com.au>
5667         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
5668         forbidden file descriptors table.
5670 2001-11-26  Akim Demaille  <akim@epita.fr>
5672         * bin/autoscan.in (%c_keywords): Build it at top level.
5673         Map to 1 in order to simplify its uses.
5675 2001-11-26  Akim Demaille  <akim@epita.fr>
5677         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
5678         Remove $filepath, useless.
5679         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
5680         variables, they are really part of the tokens.
5681         Split the input line on spaces and then look for tokens.
5682         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
5683         because of `lex$U.$(OBJEXT)'.
5684         (&scan_files): Use "@list" instead of join.
5685         * doc/Makefile.am (CLEANFILES): Add *.fns.
5687 2001-11-26  Akim Demaille  <akim@epita.fr>
5689         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
5690         Remove, replaced by...
5691         * tests/wrappl.in: Be common for all the Perl executables.
5692         In particular autoscan and autoheader want -I.
5693         * configure.ac: Adjust.
5694         * lib/autoscan/headers: errno.h is portable.
5696 2001-11-26  Akim Demaille  <akim@epita.fr>
5698         * bin/autoscan.in (used): New.
5699         Use it.
5701 2001-11-26  Akim Demaille  <akim@epita.fr>
5703         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
5704         directives.
5705         (&scan_sh_file): Remove a duplicate pattern.
5706         (&check_configure_ac): Use long options.
5707         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
5709 2001-11-26  Akim Demaille  <akim@epita.fr>
5711         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
5712         Before, having a line containing the opening of a multi line
5713         comment made the whole line be ignored.
5715 2001-11-26  Akim Demaille  <akim@epita.fr>
5717         * doc/autoconf.texi (Using an Autotest Test Suite): New.
5718         (testsuite Scripts): Be one of its subsection.
5719         (Autotest Logs): New.
5721 2001-11-26  Akim Demaille  <akim@epita.fr>
5723         Test groups are now run two directories deeper.
5725         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
5726         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
5727         at_top_builddir.
5728         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
5729         top_srcdir, builddir and top_builddir.
5730         Use `at_*dir' relatively to the directory containing the
5731         suite, use `*dir' when relatively to the current group dir.
5733 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
5735         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
5736         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
5737         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
5738         spelling errors.
5740 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
5742         * doc/autoconf.texi (Using System Type): Add an example of `case
5743         $host' usage so people quit using `case $target' everywhere.
5745 2001-11-22  Akim Demaille  <akim@epita.fr>
5747         * doc/autoconf.texi (Installation Directory Variables): Englishoes
5748         spotted by Jim Meyering.
5750 2001-11-16  Paul Eggert  <eggert@twinsun.com>
5752         This patch implements a `long double' suggestion by Oliver Kiddle.
5754         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
5755         static, to catch errors if the value isn't known at compile-time
5756         and the compiler supports dynamic arrays.  Change its name from
5757         `_array_' to `test_array' to avoid potential name clashes.
5758         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
5759         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
5760         better than double.  Catch a bug in GCC 2.95.2 x86.
5761         * doc/autoconf.texi (C Compiler): Document the above.
5762         * NEWS: Likewise.
5764 2001-11-13  Akim Demaille  <akim@epita.fr>
5766         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
5767         hand.
5768         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
5770 2001-11-13  Akim Demaille  <akim@epita.fr>
5772         * lib/autotest/general.m4 (AT_INIT): After having run the test
5773         group, go back to the initial directory, not to at_suite_dir.
5775 2001-11-13  Akim Demaille  <akim@epita.fr>
5777         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
5778         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
5779         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
5780         option.
5781         (AT_CHECK_CONFIGURE): Use absolute paths.
5782         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
5783         The problem is still the old one: there is no means in M4 (that I
5784         know about) to create a defining macro, because there is no means
5785         to create `$1' etc., therefore, the defining macro ``swallows''
5786         all the arguments meant to the defined macro.
5788 2001-11-13  Akim Demaille  <akim@epita.fr>
5790         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
5791         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
5792         configure.ac.
5793         * tests/aclocal.m4: Remove, as it is no longer used.
5795 2001-11-13  Akim Demaille  <akim@epita.fr>
5797         * lib/autotest/general.m4: Change `tests?' into `groups?' in
5798         variable names when referring to a single test group, or to
5799         `suite' when referring to the whole test suite.
5800         `at_last_test' is removed: m4 compute at_format itself.
5801         (at_stdout, at_stder1, at_stderr): New variables.
5802         (AT_CHECK): Use them.
5804 2001-11-13  Akim Demaille  <akim@epita.fr>
5806         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
5807         in PATH.
5808         Create `testsuite.dir/003/run' instead of `testsuite.003'.
5809         Do it as soon as a test fails, don't wait till the end of the test
5810         suite.
5811         Don't remove $as_me.[0-9]*, since these files no longer exist.
5813 2001-11-13  Akim Demaille  <akim@epita.fr>
5815         * tests/tools.at: Use absolute paths, since we are no longer run
5816         in place.
5818 2001-11-13  Akim Demaille  <akim@epita.fr>
5820         Now that tests are running in their own private dir, there is no
5821         need to list the files to remove at the end of tests groups.
5823         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
5824         (AT_data_files, at_data_files): Remove.
5825         (AT_CLEANUP, AT_DATA): Simplify.
5826         (AT_INIT): Adjust.
5827         Remove the group dir if !debug && !failed.
5828         * tests/atspecific.m4: Adjust.
5830 2001-11-13  Akim Demaille  <akim@epita.fr>
5832         Start a new layout for Autotest: `testsuite' creates
5833         `testsuite.dir' in which the at-check-line etc. files are to be
5834         found, and `testsuite.dir/003' where the test group 3 is run.
5836         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
5837         at_check_line_file, at_format, at_test_normalized, at_group_dir
5838         are new variables.
5839         Create the directories.
5840         Use absolute paths for at- files.
5841         (AT_CHECK): Adjust.
5843 2001-11-11  Michael Matz  <matz@kde.org>
5845         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
5846         (m4_car2): New.
5847         (m4_car): Properly quote arguments.
5849 2001-11-13  Akim Demaille  <akim@epita.fr>
5851         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
5852         with stricter rules on LIBOBJS.
5854 2001-11-12  Paul Eggert  <eggert@twinsun.com>
5856         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
5857         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
5858         __PROTOTYPES too.
5860 2001-11-12  Akim Demaille  <akim@epita.fr>
5862         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
5864 2001-11-12  Akim Demaille  <akim@epita.fr>
5866         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5867         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
5868         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5869         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5870         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
5871         specify to what the macro should be defined (typically to 1).
5873 2001-11-12  Akim Demaille  <akim@epita.fr>
5875         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
5876         From Jim Meyering.
5878 2001-11-12  Akim Demaille  <akim@epita.fr>
5880         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5881         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
5882         definition used by Automake where LEX is +/- "${missing} lex" and
5883         `missing' itself contains variables.
5885 2001-11-12  Akim Demaille  <akim@epita.fr>
5887         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
5888         Now that M4sh pushes BODY, the comments were output at the end of
5889         the test suites.
5891 2001-11-08  Akim Demaille  <akim@epita.fr>
5893         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
5894         that we can trace macros from aclocal.m4.
5895         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
5896         obsoleted, and redirect to the former anyway.
5897         Reported by Ralf Corsepius.
5899 2001-11-08  Akim Demaille  <akim@epita.fr>
5901         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
5902         processed only if present.
5903         * tests/torture.at (Configuring subdirectories): Use autoreconf
5904         instead of successive calls to autoconf.
5905         Add a nonexistent subdirectory to exercise the patch above.
5906         Reported by Ralf Corsepius.
5908 2001-11-08  Kevin Ryde  <user42@zip.com.au>
5910         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
5911         doesn't accept .S files.
5913 2001-11-07  Akim Demaille  <akim@epita.fr>
5915         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
5916         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
5917         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
5918         * bin/autom4te.in (warn_forbidden): New.
5919         (handle_output): Use it.
5920         Read m4_pattern_forbid with messages.
5922 2001-11-05  Akim Demaille  <akim@epita.fr>
5924         * bin/autom4te.in (--normalize): Remove.
5925         * lib/autom4te.in: Adjust.
5927 2001-11-05  Akim Demaille  <akim@epita.fr>
5929         * tests/Makefile.am (testsuite): Rename this target as...
5930         ($(TESTSUITE)): this.
5931         From Nicolas Joly.
5933 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
5935         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
5936         the --prefix option, also remove it's argument.
5938 2001-11-05  Akim Demaille  <akim@epita.fr>
5940         * doc/autoconf.texi (testsuite Invocation): Update.
5941         (Writing testsuite.at): Update.
5943 2001-11-03  Akim Demaille  <akim@epita.fr>
5945         * doc/autoconf.texi: s/@code/@command/ where appropriate.
5947 2001-11-03  Akim Demaille  <akim@epita.fr>
5949         * lib/Autom4te/General.pm: (&catfile, &canonfile)
5950         (&file_name_is_absolute): New, wrappers around routines from
5951         File::Spec.
5952         Use and export them.
5953         (&find_configure_ac): Optionally take a directory where to look at.
5954         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
5955         the arguments.
5956         Default @ARGV to `.', not find_configure_ac.
5957         (&autoreconf): Argument is a directory.
5958         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
5959         * doc/autoconf.texi (autoreconf Invocation): Update.
5961 2001-11-03  Akim Demaille  <akim@epita.fr>
5963         * lib/Autom4te/General.pm (@export_vars, @export_subs)
5964         (@export_forward_subs): New.
5965         Add basename, dirname, and fileparse.
5966         (@EXPORT): Adjust.
5967         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
5968         Don't look for aclocal flags if we already know aclocal is not
5969         used.
5970         Move aclocal.m4t only if it exists.
5971         Reported by Ezra Peisach.
5973 2001-11-03  Akim Demaille  <akim@epita.fr>
5975         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
5976         passed on command line, defaulting to ./configure.ac if present.
5977         (&maybe_autoreconf, File::Find): Remove, unused.
5978         (&autoreconf): If autoconf is not used, don't try to trace.
5980 2001-11-02  Akim Demaille  <akim@epita.fr>
5982         * configure.ac: Bump to 2.52g.
5984 2001-11-02  Akim Demaille  <akim@epita.fr>
5986         Version 2.52f.
5988 2001-11-02  Akim Demaille  <akim@epita.fr>
5990         * config/config.guess, config/config.sub, doc/standards.texi:
5991         * config/lispdir.m4: Update from masters.
5992         * configure.ac: Bump to 2.52f.
5994 2001-11-02  Akim Demaille  <akim@epita.fr>
5996         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
5997         Don't run aclocal when aclocal.m4 is not from aclocal.
5998         From Ezra Peisach.
5999         Don't run libtoolize and gettextize if --install is not given.
6001 2001-11-01  Paul Eggert  <eggert@twinsun.com>
6003         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
6004         be invoked before _AS_LINENO_PREPARE.
6005         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
6006         than character ranges.
6008         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
6009         invoking AS_BASENAME.  Set the locale variables to 'C' if
6010         possible, as POSIX requires this to get the traditional
6011         behavior.
6012         * doc/autoconf.texi (Special Shell Variables): Describe the above.
6014 2001-10-31  Paul Eggert  <eggert@twinsun.com>
6016         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
6017         with {}, as that triggers a bug in Bash 2.05.
6019         (_AS_LINENO_PREPARE): Use Sed rather than
6020         Awk.  Fix the sed prepass to work even if there are multiple
6021         instances of $LINENO on the same line.  Do not substitute for
6022         other variables like $LINENOT.  Do not check file dates; such a
6023         check is unreliable on sufficiently fast machines, and removing
6024         the check makes the code simpler and more reliable.  Check for
6025         output and chmod failures.
6027         * doc/autoconf.texi (Special Shell Variables): Document
6028         the above.
6030 2001-10-31  Akim Demaille  <akim@epita.fr>
6032         * tests/Makefile.am (atconfig): Remove this target, Automake
6033         handles it now.
6035 2001-10-31  Akim Demaille  <akim@epita.fr>
6037         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
6038         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
6039         provided, while it is optional.
6040         * configure.ac: Adjust.
6042 2001-10-26  Paul Eggert  <eggert@twinsun.com>
6044         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
6045           lib/Autom4te/Struct.pm:
6046         Require Perl 5.005_03 instead of just 5.005, as some tests fail
6047         with 5.005_02.
6049         * doc/autoconf.texi (Special Shell Variables): Document some
6050         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
6052         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
6053         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
6054         eval $LINENO is not portable in practice.
6056 2001-10-24  Akim Demaille  <akim@epita.fr>
6058         * lib/Autom4te/General.pm (backname): New.
6060 2001-10-24  Akim Demaille  <akim@epita.fr>
6062         * m4/: Remove, merged into...
6063         * config/: here.
6065 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
6067         * doc/autoconf.texi (Shellology): Mention the problems with bash
6068         2.05's use of ANSI quoting in its `set' builtin.
6070 2001-10-22  Paul Eggert  <eggert@twinsun.com>
6072         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
6073         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
6074         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
6075         POSIX decided to standardize on the int flavor of strerror_r.
6076         Always do char* test, as there's no reason not to.
6077         Assign to a char* var, to catch strerror_r that returns int*.
6079         * doc/autoconf.texi (Particular Functions):
6080         Document the above changes.  Also, document the fact that
6081         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
6083         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
6085 2001-10-20  Akim Demaille  <akim@epita.fr>
6087         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
6088         the executable was missing from the log.
6090 2001-10-20  Akim Demaille  <akim@epita.fr>
6092         * lib/Autom4te/General.pm (&update_file): If destination is
6093         unchanged, remove the source.
6094         (&up_to_date_p): Don't be verbose, be debug.
6095         * bin/autoreconf.in: No longer support --m4dir.
6096         (&autoreconf): Display the full path of the configure.ac we are
6097         studying.
6098         Trace it only once.
6099         Be sure to honor --force with gettextize.
6100         Always run aclocal.
6101         * doc/autoconf.texi: Adjust.
6103 2001-10-20  Akim Demaille  <akim@epita.fr>
6105         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
6106         Remove, dead.
6107         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
6108         `intl' is already present, as it refuses unless --force.
6109         (&parse_args): Use -I, --include instead of the old Autoconf
6110         options.
6111         ($localdir, $autoconf_dir): Remove.
6112         (@include): New.
6113         (&maybe_autoreconf): New, to preserve $_ for File::Find.
6115 2001-10-19  Jens Petersen  <petersen@redhat.com>
6117         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
6118         * doc/autoconf.texi (Particular Programs): Likewise.
6120 2001-10-19  Akim Demaille  <akim@epita.fr>
6122         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
6123         file in @configure_input@.
6124         Don't mention `automatically' in addition to `generated'.
6125         * tests/torture.at (#define header templates): Adjust.
6127 2001-10-19  Akim Demaille  <akim@epita.fr>
6129         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
6130         comment, explain how to install automatic mode selection.
6131         From Russ Allbery.
6133 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
6135         * bin/autoreconf.in (autoreconf): Display the path to the
6136         configure.ac being studied.
6138 2001-10-18  Paul Eggert  <eggert@twinsun.com>
6140         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
6141         long, to work around a bug in the HP C compiler version HP92453-01
6142         B.11.11.23709.GP.
6144         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
6145         (AS_BASENAME_EXPR): New macro.
6146         (AS_BASENAME_SED): Do not assume GNU sed semantics.
6147         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
6148         and fall back on 'sed' only if the other two fail.  This makes
6149         AS_BASENAME act more like AS_DIRNAME.
6150         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
6151         contains white space.
6152         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
6153         Use AS_DIRNAME, since I think it's now DOS-friendly.
6154         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
6155         Allow "dirname //FOO" to return either / or //, as POSIX allows
6156         either behavior.
6158 2001-10-10  Akim Demaille  <akim@epita.fr>
6160         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
6161         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
6162         From Eric Sharkey.
6164 2001-10-10  Akim Demaille  <akim@epita.fr>
6166         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
6167         m4_define, since...
6168         (_AS_ECHO_N): AS_REQUIREs it.
6170 2001-10-10  Akim Demaille  <akim@epita.fr>
6172         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
6173         (AC_INCLUDES_DEFAULT): Move to...
6174         * lib/autoconf/headers.m4: here.
6175         * lib/autoconf/types.m4: Comment changes.
6176         * doc/autoconf.texi: Specify where the default includes are used
6177         in the macro prototypes.
6179 2001-10-09  Akim Demaille  <akim@epita.fr>
6181         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
6182         transition code.
6184 2001-10-08  Akim Demaille  <akim@epita.fr>
6186         * bin/autoreconf.in (&autoreconf): Remove debugging code.
6187         (&parse_args): Pass verbosity/debugging options to subtools when
6188         --debug, not when --verbose.
6189         * lib/autom4te.in (Autoreconf-preselections): New.
6190         (Autoconf): Use it.
6192 2001-10-08  Akim Demaille  <akim@epita.fr>
6194         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
6196 2001-10-08  Akim Demaille  <akim@epita.fr>
6198         * doc/autoconf.texi (autoreconf Invocation): Adjust.
6199         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
6201 2001-10-08  Akim Demaille  <akim@epita.fr>
6203         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
6204         (Syntax of the shell scripts): Don't.
6205         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
6206         bother with $force since...
6207         * lib/Autom4te/General.pm: does.
6209 2001-10-08  Akim Demaille  <akim@epita.fr>
6211         * bin/autoreconf.in: Rewrite in Perl.
6212         * configure.ac: Adjust.
6213         * lib/Autom4te/General.pm (&up_to_date_p): New.
6214         * bin/autom4te.in (&up_to_date_p): Use it.
6215         Rename as...
6216         (&up_to_date): this.
6218 2001-10-08  Akim Demaille  <akim@epita.fr>
6220         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
6221         (m4_list_cmp): Use $0 to reinvoke yourself.
6222         (m4_patsubsts): New.
6223         (m4_strip, m4_version_unletter): Use it.
6224         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
6226 2001-10-08  Akim Demaille  <akim@epita.fr>
6228         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
6229         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
6230         * lib/autoconf/types.m4, lib/autotest/general.m4,
6231         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
6232         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
6233         m4_bregexp, m4_bpatsubst, and m4_bmatch.
6234         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
6236 2001-10-08  Akim Demaille  <akim@epita.fr>
6238         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
6240 2001-10-08  Akim Demaille  <akim@epita.fr>
6242         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
6243         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
6244         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
6245         * tests/tools.at, tests/m4sh.at: Use it.
6246         * tests/m4sh.at: Don't rely on Autoconf macros.
6247         (DIRNAME_TEST): Also exercise the expr variant.
6248         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
6249         preferred M4sugar extension is now `.4s'.
6250         * tests/README: Remove.
6252 2001-10-08  Akim Demaille  <akim@epita.fr>
6254         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
6255         (m4_provide_if): this.
6256         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
6257         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
6258         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
6259         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
6261 2001-10-08  Akim Demaille  <akim@epita.fr>
6263         Use `add-log-current-defun-function' for ChangeLog creation.
6264         Suggested by Tom Tromey.
6266         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
6267         (autotest-mode): Adjust.
6268         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
6269         'comment-region onto `C-c ;'.
6270         Comments are `#', not `dnl'.
6271         (autoconf-current-defun): New.
6272         (autoconf-font-lock-keywords): Recognize `m4_defun'.
6274 2001-10-08  Akim Demaille  <akim@epita.fr>
6276         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
6277         * lib/m4sugar/m4sh.m4: here.
6278         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
6279         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
6280         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
6281         include handle the m4_pattern_*, no longer push the
6282         BODY diversion nor set the /bin/sh line, AS_INIT does it.
6283         * lib/autotest/general.m4 (AT_INIT): Likewise.
6284         * tests/base.at: Adjust the tests to use AS_INIT.
6285         * tests/tools.at (AT_DATA_FORBIDDEN): New.
6286         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
6287         Autoconf.
6289 2001-10-07  Paul Eggert  <eggert@twinsun.com>
6291         * doc/autoconf.texi (config.status Invocation):
6292         CONFIG_SHELL defaults to a shell that supports LINENO if available.
6294         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
6295         shell does not support LINENO, and if CONFIG_SHELL is unset or
6296         empty, and if we can find a shell that does support LINENO,
6297         then set CONFIG_SHELL to that shell and then re-execute
6298         ourselves with CONFIG_SHELL.
6300 2001-10-05  Paul Eggert  <eggert@twinsun.com>
6302         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
6303         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
6304         build of $(TESTSUITE).
6306 2001-10-05  Akim Demaille  <akim@epita.fr>
6308         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
6309         iff we are a bareword.
6310         Reported by Raja R Harinath.
6312 2001-10-05  Akim Demaille  <akim@epita.fr>
6314         * tests/m4sh.at (LINENO): New.
6315         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
6316         PATH_SEPARATOR before using it.
6317         Fix the absolute path case/esac pattern.
6318         Provide $0 as fallback for as_myself.
6319         Reported by Raja R Harinath.
6321 2001-10-05  Akim Demaille  <akim@epita.fr>
6323         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
6324         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
6326 2001-10-05  Akim Demaille  <akim@epita.fr>
6328         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
6329         (AS_SHELL_SANITIZE): here.  Use it.
6330         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
6331         From Paul Eggert.
6333 2001-10-04  Akim Demaille  <akim@epita.fr>
6335         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
6336         combination of Awk and sed to replace $LINENO.
6338 2001-10-02  Paul Eggert  <eggert@twinsun.com>
6340         * doc/autoconf.texi (Limitations of Builtins): You can't use
6341         "source"; it's not portable.  Remove confusing and
6342         somewhat-incorrect example involving "." and "/".
6344         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
6345         compatibility with POSIX shells.
6347 2001-10-02  Akim Demaille  <akim@epita.fr>
6349         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
6350         instead of exec'ing to preserve $0 and $@.
6352 2001-10-01  Akim Demaille  <akim@epita.fr>
6354         * tests/testsuite (AT_INIT) <at_pass_list>: New.
6355         Don't run twice the same test.
6357 2001-10-01  Akim Demaille  <akim@epita.fr>
6359         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
6360         No longer output the list of tests.
6361         <--list>: New option.
6362         <--full-help>: Remove.
6363         Complete the short/long options duality.
6364         Various small adjustments.
6366 2001-10-01  Akim Demaille  <akim@epita.fr>
6368         * doc/autoconf.texi: Use @kbd for user input.
6369         Always use `$' as shell prompt.
6371 2001-09-30  Paul Eggert  <eggert@twinsun.com>
6373         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
6374         Don't use nested parenthesization.  This patch was originally
6375         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
6376         but somehow it didn't get incorporated then.
6377         * doc/autoconf.texi (Limitations of Usual Tools):
6378         Clarify remark about sed and nested parenthesization.
6380         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
6381         Report an error if the size cannot be determined even though
6382         the type exists.
6383         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6384         Check for `expr' arithmetic overflow, and for compilation failure,
6385         and invoke a new argument $4 if either is discovered.
6386         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
6387         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
6389 2001-09-28  Akim Demaille  <akim@epita.fr>
6391         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
6392         * m4/lispdir.m4: New.
6393         * aclocal.m4, configure.ac: Adjust.
6395 2001-09-28  Akim Demaille  <akim@epita.fr>
6397         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
6398         (AT_TESTED): this.
6399         (AT_INIT): More the wrapped section to where it will be expanded.
6400         Output `AT_tested' only when existing.
6401         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
6403 2001-09-27  Akim Demaille  <akim@epita.fr>
6405         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
6406         generates too many bug reports.
6408         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
6409         status when executing the ACTION-IF-FALSE.
6410         * tests/base.at (AC_TRY_*): Rename as...
6411         (AC_TRY_COMMAND): this.
6412         (AC_RUN_IFELSE): New.
6413         * tests/compile.at (Extensions, C keywords)
6414         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
6415         (Broken/missing compilers, AC_PROG_CPP with warnings)
6416         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
6417         * tests/c.at (Extensions, C keywords)
6418         (Broken/missing compilers, AC_PROG_CPP with warnings)
6419         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
6420         (AC_PROG_CPP requires AC_PROG_CC): here and...
6421         * tests/fortran.at (GNU Fortran 77): there.
6422         * doc/autoconf.texi (autoconf Invocation): Fix the example:
6423         AC_TRY_RUN is about compilation, not shell commands.
6424         (Test Programs): AC_TRY_RUN works as used to be advertised.
6426 2001-09-27  Akim Demaille  <akim@epita.fr>
6428         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
6429         Raja R Harinath:
6430         Be sure to detect when $LINENO always returns the same value.
6431         Look for the original script, basename($0) is certainly not
6432         enough.
6433         Pass the CLI arguments to `$as_me.lineno'.
6435 2001-09-25  Akim Demaille  <akim@epita.fr>
6437         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
6438         Be sure the close and reopen the LOG fd before and after using tee
6439         to extend the log.
6440         <at_tests_pattern>: Adjust to the new format of at_help_all.
6442 2001-09-23  Akim Demaille  <akim@epita.fr>
6444         * bin/autom4te.in (parse_args): There can be several invocations
6445         of --language now.
6447 2001-09-23  Akim Demaille  <akim@epita.fr>
6449         * doc/autoconf.texi (Top): Wrap in @ifnottex.
6451 2001-09-23  Akim Demaille  <akim@epita.fr>
6453         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
6454         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
6455         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
6456         builddir, buildpath, top_builddir, and top_buildpath.
6457         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
6458         the current directory.
6459         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
6460         variables *before* changing the current directory.
6461         Skip nonexistent dirs.
6462         * doc/autoconf.texi (Preset Output Variables): Document these
6463         variables.
6465         * lib/autotest/general.m4: Do not reset AT_victims.
6466         Don't compute at_srcdir nor at_top_srcdir.
6468         * tests/tools.at: Hence use top_srcdir.
6470         * tests/Makefile.am, tests/autoconf, tests/autoheader,
6471         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
6472         Remove.
6473         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
6474         * tests/wrapsh.in, tests/autoupdate.in: New.
6475         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
6476         * configure.ac: Build the position independent wrappers.
6478         * man/Makefile.am: Now that test wrappers are position
6479         independent, use them and drop dark envvar magic.
6481 2001-09-23  Akim Demaille  <akim@epita.fr>
6483         * doc/autoconf.texi (Common Shell Constructs): Rename as...
6484         (Programming in M4sh): this.
6485         Promote to @section.
6487 2001-09-23  Akim Demaille  <akim@epita.fr>
6489         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
6490         Pass $at_debug_args to the rerun test suite.
6491         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
6492         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
6493         From Paul Eggert.
6495 2001-09-23  Akim Demaille  <akim@epita.fr>
6497         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
6499 2001-09-23  Akim Demaille  <akim@epita.fr>
6501         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
6502         over-escaping.
6504 2001-09-23  Akim Demaille  <akim@epita.fr>
6506         * lib/Autom4te/General.pm (&debug): New.
6507         * bin/autom4te.in ($language): Move to...
6508         (parse_args): here.
6509         Handle --language in languages.
6510         * lib/autom4te.in (Automake-selections, Autoheader-selections)
6511         (Autoscan-selections): New.
6512         (Autoconf): Adjust.
6514 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
6516         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
6517         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
6518         to match current versions from CVS Automake.
6520 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
6522         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
6523         for $LINENO.
6525 2001-09-22  Akim Demaille  <akim@epita.fr>
6527         * lib/autoconf/autotest.m4: Create `package.m4'.
6528         * tests/Makefile.am (package.m4): Remove.
6530 2001-09-22  Akim Demaille  <akim@epita.fr>
6532         Rely on `$LINENO' when possible instead of `__oline__'.
6534         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
6535         `$LINENO' support replacement when not supported.
6536         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
6537         them explicitly to be sure they are not output before this section
6538         (via m4_require).  Cosmetic only.
6539         * lib/autoconf/c.m4, lib/autoconf/general.m4,
6540         * lib/autoconf/programs.m4: Replace all the occurrences of
6541         `__oline__' with `$LINENO'.
6542         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
6544 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
6546         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
6547         character (u: -> ue) in a code comment.
6548         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
6549         it works.
6551 2001-09-21  Akim Demaille  <akim@epita.fr>
6553         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
6554         Suggested by Jim Meyering.
6556 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6558         * lib/autoconf/programs.m4: Use extensions listed in
6559         $ac_executable_extensions when looking for programs.
6561 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6563         * lib/autoconf/general.m4: Fix a small Englisho.
6564         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
6565         setting up ac_dir_suffix and ac_top_builddir.
6566         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
6568 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6570         * doc/autoconf.texi (File System Conventions): Clarify the use of
6571         PATH_SEPARATOR.
6572         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
6573         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
6574         be used instead of ':'.
6575         * lib/autotest/general.m4: Replace occurrences of ':' in
6576         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
6578 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6580         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
6581         arguments.  Fixed a typo.
6583 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6585         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
6586         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
6588 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6590         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
6591         * bin/autoupdate.in: Ditto.
6592         * bin/autoheader.in: Reworded a few comments.
6593         * bin/autoconf.in: Reworded help text for a few options.
6594         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6595         * bin/autoscan.in, bin/autoupdate.in: Ditto.
6597 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6599         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
6600         already have $file).  Set output files to binary mode (helps avoid
6601         CR issues on DOSish systems).
6603 2001-09-19  Akim Demaille  <akim@epita.fr>
6605         * lib/autotest/general.m4: Englishoes.
6606         From Tim Van Holder and Alexey Mahotkin.
6608 2001-09-18  Paul Eggert  <eggert@twinsun.com>
6610         * doc/autoconf.texi (Common Shell Constructs): New node,
6611         documenting AS_DIRNAME.
6612         (Limitations of Usual Tools): Refer to it when discussing dirname.
6613         Also, update discussion of POSIX standard to reflect latest draft.
6615         * lib/autoconf/c.m4:
6616         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
6618         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6619         Do not pass a first argument with leading '-'
6620         to expr, by parenthesizing initial integers that might be negative.
6622         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
6623         now merely checks whether it is an error to pass an argument
6624         to getpgrp.
6626         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
6627         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
6628         whether it is a (compile-time) error to pass an argument to
6629         getpgrp.  This simpler test supports the revised documentation,
6630         and is all that AC_FUNC_GETPGRP's users really need.
6632 2001-09-18  Akim Demaille  <akim@epita.fr>
6634         * doc/autoconf.texi (Limitations of Make) <$<>: New.
6636 2001-09-18  Akim Demaille  <akim@epita.fr>
6638         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
6639         `{}'.
6640         * lib/autotest/general.m4 (AT_INIT): Adjust.
6642 2001-09-18  Paul Wagland  <paul@wagland.net>
6644         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
6645         correctly.
6646         Add test for AS_BASENAME.
6647         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
6648         added test. It now correctly handles /1/2/3/, returning '3' not ''.
6649         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
6650         * tests/base.at: Fixed the expected responses. The old ones were
6651         one line out...
6652         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
6653         the documentation claims it should (and how it behaved in 2.13).
6655 2001-09-18  Akim Demaille  <akim@epita.fr>
6657         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
6658         the AC_CONFIG_COMMANDS invocation.
6659         This also solves the name clash problems.
6660         Don't set the package's ID.
6661         * lib/m4sugar/Makefile.am (version.m4): Revamp.
6662         No longer to be shipped.
6663         (version.in): Remove.
6664         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
6665         * lib/autoconf/status.m4: Adjust.
6666         Use `m4_PACKAGE_STRING'.
6667         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
6668         the only optional argument is the name of the test suite.
6669         Expect `package.m4' to define the package signature.
6670         * lib/autom4te.in (Autotest): Add `package.m4?'.
6671         * tests/Makefile.am (package.m4): New.
6672         * tests/suite.at: ifnames is a victim.
6674 2001-09-18  Akim Demaille  <akim@epita.fr>
6676         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
6677         AC_LIBSOURCE, AC_CONFIG_FILES.
6678         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
6679         program version string doesn't match the package's.
6680         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
6681         after `(cached)'.
6683 2001-09-17  Paul Eggert  <eggert@twinsun.com>
6685         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6686         Allow expression to return any value that can fit into unsigned long
6687         (not int, as before).  Check for output errors.
6689 2001-09-17  Bruno Haible <haible@ilog.fr>
6691         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6692         Always include <stdio.h> and <stdlib.h>. Evaluate
6693         the expression in an extra function before these includes. Call
6694         fprintf "%d" only after ensuring the argument is of type 'int'.
6695         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
6697 2001-09-17  Paul Eggert  <eggert@twinsun.com>
6699         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
6700         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
6701         fatal errors, and AC_CHECK_LIB causes it to include libraries even
6702         when they don't exist.
6704         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
6705         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
6706         need it.
6708         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
6709         version with the version used by fileutils 4.1, except use
6710         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
6711         we don't need it.
6713         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
6715 2001-09-13  Akim Demaille  <akim@epita.fr>
6717         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
6718         _first_.
6719         Reported by Gerrit P. Haase.
6721 2001-09-13  Akim Demaille  <akim@epita.fr>
6723         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
6724         m4_defn'ing is valid.
6726 2001-09-13  Akim Demaille  <akim@epita.fr>
6728         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
6729         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
6730         Use it.
6732 2001-09-13  Akim Demaille  <akim@epita.fr>
6734         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
6735         m4_match.
6736         (m4_re_escape): New.
6737         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
6738         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
6739         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
6740         Likewise.
6741         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
6742         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
6743         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
6744         AT_tests_all for consistency.
6745         Set at_victims.
6746         (AT_VICTIMS): Similar to AT_KEYWORDS.
6747         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
6749 2001-09-13  Akim Demaille  <akim@epita.fr>
6751         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
6753 2001-09-13  Akim Demaille  <akim@epita.fr>
6755         * lib/autotest/general.m4 (AT_INIT): Create and remove
6756         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
6757         test suites can cohabit.
6759 2001-09-13  Akim Demaille  <akim@epita.fr>
6761         * tests/mktests.sh: Don't output banners for empty test files.
6763 2001-09-13  Akim Demaille  <akim@epita.fr>
6765         Test suites can be run independently of configure.
6767         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
6768         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
6769         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
6770         ECHO_N etc.
6771         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
6772         and at_c.
6773         * lib/autotest/general.m4: Use ECHO_*.
6775 2001-09-13  Akim Demaille  <akim@epita.fr>
6777         * bin/ifnames.in: Rewrite in Perl.
6778         * configure.ac: Don't look for AWK.
6779         * tests/tools.at (AWK portability): Remove.
6780         (Syntax of the shell scripts): Don't check ifnames.
6781         (AT_CHECK_PERL_SYNTAX): New.
6782         (Syntax of the Perl scripts): Check ifnames.
6783         * tests/ifnames: New.
6785 2001-09-13  Akim Demaille  <akim@epita.fr>
6787         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
6788         test group titles.
6789         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
6790         Remove all the other keywords.
6792 2001-09-10  Akim Demaille  <akim@epita.fr>
6794         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
6795         SETUP: no longer used.
6796         Support -k, --keywords.
6797         <at_help>: Be `no', `short', or `long'.
6798         <at_help_all>: New variable.
6799         (AT_KEYWORDS): New.
6800         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
6801         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
6802         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
6803         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
6804         No longer fill the HELP diversion.
6805         (AT_CLEANUP): Use them.
6806         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
6807         (m4_list_append): Remove.
6809         Spread a few keywords in the Autoconf test suite.
6811 2001-09-10  Akim Demaille  <akim@epita.fr>
6813         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
6814         PATH_SEPARATOR, let M4sh compute it.
6815         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
6816         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
6817         Move to...
6818         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
6819         Simplify when the path is not a literal.
6820         (AS_UNAME): Use it to report PATH.
6821         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
6822         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
6823         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
6824         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
6825         normalize the path, and to look for victims.
6826         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
6827         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
6829 2001-09-07  Akim Demaille  <akim@epita.fr>
6831         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
6832         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
6833         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
6834         related variables into `at_package_*'.
6835         * lib/autotest/general.m4 (AT_VICTIMS): New.
6836         (AT_INIT): Adjust for stand-alone/embedded test suites.
6837         (AS_MESSAGE_LOG_FD): Define and use it.
6838         * tests/suite.at (AT_VICTIMS): Use it.
6839         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
6840         at_version.
6842 2001-09-07  Akim Demaille  <akim@epita.fr>
6844         Move toward possibly stand-alone test suites.
6846         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
6847         in addition, it introduces useless differences in logs.
6848         (AT_INIT): Let atconfig and atlocal be both optional.
6849         Adjust PATH computation.
6850         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
6852 2001-09-07  Akim Demaille  <akim@epita.fr>
6854         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
6855         m4sugar/version.m4.
6857 2001-09-05  Akim Demaille  <akim@epita.fr>
6859         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
6860         to avoid GCC warnings.
6861         From Uwe Seimet.
6863 2001-09-05  Akim Demaille  <akim@epita.fr>
6865         * bin/autom4te.in: --language is -l, not -s.
6867 2001-09-05  Akim Demaille  <akim@epita.fr>
6869         Be ready to handle filenames as stupid as `dnl.at', for if even
6870         the maintainer is dumb enough to do that...
6872         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
6873         excellence in M4 quotation: consider `__file__' is active.
6875         And BTW, when invoking m4, pass the --include in the right order:
6876         the wrong one.
6878         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
6879         4m.
6881 2001-09-05  Akim Demaille  <akim@epita.fr>
6883         * lib/Autom4te/XFile.pm: New lib file.
6884         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
6885         * bin/autoheader.in: Use it.
6887 2001-09-05  Akim Demaille  <akim@epita.fr>
6889         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
6890         defined.
6892 2001-09-05  Akim Demaille  <akim@epita.fr>
6894         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
6895         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
6897         * bin/autoscan.in: Use `getopt' and `find_files' etc.
6898         Add -I, --include support.
6899         * doc/autoconf.texi (autoscan Invocation): Adjust.
6901 2001-09-05  Akim Demaille  <akim@epita.fr>
6903         CVS GNU M4 doesn't like `undefine(undefined)'.
6905         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
6906         New, extracted from main.
6907         Use IO::File wherever possible.
6908         (input.m4): Be constant, use -I instead of hard coding $tmp.
6909         Therefore be a quoted heredoc.
6910         Don't invoke `_au_disable', since ac was not loaded, but just
6911         `unm4.m4'.
6913 2001-08-31  Akim Demaille  <akim@epita.fr>
6915         Version 2.52d.
6917 2001-08-31  Akim Demaille  <akim@epita.fr>
6919         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
6920         previous patch.
6921         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
6923 2001-08-31  Akim Demaille  <akim@epita.fr>
6925         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
6926         serious problems handling heredocs in heredocs.
6927         Reported by Nicolas Joly.
6929 2001-08-31  Akim Demaille  <akim@epita.fr>
6931         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
6932         (Making testsuite Scripts): Update.
6934 2001-08-31  Akim Demaille  <akim@epita.fr>
6936         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
6938 2001-08-31  Akim Demaille  <akim@epita.fr>
6940         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
6941         (testsuite Scripts): There is no such thing as `atconfig.in'.
6942         And actually one diagram is missing: test suite runtime.
6944 2001-08-31  Akim Demaille  <akim@epita.fr>
6946         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
6947         inverse order.
6949 2001-08-31  Akim Demaille  <akim@epita.fr>
6951         * bin/autoupdate.in (@include): `installcheck' revealed the path
6952         to m4sugar was lacking!
6954 2001-08-31  Akim Demaille  <akim@epita.fr>
6956         * man/Makefile.am (.x.1): We really have to pass
6957         autom4te_perllibdir.
6959 2001-08-31  Akim Demaille  <akim@epita.fr>
6961         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
6962         debug scripts, in particular passing explicitly listed tests to
6963         run is stupid.
6965 2001-08-31  Akim Demaille  <akim@epita.fr>
6967         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
6968         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
6969         Use directly autom4te, not autoconf.
6970         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
6972 2001-08-31  Akim Demaille  <akim@epita.fr>
6974         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
6975         * bin/autoheader.in (%symbol): Strip arguments of macros.
6977 2001-08-31  Akim Demaille  <akim@epita.fr>
6979         * doc/autoconf.texi: Catch up -I, --include changes.
6981 2001-08-31  Akim Demaille  <akim@epita.fr>
6983         * bin/autom4te.in (&parse_args): Die on unknown languages.
6984         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
6985         need for autoconf.
6986         Promote --include over --macrodir and other obsolete options.
6988 2001-08-31  Akim Demaille  <akim@epita.fr>
6990         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
6991         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
6992         * bin/autom4te.in ($autoconf): Pass --force.
6993         `print $out' doesn't print `$_' but `$out'.
6994         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
6995         (autoheader): Pass --force since the test suite goes too fast for
6996         the time stamps.
6997         Adjust to the new autoheader messages.
6999 2001-08-31  Akim Demaille  <akim@epita.fr>
7001         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
7002         Check the completeness of the #template.
7003         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
7004         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
7005         invocation.
7007 2001-08-31  Akim Demaille  <akim@epita.fr>
7009         * lib/Autom4te/General.pm (&find_file, &update_file): New.
7010         * bin/autoupdate.in, bin/autoheader.in: Adjust.
7011         Drop AC_MACRODIR dead for real.
7012         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
7013         `autoheader: `config.hin' is created'.
7014         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
7016 2001-08-31  Akim Demaille  <akim@epita.fr>
7018         * bin/autoheader.in: Rewrite in Perl.
7019         * tests/autoheader: Adjust.
7021 2001-08-31  Akim Demaille  <akim@epita.fr>
7023         * bin/autoconf.in (--include, -I): New option.
7024         Map --localdir, --autoconf-dir onto it.
7025         Forward autom4te's options instead of interpreting them.
7026         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
7027         There is no such envvar since the inception of autom4te.cfg.
7028         * bin/autom4te.in (&parse_args): Uniquify `@include'.
7029         * bin/autoupdate.in: Adjust, and perform more control.
7030         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
7031         * tests/autoconf: Dittowise.
7033 2001-08-31  Akim Demaille  <akim@epita.fr>
7035         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
7036         * bin/autom4te.in (&find_file): Support `FILE?' standing for
7037         optionally `FILE'.
7038         Use -e, not -f, since /dev/null for instance is OK.
7039         (&parse_args): Adjust.
7040         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
7042 2001-08-31  Akim Demaille  <akim@epita.fr>
7044         * configure.ac: Also find tested executables in bin.
7045         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
7046         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
7047         installed peer executables, only PATH is allowed to resolve it.
7048         Pass `autoconf_dir' via options, not via invisible envvars.
7049         * lib/Autom4te/General.pm (&find_peer): Remove.
7050         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
7051         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
7052         * man/Makefile.am: Let help2man rely on PATH instead of trying to
7053         find the executables for it.
7054         * tests/Makefile.am: Major cleanup.  Too lazy to document...
7055         * tests/atlocal.in: Remove all the obscure envvar manipulations.
7056         We only need PERL.
7057         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
7058         indeed related to running the test suite, while passing
7059         --autoconf-dir and others is related to running non installed
7060         Autoconf executables.  So don't do that, leave it to...
7061         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
7062         * tests/autoscan: New.
7063         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
7064         refer to library files: rely on --language.
7066 2001-08-29  Akim Demaille  <akim@epita.fr>
7068         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
7069         s/--set/--language/.
7071 2001-08-29  Akim Demaille  <akim@epita.fr>
7073         * doc/autoconf.texi: Strip the @nodes.
7074         Suggested by Paul Eggert.
7075         (Initializing configure): Typo.
7077 2001-08-29  Akim Demaille  <akim@epita.fr>
7079         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
7080         Suggested by Paul Eggert.
7082 2001-08-29  Akim Demaille  <akim@epita.fr>
7084         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
7085         download in a tmp dir.
7087 2001-08-29  Akim Demaille  <akim@epita.fr>
7089         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
7090         case insensitive OSes out there :(
7091         From Tim Van Holder.
7093 2001-08-29  Akim Demaille  <akim@epita.fr>
7095         * lib/autom4te.in: New.
7096         * lib/Makefile.am (edit, autom4te.cfg): New.
7097         * bin/autom4te.in (BEGIN): Simplify.
7098         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
7099         (&load_configuration): New.  Use it.
7100         (&parse_args): Support --mode, --set, and --melt.
7101         * bin/autoconf.in: Simplify and adjust.
7102         * tests/Makefile.am (AUTOMAKE): Use --set.
7103         * tests/atlocal.in: Adjust.
7104         * BUGS: distcheck and check are weak.
7106 2001-08-29  Akim Demaille  <akim@epita.fr>
7108         * lib/autotest/general.m4: Use
7109                 foo=`(command) 2>/dev/null`
7110         not
7111                 foo=`command` 2>/dev/null
7112         (at-devnull): Rename as...
7113         (AT-devnull): this.
7114         (--clean): Remove AT-* files too.
7115         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
7116         Reported by Nicolas Joly.
7118 2001-08-28  Akim Demaille  <akim@epita.fr>
7120         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
7121         quotes inside single quotes.
7122         Reported by Nicolas Joly.
7124 2001-08-28  Kevin Ryde  <user42@zip.com.au>
7126         * doc/autoconf.texi (Function Portability): Mention C right shifts.
7128 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
7130         * lib/autotest/general.m4: Reword some messages.
7131         (AT_INIT): Check for the `times' builtin before using it.
7132         Support test ranges as arguments to the testsuite.
7133         Have -e imply -d as the help text suggested.
7135 2001-08-27  Akim Demaille  <akim@epita.fr>
7137         * Makefile.maint: Formatting changes.
7138         (do-po-update, po-update, cvs-update, update): New targets.
7139         (AMTAR): Remove.
7141 2001-08-27  Akim Demaille  <akim@epita.fr>
7143         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
7144         <at_cmd_line>: New.
7145         Pass it to debug-*.sh scripts.
7146         <AUTOTEST_PATH>: May contain absolute dir names.
7148 2001-08-27  Akim Demaille  <akim@epita.fr>
7150         * lib/autotest/general.m4 (AT_INIT): Log the command line.
7151         Support `VAR=VAL' as arguments.
7152         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
7153         may be set via the command line.
7155 2001-08-27  Akim Demaille  <akim@epita.fr>
7157         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
7158         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
7159         first the build dirs, then the src dirs.
7160         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
7162 2001-08-27  Akim Demaille  <akim@epita.fr>
7164         * lib/autotest/general.m4 (AT_INIT): Output the definition of
7165         at_data_files earlier.
7166         (--clean, -c): New option.
7167         * tests/Makefile.am: Use this option.
7169 2001-08-27  Akim Demaille  <akim@epita.fr>
7171         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
7172         `ac_top_builddir' to mimic Automake's vocabulary, which much more
7173         readable.
7174         Adjust callers.
7175         * doc/autoconf.texi (Configuration Actions): Document the vars
7176         available in commands.
7177         Emphasize the risks of collisions in init-cmds.
7179 2001-08-27  Akim Demaille  <akim@epita.fr>
7181         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
7182         (Initializing configure): this new node.
7184 2001-08-27  Akim Demaille  <akim@epita.fr>
7186         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
7188 2001-08-27  Akim Demaille  <akim@epita.fr>
7190         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
7191         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
7192         New file.
7193         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
7195 2001-08-27  Akim Demaille  <akim@epita.fr>
7197         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
7198         to...
7199         * lib/autoconf/autoheader.m4: this new file.
7200         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
7201         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
7202         Move to...
7203         * lib/autoconf/autoupdate.m4: this new file.
7205 2001-08-27  Akim Demaille  <akim@epita.fr>
7207         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
7208         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
7209         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
7210         -> ac_dir).
7211         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
7212         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
7214 2001-08-27  Akim Demaille  <akim@epita.fr>
7216         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
7217         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
7218         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
7219         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
7220         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
7221         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
7222         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
7223         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
7224         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
7225         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
7226         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
7227         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
7228         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
7229         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
7230         (_AC_OUTPUT_SUBDIRS): Move to...
7231         * lib/autoconf/status.m4: this new file.
7232         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
7233         * tests/Makefile.am, tests/suite.at: Adjust.
7235 2001-08-27  Akim Demaille  <akim@epita.fr>
7237         Automake 1.5.
7239         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
7240         (AMTAR): Help automake define it.
7241         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
7242         needed, 1.5 can have a macro and a target with the same name.
7243         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
7244         * m4/strip.m4: New.
7245         * m4/init.m4, m4/sanity.m4: Update.
7246         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
7247         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
7248         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
7249         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
7251 2001-08-27  Akim Demaille  <akim@epita.fr>
7253         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
7255         * lib/autoconf/version.in: Remove.
7256         * lib/m4sugar/version.in: New.
7257         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
7258         Adjust callers.
7259         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
7260         the name of the directory they're in, instead of the filename,
7261         since version.m4 is now in m4sugar, but m4_acversion must not be
7262         classified as an Autoconf macro.
7263         ($input_m4): Don't qualify the path to m4sugar.
7264         Rather, pass autoconf_dir to m4.
7265         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
7266         * tests/suite.at: Require 2.52c.
7268 2001-08-27  Akim Demaille  <akim@epita.fr>
7270         testsuite.log should include config.log.
7272         * lib/autotest/autotest.m4: New.
7273         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
7274         * tests/suite.at : Adjust.
7275         (AT_INIT): Log config.log.
7276         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
7277         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
7278         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
7279         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
7280         of config.log on traps.
7281         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
7282         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
7283         for config.status'.
7284         Open the log as soon as possible.
7285         Use the same log introduction as configure's.
7287 2001-08-22  Paul Eggert  <eggert@twinsun.com>
7289         * doc/autoconf.texi (Indices): New node.
7290         Move indices out of the top level menu and into this submenu.
7292 2001-08-22  Akim Demaille  <akim@epita.fr>
7294         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7295         AC_TRY_COMMAND.
7296         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
7298 2001-08-22  Akim Demaille  <akim@epita.fr>
7300         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
7301         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
7302         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
7303         * lib/autoconf/programs.m4: here.
7304         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
7305         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
7306         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
7307         * lib/autoconf/programs.m4: here.
7308         (_AC_DECL_YYTEXT): Rename as...
7309         (_AC_PROG_LEX_YYTEXT_DECL): this.
7310         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
7311         * tests/Makefile.am, tests/suite.am: Adjust.
7313 2001-08-22  Akim Demaille  <akim@epita.fr>
7315         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
7316         Move to...
7317         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
7318         here.
7319         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
7320         * lib/autoconf/functions.m4: here.
7321         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
7322         (AH_CHECK_LIB): Move to...
7323         * lib/autoconf/libs: this new file.
7324         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
7325         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
7326         * lib/autoconf/libs.m4: here.
7327         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
7329 2001-08-22  Akim Demaille  <akim@epita.fr>
7331         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
7332         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
7333         (AC_SITE_LOAD): Better logging of config.site.
7335 2001-08-20  Akim Demaille  <akim@epita.fr>
7337         * configure.ac (AT_CONFIG): Fix the path.
7338         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
7339         can be used.
7341 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
7343         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
7344         program with AC_LANG_PROGRAM before feeding it to
7345         AC_COMPILE_IFELSE.  Cleanup grep usage.
7347 2001-08-20  Akim Demaille  <akim@epita.fr>
7349         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
7350         * NEWS, README, README-alpha, TODO, tests/README: This package is
7351         `Autoconf', not `autoconf' (the executable).
7353 2001-08-20  Akim Demaille  <akim@epita.fr>
7355         Info readers seem to need `Index' in the index node title :(
7357         * doc/autoconf.texi: Reverse the 2001-08-15 change which
7358         simplified index node names.
7360 2001-08-20  Akim Demaille  <akim@epita.fr>
7362         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
7363         arguments are not literals.
7364         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
7365         Specify the output variables, and macros defined.
7367 2001-08-20  Akim Demaille  <akim@epita.fr>
7369         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
7370         (Examining Syntax) <AC_TRY_COMPILE>
7371         (Examining Libraries) <AC_TRY_LINK>
7372         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
7373         their arguments.
7374         Reported by Werner Lemberg.
7376 2001-08-20  Akim Demaille  <akim@epita.fr>
7378         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
7379         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
7380         Load atlocal late enough to dump it in the log.
7381         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
7383 2001-08-20  Akim Demaille  <akim@epita.fr>
7385         * tests/torture.at (Configuring subdirectories): New test.
7386         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
7387         looking for.
7388         * m4/atconfig.m4: Be sure the let $[0] be expandable.
7389         (top_srcdir): Fix its computation.
7391 2001-08-20  Akim Demaille  <akim@epita.fr>
7393         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
7394         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
7395         test suite lives.
7396         Create `atconfig' automagically.
7397         Configure atlocal.in if present.
7398         * tests/atconfig.in: Remove.
7399         * tests/atlocal.in: New.
7400         * tests/Makefile.am: Adjust.
7402 2001-08-20  Akim Demaille  <akim@epita.fr>
7404         Huh!?!?!  There are still some user EOF tags used, which prevents
7405         their use in AC_CONFIG_COMMANDS for instance...
7407         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
7408         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
7409         `_CSEOF', or `_ATEOF', as appropriate.
7410         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
7411         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
7413 2001-08-20  Akim Demaille  <akim@epita.fr>
7415         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
7416         * tests/semantics.at, tests/tools.at, tests/torture.at:
7417         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
7419 2001-08-20  Akim Demaille  <akim@epita.fr>
7421         Autotest invokes M4sh's initialization.
7423         * lib/autotest/general.m4: Adjust the diversion names.
7424         (AT_INIT): Run AS_INIT.
7425         Use the BINSH diversion to invoke /bin/sh.
7426         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
7427         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
7429 2001-08-20  Akim Demaille  <akim@epita.fr>
7431         Let M4sh have its own diversions.
7433         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
7434         (_m4_divert(NOTICE)): Rename as...
7435         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
7436         (_m4_divert(HEADER-COMMENT)): these.
7437         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
7438         (_m4_divert(NOTICE)): New, for Libtool.
7439         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
7440         long ago with `_m4_divert(GROW)'.
7441         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
7443 2001-08-20  Akim Demaille  <akim@epita.fr>
7445         * tests/base.at, tests/compile.at, tests/foreign.at,
7446         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7447         * tests/semantics.at, tests/suite.at, tests/tools.at,
7448         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
7450 2001-08-20  Akim Demaille  <akim@epita.fr>
7452         * bin/autom4te.in (handle_output): Handle @__@.
7454 2001-08-20  Akim Demaille  <akim@epita.fr>
7456         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
7457         * lib/autotest/general.m4: Adjust the license.
7459 2001-08-17  Paul Eggert  <eggert@twinsun.com>
7461         * doc/autoconf.texi (Function Portability): Mention snprintf,
7462         following up on a suggestion by Kevin Ryde.
7464 2001-08-17  Akim Demaille  <akim@epita.fr>
7466         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
7467         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
7469 2001-08-17  Akim Demaille  <akim@epita.fr>
7471         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
7472         `$0.log' as for projects where testsuite is in src, we'd have
7473         testsuite.log created in src.
7475 2001-08-17  Akim Demaille  <akim@epita.fr>
7477         * bin/autom4te.in (&parse_args): Recognize --normalize.
7479 2001-08-17  Akim Demaille  <akim@epita.fr>
7481         Start implementing the AC_CHECK_HEADER transition scheme.
7483         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
7484         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
7485         (AC_CHECK_HEADER): Use them.
7487 2001-08-17  Akim Demaille  <akim@epita.fr>
7489         * doc/autoconf.texi: Work around Texinfo buglets.
7490         (Transformation Rules): One example is enough, users are expected
7491         to have their brains on. And BTW, use DESTDIR.
7492         (dvar): New macro.  Use it.
7494 2001-08-17  Akim Demaille  <akim@epita.fr>
7496         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
7497         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
7498         looking for ChangeLogs.
7500 2001-08-17  Akim Demaille  <akim@epita.fr>
7502         * bin/autom4te.in: --normalize is a new option.
7503         * bin/autoconf.in: Use it.
7505 2001-08-17  Akim Demaille  <akim@epita.fr>
7507         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
7508         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
7510 2001-08-16  Paul Eggert  <eggert@twinsun.com>
7512         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
7513         start, not at end.
7515 2001-08-15  Akim Demaille  <akim@epita.fr>
7517         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
7518         Use it.
7520 2001-08-15  Akim Demaille  <akim@epita.fr>
7522         * doc/autoconf.texi (pr): New index.
7523         (prindex, findex): Use, merge, and output them.
7524         (Environment Variable Index, Output Variable Index)
7525         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
7526         (Autotest Macro Index): Rename as...
7527         (Environment Variables, Output Variables,Preprocessor Symbols)
7528         (Autoconf Macros, M4 Macros, Autotest Macros): these.
7529         * doc/install.texi: Use @command.
7530         (Environment Variables): Rename as...
7531         (Defining Variables): this.
7533 2001-08-15  Akim Demaille  <akim@epita.fr>
7535         * doc/autoconf.texi (Function Portability): sprintf's return
7536         value.
7537         From Kevin Ryde.
7539 2001-08-15  Akim Demaille  <akim@epita.fr>
7541         * Makefile.maint (CVS): New.
7542         (local-check): Run changelog-check. last.
7543         (alpha): Don't depend upon local-check, since...
7544         (cvs-dist): depends upon it.
7546 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
7548         * tests/Makefile.am: Use a clean-local rule to remove
7549         autom4te.cache (it's a directory, not a file.
7550         * Makefile.am: Ditto (but maintainer-clean-local).
7552 2001-08-15  Akim Demaille  <akim@epita.fr>
7554         * bin/autom4te.in (@m4_warning): New.
7555         (&handle_m4): Use it.
7556         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
7557         warnings are issued at each run.
7558         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
7559         is in the src tree.
7561 2001-08-15  Akim Demaille  <akim@epita.fr>
7563         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
7564         don't waste time running `autoupdate --version' works.
7565         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
7567 2001-08-13  Akim Demaille  <akim@epita.fr>
7569         * doc/autoconf.texi (ma): Rename this index as...
7570         (ac): this.
7572 2001-08-13  Akim Demaille  <akim@epita.fr>
7574         * Makefile.am: Remove dead code and dead comments.
7575         (pdf, html): New targets.
7576         * doc/autoconf.texi (Using Autotest): New chapter.
7577         * doc/Makefile.am (pdf): New targets.
7578         (CLEANFILES): Adjust.
7580 2001-08-13  Akim Demaille  <akim@epita.fr>
7582         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
7583         duration of the test suite.
7585 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
7587         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
7588         endianness for comparison instead of relying on AT_CHECK_ENV.
7590 2001-08-11  Paul Eggert  <eggert@twinsun.com>
7592         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
7593         to the INSTALL file.
7595 2001-08-11  Paul Eggert  <eggert@twinsun.com>
7597         * NEWS: The autoconf manual now is distributed under the terms
7598         of the GNU Free Documentation License.
7600         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
7601         Add an appendix "Copying This Manual" for the FDL.
7603         * doc/fdl.texi: New file, from
7604         <http://www.gnu.org/licenses/fdl.texi>.
7606         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
7608 2001-08-10  Paul Eggert  <eggert@twinsun.com>
7610         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
7611         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
7612         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
7613         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
7614         m4/sanity.m4, tests/README, tests/aclocal.m4,
7615         tests/atspecific.m4, tests/base.at, tests/compile.at,
7616         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
7617         tests/semantics.at, tests/suite.at, tests/tools.at,
7618         tests/torture.at: Add copyright notice.
7620         * tests/mktests.sh: Update year in copyright notice.
7622 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
7624         * tests/semantics.at (AC_C_BIGENDIAN): New test.
7626 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
7628         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
7629         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
7630         * doc/autoconf.texi (C Compiler Characteristics): Update
7631         documentation for AC_C_BIGENDIAN.
7633 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
7635         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
7636         magic values from an object file when cross-compiling.
7637         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
7639 2001-08-10  Akim Demaille  <akim@epita.fr>
7641         * bin/autom4te.in (&handle_output): Don't use `grep' with side
7642         effects.
7643         Suggested by Russ Allbery.
7645 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
7647         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
7648         current $prefix to the sub-configures.
7650 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
7652         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
7653         extension (needed on BeOS).  Reported by Guido van Rossum.
7655 2001-08-09  Akim Demaille  <akim@epita.fr>
7657         * bin/autom4te.in ($icache): Load it only if older than autom4te.
7659 2001-08-07  Akim Demaille  <akim@epita.fr>
7661         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
7662         removed.
7663         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
7664         No need to remove the files before and after the each test, before
7665         each test and at the end of the suite is enough.
7666         Display only the children `times', not the shell's.
7667         If the test failed or was skipped, at-times is not available.
7669 2001-08-07  Akim Demaille  <akim@epita.fr>
7671         Always produce testsuite.log, including when there are no
7672         failures.  This helps getting information on skipped tests, and
7673         duration of the tests.  Err, implement the latter btw.
7675         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
7676         Dump information on the first run of each test.
7677         (AT_CLEANUP): Create `at-times' containing the duration of the
7678         test group.
7680 2001-08-07  Akim Demaille  <akim@epita.fr>
7682         The use of `dumpstat' revealed that `len' was used although it
7683         should not.  m4_text_wrap was using it, but in the Autoconf world
7684         where it is legal.  Hence (i) test M4sh in its own world, not
7685         Autoconf's, and (ii), ahem, fix the bug :)
7687         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
7688         does not like `' instead of [].
7689         (AT_INIT): Forbid `^_?AT_'.
7690         And don't output such tokens.
7691         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
7692         `script.as', and `autom4te.cache'.
7693         Remove `empty' and `macro' which are no longer used.
7694         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
7695         * tests/m4sugar.at: Use it.
7696         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
7698 2001-08-07  Akim Demaille  <akim@epita.fr>
7700         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
7702 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
7704         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
7706 2001-08-04  Akim Demaille  <akim@epita.fr>
7708         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
7709         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
7710         AC_TRY_LINK.
7711         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
7712         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
7713         (AC_F77_MAIN): Likewise.
7715 2001-08-04  Akim Demaille  <akim@epita.fr>
7717         Don't rely on M4sugar outputting the patterns in files, since we
7718         might process the output _without_ running m4, hence without these
7719         files.
7721         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
7722         * bin/autom4te.in (@Request::includes): Remove, unused.
7723         (@Request::source): Rename as...
7724         (@Request::input): this.
7725         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
7726         (&handle_output): Fetch the patterns from the traces.
7727         `$forbidden' and `$allowed' are constant: use m//o.
7728         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
7729         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
7731 2001-08-04  Akim Demaille  <akim@epita.fr>
7733         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
7734         autoconf', i.e., in addition to caching traces, cache the output.
7736         * bin/autom4te.in (Request::cache): Rename as...
7737         (Request::id): this.
7738         ($cache, $icache, $tcache, $ocache): New.
7739         (&handle_m4): Save M4 output in the cache instead of $tmp.
7740         (&handle_output): Adjust.
7741         (&up_to_date_p): Check that the output cache is up to date too.
7742         (top level): Run `&handle_m4' iff force or the cache is invalid.
7743         Run `&handle_output' if the output cache is more recent.
7745 2001-08-04  Akim Demaille  <akim@epita.fr>
7747         * bin/autom4te.in ($force): New.
7748         (&parse_args, &print_usage): -f, --force is a new option.
7749         (&handle_output): CPP directives might have spaces after `#'.
7750         (&parse_args): The first file only can be frozen.
7752 2001-08-04  Akim Demaille  <akim@epita.fr>
7754         Don't let autom4te compute the `include' traces several times:
7755         first check that the trace cache file is up to date, and then
7756         compare its timestamp with that of the output.
7758         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
7759         the preamble.  Don't require 5.005 as Autom4te::General does it,
7760         and better yet (use `use', not `require'!).
7761         * lib/Autom4te/Struct.pm: Rename the last occurrences of
7762         Class::Struct as Autom4te::Struct.
7763         * lib/Autom4te/General.pm (File::stat): Use it.
7764         (&mtime): New, export it.
7765         * bin/autom4te.in: Use it.
7766         Declare `$req' is invalid if it is outdated.
7767         Don't declare it valid before saving it if something went wrong.
7769 2001-08-04  Akim Demaille  <akim@epita.fr>
7771         Autom4te shall not encode Autoconf data, and preselecting traces
7772         must be proposed to the users.
7774         * bin/autom4te.in (@required_trace): Remove.
7775         (@preselect): New.
7776         (&parse_args, &print_usage): -p, --preselect is a new option.
7777         (&up_to_date_p): Adjust.
7778         * bin/autoconf.in: Preselect some Autoconf macros.
7780 2001-08-04  Akim Demaille  <akim@epita.fr>
7782         * tests/tools.at (autoconf --trace: user macros): Check traces on
7783         macros invoked without arguments, and macros invoked with multiple
7784         lines arguments.
7786 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
7788         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
7789         arguments.
7791 2001-08-03  Akim Demaille  <akim@epita.fr>
7793         * bin/autoconf.in ($@): Work around the usual sh bug.
7794         From Nicolas Joly.
7796 2001-08-03  Akim Demaille  <akim@epita.fr>
7798         Clean up the handling of the M4 builtins tracing exception.
7800         * bin/autom4te.in (Request::request): Don't complete M4 builtins
7801         trace requests.
7802         (@m4_builtins): Rename as...
7803         (@m4_builtin): this.
7804         (%m4_builtin_alternate_name): New.
7805         (&parse_args): Complete the trace requests with alternate names.
7806         (&handle_traces): Hence no longer do it here.
7807         (&trace_requests): Remove, unused.
7809 2001-08-03  Akim Demaille  <akim@epita.fr>
7811         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
7812         m4_if, and m4_wrap.
7814 2001-08-03  Akim Demaille  <akim@epita.fr>
7816         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
7817         (m4_divert_pop): Dump the whole diversion stack when a diversion
7818         mismatch happens.
7819         * bin/autom4te.in (&handle_output): Remember of the first
7820         occurrence of a possibly undefined macro, not the last.
7821         Complain about the possibly undefined macros in the same order as
7822         the appear in the output.
7823         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
7824         * tests/tools.at (autoconf: forbidden tokens, basic)
7825         (autoconf: forbidden tokens, exceptions): No longer sort
7826         autoconf's stderr, as it is now deterministic.
7827         Check that `dnl' is caught.
7829 2001-08-01  Akim Demaille  <akim@epita.fr>
7831         * configure.ac: Bump to 2.52c.
7833 2001-08-01  Akim Demaille  <akim@epita.fr>
7835         Version 2.52b.
7837         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
7839 2001-08-01  Akim Demaille  <akim@epita.fr>
7841         Version 2.52a.
7843 2001-08-01  Akim Demaille  <akim@epita.fr>
7845         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
7846         `die'.
7847         (&END): New.
7848         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
7849         `END', as `Autom4te::General::END' will be triggered.
7850         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
7851         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
7852         system to run `mv', `rm', and `cmp'.
7854 2001-08-01  Akim Demaille  <akim@epita.fr>
7856         * lib/Autom4te/General.pm (&unique): New.
7857         * bin/autoscan.in (&output): Use it to issue trace requests once.
7859 2001-08-01  Akim Demaille  <akim@epita.fr>
7861         * lib/Autom4te/General.pm: New.
7862         * bin/autom4te.in (Autom4te::General): Use it.
7863         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
7864         (&find_configure_ac, &find_slave): Remove.
7865         * bin/autoscan.in: Likewise.
7866         * bin/autoupdate.in: Likewise.
7868 2001-08-01  Akim Demaille  <akim@epita.fr>
7870         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
7871         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
7872         * bin: here, new directory.
7873         * lib/Autoconf: Rename as...
7874         * lib/Autom4te: this, to please case insensitive junkie OSes.
7876 2001-08-01  Akim Demaille  <akim@epita.fr>
7878         * autom4te.in ($m4): Handle the --nesting-limit.
7879         * autoconf.in (M4): Remove.
7881 2001-08-01  Akim Demaille  <akim@epita.fr>
7883         * autoconf.in ($AWK): Remove, no longer used.
7884         * test/tools.at: Use AT_CHECK_AUTOCONF.
7885         (AWK portability): Remove, for autoconf no longer uses AWK.
7886         (Syntax of the Perl scripts): New.
7887         * configure.ac: autoconf no longer needs an AWK with a good
7888         regexp engine.
7889         Use a static test on AC_PACKAGE_VERSION.
7890         * autom4te.in (&up_to_date_p): Output depends on the arguments.
7891         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
7892         * tests/atconfig.in (PERL): New.
7894 2001-08-01  Akim Demaille  <akim@epita.fr>
7896         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
7897         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
7898         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
7899         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
7900         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
7901         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
7902         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
7903         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
7904         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
7905         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
7906         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
7907         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
7908         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
7909         * lib/autoconf/c.m4: here, new file.
7911         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
7912         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
7913         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
7914         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
7915         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
7916         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
7917         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
7918         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
7919         (AC_F77_FUNC): Move to...
7920         * lib/autoconf/fortran.m4: here, new file.
7922 2001-08-01  Akim Demaille  <akim@epita.fr>
7924         * acfunctions.m4: Rename as...
7925         * lib/autoconf/functions.m4: this.
7926         * acgeneral.m4: Rename as...
7927         * lib/autoconf/general.m4: this.
7928         * acheaders.m4: Rename as...
7929         * lib/autoconf/headers.m4: this.
7930         * aclang.m4: Rename as...
7931         * lib/autoconf/lang.m4: this.
7932         * acoldnames.m4: Rename as...
7933         * lib/autoconf/oldnames.m4: this.
7934         * acspecific.m4: Rename as...
7935         * lib/autoconf/specific.m4: this.
7936         * actypes.m4: Rename as...
7937         * lib/autoconf/types.m4: this.
7938         * autoconf.m4: Rename as...
7939         * lib/autoconf/autoconf.m4: this.
7941         * m4sugar.m4: Rename as...
7942         * lib/m4sugar/m4sugar.m4: this.
7943         * m4sh.m4: Rename as...
7944         * lib/m4sugar/m4sh.m4: this.
7946         * tests/atgeneral.m4: Rename as...
7947         * lib/autotest/general.m4: this.
7949         * acfunctions: Rename as...
7950         * lib/autoscan/functions: this.
7951         * acheaders: Rename as...
7952         * lib/autoscan/headers: this.
7953         * acidentifiers: Rename as...
7954         * lib/autoscan/identifiers: this.
7955         * aclibraries: Rename as...
7956         * lib/autoscan/libraries: this.
7957         * acmakevars: Rename as...
7958         * lib/autoscan/makevars: this.
7959         * acprograms: Rename as...
7960         * lib/autoscan/programs: this.
7962 2001-08-01  Akim Demaille  <akim@epita.fr>
7964         * doc/autoconf.texi: Moving/deleting open files is not portable.
7965         Portability issues for `.' (source), and more information about sed.
7967 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
7969         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
7970         which has a special meaning and is not a reference to libibmil.a.
7971         Reported by Matteo Frigo.
7973 2001-07-25  Pavel Roskin  <proski@gnu.org>
7975         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
7976         output.
7978 2001-07-25  Akim Demaille  <akim@epita.fr>
7980         * autoconf.in: Try to define the variables before using them.
7981         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
7982         instead of `$perllibdir'.
7983         * tests/atconfig.in ($autom4te_perllibdir): Export it.
7985 2001-07-25  Akim Demaille  <akim@epita.fr>
7987         * autoconf.in (ac_LF_and_DOT): Remove, unused.
7989 2001-07-24  Akim Demaille  <akim@epita.fr>
7991         Let autoconf use autom4te for traces.
7993         * autoconf.in ($task, task trace): Remove, merely pass --trace to
7994         autom4te.
7995         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
7996         (Because I found no way for autom4te to accept `-').
7997         * autom4te.in (&Request::request): Beware of M4 builtins.
7998         (END): Don't try to remove the content of an empty dir.
7999         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
8000         (&handle_output): Set a default value to `$forbidden'.
8001         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
8002         ($autoconf): Pass --debug and --verbose.
8003         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
8004         cache.
8006 2001-07-24  Akim Demaille  <akim@epita.fr>
8008         Let autoconf use autom4te to create configure.
8010         * autoconf.in ($automate): New var.
8011         (task script): Use autom4te.
8012         * autom4te.in (File::Spec): Use it.
8013         (&find_file): New.
8014         (&parse_args): --warning is -W, not -w.
8015         Find the top level files.
8016         (&handle_m4): Pass the warnings flags.
8017         Don't report verbosely m4's failures, unless requested.
8018         (&handle_output): Don't complain for forbidden tokens in comments.
8019         Be sure to report all the forbidden tokens within a single line.
8020         (&trace_format_to_m4): Preserve `$_'.
8021         (&handle_traces): Sort the output macros.
8022         (&up_to_date_p): Find the files before trying to get its time stamp.
8024 2001-07-24  Akim Demaille  <akim@epita.fr>
8026         * Makefile.am: Ship, build and install Autom4te.
8027         (SUBDIRS): Add lib.
8028         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
8029         * configure.in: Require Perl.
8030         * man/autom4te.in: New.
8032 2001-07-19  Paul Eggert  <eggert@twinsun.com>
8034         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
8035         example, rather than (exit 1); exit (which isn't portable).
8037 2001-07-18  Akim Demaille  <akim@epita.fr>
8039         Version 2.52.
8041 2001-07-18  Akim Demaille  <akim@epita.fr>
8043         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
8044         was run, while they are needed also when it is expanded.
8045         Reported by Nicolas Joly.
8047         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
8048         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
8049         AC_F77_DUMMY_MAIN being expanded.
8051 2001-07-18  Akim Demaille  <akim@epita.fr>
8053         * configure.in: Bump to 2.51a.
8055 2001-07-17  Akim Demaille  <akim@epita.fr>
8057         Version 2.51.
8059 2001-07-17  Akim Demaille  <akim@epita.fr>
8061         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
8062         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
8064 2001-07-17  Akim Demaille  <akim@epita.fr>
8066         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
8067         used.  Well, then use the prototypes when you can, and runtime as
8068         a last resort.
8069         Reported by Artur Frysiak
8071         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
8072         (AC_FUNC_GETPGRP): Use it.
8073         First try to compile with 0-ary or 1-ary calls.
8075 2001-07-17  Akim Demaille  <akim@epita.fr>
8077         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
8078         replacement type.
8079         From Paul Eggert.
8081 2001-07-17  Akim Demaille  <akim@epita.fr>
8083         * Makefile.maint: Sync. with cppi 1.10.
8085 2001-07-17  Akim Demaille  <akim@epita.fr>
8087         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
8088         AC_F77_DUMMY_MAIN has been run.
8089         From Pavel Roskin and Steven G. Johnson.
8091 2001-07-17  Akim Demaille  <akim@epita.fr>
8093         * configure.in: Rename as...
8094         * configure.ac: this.
8096 2001-07-17  Akim Demaille  <akim@epita.fr>
8098         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
8099         rules.
8100         From Marc Espie.
8101         * Makefile.maint (release-archive-dir): Rename as...
8102         (release_archive_dir): this, so that it can be specialized in
8103         Makefile.
8105 2001-07-14  Akim Demaille  <akim@epita.fr>
8107         * configure.in: Bump to 2.50d.
8109 2001-07-14  Akim Demaille  <akim@epita.fr>
8111         Version 2.50c.
8112         * Makefile.maint (alpha): Typo.
8114 2001-07-14  Akim Demaille  <akim@epita.fr>
8116         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
8118 2001-07-14  Akim Demaille  <akim@epita.fr>
8120         * config/config.guess, config/config.sub, config/texinfo.tex
8121         * doc/standards.texi, doc/make-stds.texi: Update.
8123 2001-07-14  Akim Demaille  <akim@epita.fr>
8125         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
8127 2001-07-14  Akim Demaille  <akim@epita.fr>
8129         * Makefile.maint (maintainer-check): Rename as...
8130         (maintainer-distcheck): this.
8131         (changelog-check, static-check): New.
8132         Use them.
8134 2001-07-14  Kevin Ryde  <user42@zip.com.au>
8136         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
8137         for CXX is g++, not gcc.
8139 2001-07-14  Akim Demaille  <akim@epita.fr>
8141         * doc/autoconf.texi (Files): New subsection.
8143 2001-07-14  Akim Demaille  <akim@epita.fr>
8145         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
8146         of...
8147         (Generic Compiler Characteristics): this.
8148         (C++ Compiler): New subsection.
8150 2001-07-14  Akim Demaille  <akim@epita.fr>
8152         * autoscan.in: Use IO::File.
8153         Adjust all the routines to use it.
8154         ($log): New file (autoscan.log).
8155         (output): Dump detailed logs into $log, and a shortened version to
8156         stderr.
8157         (&scan_makefile): Refine the regexp catching tokens in the code.
8158         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
8159         and the `configure.ac' checking feature.
8161 2001-07-12  Akim Demaille  <akim@epita.fr>
8163         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
8164         Reported by Michael Elizabeth Chastain.
8166         * autoconf.in: Refuse such AWK.
8167         * configure.in: Likewise.
8168         * Makefile.am (acversion.m4): Do not use move-if-change this file
8169         has dependencies.
8170         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
8172 2001-07-10  Jens Petersen  <petersen@redhat.com>
8174         * autoscan.in (&scan_makefile): Improve programs regexp to parse
8175         things like "g++", "file.c" and "some-conf" as tokens.
8176         (&scan_file): Match C++ files extensions.
8177         If the filename extension is C++ then ask for c++.
8179 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
8181         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
8182         AC_TRY_LINK_FUNC, to check whether defining a dummy
8183         main-like routine is needed for linking with F77 libs.
8185 2001-07-05  Pavel Roskin  <proski@gnu.org>
8187         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
8188         after using break.
8189         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
8190         linking.
8192 2001-07-05  Akim Demaille  <akim@epita.fr>
8194         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
8195         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
8196         Makes' lives.
8197         Reported by Nicolas Joly.
8199 2001-07-04  Akim Demaille  <akim@epita.fr>
8201         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
8202         up.
8203         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
8204         warnings from compilers.
8205         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
8206         for all the compilers, not only GNU.  Hence move from here...
8207         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
8209 2001-07-04  Akim Demaille  <akim@epita.fr>
8211         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
8212         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
8213         AC_COMPILE_IFELSE.
8215 2001-07-04  Akim Demaille  <akim@epita.fr>
8217         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
8218         the ``strings.h'' change claimed below.
8220 2001-07-04  Akim Demaille  <akim@epita.fr>
8222         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
8224 2001-07-04  Akim Demaille  <akim@epita.fr>
8226         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8227         strings.h if usable with string.h.
8228         Suggested by Paul Eggert.
8230 2001-07-04  Akim Demaille  <akim@epita.fr>
8232         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
8233         From Jens Petersen.
8235 2001-07-03  Akim Demaille  <akim@epita.fr>
8237         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
8238         etc. in the log.
8240 2001-07-03  Akim Demaille  <akim@epita.fr>
8242         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
8243         compiler, not the preprocessor.
8244         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
8245         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
8246         the right thing.
8247         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
8248         earlier if there are.
8250 2001-07-03  Akim Demaille  <akim@epita.fr>
8252         * autoscan.in ($initfile): Remove.
8253         (&find_file): Rename as...
8254         (&scan_file): this.
8255         Immediately scan the current file, instead of gathering them, and
8256         later having them handled by &scan_files.
8257         (&scan_files): Merely invoke Find::File.
8258         Adjust.
8260 2001-07-02  Akim Demaille  <akim@epita.fr>
8262         * autoscan.in: Formatting changes, matching the invocation order.
8263         (File::Find): Use it instead of Perl 4's `find.pl'.
8264         (&wanted): Rename as...
8265         (&find_file): this.
8267 2001-07-01  Pavel Roskin  <proski@gnu.org>
8269         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
8270         break in the argument to AC_TRY_LINK_FUNC.
8271         (AC_F77_MAIN): Remove conftest* after using break in the
8272         argument to AC_TRY_LINK.
8274 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
8276         Add alternate 'main' routine detection for linking C/C++ with Fortran,
8277         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
8279         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
8280         dummy alternate main is required even if the user provides her own
8281         'main'.
8282         (AC_F77_MAIN): New macro to detect whether it is possible to
8283         provide an alternate 'main' function name, using the 'main' from
8284         the Fortran libraries.
8285         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
8286         cross-language link tests can be performed successfully.
8287         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
8288         after $LIBS, for consistency; this should be the general rule since
8289         the user may want to link to Fortran libraries that require $FLIBS.
8290         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
8292 2001-06-29  Pavel Roskin  <proski@gnu.org>
8294         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
8295         at-stdout and at-stderr instead of removing the newline
8296         from the echo output, which is not guaranteed to work.
8298 2001-06-28  Jens Petersen  <petersen@redhat.com>
8300         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
8301         confdefs.h when non-zero.
8303 2001-06-28  Akim Demaille  <akim@epita.fr>
8305         * configure.in: Bump to 2.50c.
8307 2001-06-26  Akim Demaille  <akim@epita.fr>
8309         Version 2.50b.
8311 2001-06-26  Akim Demaille  <akim@epita.fr>
8313         Version 2.50a.
8315 2001-06-25  Pavel Roskin  <proski@gnu.org>
8317         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
8318         argument, AUTOCONF-FLAGS.
8319         * tests/mktests.sh (update_exclude_list): Add
8320         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
8321         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
8322         AC_FUNC_WAIT3 with "-W no-obsolete".
8324 2001-06-25  Akim Demaille  <akim@epita.fr>
8326         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
8328 2001-06-25  Akim Demaille  <akim@epita.fr>
8330         * autoscan.in (%macro): Now maps from word to list of macros.
8331         (&init_tables): Die when a word which is already handled by
8332         explicit macros is mapped to the default macro.
8333         (&print_unique): Remove, inlined in...
8334         (&output_kind): here.
8335         (File::Basename): Use it.
8336         (&output): Sort the CONFIG_FILES.
8337         * acheaders: Normalize.
8338         * acfunctions: Likewise.
8340 2001-06-25  Akim Demaille  <akim@epita.fr>
8342         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
8343         characteristics in the logs.
8344         Suggested by Mo DeJong.
8346 2001-06-24  Akim Demaille  <akim@epita.fr>
8348         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
8349         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
8350         * doc/autoconf.texi (Autoconf 2.13): New section.
8352 2001-06-24  Akim Demaille  <akim@epita.fr>
8354         * autoconf.in (Task traces): Separate the error messages from the
8355         traces to improve robustness.
8357 2001-06-23  Akim Demaille  <akim@epita.fr>
8359         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
8360         three as failures are unlikely, and speed matters.
8362 2001-06-23  Akim Demaille  <akim@epita.fr>
8364         * doc/autoconf.texi (Redefined M4 Macros): New.
8366 2001-06-23  Akim Demaille  <akim@epita.fr>
8368         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
8369         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
8370         5.3.
8372 2001-06-23  Paolo Bonzini <bonzini@gnu.org>
8374         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
8375         config.status targets to after the evaluation of the INIT-CMDS.
8376         Double quote config.status targets (used to be single quoted).
8378 2001-06-23  Akim Demaille  <akim@epita.fr>
8380         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
8381         Check the content of the created file.
8382         Check the ./config.status command line invocation.
8384 2001-06-23  Akim Demaille  <akim@epita.fr>
8386         * tests/foreign.at (Libtool): Reject prehistoric versions.
8388 2001-06-23  Akim Demaille  <akim@epita.fr>
8390         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
8391         preexisting files matching a.*.
8393 2001-06-23  Akim Demaille  <akim@epita.fr>
8395         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
8396         stderr.
8397         * doc/autoconf.texi (AC_ARG_VAR): Update.
8399 2001-06-21  Akim Demaille  <akim@epita.fr>
8401         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
8402         precious variables have changed.
8403         * tests/torture.at (AC_ARG_VAR): Adjust.
8405 2001-06-21  Akim Demaille  <akim@epita.fr>
8407         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
8408         but some sed choke on multiple `;', and other tools (e.g.,
8409         Automake), include the separator themselves.
8411         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
8413 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
8415         * doc/autoconf.texi (Functions Portability): Rename as...
8416         (Function Portability): this.
8417         (Function Portability): Document potential problems with unlink().
8419 2001-06-19  Paul Eggert  <eggert@twinsun.com>
8421         * NEWS, doc/autoconf.texi: Document quadrigraphs.
8423 2001-06-18  Akim Demaille  <akim@epita.fr>
8425         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
8427 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
8429         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
8430         (_AC_FUNC_VFORK): this.
8431         Remove AC_DEFINEs and don't guess cross-compilation values.
8432         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
8433         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
8434         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
8435         vfork doesn't work.
8436         Guess values if cross-compiling, but warn.
8437         * acfunctions: Add AC_FUNC_FORK.
8438         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
8439         and vfork appropriately.
8441 2001-06-18  Akim Demaille  <akim@epita.fr>
8443         * doc/autoconf.texi (Functions Portability): New section.
8445 2001-06-18  Akim Demaille  <akim@epita.fr>
8447         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
8448         in $M4.
8449         Suggested by Andreas Schwab.
8451 2001-06-18  Akim Demaille  <akim@epita.fr>
8453         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
8454         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
8455         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
8456         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
8457         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
8458         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
8459         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
8460         the converse).
8462 2001-06-18  Akim Demaille  <akim@epita.fr>
8464         * doc/autoconf.texi (ms): New index.
8465         (Macro Index): Rename as...
8466         (Autoconf Macro Index): this.
8467         (M4 Macro Index): New appendix.
8468         (Programming in M4): New chapter.
8469         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
8470         (Quoting): Rename as...
8471         (M$ Quotation): this.
8472         Be part of `Programming in M4).
8474 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
8476         * tests/torture.at (AC_ARG_VAR): Set variables and export them
8477         in separate statements for compatibility with Tru64 v5.1.
8479 2001-06-17  Akim Demaille  <akim@epita.fr>
8481         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
8482         current values of the precious variables, not the previously
8483         cached values.
8484         Pass precious variables which are set to config.status.
8485         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
8486         * tests/torture.at (AC_ARG_VAR): New.
8488 2001-06-15  Paul Eggert  <eggert@twinsun.com>
8490         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
8491         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
8492         and explain why and how to replace them.
8493         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
8494         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
8496 2001-06-15  Akim Demaille  <akim@epita.fr>
8498         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
8499         Reported by Bruno Haible.
8501         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
8502          (_AC_ARG_VAR_PRECIOUS): to here.
8504 2001-06-15  Pavel Roskin  <proski@gnu.org>
8506         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
8507         an unused pointer use cast to this type and `if' statement to
8508         avoid warnings from the compiler.
8509         (AC_HEADER_TIME): Likewise.
8510         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
8511         in `if' statement to avoid warnings from the compiler. Declare
8512         ac_aggr static to avoid the need to initialize it.
8514 2001-06-14  Akim Demaille  <akim@epita.fr>
8516         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
8517         Macros'.
8519 2001-06-13  Akim Demaille  <akim@epita.fr>
8521         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
8522         Suggested by Alexander Mai.
8524 2001-06-13  Akim Demaille  <akim@epita.fr>
8526         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
8527         sys/types.h and sys/stat.h, and check for them.
8529 2001-06-13  Akim Demaille  <akim@epita.fr>
8531         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
8532         INCLUDES.
8534 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8536         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
8537         succeeds and only try adding libdnet upon a failure.
8539 2001-06-12  Akim Demaille  <akim@epita.fr>
8541         * autoscan.in (&output_kind): Output the comment only if it exists.
8542         (%kind_comment): Add entry for `programs'.
8543         (&output_programs): Use &output_kind.
8544         (&output_functions, &output_identifiers, &output_headers)
8545         (&output_programs): Inline, and remove.
8547 2001-06-12  Akim Demaille  <akim@epita.fr>
8549         * autoscan.in (%kind_comment): New.
8550         (output_kind): New.
8551         (output_functions, output_identifiers, output_headers): Use it.
8553 2001-06-12  Akim Demaille  <akim@epita.fr>
8555         * autoscan.in (&print_unique): Take `$kind' and `$word' as
8556         arguments, to factor indirections into `%macro' and `%used'.
8557         (%generic_macro): Fix a typo.
8559 2001-06-12  Akim Demaille  <akim@epita.fr>
8561         * aclibraries: New.
8562         * autoscan.in (@kinds): Add `libraries'.
8563         Use `@kinds' instead of hard coded lists.
8564         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
8565         Remove, replaced by...
8566         (%used): this.
8568 2001-06-12  Akim Demaille  <akim@epita.fr>
8570         * autoscan.in (%functions_macros %headers_macros)
8571         (%identifiers_macros %programs_macros %makevars_macros): Remove,
8572         replaced by...
8573         (%macro): New.
8575 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
8577         * aclang.m4 (AC_NO_EXECUTABLES): Override
8578         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
8580 2001-06-11  Akim Demaille  <akim@epita.fr>
8582         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
8583         trailing new line.
8584         Reported by Andreas Schwab.
8586 2001-06-11  Akim Demaille  <akim@epita.fr>
8588         * Makefile.am, Makefile.maint: Typos.
8590 2001-06-09  Akim Demaille  <akim@epita.fr>
8592         * doc/autoconf.texi (Here-Documents): New section, gathering
8593         documentation about here-documents.
8594         Use `href', not `uref', and other changes.
8596 2001-06-09  Akim Demaille  <akim@epita.fr>
8598         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
8599         chapter.
8601 2001-06-09  Akim Demaille  <akim@epita.fr>
8603         * doc/autoconf.texi (Limitations of Builtins): Complete the
8604         description of the here-docs penalties with Alexandre Oliva's
8605         explanations.
8607 2001-06-01  Paul Eggert  <eggert@twinsun.com>
8609         * doc/autoconf.texi: Talk about here documents and speedups.
8610         Do not use "echo" on arbitrary strings.
8611         Spell "here-documents" consistently with the standard.
8613 2001-06-09  Akim Demaille  <akim@epita.fr>
8615         * doc/autoconf.texi (Concept Index): Introduce it.
8616         Regenerate the menus.
8618 2001-06-09  Akim Demaille  <akim@epita.fr>
8620         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
8621         * config/prev-version.txt: New.
8622         * config/move-if-change: New, for GNU libc.
8624 2001-06-06  Pavel Roskin  <proski@gnu.org>
8626         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
8628 2001-06-06  Akim Demaille  <akim@epita.fr>
8630         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
8631         properly when $1 is not a literal.
8632         Fixes PR Autoconf/187, reported by Bram Moolenaar.
8634 2001-06-06  Akim Demaille  <akim@epita.fr>
8636         Invoking AC_COPYRIGHT before AC_INIT fails.
8638         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
8639         * acgeneral.m4 (_m4_divert(VERSION_FSF))
8640         (_m4_divert(VERSION_USER)): New.
8641         (AC_COPYRIGHT): $2 is the diversion to use.
8642         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
8643         (AC_INIT): Remove dead comments as now it's commutative.
8645 2001-06-06  Akim Demaille  <akim@epita.fr>
8647         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
8648         PR autoconf/187.
8650 2001-06-05  Akim Demaille  <akim@epita.fr>
8652         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
8653         can be empty.
8654         `*dir' variables cannot be NONE.
8655         Reported by Mark Kettenis.
8657 2001-06-05  Paul Eggert  <eggert@twinsun.com>
8659         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
8661 2001-06-04  Akim Demaille  <akim@epita.fr>
8663         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
8664         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
8665         (AC_TR_SH): Move as...
8666         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
8667         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
8668         (AS_TR_SH): these.
8669         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
8670         (_AS_TR_SH_PREPARE): New.
8671         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
8672         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
8674 2001-06-02  Akim Demaille  <akim@epita.fr>
8676         * Makefile.am (.m4.m4f): Pass the options first.
8677         Fixes PR autoconf/182.
8679 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
8681         GNU getopt, when POSIXLY_CORRECT does not permute options and
8682         arguments.  So pass the options first.
8683         Fixes PR autoconf/184.
8685         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
8686         (run_m4): Remove files.
8687         (run_m4f): Remove.
8688         Update remainder of script to use them.
8689         (for warning in): Do not use a literal comma as it will not be
8690         split by IFS.
8692 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
8694         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
8695         Fortran compilers to check.
8696         (_AC_PROG_F77_V): Add '-###' as a possible option to print
8697         information on library and object files.
8698         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
8699         to check.
8701 2001-06-02  Akim Demaille  <akim@epita.fr>
8703         * autom4te.in (Request::@request): Declare with `vars', not `my',
8704         as it prevents updates via `do FILENAME'.
8706 2001-06-02  Akim Demaille  <akim@epita.fr>
8708         * configure.in (standards_texi): Remove, dead code.
8710 2001-06-02  Akim Demaille  <akim@epita.fr>
8712         * autom4te.in: New.
8714 2001-06-02  Pavel Roskin  <proski@gnu.org>
8716         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
8717         for signals other than 0 - exit with code 1.
8718         * m4sh.m4 (AS_TMPDIR): Likewise.
8719         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
8720         * autoheader.in: Likewise.
8721         * autoreconf.in: Likewise.
8722         * tests/torture.at (Signal handling): New test for the above.
8724 2001-06-01  Akim Demaille  <akim@epita.fr>
8726         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
8727         message.
8729 2001-05-31  Akim Demaille  <akim@epita.fr>
8731         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
8732         Add copyright and comments.
8733         * acheaders: Add stdint.h.
8734         Suggested by Paul Eggert.
8736 2001-05-31  Akim Demaille  <akim@epita.fr>
8738         * atgeneral.m4 (AT_INIT): Use $SHELL.
8739         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
8741 2001-05-31  Akim Demaille  <akim@epita.fr>
8743         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8744         stdint.h.
8745         From Paul Eggert and Lars Hecking.
8747 2001-05-31  Akim Demaille  <akim@epita.fr>
8749         * tests/base.at: Adjust line numbers in error messages.
8751 2001-05-31  Akim Demaille  <akim@epita.fr>
8753         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
8754         to emit the bangshe line.
8755         Reported by David Carter.
8757 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
8759         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
8760         Fortran (95) compilers to check.
8762 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
8764         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
8765         Macro Archive URL.
8767 2001-05-23  Pavel Roskin  <proski@gnu.org>
8769         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
8770         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
8771         (AC_PROG_CXXCPP): Likewise.
8773 2001-05-22  Akim Demaille  <akim@epita.fr>
8775         * config: New directory.
8776         * configure.in: AC_CONFIG_AUX_DIR it.
8777         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
8779 2001-05-22  Akim Demaille  <akim@epita.fr>
8781         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
8782         * autoupdate.in: Specify the Emacs mode.
8783         * acversion.m4.in: Rename as...
8784         * acversion.m4: this.
8785         * tests/Makefile.am (CLEANFILES): More garbage.
8787 2001-05-22  Akim Demaille  <akim@epita.fr>
8789         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
8790         Rename as...
8791         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
8792         these.
8794 2001-05-21  Akim Demaille  <akim@epita.fr>
8796         * configure.in: Bump to 2.50a.
8798 -----
8800 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
8802 This file is part of GNU Autoconf.
8804 GNU Autoconf is free software; you can redistribute it and/or modify
8805 it under the terms of the GNU General Public License as published by
8806 the Free Software Foundation; either version 2, or (at your option)
8807 any later version.
8809 GNU Autoconf is distributed in the hope that it will be useful,
8810 but WITHOUT ANY WARRANTY; without even the implied warranty of
8811 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8812 GNU General Public License for more details.
8814 You should have received a copy of the GNU General Public License
8815 along with autoconf; see the file COPYING.  If not, write to
8816 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
8817 Boston, MA 02110-1301, USA.