improve AC_PROG_CC and AC_PROG_CXX
[autoconf.git] / ChangeLog
blob81309c976b5fe5367ff6c4dd6575b9316ca4b2e2
1 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
3         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
4           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
5           from a Common Lisp's `cl'.
6         (AC_PROG_CXX): Behave according to the documentation: don't
7           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
8           make the variable CCC precious; use `cl.exe', not `cl'.
10 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
11             Alexandre Duret-Lutz  <adl@gnu.org>
13         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
14         /dev/null, as "configure" shouldn't read stdin, and this insulates
15         us from problems (e.g., when testing for "cl").  Also, do this
16         redirection before invoking "hostname" or "uname", and keep the
17         original input stream available via...
18         (AS_ORIGINAL_STDIN_FD): ... this new macro.
19         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
20         bother with "</dev/null" since it's now done at the top of
21         'configure'.
22         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
23         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
24         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
25         * doc/autoconf.texi (File Descriptor Macros): New section.
26         (Printing Messages): Mention it.
27         * tests/base.at (Input/Output): New test.
29 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
31         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
32         newline if neither \c nor -n work, as that would output two
33         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
35 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
37         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
38         This causes that any required macros inside will get before the if.
39         * doc/autoconf.texi (autom4te.cache): A typo.
41 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
43         Undo previous change, except keep the change to
44         lib/autoconf/programs.m4 that replaced grep with shell
45         pattern-matching.  This is because net-snmp configure reads stdin.
46         Reported by Noah Misch.
48 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
50         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
51         from /dev/null, as "configure" shouldn't read stdin, and this
52         insulates us from problems (e.g., when testing for "cl").
53         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
54         before invoking "hostname" or "uname".
55         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
56         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
57         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
58         "</dev/null" since it's now done at the top of 'configure'.
59         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
60         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
61         Also, replace grep with shell pattern-matching, to save a process.
63 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
65         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
66         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
67         avoid thinking that Allegro Common Lisp's "cl" command is a C++
68         compiler.
70 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72         * doc/autoconf.texi (Limitations of Usual Tools): Document that
73         grep -q isn't portable.  Improve grep -s explanation.
74         Problem reported by Dan Manthey.
76 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
78         * doc/autoconf.texi (Special Shell Variables): Clarify
79         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
81 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
83         * doc/autoconf.texi: Use @acronym for DJGPP.
84         Fix some @code's that should have been @env's, and vice versa.
85         Sort environment variable names.
86         Mention that shells no longer inherit IFS.
87         Don't recommend PATH_SEPARATOR=';' so strongly.
88         Mention that $RANDOM might expand to the empty string.
89         "symlink" and "soft link" -> "symbolic link".
90         Improve mktemp description (reported by Bruno Haible).
92 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
94         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
95         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
96         Likewise.
97         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
98         Likewise.
100 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
102         * NEWS: Mention AT_COPYRIGHT.
104         * tests/local.at (AT_CMP): Use diff directly on input files rather
105         than copying them.
107         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
108         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
110 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
111         and Paul Eggert  <eggert@cs.ucla.edu>
113         * tests/autotest.at (Empty test suite): New test.
114         * tests/torture.at (Substitute and define special characters)
115         (Substitute a 2000-byte string, Define to a 2000-byte string)
116         (Substitute a newline, Define a newline): New tests.
118 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
120         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
121         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
122         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
123         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
124         (Standard regular expressions): New test.
125         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
126         excess test name quoting.
127         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
128         CPPFLAGS to `configure' instead of setting it in `configure'.
130         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
131         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
132         on some platforms.
134         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
135         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
137         * tests/local.at (AT_CMP): New macro.
138         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
139         (AC_SAVE_STATE): Move environment grep...
140         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
141         (AT_CONFIG_CMP): New macro.
142         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
143         * tests/c.at (Extensions): Do not exit early.
144         * tests/atlocal.in: Inherit $GREP.
146         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
147         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
149         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
150         (AC_COPYRIGHT): Factor header comment portion out and move into...
151         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
152         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
153         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
154         --version output.
155         * tests/local.at: Add Autoconf test suite copyright notice.
156         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
158 2005-02-04  Bruno Haible <bruno@clisp.org>
159         and Paul Eggert  <eggert@cs.ucla.edu>
161         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
163 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
165         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
166         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
168         Try not to generated lines of unlimited length, as POSIX places a
169         2047-byte limit on line length of portable text files.
170         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
171         Use newline as a separator, not space.
172         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
173         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
174         space.
176 2005-02-03  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
178         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
179         as_func_*.  Add test to check whether positional parameters
180         are restored after function return.
182 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
184         * doc/autoconf.texi (Special Shell Variables): Mention _,
185         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
186         if they contain a lower-case letter.  The DUALCASE problem was
187         reported by Ralf Wildenhues.
189         * bin/autoconf.as: Don't exit with status 0 after write failure
190         with --help or --version.
191         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
192         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
194 2005-02-02  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
196         * doc/autoconf.texi (Limitations of Usual Tools):
197         Unicos 9 sed limitations.
198         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
199         to get the option-enhanced interface on older Crays.  Try ftn for
200         Fortran 95 (newer Crays).
202 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
204         * man/Makefile.am (.x.1): Go back to the simple solution, but take
205         care to echo the commands, so the user knows what's going on.
206         Modified from a suggestion by Stepan Kasal.
208         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
209         with a cross reference.  Derived from a suggestion by Bruce Korb.
211 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
213         * doc/autoconf.texi (config.status Invocation): Warn about
214         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
215         * doc/install.texi (Defining Variables): Likewise.
216         Based on a proposed patch by Ralf Wildenhues.
218         * man/Makefile.am (.x.1): Make sure the required generated files
219         are up to date.  Problem and original solution proposed by Stepan Kasal.
220         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
221         implicit-man-prerequisites): New rules, used by the above.
223         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
224         * config/config.guess, config/config.sub, config/install-sh: Likewise.
225         * config/missing, config/texinfo.tex: Likewise.
227 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
229         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
230         Update the long comment explaining it.
232         m4_require no longer writes an ``is required by'' line to the
233         execution stack.  It contains only one bit of non-redundant
234         information: that the macro was required, not called.  And even
235         this bit is useless in most situations: have you ever met a macro
236         which both calls and requires the same macro?
238         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
239         (_m4_defun_pro_outer): ... only via this macro, for the outermost
240           macro.
241         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
242         (m4_expansion_stack_pop): Remove the misplaced comment.
243         (m4_require): Don't put the ``is required by'' line to the
244           execution stack; slightly improve the out-of-a-defun error message.
245         (_m4_divert_grow): New macro, counter for the temporary diversions.
246         (_m4_require_call): Use it.
247         * tests/m4sugar.at (m4_require): Expect output without the
248           ``is required by'' messages.
250 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
252         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
253         rather than x for expr.
255         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
256         this is safe.
257         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
258         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
259         * lib/autotest/general.m4 (AT_INIT): Likewise.
260         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
261         * tests/mktests.sh: Likewise.
263 2005-01-27  Akim Demaille  <akim@epita.fr>
265         Have autoheader honor --force.
267         * doc/make-stds.texi, doc/standards.texi: Update from masters.
268         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
269         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
270         from masters, so that FileUtils.pm's update_file provide --force
271         support.
272         * bin/autoheader.in: Pass $force to update_file so that
273         config.h.in is always recreated when --force.
275 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
277         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
279 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
281         * doc/autoconf.texi (Limitations of Builtins): Clarify that
282         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
284 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
286         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
287         Warn about newline stripping in `` and $().  Update Solaris
288         version to 9.
289         (Limitations of Builtins): Use expr "X...", not expr "x...", as
290         X insulates us from future changes to Posix.
291         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
292         stripping.
294 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
296         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
297           you cannot use AC_DEFINE to define macros containing `[' or `]'.
299 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
301         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
302         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
303         bug-tar mailing list.
305 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
307         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
309 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
311         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
312         ulongval to be static, to avoid unwanted GCC warning.  Problem
313         reported by Michael Jennings via Daniel Reed; see
314         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
316 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
318         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
319         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
320         datadir, infodir, and mandir.  Adjust argument parsing code.
321         (_AC_INIT_HELP): Update help text.
322         * doc/autoconf.texi (Installation Directory Variables): Document
323         new variables.
325 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
327         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
328         not seem to work, assume it does set $(MAKE).
329         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
331 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
333         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
335 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
337         A cleanup of the diversion support in m4sugar.
339         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
340         (_m4_divert_n_stack): New macro; the expansion is
341           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
342           otherwise.
343         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
344         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
345           stored in _m4_divert_diversion or _m4_divert_dump.
346         (m4_divert_pop): When the parameter is given, compare the symbolic
347           name with the last diversion pushed on the stack.  Previously, the
348           current diversion was compared with the numeric value of the
349           diversion given as the parameter.
350         (m4_require): If the macro hasn't been expanded yet, call ...
351         (_m4_require_call): this new macro.
353 2005-01-03  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
355         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
356         Workarounds for documented `case' limitations.
358 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
360         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
361         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
363 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
365         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
366         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
367         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
369         Patch from Roger Leigh (with some minor changes) as follows:
370         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
371         Resurrect AC_PROG_CC_STDC.
372         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
373         AC_PROG_CC_C89, AC_PROG_CC_C99.
374         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
375         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
376         AC_PROG_CC_C99): New macros.
377         (AC_PROG_CC_STDC): Use them.
378         (_AC_PROG_CC_STDC): Remove.
379         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
380         * THANKS: Add Roger Leigh.
382 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
384         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
385         signals that the package uses Automake; a `Makefile.am' is typical but
386         not essential.  Reported by Magnus Therning.
387         * tests/torture.at (autoreconf.): New banner.
388         (autoreconf and non-AC configure): Rename to `Non-Autoconf
389         AC_CONFIG_SUBDIRS'.
390         (autoreconf an empty directory): Rename to `Empty directory'.
391         (Unusual Automake input files): New test.
393 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
395         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
396         (AT_SETUP): Clear AT_capture_files.
397         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
398         (AT_KEYWORDS): Fix comment typo.
399         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
400         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
401         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
403 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
405         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
406         If the variable to set is already set, set ac_cv_path_$1
407         to the preset value so caller can assume ac_cv_path_$1
408         is available.  (trivial change)
410 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
412         * BUGS (Minor Problems): Warn about makefile limitations.
413         * Makefile.am: Find and update `INSTALL' in $(srcdir).
414         * man/Makefile.am: Find and update manual pages in $(srcdir).
416 2004-12-24  Eric Blake  <ebb9@byu.net>
418         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
419         shells in subshell, to avoid noise from ash.  (trivial change)
421 2004-12-22  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
423         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
424         problems with SunOS ksh and backslash escaping, Bourne shells and
425         closing brackets (both within character classes).  Bug reported
426         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
427         <read>: New entry.  Mention non-availability of -r.
429 2004-12-21  Akim Demaille  <akim@epita.fr>
431         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
432         avoid cluttering displayed messages.  Rather, prepend srcdir where
433         AT_LINE is used for log files.
435 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
437         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
438         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
439           no longer part of the macro, quote the occurrence of ``$tmp''.
440         * doc/autoconf.texi (Forbidden Patterns): Typo.
442 2004-12-21  Akim Demaille  <akim@epita.fr>
444         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
445         separated from the test title by forcing a white space.
447 2004-12-21  Akim Demaille  <akim@epita.fr>
449         Enable Emacs navigation within testsuite.log files.
451         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
452         use the compilation mode.
453         (AT_LINE): Point to the srcdir.
455 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
457         * tests/Makefile.am (installcheck-local): Use $(bindir).
458         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
459         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
460         Makefile.am scheme Autoconf now uses.
462 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
464         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
465         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
467 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
469         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
470         (_AT_CHECK): Use it.
471         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
472         (AS_ESCAPE): Fix comment.
473         * tests/autotest.at: Adjust section banner comments.
474         (AT_CHECK_AT): Accept STATUS and STDERR.
475         (AT_CHECK_AT_TEST): Likewise.
476         (Invalid brace-enclosed parameter expansion)
477         (Multiline command from M4 expansion)
478         (Double-M4-quoted command): New tests.
480 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
482         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
484 2004-12-17  Akim Demaille  <akim@epita.fr>
486         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
487         m4_pattern_allow.
488         Suggested by Alexandre Duret-Lutz.
489         * doc/autoconf.texi (Setting Output Variables): Catch up.
491 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
493         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
495 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
497         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
498           remove the comment which said we cannot.
500 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
502         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
503         Reini Urban and Paul Eggert for reporting the dependencies.
505         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
506         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
507         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
509 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
511         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
512           so that eg. ``autoscan --help'' doesn't truncate it.
514 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
516         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
517         generated conftest files.
519 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
521         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
522         tracing on commands with possibly-escaped newlines.
523         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
524         discontinued behavior and its implications.
525         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
526         (BSx641-newline in command, BS-BS-newline in command)
527         (BSx640-newline in command, Newline-CODE-BS-newline in command)
528         (Single-quote-BS-newline in command)
529         (Single-quote-newline-BS-newline in command): New tests.
531 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
533         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
534           on platforms where it works.
535         (_AS_TEST_PREPARE): Test for ``test -x''.
536         (_AS_BROKEN_TEST_PREPARE): Nuke.
538 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
540         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
541         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
542           give only 4-letter prefix to AS_TMPDIR, comment fixed.
543         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
544           create the temporary directory.
545         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
547 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
549         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
550         (trivial change)
552 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
554         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
556 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
558         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
559         to avoid using a negated character class.  Reported by Nicolas Joly.
560         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
562 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
564         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
565         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
566         Don't depend on .x file explicitly, since "make" does that for us.
567         Suggested by Stepan Kasal.
569         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
570         Add *.tmp.
571         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
572         ifnames): Factor common code.  And they said it couldn't be done!
574 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
576         * bin/.cvsignore: Add autoconf.in.
577         * tests/.cvsignore: Add wrapper.in.
578         * lib/autotest/general.m4: Escape '$' in case pattern.
580 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
582         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
584         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
586         * tests/autotest.at: New file.
587         * tests/suite.at: Include it.
588         * tests/Makefile.am: Distribute it.
590         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
591           shell tracing on a command that could contain multiple lines.
592         * doc/autoconf.text: Document that fact and its implications.
593         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
594         * tests/autotest.at (Multiline backquote command substitution,
595           Multiline parameter expansion, Literal multiline command,
596           Multiline parenthetical command substitution): Remove XFAIL.
598 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
600         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
601         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
603 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
605         * configure.ac (test suite): Cease to generate wrapper scripts.
606         * configure: Regenerate.
607         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
608         (m4f_dependencies): Adjust accordingly.
609         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
610         (wrapper.in): Generate it in the build directory.
611         (MAINTAINERCLEANFILES): Delete wrapper.in.
612         (CLEANFILES): Add wrapper.in.
613         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
614         the output.  Replace each $as_me with a @wrap_program@.
615         * tests/wrapper.in: Delete it; we always build it.
617         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
618         (EXTRA_DIST): Remove autoconf.in.
619         (CLEANFILES): Add autoconf.in.
620         (autoconf): Find autoconf.in in the build directory.
621         * bin/autoconf.in: Delete it; we always build it.
623 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
625         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
626         PATH members so as to not prepend an empty element.  Move a comment.
627         * Makefile.am (SUBDIRS): Build in `tests' last.
628         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
630 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
632         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
633         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
634         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
635         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
637 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
639         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
640         patch: extra "-l"s.
642 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
644         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
645         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
646         * doc/autoconf.texi (Particular Functions): Mention new behavior.
648 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
650         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
651           out the common code to ...
652         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
653           value of the #define--default to 1, iff the macro was called
654           with exactly one parameter.
656 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
658         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
659         "char c = '\200';" rather than "char c = 0x80;" as the
660         latter doesn't conform to the strict C standard due to
661         overflow on signed char hosts.
663         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
664         to -qlanglvl=ansi.  We don't want to disable extensions.
666 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
668         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
669         (Using Autotest, testsuite Scripts, Writing testsuite.at):
670         Reword slightly to avoid some English-language problems noted
671         by Ralf Wildenhues in:
672         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
674 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
676         * NEWS: Add ^L above each release.
678 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
680         Fix documentation problems reported by Russ Boylan in
681         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
682         along with some nearby cruft.
683         * doc/autoconf.texi (Libtool): Libtool can be used without
684         Automake (not without Autoconf).
685         (Introduction): Mention lists.gnu.org.
686         * BUGS: Don't mention bugs.gnu.org.
687         Remove mention of ancient libtool compatibility problem.
688         * NEWS: Mention that bugs.gnu.org is kaput.
689         * README: Likewise.  Mention where mailing list archives can be found.
691 2004-11-28  Stepan Kasal  <address@ucw.cz>
693         * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
694         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
696 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
698         * doc/autoconf.texi (Pretty Help Strings): Go back to
699         single-quoting assignments to cache variables.
701 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
703         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
704         with the examples; fix the bug in MY_ARG_WITH example reported
705         by Alexandre Duret-Lutz.
706         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
707         expansion of $1 in the comment emitted to configure.
709 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
711         * doc/autoconf.texi (Pretty Help Strings): Fix typo
712         in my editing of the previous patch.  Problem reported
713         by Alexandre Duret-Lutz.
715 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
717         * doc/autoconf.texi (Autoconf Language): Explain that
718         ``descriptions'' may not be double quotes.
719         (Quotation Rule Of Thumb): Likewise.
720         (Pretty Help Strings): Likewise; remove the wrong comment;
721         simplify the examples and improve their quoting.
723 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
725         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
726         the $1_found variable, don't test whether the file is executable;
727         Both things are checked ...
728         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
729         the former ``test -f''.
730         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
732 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
734         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
735         use cp -R instead.
737 2004-11-10  Derek R. Price  <derek@ximbiot.com>
739         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
740         limitations.  Reorder paragraphs for clarity.
742 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
744         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
745         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
746         variants", "Unix", and some related minor wording fixups.
748         (Shellology, Special Shell Variables): Document that the Zsh
749         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
750         to Alexandre Duret-Lutz for this info.
752 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
754         * doc/autoconf.texi (One-Shot Macros): New node.
756 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
758         * doc/autoconf.texi (Function Portability): Fix misdescription
759         of putenv.  Problem reported by Michael Wardle.
761 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
763         * doc/autoconf.texi (auindex): New macro.
764         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
765         Problem reported by Stepan Kasal.
767 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
769         Fix problems reported by Andreas Buening in:
770         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
771         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
772         in test makefile.
773         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
774         readable; it's not true in OS/2-emx.
776 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
778         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
779         "/usr/include", clear ac_x_includes instead of leaving it as "no"
780         (trivial change).  Problem and patch reported by Andrew Church in:
781         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
783 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
785         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
786         three args in examples.  Problem reported by Frederik Fouvry in:
787         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
788         Also, fix some minor spacing and punctuation bugs.
790 2004-09-02  Akim Demaille  <akim@epita.fr>
792         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
793         "case" to restore ordering.
794         Reported by Stepan Kasal.
796 2004-08-26  Akim Demaille  <akim@epita.fr>
798         * doc/autoconf.texi: Minor typos and stylos.
800 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
802         * configure.ac (AC_INIT): Bump to 2.59c.
804 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
806         Version 2.59b.
808         * README: Add advice about m4 1.4.2.
810         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
811         texinfo.tex for now (done by hand now).
812         * Makefile.maint (wget_files, cvs_files):
813         Remove ansi2knr.c; nobody uses it.
814         (ansi2knr.c-url_prefix): Remove.
815         (cvs-update): Fix test for failure.  I don't know why it ever
816         worked...
818         * doc/autoconf.texi: Update URLs, some of which went stale.
819         Use @uref rather than @href.
821         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
822         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
824         * config/config.guess, config/config.sub, config/elisp-comp,
825         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
826         doc/fdl.texi, doc/standards.texi: Sync with master copy.
828         * NEWS, TODO, configure.ac, bin/autoscan.in,
829         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
830         doc/install.texi, lib/Autom4te/Configure_ac.pm,
831         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
832         lib/autoconf/programs.m4, lib/autoconf/status.m4,
833         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
834         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
835         tests/tools.at, tests/torture.at:
836         Use "file name" rather than "filename" or "path",
837         to be consistent with the terminology of the GNU coding standards.
839 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
841         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
842         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
843         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
844         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
846         More fixes to support spaces in the name of the build directory.
847         This isn't a complete fix but it's an improvement.
849         * bin/autoconf.as (autom4te_options): New var.
850         Use it instead of appending to AUTOM4TE, so that we can allow
851         spaces in the build directory's absolute name.
852         * bin/autoheader.in ($autoconf): Allow spaces in file names.
853         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
854         AT_CHECK_NOESCAPE): Likewise.
855         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
856         main program): Likewise.
858 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
860         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
861         From Ralf Corsepius in:
862         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
864 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
866         * doc/autoconf.texi (Function Portability): Document isinf and
867         and isnan.  From a suggestion by Kevin Ryde.
869         * lib/Autom4te/General.pm (END): Return correct exit status even
870         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
872 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
874         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
875         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
876         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
878 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
880         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
881         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
882         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
883         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
884         * lib/autom4te.in (Automake-preselections): Preselect
885         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
887 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
889         * lib/autom4te.in (Automake-preselections): Preselect
890         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
891         trace them.
893 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
895         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
896         Tru64.
897         * doc/autoconf.texi (Shellology): Mention BIN_SH.
898         Document problem with "`""`" in pdksh POSIX mode.
900 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
902         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
903         with pdksh, too.  Problem reported by Patrick Welche via
904         Gary V. Vaughan.
905         * doc/autoconf.texi (Shellology): Note that set -o posix is
906         useful for pkdsh, too.
908 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
910         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
911         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
912         Don't fail if ENV or BASH_ENV is readonly.
913         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
914         etc. are read only.  Problem reported by Ludovic Courtes.
916 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
918         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
919         zsh, disable GLOB_SUBST to avoid backslash handling problems.
920         (trivial change)
922 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
924         * doc/autoconf.texi (File System Conventions): Warn about
925         names like "aux".  Problem reported by Eric Blake.
927         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
928         by zero instead of array size, so that we can use any arithmetic
929         constant expression (instead of requiring an integer constant
930         expression).  This allows us to test expressions like DBL_MAX <
931         LDBL_MAX, which didn't conform to the C standard using the old
932         method.
933         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
934         now that we can do floating-point tests at compile time.
936 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
938         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
939         and LDBL_EPSILON, as the resulting expression isn't an
940         integer constant expression and violates the C standard.
941         Problem reported by Nelson H. F. Beebe.  Also, check
942         for "L" suffix, and check that long double doesn't have
943         worse range or precision than double, that mixed-mode
944         arithmetic doesn't generate a diagnostic, that double
945         constants fit in long double.
947 2004-06-03  Kevin Ryde  <user42@zip.com.au>
949         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
950         malloc(0) and realloc(NULL,size).
952         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
953         Bob Proulx.
955 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
957         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
958         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
959         by Jim Meyering.
961 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
963         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
964         can be rewritten using if-then-else.  Suggested by Bruno Haible.
966 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
968         * doc/autoconf.texi (testsuite Scripts): Fix typo.
969         Problem reported by Stepan Kasal.
971 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
973         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
974         change).  Patch reported by Ralf Wildenhues in
975         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
977         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
978         function F exists if the compiler and linker let you compile an
979         expression like (F != 0).  Recent versions of GCC optimize away
980         the reference to F in that case, since every function address must
981         be nonzero, so the link succeeds even if F does not exist.
982         Problem reported by Manu in
983         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
985         * doc/autoconf.texi (Systemology): Standardize on the spelling of
986         "Unix".  Many uses changed.
987         (Limitations of Builtins): Explain better why the ! command isn't
988         portable.
990 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
992         * lib/autom4te.in (Automake-preselections): Preselect
993         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
995 2004-05-19  Kevin Ryde  <user42@zip.com.au>
997         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
998         referencing AC_FUNC_STRERROR_R.
1000         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
1001         note pessimistic assumption when cross compiling.
1003 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
1005         * doc/autoconf.texi (Limitations of Make): Note that BSD make
1006         (until 2004) invoked subcommands with sh -e, contra POSIX.
1007         Reported by Kevin Ryde.
1009 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
1011         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
1012         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
1013         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
1014         `test -f "        /usr/bin/grep"', which _always_ failed.
1015         (AC_PROG_SED): Ditto bogus PATH fix.
1016         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
1017         requires that grep correctly supports _multiple_ `-e' options, rather
1018         than stating only that grep should accept `-e'.
1020 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
1022         Port to C99, which requires that 'exit' be declared.
1024         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
1025         to ensure that stdlib.h is included.
1026         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
1027         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
1028         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1029         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1030         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1031         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
1032         when using 'exit' in a test; C99 requires that 'exit' be declared.
1034 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
1036         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
1037         now prefers 'grep' implementations that accept -e.
1038         (Limitations of Usual Tools): Describe problems of traditional
1039         egrep and fgrep with long input lines, and of traditional grep
1040         with -e.
1041         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
1042         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
1043         All callers changed.  Append /usr/xpg4/bin to the PATH, for
1044         Solaris.
1045         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
1046         the user with complaints about multiple -e options.
1047         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
1048         Define it with AC_PROG_GREP.
1049         * configure.ac (AC_PROG_GREP): Add.
1050         * lib/freeze.mk (GREP): New macro.
1052 2004-05-02  Eric Sunshine <sunshine@sunshineco.com>
1054         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
1055         a possible candidate only after all others fail, rather than
1056         consulting it first.  This improves backward compatibility by
1057         better reflecting the way shell selection occurred in previous
1058         versions of Autoconf, and should help to avoid triggering latent
1059         problems in other packages, such as the one in Automake where zsh
1060         is not handled robustly:
1061         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
1062         Although it is not Autoconf's responsibility to work around
1063         problems in Automake, it nevertheless makes sense to avoid
1064         introducing unnecessary incompatibilites.
1066 2004-04-22  Albert Chin-A-Young <china@thewrittenword.com>,
1067             Gary V. Vaughan  <gary@gnu.org>
1069         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
1070         how deeply nested we are when a suitable tool is found, set the
1071         ac_path_TOOL_found flag.
1072         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
1073         nested we are in this macro.  Break out of all 3 nested loops if
1074         ac_path_TOOL_found is set.
1076 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
1078         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
1079         of the _AS_PATH_WALK loop too if GNU flavor is found.
1081 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
1083         * doc/autoconf.texi (Limitations of Make): Update documentation
1084         for `$<'.  New entry `Long lines', based on a report from Simon
1085         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
1086         paragraph about DJGPP, based on a mail from Richard Dawe.
1088 2004-04-20  Paul Eggert  <eggert@twinsun.com>
1090         * tests/c.at (C keywords): Don't assume that GCC supports
1091         "restrict" and "inline", as sufficiently-old GCC versions do not
1092         (also, GCC configured to be in pedantic C89 mode does not).
1093         Problem reported by Sumit Pandya in:
1094         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
1096         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
1097         consider -g to work if it generates warnings when plain compiles
1098         don't.  Problem reported by Braden McDaniel in:
1099         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
1101         * doc/autoconf.texi (Slashes): New section, to document a problem
1102         reported by Jim Meyering in:
1103         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
1105         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
1106         linker output files before linking, to work around IRIX 6 linker bug.
1107         Problem reported by Rainer Orth in:
1108         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
1110 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
1112         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
1113         best tool so far counter rely on the tool path variable name to
1114         avoid checks for one tool being affected by the results of running
1115         the length check on a previous tool.
1117         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
1118         match expression argument, as different greps have different
1119         regular expression flavours.
1120         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
1121         literals.
1122         (AC_PROG_EGREP): Pass 'EGREP$'.
1123         (AC_PROG_GREP): Pass 'GREP$'.
1125 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
1127         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
1128         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
1130 2004-03-29  Paul Eggert  <eggert@twinsun.com>
1132         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
1133         Types, Specific Compiler Characteristics, System Services,
1134         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
1135         etc. consistently instead of 'long', 'short', 'unsigned' etc.
1136         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
1137         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
1138         Likewise.
1139         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
1140         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
1141         AC_TYPE_OFF_T): Likewise.
1142         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
1143         Likewise.
1145         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
1146         pacify libtool 1.5.2.  Fix quoting problems in sed command.
1148 2004-03-28  Paul Eggert  <eggert@twinsun.com>
1150         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
1151         now defines HAVE_DECL_TZNAME if it is declared, when
1152         HAVE_STRUCT_TM_TM_ZONE is not defined.
1153         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
1154         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
1155         for HAVE_TZNAME.
1157 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
1159         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
1160         superfluous backslashing of quotes (") in sed expressions;
1161         thanks to Paul Eggert.
1163 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
1165         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
1166         Fortran compiler is ifort, also added pghpf; thanks to Nelson
1167         H. F. Beebe for the bug report.
1169 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
1171         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
1172         quoted -cmdline argument in Portland Group compiler (bug
1173         reported by Jeffrey J. Barteet).
1175 2004-03-25  Kevin Ryde  <user42@zip.com.au>
1177         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
1178         (Run Time): ... here, where it's now mentioned.
1180 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
1182         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
1183         inherits from language Autoconf-without-aclocal-m4.
1184         (Customizing autom4te): Adjust example; the cache must now be
1185         disabled for language Autoconf-without-aclocal-m4.
1187 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
1188             Nathanael Nerode  <neroden@twcny.rr.com>
1190         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
1191         AC_CHECK_TOOLS): Warn if a cross-tool is found without
1192         a prefix.
1193         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1194         AC_CHECK_TARGET_TOOLS): New macros.
1195         * doc/autoconf.texi (Generic Programs): Document
1196         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1197         AC_CHECK_TARGET_TOOLS, and warn for future changes
1198         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
1199         AC_CHECK_TOOLS.
1200         (Specifying Names): Document the reason for these future
1201         behavioral changes.
1202         * tests/mktests.sh: Do not generate tests for the
1203         new macros.
1204         * NEWS: Document these changes.
1206         * doc/autoconf.texi: Avoid macros with unbraced arguments,
1207         they make TeX hang up.
1209 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
1211         * NEWS: New macro AC_CHECK_ALIGNOF.
1212         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
1213         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
1214         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
1215         vowel.
1216         (AC_CHECK_ALIGNOF): New macro.
1217         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
1218         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
1219         those for sizeof.
1221 2004-03-03  Paul Eggert  <eggert@twinsun.com>
1223         * bin/Makefile.am (edit): Don't use $< in a context where
1224         POSIX doesn't require support for it.  Use $@.in instead.
1225         Problem reported by Anthony N. Frasso in
1226         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
1227         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
1229 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
1231         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
1232         from the next generation of Libtool.
1233         * lib/autom4te.in (Autoreconf-preselections): Ditto.
1235 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
1237         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
1238         is not always thread-safe.  Report from Nathanael Nerode.
1240 2004-02-18  Paul Eggert  <eggert@twinsun.com>
1242         Fix a dependencies problem, stemming from a Autoconf 2.59 build
1243         problem on QNX reported by Stephen Rasku in
1244         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
1246         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
1247         $(m4sh_m4f_dependencies); this removes a FIXME.
1248         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
1249         (MAINTAINERCLEANFILES): Split into pieces,
1250         one per related section.  Add $(srcdir)/wrapper.in.
1252 2004-02-09  Paul Eggert  <eggert@twinsun.com>
1254         * doc/autoconf.texi (Setting Output Variables): Emphasize that
1255         AC_SUBST provides no portable way to escape literal newlines.
1257         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
1258         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
1259         Darwin uses -lcrt2.o and there's little point to cataloging all
1260         the system variants.  Partial fix reported by Andreas Waechter in:
1261         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
1262         for bug reported by Nelson H. F. Beebe in:
1263         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
1265 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
1267         * doc/autoconf.texi (AU_DEFUN): Fix English,
1268         suggested by Paul Eggert.
1269         * lib/autoconf/autoupdate.m4: Correct reference to
1270         acobsolete.m4, suggested by Alexandre Duret-Lutz.
1272 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
1274         * bin/autoupdate.in: Define __file__ so that warnings
1275         refer to the correct file.
1276         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
1277         the behavior of the third argument.
1278         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
1279         correctly the behavior of the third argument.  Document
1280         what the three macros that AU_DEFUN defines do.  Fix
1281         warning message when the third argument includes $0
1282         (reported by Alexandre Duret-Lutz).
1284 2004-01-30  Paolo Bonzini <bonzini@gnu.org>
1285             Eric Sunshine <sunshine@sunshineco.com>
1286             Paul Eggert <eggert@twinsun.com>
1288         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
1289         (AS_INIT): Output shell initialization there. Removed optional
1290         parameter. Expand _AS_SHELL_FN_SPY.
1291         (AS_INIT_WITH_SHELL_FN): Removed.
1292         (_AS_SHELL_FN_SPY): New macro.
1293         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
1294         macros.
1295         (AS_SHELL_SANITIZE): Remove loop to find better shell
1296         and documentation for the parameter.
1297         (_AS_DETECT_BETTER_SHELL): Move it here.
1298         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
1299         (_AS_RUN): Move it here, support testing with eval.
1300         (AS_REQUIRE_SHELL_FN): Require shell functions when
1301         it is used.
1302         (_AS_LINENO_WORKS): Put around braces, we do not
1303         trigger the bash bug anymore.
1304         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
1305         use AS_INIT_WITH_SHELL_FN.
1306         * bin/autoconf.in, tests/wrapper.in: Regenerated.
1308 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
1310         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
1311         * doc/autoconf.texi: Don't say that the third parameter
1312         is broken.
1313         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
1314         (AU_DEFUN): Honor the third parameter, create autoupdate
1315         macros with AU_DEFINE.
1316         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
1317         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
1318         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1319         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
1320         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
1321         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
1322         AC_XENIX_DIR): Likewise.
1323         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
1324         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
1325         * lib/autoconf/status.m4: Remove FIXME.
1326         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
1327         that the macro is not present anymore in the updated
1328         configure.ac.
1329         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
1330         of autoupdate.
1332 2004-01-28  Paul Eggert  <eggert@twinsun.com>
1334         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
1335         copyright years.
1336         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
1337         2003 (except 1997) to the list of copyright years.  This undoes
1338         the 2003-05-22 change, which removed the older years from the list.
1339         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
1341 2004-01-27  Gary V. Vaugan  <gary@gnu.org>
1342             Albert Chin-A-Young <china@thewrittenword.com>
1344         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
1345         grep or ggrep program in PATH that accepts as long lines as
1346         possible.
1347         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
1348         AC_PROG_GREP.
1349         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
1350         egrep and fgrep respectively if $GREP -E/-F don't work.
1351         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
1352         _AC_PROG_GREP, and AC_PROG_SED.
1353         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
1354         longest input length accepted by a command.
1355         (AC_PROG_SED): Use it.
1356         * doc/autoconf.texi (Particular Programs): Document the changes.
1357         * NEWS: Updated.
1359 2004-01-27  Paul Eggert  <eggert@twinsun.com>
1361         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
1362         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1363         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
1364         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1366         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
1367         bin/autoconf.in, config/Makefile.in, config/config.guess,
1368         config/config.sub, config/install-sh, config/mdate-sh,
1369         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
1370         lib/Makefile.in, lib/Autom4te/Makefile.in,
1371         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
1372         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
1373         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
1374         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
1375         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
1376         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
1377         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
1378         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
1379         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
1380         tests/actypes.at: Regenerate and/or sync with original
1381         sources.
1383 2004-01-26  Paul Eggert  <eggert@twinsun.com>
1385         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
1386         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
1387         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
1388         not <inttypes.h>.  Problem reported by Tim Mooney in
1389         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
1390         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1391         Likewise.
1393         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
1394         otherwise "make check" fails because it forbids cmp (I guess
1395         because cmp treats files as binary on DOS-like systems).
1397         * tests/mktests.sh: Update copyright date to 2004, since some tests
1398         have changed in 2004.
1400 2004-01-23  Gary V. Vaugan  <gary@gnu.org>
1402         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
1403         non-truncating sed or gsed program in PATH.
1404         * tests/acprograms.at: Add it.
1405         * doc/autoconf.texi (Particular Programs): Document it.
1406         * NEWS: Updated.
1408 2004-01-15  Paul Eggert  <eggert@twinsun.com>
1410         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
1411         -std1 disables some useful extensions on Tru64.  Problem reported
1412         by N. Lichtmaier in
1413         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
1415 2004-01-14  Paul Eggert  <eggert@twinsun.com>
1417         * doc/autoconf.texi (Programming in M4sh): Document that
1418         AS_MKDIR_P succeeds if the destination is a symbolic link
1419         to an existing directory.
1420         (Limitations of Usual Tools): Note that mkdir -p might not
1421         succeed on symlinks to directories.
1423 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
1425         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
1426         * bin/autoheader.in: Grammar fix in message.
1427         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
1428         Test for dir before calling mkdir -p.  (trivial changes)
1430 2004-01-13  Eric Blake  <ebb9@byu.net>
1432         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
1433         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
1435 2004-01-10  Jim Meyering  <jim@meyering.net>
1437         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
1439 2004-01-09  Paul Eggert  <eggert@twinsun.com>
1441         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
1442         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
1443         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
1444         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
1445         AC_COMPILE_IFELSE, since we now assume our caller invokes
1446         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
1447         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
1448         of AC_RUN_IFELSE; this avoids the warning mentioned above.
1449         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
1451 2004-01-07  Paul Eggert  <eggert@twinsun.com>
1453         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
1454         `"'...'"`, as it's confusing (and I suspect it may not work on
1455         some platforms).  The code was incorrect anyway, as it assumed
1456         that \$ evaluated to itself in that context.  Reported by
1457         Alexandre Duret-Lutz.
1459 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
1461         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
1462         and _LT_AC_TAGCONFIG.
1464 2004-01-06  Paul Eggert  <eggert@twinsun.com>
1466         * doc/autoconf.texi (One Macro Call): Fix an incorrect
1467         example, and add more examples.  Reported by Eric Sunshine.
1469 2004-01-05  Paul Eggert  <eggert@twinsun.com>
1471         * doc/autoconf.texi (Limitations of Usual Tools):
1472         Remove warning against "rm -fr" introduced yesterday; it
1473         was a false alarm.
1475         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
1476         autoscan, autoupdate, ifnames): Don't use chmod -w.
1477         * lib/Makefile.am (autom4te.cfg): Likewise.
1478         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
1479         "chmod -w".
1481 2004-01-04  Paul Eggert  <eggert@twinsun.com>
1482             Paolo Bonzini  <bonzini@gnu.org>
1484         * libc/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
1485         by doing lineno substitution only on lines containing "$LINENO".
1487 2004-01-04  Paul Eggert  <eggert@twinsun.com>
1489         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
1490         Use "rm -f" to remove conftest.sed, not plain "rm".
1491         Bug reported by David Relson in
1492         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
1494         * Makefile.am (autom4te-update):
1495         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
1496         * Makefile.maint (my-distcheck, do-po-update): Likewise.
1497         * doc/autoconf.texi (Guidelines): Likewise.
1498         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
1499         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
1500         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1501         * lib/autotest/general.m4 (AT_INIT): Likewise.
1502         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
1503         * tests/Makefile.am (clean-local): Likewise.
1504         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
1505         srcdir): Likewise.
1506         * doc/autoconf.texi (Limitations of Usual Tools):
1507         Warn against "rm -fr".
1509 2004-01-03  Paul Eggert  <eggert@twinsun.com>
1511         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
1512         -c -o might not work.  From a suggestion by Kevin Ryde.
1513         (C Compiler, Generating Sources, Limitations
1514         of Usual Tools, Limitations of Make, Making testsuite Scripts):
1515         Don't put '-o' after non-options, as POSIX doesn't allow this.
1516         Mention that cc's name might be gcc or c89 or whatever.
1518 2004-01-04  Kevin Ryde  <user42@zip.com.au>
1520         * doc/autoconf.texi: Add various further index entries.
1522 2003-12-29  Paul Eggert  <eggert@twinsun.com>
1524         * bin/autoreconf.in (autoreconf_current_directory):
1525         Fix typo: mkdir without umask arg.
1527 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
1529         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
1530         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
1531         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
1532         explanation clearer.
1534 2003-12-24  Andreas Schwab  <schwab@suse.de>
1536         * doc/autoconf.texi (Default Includes): Fix misspelling of
1537         AC_INCLUDES_DEFAULT.
1539 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
1541         * configure.ac: Test if sh -n works.
1542         * configure: Regenerate.
1543         * tests/atlocal.in: Store the result here.
1544         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
1545         tools.at, looking in atlocal's ac_cv_sh_n_works instead
1546         of explicitly testing.
1547         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
1548         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
1549         * tests/tools.at (Syntax of the shell scripts): Simplify
1550         using AT_CHECK_SHELL_SYNTAX.
1551         (Syntax of the Perl scripts): Remove definition of
1552         AT_CHECK_PERL_SYNTAX.
1554 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
1556         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
1557         stderr to /dev/null.
1558         * bin/autoconf.in: Regenerate.
1559         * bin/wrapper.in: Regenerate.
1561 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
1563         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
1564         Extracted from AS_SHELL_SANITIZE.
1565         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
1566         macros.
1567         (AS_SHELL_SANITIZE): Move reinvocation code from
1568         _AS_LINENO_WORKS, use it to find out if shell
1569         functions work.
1570         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
1571         does not work.
1572         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
1573         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
1574         was called.
1575         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
1576         * bin/autoconf.in: Regenerate.
1577         * tests/wrapper.in: Regenerate.
1578         * tests/tools.at: Test the syntax of tests/autoconf
1579         and tests/testsuite.
1581 2003-11-24  Akim Demaille  <akim@epita.fr>
1583         * config/announce-gen (&print_locations, &print_signatures)
1584         (&sizes): New.
1585         Use them.
1586         No longer rely on Gnus to inline the list of signatures: compute
1587         them on the fly.
1589 2003-11-24  Akim Demaille  <akim@epita.fr>
1591         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
1592         override some files.
1593         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
1594         From Debian Autoconf 2.58.
1596 2003-11-24  Akim Demaille  <akim@epita.fr>
1598         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
1599         uses.
1600         From Debian Autoconf 2.58.
1602 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
1604         * TODO: Remove already done things.  Update the part about finding
1605         tools for the target.
1607 2003-11-24  Paolo Bonzini <bonzini@gnu.org>
1609         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
1610         Make wording more consistent.
1611         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
1612         Explain the transition better.
1613         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
1614         the transition better.
1616 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
1618         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
1619         parameter of AU_DEFUN.
1620         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
1621         (AU_DEFUN): Remove the third parameter, it was not used.
1622         Use AC_DEFUN directly, not AU_DEFINE.
1623         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
1624         the expanded body, consistently with other macros such as AC_USG.
1626 2003-11-17  Paul Eggert  <eggert@twinsun.com>
1628         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
1629         into the initial confdefs.h, to work around a bug in NextStep 3.3
1630         patch 3 reported by Eric Sunshine.
1632 2003-11-15  Kevin Ryde  <user42@zip.com.au>
1634         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
1635         than $target since the latter is not usual, add guidelines on when to
1636         use or not use the system type.
1638 2003-11-12  Derek Price  <derek@ximbiot.com>
1640         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
1641         typo misrepaired by an auto-spellcheck.
1643 2003-11-12  Akim Demaille  <akim@epita.fr>
1645         * bin/autoreconf.in (&parse_args): Don't call automake with
1646         --force-missing unless it actually supports it.
1647         From Debian #219336.
1649 2003-11-12  Akim Demaille  <akim@epita.fr>
1651         * configure.ac: Bump to 2.59a.
1652         Require 2.59.
1654 2003-11-06  Akim Demaille  <akim@epita.fr>
1656         Version 2.59.
1658 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
1660         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
1661         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
1662         and ac_abs_top_srcdir are absolute paths.
1663         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
1665 2003-11-05  Akim Demaille  <akim@epita.fr>
1667         * configure.ac: Bump to 2.58a.
1669 2003-11-05  Kevin Ryde  <user42@zip.com.au>
1671         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
1672         it provokes a warning from makeinfo about looking like a cross
1673         reference in info output.
1675         * doc/autoconf.texi (Function Portability): Add notes on signal
1676         handler return type, as per AC_TYPE_SIGNAL.
1678 2003-11-04  Akim Demaille  <akim@epita.fr>
1680         Version 2.58.
1681         * doc/standards.texi: Update from master.
1683         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
1685 2003-11-04  Akim Demaille  <akim@epita.fr>
1687         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
1688         computing the absolute path to d1 in the source hierarchy: it may
1689         not exist at all.  So don't cd into it.
1690         From Alexandre Duret-Lutz.
1691         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
1693         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
1694         From Paul Eggert, but named after Perl's IO::Spec->catfile.
1695         * doc/autoconf.texi (Programming in M4sh): Document.
1696         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
1698 2003-11-03  Pavel Roskin  <proski@gnu.org>
1700         * doc/autoconf.texi (Generic Structure Checks): Describe
1701         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
1703 2003-10-31  Akim Demaille  <akim@epita.fr>
1705         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
1706         (GNU Fortran): New.
1707         * doc/autoconf.texi (Language Choice): Document.
1708         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
1709         the current language is Fortran.
1711 2003-10-31  Akim Demaille  <akim@epita.fr>
1713         * bin/autom4te.in (&freeze): Use a less likely warning separator
1714         than `\n\n', so that `\n\n\n' is valid in warnings.
1715         Reported by Steve Huston.
1717 2003-10-28  Akim Demaille  <akim@epita.fr>
1719         * Makefile.cfg (local_updates, executable-update): Tweak to be
1720         robust to parallel makes.
1721         Suggested by Alexandre Duret-Lutz.
1723 2003-10-27  Akim Demaille  <akim@epita.fr>
1725         * Makefile.cfg (executable-update): New.
1726         (local_updates): Call it.
1728 2003-10-27  Akim Demaille  <akim@epita.fr>
1730         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
1731         Don't remove core.* as it may remove valid user files.
1732         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
1733         (AC_FUNC_UTIME_NULL): Likewise.
1735 2003-10-23  Akim Demaille  <akim@epita.fr>
1737         Version 2.57g.
1738         * config/config.guess, config/config.sub: Upgrade from masters.
1740 2003-10-23  Akim Demaille  <akim@epita.fr>
1742         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
1743         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
1744         hand...
1746 2003-10-23  Akim Demaille  <akim@epita.fr>
1748         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
1749         Don't forget to remove conftest.err.
1751 2003-10-23  Akim Demaille  <akim@epita.fr>
1753         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
1754         same object file in $LIBOBJS.
1755         Reported by Alexandre Duret-Lutz & Derek Robert Price.
1756         * doc/autoconf.texi (Generic Functions): Adjust.
1758 2003-10-20  Paul Eggert  <eggert@twinsun.com>
1760         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
1761         Use 'eval', so that the resulting configure scripts work even if
1762         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
1764 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
1766         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
1767         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
1768         (_AC_LINK_IFELSE): Check the werror flag.
1769         * doc/autoconf.texi (Generic Compiler Characteristics): Document
1770         AC_LANG_WERROR.
1771         * NEWS: Mention it.
1773 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
1775         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
1776         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
1777         override AC_LINK_IFELSE.
1779 2003-10-15  Paul Eggert  <eggert@twinsun.com>
1781         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
1782         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
1783         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
1784         Mention /usr/dt/bin/dtksh on Solaris.
1785         (Shell Substitutions): Warn about $((...)).
1786         (Parentheses): New section.
1788 2003-10-15  Kevin Ryde  <user42@zip.com.au>
1790         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
1791         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
1793 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
1795         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
1796         cross test.
1798 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
1800         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
1801         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
1803 2003-10-10  Andreas Schwab  <schwab@suse.de>
1805         * bin/autoheader.in: Avoid empty first line in --version and
1806         --help output.
1807         * bin/ifnames.in: Likewise.
1809 2003-10-09  Paul Eggert  <eggert@twinsun.com>
1811         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
1812         Issue a more-informative diagnostic.
1813         Problems reported by Eric Sunshine.
1815 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
1817         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
1818         -mGLOB_options_string stuff for Intel ifc, which can cause
1819         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
1820         pattern-matching instead of grep.
1822 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
1824         * doc/autoconf.texi: Document new FC Fortran macros.
1826 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
1828         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
1829         that future autopoint/aclocal/automake/autoreconf will be able
1830         to trace to find where to install local m4 macros.
1831         * doc/autoconf.texi (Input): Document it.
1832         * NEWS: Updated.
1834 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
1836         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
1837         -lcrtbegin.o to list of ignored flags and fix underquoting of
1838         -lcrt[01].o.
1840 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
1842         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
1843         cache variable instead of $G77 to decide whether to include -O2,
1844         since $G77 is specific to Fortran 77.
1846 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
1848         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
1849         free" flag.  Re-order flags tested into rough order of popularity.
1851 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
1853         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
1854         arguments so that it can be used with syntax identical to
1855         AC_PROG_F77, and so that we can more easily decide to
1856         remove/deprecate the DIALECT optional argument in the future if it
1857         proves troublesome.
1858         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
1859         non-freeform-supporting compilers.  Document freeform flags.
1861 2003-10-03  Akim Demaille  <akim@epita.fr>
1863         * configure.ac: Look for emacs, not macs.
1864         Reported by Eric Sunshine.
1866 2003-10-03  Akim Demaille  <akim@epita.fr>
1868         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
1869         * bin/autoreconf.in (autoreconf_current_directory): Create the
1870         AUX_DIR if needed, for sake of automake --add-missing etc.
1871         Suggested by Alexandre Duret-Lutz.
1873 2003-10-03  Akim Demaille  <akim@epita.fr>
1875         * configure.ac: Quotation and formatting changes.
1876         (EMACS): Don't set it if it is not recent enough to support
1877         autoconf-mode.el.
1878         From Eric Sunshine.
1880 2003-10-02  Akim Demaille  <akim@epita.fr>
1882         * bin/ifnames.in (&scan_file): Skip C++ comments.
1883         From Jeremy Yallop.
1885 2003-10-01  Pavel Roskin  <proski@gnu.org>
1887         * doc/autoconf.texi (Particular Structure Checks):
1888         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
1890 2003-10-01  Akim Demaille  <akim@epita.fr>
1892         Version 2.57f.
1894 2003-09-30  Paul Eggert  <eggert@twinsun.com>
1896         * lib/Autom4te/XFile.pm: Use Errno.
1897         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
1898         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
1900 2003-09-30  Akim Demaille  <akim@epita.fr>
1902         * config/announce-gen (&print_news_deltas): Extracted from...
1903         (&print_changelog_deltas): here.
1904         (&news_file): Rename as...
1905         (@news_file): this.
1907 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
1909         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
1910         have been created when invoking the compiler.
1911         * tests/fortran.at (GNU Fortran 77): Quote $G77.
1913 2003-09-29  Akim Demaille  <akim@epita.fr>
1915         Version 2.57e.
1917         * config/mkinstalldirs: Upgrade.
1919 2003-09-28  Paul Eggert  <eggert@twinsun.com>
1921         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
1922         Problem reported by Lars J. Aas in
1923         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
1924         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
1925         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
1926         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
1928 2003-09-26  Akim Demaille  <akim@epita.fr>
1930         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
1931         directory for AC_CONFIG_COMMANDS' first argument exists.
1932         This makes valid the invocation of _AC_SRCPATH that follows.
1933         Reported by Eric Sunshine.
1934         * doc/autoconf.texi (Configuration Commands): Adjust.
1936 2003-09-26  Akim Demaille  <akim@epita.fr>
1938         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
1939         Reported by Ralf Corsepius.
1941 2003-09-26  Akim Demaille  <akim@epita.fr>
1943         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
1944         arguments.
1945         Actually, use AU_ALIAS.
1946         From Bruno Haible.
1948 2003-09-26  Paul Eggert  <eggert@twinsun.com>
1950         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
1951         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
1952         Problem reported by Eric Sunshine in:
1953         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
1955 2003-09-26  Akim Demaille  <akim@epita.fr>
1957         The test suite are sometimes assigning timings incorrectly.
1958         Reported by Henk Krus.
1959         Diagnosed by Nicolas Joly.
1961         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
1962         AT_help_all.
1963         Instead of making AT_help a sequence of assignments to grow
1964         $at_help_all, just make AT_help_all be the growing contents of
1965         $at_help_all, and make a single assignment in...
1966         (AT_INIT): here.
1967         (at_times_skip): Flip the meaning and rename as...
1968         (at_times_p): this.
1969         (AT_INIT): When summarizing the test that ran, remove
1970         $at_times_file after use, and check it is present before trying to
1971         use it.
1973 2003-09-25  Akim Demaille  <akim@epita.fr>
1975         Version 2.57d.
1977         * bin/Makefile.am (edit): Handle '@configure_input@'.
1978         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
1979         (ifnames): chmod -w.
1980         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
1981         executables, not bin/ executables!  Otherwise all the magic needed
1982         to find non installed files is turned off.  This caused a failure
1983         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
1984         as found in its environment (sent by tests/autoreconf): pointing
1985         to bin/autom4te that could not find its files.
1986         * tests/mktests.sh: Force the replacement of generated files, for
1987         the sake of "mv" program that are interactive when overwriting a
1988         -w file.
1989         * config/install-sh: Upgrade from CVS Automake.
1991 2003-09-23  Paul Eggert  <eggert@twinsun.com>
1993         * doc/autoconf.texi (Limitations of Builtins): Document test -h
1994         versus test -L issues.
1996 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
1997             Paul Eggert <eggert@twinsun.com>
1999         Trivial change to support GCC's configuration procedure.
2000         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
2001         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
2002         about inconsistency if the preprocessor is set to give errors for
2003         any warning.
2004         * doc/autoconf.texi (C Compiler Characteristics): Document this.
2006 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
2008         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
2009         and XFile.pm from Automake.
2010         * lib/Autom4te/XFile.pm: Update from Automake.
2012 2003-09-12  Akim Demaille  <akim@epita.fr>
2014         Version 2.57c.
2016 2003-09-12  Akim Demaille  <akim@epita.fr>
2018         * config/config.guess, config/config.sub, config/missing,
2019         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
2020         from masters.
2022 2003-09-12  Akim Demaille  <akim@epita.fr>
2024         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
2025         not asm/types.h.
2027 2003-09-11  Akim Demaille  <akim@epita.fr>
2029         * doc/autoconf.texi (Header Portability): linux/random.h.
2030         From Peter Hendrickson.
2032 2003-09-10  Akim Demaille  <akim@epita.fr>
2034         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
2035         willing to edit the output files.
2037 2003-09-10  Akim Demaille  <akim@epita.fr>
2039         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
2040         and AC_FC_FREEFORM.
2041         * tests/mktests.sh: Skip AC_FC_SRCEXT.
2042         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
2044 2003-09-09  Akim Demaille  <akim@epita.fr>
2046         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
2047         Reported by Gary Vaughan.
2048         * bin/autom4te.in (handle_m4): Likewise.
2050 2003-09-09  Akim Demaille  <akim@epita.fr>
2052         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
2053         trailing files.
2055 2003-09-07  Paul Eggert  <eggert@twinsun.com>
2057         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
2058         Improve the accuracy of the wording about obsolescence.
2059         From a suggestion by Ian Lance Taylor in
2060         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
2062 2003-09-05  Paul Eggert  <eggert@twinsun.com>
2064         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
2065         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
2067 2003-09-04  Akim Demaille  <akim@epita.fr>
2069         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
2070         AC_FUNC_WAIT3.
2072 2003-09-04  Akim Demaille  <akim@epita.fr>
2074         * bin/autom4te.in: Use &fatal where more appropriate than &error.
2075         (freeze): When exiting, use $exit_code.
2076         * lib/autoconf/fortran.m4: Comment changes.
2078 2003-09-04  Akim Demaille  <akim@epita.fr>
2080         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
2082 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
2084         Add support for newer Fortran dialects.  The F77 interface is
2085         unchanged, and continues to support Fortran 77.  New FC macros
2086         correspond to all the old F77 macros, with output variables FC,
2087         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
2088         available dialect, but older dialects can be specified.  There are
2089         new macros AC_FC_SRCEXT to set the source extension, and
2090         AC_FC_FREEFORM to accept free-form source files.
2092         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
2093         New macros.
2094         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
2095         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
2096         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
2097         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
2098         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
2099         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
2100         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
2101         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
2102         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
2103         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
2104         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
2105         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
2106         AC_FC_SRCEXT, AC_FC_FREEFORM):
2107         New macros.
2108         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
2109         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
2110         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
2111         Rewrite in terms of the above.
2112         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
2113         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
2114         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
2115         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
2117 2003-09-02  Paul Eggert  <eggert@twinsun.com>
2119         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
2120         Document problems with timestamp resolution that 'make', 'cp -p', and
2121         'touch -r' have.
2123 2003-08-27  Akim Demaille  <akim@epita.fr>
2125         * tests/m4sugar.at (cross_warning): Make sure to enable the
2126         output, so that we can track spurious m4sugar output.
2127         * tests/local.at: Require 2.57.
2128         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
2129         are defaulted by AT_CHECK anyway.
2130         Use AT_CHECK_AUTOM4TE.
2131         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
2132         missing dnl.
2134 2003-08-27  Akim Demaille  <akim@epita.fr>
2136         * bin/autoheader.in: Issue the "Using auxiliary..." message only
2137         when -Wobsolete is set.
2138         Set it on by default.
2139         Suggested by Klee Dienes.
2141 2003-08-27  Akim Demaille  <akim@epita.fr>
2143         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
2144         documentation.
2145         From Guido Draheim.
2147 2003-08-26  Akim Demaille  <akim@epita.fr>
2149         * doc/autoconf.texi (Output): Make clear that one can run code
2150         after AC_OUTPUT.
2152 2003-08-25  Akim Demaille  <akim@epita.fr>
2154         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
2155         CVS Bison.
2157 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
2159         * bin/autoreconf.in (parse_args): Do not pass --no-force to
2160         Automake versions prior to 1.8.
2162 2003-08-25  Akim Demaille  <akim@epita.fr>
2164         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
2165         From Ville Karaila.
2167 2003-08-24  Akim Demaille  <akim@epita.fr>
2169         * configure.ac: Bump to 2.57c.
2171 2003-08-22  Akim Demaille  <akim@epita.fr>
2173         Version 2.57b.
2175         * Makefile.cfg (local-checks-to-skip): New.
2176         * Makefile.maint (local-check): Rename as...
2177         (local-checks-available): this.
2178         (local-check): New.
2180         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
2181         * configure.ac: Require Automake 1.7.6.
2183 2003-08-22  Akim Demaille  <akim@epita.fr>
2185         Output stack traces in warnings.
2187         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
2188         Replace the former...
2189         (m4_warn): Pass the call stack to _m4_warn.
2190         * bin/autom4te.in: Adjust to output the call stack.
2191         * tests/m4sugar.at (m4@&t@_warn): Adjust.
2193 2003-08-22  Akim Demaille  <akim@epita.fr>
2195         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
2196         * bin/autom4te.in: Adjust.
2198 2003-08-21  Akim Demaille  <akim@epita.fr>
2200         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
2201         (&verbose): Remove.
2202         (&getopt): Adjust the note and verb channels, depending upon
2203         --verbose.
2204         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
2205         * bin/autoupdate.in: Adjust.
2206         Use &verb, not &verbose.
2208 2003-08-21  Akim Demaille  <akim@epita.fr>
2210         * bin/autoheader.in (&parse_args): Use &parse_warnings and
2211         &parse_WARNINGS.
2212         ($help): Use Autom4te::ChannelDefs::usage.
2213         * bin/autoscan.in: Use Autom4te::ChannelDefs.
2214         * lib/Autom4te/General.pm: Don't export error: you don't own it.
2216 2003-08-21  Akim Demaille  <akim@epita.fr>
2218         First stab at preserving warnings between calls to autom4te,
2219         including when the cache is used.
2221         There are still several issues: (i) there are too many runs of m4
2222         (one for include, one for warnings, and some more), (ii) warnings
2223         spreading on several lines are not handled gracefully, (iii) the
2224         code meant to have the call stack display for errors does not work
2225         (its handling should move from m4 to autom4te).
2227         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
2228         Use them.
2229         (@preselect): Add m4_warn.
2230         ($exit_status): Remove, use $exit_code.
2231         ($help): Use Autom4te::ChannelDefs::usage.
2232         (&handle_m4): No longer define the m4_warnings.
2233         At each run, extract and report the warnings.
2234         Always cache the result, including if the exit status is on
2235         failure, since if nothing changes, we should result in the same
2236         failure, hence we can use the cache.
2237         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
2238         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
2239         Remove.
2240         (m4_warn): Redefine as a do-nothing: it is its invocation that
2241         matters, as warnings are now reported via traces.
2242         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
2243         the contents of m4_warn: make it _call_ m4_warn, so that tracing
2244         the latter reveals calls to the former.
2246         Adjust the tests.
2248         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2250 2003-08-21  Akim Demaille  <akim@epita.fr>
2252         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
2253         Use them.
2255 2003-08-21  Akim Demaille  <akim@epita.fr>
2257         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
2258         forward order.
2259         * lib/Autom4te/ChannelDefs.pm: Doc typos.
2260         (&parse_warnings): Accept a list of warning requests.
2261         (&usage): Return a string, not a side effect.
2262         (cross): New warning category.
2264 2003-08-21  Akim Demaille  <akim@epita.fr>
2266         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
2267         (&require_configure_ac): Accept an optional directory argument.
2268         ($configure_ac): Remove.
2269         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
2270         (&catfile): Remove.
2271         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
2272         * bin/autoscan.in: Adjust.
2274 2003-08-20  Akim Demaille  <akim@epita.fr>
2276         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
2277         Reported by Alexandre Duret-Lutz.
2279 2003-08-20  Akim Demaille  <akim@epita.fr>
2281         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
2282         * bin/autom4te: Adjust.
2283         In particular, be Autoconf tools are really silent when properly
2284         working, bind the verbosity of the 'note' channel to $verbose.
2285         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
2286         (&xsystem, &contents): Remove, since they are exported by...
2287         * lib/Autom4te/FileUtils.pm: this.
2288         More perldoc.
2289         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
2290         * lib/Autom4te/FileUtils.pm: here.
2292 2003-08-20  Akim Demaille  <akim@epita.fr>
2294         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
2295         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
2296         from CVS Automake.
2298 2003-08-20  Akim Demaille  <akim@epita.fr>
2300         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
2301         (autom4te-update): New.
2302         * Makefile.cfg (update): Bind autom4te-update.
2304 2003-08-19  Derek Price  <derek@ximbiot.com>
2306         * lib/autotest/general.m4: Comment various HELP_* diversions.
2307         (PARSE_ARGS_BEGIN): New section for option parsing related
2308         initialization.
2309         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
2310         package specific options and associated help.
2312 2003-08-19  Akim Demaille  <akim@epita.fr>
2314         * config/announce-gen, Makefile.cfg: New.
2315         * Makefile.am: Adjust.
2316         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
2318 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
2320         * lib/autom4te.in (Automake-preselections): Preselect
2321         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
2322         and m4_sinclude.
2324 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
2326         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
2327         (Autoconf-without-aclocal-m4): ... this new language.
2328         * doc/autoconf.texi (autom4te Invocation): Mention
2329         Autoconf-without-aclocal-m4.
2331 2003-08-18  Derek Price <derek@ximbiot.com>
2333         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
2334         RUN-IF-PASS optional arguments.
2336 2003-08-18  Derek Price  <derek@ximbiot.com>
2338         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
2340 2003-08-16  Derek Price  <derek@ximbiot.com>
2342         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
2343         STDOUT & STDERR arguments.
2345 2003-08-14  Derek Price  <derek@ximbiot.com>
2347         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
2348         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
2349         shorter column three.  Add DESCRIPTION to log file content.
2351 2003-08-13  Derek Price  <derek@ximbiot.com>
2353         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
2354         output.
2356 2003-08-12  Derek Price  <derek@ximbiot.com>
2358         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
2359         (AT_CHECK_NOESCAPE): Move core functionality to...
2360         (_AT_CHECK): ...this new macro.
2362 2003-08-07  Derek Price  <derek@ximbiot.com>
2364         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
2365         (AT_CHECK_NOESCAPE): ...to this new macro.
2367 2003-07-31  Paul Eggert  <eggert@twinsun.com>
2369         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
2370         in Bash 2.01.  Problem reported by Brian Gough in
2371         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
2373 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
2375         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
2376         -lcrt1.o, for OS X.  (trivial change)
2378 2003-07-07  Paul Eggert  <eggert@twinsun.com>
2380         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
2381         inside '#ifndef __cplusplus'.  Problem reported by
2382         Bob Friesenhahn.
2384 2003-07-06  Bill Clarke  <llib@computer.org>
2386         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
2387         'long', not 'int', for benefit of Sun's recent C++ compilers
2388         (trivial change).  See:
2389         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
2390         (This really should be 'intptr_t', not 'long', but that would
2391         take more work.)
2393 2003-06-25  Akim Demaille  <akim@epita.fr>
2395         * lib/Makefile.am (autom4te.cfg): Make it read only.
2396         Depend on Makefile since it contains substitutions.
2397         From Paolo Bonzini.
2398         * lib/autom4te.in (args): Add local.at? for Autotest args.
2399         This change was made on autom4te.cfg which is generated.
2400         Reported by Raja R. Harinath.
2402 2003-06-25  Akim Demaille  <akim@epita.fr>
2404         * doc/autoconf.texi (Header Portability): sys/mount.h.
2405         From Gareth McCaughan.
2407 2003-06-23  Akim Demaille  <akim@epita.fr>
2409         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
2410         not all of them.  This fixes 1. the fact that when testing
2411         Autoconf there are many many config.log, 2. the incorrect use of
2412         top_srcdir to find config.log.
2413         Don't mix the detailed output of failed test with the summary of
2414         failures.  Rather, append detailed log afterwards.
2416 2003-06-23  Akim Demaille  <akim@epita.fr>
2418         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
2419         always run: output config.log on $at_group_log.
2421 2003-06-23  Akim Demaille  <akim@epita.fr>
2423         * tests/torture.at (#define header templates): Don't use quotes in
2424         C++ comments as it puzzles Emacs' sh font-lock-mode.
2426 2003-06-23  Akim Demaille  <akim@epita.fr>
2428         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
2429         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
2430         * tests/atspecific.m4: Rename as...
2431         * tests/local.at: This.
2432         * tests/suite.at: Move the globals into...
2433         * tests/local.at: here.
2434         * tests/Makefile.am: Adjust.
2435         * doc/autoconf.texi (testsuite Scripts): Adjust.
2437 2003-06-21  Kevin Ryde  <user42@zip.com.au>
2439         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
2440         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
2441         ensuring we add -std1 for full-ANSI.
2443         * doc/autoconf.texi (hdrindex): New macro.
2444         Add index entries for portability of various standard header files.
2446 2003-06-20  Akim Demaille  <akim@epita.fr>
2448         * configure.ac: Bump to 2.57b.
2450 2003-06-20  Akim Demaille  <akim@epita.fr>
2452         Version 2.57a.
2454 2003-06-20  Akim Demaille  <akim@epita.fr>
2456         * bin/autom4te.in: Don't rely on $HOME being defined.
2457         Reported by Marc Espie as PR/233.
2459 2003-06-20  Akim Demaille  <akim@epita.fr>
2461         * lib/autotest/general.m4: Use at_times_file only if used.
2462         From Nicolas Joly.
2464 2003-06-20  Akim Demaille  <akim@epita.fr>
2466         * config/config.guess, config/config.sub, config/elisp-comp,
2467         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
2468         Update from masters.
2470 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
2472         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
2473         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
2474         (TEST_SCRIPT): New diversion.
2475         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
2476         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
2477         (AT_INIT): Support for expected failures.
2479 2003-06-02  Akim Demaille  <akim@epita.fr>
2481         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
2482         changes.
2483         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
2484         Autoconf nor Automake.
2485         (&contents): New, from Automake.
2486         PODify.
2488 2003-05-28  Paul Eggert  <eggert@twinsun.com>
2490         * NEWS, doc/autoconf.texi (Particular Functions),
2491         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
2492         is the inverse of localtime.
2494 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
2496         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
2497         (handle_exec_errors): New function.  Work around $! being
2498         altered by WEXITSTATUS.
2499         (xqx, xsystem): Use handle_exec_errors.
2501 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
2503         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
2504         Do not call `_exit()', simply modify `$?'.
2505         (xsystem): Reset $! before running system, and check it afterward.
2506         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
2507         63 for version mismatches.
2509 2003-05-23  Akim Demaille  <akim@epita.fr>
2511         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
2512         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
2513         the middle of a line).
2514         * lib/m4sugar/m4sugar.m4: Likewise.
2515         Remove useless spaces in comments.
2517 2003-05-23  Akim Demaille  <akim@epita.fr>
2519         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
2520         exit 63, so that we (or Automake's "missing") can tell the
2521         difference with a plain failure.
2522         * doc/autoconf.texi (Notices): Adjust.
2524 2003-05-23  Akim Demaille  <akim@epita.fr>
2526         * Makefile.am, bin/Makefile.am, config/Makefile.am,
2527         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
2528         White spaces cleanup.
2530 2003-05-22  Jim Meyering  <jim@meyering.net>
2531             Paul Eggert <eggert@twinsun.com>
2533         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
2534         Remove `#include <stdlib.h>' from the list; we should never
2535         make confdefs.h include <stdlib.h> or <cstdlib>, because the
2536         resulting namespace pollution would cause other tests to fail.
2537         Configure scripts run with some older versions of g++ and HP's
2538         aCC would fail due to such an #include.  Problems reported by
2539         Matthew Mueller in <http://bugs.debian.org/120704> and by
2540         Keith Bostic in
2541         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
2542         In the test, use the test declaration before including <stdlib.h>,
2543         as that's closer to how it'll be used.
2545 2003-05-23  Akim Demaille  <akim@epita.fr>
2547         * doc/autoconf.texi (Header Portability): ucred.h.
2548         From Ian Redfern.
2550 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
2552         Overhaul Autotest's logging: generate separate log files
2553         in testsuite.dir/NNN/testsuite.log, and append them to
2554         testsuite.log instead of re-running the test verbosely.
2556         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
2557         file descriptor, write 0 to at_status_file instead of setting
2558         at_status=0, initialize some new variables (at_status_file,
2559         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
2560         to rerun the tests, instead append the at_group_log to the
2561         at_suite_log when a test fails.
2562         (AT_SETUP): pipe the test case's output into at_tee_pipe,
2563         with the AS_MESSAGE_LOG_FD redirected to stdout.
2564         (AT_CLEANUP): save the output status in $at_status_file
2565         and restore it, redirect the AS_MESSAGE_LOG_FD back to
2566         its original place.
2567         (AT_CHECK): since tests are run with a redirected stdout,
2568         and used to be re-run in verbose mode, turn some $at_verbose
2569         into echo, and don't redirect the output of testing stdout
2570         and stderr.
2572         * lib/autotest/autoconf.texi (testsuite Scripts): Update
2573         the name of the debugging directory and information about
2574         its contents.
2576 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
2578         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
2579         parameter.
2581 2003-05-22  Akim Demaille  <akim@epita.fr>
2583         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
2584         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
2585         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
2586         * lib/autoconf/status.m4: Fix and adjust copyright notices.
2588 2003-05-22  Akim Demaille  <akim@epita.fr>
2590         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
2591         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
2592         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
2593         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
2594         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
2595         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
2596         * lib/autoconf/status.m4, lib/autoconf/types.m4,
2597         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
2598         * tests/atspecific.m4, tests/base.at, tests/compile.at,
2599         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
2600         * tests/tools.at, tests/torture.at:
2601         Whitespace clean up.
2602         Suggested by Jim Meyering.
2604 2003-05-22  Akim Demaille  <akim@epita.fr>
2606         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
2607         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
2608         Reported by Jim Meyering.
2610 2003-05-22  Akim Demaille  <akim@epita.fr>
2612         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
2613         Add AC_HELP_STRING  to the obsolete macros section.
2614         Typos.
2615         Use '@.' for sentences that ended in a capital letter.
2616         From Art Haas.
2618 2003-05-22  Akim Demaille  <akim@epita.fr>
2620         * config/config.guess, config/config.sub, config/elisp-comp,
2621         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
2622         * config/texinfo.tex, doc/standards.texi: Update from masters.
2624 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
2626         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
2627         it to eval.
2629 2003-05-21  Akim Demaille  <akim@epita.fr>
2631         * bin/autoupdate.in ($m4): Fix quotation.
2632         Reported by Martin Mokrejs.
2634 2003-05-19  Paul Eggert  <eggert@twinsun.com>
2636         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
2637         Remove non-ASCII characters.
2639 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
2641         * tests/semantics.at (AC_SEARCH_LIBS): New test.
2642         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
2643         AC_CHECK_HEADERS_NEW): New tests.
2645 2003-05-17  Akim Demaille  <akim@epita.fr>
2647         * lib/autoconf/functions.m4: Use the default includes so that
2648         memcmp be declared before being tested.
2649         Reported by Sander Niemeijer.
2650         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
2651         * doc/autoconf.texi (Default Includes): Document
2652         AC_INCLUDES_DEFAULT.
2654 2003-05-17  Akim Demaille  <akim@epita.fr>
2656         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
2657         * doc/autoconf.texi (Obsolete Macros): Adjust.
2658         Reported by Werner LEMBERG and Debian Bug 190886.
2660 2003-05-16  Akim Demaille  <akim@epita.fr>
2662         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
2663         user name space clashes.
2664         Reported by Bruno Haible.
2666 2003-05-16  Akim Demaille  <akim@epita.fr>
2668         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2669         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
2670         them uniform, and more robust to Perl special characters.
2671         Reported by Martin Mokrejs.
2673 2003-05-14  Akim Demaille  <akim@epita.fr>
2675         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
2677 2003-05-14  Akim Demaille  <akim@epita.fr>
2679         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
2680         linux/irda.h.
2682 2003-05-12  Akim Demaille  <akim@epita.fr>
2684         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
2685         message.
2686         From Matthias Andree.
2688 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
2690         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
2691         and truncate.
2693 2003-05-06  Akim Demaille  <akim@epita.fr>
2695         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
2696         longer updates aclocal.m4 if useless, (ii) if a file m4_included
2697         by aclocal.m4 is changed it might require the importing of another
2698         m4 extension file, i.e., aclocal must be run.
2700         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
2701         (&parse_args): Use --force with aclocal if required and supported.
2702         (&autoreconf_current_directory): Use &run_aclocal.
2704 2003-05-06  Akim Demaille  <akim@epita.fr>
2706         Lock autom4te's cache.
2708         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
2709         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
2710         argument instead of a file name, so that the request file remains
2711         open during the whole autom4te run.
2712         ($icache_file): New.
2713         (&freeze): Lock the $icache_file.
2715 2003-04-29  Derek Price  <derek@ximbiot.com>
2717         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
2718         seperator with m4_append_uniq().  It doesn't work.
2719         (AT_CLEANUP): Add `;' to end of at_help_all.
2720         (AT_INIT): Allow --keywords to be specified more than once.  When
2721         grepping $at_help_all for keywords, use the field and keyword
2722         seperators to ensure a complete keyword match.  Alter at_prev handling
2723         to support the new --keywords behavior.
2725 2003-04-27  Karl Berry  <karl@freefriends.org>
2727         * doc/autoconf.texi: Make the dir entries in the autoconf manual
2728         align better with others.  I also made some of the individual
2729         entries on one line, for brevity and to make it easier for me to
2730         sort my dir-example file in the Texinfo distribution :).
2732 2003-04-12  Jim Meyering  <jim@meyering.net>
2734         * NEWS: Mention the new macro.
2735         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
2736         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
2737         * tests/c.at: Test AC_C_RESTRICT.
2738         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
2740 2003-04-08  Akim Demaille  <akim@epita.fr>
2742         * bin/ifnames.in: Skip C++ comments.
2743         From Jeremy Yallop.
2745 2003-04-08  Akim Demaille  <akim@epita.fr>
2747         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
2748         From Ilya Zakharevich.
2750 2003-04-08  Akim Demaille  <akim@epita.fr>
2752         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
2753         net/if.h, stdlib.h.
2755 2003-04-01  Derek Price  <derek@ximbiot.com>
2757         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
2758         from Akim's checkin of 2003-03-29.
2760 2003-04-01  Derek Price  <derek@ximbiot.com>
2762         * tests/torture.at (Configuring subdirectories): Add missing
2763         close-quote for Akim's change from 2003-03-28.
2765 2003-04-01  Akim Demaille  <akim@epita.fr>
2767         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
2768         (AC, AT, MS): these.
2769         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
2770         New.
2771         Use them.
2772         * doc/Makefile.am (CLEANFILES): Adjust.
2773         (TEXI2DVI): Make it --batch.
2775 2003-03-31  Derek Price  <derek@ximbiot.com>
2777         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
2778         which removed the main loop.
2779         Thanks to Akim Demaille.
2781 2003-03-29  Akim Demaille  <akim@epita.fr>
2783         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
2784         that starts a GUI.
2785         From Ilya Zakharevich.
2787 2003-03-29  Akim Demaille  <akim@epita.fr>
2789         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
2790         documentation to read is Autoconf's.
2791         Suggested by Paul Eggert.
2793 2003-03-28  Akim Demaille  <akim@epita.fr>
2795         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
2796         reading the section "Present But Cannot Be Compiled" when the
2797         header causes problems.
2799 2003-03-28  Akim Demaille  <akim@epita.fr>
2801         * tests/torture.at (Configuring subdirectories): Require aclocal
2802         1.4, otherwise the test fails, as it does support configure.ac.
2803         This fixes the "test 40 failed" bug reports.
2805 2003-03-28  Akim Demaille  <akim@epita.fr>
2807         * doc/autoconf.texi (C Compiler): `#line' portability.
2808         From Paul Eggert and Nelson H. F. Beebe.
2810 2003-03-27  Derek Price  <derek@ximbiot.com>
2812         * lib/autotest/general.m4: Eliminate main loop and reorganize test
2813         layout in order to allow scripting around test groups.
2815 2003-03-27  Derek Price  <derek@ximbiot.com>
2817         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
2818         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
2819         use new diversions in preparation for accepting new arguments and
2820         allowing scripting around tests.
2821         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
2823 2003-03-26  Derek Price  <derek@ximbiot.com>
2825         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
2826         obsolete AC_HELP_STRING.
2827         (AC_HELP_STRING): AU_DEFUN to...
2828         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
2829         * tests/m4sh.at (AS_HELP_STRING): New test.
2831         * tests/acgeneral.at: Regenerated.
2833 2003-03-26  Derek Price  <derek@ximbiot.com>
2835         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
2836         sense.  Verbosify the diversion definitions comment.
2838 2003-03-26  Derek Price  <derek@ximbiot.com>
2840         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
2841         AS_PREPARE.
2843 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
2845         * doc/autoconf.texi (Present But Cannot Be Compiled):
2846         Grammar fixes and minor rewording. (trivial change)
2848 2003-03-06  Paul Eggert  <eggert@twinsun.com>
2850         Work around a problem noted by Nelson H. F. Beebe with coreutils
2851         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
2852         2002/05/09) rejects '#line 32768 "configure"' because the line
2853         number overflows.
2854         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
2855         #line directives.
2856         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
2857         * doc/autoconf.texi (Generating Sources): Document this.
2859 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
2861         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
2862         file name for the m4 program, when it has an "exe" file extension.
2863         DJGPP's error messages include the error code in brackets -
2864         remove the error code during normalization.
2866 2003-02-28  Akim Demaille  <akim@epita.fr>
2868         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
2870 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
2872         * doc/autoconf.texi (Limitations of Make): Remove the section
2873         about `$<' in inference rules, it was a bogus interpretation of
2874         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
2875         Tru64 make in the "target lookup" section.
2876         (Automake): Automake 1.5+ no longer requires special tools to be
2877         present on the developer's host.
2879 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
2881         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
2882         to a shell that can handle redirection or quoting correctly.
2883         Override SHELL with the shell detected by configure.
2884         Use of $^O suggested by Tim van Holder.
2885         * bin/autom4te.in (BEGIN): Likewise.
2886         * bin/autoreconf.in (BEGIN): Likewise.
2887         * bin/autoscan.in (BEGIN): Likewise.
2888         * bin/autoupdate.in (BEGIN): Likewise.
2889         * bin/ifnames.in (BEGIN): Likewise.
2891         * bin/ifnames.in: Add final newline to help and version messages.
2893         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
2894         to cope with DOS-style absolute paths, when constructing
2895         ${ac_make}.
2897         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
2898         When constructing paths with IFS=:, quote the path. If we're
2899         constructing a DOS-style absolute path, we don't want to split it
2900         on the colon.
2902         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
2903         in description.
2905 2003-02-25  Pavel Roskin  <proski@gnu.org>
2907         * bin/autoheader.in: Add missing newline when printing
2908         suggestion how change AC_DEFINE call.
2910 2003-02-24  Paul Eggert  <eggert@twinsun.com>
2912         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
2913         2002-09-01 patch by replacing "test -n" with "test -z".
2914         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
2915         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
2917         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
2918         to fix a mismatch between example and discussion.
2920 2003-02-24  Kevin Ryde  <user42@zip.com.au>
2922         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
2923         format starting with "-".
2925 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
2927         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
2928         is not portable inside Makefile.
2930 2003-02-20  Akim Demaille  <akim@epita.fr>
2932         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
2933         compiler says yeah, but preproc says nope, compiler is right.
2934         Conversely, prompt the reader to send a bug report to the
2935         maintainers of the package, not of Autoconf.
2937 2003-02-20  Klee Dienes  <kdienes@apple.com>
2939         * bin/autoreconf.in (autoreconf_current_directory): Properly
2940         handle an empty aclocal.m4.
2942 2003-02-20  Akim Demaille  <akim@epita.fr>
2944         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
2945         $ac_prefix_program.
2946         From Larry Jones.
2948 2002-12-23  Paul Eggert  <eggert@twinsun.com>
2950         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
2951         innocuous variant befor including <limits.h> or <assert.h>.  This
2952         works around a bug reported by Albert Chin: HP-UX 11i
2953         (and earlier versions) have a <limits.h> that declares
2954         gettimeofday and many other functions.
2956 2002-12-03  Paul Eggert  <eggert@twinsun.com>
2958         Version 2.57.
2960         * NEWS, configure.ac: Update version.
2962         * doc/fdl.texi: Upgrade to FDL version 1.2.
2964         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
2965         nontrivially in main's body, so that f's external declaration is
2966         not optimized away in AIX.  This should fix the bug reported by
2967         Martin Frydl in
2968         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
2970         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
2971         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
2972         defined, to support freestanding compilers.  This should fix the
2973         bug reported by Momchil Velkov in
2974         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
2976         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
2977         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
2978         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
2979         by Simon Josefsson in
2980         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
2982         * Makefile.maint (www-gnu): New macro.
2983         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
2984         the location has moved.
2986 2002-12-02  Martin Frydl  <martin@systinet.com>
2988         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
2989         \(.*\) match is too long and there is something more to be checked.
2990         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
2992 2002-11-15  Akim Demaille  <akim@epita.fr>
2994         Version 2.56.
2996         * config/install-sh: chmod +x.
2997         From Paul Eggert.
2998         * config/move-if-change: Indenting changes.
2999         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
3000         * configure.ac (AM_INIT_AUTOMAKE): here.
3001         Require 1.7.1.
3003 2002-11-14  Akim Demaille  <akim@epita.fr>
3005         Version 2.55.
3007         * config/config.guess, config/config.sub, config/install-sh:
3008         Update from masters.
3010 2002-11-14  Akim Demaille  <akim@epita.fr>
3012         * Makefile.maint: Sync with Bison, i.e.:
3013         (po-check): Scan .l and .y files instead of the
3014         .c and the .h files that they generate.  This fixes the bug
3015         reported by Tim Van Holder in:
3016         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
3017         Look for N_ as well as for _.  Try to avoid matching #define for
3018         N_ and _.
3019         From Paul Eggert.
3021 2002-11-14  Akim Demaille  <akim@epita.fr>
3023         * doc/autoconf.texi (C Compiler): Compiling several files at once.
3024         From Paul Eggert and Albert Chin-A-Young.
3026 2002-11-14  Akim Demaille  <akim@epita.fr>
3028         * doc/autoconf.texi (C Compiler): Solitary backslashes.
3029         From Paul Eggert and Albert Chin-A-Young.
3031 2002-11-14  Kevin Ryde  <user42@zip.com.au>
3033         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
3034         than assigning in main, to avoid HP cc +O3 optimizing it away.
3036 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
3038         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
3039         option.  Process --recheck after parsing all options.  Pass -q
3040         option to configure on --recheck.
3041         (AC_OUTPUT): Pass -q from configure to config.status.
3042         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
3043         arguments to record.
3044         * doc/autoconf.texi (config.status Invocation): Document
3045         config.status -q option.
3047 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
3049         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
3050         Makefile.in if Makefile.am exists.
3051         (output): Strip `.am' from Makefiles.  Don't
3052         output AC_CONFIG_FILES if no Makefiles were found.
3054 2002-11-07  Akim Demaille  <akim@epita.fr>
3056         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
3057         (local_updates): New.
3058         * Makefile.maint: Update, from CVS Bison.
3059         (local_updates): New.
3061 2002-11-06  Akim Demaille  <akim@epita.fr>
3063         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
3064         declaration in extern "C" too.
3065         Reported by Roberto Bagnara.
3067 2002-11-06  Akim Demaille  <akim@epita.fr>
3069         * tests/torture.at (Configuring subdirectories): Don't use grep
3070         -w.
3071         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
3072         Reported by Ezra Peisach.
3074 2002-11-05  Akim Demaille  <akim@epita.fr>
3076         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
3077         Remove.
3078         We _have_ to stop using the old compatibility scheme that tried to
3079         avoid useless backslashes because Libtool 1.4.3 contains a
3080         AC_DEFINE([error_t], [int],
3081         [Define to a type to use for \`error_t' if it is not
3082         otherwise available.])
3083         We _have_ to quote the single quote and backslashes with \.  The
3084         old compatibility scheme saw that ` was backslashed, and therefore
3085         did not quote the single quote.  Hence before this patch, Autoconf
3086         was not compatible with Libtool.
3088 2002-11-04  Paul Eggert  <eggert@twinsun.com>
3090         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
3091         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
3092         LC_NAME, LC_PAPER, LC_TELEPHONE.
3093         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
3095 2002-11-04  Akim Demaille  <akim@epita.fr>
3097         Version 2.54c.
3099         * Makefile.maint (update, cvs-update, po-update, do-po-update):
3100         New.
3101         * config/texinfo.tex: Update.
3103 2002-11-03  Akim Demaille  <akim@epita.fr>
3105         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
3106         from...
3107         (&autoreconf): here.
3108         ($help, $make, &parse_args, &autoreconf_current_directory):
3109         Support -m/--make.
3110         * doc/autoconf.texi (autoreconf Invocation): Adjust.
3112 2002-10-31  Bruno Haible  <bruno@clisp.org>
3114         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
3115         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
3116         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
3117         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
3118         to ac_cv_func_realloc_0_nonnull.
3119         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
3121 2002-10-31  Akim Demaille  <akim@epita.fr>
3123         The test suite was no longer checking for trailing envvars and files.
3125         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
3126         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
3128 2002-10-31  Akim Demaille  <akim@epita.fr>
3130         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
3131         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
3132         Make variable, not a shell variable.
3133         Suggested by Bruno Haible.
3135 2002-10-31  Akim Demaille  <akim@epita.fr>
3137         * bin/autom4te.in (load_configuration): Reject #args out of any
3138         language.
3140 2002-10-31  Akim Demaille  <akim@epita.fr>
3142         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
3143         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3144         (_AC_RUN_IFELSE): Use it.
3145         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
3146         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3147         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
3148         inline it.
3150 2002-10-30  Akim Demaille  <akim@epita.fr>
3152         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
3153         * doc/autoconf.texi (autom4te Invocation): Adjust.
3154         Suggested by Tim van Holder.
3156 2002-10-29  Paul Eggert  <eggert@twinsun.com>
3158         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
3159         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
3160         Problem reported by Bruno Haible.
3162 2002-10-29  Akim Demaille  <akim@epita.fr>
3164         * doc/autoconf.texi (Header Templates): Put also in words what the
3165         pictures says to assist free style readers.
3166         (Customizing autom4te): s/--cache=/--cache /.
3168 2002-10-29  Akim Demaille  <akim@epita.fr>
3170         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
3171         sys/wait.h.
3172         sparc_address_test returns void.
3173         Use it with an argument, as prototyped.
3174         From Bruno Haible.
3176 2002-10-29  Akim Demaille  <akim@epita.fr>
3178         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
3179         configure.in, not configure.ac.
3180         Reported by Bruno Haible.
3182 2002-10-29  Akim Demaille  <akim@epita.fr>
3184         * tests/torture.at (Deep Package): New test.
3185         (Configuring subdirectories): Don't use a testSubDir as Autotest
3186         now does it itself.
3188 2002-10-29  Akim Demaille  <akim@epita.fr>
3190         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
3191         * doc/autoconf.texi (Invoking autom4te): Rename as...
3192         (autom4te Invocation): this, for consistency with the other nodes.
3194 2002-10-29  Akim Demaille  <akim@epita.fr>
3196         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
3197         Reported by Ralf Corsepius.
3199 2002-10-29  Akim Demaille  <akim@epita.fr>
3201         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3202         characters is a back as an `obsolete' warning now.
3203         Reported by Ralf Corsepius.
3205 2002-10-28  Akim Demaille  <akim@epita.fr>
3207         * configure.ac: Bump to 2.54c.
3209 2002-10-28  Akim Demaille  <akim@epita.fr>
3211         Version 2.54b.
3213         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
3215 2002-10-28  Akim Demaille  <akim@epita.fr>
3217         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
3218         m4 executable names, and different GNU M4 version.
3219         Reported by Ezra Peisach and Paul Jarc.
3221 2002-10-27  Akim Demaille  <akim@epita.fr>
3223         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
3224         AC_RUN_IFELSE.
3226 2002-10-27  Akim Demaille  <akim@epita.fr>
3228         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
3229         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
3230         Die when a simple Fortran program cannot be compiled.
3231         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
3232         Issue a warning if no function is given.
3234 2002-10-27  Akim Demaille  <akim@epita.fr>
3236         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
3237         Move the documentation of AC_TRY_RUN to...
3238         (Obsolete Macros): here.
3239         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
3240         (autoconf Invocation): Remove the duplicates with `invoking
3241         autom4te'.
3242         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
3243         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
3245 2002-10-27  Akim Demaille  <akim@epita.fr>
3247         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
3248         and AC_LANG_FUNC_LINK_TRY.
3249         (Examining Libraries): Rename as...
3250         (Running the Linker): this.
3251         Document AC_LINK_IFELSE.
3252         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
3253         (Obsolete Macros): here.
3254         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
3255         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
3256         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
3257         * lib/autoconf/headers.m4 (AC_USG): Likewise.
3259 2002-10-27  Akim Demaille  <akim@epita.fr>
3261         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
3263         More `check config.log' messages.
3265         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
3266         * doc/autoconf.texi (Printing Messages): Document it.
3267         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
3268         appropriate.
3269         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
3270         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
3271         (_AC_COMPILER_OBJEXT): Likewise.
3272         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
3273         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
3274         Likewise.
3275         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
3276         Likewise.
3278         Deprecate macros with unusual interfaces.
3280         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
3281         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
3283         Document the new ones, and proper style.
3285         * doc/autoconf.texi (Generating Sources): New.
3286         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
3287         (Examining Declarations): Rename as...
3288         (Running the Preprocessor): this.
3289         Document AC_PREPROC_IFELSE.
3290         (Examining Syntax): Rename as...
3291         (Running the Compiler): this.
3292         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
3293         (Obsolete Macros): Move the definition of AC_TRY_CPP and
3294         AC_TRY_COMPILE here.
3296 2002-10-27  Akim Demaille  <akim@epita.fr>
3298         Move sections around.
3300         * doc/autoconf.texi (Customizing autom4te): Remove a lost
3301         sentence.
3302         Reported by Burno Haible.
3303         (Language Choice): Now the first section of...
3304         (Writing Tests): this section.
3305         Make the introduction less C-centric.
3306         (Guidelines, Test Functions): Move to...
3307         (Writing Test Programs): this new section.
3308         (Test Programs): Merge into...
3309         (Run Time): this.
3311 2002-10-27  Akim Demaille  <akim@epita.fr>
3313         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
3314         autom4te.in that resulted in the need for two `make' runs.
3316 2002-10-27  Akim Demaille  <akim@epita.fr>
3318         * configure.ac: Bump to 2.54b.
3320 2002-10-25  Akim Demaille  <akim@epita.fr>
3322         Version 2.54a.
3324         * Makefile.maint: Update from the Coreutils.
3325         (AMTAR): Remove, obsolete.
3326         (automake_repo): Update to redhat.com.
3327         (cvs_file): New.
3328         Adjust to the fact that ansi2knr is now hosted by Automake.
3329         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
3330         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
3331         Update from masters.
3332         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
3333         autoscan.pre is not to be installed, and autoscan.list is not to
3334         be shipped.
3335         (CLEANFILES): Add autoscan.list.
3336         (autoscan.list): Disable the cache.
3337         * bin/Makefile.am: Include freeze.mk.
3339 2002-10-25  Akim Demaille  <akim@epita.fr>
3341         * bin/autom4te.in (&load_configuration): Take the file as
3342         argument.
3343         (&parse_args): Handle -C, --cache.
3344         ($help): Adjust.
3345         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
3346         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
3347         * doc/autoconf.texi (Invoking autom4te): Document --cache.
3348         Now a subsection of...
3349         (Using autom4te): This new section.
3350         (Customizing autom4te): New.
3351         (autom4te.cache): Adjust.
3353 2002-10-25  Akim Demaille  <akim@epita.fr>
3355         * doc/autoconf.texi (Generic Headers): More information on how to
3356         use AC_CHECK_HEADERS.
3358 2002-10-25  Akim Demaille  <akim@epita.fr>
3360         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
3361         Space changes.
3363 2002-10-25  Akim Demaille  <akim@epita.fr>
3365         * bin/autoscan.in (output): Output AC_PREREQ.
3366         (%needed_macros): Add AC_PREREQ so that configure.ac without one
3367         be reported.
3369 2002-10-23  Akim Demaille  <akim@epita.fr>
3371         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
3372         document _Bool.
3374 2002-10-23  Akim Demaille  <akim@epita.fr>
3376         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
3377         Reported by Peter Eisentraut.
3379 2002-10-23  Akim Demaille  <akim@epita.fr>
3381         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
3382         type _Bool.
3383         Fix a typo.
3384         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
3385         Eggert's recommandations.
3387 2002-10-22  Akim Demaille  <akim@epita.fr>
3389         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
3390         Bison, by Paul Eggert.
3391         * doc/autoconf.texi (Particular Headers): Document it.
3393 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
3395         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
3396         `$ac_configure_args'.
3398 2002-10-22  Akim Demaille  <akim@epita.fr>
3400         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
3401         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
3402         From Art Haas.
3404 2002-10-22  Akim Demaille  <akim@epita.fr>
3406         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
3408         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3409         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
3410         (_AC_CHECK_HEADER_NEW): Rename as...
3411         (AC_CHECK_HEADER): this.
3413 2002-10-22  Akim Demaille  <akim@epita.fr>
3415         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
3416         words about HP-UX cmp: it was actually a user-written cmp.
3418 2002-10-22  Akim Demaille  <akim@epita.fr>
3420         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
3421         are a few warnings.
3422         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3423         Quote for Perl '' strings, not "".
3424         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
3425         strings.
3427 2002-10-22  Akim Demaille  <akim@epita.fr>
3429         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3430         characters is a syntax warning now.
3431         (_AS_QUOTE): Accept $2 as list of characters to quote.
3432         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3433         Quote for Perl, not sh.
3434         * bin/autoheader.in: When $debug, report the file which is
3435         `do'ne.
3436         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
3437         `@', to tickle Perl's lists.
3438         Reported by Carlos Velasco.
3440 2002-10-18  Akim Demaille  <akim@epita.fr>
3442         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
3443         missing included files _are_ errors.
3444         Thanks to Alexandre Duret-Lutz.
3445         * tests/tools.at (autom4te cache): Adjust.
3446         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
3447         (AT_CHECK_M4SUGAR): Use it.
3448         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3449         Adjust.
3450         * tests/tools.at (autom4te): Now it does exit 1.
3452 2002-10-17  Akim Demaille  <akim@epita.fr>
3454         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
3455         Fixes the `AC_ARG_VAR' test failures.
3456         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
3457         * lib/freeze.mk (check-forbidden-patterns): New.
3458         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
3459         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
3460         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
3461         /dev/null.
3462         Reported months ago by H. Merijn Brand.
3464 2002-10-17  Akim Demaille  <akim@epita.fr>
3466         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
3468 2002-10-16  Paul Eggert  <eggert@twinsun.com>
3470         * Makefile.maint (wget_files): Remove ansi2knr.c.
3471         (ansi2knr.c-url_prefix): Remove.
3473 2002-10-16  Akim Demaille  <akim@epita.fr>
3475         Because of caching, some files that no longer exist and are no
3476         longer required can still cause errors.
3477         Reported by Alexandre Duret-Lutz.
3479         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
3480         to frozen files in @ARGV, as @ARGV must remain being a list of
3481         files.  Rather, at M4 call sites, use this...
3482         (&files_to_options): New function.
3483         (&freeze): Use &error.
3484         (&up_to_date): If a file that was included according to the cache
3485         is no longer there, then the output is out dated.
3486         (&main): Don't even check whether a file is up to date is anyway
3487         --force is given.
3488         * tests/tools.at (autom4te cache): New.
3490 2002-10-16  Akim Demaille  <akim@epita.fr>
3492         * bin/autoconf.as: Kill dead options.
3493         * bin/autoupdate.in (&parse_args): Kill old options.
3494         * bin/autoreconf.in (&parse_args): Remove dead options.
3495         Factor some code.
3496         (&autoreconf): Report the directories we enter *and leave*, so
3497         that error messages can be easily located, and use GNU Make
3498         format, so that Emacs' compile mode understands us.
3499         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
3500         if some file was changed instead of `print'.
3501         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
3502         (&parse_args): Remove the dead options.
3503         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
3504         autoheader's quiet mode.
3505         (AT_CHECK_AUTOUPDATE): Likewise.
3506         * tests/tools.at (autoupdate): Adjust.
3507         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3509 2002-10-11  Akim Demaille  <akim@epita.fr>
3511         No longer use CPP to check for the existing of headers: use CC to
3512         check for compilability.
3514         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3515         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
3516         (_AC_CHECK_HEADER_NEW): Rename as...
3517         (AC_CHECK_HEADER): this.
3519         * lib/autotest/general.m4 (AT_INIT): Include the failed test
3520         numbers in the Subject suggestion.
3522 2002-10-11  Akim Demaille  <akim@epita.fr>
3524         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
3525         Suggest using AC_CHECK_DECLS instead.
3527 2002-10-11  Akim Demaille  <akim@epita.fr>
3529         * tests/torture.at (AC_ARG_VAR): Have configure report the value
3530         of `precious'.
3532 2002-10-11  Akim Demaille  <akim@epita.fr>
3534         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
3535         file name to enable parallel executions.
3536         From Sam Varshavchik.
3538 2002-10-08  Akim Demaille  <akim@epita.fr>
3540         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
3541         aclocal invocation, as Gettext macros might not be visible to
3542         aclocal.
3543         Instead of blindly running autopoint, scan configure.ac (not the
3544         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
3545         Reported by Paul D. Smith.
3547 2002-10-08  Paul Eggert  <eggert@twinsun.com>
3549         Work around problems found when POSIXLY_CORRECT=1 is set.
3550         None of this seems to have anything to do with POSIX, really,
3551         but it's how Perl getopt works.
3552         * bin/autom4te.in (parse_args): Configure GetOpt with
3553         "permute", too.
3554         * doc/autoconf.texi (Invoking autom4te):
3555         --warning -> --warnings.
3556         * lib/autom4te.in: --warning -> --warnings.
3558 2002-09-28  Akim Demaille  <akim@epita.fr>
3560         * doc/autoconf.texi (autom4te.cache): New section.
3562 2002-09-28  Akim Demaille  <akim@epita.fr>
3564         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
3565         (Automake-preselections): Update.
3566         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
3568 2002-09-28  Akim Demaille  <akim@epita.fr>
3570         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
3571         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
3572         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
3573         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
3575 2002-09-28  Akim Demaille  <akim@epita.fr>
3577         * tests/torture.at (Configuring subdirectories): Be robust to
3578         users who use config.site to require for a cache: in this case,
3579         the two last configure runs, using two different sets of
3580         arguments, trigger a legitimate error.
3582 2002-09-28  Akim Demaille  <akim@epita.fr>
3584         * tests/m4sh.at (Functions Support, Functions and return Support):
3585         New.
3587 2002-09-28  Akim Demaille  <akim@epita.fr>
3589         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
3590         autoheader are Perl programs.
3591         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
3592         (autom4te): Specify that the sources are in the $srcdir.
3593         * doc/autoconf.texi (Installation Directory Variables): Adjust.
3595 2002-09-28  Akim Demaille  <akim@epita.fr>
3597         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
3598         (tm_zone): Move their rules to...
3599         * lib/autoconf/types.m4: here, using AN_ macros.
3600         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
3601         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
3602         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
3603         * lib/autoconf/programs.m4: here.
3604         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
3605         (ETAGS_FOR_AUTOCONF): New.
3606         Use it.
3608 2002-09-28  Akim Demaille  <akim@epita.fr>
3610         * lib/autoconf/autoscan.m4: New file.
3611         * lib/autoconf/autoconf.m4: Include it.
3612         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
3613         that were listed in the original autoscan.list.
3614         * lib/autoconf/headers.m4: Similarly with headers.
3615         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
3616         (.m4.m4f): Don't pass --prepend-include, since that's done by
3617         tests/autom4te itself.
3618         * lib/autoscan/Makefile.am: Include freeze.mk.
3619         (autoscan.list): New target --this file is no longer a source.
3620         (autoscan.pre): New file.
3622 2002-09-28  Akim Demaille  <akim@epita.fr>
3624         * bin/autoscan.in (@kinds): Make them singular.
3625         Adjust all uses.
3626         (&init_tables): When --debug, report the list of rules to ease
3627         tracking changes in autoscan.list.
3628         * lib/autoscan/autoscan.list (function): Strip comments, sort.
3630 2002-09-28  Akim Demaille  <akim@epita.fr>
3632         * lib/autoscan/functions, lib/autoscan/headers,
3633         * lib/autoscan/identifiers, lib/autoscan/makevars,
3634         * lib/autoscan/programs: Merge into...
3635         * lib/autoscan/autoscan.list: this.
3636         * bin/autoscan.in (&init_tables): Adjust.
3638 2002-09-28  Akim Demaille  <akim@epita.fr>
3640         * lib/autoscan/functions, lib/autoscan/headers,
3641         * lib/autoscan/identifiers, lib/autoscan/makevars,
3642         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
3643         `functions' line is now prefixed with `function:'.
3644         * bin/autoscan.in (&init_tables): Adjust.
3646 2002-09-28  Akim Demaille  <akim@epita.fr>
3648         From now on, autoscan files must always map a macro name to a
3649         word: there is no `default' macro for autoscan.
3651         * bin/autoscan.in (&init_tables): Reject entries with no macro at
3652         all.
3653         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
3654         explicit.
3656 2002-09-28  Akim Demaille  <akim@epita.fr>
3658         * bin/autoscan.in (%c_keywords): Remove.
3659         (&used): Keep only track of the words we might be interested in.
3660         (&output_kind): It is no longer needed to look for non active
3661         checks.
3663 2002-09-27  Akim Demaille  <akim@epita.fr>
3665         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
3666         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
3667         * lib/autoscan/functions: Adjust.
3668         * doc/autoconf.texi (Particular Functions): Adjust.
3670 2002-09-27  Akim Demaille  <akim@epita.fr>
3672         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
3673         from /tmp.
3674         Thanks to Bill Moseley and Paul Eggert.
3675         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
3676         the tmpdir must be created.
3677         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
3678         dir be in the build tree, instead of $TMPDIR.
3680 2002-09-27  Akim Demaille  <akim@epita.fr>
3682         * bin/autoscan.in: Improve the comments.
3683         (&parse_args): Drop obsolete undocumented options.
3684         (&output_kind): Output warnings.
3685         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
3686         (getwd): Trigger a warning.
3688 2002-09-26  Akim Demaille  <akim@epita.fr>
3690         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
3691         Reported by Ralf Corsepius.
3692         * doc/autoconf.texi (autoreconf Invocation): Likewise.
3694 2002-09-26  Akim Demaille  <akim@epita.fr>
3696         Single suffix rules and seperated dependencies are not portable.
3698         * doc/autoconf.texi (Installation Directory Variables): Update.
3699         (Limitations of Make): Some about `Single Suffix Rules and
3700         Separated Dependencies'.
3701         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
3702         (ifnames, autoscan, autom4te): Un-factor into several rules.
3704 2002-09-25  Paul Eggert  <eggert@twinsun.com>
3706         * BUGS (Interoperability bugs): New section.  Mention libtool
3707         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
3709 2002-09-24  Paul Eggert  <eggert@twinsun.com>
3711         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
3712         make handles suffix-rules differently from GNU make.
3714         * bin/Makefile.am (SUFFIXES, .in): Remove.
3715         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
3716         Move the body of the old .in rule here.
3718 2002-09-16  Akim Demaille  <akim@epita.fr>
3720         i960 compilers create `b.out' files by default.
3721         Reported by Ralf Corsepius.
3723         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
3724         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
3726 2002-09-13  Paul Eggert  <eggert@twinsun.com>
3728         * doc/autoconf.texi (Particular Headers): Remove obsolete
3729         reference to `struct timezone' in the description of
3730         AC_HEADER_TIME.
3732 2002-09-13  Akim Demaille  <akim@epita.fr>
3734         Version 2.54.
3736         * config/config.sub, config/config.guess: Update.
3737         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
3738         * Makefile.am: Adjust.
3740 2002-09-13  Akim Demaille  <akim@epita.fr>
3742         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
3743         reading config.log when the compiler is rejected.
3744         Suggested by Guido Draheim.
3746 2002-09-13  Akim Demaille  <akim@epita.fr>
3748         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
3749         (chdir_init) might hang when stat'ing mounted directories.
3750         Reported by Vance Shipley.
3752 2002-09-12  Akim Demaille  <akim@epita.fr>
3754         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
3755         the lists.
3757 2002-09-12  Akim Demaille  <akim@epita.fr>
3759         * doc/autoconf.texi (Defining Symbols): Present two different
3760         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
3761         difference between 1 argument calls, and 2-3 argument calls.
3763 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
3765         * doc/autoconf.texi: Review grammar and punctuation.
3767 2002-09-11  Paul Eggert  <eggert@twinsun.com>
3769         * doc/autoconf.texi: Fix minor formatting, spelling, and
3770         grammatical typos.
3771         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
3772         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
3773         is obsolescent.
3775 2002-09-11  Akim Demaille  <akim@epita.fr>
3777         * doc/autoconf.texi (Questions): Rename as...
3778         (FAQ): this.
3779         (Defining Directories): New.
3781 2002-09-09  Akim Demaille  <akim@epita.fr>
3783         * doc/autoconf.texi (Making testsuite Scripts): Update.
3784         Suggested by Nishio Futoshi.
3786 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
3788         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
3789         plain `@' is wanted.
3791 2002-09-09  Akim Demaille  <akim@epita.fr>
3793         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
3794         `duplicates', since the algorithm was too naive and could keep
3795         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
3796         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
3797         Reported by Ralf Corsepius.
3798         * tests/torture.at (Configuring subdirectories): Exercise these
3799         cases.
3801 2002-09-09  Akim Demaille  <akim@epita.fr>
3803         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
3804         looking for a replacement file.
3805         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
3806         directory is relative.
3807         * doc/autoconf.texi (Generic Functions): Clarify the replacement
3808         directory definition.
3809         Reported by Andreas Schwab and Jim Meyering.
3811 2002-09-06  Akim Demaille  <akim@epita.fr>
3813         * doc/autoconf.texi (Setting Output Variables): Clarify what
3814         precious variables are.
3815         Suggested by Pontus Skoeld.
3817 2002-09-05  Akim Demaille  <akim@epita.fr>
3819         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
3820         (ifnames, autoscan, autom4te): Since we don't only depend on
3821         configure.ac variables (such as VERSION etc.), but also on prefix
3822         and so forth, depend on Makefile, not configure.ac.
3823         Reported by Alexandre Duret-Lutz.
3824         * doc/autoconf.texi (Installation Directory Variables): Adjust.
3826 2002-09-05  Kevin Ryde  <user42@zip.com.au>
3828         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
3829         doesn't seem to be confined to ia64, just say "some versions".
3831 2002-09-04  Akim Demaille  <akim@epita.fr>
3833         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
3834         Automake 1.6c.
3835         * Makefile.am (maintainer-clean-local): Remove.
3836         (MAINTAINERCLEANFILES): Remove COPYING.
3838 2002-09-03  Paul Eggert  <eggert@twinsun.com>
3840         * doc/autoconf.texi (Configuration Commands): Remove obsolete
3841         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
3842         Brinkmann.
3844 2002-09-03  Akim Demaille  <akim@epita.fr>
3846         * configure.ac: Bump to 2.53d.
3847         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
3848         as of today, on Automake's team suggestion.
3850 2002-09-03  Akim Demaille  <akim@epita.fr>
3852         Version 2.53c.
3854 2002-09-02  Akim Demaille  <akim@epita.fr>
3856         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
3857         SITE_MACRO_DIR.
3858         * configure.ac: Disable SITE_MACRO_DIR.
3860 2002-09-02  Jim Meyering  <meyering@lucent.com>
3862         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
3863         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
3864         Also, tweak grammar: s/make sure to/be sure to/.
3866 2002-09-02  Paul Eggert  <eggert@twinsun.com>
3868         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
3869         directory names are generally preferable to physical names.
3871 2002-09-02  Akim Demaille  <akim@epita.fr>
3873         * lib/Autom4te/General.pm (&update_file): s/die/error/.
3874         Reported by Raja R. Harinath.
3875         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
3876         * bin/autoupdate.in: Use error instead of die.
3878 2002-09-01  Paul Eggert  <eggert@twinsun.com>
3880         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
3881         ordinary shell concatenation rather than echo+tr+sed command that
3882         runs afoul of a long-line-related sed bug in Solaris 8.
3884         * bin/autoheader.in (parse_args): --warning -> --warnings.
3886         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
3887         stdout, as traditional "ls" does.
3888         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
3889         _AC_COMPILER_EXEEXT_O): Likewise.
3890         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
3892         * bin/autoconf.as: Add --prepend-include option.  This patch was
3893         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
3894         but bin/autoconf.in is generated automatically from bin/autoconf.as.
3896         * bin/autoconf.in, configure: Regenerate.
3898         * doc/autoconf.texi (Special Shell Variables): Mention
3899         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
3901         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
3902         MAILPATH and set PS1, PS2, PS4 to default values, to work
3903         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
3904         For LC_ALL etc, first try to set to "C" as POSIX requires and as
3905         the Autoconf documentation specifies; fall back to "unset" only if
3906         this fails.  Use a shell for-loop for this rather than an m4 loop,
3907         to shorten the output script.
3909 2002-08-30  Paul Eggert  <eggert@twinsun.com>
3911         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
3912         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
3913         for the CDPATH problem.  Document PWD.
3914         (Limitations of Builtins): Document the problem that "cd $foo" and
3915         "ls $foo" may refer to different directories in shells conforming
3916         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
3917         example, since the old example is now out of date.
3919         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
3920         FOO" and "ls FOO" talk about different directories; this catches
3921         problems when POSIX 1003.1-2001 "cd" fails due to symlink
3922         spaghetti.
3924         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
3925         of rolling our own unset.
3926         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
3927         in practice we needn't worry about CDPATH if unset doesn't work.
3929         * Makefile.in, aclocal.m4, bin/Makefile.in,
3930         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
3931         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
3932         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
3933         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
3934         tests/Makefile.in: Regenerate with Automake 1.6.3.
3936         * config/config.guess, config/config.sub, config/mkinstalldirs:
3937         Update.
3939         * configure: Regenerate with self.
3941 2002-08-30  Kevin Ryde  <user42@zip.com.au>
3943         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
3944         default output.
3946 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3948         * bin/autom4te.in (Request::load): Correctly test for "do" read
3949         failure.
3951 2002-08-29  Akim Demaille  <akim@epita.fr>
3953         * lib/Autom4te/General.pm (&xqx): New.
3954         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
3955         hand, which is not portable.
3956         (&error): New.
3957         * bin/autom4te.in: Use them.
3958         Use &error instead of die.
3959         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3960         Adjust.
3962 2002-08-17  Paul Eggert  <eggert@twinsun.com>
3964         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
3965         default list of compilers to try, since it was long ago superseded
3966         by the ksh fc builtin.  Suggested by Steven G. Johnson.
3968 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
3970         * doc/autoconf.texi (Invoking autom4te): End the option table,
3971         fixing a bug introduced by the previous patch.
3972         (Limitations of Make): Add a 'target lookup' subentry in the
3973         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
3975 2002-07-29  Mark D. Roth  <roth@feep.net>
3977         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
3978         options and use $AUTOM4TE_PATH.
3979         * doc/autoconf.texi: Remove documentation of autom4te
3980         --include-envvar and --site-macro-subdir options and document
3981         use of $AUTOM4TE_PATH.
3982         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
3983         arguments from each language section.
3985 2002-07-29  Paul Eggert  <eggert@twinsun.com>
3987         * doc/install.texi: Include copyright symbol in copyright notice.
3989         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
3990         Replace with:
3991         (AM_MAKEINFOFLAGS): New macro.
3992         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
3993         * Makefile.am (INSTALL): Use the new macros.
3994         Use -o rather than --output, since "missing" does not grok --output.
3996 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
3998         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
3999         comments do not always work. Never trust the exit status of
4000         `make -k'.
4002 2002-07-24  Kevin Ryde  <user42@zip.com.au>
4004         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
4005         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
4007 2002-07-23  Paul Eggert  <eggert@twinsun.com>
4009         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
4010         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
4011         apparently treats PATH="nonexistent" as if it contained ".".
4012         Bug reported by Stefan `Sec' Zehl.
4014 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
4016         * doc/autoconf.texi (Limitations of Make): Mention the special
4017         handling of the obj/ directory by BSD make.
4019 2002-07-20  Kevin Ryde  <user42@zip.com.au>
4021         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
4022         backslashes.
4024 2002-07-19  Akim Demaille  <akim@epita.fr>
4026         * doc/autoconf.texi (Function Portability): `exit'.
4027         (Programming in M4sh): Ethymology of M4sh.
4029 2002-07-19  Akim Demaille  <akim@epita.fr>
4031         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
4033 2002-07-18  Akim Demaille  <akim@epita.fr>
4035         Version 2.53b.
4037 2002-07-18  Akim Demaille  <akim@epita.fr>
4039         * config/config.guess, config/config.sub: Update.
4041 2002-07-18  Akim Demaille  <akim@epita.fr>
4043         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
4044         Automake's parts.
4046         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
4047         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
4048         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
4050 2002-07-18  Akim Demaille  <akim@epita.fr>,
4051             Alexandre Duret-Lutz  <duret_g@epita.fr>
4053         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
4054         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
4056 2002-07-17  Russ Allbery  <rra@stanford.edu>
4058         * doc/autoconf.texi (Initializing configure): Clarify the
4059         description of the tarname default.
4061 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
4063         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
4064         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
4065         latter was not run.
4067 2002-07-17  Akim Demaille  <akim@epita.fr>
4069         * lib/Autom4te/General.pm (find_file): Browse the directories in
4070         the order they are given.
4072 2002-07-17  Akim Demaille  <akim@epita.fr>
4074         * tests/wrapsh.as, tests/wrappl.as: Merge into...
4075         * tests/wrapper.as: this.
4076         * tests/Makefile.am, configure.ac: Adjust.
4078 2002-07-17  Mark D. Roth  <roth@feep.net>
4080         * configure.ac: Add --enable-site-macro-dir option.
4081         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
4082         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
4083         --site-macro-subdir options.
4084         * bin/autoconf.in: Add --prepend-include option.
4085         * bin/autoheader.in: Add --prepend-include option.
4086         * bin/autoreconf.in: Add --prepend-include option.
4087         * bin/autoscan.in: Add --prepend-include option.
4088         * bin/autoupdate.in: Add --prepend-include option.
4089         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
4090         macro directory, remove note that include path directories are
4091         used in reverse order, and document --prepend-include option.
4092         * lib/autom4te.in: Use --prepend-include instead of --include.
4093         * tests/wrapsh.in: Use --prepend-include instead of --include.
4095 2002-07-17  Akim Demaille  <akim@epita.fr>
4097         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
4098         tarnames.
4099         * doc/autoconf.texi (Initializing configure): Adjust.
4101 2002-07-17  Akim Demaille  <akim@epita.fr>
4103         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
4104         (_AC_FUNC_MALLOC): New.
4105         (AC_FUNC_MALLOC): Use the latter.
4106         Define HAVE_MALLOC to 0 if broken.
4107         * doc/autoconf.texi (Particular Functions): Adjust.
4109 2002-07-16  Akim Demaille  <akim@epita.fr>
4111         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
4112         * doc/autoconf.texi (C Compiler): Adjust.
4114 2002-07-09  Akim Demaille  <akim@epita.fr>
4116         * doc/autoconf.texi: Properly set the ``header'' part.
4118 2002-07-09  Akim Demaille  <akim@epita.fr>
4120         * doc/autoconf.texi (Systemology): Some about Darwin.
4122 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
4124         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4125         Don't use AC_REQUIRE in AU_DEFUN.
4127 2002-07-09  Art Haas  <ahaas@neosoft.com>
4129         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
4131 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
4133         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4134         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
4135         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
4136         so that Emacs setups GNU style for perl-mode and cperl-mode.
4138 2002-06-27  Paul Eggert  <eggert@twinsun.com>
4140         * config/install-sh: Quote $src.  Prefer || to test's -o option,
4141         as per "Limitations of Builtins".
4142         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
4143         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4145         * tests/mktests.sh: Use grep instead of fgrep, as per
4146         "Limitations of Builtins".
4148 2002-06-15  Paul Eggert  <eggert@twinsun.com>
4150         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
4151         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
4152         so that we consistently test the just-built programs.
4153         * tests/wrappl.as: Likewise.
4155 2002-06-12  Paul Eggert  <eggert@twinsun.com>
4157         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
4158         name, so that symlinks to 'autoconf' work properly.  Bug reported
4159         by Bruno Haible.
4160         * bin/autoheader.in (AUTOM4TE): Likewise.
4161         * bin/autoreconf.in (autoconf, autoheader): Likewise.
4162         * bin/autoscan.in (autom4te): Likewise.
4163         * bin/autoupdate.in (autom4te): Likewise.
4165         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
4166         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
4167         on Solaris 2.5.1.
4169 2002-06-11  Andreas Schwab  <schwab@suse.de>
4171         * doc/autoconf.texi: Add more dir entries.
4173 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
4175         * bin/autom4te.in ($cache): Don't define using `$me', the name
4176         of the cache should not depend on the name under which autom4te
4177         was installed.
4179 2002-06-07  Akim Demaille  <akim@epita.fr>
4181         * tests/tools.at (autoconf: forbidden tokens, basic)
4182         (autoconf: forbidden tokens, exceptions): Adjust to the change of
4183         words in autom4te.in.
4185 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
4187         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
4188         _AC_LANG_PROGRAM_C_F77_HOOKS.
4190 2002-06-07  Akim Demaille  <akim@epita.fr>
4192         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
4193         rename as...
4194         (AC_REPLACE_FNMATCH): this.
4195         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
4196         AC_FUNC_FNMATCH_GNU.
4198 2002-06-07  Akim Demaille  <akim@epita.fr>
4200         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
4201         Rosetta Stone for Unix.
4203 2002-06-07  Akim Demaille  <akim@epita.fr>
4205         * bin/autom4te.in (warn_forbidden): When rejecting a token,
4206         suggest m4_pattern_allow.
4207         Suggested by Adam J. Richter.
4209 2002-06-07  Akim Demaille  <akim@epita.fr>
4211         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4212         ac_config_libobj_dir.
4213         (AC_CONFIG_LIBOBJ_DIR): New.
4214         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
4215         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
4216         Use ac_config_libobj_dir to find the replacement files.
4217         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
4218         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
4219         (AC_REPLACE_FNMATCH_GNU): these.
4220         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
4221         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
4222         * tests/mktests.sh (ac_exclude_list): Don't check
4223         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
4225 2002-06-06  Paul Eggert  <eggert@twinsun.com>
4227         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
4228         if ln doesn't work.
4229         * NEWS: Likewise.
4230         * doc/autoconf.texi (Configuration Links): Likewise.
4231         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
4233 2002-06-05  Paul Eggert  <eggert@twinsun.com>
4235         * config/config.guess, config/config.sub, config/texinfo.tex:
4236         Update from masters.
4238 2002-05-29  Paul Eggert  <eggert@twinsun.com>
4240         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
4241         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4242         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
4243         Likewise.
4244         * lib/autoconf/Makefile.am (check-local): Likewise.
4245         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
4246         * lib/autoconf/types.m4 (commentary only): Likewise.
4247         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
4248         * lib/autotest/Makefile.am (check-local): Likewise.
4249         * lib/m4sugar/Makefile.am (check-local): Likewise.
4250         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
4251         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
4253         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
4254         * doc/autoconf.texi (Particular Programs): Document them.
4255         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
4256         * NEWS: Likewise.
4258 2002-05-27  Paul Eggert  <eggert@twinsun.com>
4260         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
4261         * NEWS, doc/autoconf.texi (Particular Types): Document it.
4262         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
4263         instead of AC_MBSTATE_T, which never existed.
4265 2002-05-23  Akim Demaille  <akim@epita.fr>
4267         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
4268         version of Autoconf that is discussed.
4270 2002-05-22  Paul Eggert  <eggert@twinsun.com>
4272         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
4273         from the default list of compilers to try.  Suggested by
4274         Kate Hedstrom.
4275         * NEWS: Document the above.
4276         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
4278 2002-05-17  Paul Eggert  <eggert@twinsun.com>
4280         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
4281         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
4282         This improves on an earlier suggestion by H. Peter Anvin.
4284 2002-05-16  Paul Eggert  <eggert@twinsun.com>
4286         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
4287         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
4288         Both macros now accept an optional source-dir arg.
4289         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
4291         * NEWS: Document this.
4292         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
4294         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
4295         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
4296         not for GNU extensions; this undoes part of the 2000-11-03 change,
4297         reverting to 2.13-compatible behavior.
4298         Add new optional argument DIR.
4299         (AC_FUNC_FNMATCH_GNU): New macro.
4301         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
4303 2002-05-08  Paul Eggert  <eggert@twinsun.com>
4305         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
4306         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
4307         and it causes a 'test' syntax error if it fails.
4308         Bug reported by Stephen Gildea.
4310         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
4311         If prototypes are supported, use them to check this at compile-time,
4312         instead of trying to check it at run-time.  If we must do a run-time
4313         check, assume that setvbuf is standard when cross-compiling, as
4314         nonstandard setvbuf occurs only on ancient and unlikely hosts.
4315         Bug reported by Paul D. Smith.
4317         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
4318         argument specifying location of getloadavg.c.  This removes a
4319         FIXME.  This idea was taken from Jim Meyering's implementation in
4320         textutils.
4321         * doc/autoconf.texi (Particular Functions): Document this.
4322         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
4323         that's what the code does; this fixes a bug reported by
4324         Paul D. Smith.
4326 2002-05-03  Akim Demaille  <akim@epita.fr>
4328         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
4329         autopoint instead of gettextize.
4330         ($uses_alocal): Rename as...
4331         ($uses_aclocal): this.
4332         * doc/autoconf.texi (autoreconf Invocation): Adjust.
4333         Suggested by Bruno Haible.
4335 2002-05-03  Akim Demaille  <akim@epita.fr>
4337         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
4339 2002-04-29  Paul Eggert  <eggert@twinsun.com>
4341         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
4342         files to be 1 second older; just set them to be the same time.
4343         Also, sleep 1 second after the first aclocal, to work around
4344         problems with sub-second time stamps on the input files.
4346 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
4348         * doc/autoconf.texi: Mention "set -e -x" lossage
4349         under node "Limitations of Builtins".
4351 2002-04-29  Akim Demaille  <akim@epita.fr>
4353         * doc/install.texi: Better wording for setting variables when
4354         running configure.
4355         From Christian Cornelssen.
4357 2002-04-29  Akim Demaille  <akim@epita.fr>
4359         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
4360         of lack of $LINENO support, then the test will compare the $LINENO
4361         in testsuite vs. the lineno in the test file.  This is wrong, of
4362         course.
4363         Be sure to protect it.
4364         Reported by Patrick Welche.
4366 2002-04-25  Akim Demaille  <akim@epita.fr>
4368         * doc/autoconf.texi (Obsolete Macros): Typo.
4369         Reported by Vladimir Volovich.
4371 2002-04-25  Akim Demaille  <akim@epita.fr>
4373         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
4374         than some of the input files, hence, on the second run of aclocal,
4375         if some of its input are younger, make them older.
4376         Suggested by Paul Eggert.
4378 2002-04-25  Akim Demaille  <akim@epita.fr>
4380         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
4381         Thanks to Paul Eggert.
4383 2002-04-25  Akim Demaille  <akim@epita.fr>
4385         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
4386         and ac_subst_vars be sh variables containing the list of
4387         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
4388         DEFAULT diversion.
4389         (_AC_INIT_PREPARE): Use them to log them.
4390         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
4391         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
4392         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
4393         _AC_SUBST_FILES and _AC_SUBST_VARS.
4394         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
4396 2002-04-24  Akim Demaille  <akim@epita.fr>
4398         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
4399         autoheader, so that automake does not complain about a missing
4400         config.h.in that was to be created.
4402 2002-04-23  Akim Demaille  <akim@epita.fr>
4404         * bin/autoheader.in (parse_args): --warning takes an argument.
4405         Fixes PR/220.
4407 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
4409         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
4410         and bb.out when cleaning up.
4412 2002-04-22  Akim Demaille  <akim@epita.fr>
4414         Version 2.53a.
4416 2002-04-22  Akim Demaille  <akim@epita.fr>
4418         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
4420 2002-04-22  Akim Demaille  <akim@epita.fr>
4422         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
4423         comma.
4424         Reported by Gregory Giannoni.
4426 2002-04-22  Akim Demaille  <akim@epita.fr>
4428         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
4429         Fixes false failures on Darwin.
4431 2002-04-21  Paul Eggert  <eggert@twinsun.com>
4433         * TODO, bin/autoupdate.in, doc/autoconf.texi,
4434         lib/autoconf/general.m4, lib/autoconf/libs.m4,
4435         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
4436         tests/tools.at: Minor spelling and grammar fixes.
4438 2002-04-20  Paul Eggert  <eggert@twinsun.com>
4440         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
4441         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
4442         * lib/autotest/general.m4 (AT_INIT): Likewise.
4443         * tests/atgeneral.m4 (AT_INIT): Likewise.
4445 2002-04-19  Paul Eggert  <eggert@twinsun.com>
4447         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
4448         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
4449         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
4450         lib/autoconf/functions.m4, lib/autoconf/general.m4,
4451         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
4452         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
4453         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
4454         Minor spelling and grammar fixes.
4456         * doc/autoconf.texi: Follow the outline suggested in the GNU
4457         Sample Texts sections of the Texinfo 4.2 manual.  Most
4458         importantly, this makes sure that the copyright notices appear in
4459         all output formats.  You probably need Texinfo 4.2 to generate
4460         the manual now.
4462         Fix some bugs when using "$@" when there might be zero positional
4463         arguments in cases where this matters.
4465         * bin/autoconf.as: Rewrite so that the problem does not come up.
4466         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
4467         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
4468         * lib/autotest/general.m4 (AT_INIT): Likewise.
4470         * bin/autoheader.in: Use 'case' statement to work around problem.
4471         * bin/auto4mte.in: Likewise.
4472         * bin/autoreconf.in: Likewise.
4473         * bin/autoscan.in: Likewise.
4474         * bin/autoupdate.in: Likewise.
4475         * bin/ifnames.in: Likewise.
4477         * doc/autoconf.texi (Shell Substitutions): Document the problem.
4479         * lib/autotest/general.m4 (AT_INIT):
4480         Use Zsh alias to work around problem.
4481         * tests/atgeneral.m4 (AT_INIT): Likewise.
4483         * tests/c.at: We can't have zero arguments, so remove workaround
4484         that is not portable to Zsh.
4486 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
4488         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
4489         from aclocal.m4 too.
4491 2002-04-12  Akim Demaille  <akim@epita.fr>
4493         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
4495 2002-04-10  Akim Demaille  <akim@epita.fr>
4497         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
4498         workaround for ${1+"$@"}.
4499         * doc/autoconf.texi (Shell Substitutions): Explain it.
4500         From Oliver Kiddle and Peter Stephenson.
4502         Have M4sh perform minimal shell sanitizing.
4504         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
4505         part into...
4506         (_AS_PREPARE): this new macro.
4507         (AS_PREPARE): New.
4508         (AS_INIT): Invoke AS_SHELL_SANITIZE.
4509         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
4511         Adjust Autoconf and Autotest.
4513         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
4514         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
4515         * lib/autotest/general.m4 (AT_INIT): Likewise.
4516         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
4517         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
4518         AS_SHELL_SANITIZE.
4520         Use this M4sh to generate Autoconf's shell scripts.
4522         * tests/wrapsh.as: New, precursor of wrapsh.in.
4523         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
4524         on Autotest and M4sh.
4525         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
4526         (wrapsh.in): New target.
4527         * bin/autoconf.as: New, precursor of autoconf.in.
4528         (autoconf.in): New target.
4530 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
4532         * doc/autoconf.texi (Limitations of Make): Mention the issue
4533         with indented comments in rules.
4535 2002-04-09  Andreas Schwab  <schwab@suse.de>
4537         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
4538         ac_top_builddir when setting ac_abs_top_builddir.
4540 2002-04-06  Kevin Ryde  <user42@zip.com.au>
4542         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
4543         (Portable Shell): Cross reference to Systemology.
4545 2002-04-05  Akim Demaille  <akim@epita.fr>
4547         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
4548         directories when descending in a SUBDIRS.
4549         Reported by Ezra Peisach.
4551 2002-04-04  Andreas Schwab  <schwab@suse.de>
4553         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
4554         contains no literal separators.
4556 2002-04-03  Akim Demaille  <akim@epita.fr>
4558         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
4559         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
4560         Use dnl, not the KILL diversion.
4561         Extracted from...
4562         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
4563         (AC_CONFIG_LINKS): here.
4564         Adjust.
4565         Don't use the KILL diversion, as it kills spurious output, which
4566         results in failures being hidden.
4567         Use m4_defn where appropriate.
4568         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
4569         after the second argument.
4570         Use m4_defn.
4571         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
4572         syntax, as it is provided by M4sugar.
4573         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
4575 2002-04-03  Andreas Schwab  <schwab@suse.de>
4577         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
4578         expanded if $# <= 2.
4580         * bin/autoreconf.in (autoreconf): Run automake after rerunning
4581         aclocal.
4583 2002-04-03  Akim Demaille  <akim@epita.fr>
4585         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
4586         (_AC_COMPILER_EXEEXT_REJECT): New.
4587         Also recognize *.bb and *.bbg as compilation byproducts.
4588         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
4589         (_AC_COMPILER_OBJEXT): Use them.
4590         Fixes Debian #138666.
4592 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
4594         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
4596         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
4597         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
4598         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
4599         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
4600         (AC_C_CONST): Same.
4601         (AC_C_INLINE): Same.
4602         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
4603         * doc/autoconf.texi, NEWS: Document.
4604         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
4605         AC_C_CROSS.
4607 2002-04-02  Akim Demaille  <akim@epita.fr>
4609         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
4610         _AS_MKDIR_P_PREPARE.
4612 2002-03-28  Kevin Ryde  <user42@zip.com.au>
4614         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
4615         to avoid versions of HP C which don't allow that.
4617 2002-03-27  Paul Eggert  <eggert@twinsun.com>
4619         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
4620         (AS_SHELL_SANITIZE): Invoke it.
4621         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
4623 2002-03-26  Akim Demaille  <akim@epita.fr>
4625         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
4627 2002-03-26  Akim Demaille  <akim@epita.fr>
4629         * doc/autoconf.texi (Introduction): The GNATS base moved.
4631 2002-03-25  Paul Eggert  <eggert@twinsun.com>
4633         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
4634         as POSIX requires, as it doesn't work with Zsh.
4635         * doc/autoconf.texi (Assignments): Document the problem.
4637 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
4639         * doc/autoconf.texi (Limitations of Make): Mention more issue
4640         about VPATH, overriding of macros in sub-makes, and handling of
4641         SHELL.
4643 2002-03-21  Paul Eggert  <eggert@twinsun.com>
4645         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
4646         problem with here-document buffer boundaries.
4648         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
4649         when reinvoking the shell, to work around problems with installers
4650         who put strange things like "cd" commands in their environments.
4652 2002-03-19  Akim Demaille  <akim@epita.fr>
4654         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
4655         From Aaron Ucko.
4657 2002-03-19  Akim Demaille  <akim@epita.fr>
4659         * bin/autoscan.in (scan_file): Specify the location in `&used'
4660         invocations.
4661         From Nicolas Joly.
4663 2002-03-19  Akim Demaille  <akim@epita.fr>
4665         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
4666         From Nishio Futoshi.
4668 2002-03-19  Akim Demaille  <akim@epita.fr>
4670         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
4672 2002-03-18  Paul Eggert  <eggert@twinsun.com>
4674         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
4675         (Limitations of Usual Tools): Add mkdir section.
4677         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
4678         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
4679         back on AS_DIRNAME to compute prefixes otherwise; this is
4680         roughly what mkinstalldirs does.  That way, we need not have
4681         our own filename disassembler.  The old disassembler did not
4682         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
4684         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
4685         Create at_test_all by a series of assignments,
4686         not by a single assignment of a long string.  The latter causes ksh
4687         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
4688         presumably because of a buffer overrun.
4690 2002-03-14  Paul Eggert  <eggert@twinsun.com>
4692         * lib/autotest/general.m4 (at_times_skip):
4693         Renamed from at_times.  Now a boolean.
4694         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
4695         says 'times: not found'.
4697 2002-03-14  Akim Demaille  <akim@epita.fr>
4699         * bin/autoreconf.in (&study_gettextize): New.
4700         (&autoreconf): Handle newest gettextize.
4701         Rerun aclocal if needed.
4702         Suggested by Andreas Schwab.
4704 2002-03-13  Akim Demaille  <akim@epita.fr>
4706         * doc/autoconf.texi (Special Shell Variables): More about IFS.
4708 2002-03-13  Akim Demaille  <akim@epita.fr>
4710         * doc/autoconf.texi (Header Portability): New.
4711         Add information about stdint.h and inttypes.h from Paul Eggert.
4713 2002-03-13  Akim Demaille  <akim@epita.fr>
4715         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
4716         -p'.
4717         From Bob Proulx.
4719 2002-03-12  Akim Demaille  <akim@epita.fr>
4721         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
4722         m4_require.
4724 2002-03-11  Andreas Schwab  <schwab@suse.de>
4726         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
4727         does not do it if --with-lispdir is given.
4729 2002-03-08  Akim Demaille  <akim@epita.fr>
4731         Version 2.53.
4733 2002-03-08  Akim Demaille  <akim@epita.fr>
4735         * doc/autoconf.texi (Subdirectories): Clarify that the
4736         subdirectory should exist.
4738 2002-03-08  Akim Demaille  <akim@epita.fr>
4740         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
4742 2002-03-08  Akim Demaille  <akim@epita.fr>
4744         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
4745         aliases the actual variables, and modifications of the former
4746         affect the latter.
4748 2002-03-08  Akim Demaille  <akim@epita.fr>
4750         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
4751         because of C-c: have m4 output in tmp files, then mv them.
4753 2002-03-08  Akim Demaille  <akim@epita.fr>
4755         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
4756         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
4757         * bin/ifnames.in: Copyright update.
4759 2002-03-08  Akim Demaille  <akim@epita.fr>
4761         * doc/autoconf.texi (Invoking autom4te): New.
4763 2002-03-05  Akim Demaille  <akim@epita.fr>
4765         * doc/autoconf.texi (Specifying Names): Clarification suggested by
4766         Kevin Ryde.
4768 2002-03-05  Akim Demaille  <akim@epita.fr>
4770         Version 2.52i.
4772 2002-03-04  Akim Demaille  <akim@epita.fr>
4774         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
4775         * lib/autoconf/general.m4 (AC_INIT): More informative error
4776         message for LIBOBJ.
4778 2002-03-04  Akim Demaille  <akim@epita.fr>
4780         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
4781         parallel builds.
4783 2002-03-04  Akim Demaille  <akim@epita.fr>
4785         * doc/autoconf.texi (Transforming Names): Equality between target
4786         and host is irrelevant.
4787         (Specifying Names, Canonicalizing): Remove all references to the
4788         backward compatibility hooks.  Rather, collect them all into...
4789         (Hosts and Cross-Compilation): this new section.
4790         * doc/install.texi (System Type): Ditto.
4791         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
4792         that `--host' implies cross-compilation.
4794 2002-03-04  Akim Demaille  <akim@epita.fr>
4796         * doc/autoconf.texi (Evaluation Macros): New.
4797         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
4798         useless.
4799         (_m4_foreach): Define the variant with immediate evaluation so
4800         that it contains exactly the items, not an expression which
4801         evaluation is the current item.
4802         (m4_re_string, m4_re_word): Don't over quote them.
4804 2002-03-04  Akim Demaille  <akim@epita.fr>
4806         Instead of having stacking `shift's evaluated at the end, let
4807         `foreach' loops immediately evaluate them.
4809         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
4810         $*.  This is the n-th time I change my mind, but hopefully this is
4811         the last...
4812         (m4_lquote): New.
4813         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
4814         efficient.
4815         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
4816         it was only a hack for m4_text_wrap.
4817         (m4_car2): Remove, replaced by...
4818         (m4_cdr): New.
4819         (_m4_foreach): Adjust.
4820         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
4821         m4_bpatsubst for clarification.
4823 2002-03-04  Akim Demaille  <akim@epita.fr>
4825         * doc/autoconf.texi (Changequote is Evil): New.
4827 2002-03-03  Kevin Ryde  <user42@zip.com.au>
4829         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
4830         on old systems like SunOS.
4832 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
4834         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
4835         lib/autoconf/functions.m4, lib/autoconf/general.m4,
4836         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
4837         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
4838         of messages.
4840 2002-02-28  Akim Demaille  <akim@epita.fr>
4842         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
4843         message to be sent.
4845 2002-02-28  Kevin Ryde  <user42@zip.com.au>
4847         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
4849 2002-02-25  Akim Demaille  <akim@epita.fr>
4851         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
4852         From Akinori Musha.
4854 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
4856         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
4857         translate \r\n to \n.
4859 2002-02-07  Akim Demaille  <akim@epita.fr>
4861         Version 2.52h.
4863 2002-02-07  Akim Demaille  <akim@epita.fr>
4865         Fix Autoconf PR/209.
4866         Also reported by Frank Denis.
4868         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
4870 2002-02-07  Akim Demaille  <akim@epita.fr>
4872         Fix Autoconf PR/207:
4873         AC_PREFIX_PROGRAM fails with dashed program names
4875         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
4876         variable when looking for the prefix program.
4877         Now it also works for shell variables.
4879 2002-02-07  Akim Demaille  <akim@epita.fr>
4881         * doc/autoconf.texi (Limitations of Builtins): More about
4882         case/esac.
4884 2002-02-06  Akim Demaille  <akim@epita.fr>
4886         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
4887         case/esac, some shells don't support it.
4888         Reported by Zack Weinberg.
4889         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
4891 2002-02-06  Akim Demaille  <akim@epita.fr>
4893         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
4894         sure not to introduce newlines in at_groups.
4895         * lib/autotest/Makefile.am (autotest.m4f): Typo.
4897 2002-02-06  Akim Demaille  <akim@epita.fr>
4899         * tests/torture.at (Configuring subdirectories): Skip if aclocal
4900         is not available.
4902 2002-02-05  Paul Eggert  <eggert@twinsun.com>
4904         * doc/autoconf.texi (Specific Compiler Characteristics):
4905         Describe HP-UX cc bug workaround more accurately.
4906         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
4907         not unsigned long.
4908         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
4909         cross-compilers, too.  This undoes some of the most recent change
4910         to this file.
4912 2002-02-05  Akim Demaille  <akim@epita.fr>
4914         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
4915         to make sure they are up to date when `check' is run.
4917 2002-02-05  Akim Demaille  <akim@epita.fr>
4919         * doc/autoconf.texi (Making testsuite Scripts): Document
4920         package.m4.
4922 2002-02-05  Akim Demaille  <akim@epita.fr>
4924         * lib/freeze.mk: New.
4926 2002-02-05  Akim Demaille  <akim@epita.fr>
4928         Implement `autom4te --freeze'.
4930         * bin/autom4te.in (&freeze): New.
4931         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
4932         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
4934 2002-02-05  Akim Demaille  <akim@epita.fr>
4936         * bin/autom4te.in (&parse_args): Implement `frozen files are
4937         optional are the sum of the previous files on the command line'.
4938         Also, pass `--reload-state=' on them, so...
4939         (handle_m4): don't.
4940         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
4941         (M4sh): Rely on M4sugar.
4942         (Autotest, M4sh, M4sugar): Use frozen files.
4944 2002-01-31  Akim Demaille  <akim@epita.fr>
4946         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
4947         * doc/autoconf.texi (Initializing configure): Adjust.
4949 2002-01-30  Akim Demaille  <akim@epita.fr>
4951         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
4952         alphanumeric to `-' instead of `_'.
4954 2002-01-30  Akim Demaille  <akim@epita.fr>
4956         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
4957         for plain code, the other for cross-compilation code.  The latter
4958         is now run with GCC only.
4959         * doc/autoconf.texi (Compilers and Preprocessors): New.
4961 2002-01-30  Akim Demaille  <akim@epita.fr>
4963         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
4964         values.
4965         * doc/autoconf.texi (Initializing configure): Explain how to
4966         change AC_INIT default values.
4968 2002-01-29  Akim Demaille  <akim@epita.fr>
4970         * tests/torture.at (Configuring subdirectories): Use configure.in,
4971         so that aclocal 1.4 works.
4972         Reported by Alexandre Duret-Lutz and Larry Schmitt.
4974 2002-01-28  Akim Demaille  <akim@epita.fr>
4976         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
4977         needs an argument.
4979 2002-01-28  Akim Demaille  <akim@epita.fr>
4981         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
4982         AUTOTEST_PATH *after* it was set.
4983         Don't put `.' in the PATH: the user should be precise and `./' if
4984         needed.  In addition, given that the test suite does some `cd', if
4985         `.' is in the path, the `tested programs' sections will report
4986         programs found in the test suite's directory, while during the
4987         tests (performed in their own directory), these programs are no
4988         longer visible.  In other words, the results is confusing and
4989         useless.
4990         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
4992 2002-01-24  Akim Demaille  <akim@epita.fr>
4994         Version 2.52g.
4996 2002-01-24  Akim Demaille  <akim@epita.fr>
4998         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
4999         * doc/autoconf.texi: Finally add Akim as an author.
5001 2002-01-24  Akim Demaille  <akim@epita.fr>
5003         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
5004         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
5005         Bourne. Use /bin/sh.
5006         From Andreas Buening.
5008 2002-01-24  Akim Demaille  <akim@epita.fr>
5010         * config/config.guess, config/config.sub, config/texinfo.tex:
5011         Update from masters.
5013 2002-01-24  Akim Demaille  <akim@epita.fr>
5015         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
5016         * config/auxdir.m4, config/cond.m4, config/depend.m4,
5017         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
5018         * config/missing.m4, config/sanity.m4, config/select.m4,
5019         * config/strip.m4: Remove, to ease sync'ing with any version of
5020         Automake.
5022 2002-01-24  Akim Demaille  <akim@epita.fr>
5024         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
5025         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
5026         Reported by Geir Ove Myhr.
5028 2002-01-21  Akim Demaille  <akim@epita.fr>
5030         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
5032 2002-01-21  Akim Demaille  <akim@epita.fr>
5034         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
5035         message on invalid options.
5036         * bin/autom4te.in (parse_args): Don't use
5037         Autoconf::General::getopt with non valid options.
5039 2002-01-17  Jim Meyering  <meyering@lucent.com>
5041         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
5042         $ac_cv_exeext so we don't use an old, invalid, cached value.
5044 2002-01-11  Akim Demaille  <akim@epita.fr>
5046         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
5047         Meyering.
5048         * doc/autoconf.texi (Function Portability): Document the strnlen
5049         limitation.
5050         (Particular Functions): Document AC_FUNC_STRNLEN.
5051         * lib/autoscan/functions: Adjust.
5053 2002-01-06  Akim Demaille  <akim@epita.fr>
5055         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
5056         package.m4, since is really depends upon configure.ac, not
5057         configure.
5058         * doc/autoconf.texi (testsuite Scripts): Adjust.
5059         * tests/Makefile.am (package.m4): New.
5060         EXTRA_DIST it since its a source.
5062 2002-01-06  Akim Demaille  <akim@epita.fr>
5064         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
5065         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
5066         and PACKAGE_BUGREPORT from here...
5067         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
5068         arguments.
5069         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
5070         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
5071         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
5072         * tests/tools.at (autoheader): Adjust.
5073         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
5075 2002-01-06  Akim Demaille  <akim@epita.fr>
5077         * bin/autoscan.in (scan_file): Use `&used'.
5079 2002-01-03  Akim Demaille  <akim@epita.fr>
5081         * doc/autoconf.texi (Output): Improved wording regarding use of
5082         AC_OUTPUT.
5083         From Olly Betts.
5085 2001-12-18  Kevin Ryde  <user42@zip.com.au>
5087         * doc/autoconf.texi (Function Portability): Add notes on sscanf
5088         sometimes needing writable input.
5090 2001-12-17  Jim Meyering  <meyering@lucent.com>
5092         * doc/autoconf.texi (New Macros): Tweak wording.
5094 2001-12-14  Akim Demaille  <akim@epita.fr>
5096         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
5097         trailing files, don't apply `-rf' to files which might not be
5098         created by configure (core, core.*, and *.core), but just `rm -f'.
5099         Suggested by Jonathan Kamens.
5101 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
5103         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
5105 2001-12-14  Akim Demaille  <akim@epita.fr>
5107         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
5109 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
5111         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
5112         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
5113         abs_srcdir, top_srcpath to abs_top_srcdir.
5114         (_AC_OUTPUT_FILES): Adjust.
5115         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
5116         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
5117         * tests/wrappl.in, tests/wrapsh.in: Adjust.
5119 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
5121         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
5122         C/Fortran linking on HP/UX, by extracting the Fortran library
5123         search path from the LPATH line in the $F77 -v output.
5125 2001-12-12  Kevin Ryde  <user42@zip.com.au>
5127         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
5128         forbidden file descriptors table.
5130 2001-11-26  Akim Demaille  <akim@epita.fr>
5132         * bin/autoscan.in (%c_keywords): Build it at top level.
5133         Map to 1 in order to simplify its uses.
5135 2001-11-26  Akim Demaille  <akim@epita.fr>
5137         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
5138         Remove $filepath, useless.
5139         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
5140         variables, they are really part of the tokens.
5141         Split the input line on spaces and then look for tokens.
5142         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
5143         because of `lex$U.$(OBJEXT)'.
5144         (&scan_files): Use "@list" instead of join.
5145         * doc/Makefile.am (CLEANFILES): Add *.fns.
5147 2001-11-26  Akim Demaille  <akim@epita.fr>
5149         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
5150         Remove, replaced by...
5151         * tests/wrappl.in: Be common for all the Perl executables.
5152         In particular autoscan and autoheader want -I.
5153         * configure.ac: Adjust.
5154         * lib/autoscan/headers: errno.h is portable.
5156 2001-11-26  Akim Demaille  <akim@epita.fr>
5158         * bin/autoscan.in (used): New.
5159         Use it.
5161 2001-11-26  Akim Demaille  <akim@epita.fr>
5163         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
5164         directives.
5165         (&scan_sh_file): Remove a duplicate pattern.
5166         (&check_configure_ac): Use long options.
5167         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
5169 2001-11-26  Akim Demaille  <akim@epita.fr>
5171         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
5172         Before, having a line containing the opening of a multi line
5173         comment made the whole line be ignored.
5175 2001-11-26  Akim Demaille  <akim@epita.fr>
5177         * doc/autoconf.texi (Using an Autotest Test Suite): New.
5178         (testsuite Scripts): Be one of its subsection.
5179         (Autotest Logs): New.
5181 2001-11-26  Akim Demaille  <akim@epita.fr>
5183         Test groups are now run two directories deeper.
5185         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
5186         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
5187         at_top_builddir.
5188         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
5189         top_srcdir, builddir and top_builddir.
5190         Use `at_*dir' relatively to the directory containing the
5191         suite, use `*dir' when relatively to the current group dir.
5193 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
5195         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
5196         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
5197         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
5198         spelling errors.
5200 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
5202         * doc/autoconf.texi (Using System Type): Add an example of `case
5203         $host' usage so people quit using `case $target' everywhere.
5205 2001-11-22  Akim Demaille  <akim@epita.fr>
5207         * doc/autoconf.texi (Installation Directory Variables): Englishoes
5208         spotted by Jim Meyering.
5210 2001-11-16  Paul Eggert  <eggert@twinsun.com>
5212         This patch implements a `long double' suggestion by Oliver Kiddle.
5214         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
5215         static, to catch errors if the value isn't known at compile-time
5216         and the compiler supports dynamic arrays.  Change its name from
5217         `_array_' to `test_array' to avoid potential name clashes.
5218         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
5219         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
5220         better than double.  Catch a bug in GCC 2.95.2 x86.
5221         * doc/autoconf.texi (C Compiler): Document the above.
5222         * NEWS: Likewise.
5224 2001-11-13  Akim Demaille  <akim@epita.fr>
5226         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
5227         hand.
5228         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
5230 2001-11-13  Akim Demaille  <akim@epita.fr>
5232         * lib/autotest/general.m4 (AT_INIT): After having run the test
5233         group, go back to the initial directory, not to at_suite_dir.
5235 2001-11-13  Akim Demaille  <akim@epita.fr>
5237         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
5238         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
5239         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
5240         option.
5241         (AT_CHECK_CONFIGURE): Use absolute paths.
5242         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
5243         The problem is still the old one: there is no means in M4 (that I
5244         know about) to create a defining macro, because there is no means
5245         to create `$1' etc., therefore, the defining macro ``swallows''
5246         all the arguments meant to the defined macro.
5248 2001-11-13  Akim Demaille  <akim@epita.fr>
5250         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
5251         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
5252         configure.ac.
5253         * tests/aclocal.m4: Remove, as it is no longer used.
5255 2001-11-13  Akim Demaille  <akim@epita.fr>
5257         * lib/autotest/general.m4: Change `tests?' into `groups?' in
5258         variable names when referring to a single test group, or to
5259         `suite' when referring to the whole test suite.
5260         `at_last_test' is removed: m4 compute at_format itself.
5261         (at_stdout, at_stder1, at_stderr): New variables.
5262         (AT_CHECK): Use them.
5264 2001-11-13  Akim Demaille  <akim@epita.fr>
5266         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
5267         in PATH.
5268         Create `testsuite.dir/003/run' instead of `testsuite.003'.
5269         Do it as soon as a test fails, don't wait till the end of the test
5270         suite.
5271         Don't remove $as_me.[0-9]*, since these files no longer exist.
5273 2001-11-13  Akim Demaille  <akim@epita.fr>
5275         * tests/tools.at: Use absolute paths, since we are no longer run
5276         in place.
5278 2001-11-13  Akim Demaille  <akim@epita.fr>
5280         Now that tests are running in their own private dir, there is no
5281         need to list the files to remove at the end of tests groups.
5283         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
5284         (AT_data_files, at_data_files): Remove.
5285         (AT_CLEANUP, AT_DATA): Simplify.
5286         (AT_INIT): Adjust.
5287         Remove the group dir if !debug && !failed.
5288         * tests/atspecific.m4: Adjust.
5290 2001-11-13  Akim Demaille  <akim@epita.fr>
5292         Start a new layout for Autotest: `testsuite' creates
5293         `testsuite.dir' in which the at-check-line etc. files are to be
5294         found, and `testsuite.dir/003' where the test group 3 is run.
5296         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
5297         at_check_line_file, at_format, at_test_normalized, at_group_dir
5298         are new variables.
5299         Create the directories.
5300         Use absolute paths for at- files.
5301         (AT_CHECK): Adjust.
5303 2001-11-11  Michael Matz  <matz@kde.org>
5305         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
5306         (m4_car2): New.
5307         (m4_car): Properly quote arguments.
5309 2001-11-13  Akim Demaille  <akim@epita.fr>
5311         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
5312         with stricter rules on LIBOBJS.
5314 2001-11-12  Paul Eggert  <eggert@twinsun.com>
5316         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
5317         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
5318         __PROTOTYPES too.
5320 2001-11-12  Akim Demaille  <akim@epita.fr>
5322         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
5324 2001-11-12  Akim Demaille  <akim@epita.fr>
5326         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5327         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
5328         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5329         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5330         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
5331         specify to what the macro should be defined (typically to 1).
5333 2001-11-12  Akim Demaille  <akim@epita.fr>
5335         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
5336         From Jim Meyering.
5338 2001-11-12  Akim Demaille  <akim@epita.fr>
5340         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5341         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
5342         definition used by Automake where LEX is +/- "${missing} lex" and
5343         `missing' itself contains variables.
5345 2001-11-12  Akim Demaille  <akim@epita.fr>
5347         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
5348         Now that M4sh pushes BODY, the comments were output at the end of
5349         the test suites.
5351 2001-11-08  Akim Demaille  <akim@epita.fr>
5353         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
5354         that we can trace macros from aclocal.m4.
5355         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
5356         obsoleted, and redirect to the former anyway.
5357         Reported by Ralf Corsepius.
5359 2001-11-08  Akim Demaille  <akim@epita.fr>
5361         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
5362         processed only if present.
5363         * tests/torture.at (Configuring subdirectories): Use autoreconf
5364         instead of successive calls to autoconf.
5365         Add a nonexistent subdirectory to exercise the patch above.
5366         Reported by Ralf Corsepius.
5368 2001-11-08  Kevin Ryde  <user42@zip.com.au>
5370         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
5371         doesn't accept .S files.
5373 2001-11-07  Akim Demaille  <akim@epita.fr>
5375         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
5376         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
5377         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
5378         * bin/autom4te.in (warn_forbidden): New.
5379         (handle_output): Use it.
5380         Read m4_pattern_forbid with messages.
5382 2001-11-05  Akim Demaille  <akim@epita.fr>
5384         * bin/autom4te.in (--normalize): Remove.
5385         * lib/autom4te.in: Adjust.
5387 2001-11-05  Akim Demaille  <akim@epita.fr>
5389         * tests/Makefile.am (testsuite): Rename this target as...
5390         ($(TESTSUITE)): this.
5391         From Nicolas Joly.
5393 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
5395         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
5396         the --prefix option, also remove it's argument.
5398 2001-11-05  Akim Demaille  <akim@epita.fr>
5400         * doc/autoconf.texi (testsuite Invocation): Update.
5401         (Writing testsuite.at): Update.
5403 2001-11-03  Akim Demaille  <akim@epita.fr>
5405         * doc/autoconf.texi: s/@code/@command/ where appropriate.
5407 2001-11-03  Akim Demaille  <akim@epita.fr>
5409         * lib/Autom4te/General.pm: (&catfile, &canonfile)
5410         (&file_name_is_absolute): New, wrappers around routines from
5411         File::Spec.
5412         Use and export them.
5413         (&find_configure_ac): Optionally take a directory where to look at.
5414         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
5415         the arguments.
5416         Default @ARGV to `.', not find_configure_ac.
5417         (&autoreconf): Argument is a directory.
5418         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
5419         * doc/autoconf.texi (autoreconf Invocation): Update.
5421 2001-11-03  Akim Demaille  <akim@epita.fr>
5423         * lib/Autom4te/General.pm (@export_vars, @export_subs)
5424         (@export_forward_subs): New.
5425         Add basename, dirname, and fileparse.
5426         (@EXPORT): Adjust.
5427         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
5428         Don't look for aclocal flags if we already know aclocal is not
5429         used.
5430         Move aclocal.m4t only if it exists.
5431         Reported by Ezra Peisach.
5433 2001-11-03  Akim Demaille  <akim@epita.fr>
5435         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
5436         passed on command line, defaulting to ./configure.ac if present.
5437         (&maybe_autoreconf, File::Find): Remove, unused.
5438         (&autoreconf): If autoconf is not used, don't try to trace.
5440 2001-11-02  Akim Demaille  <akim@epita.fr>
5442         * configure.ac: Bump to 2.52g.
5444 2001-11-02  Akim Demaille  <akim@epita.fr>
5446         Version 2.52f.
5448 2001-11-02  Akim Demaille  <akim@epita.fr>
5450         * config/config.guess, config/config.sub, doc/standards.texi:
5451         * config/lispdir.m4: Update from masters.
5452         * configure.ac: Bump to 2.52f.
5454 2001-11-02  Akim Demaille  <akim@epita.fr>
5456         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
5457         Don't run aclocal when aclocal.m4 is not from aclocal.
5458         From Ezra Peisach.
5459         Don't run libtoolize and gettextize if --install is not given.
5461 2001-11-01  Paul Eggert  <eggert@twinsun.com>
5463         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
5464         be invoked before _AS_LINENO_PREPARE.
5465         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
5466         than character ranges.
5468         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
5469         invoking AS_BASENAME.  Set the locale variables to 'C' if
5470         possible, as POSIX requires this to get the traditional
5471         behavior.
5472         * doc/autoconf.texi (Special Shell Variables): Describe the above.
5474 2001-10-31  Paul Eggert  <eggert@twinsun.com>
5476         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
5477         with {}, as that triggers a bug in Bash 2.05.
5479         (_AS_LINENO_PREPARE): Use Sed rather than
5480         Awk.  Fix the sed prepass to work even if there are multiple
5481         instances of $LINENO on the same line.  Do not substitute for
5482         other variables like $LINENOT.  Do not check file dates; such a
5483         check is unreliable on sufficiently fast machines, and removing
5484         the check makes the code simpler and more reliable.  Check for
5485         output and chmod failures.
5487         * doc/autoconf.texi (Special Shell Variables): Document
5488         the above.
5490 2001-10-31  Akim Demaille  <akim@epita.fr>
5492         * tests/Makefile.am (atconfig): Remove this target, Automake
5493         handles it now.
5495 2001-10-31  Akim Demaille  <akim@epita.fr>
5497         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
5498         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
5499         provided, while it is optional.
5500         * configure.ac: Adjust.
5502 2001-10-26  Paul Eggert  <eggert@twinsun.com>
5504         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
5505           lib/Autom4te/Struct.pm:
5506         Require Perl 5.005_03 instead of just 5.005, as some tests fail
5507         with 5.005_02.
5509         * doc/autoconf.texi (Special Shell Variables): Document some
5510         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
5512         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
5513         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
5514         eval $LINENO is not portable in practice.
5516 2001-10-24  Akim Demaille  <akim@epita.fr>
5518         * lib/Autom4te/General.pm (backname): New.
5520 2001-10-24  Akim Demaille  <akim@epita.fr>
5522         * m4/: Remove, merged into...
5523         * config/: here.
5525 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
5527         * doc/autoconf.texi (Shellology): Mention the problems with bash
5528         2.05's use of ANSI quoting in its `set' builtin.
5530 2001-10-22  Paul Eggert  <eggert@twinsun.com>
5532         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
5533         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
5534         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
5535         POSIX decided to standardize on the int flavor of strerror_r.
5536         Always do char* test, as there's no reason not to.
5537         Assign to a char* var, to catch strerror_r that returns int*.
5539         * doc/autoconf.texi (Particular Functions):
5540         Document the above changes.  Also, document the fact that
5541         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
5543         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
5545 2001-10-20  Akim Demaille  <akim@epita.fr>
5547         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
5548         the executable was missing from the log.
5550 2001-10-20  Akim Demaille  <akim@epita.fr>
5552         * lib/Autom4te/General.pm (&update_file): If destination is
5553         unchanged, remove the source.
5554         (&up_to_date_p): Don't be verbose, be debug.
5555         * bin/autoreconf.in: No longer support --m4dir.
5556         (&autoreconf): Display the full path of the configure.ac we are
5557         studying.
5558         Trace it only once.
5559         Be sure to honor --force with gettextize.
5560         Always run aclocal.
5561         * doc/autoconf.texi: Adjust.
5563 2001-10-20  Akim Demaille  <akim@epita.fr>
5565         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
5566         Remove, dead.
5567         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
5568         `intl' is already present, as it refuses unless --force.
5569         (&parse_args): Use -I, --include instead of the old Autoconf
5570         options.
5571         ($localdir, $autoconf_dir): Remove.
5572         (@include): New.
5573         (&maybe_autoreconf): New, to preserve $_ for File::Find.
5575 2001-10-19  Jens Petersen  <petersen@redhat.com>
5577         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
5578         * doc/autoconf.texi (Particular Programs): Likewise.
5580 2001-10-19  Akim Demaille  <akim@epita.fr>
5582         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
5583         file in @configure_input@.
5584         Don't mention `automatically' in addition to `generated'.
5585         * tests/torture.at (#define header templates): Adjust.
5587 2001-10-19  Akim Demaille  <akim@epita.fr>
5589         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
5590         comment, explain how to install automatic mode selection.
5591         From Russ Allbery.
5593 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
5595         * bin/autoreconf.in (autoreconf): Display the path to the
5596         configure.ac being studied.
5598 2001-10-18  Paul Eggert  <eggert@twinsun.com>
5600         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
5601         long, to work around a bug in the HP C compiler version HP92453-01
5602         B.11.11.23709.GP.
5604         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
5605         (AS_BASENAME_EXPR): New macro.
5606         (AS_BASENAME_SED): Do not assume GNU sed semantics.
5607         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
5608         and fall back on 'sed' only if the other two fail.  This makes
5609         AS_BASENAME act more like AS_DIRNAME.
5610         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
5611         contains white space.
5612         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
5613         Use AS_DIRNAME, since I think it's now DOS-friendly.
5614         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
5615         Allow "dirname //FOO" to return either / or //, as POSIX allows
5616         either behavior.
5618 2001-10-10  Akim Demaille  <akim@epita.fr>
5620         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
5621         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
5622         From Eric Sharkey.
5624 2001-10-10  Akim Demaille  <akim@epita.fr>
5626         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
5627         m4_define, since...
5628         (_AS_ECHO_N): AS_REQUIREs it.
5630 2001-10-10  Akim Demaille  <akim@epita.fr>
5632         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
5633         (AC_INCLUDES_DEFAULT): Move to...
5634         * lib/autoconf/headers.m4: here.
5635         * lib/autoconf/types.m4: Comment changes.
5636         * doc/autoconf.texi: Specify where the default includes are used
5637         in the macro prototypes.
5639 2001-10-09  Akim Demaille  <akim@epita.fr>
5641         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
5642         transition code.
5644 2001-10-08  Akim Demaille  <akim@epita.fr>
5646         * bin/autoreconf.in (&autoreconf): Remove debugging code.
5647         (&parse_args): Pass verbosity/debugging options to subtools when
5648         --debug, not when --verbose.
5649         * lib/autom4te.in (Autoreconf-preselections): New.
5650         (Autoconf): Use it.
5652 2001-10-08  Akim Demaille  <akim@epita.fr>
5654         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
5656 2001-10-08  Akim Demaille  <akim@epita.fr>
5658         * doc/autoconf.texi (autoreconf Invocation): Adjust.
5659         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
5661 2001-10-08  Akim Demaille  <akim@epita.fr>
5663         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
5664         (Syntax of the shell scripts): Don't.
5665         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
5666         bother with $force since...
5667         * lib/Autom4te/General.pm: does.
5669 2001-10-08  Akim Demaille  <akim@epita.fr>
5671         * bin/autoreconf.in: Rewrite in Perl.
5672         * configure.ac: Adjust.
5673         * lib/Autom4te/General.pm (&up_to_date_p): New.
5674         * bin/autom4te.in (&up_to_date_p): Use it.
5675         Rename as...
5676         (&up_to_date): this.
5678 2001-10-08  Akim Demaille  <akim@epita.fr>
5680         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
5681         (m4_list_cmp): Use $0 to reinvoke yourself.
5682         (m4_patsubsts): New.
5683         (m4_strip, m4_version_unletter): Use it.
5684         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
5686 2001-10-08  Akim Demaille  <akim@epita.fr>
5688         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
5689         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
5690         * lib/autoconf/types.m4, lib/autotest/general.m4,
5691         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
5692         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
5693         m4_bregexp, m4_bpatsubst, and m4_bmatch.
5694         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
5696 2001-10-08  Akim Demaille  <akim@epita.fr>
5698         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
5700 2001-10-08  Akim Demaille  <akim@epita.fr>
5702         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
5703         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
5704         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
5705         * tests/tools.at, tests/m4sh.at: Use it.
5706         * tests/m4sh.at: Don't rely on Autoconf macros.
5707         (DIRNAME_TEST): Also exercise the expr variant.
5708         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
5709         preferred M4sugar extension is now `.4s'.
5710         * tests/README: Remove.
5712 2001-10-08  Akim Demaille  <akim@epita.fr>
5714         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
5715         (m4_provide_if): this.
5716         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
5717         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
5718         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
5719         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
5721 2001-10-08  Akim Demaille  <akim@epita.fr>
5723         Use `add-log-current-defun-function' for ChangeLog creation.
5724         Suggested by Tom Tromey.
5726         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
5727         (autotest-mode): Adjust.
5728         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
5729         'comment-region onto `C-c ;'.
5730         Comments are `#', not `dnl'.
5731         (autoconf-current-defun): New.
5732         (autoconf-font-lock-keywords): Recognize `m4_defun'.
5734 2001-10-08  Akim Demaille  <akim@epita.fr>
5736         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
5737         * lib/m4sugar/m4sh.m4: here.
5738         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
5739         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
5740         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
5741         include handle the m4_pattern_*, no longer push the
5742         BODY diversion nor set the /bin/sh line, AS_INIT does it.
5743         * lib/autotest/general.m4 (AT_INIT): Likewise.
5744         * tests/base.at: Adjust the tests to use AS_INIT.
5745         * tests/tools.at (AT_DATA_FORBIDDEN): New.
5746         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
5747         Autoconf.
5749 2001-10-07  Paul Eggert  <eggert@twinsun.com>
5751         * doc/autoconf.texi (config.status Invocation):
5752         CONFIG_SHELL defaults to a shell that supports LINENO if available.
5754         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
5755         shell does not support LINENO, and if CONFIG_SHELL is unset or
5756         empty, and if we can find a shell that does support LINENO,
5757         then set CONFIG_SHELL to that shell and then re-execute
5758         ourselves with CONFIG_SHELL.
5760 2001-10-05  Paul Eggert  <eggert@twinsun.com>
5762         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
5763         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
5764         build of $(TESTSUITE).
5766 2001-10-05  Akim Demaille  <akim@epita.fr>
5768         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
5769         iff we are a bareword.
5770         Reported by Raja R Harinath.
5772 2001-10-05  Akim Demaille  <akim@epita.fr>
5774         * tests/m4sh.at (LINENO): New.
5775         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
5776         PATH_SEPARATOR before using it.
5777         Fix the absolute path case/esac pattern.
5778         Provide $0 as fallback for as_myself.
5779         Reported by Raja R Harinath.
5781 2001-10-05  Akim Demaille  <akim@epita.fr>
5783         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
5784         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
5786 2001-10-05  Akim Demaille  <akim@epita.fr>
5788         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
5789         (AS_SHELL_SANITIZE): here.  Use it.
5790         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
5791         From Paul Eggert.
5793 2001-10-04  Akim Demaille  <akim@epita.fr>
5795         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
5796         combination of Awk and sed to replace $LINENO.
5798 2001-10-02  Paul Eggert  <eggert@twinsun.com>
5800         * doc/autoconf.texi (Limitations of Builtins): You can't use
5801         "source"; it's not portable.  Remove confusing and
5802         somewhat-incorrect example involving "." and "/".
5804         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
5805         compatibility with POSIX shells.
5807 2001-10-02  Akim Demaille  <akim@epita.fr>
5809         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
5810         instead of exec'ing to preserve $0 and $@.
5812 2001-10-01  Akim Demaille  <akim@epita.fr>
5814         * tests/testsuite (AT_INIT) <at_pass_list>: New.
5815         Don't run twice the same test.
5817 2001-10-01  Akim Demaille  <akim@epita.fr>
5819         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
5820         No longer output the list of tests.
5821         <--list>: New option.
5822         <--full-help>: Remove.
5823         Complete the short/long options duality.
5824         Various small adjustments.
5826 2001-10-01  Akim Demaille  <akim@epita.fr>
5828         * doc/autoconf.texi: Use @kbd for user input.
5829         Always use `$' as shell prompt.
5831 2001-09-30  Paul Eggert  <eggert@twinsun.com>
5833         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
5834         Don't use nested parenthesization.  This patch was originally
5835         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
5836         but somehow it didn't get incorporated then.
5837         * doc/autoconf.texi (Limitations of Usual Tools):
5838         Clarify remark about sed and nested parenthesization.
5840         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
5841         Report an error if the size cannot be determined even though
5842         the type exists.
5843         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
5844         Check for `expr' arithmetic overflow, and for compilation failure,
5845         and invoke a new argument $4 if either is discovered.
5846         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
5847         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
5849 2001-09-28  Akim Demaille  <akim@epita.fr>
5851         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
5852         * m4/lispdir.m4: New.
5853         * aclocal.m4, configure.ac: Adjust.
5855 2001-09-28  Akim Demaille  <akim@epita.fr>
5857         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
5858         (AT_TESTED): this.
5859         (AT_INIT): More the wrapped section to where it will be expanded.
5860         Output `AT_tested' only when existing.
5861         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
5863 2001-09-27  Akim Demaille  <akim@epita.fr>
5865         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
5866         generates too many bug reports.
5868         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
5869         status when executing the ACTION-IF-FALSE.
5870         * tests/base.at (AC_TRY_*): Rename as...
5871         (AC_TRY_COMMAND): this.
5872         (AC_RUN_IFELSE): New.
5873         * tests/compile.at (Extensions, C keywords)
5874         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
5875         (Broken/missing compilers, AC_PROG_CPP with warnings)
5876         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
5877         * tests/c.at (Extensions, C keywords)
5878         (Broken/missing compilers, AC_PROG_CPP with warnings)
5879         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
5880         (AC_PROG_CPP requires AC_PROG_CC): here and...
5881         * tests/fortran.at (GNU Fortran 77): there.
5882         * doc/autoconf.texi (autoconf Invocation): Fix the example:
5883         AC_TRY_RUN is about compilation, not shell commands.
5884         (Test Programs): AC_TRY_RUN works as used to be advertised.
5886 2001-09-27  Akim Demaille  <akim@epita.fr>
5888         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
5889         Raja R Harinath:
5890         Be sure to detect when $LINENO always returns the same value.
5891         Look for the original script, basename($0) is certainly not
5892         enough.
5893         Pass the CLI arguments to `$as_me.lineno'.
5895 2001-09-25  Akim Demaille  <akim@epita.fr>
5897         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
5898         Be sure the close and reopen the LOG fd before and after using tee
5899         to extend the log.
5900         <at_tests_pattern>: Adjust to the new format of at_help_all.
5902 2001-09-23  Akim Demaille  <akim@epita.fr>
5904         * bin/autom4te.in (parse_args): There can be several invocations
5905         of --language now.
5907 2001-09-23  Akim Demaille  <akim@epita.fr>
5909         * doc/autoconf.texi (Top): Wrap in @ifnottex.
5911 2001-09-23  Akim Demaille  <akim@epita.fr>
5913         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
5914         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
5915         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
5916         builddir, buildpath, top_builddir, and top_buildpath.
5917         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
5918         the current directory.
5919         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
5920         variables *before* changing the current directory.
5921         Skip nonexistent dirs.
5922         * doc/autoconf.texi (Preset Output Variables): Document these
5923         variables.
5925         * lib/autotest/general.m4: Do not reset AT_victims.
5926         Don't compute at_srcdir nor at_top_srcdir.
5928         * tests/tools.at: Hence use top_srcdir.
5930         * tests/Makefile.am, tests/autoconf, tests/autoheader,
5931         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
5932         Remove.
5933         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
5934         * tests/wrapsh.in, tests/autoupdate.in: New.
5935         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
5936         * configure.ac: Build the position independent wrappers.
5938         * man/Makefile.am: Now that test wrappers are position
5939         independent, use them and drop dark envvar magic.
5941 2001-09-23  Akim Demaille  <akim@epita.fr>
5943         * doc/autoconf.texi (Common Shell Constructs): Rename as...
5944         (Programming in M4sh): this.
5945         Promote to @section.
5947 2001-09-23  Akim Demaille  <akim@epita.fr>
5949         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
5950         Pass $at_debug_args to the rerun test suite.
5951         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
5952         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
5953         From Paul Eggert.
5955 2001-09-23  Akim Demaille  <akim@epita.fr>
5957         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
5959 2001-09-23  Akim Demaille  <akim@epita.fr>
5961         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
5962         over-escaping.
5964 2001-09-23  Akim Demaille  <akim@epita.fr>
5966         * lib/Autom4te/General.pm (&debug): New.
5967         * bin/autom4te.in ($language): Move to...
5968         (parse_args): here.
5969         Handle --language in languages.
5970         * lib/autom4te.in (Automake-selections, Autoheader-selections)
5971         (Autoscan-selections): New.
5972         (Autoconf): Adjust.
5974 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
5976         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
5977         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
5978         to match current versions from CVS Automake.
5980 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
5982         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
5983         for $LINENO.
5985 2001-09-22  Akim Demaille  <akim@epita.fr>
5987         * lib/autoconf/autotest.m4: Create `package.m4'.
5988         * tests/Makefile.am (package.m4): Remove.
5990 2001-09-22  Akim Demaille  <akim@epita.fr>
5992         Rely on `$LINENO' when possible instead of `__oline__'.
5994         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
5995         `$LINENO' support replacement when not supported.
5996         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
5997         them explicitly to be sure they are not output before this section
5998         (via m4_require).  Cosmetic only.
5999         * lib/autoconf/c.m4, lib/autoconf/general.m4,
6000         * lib/autoconf/programs.m4: Replace all the occurrences of
6001         `__oline__' with `$LINENO'.
6002         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
6004 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
6006         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
6007         character (u: -> ue) in a code comment.
6008         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
6009         it works.
6011 2001-09-21  Akim Demaille  <akim@epita.fr>
6013         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
6014         Suggested by Jim Meyering.
6016 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6018         * lib/autoconf/programs.m4: Use extensions listed in
6019         $ac_executable_extensions when looking for programs.
6021 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6023         * lib/autoconf/general.m4: Fix a small Englisho.
6024         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
6025         setting up ac_dir_suffix and ac_top_builddir.
6026         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
6028 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6030         * doc/autoconf.texi (File System Conventions): Clarify the use of
6031         PATH_SEPARATOR.
6032         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
6033         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
6034         be used instead of ':'.
6035         * lib/autotest/general.m4: Replace occurrences of ':' in
6036         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
6038 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6040         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
6041         arguments.  Fixed a typo.
6043 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6045         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
6046         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
6048 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6050         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
6051         * bin/autoupdate.in: Ditto.
6052         * bin/autoheader.in: Reworded a few comments.
6053         * bin/autoconf.in: Reworded help text for a few options.
6054         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6055         * bin/autoscan.in, bin/autoupdate.in: Ditto.
6057 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
6059         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
6060         already have $file).  Set output files to binary mode (helps avoid
6061         CR issues on DOSish systems).
6063 2001-09-19  Akim Demaille  <akim@epita.fr>
6065         * lib/autotest/general.m4: Englishoes.
6066         From Tim Van Holder and Alexey Mahotkin.
6068 2001-09-18  Paul Eggert  <eggert@twinsun.com>
6070         * doc/autoconf.texi (Common Shell Constructs): New node,
6071         documenting AS_DIRNAME.
6072         (Limitations of Usual Tools): Refer to it when discussing dirname.
6073         Also, update discussion of POSIX standard to reflect latest draft.
6075         * lib/autoconf/c.m4:
6076         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
6078         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6079         Do not pass a first argument with leading '-'
6080         to expr, by parenthesizing initial integers that might be negative.
6082         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
6083         now merely checks whether it is an error to pass an argument
6084         to getpgrp.
6086         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
6087         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
6088         whether it is a (compile-time) error to pass an argument to
6089         getpgrp.  This simpler test supports the revised documentation,
6090         and is all that AC_FUNC_GETPGRP's users really need.
6092 2001-09-18  Akim Demaille  <akim@epita.fr>
6094         * doc/autoconf.texi (Limitations of Make) <$<>: New.
6096 2001-09-18  Akim Demaille  <akim@epita.fr>
6098         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
6099         `{}'.
6100         * lib/autotest/general.m4 (AT_INIT): Adjust.
6102 2001-09-18  Paul Wagland  <paul@wagland.net>
6104         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
6105         correctly.
6106         Add test for AS_BASENAME.
6107         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
6108         added test. It now correctly handles /1/2/3/, returning '3' not ''.
6109         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
6110         * tests/base.at: Fixed the expected responses. The old ones were
6111         one line out...
6112         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
6113         the documentation claims it should (and how it behaved in 2.13).
6115 2001-09-18  Akim Demaille  <akim@epita.fr>
6117         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
6118         the AC_CONFIG_COMMANDS invocation.
6119         This also solves the name clash problems.
6120         Don't set the package's ID.
6121         * lib/m4sugar/Makefile.am (version.m4): Revamp.
6122         No longer to be shipped.
6123         (version.in): Remove.
6124         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
6125         * lib/autoconf/status.m4: Adjust.
6126         Use `m4_PACKAGE_STRING'.
6127         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
6128         the only optional argument is the name of the test suite.
6129         Expect `package.m4' to define the package signature.
6130         * lib/autom4te.in (Autotest): Add `package.m4?'.
6131         * tests/Makefile.am (package.m4): New.
6132         * tests/suite.at: ifnames is a victim.
6134 2001-09-18  Akim Demaille  <akim@epita.fr>
6136         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
6137         AC_LIBSOURCE, AC_CONFIG_FILES.
6138         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
6139         program version string doesn't match the package's.
6140         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
6141         after `(cached)'.
6143 2001-09-17  Paul Eggert  <eggert@twinsun.com>
6145         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6146         Allow expression to return any value that can fit into unsigned long
6147         (not int, as before).  Check for output errors.
6149 2001-09-17  Bruno Haible <haible@ilog.fr>
6151         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6152         Always include <stdio.h> and <stdlib.h>. Evaluate
6153         the expression in an extra function before these includes. Call
6154         fprintf "%d" only after ensuring the argument is of type 'int'.
6155         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
6157 2001-09-17  Paul Eggert  <eggert@twinsun.com>
6159         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
6160         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
6161         fatal errors, and AC_CHECK_LIB causes it to include libraries even
6162         when they don't exist.
6164         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
6165         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
6166         need it.
6168         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
6169         version with the version used by fileutils 4.1, except use
6170         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
6171         we don't need it.
6173         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
6175 2001-09-13  Akim Demaille  <akim@epita.fr>
6177         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
6178         _first_.
6179         Reported by Gerrit P. Haase.
6181 2001-09-13  Akim Demaille  <akim@epita.fr>
6183         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
6184         m4_defn'ing is valid.
6186 2001-09-13  Akim Demaille  <akim@epita.fr>
6188         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
6189         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
6190         Use it.
6192 2001-09-13  Akim Demaille  <akim@epita.fr>
6194         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
6195         m4_match.
6196         (m4_re_escape): New.
6197         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
6198         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
6199         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
6200         Likewise.
6201         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
6202         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
6203         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
6204         AT_tests_all for consistency.
6205         Set at_victims.
6206         (AT_VICTIMS): Similar to AT_KEYWORDS.
6207         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
6209 2001-09-13  Akim Demaille  <akim@epita.fr>
6211         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
6213 2001-09-13  Akim Demaille  <akim@epita.fr>
6215         * lib/autotest/general.m4 (AT_INIT): Create and remove
6216         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
6217         test suites can cohabit.
6219 2001-09-13  Akim Demaille  <akim@epita.fr>
6221         * tests/mktests.sh: Don't output banners for empty test files.
6223 2001-09-13  Akim Demaille  <akim@epita.fr>
6225         Test suites can be run independently of configure.
6227         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
6228         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
6229         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
6230         ECHO_N etc.
6231         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
6232         and at_c.
6233         * lib/autotest/general.m4: Use ECHO_*.
6235 2001-09-13  Akim Demaille  <akim@epita.fr>
6237         * bin/ifnames.in: Rewrite in Perl.
6238         * configure.ac: Don't look for AWK.
6239         * tests/tools.at (AWK portability): Remove.
6240         (Syntax of the shell scripts): Don't check ifnames.
6241         (AT_CHECK_PERL_SYNTAX): New.
6242         (Syntax of the Perl scripts): Check ifnames.
6243         * tests/ifnames: New.
6245 2001-09-13  Akim Demaille  <akim@epita.fr>
6247         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
6248         test group titles.
6249         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
6250         Remove all the other keywords.
6252 2001-09-10  Akim Demaille  <akim@epita.fr>
6254         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
6255         SETUP: no longer used.
6256         Support -k, --keywords.
6257         <at_help>: Be `no', `short', or `long'.
6258         <at_help_all>: New variable.
6259         (AT_KEYWORDS): New.
6260         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
6261         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
6262         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
6263         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
6264         No longer fill the HELP diversion.
6265         (AT_CLEANUP): Use them.
6266         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
6267         (m4_list_append): Remove.
6269         Spread a few keywords in the Autoconf test suite.
6271 2001-09-10  Akim Demaille  <akim@epita.fr>
6273         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
6274         PATH_SEPARATOR, let M4sh compute it.
6275         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
6276         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
6277         Move to...
6278         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
6279         Simplify when the path is not a literal.
6280         (AS_UNAME): Use it to report PATH.
6281         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
6282         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
6283         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
6284         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
6285         normalize the path, and to look for victims.
6286         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
6287         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
6289 2001-09-07  Akim Demaille  <akim@epita.fr>
6291         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
6292         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
6293         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
6294         related variables into `at_package_*'.
6295         * lib/autotest/general.m4 (AT_VICTIMS): New.
6296         (AT_INIT): Adjust for stand-alone/embedded test suites.
6297         (AS_MESSAGE_LOG_FD): Define and use it.
6298         * tests/suite.at (AT_VICTIMS): Use it.
6299         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
6300         at_version.
6302 2001-09-07  Akim Demaille  <akim@epita.fr>
6304         Move toward possibly stand-alone test suites.
6306         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
6307         in addition, it introduces useless differences in logs.
6308         (AT_INIT): Let atconfig and atlocal be both optional.
6309         Adjust PATH computation.
6310         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
6312 2001-09-07  Akim Demaille  <akim@epita.fr>
6314         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
6315         m4sugar/version.m4.
6317 2001-09-05  Akim Demaille  <akim@epita.fr>
6319         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
6320         to avoid GCC warnings.
6321         From Uwe Seimet.
6323 2001-09-05  Akim Demaille  <akim@epita.fr>
6325         * bin/autom4te.in: --language is -l, not -s.
6327 2001-09-05  Akim Demaille  <akim@epita.fr>
6329         Be ready to handle filenames as stupid as `dnl.at', for if even
6330         the maintainer is dumb enough to do that...
6332         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
6333         excellence in M4 quotation: consider `__file__' is active.
6335         And BTW, when invoking m4, pass the --include in the right order:
6336         the wrong one.
6338         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
6339         4m.
6341 2001-09-05  Akim Demaille  <akim@epita.fr>
6343         * lib/Autom4te/XFile.pm: New lib file.
6344         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
6345         * bin/autoheader.in: Use it.
6347 2001-09-05  Akim Demaille  <akim@epita.fr>
6349         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
6350         defined.
6352 2001-09-05  Akim Demaille  <akim@epita.fr>
6354         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
6355         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
6357         * bin/autoscan.in: Use `getopt' and `find_files' etc.
6358         Add -I, --include support.
6359         * doc/autoconf.texi (autoscan Invocation): Adjust.
6361 2001-09-05  Akim Demaille  <akim@epita.fr>
6363         CVS GNU M4 doesn't like `undefine(undefined)'.
6365         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
6366         New, extracted from main.
6367         Use IO::File wherever possible.
6368         (input.m4): Be constant, use -I instead of hard coding $tmp.
6369         Therefore be a quoted heredoc.
6370         Don't invoke `_au_disable', since ac was not loaded, but just
6371         `unm4.m4'.
6373 2001-08-31  Akim Demaille  <akim@epita.fr>
6375         Version 2.52d.
6377 2001-08-31  Akim Demaille  <akim@epita.fr>
6379         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
6380         previous patch.
6381         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
6383 2001-08-31  Akim Demaille  <akim@epita.fr>
6385         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
6386         serious problems handling heredocs in heredocs.
6387         Reported by Nicolas Joly.
6389 2001-08-31  Akim Demaille  <akim@epita.fr>
6391         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
6392         (Making testsuite Scripts): Update.
6394 2001-08-31  Akim Demaille  <akim@epita.fr>
6396         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
6398 2001-08-31  Akim Demaille  <akim@epita.fr>
6400         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
6401         (testsuite Scripts): There is no such thing as `atconfig.in'.
6402         And actually one diagram is missing: test suite runtime.
6404 2001-08-31  Akim Demaille  <akim@epita.fr>
6406         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
6407         inverse order.
6409 2001-08-31  Akim Demaille  <akim@epita.fr>
6411         * bin/autoupdate.in (@include): `installcheck' revealed the path
6412         to m4sugar was lacking!
6414 2001-08-31  Akim Demaille  <akim@epita.fr>
6416         * man/Makefile.am (.x.1): We really have to pass
6417         autom4te_perllibdir.
6419 2001-08-31  Akim Demaille  <akim@epita.fr>
6421         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
6422         debug scripts, in particular passing explicitly listed tests to
6423         run is stupid.
6425 2001-08-31  Akim Demaille  <akim@epita.fr>
6427         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
6428         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
6429         Use directly autom4te, not autoconf.
6430         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
6432 2001-08-31  Akim Demaille  <akim@epita.fr>
6434         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
6435         * bin/autoheader.in (%symbol): Strip arguments of macros.
6437 2001-08-31  Akim Demaille  <akim@epita.fr>
6439         * doc/autoconf.texi: Catch up -I, --include changes.
6441 2001-08-31  Akim Demaille  <akim@epita.fr>
6443         * bin/autom4te.in (&parse_args): Die on unknown languages.
6444         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
6445         need for autoconf.
6446         Promote --include over --macrodir and other obsolete options.
6448 2001-08-31  Akim Demaille  <akim@epita.fr>
6450         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
6451         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
6452         * bin/autom4te.in ($autoconf): Pass --force.
6453         `print $out' doesn't print `$_' but `$out'.
6454         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
6455         (autoheader): Pass --force since the test suite goes too fast for
6456         the time stamps.
6457         Adjust to the new autoheader messages.
6459 2001-08-31  Akim Demaille  <akim@epita.fr>
6461         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
6462         Check the completeness of the #template.
6463         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
6464         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
6465         invocation.
6467 2001-08-31  Akim Demaille  <akim@epita.fr>
6469         * lib/Autom4te/General.pm (&find_file, &update_file): New.
6470         * bin/autoupdate.in, bin/autoheader.in: Adjust.
6471         Drop AC_MACRODIR dead for real.
6472         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
6473         `autoheader: `config.hin' is created'.
6474         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
6476 2001-08-31  Akim Demaille  <akim@epita.fr>
6478         * bin/autoheader.in: Rewrite in Perl.
6479         * tests/autoheader: Adjust.
6481 2001-08-31  Akim Demaille  <akim@epita.fr>
6483         * bin/autoconf.in (--include, -I): New option.
6484         Map --localdir, --autoconf-dir onto it.
6485         Forward autom4te's options instead of interpreting them.
6486         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
6487         There is no such envvar since the inception of autom4te.cfg.
6488         * bin/autom4te.in (&parse_args): Uniquify `@include'.
6489         * bin/autoupdate.in: Adjust, and perform more control.
6490         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
6491         * tests/autoconf: Dittowise.
6493 2001-08-31  Akim Demaille  <akim@epita.fr>
6495         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
6496         * bin/autom4te.in (&find_file): Support `FILE?' standing for
6497         optionally `FILE'.
6498         Use -e, not -f, since /dev/null for instance is OK.
6499         (&parse_args): Adjust.
6500         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
6502 2001-08-31  Akim Demaille  <akim@epita.fr>
6504         * configure.ac: Also find tested executables in bin.
6505         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
6506         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
6507         installed peer executables, only PATH is allowed to resolve it.
6508         Pass `autoconf_dir' via options, not via invisible envvars.
6509         * lib/Autom4te/General.pm (&find_peer): Remove.
6510         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
6511         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
6512         * man/Makefile.am: Let help2man rely on PATH instead of trying to
6513         find the executables for it.
6514         * tests/Makefile.am: Major cleanup.  Too lazy to document...
6515         * tests/atlocal.in: Remove all the obscure envvar manipulations.
6516         We only need PERL.
6517         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
6518         indeed related to running the test suite, while passing
6519         --autoconf-dir and others is related to running non installed
6520         Autoconf executables.  So don't do that, leave it to...
6521         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
6522         * tests/autoscan: New.
6523         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
6524         refer to library files: rely on --language.
6526 2001-08-29  Akim Demaille  <akim@epita.fr>
6528         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
6529         s/--set/--language/.
6531 2001-08-29  Akim Demaille  <akim@epita.fr>
6533         * doc/autoconf.texi: Strip the @nodes.
6534         Suggested by Paul Eggert.
6535         (Initializing configure): Typo.
6537 2001-08-29  Akim Demaille  <akim@epita.fr>
6539         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
6540         Suggested by Paul Eggert.
6542 2001-08-29  Akim Demaille  <akim@epita.fr>
6544         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
6545         download in a tmp dir.
6547 2001-08-29  Akim Demaille  <akim@epita.fr>
6549         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
6550         case insensitive OSes out there :(
6551         From Tim Van Holder.
6553 2001-08-29  Akim Demaille  <akim@epita.fr>
6555         * lib/autom4te.in: New.
6556         * lib/Makefile.am (edit, autom4te.cfg): New.
6557         * bin/autom4te.in (BEGIN): Simplify.
6558         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
6559         (&load_configuration): New.  Use it.
6560         (&parse_args): Support --mode, --set, and --melt.
6561         * bin/autoconf.in: Simplify and adjust.
6562         * tests/Makefile.am (AUTOMAKE): Use --set.
6563         * tests/atlocal.in: Adjust.
6564         * BUGS: distcheck and check are weak.
6566 2001-08-29  Akim Demaille  <akim@epita.fr>
6568         * lib/autotest/general.m4: Use
6569                 foo=`(command) 2>/dev/null`
6570         not
6571                 foo=`command` 2>/dev/null
6572         (at-devnull): Rename as...
6573         (AT-devnull): this.
6574         (--clean): Remove AT-* files too.
6575         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
6576         Reported by Nicolas Joly.
6578 2001-08-28  Akim Demaille  <akim@epita.fr>
6580         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
6581         quotes inside single quotes.
6582         Reported by Nicolas Joly.
6584 2001-08-28  Kevin Ryde  <user42@zip.com.au>
6586         * doc/autoconf.texi (Function Portability): Mention C right shifts.
6588 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
6590         * lib/autotest/general.m4: Reword some messages.
6591         (AT_INIT): Check for the `times' builtin before using it.
6592         Support test ranges as arguments to the testsuite.
6593         Have -e imply -d as the help text suggested.
6595 2001-08-27  Akim Demaille  <akim@epita.fr>
6597         * Makefile.maint: Formatting changes.
6598         (do-po-update, po-update, cvs-update, update): New targets.
6599         (AMTAR): Remove.
6601 2001-08-27  Akim Demaille  <akim@epita.fr>
6603         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
6604         <at_cmd_line>: New.
6605         Pass it to debug-*.sh scripts.
6606         <AUTOTEST_PATH>: May contain absolute dir names.
6608 2001-08-27  Akim Demaille  <akim@epita.fr>
6610         * lib/autotest/general.m4 (AT_INIT): Log the command line.
6611         Support `VAR=VAL' as arguments.
6612         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
6613         may be set via the command line.
6615 2001-08-27  Akim Demaille  <akim@epita.fr>
6617         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
6618         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
6619         first the build dirs, then the src dirs.
6620         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
6622 2001-08-27  Akim Demaille  <akim@epita.fr>
6624         * lib/autotest/general.m4 (AT_INIT): Output the definition of
6625         at_data_files earlier.
6626         (--clean, -c): New option.
6627         * tests/Makefile.am: Use this option.
6629 2001-08-27  Akim Demaille  <akim@epita.fr>
6631         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
6632         `ac_top_builddir' to mimic Automake's vocabulary, which much more
6633         readable.
6634         Adjust callers.
6635         * doc/autoconf.texi (Configuration Actions): Document the vars
6636         available in commands.
6637         Emphasize the risks of collisions in init-cmds.
6639 2001-08-27  Akim Demaille  <akim@epita.fr>
6641         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
6642         (Initializing configure): this new node.
6644 2001-08-27  Akim Demaille  <akim@epita.fr>
6646         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
6648 2001-08-27  Akim Demaille  <akim@epita.fr>
6650         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
6651         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
6652         New file.
6653         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
6655 2001-08-27  Akim Demaille  <akim@epita.fr>
6657         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
6658         to...
6659         * lib/autoconf/autoheader.m4: this new file.
6660         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
6661         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
6662         Move to...
6663         * lib/autoconf/autoupdate.m4: this new file.
6665 2001-08-27  Akim Demaille  <akim@epita.fr>
6667         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
6668         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
6669         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
6670         -> ac_dir).
6671         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
6672         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
6674 2001-08-27  Akim Demaille  <akim@epita.fr>
6676         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
6677         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
6678         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
6679         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
6680         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
6681         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
6682         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
6683         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
6684         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
6685         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
6686         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
6687         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
6688         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
6689         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
6690         (_AC_OUTPUT_SUBDIRS): Move to...
6691         * lib/autoconf/status.m4: this new file.
6692         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
6693         * tests/Makefile.am, tests/suite.at: Adjust.
6695 2001-08-27  Akim Demaille  <akim@epita.fr>
6697         Automake 1.5.
6699         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
6700         (AMTAR): Help automake define it.
6701         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
6702         needed, 1.5 can have a macro and a target with the same name.
6703         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
6704         * m4/strip.m4: New.
6705         * m4/init.m4, m4/sanity.m4: Update.
6706         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
6707         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
6708         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
6709         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
6711 2001-08-27  Akim Demaille  <akim@epita.fr>
6713         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
6715         * lib/autoconf/version.in: Remove.
6716         * lib/m4sugar/version.in: New.
6717         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
6718         Adjust callers.
6719         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
6720         the name of the directory they're in, instead of the filename,
6721         since version.m4 is now in m4sugar, but m4_acversion must not be
6722         classified as an Autoconf macro.
6723         ($input_m4): Don't qualify the path to m4sugar.
6724         Rather, pass autoconf_dir to m4.
6725         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
6726         * tests/suite.at: Require 2.52c.
6728 2001-08-27  Akim Demaille  <akim@epita.fr>
6730         testsuite.log should include config.log.
6732         * lib/autotest/autotest.m4: New.
6733         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
6734         * tests/suite.at : Adjust.
6735         (AT_INIT): Log config.log.
6736         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
6737         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
6738         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
6739         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
6740         of config.log on traps.
6741         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
6742         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
6743         for config.status'.
6744         Open the log as soon as possible.
6745         Use the same log introduction as configure's.
6747 2001-08-22  Paul Eggert  <eggert@twinsun.com>
6749         * doc/autoconf.texi (Indices): New node.
6750         Move indices out of the top level menu and into this submenu.
6752 2001-08-22  Akim Demaille  <akim@epita.fr>
6754         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
6755         AC_TRY_COMMAND.
6756         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
6758 2001-08-22  Akim Demaille  <akim@epita.fr>
6760         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
6761         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
6762         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
6763         * lib/autoconf/programs.m4: here.
6764         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
6765         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
6766         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
6767         * lib/autoconf/programs.m4: here.
6768         (_AC_DECL_YYTEXT): Rename as...
6769         (_AC_PROG_LEX_YYTEXT_DECL): this.
6770         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
6771         * tests/Makefile.am, tests/suite.am: Adjust.
6773 2001-08-22  Akim Demaille  <akim@epita.fr>
6775         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
6776         Move to...
6777         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
6778         here.
6779         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
6780         * lib/autoconf/functions.m4: here.
6781         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
6782         (AH_CHECK_LIB): Move to...
6783         * lib/autoconf/libs: this new file.
6784         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
6785         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
6786         * lib/autoconf/libs.m4: here.
6787         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
6789 2001-08-22  Akim Demaille  <akim@epita.fr>
6791         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
6792         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
6793         (AC_SITE_LOAD): Better logging of config.site.
6795 2001-08-20  Akim Demaille  <akim@epita.fr>
6797         * configure.ac (AT_CONFIG): Fix the path.
6798         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
6799         can be used.
6801 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
6803         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
6804         program with AC_LANG_PROGRAM before feeding it to
6805         AC_COMPILE_IFELSE.  Cleanup grep usage.
6807 2001-08-20  Akim Demaille  <akim@epita.fr>
6809         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
6810         * NEWS, README, README-alpha, TODO, tests/README: This package is
6811         `Autoconf', not `autoconf' (the executable).
6813 2001-08-20  Akim Demaille  <akim@epita.fr>
6815         Info readers seem to need `Index' in the index node title :(
6817         * doc/autoconf.texi: Reverse the 2001-08-15 change which
6818         simplified index node names.
6820 2001-08-20  Akim Demaille  <akim@epita.fr>
6822         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
6823         arguments are not literals.
6824         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
6825         Specify the output variables, and macros defined.
6827 2001-08-20  Akim Demaille  <akim@epita.fr>
6829         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
6830         (Examining Syntax) <AC_TRY_COMPILE>
6831         (Examining Libraries) <AC_TRY_LINK>
6832         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
6833         their arguments.
6834         Reported by Werner Lemberg.
6836 2001-08-20  Akim Demaille  <akim@epita.fr>
6838         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
6839         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
6840         Load atlocal late enough to dump it in the log.
6841         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
6843 2001-08-20  Akim Demaille  <akim@epita.fr>
6845         * tests/torture.at (Configuring subdirectories): New test.
6846         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
6847         looking for.
6848         * m4/atconfig.m4: Be sure the let $[0] be expandable.
6849         (top_srcdir): Fix its computation.
6851 2001-08-20  Akim Demaille  <akim@epita.fr>
6853         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
6854         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
6855         test suite lives.
6856         Create `atconfig' automagically.
6857         Configure atlocal.in if present.
6858         * tests/atconfig.in: Remove.
6859         * tests/atlocal.in: New.
6860         * tests/Makefile.am: Adjust.
6862 2001-08-20  Akim Demaille  <akim@epita.fr>
6864         Huh!?!?!  There are still some user EOF tags used, which prevents
6865         their use in AC_CONFIG_COMMANDS for instance...
6867         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
6868         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
6869         `_CSEOF', or `_ATEOF', as appropriate.
6870         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
6871         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
6873 2001-08-20  Akim Demaille  <akim@epita.fr>
6875         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
6876         * tests/semantics.at, tests/tools.at, tests/torture.at:
6877         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
6879 2001-08-20  Akim Demaille  <akim@epita.fr>
6881         Autotest invokes M4sh's initialization.
6883         * lib/autotest/general.m4: Adjust the diversion names.
6884         (AT_INIT): Run AS_INIT.
6885         Use the BINSH diversion to invoke /bin/sh.
6886         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
6887         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
6889 2001-08-20  Akim Demaille  <akim@epita.fr>
6891         Let M4sh have its own diversions.
6893         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
6894         (_m4_divert(NOTICE)): Rename as...
6895         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
6896         (_m4_divert(HEADER-COMMENT)): these.
6897         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
6898         (_m4_divert(NOTICE)): New, for Libtool.
6899         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
6900         long ago with `_m4_divert(GROW)'.
6901         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
6903 2001-08-20  Akim Demaille  <akim@epita.fr>
6905         * tests/base.at, tests/compile.at, tests/foreign.at,
6906         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
6907         * tests/semantics.at, tests/suite.at, tests/tools.at,
6908         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
6910 2001-08-20  Akim Demaille  <akim@epita.fr>
6912         * bin/autom4te.in (handle_output): Handle @__@.
6914 2001-08-20  Akim Demaille  <akim@epita.fr>
6916         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
6917         * lib/autotest/general.m4: Adjust the license.
6919 2001-08-17  Paul Eggert  <eggert@twinsun.com>
6921         * doc/autoconf.texi (Function Portability): Mention snprintf,
6922         following up on a suggestion by Kevin Ryde.
6924 2001-08-17  Akim Demaille  <akim@epita.fr>
6926         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
6927         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
6929 2001-08-17  Akim Demaille  <akim@epita.fr>
6931         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
6932         `$0.log' as for projects where testsuite is in src, we'd have
6933         testsuite.log created in src.
6935 2001-08-17  Akim Demaille  <akim@epita.fr>
6937         * bin/autom4te.in (&parse_args): Recognize --normalize.
6939 2001-08-17  Akim Demaille  <akim@epita.fr>
6941         Start implementing the AC_CHECK_HEADER transition scheme.
6943         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
6944         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
6945         (AC_CHECK_HEADER): Use them.
6947 2001-08-17  Akim Demaille  <akim@epita.fr>
6949         * doc/autoconf.texi: Work around Texinfo buglets.
6950         (Transformation Rules): One example is enough, users are expected
6951         to have their brains on. And BTW, use DESTDIR.
6952         (dvar): New macro.  Use it.
6954 2001-08-17  Akim Demaille  <akim@epita.fr>
6956         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
6957         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
6958         looking for ChangeLogs.
6960 2001-08-17  Akim Demaille  <akim@epita.fr>
6962         * bin/autom4te.in: --normalize is a new option.
6963         * bin/autoconf.in: Use it.
6965 2001-08-17  Akim Demaille  <akim@epita.fr>
6967         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
6968         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
6970 2001-08-16  Paul Eggert  <eggert@twinsun.com>
6972         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
6973         start, not at end.
6975 2001-08-15  Akim Demaille  <akim@epita.fr>
6977         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
6978         Use it.
6980 2001-08-15  Akim Demaille  <akim@epita.fr>
6982         * doc/autoconf.texi (pr): New index.
6983         (prindex, findex): Use, merge, and output them.
6984         (Environment Variable Index, Output Variable Index)
6985         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
6986         (Autotest Macro Index): Rename as...
6987         (Environment Variables, Output Variables,Preprocessor Symbols)
6988         (Autoconf Macros, M4 Macros, Autotest Macros): these.
6989         * doc/install.texi: Use @command.
6990         (Environment Variables): Rename as...
6991         (Defining Variables): this.
6993 2001-08-15  Akim Demaille  <akim@epita.fr>
6995         * doc/autoconf.texi (Function Portability): sprintf's return
6996         value.
6997         From Kevin Ryde.
6999 2001-08-15  Akim Demaille  <akim@epita.fr>
7001         * Makefile.maint (CVS): New.
7002         (local-check): Run changelog-check. last.
7003         (alpha): Don't depend upon local-check, since...
7004         (cvs-dist): depends upon it.
7006 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
7008         * tests/Makefile.am: Use a clean-local rule to remove
7009         autom4te.cache (it's a directory, not a file.
7010         * Makefile.am: Ditto (but maintainer-clean-local).
7012 2001-08-15  Akim Demaille  <akim@epita.fr>
7014         * bin/autom4te.in (@m4_warning): New.
7015         (&handle_m4): Use it.
7016         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
7017         warnings are issued at each run.
7018         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
7019         is in the src tree.
7021 2001-08-15  Akim Demaille  <akim@epita.fr>
7023         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
7024         don't waste time running `autoupdate --version' works.
7025         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
7027 2001-08-13  Akim Demaille  <akim@epita.fr>
7029         * doc/autoconf.texi (ma): Rename this index as...
7030         (ac): this.
7032 2001-08-13  Akim Demaille  <akim@epita.fr>
7034         * Makefile.am: Remove dead code and dead comments.
7035         (pdf, html): New targets.
7036         * doc/autoconf.texi (Using Autotest): New chapter.
7037         * doc/Makefile.am (pdf): New targets.
7038         (CLEANFILES): Adjust.
7040 2001-08-13  Akim Demaille  <akim@epita.fr>
7042         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
7043         duration of the test suite.
7045 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
7047         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
7048         endianness for comparison instead of relying on AT_CHECK_ENV.
7050 2001-08-11  Paul Eggert  <eggert@twinsun.com>
7052         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
7053         to the INSTALL file.
7055 2001-08-11  Paul Eggert  <eggert@twinsun.com>
7057         * NEWS: The autoconf manual now is distributed under the terms
7058         of the GNU Free Documentation License.
7060         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
7061         Add an appendix "Copying This Manual" for the FDL.
7063         * doc/fdl.texi: New file, from
7064         <http://www.gnu.org/licenses/fdl.texi>.
7066         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
7068 2001-08-10  Paul Eggert  <eggert@twinsun.com>
7070         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
7071         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
7072         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
7073         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
7074         m4/sanity.m4, tests/README, tests/aclocal.m4,
7075         tests/atspecific.m4, tests/base.at, tests/compile.at,
7076         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
7077         tests/semantics.at, tests/suite.at, tests/tools.at,
7078         tests/torture.at: Add copyright notice.
7080         * tests/mktests.sh: Update year in copyright notice.
7082 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
7084         * tests/semantics.at (AC_C_BIGENDIAN): New test.
7086 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
7088         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
7089         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
7090         * doc/autoconf.texi (C Compiler Characteristics): Update
7091         documentation for AC_C_BIGENDIAN.
7093 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
7095         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
7096         magic values from an object file when cross-compiling.
7097         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
7099 2001-08-10  Akim Demaille  <akim@epita.fr>
7101         * bin/autom4te.in (&handle_output): Don't use `grep' with side
7102         effects.
7103         Suggested by Russ Allbery.
7105 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
7107         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
7108         current $prefix to the sub-configures.
7110 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
7112         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
7113         extension (needed on BeOS).  Reported by Guido van Rossum.
7115 2001-08-09  Akim Demaille  <akim@epita.fr>
7117         * bin/autom4te.in ($icache): Load it only if older than autom4te.
7119 2001-08-07  Akim Demaille  <akim@epita.fr>
7121         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
7122         removed.
7123         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
7124         No need to remove the files before and after the each test, before
7125         each test and at the end of the suite is enough.
7126         Display only the children `times', not the shell's.
7127         If the test failed or was skipped, at-times is not available.
7129 2001-08-07  Akim Demaille  <akim@epita.fr>
7131         Always produce testsuite.log, including when there are no
7132         failures.  This helps getting information on skipped tests, and
7133         duration of the tests.  Err, implement the latter btw.
7135         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
7136         Dump information on the first run of each test.
7137         (AT_CLEANUP): Create `at-times' containing the duration of the
7138         test group.
7140 2001-08-07  Akim Demaille  <akim@epita.fr>
7142         The use of `dumpstat' revealed that `len' was used although it
7143         should not.  m4_text_wrap was using it, but in the Autoconf world
7144         where it is legal.  Hence (i) test M4sh in its own world, not
7145         Autoconf's, and (ii), ahem, fix the bug :)
7147         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
7148         does not like `' instead of [].
7149         (AT_INIT): Forbid `^_?AT_'.
7150         And don't output such tokens.
7151         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
7152         `script.as', and `autom4te.cache'.
7153         Remove `empty' and `macro' which are no longer used.
7154         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
7155         * tests/m4sugar.at: Use it.
7156         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
7158 2001-08-07  Akim Demaille  <akim@epita.fr>
7160         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
7162 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
7164         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
7166 2001-08-04  Akim Demaille  <akim@epita.fr>
7168         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
7169         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
7170         AC_TRY_LINK.
7171         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
7172         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
7173         (AC_F77_MAIN): Likewise.
7175 2001-08-04  Akim Demaille  <akim@epita.fr>
7177         Don't rely on M4sugar outputting the patterns in files, since we
7178         might process the output _without_ running m4, hence without these
7179         files.
7181         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
7182         * bin/autom4te.in (@Request::includes): Remove, unused.
7183         (@Request::source): Rename as...
7184         (@Request::input): this.
7185         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
7186         (&handle_output): Fetch the patterns from the traces.
7187         `$forbidden' and `$allowed' are constant: use m//o.
7188         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
7189         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
7191 2001-08-04  Akim Demaille  <akim@epita.fr>
7193         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
7194         autoconf', i.e., in addition to caching traces, cache the output.
7196         * bin/autom4te.in (Request::cache): Rename as...
7197         (Request::id): this.
7198         ($cache, $icache, $tcache, $ocache): New.
7199         (&handle_m4): Save M4 output in the cache instead of $tmp.
7200         (&handle_output): Adjust.
7201         (&up_to_date_p): Check that the output cache is up to date too.
7202         (top level): Run `&handle_m4' iff force or the cache is invalid.
7203         Run `&handle_output' if the output cache is more recent.
7205 2001-08-04  Akim Demaille  <akim@epita.fr>
7207         * bin/autom4te.in ($force): New.
7208         (&parse_args, &print_usage): -f, --force is a new option.
7209         (&handle_output): CPP directives might have spaces after `#'.
7210         (&parse_args): The first file only can be frozen.
7212 2001-08-04  Akim Demaille  <akim@epita.fr>
7214         Don't let autom4te compute the `include' traces several times:
7215         first check that the trace cache file is up to date, and then
7216         compare its timestamp with that of the output.
7218         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
7219         the preamble.  Don't require 5.005 as Autom4te::General does it,
7220         and better yet (use `use', not `require'!).
7221         * lib/Autom4te/Struct.pm: Rename the last occurrences of
7222         Class::Struct as Autom4te::Struct.
7223         * lib/Autom4te/General.pm (File::stat): Use it.
7224         (&mtime): New, export it.
7225         * bin/autom4te.in: Use it.
7226         Declare `$req' is invalid if it is outdated.
7227         Don't declare it valid before saving it if something went wrong.
7229 2001-08-04  Akim Demaille  <akim@epita.fr>
7231         Autom4te shall not encode Autoconf data, and preselecting traces
7232         must be proposed to the users.
7234         * bin/autom4te.in (@required_trace): Remove.
7235         (@preselect): New.
7236         (&parse_args, &print_usage): -p, --preselect is a new option.
7237         (&up_to_date_p): Adjust.
7238         * bin/autoconf.in: Preselect some Autoconf macros.
7240 2001-08-04  Akim Demaille  <akim@epita.fr>
7242         * tests/tools.at (autoconf --trace: user macros): Check traces on
7243         macros invoked without arguments, and macros invoked with multiple
7244         lines arguments.
7246 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
7248         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
7249         arguments.
7251 2001-08-03  Akim Demaille  <akim@epita.fr>
7253         * bin/autoconf.in ($@): Work around the usual sh bug.
7254         From Nicolas Joly.
7256 2001-08-03  Akim Demaille  <akim@epita.fr>
7258         Clean up the handling of the M4 builtins tracing exception.
7260         * bin/autom4te.in (Request::request): Don't complete M4 builtins
7261         trace requests.
7262         (@m4_builtins): Rename as...
7263         (@m4_builtin): this.
7264         (%m4_builtin_alternate_name): New.
7265         (&parse_args): Complete the trace requests with alternate names.
7266         (&handle_traces): Hence no longer do it here.
7267         (&trace_requests): Remove, unused.
7269 2001-08-03  Akim Demaille  <akim@epita.fr>
7271         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
7272         m4_if, and m4_wrap.
7274 2001-08-03  Akim Demaille  <akim@epita.fr>
7276         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
7277         (m4_divert_pop): Dump the whole diversion stack when a diversion
7278         mismatch happens.
7279         * bin/autom4te.in (&handle_output): Remember of the first
7280         occurrence of a possibly undefined macro, not the last.
7281         Complain about the possibly undefined macros in the same order as
7282         the appear in the output.
7283         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
7284         * tests/tools.at (autoconf: forbidden tokens, basic)
7285         (autoconf: forbidden tokens, exceptions): No longer sort
7286         autoconf's stderr, as it is now deterministic.
7287         Check that `dnl' is caught.
7289 2001-08-01  Akim Demaille  <akim@epita.fr>
7291         * configure.ac: Bump to 2.52c.
7293 2001-08-01  Akim Demaille  <akim@epita.fr>
7295         Version 2.52b.
7297         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
7299 2001-08-01  Akim Demaille  <akim@epita.fr>
7301         Version 2.52a.
7303 2001-08-01  Akim Demaille  <akim@epita.fr>
7305         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
7306         `die'.
7307         (&END): New.
7308         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
7309         `END', as `Autom4te::General::END' will be triggered.
7310         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
7311         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
7312         system to run `mv', `rm', and `cmp'.
7314 2001-08-01  Akim Demaille  <akim@epita.fr>
7316         * lib/Autom4te/General.pm (&unique): New.
7317         * bin/autoscan.in (&output): Use it to issue trace requests once.
7319 2001-08-01  Akim Demaille  <akim@epita.fr>
7321         * lib/Autom4te/General.pm: New.
7322         * bin/autom4te.in (Autom4te::General): Use it.
7323         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
7324         (&find_configure_ac, &find_slave): Remove.
7325         * bin/autoscan.in: Likewise.
7326         * bin/autoupdate.in: Likewise.
7328 2001-08-01  Akim Demaille  <akim@epita.fr>
7330         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
7331         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
7332         * bin: here, new directory.
7333         * lib/Autoconf: Rename as...
7334         * lib/Autom4te: this, to please case insensitive junkie OSes.
7336 2001-08-01  Akim Demaille  <akim@epita.fr>
7338         * autom4te.in ($m4): Handle the --nesting-limit.
7339         * autoconf.in (M4): Remove.
7341 2001-08-01  Akim Demaille  <akim@epita.fr>
7343         * autoconf.in ($AWK): Remove, no longer used.
7344         * test/tools.at: Use AT_CHECK_AUTOCONF.
7345         (AWK portability): Remove, for autoconf no longer uses AWK.
7346         (Syntax of the Perl scripts): New.
7347         * configure.ac: autoconf no longer needs an AWK with a good
7348         regexp engine.
7349         Use a static test on AC_PACKAGE_VERSION.
7350         * autom4te.in (&up_to_date_p): Output depends on the arguments.
7351         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
7352         * tests/atconfig.in (PERL): New.
7354 2001-08-01  Akim Demaille  <akim@epita.fr>
7356         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
7357         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
7358         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
7359         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
7360         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
7361         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
7362         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
7363         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
7364         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
7365         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
7366         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
7367         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
7368         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
7369         * lib/autoconf/c.m4: here, new file.
7371         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
7372         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
7373         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
7374         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
7375         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
7376         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
7377         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
7378         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
7379         (AC_F77_FUNC): Move to...
7380         * lib/autoconf/fortran.m4: here, new file.
7382 2001-08-01  Akim Demaille  <akim@epita.fr>
7384         * acfunctions.m4: Rename as...
7385         * lib/autoconf/functions.m4: this.
7386         * acgeneral.m4: Rename as...
7387         * lib/autoconf/general.m4: this.
7388         * acheaders.m4: Rename as...
7389         * lib/autoconf/headers.m4: this.
7390         * aclang.m4: Rename as...
7391         * lib/autoconf/lang.m4: this.
7392         * acoldnames.m4: Rename as...
7393         * lib/autoconf/oldnames.m4: this.
7394         * acspecific.m4: Rename as...
7395         * lib/autoconf/specific.m4: this.
7396         * actypes.m4: Rename as...
7397         * lib/autoconf/types.m4: this.
7398         * autoconf.m4: Rename as...
7399         * lib/autoconf/autoconf.m4: this.
7401         * m4sugar.m4: Rename as...
7402         * lib/m4sugar/m4sugar.m4: this.
7403         * m4sh.m4: Rename as...
7404         * lib/m4sugar/m4sh.m4: this.
7406         * tests/atgeneral.m4: Rename as...
7407         * lib/autotest/general.m4: this.
7409         * acfunctions: Rename as...
7410         * lib/autoscan/functions: this.
7411         * acheaders: Rename as...
7412         * lib/autoscan/headers: this.
7413         * acidentifiers: Rename as...
7414         * lib/autoscan/identifiers: this.
7415         * aclibraries: Rename as...
7416         * lib/autoscan/libraries: this.
7417         * acmakevars: Rename as...
7418         * lib/autoscan/makevars: this.
7419         * acprograms: Rename as...
7420         * lib/autoscan/programs: this.
7422 2001-08-01  Akim Demaille  <akim@epita.fr>
7424         * doc/autoconf.texi: Moving/deleting open files is not portable.
7425         Portability issues for `.' (source), and more information about sed.
7427 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
7429         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
7430         which has a special meaning and is not a reference to libibmil.a.
7431         Reported by Matteo Frigo.
7433 2001-07-25  Pavel Roskin  <proski@gnu.org>
7435         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
7436         output.
7438 2001-07-25  Akim Demaille  <akim@epita.fr>
7440         * autoconf.in: Try to define the variables before using them.
7441         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
7442         instead of `$perllibdir'.
7443         * tests/atconfig.in ($autom4te_perllibdir): Export it.
7445 2001-07-25  Akim Demaille  <akim@epita.fr>
7447         * autoconf.in (ac_LF_and_DOT): Remove, unused.
7449 2001-07-24  Akim Demaille  <akim@epita.fr>
7451         Let autoconf use autom4te for traces.
7453         * autoconf.in ($task, task trace): Remove, merely pass --trace to
7454         autom4te.
7455         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
7456         (Because I found no way for autom4te to accept `-').
7457         * autom4te.in (&Request::request): Beware of M4 builtins.
7458         (END): Don't try to remove the content of an empty dir.
7459         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
7460         (&handle_output): Set a default value to `$forbidden'.
7461         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
7462         ($autoconf): Pass --debug and --verbose.
7463         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
7464         cache.
7466 2001-07-24  Akim Demaille  <akim@epita.fr>
7468         Let autoconf use autom4te to create configure.
7470         * autoconf.in ($automate): New var.
7471         (task script): Use autom4te.
7472         * autom4te.in (File::Spec): Use it.
7473         (&find_file): New.
7474         (&parse_args): --warning is -W, not -w.
7475         Find the top level files.
7476         (&handle_m4): Pass the warnings flags.
7477         Don't report verbosely m4's failures, unless requested.
7478         (&handle_output): Don't complain for forbidden tokens in comments.
7479         Be sure to report all the forbidden tokens within a single line.
7480         (&trace_format_to_m4): Preserve `$_'.
7481         (&handle_traces): Sort the output macros.
7482         (&up_to_date_p): Find the files before trying to get its time stamp.
7484 2001-07-24  Akim Demaille  <akim@epita.fr>
7486         * Makefile.am: Ship, build and install Autom4te.
7487         (SUBDIRS): Add lib.
7488         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
7489         * configure.in: Require Perl.
7490         * man/autom4te.in: New.
7492 2001-07-19  Paul Eggert  <eggert@twinsun.com>
7494         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
7495         example, rather than (exit 1); exit (which isn't portable).
7497 2001-07-18  Akim Demaille  <akim@epita.fr>
7499         Version 2.52.
7501 2001-07-18  Akim Demaille  <akim@epita.fr>
7503         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
7504         was run, while they are needed also when it is expanded.
7505         Reported by Nicolas Joly.
7507         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
7508         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
7509         AC_F77_DUMMY_MAIN being expanded.
7511 2001-07-18  Akim Demaille  <akim@epita.fr>
7513         * configure.in: Bump to 2.51a.
7515 2001-07-17  Akim Demaille  <akim@epita.fr>
7517         Version 2.51.
7519 2001-07-17  Akim Demaille  <akim@epita.fr>
7521         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
7522         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
7524 2001-07-17  Akim Demaille  <akim@epita.fr>
7526         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
7527         used.  Well, then use the prototypes when you can, and runtime as
7528         a last resort.
7529         Reported by Artur Frysiak
7531         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
7532         (AC_FUNC_GETPGRP): Use it.
7533         First try to compile with 0-ary or 1-ary calls.
7535 2001-07-17  Akim Demaille  <akim@epita.fr>
7537         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
7538         replacement type.
7539         From Paul Eggert.
7541 2001-07-17  Akim Demaille  <akim@epita.fr>
7543         * Makefile.maint: Sync. with cppi 1.10.
7545 2001-07-17  Akim Demaille  <akim@epita.fr>
7547         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
7548         AC_F77_DUMMY_MAIN has been run.
7549         From Pavel Roskin and Steven G. Johnson.
7551 2001-07-17  Akim Demaille  <akim@epita.fr>
7553         * configure.in: Rename as...
7554         * configure.ac: this.
7556 2001-07-17  Akim Demaille  <akim@epita.fr>
7558         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
7559         rules.
7560         From Marc Espie.
7561         * Makefile.maint (release-archive-dir): Rename as...
7562         (release_archive_dir): this, so that it can be specialized in
7563         Makefile.
7565 2001-07-14  Akim Demaille  <akim@epita.fr>
7567         * configure.in: Bump to 2.50d.
7569 2001-07-14  Akim Demaille  <akim@epita.fr>
7571         Version 2.50c.
7572         * Makefile.maint (alpha): Typo.
7574 2001-07-14  Akim Demaille  <akim@epita.fr>
7576         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
7578 2001-07-14  Akim Demaille  <akim@epita.fr>
7580         * config/config.guess, config/config.sub, config/texinfo.tex
7581         * doc/standards.texi, doc/make-stds.texi: Update.
7583 2001-07-14  Akim Demaille  <akim@epita.fr>
7585         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
7587 2001-07-14  Akim Demaille  <akim@epita.fr>
7589         * Makefile.maint (maintainer-check): Rename as...
7590         (maintainer-distcheck): this.
7591         (changelog-check, static-check): New.
7592         Use them.
7594 2001-07-14  Kevin Ryde  <user42@zip.com.au>
7596         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
7597         for CXX is g++, not gcc.
7599 2001-07-14  Akim Demaille  <akim@epita.fr>
7601         * doc/autoconf.texi (Files): New subsection.
7603 2001-07-14  Akim Demaille  <akim@epita.fr>
7605         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
7606         of...
7607         (Generic Compiler Characteristics): this.
7608         (C++ Compiler): New subsection.
7610 2001-07-14  Akim Demaille  <akim@epita.fr>
7612         * autoscan.in: Use IO::File.
7613         Adjust all the routines to use it.
7614         ($log): New file (autoscan.log).
7615         (output): Dump detailed logs into $log, and a shortened version to
7616         stderr.
7617         (&scan_makefile): Refine the regexp catching tokens in the code.
7618         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
7619         and the `configure.ac' checking feature.
7621 2001-07-12  Akim Demaille  <akim@epita.fr>
7623         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
7624         Reported by Michael Elizabeth Chastain.
7626         * autoconf.in: Refuse such AWK.
7627         * configure.in: Likewise.
7628         * Makefile.am (acversion.m4): Do not use move-if-change this file
7629         has dependencies.
7630         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
7632 2001-07-10  Jens Petersen  <petersen@redhat.com>
7634         * autoscan.in (&scan_makefile): Improve programs regexp to parse
7635         things like "g++", "file.c" and "some-conf" as tokens.
7636         (&scan_file): Match C++ files extensions.
7637         If the filename extension is C++ then ask for c++.
7639 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
7641         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
7642         AC_TRY_LINK_FUNC, to check whether defining a dummy
7643         main-like routine is needed for linking with F77 libs.
7645 2001-07-05  Pavel Roskin  <proski@gnu.org>
7647         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
7648         after using break.
7649         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
7650         linking.
7652 2001-07-05  Akim Demaille  <akim@epita.fr>
7654         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
7655         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
7656         Makes' lives.
7657         Reported by Nicolas Joly.
7659 2001-07-04  Akim Demaille  <akim@epita.fr>
7661         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
7662         up.
7663         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
7664         warnings from compilers.
7665         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
7666         for all the compilers, not only GNU.  Hence move from here...
7667         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
7669 2001-07-04  Akim Demaille  <akim@epita.fr>
7671         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
7672         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
7673         AC_COMPILE_IFELSE.
7675 2001-07-04  Akim Demaille  <akim@epita.fr>
7677         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
7678         the ``strings.h'' change claimed below.
7680 2001-07-04  Akim Demaille  <akim@epita.fr>
7682         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
7684 2001-07-04  Akim Demaille  <akim@epita.fr>
7686         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
7687         strings.h if usable with string.h.
7688         Suggested by Paul Eggert.
7690 2001-07-04  Akim Demaille  <akim@epita.fr>
7692         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
7693         From Jens Petersen.
7695 2001-07-03  Akim Demaille  <akim@epita.fr>
7697         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
7698         etc. in the log.
7700 2001-07-03  Akim Demaille  <akim@epita.fr>
7702         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
7703         compiler, not the preprocessor.
7704         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
7705         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
7706         the right thing.
7707         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
7708         earlier if there are.
7710 2001-07-03  Akim Demaille  <akim@epita.fr>
7712         * autoscan.in ($initfile): Remove.
7713         (&find_file): Rename as...
7714         (&scan_file): this.
7715         Immediately scan the current file, instead of gathering them, and
7716         later having them handled by &scan_files.
7717         (&scan_files): Merely invoke Find::File.
7718         Adjust.
7720 2001-07-02  Akim Demaille  <akim@epita.fr>
7722         * autoscan.in: Formatting changes, matching the invocation order.
7723         (File::Find): Use it instead of Perl 4's `find.pl'.
7724         (&wanted): Rename as...
7725         (&find_file): this.
7727 2001-07-01  Pavel Roskin  <proski@gnu.org>
7729         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
7730         break in the argument to AC_TRY_LINK_FUNC.
7731         (AC_F77_MAIN): Remove conftest* after using break in the
7732         argument to AC_TRY_LINK.
7734 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
7736         Add alternate 'main' routine detection for linking C/C++ with Fortran,
7737         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
7739         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
7740         dummy alternate main is required even if the user provides her own
7741         'main'.
7742         (AC_F77_MAIN): New macro to detect whether it is possible to
7743         provide an alternate 'main' function name, using the 'main' from
7744         the Fortran libraries.
7745         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
7746         cross-language link tests can be performed successfully.
7747         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
7748         after $LIBS, for consistency; this should be the general rule since
7749         the user may want to link to Fortran libraries that require $FLIBS.
7750         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
7752 2001-06-29  Pavel Roskin  <proski@gnu.org>
7754         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
7755         at-stdout and at-stderr instead of removing the newline
7756         from the echo output, which is not guaranteed to work.
7758 2001-06-28  Jens Petersen  <petersen@redhat.com>
7760         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
7761         confdefs.h when non-zero.
7763 2001-06-28  Akim Demaille  <akim@epita.fr>
7765         * configure.in: Bump to 2.50c.
7767 2001-06-26  Akim Demaille  <akim@epita.fr>
7769         Version 2.50b.
7771 2001-06-26  Akim Demaille  <akim@epita.fr>
7773         Version 2.50a.
7775 2001-06-25  Pavel Roskin  <proski@gnu.org>
7777         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
7778         argument, AUTOCONF-FLAGS.
7779         * tests/mktests.sh (update_exclude_list): Add
7780         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
7781         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
7782         AC_FUNC_WAIT3 with "-W no-obsolete".
7784 2001-06-25  Akim Demaille  <akim@epita.fr>
7786         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
7788 2001-06-25  Akim Demaille  <akim@epita.fr>
7790         * autoscan.in (%macro): Now maps from word to list of macros.
7791         (&init_tables): Die when a word which is already handled by
7792         explicit macros is mapped to the default macro.
7793         (&print_unique): Remove, inlined in...
7794         (&output_kind): here.
7795         (File::Basename): Use it.
7796         (&output): Sort the CONFIG_FILES.
7797         * acheaders: Normalize.
7798         * acfunctions: Likewise.
7800 2001-06-25  Akim Demaille  <akim@epita.fr>
7802         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
7803         characteristics in the logs.
7804         Suggested by Mo DeJong.
7806 2001-06-24  Akim Demaille  <akim@epita.fr>
7808         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
7809         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
7810         * doc/autoconf.texi (Autoconf 2.13): New section.
7812 2001-06-24  Akim Demaille  <akim@epita.fr>
7814         * autoconf.in (Task traces): Separate the error messages from the
7815         traces to improve robustness.
7817 2001-06-23  Akim Demaille  <akim@epita.fr>
7819         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
7820         three as failures are unlikely, and speed matters.
7822 2001-06-23  Akim Demaille  <akim@epita.fr>
7824         * doc/autoconf.texi (Redefined M4 Macros): New.
7826 2001-06-23  Akim Demaille  <akim@epita.fr>
7828         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
7829         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
7830         5.3.
7832 2001-06-23  Paolo Bonzini <bonzini@gnu.org>
7834         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
7835         config.status targets to after the evaluation of the INIT-CMDS.
7836         Double quote config.status targets (used to be single quoted).
7838 2001-06-23  Akim Demaille  <akim@epita.fr>
7840         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
7841         Check the content of the created file.
7842         Check the ./config.status command line invocation.
7844 2001-06-23  Akim Demaille  <akim@epita.fr>
7846         * tests/foreign.at (Libtool): Reject prehistoric versions.
7848 2001-06-23  Akim Demaille  <akim@epita.fr>
7850         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
7851         preexisting files matching a.*.
7853 2001-06-23  Akim Demaille  <akim@epita.fr>
7855         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
7856         stderr.
7857         * doc/autoconf.texi (AC_ARG_VAR): Update.
7859 2001-06-21  Akim Demaille  <akim@epita.fr>
7861         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
7862         precious variables have changed.
7863         * tests/torture.at (AC_ARG_VAR): Adjust.
7865 2001-06-21  Akim Demaille  <akim@epita.fr>
7867         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
7868         but some sed choke on multiple `;', and other tools (e.g.,
7869         Automake), include the separator themselves.
7871         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
7873 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
7875         * doc/autoconf.texi (Functions Portability): Rename as...
7876         (Function Portability): this.
7877         (Function Portability): Document potential problems with unlink().
7879 2001-06-19  Paul Eggert  <eggert@twinsun.com>
7881         * NEWS, doc/autoconf.texi: Document quadrigraphs.
7883 2001-06-18  Akim Demaille  <akim@epita.fr>
7885         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
7887 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
7889         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
7890         (_AC_FUNC_VFORK): this.
7891         Remove AC_DEFINEs and don't guess cross-compilation values.
7892         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
7893         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
7894         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
7895         vfork doesn't work.
7896         Guess values if cross-compiling, but warn.
7897         * acfunctions: Add AC_FUNC_FORK.
7898         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
7899         and vfork appropriately.
7901 2001-06-18  Akim Demaille  <akim@epita.fr>
7903         * doc/autoconf.texi (Functions Portability): New section.
7905 2001-06-18  Akim Demaille  <akim@epita.fr>
7907         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
7908         in $M4.
7909         Suggested by Andreas Schwab.
7911 2001-06-18  Akim Demaille  <akim@epita.fr>
7913         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
7914         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
7915         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
7916         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
7917         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
7918         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
7919         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
7920         the converse).
7922 2001-06-18  Akim Demaille  <akim@epita.fr>
7924         * doc/autoconf.texi (ms): New index.
7925         (Macro Index): Rename as...
7926         (Autoconf Macro Index): this.
7927         (M4 Macro Index): New appendix.
7928         (Programming in M4): New chapter.
7929         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
7930         (Quoting): Rename as...
7931         (M$ Quotation): this.
7932         Be part of `Programming in M4).
7934 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
7936         * tests/torture.at (AC_ARG_VAR): Set variables and export them
7937         in separate statements for compatibility with Tru64 v5.1.
7939 2001-06-17  Akim Demaille  <akim@epita.fr>
7941         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
7942         current values of the precious variables, not the previously
7943         cached values.
7944         Pass precious variables which are set to config.status.
7945         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
7946         * tests/torture.at (AC_ARG_VAR): New.
7948 2001-06-15  Paul Eggert  <eggert@twinsun.com>
7950         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
7951         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
7952         and explain why and how to replace them.
7953         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
7954         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
7956 2001-06-15  Akim Demaille  <akim@epita.fr>
7958         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
7959         Reported by Bruno Haible.
7961         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
7962          (_AC_ARG_VAR_PRECIOUS): to here.
7964 2001-06-15  Pavel Roskin  <proski@gnu.org>
7966         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
7967         an unused pointer use cast to this type and `if' statement to
7968         avoid warnings from the compiler.
7969         (AC_HEADER_TIME): Likewise.
7970         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
7971         in `if' statement to avoid warnings from the compiler. Declare
7972         ac_aggr static to avoid the need to initialize it.
7974 2001-06-14  Akim Demaille  <akim@epita.fr>
7976         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
7977         Macros'.
7979 2001-06-13  Akim Demaille  <akim@epita.fr>
7981         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
7982         Suggested by Alexander Mai.
7984 2001-06-13  Akim Demaille  <akim@epita.fr>
7986         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
7987         sys/types.h and sys/stat.h, and check for them.
7989 2001-06-13  Akim Demaille  <akim@epita.fr>
7991         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
7992         INCLUDES.
7994 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
7996         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
7997         succeeds and only try adding libdnet upon a failure.
7999 2001-06-12  Akim Demaille  <akim@epita.fr>
8001         * autoscan.in (&output_kind): Output the comment only if it exists.
8002         (%kind_comment): Add entry for `programs'.
8003         (&output_programs): Use &output_kind.
8004         (&output_functions, &output_identifiers, &output_headers)
8005         (&output_programs): Inline, and remove.
8007 2001-06-12  Akim Demaille  <akim@epita.fr>
8009         * autoscan.in (%kind_comment): New.
8010         (output_kind): New.
8011         (output_functions, output_identifiers, output_headers): Use it.
8013 2001-06-12  Akim Demaille  <akim@epita.fr>
8015         * autoscan.in (&print_unique): Take `$kind' and `$word' as
8016         arguments, to factor indirections into `%macro' and `%used'.
8017         (%generic_macro): Fix a typo.
8019 2001-06-12  Akim Demaille  <akim@epita.fr>
8021         * aclibraries: New.
8022         * autoscan.in (@kinds): Add `libraries'.
8023         Use `@kinds' instead of hard coded lists.
8024         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
8025         Remove, replaced by...
8026         (%used): this.
8028 2001-06-12  Akim Demaille  <akim@epita.fr>
8030         * autoscan.in (%functions_macros %headers_macros)
8031         (%identifiers_macros %programs_macros %makevars_macros): Remove,
8032         replaced by...
8033         (%macro): New.
8035 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
8037         * aclang.m4 (AC_NO_EXECUTABLES): Override
8038         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
8040 2001-06-11  Akim Demaille  <akim@epita.fr>
8042         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
8043         trailing new line.
8044         Reported by Andreas Schwab.
8046 2001-06-11  Akim Demaille  <akim@epita.fr>
8048         * Makefile.am, Makefile.maint: Typos.
8050 2001-06-09  Akim Demaille  <akim@epita.fr>
8052         * doc/autoconf.texi (Here-Documents): New section, gathering
8053         documentation about here-documents.
8054         Use `href', not `uref', and other changes.
8056 2001-06-09  Akim Demaille  <akim@epita.fr>
8058         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
8059         chapter.
8061 2001-06-09  Akim Demaille  <akim@epita.fr>
8063         * doc/autoconf.texi (Limitations of Builtins): Complete the
8064         description of the here-docs penalties with Alexandre Oliva's
8065         explanations.
8067 2001-06-01  Paul Eggert  <eggert@twinsun.com>
8069         * doc/autoconf.texi: Talk about here documents and speedups.
8070         Do not use "echo" on arbitrary strings.
8071         Spell "here-documents" consistently with the standard.
8073 2001-06-09  Akim Demaille  <akim@epita.fr>
8075         * doc/autoconf.texi (Concept Index): Introduce it.
8076         Regenerate the menus.
8078 2001-06-09  Akim Demaille  <akim@epita.fr>
8080         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
8081         * config/prev-version.txt: New.
8082         * config/move-if-change: New, for GNU libc.
8084 2001-06-06  Pavel Roskin  <proski@gnu.org>
8086         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
8088 2001-06-06  Akim Demaille  <akim@epita.fr>
8090         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
8091         properly when $1 is not a literal.
8092         Fixes PR Autoconf/187, reported by Bram Moolenaar.
8094 2001-06-06  Akim Demaille  <akim@epita.fr>
8096         Invoking AC_COPYRIGHT before AC_INIT fails.
8098         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
8099         * acgeneral.m4 (_m4_divert(VERSION_FSF))
8100         (_m4_divert(VERSION_USER)): New.
8101         (AC_COPYRIGHT): $2 is the diversion to use.
8102         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
8103         (AC_INIT): Remove dead comments as now it's commutative.
8105 2001-06-06  Akim Demaille  <akim@epita.fr>
8107         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
8108         PR autoconf/187.
8110 2001-06-05  Akim Demaille  <akim@epita.fr>
8112         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
8113         can be empty.
8114         `*dir' variables cannot be NONE.
8115         Reported by Mark Kettenis.
8117 2001-06-05  Paul Eggert  <eggert@twinsun.com>
8119         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
8121 2001-06-04  Akim Demaille  <akim@epita.fr>
8123         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
8124         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
8125         (AC_TR_SH): Move as...
8126         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
8127         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
8128         (AS_TR_SH): these.
8129         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
8130         (_AS_TR_SH_PREPARE): New.
8131         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
8132         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
8134 2001-06-02  Akim Demaille  <akim@epita.fr>
8136         * Makefile.am (.m4.m4f): Pass the options first.
8137         Fixes PR autoconf/182.
8139 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
8141         GNU getopt, when POSIXLY_CORRECT does not permute options and
8142         arguments.  So pass the options first.
8143         Fixes PR autoconf/184.
8145         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
8146         (run_m4): Remove files.
8147         (run_m4f): Remove.
8148         Update remainder of script to use them.
8149         (for warning in): Do not use a literal comma as it will not be
8150         split by IFS.
8152 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
8154         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
8155         Fortran compilers to check.
8156         (_AC_PROG_F77_V): Add '-###' as a possible option to print
8157         information on library and object files.
8158         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
8159         to check.
8161 2001-06-02  Akim Demaille  <akim@epita.fr>
8163         * autom4te.in (Request::@request): Declare with `vars', not `my',
8164         as it prevents updates via `do FILENAME'.
8166 2001-06-02  Akim Demaille  <akim@epita.fr>
8168         * configure.in (standards_texi): Remove, dead code.
8170 2001-06-02  Akim Demaille  <akim@epita.fr>
8172         * autom4te.in: New.
8174 2001-06-02  Pavel Roskin  <proski@gnu.org>
8176         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
8177         for signals other than 0 - exit with code 1.
8178         * m4sh.m4 (AS_TMPDIR): Likewise.
8179         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
8180         * autoheader.in: Likewise.
8181         * autoreconf.in: Likewise.
8182         * tests/torture.at (Signal handling): New test for the above.
8184 2001-06-01  Akim Demaille  <akim@epita.fr>
8186         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
8187         message.
8189 2001-05-31  Akim Demaille  <akim@epita.fr>
8191         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
8192         Add copyright and comments.
8193         * acheaders: Add stdint.h.
8194         Suggested by Paul Eggert.
8196 2001-05-31  Akim Demaille  <akim@epita.fr>
8198         * atgeneral.m4 (AT_INIT): Use $SHELL.
8199         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
8201 2001-05-31  Akim Demaille  <akim@epita.fr>
8203         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8204         stdint.h.
8205         From Paul Eggert and Lars Hecking.
8207 2001-05-31  Akim Demaille  <akim@epita.fr>
8209         * tests/base.at: Adjust line numbers in error messages.
8211 2001-05-31  Akim Demaille  <akim@epita.fr>
8213         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
8214         to emit the bangshe line.
8215         Reported by David Carter.
8217 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
8219         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
8220         Fortran (95) compilers to check.
8222 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
8224         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
8225         Macro Archive URL.
8227 2001-05-23  Pavel Roskin  <proski@gnu.org>
8229         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
8230         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
8231         (AC_PROG_CXXCPP): Likewise.
8233 2001-05-22  Akim Demaille  <akim@epita.fr>
8235         * config: New directory.
8236         * configure.in: AC_CONFIG_AUX_DIR it.
8237         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
8239 2001-05-22  Akim Demaille  <akim@epita.fr>
8241         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
8242         * autoupdate.in: Specify the Emacs mode.
8243         * acversion.m4.in: Rename as...
8244         * acversion.m4: this.
8245         * tests/Makefile.am (CLEANFILES): More garbage.
8247 2001-05-22  Akim Demaille  <akim@epita.fr>
8249         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
8250         Rename as...
8251         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
8252         these.
8254 2001-05-21  Akim Demaille  <akim@epita.fr>
8256         * configure.in: Bump to 2.50a.
8258 -----
8260 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
8262 This file is part of GNU Autoconf.
8264 GNU Autoconf is free software; you can redistribute it and/or modify
8265 it under the terms of the GNU General Public License as published by
8266 the Free Software Foundation; either version 2, or (at your option)
8267 any later version.
8269 GNU Autoconf is distributed in the hope that it will be useful,
8270 but WITHOUT ANY WARRANTY; without even the implied warranty of
8271 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8272 GNU General Public License for more details.
8274 You should have received a copy of the GNU General Public License
8275 along with autoconf; see the file COPYING.  If not, write to
8276 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
8277 Boston, MA 02111-1307, USA.