Fix previous log entry; I misunderstood Welche.
[autoconf.git] / ChangeLog
blobf3bd03efacfa670706f4d9ee8068d76a67bd88b1
1 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
3         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
4         after -R regardless of host.  Patrick Welche reports that this
5         fixes things on NetBSD 3.99.
7         * NEWS: Recommend M4 1.4.5.
8         * README: Likewise.
9         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
10         * tests/tools.at (autom4te cache): Update wording of diagnostic
11         to match M4 1.4.5.
13 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
15         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
16         under AC_C_VOLATILE.
17         (Volatile Objects): Be a little less skeptical about what
18         "volatile" means.  Derived from thoughts by Ben Pfaff in
19         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
21 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
23         * doc/autoconf.texi: Fix some typos.
25 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
27         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
28         more globally, since the 2006-06-30 patch didn't suffice.  Problem
29         reported by Keith Marshall.  Also, don't bother with builddir2,
30         since it shouldn't be needed any more.
32 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
34         * doc/autoconf.texi (Generic compiler characteristics):
35         Document AC_COMPUTE_INT.  Fix wrong statements on Default
36         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
38         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
39         (_AC_COMPUTE_INT): Add obsoletion warnings.
40         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
41         AC_COMPUTE_INT.
43         * NEWS: Document change.
45 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
47         * doc/autoconf.texi (Volatile Objects): New section.
49         * NEWS: Document previous change.
51 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
53         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
54         Require that long long int be at least 64 bits wide.  C99 requires
55         this and enough programs depend on it so we should check for it.
56         Bruno Haible reports in
57         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
58         that long long int is 32 bits wide with some nonstandard compilers.
59         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
61 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
63         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
64         to a nonexistent file, so that we don't have to worry about
65         a local site configuration that doesn't use /usr/local.
66         Problem reported by Keith Marshall in
67         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
69 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
71         * doc/autoconf.texi: Be more consistent about using @acronym with
72         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
73         quite right (it talked about "OSF/Tru64", even though the
74         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
75         and it even mentioned "OSF 4"!) and at this point there's little
76         reason to talk about OSF any more, since it died in 1994.
77         (Specific Compiler Characteristics): Simplify example of
78         negative-size array.
79         (File Descriptors): Reorder to make the text flow better.
80         Remove joke about "appreciate the various levels"; I didn't get it.
81         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
82         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
83         (File Descriptors, Limitations of Usual Tools):
84         Tone down the advice against renaming or removing open files.
85         (Limitations of Usual Tools): Add a new section, on 'rm'.
87 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
89         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
90         -lXt in LIBS, idea from Karsten Hopp; this was due since
91         this change:
93         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
94         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
95         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
96         (which belong to Xt, not X itself).  See Debian bug 327655.
98 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
100         * configure.ac (AC_INIT): Bump to 2.60a.
101         * NEWS: Update.
103 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
105         Version 2.60.
107         * configure.ac, NEWS: Update.
109 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
111         * config/texinfo.tex: Sync from upstream.
113         * bin/autom4te.in (handle_traces): Transform the `@S|@'
114         quadrigraph correctly in traces.
116         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
117         Fix typos.
119         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
120         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
121         not defined.
122         * doc/autoconf.texi (Changed Directory Variables): New node,
123         to document the whole `datarootdir' business a bit better.
124         * NEWS: Update.
125         * tests/torture.at (datarootdir workaround): Extend test.
126         Prompted by report by Alexandre Julliard.
128 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
130         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
131         when using default mode of IBM C 6 for AIX.  Problem and two-line
132         fix reported by Larry Jones.
134 2006-06-22  Alexandre Julliard <julliard@winehq.org>
136         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
137         about literal '${datarootdir}' if a definition is found in the
138         output file.
140 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
142         * NEWS: Use "M4" rather than "m4" when appropriate.
143         Problem reported by Eric Blake.
144         * doc/autoconf.texi: Likewise.
145         Use @acronym around BSD, GCC, and GNU when appropriate.
146         (Why GNU M4): Renamed from "Why GNU m4".
147         (Redefined M4 Macros): Mention that Posix
148         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
149         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
150         to int.
152 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
154         * bin/autom4te.in (handle_output): Do not forbid the empty
155         pattern.
156         * tests/tools.at (autoconf: the empty token): New test.
158 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
160         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
161         calls, so that we do not care whether they are LIFO or FIFO;
162         in the m4_wrap, do not check which diversion is the topmost
163         one, just check that the stack is balanced at the end.
164         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
165         base diversion forever--pop the previous diversion before
166         opening the new one; consequently, remove the m4_wrap call.
167         * lib/autotest/general.m4 (AT_INIT): Likewise.
168         * tests/m4sugar.at: Do not use
169         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
171 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
172         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
174         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
175         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
176         Rework example of m4wrap token-pasting trouble so that it doesn't
177         care whether it's LIFO or FIFO.
178         Fix some "contrary to"s that are awkward in English.
180 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
182         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
183         to `yes' instead of `int$1_t' if the type is found, for more
184         consistent configure output (where $1 is the number of bits).
185         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
186         Suggested by Bruno Haible.
188         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
189         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
190         with system headers.  Report by Bruno Haible.
192 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
194         * config/config.guess, config/config.sub: Sync from upstream.
196         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
197         in order to avoid picking up an older installed frozen m4sh.m4f.
198         Besides an outdated shell startup, this could have been created
199         by an earlier M4 version with incompatible frozen file format.
201 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
203         * README: Recommend m4 1.4.4 instead of 1.4.3..
204         * doc/autoconf.texi: Likewise.
205         (Special Chars in Names): Say that $(.FOO) is portable, as
206         suggested by Stepan Kasal.
207         (Installation Directory Variables, Build Directories):
208         (Automatic Remaking, Subdirectories, Fortran Compiler):
209         (Making testsuite Scripts, Defining Directories):
210         Quote variable usages better.
211         (Making testsuite Scripts): Add clean-local rule to makefile
212         snippet, by Eric Blake.
213         (Installation Directory Variables): Fix table item font.
214         Reword slightly to clarify.  Generalize advice about
215         not using special characters to include all file-related
216         vars, not just VPATH.
217         (Special Chars in Variables): Warn about special characters in
218         $(srcdir) too.
219         (Assignments): Clarify default-value example as suggested by
220         Ralf Wildenhues in
221         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
222         (Special Shell Variables): Note leading ./ or ../, as suggested
223         by Eric Blake.
224         (Limitations of Builtins): Under cd, warn about CDPATH.
225         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
226         Ralf Wildenhues.
228 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
230         * doc/autoconf.texi (Configuration Actions): Remove duplicate
231         `@var', for texi2html.
232         (Systemology): Some more word wrapping, for DVI output.
233         (autom4te Invocation): The short option for `--melt' is `-M',
234         not `-m'.
236 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
238         * doc/autoconf.texi: More formatting and English tweaks,
239         many suggested by Ralf Wildenhues.
240         Reword to avoid "@code{...}'s" and the like, since it's ugly
241         with Emacs info mode.  discontents -> woes.
242         Put a few "will"s back.  time stamp -> timestamp.
243         side-effect -> side effect.
245 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
247         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
248         Warn about $@ not persisting.  Problem reported by Julien Danjou in
249         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
250         (Special Chars in Names): Renamed from Leading _ in Macro Names.
251         Mention other special chars, too.
253 2006-06-14  Eric Blake  <ebb9@byu.net>
255         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
257 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
259         * doc/autoconf.texi: Some systematic minor improvements, as
260         follows.  Use "makefile" when talking about makefiles
261         generally (which might be named "makefile" or "Makefile" or even
262         "foo.mk"), "Makefile" when talking about a specific makefile
263         called "Makefile".  This unclutters the text from weird quotes
264         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
265         values" rather than "@var{foo}s" and similar constructs containing
266         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
267         English-language improvements.  Change the prefix "sub-" to "sub"
268         and "re-" to "re".
269         Put blank lines around examples more consistently.
270         Avoid "rather" and "very" as intensifiers.
271         Avoid "will" as an auxiliary.
272         (Limitations of Make): Split this node into....
273         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
274         (Leading _ in Macro Names, Backslash-Newline-Newline):
275         (Backslash-Newline Comments, Long Lines in Makefiles):
276         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
277         (obj/ and Make, make -k Status, VPATH and Make):
278         (VPATH and Double-colon, $< in Explicit Rules):
279         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
280         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
281         New nodes, resulting from splitup of Limitations of Make.
282         All cross-references changed.  Raise the top node from
283         a section to a chapter, and all subnodes accordingly.
284         Redo the introductory wording to match the new organization.
285         (Installation Directory Variables): Use an example that is
286         closer to what Autoconf actually does.  Mention that VPATH's
287         value should not contain metacharacters or white space.
288         (Fortran Compiler): Fix a VPATH bug in an example.
289         (Leading _ in Macro Names): Mention that this problem is no longer
290         of practical concern.
291         (VPATH and Make): Reword the advice to make it clearer
292         that Autoconf and Automake support VPATH in non-GNU make, but
293         many packages have bugs in this area.
294         ($< in Explicit Rules): Refer to Build Directories rather
295         than using a (non-VPATH-safe) example.
296         (Automatic Rule Rewriting): Mention the sort of disaster that
297         can ensue with Solaris-style rule rewriting with VPATH.
299 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
301         * doc/install.texi (Compilers and Options): Weaken the
302         suggestion to use GNU make for VPATH builds.
304         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
305         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
307         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
308         in regular expression.
310 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
312         * doc/autoconf.texi (Installation Directory Variables):
313         Drop extra @samp from `@table @samp' item.
314         (Limitations of Usual Tools): Comment fix.
315         Do not nest @samp just to point to other table items.
316         (Writing testsuite.at) <AT_CHECK>: The second argument to
317         `@dvar' is already @samp'ed.
318         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
319         do not use @var in the second argument.
321 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
323         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
324         $as_shell.exe too.  Problem reported by Andreas Buening in
325         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
327 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
329         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
330         `unused variable' compiler warning, for `-Wall -Werror'.
331         Reported by Jaap Haitsma in
332         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
334 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
336         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
337         case the compiler dumps core.  Problem reported for
338         OpenServer 5.0.7 by Tim Rice in
339         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
340         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
341         Likewise.
343 2006-06-06  Tim Rice <tim@multitalents.net>.
345         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
346         "ERROR" only shows up in "make check" output if there is an
347         error.
349 2006-06-06  Eric Blake  <ebb9@byu.net>
351         * tests/tools.at (automatically allowed tokens): Fix typo.
353 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
355         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
357         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
358         typically overflows on x86 CPUs, even though the C standard
359         requires otherwise.
361 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
363         * configure.ac (AC_INIT): Bump to 2.59e.
364         * NEWS: Update.
366 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
368         Version 2.59d.
370         * config/texinfo.tex: Sync from upstream.
372         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
373         seen, invoke libtoolize with `--ltdl' argument.
374         * lib/autom4te.in (Autoreconf-preselections): Adjust.
375         * NEWS: Update.
376         Suggested by Eric Blake.
378 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
380         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
381         reported by Ralf Wildenhues.
382         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
384 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
386         * THANKS: Update.
388 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
390         * doc/autoconf.texi: Modernize some of the references to Solaris.
392 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
394         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
395         message issued by AC_REQUIRE.
396         * tests/m4sugar.at: Check m4_require's error message.
397         * tests/base.at: Check AC_REQUIRE's error message.
398         * tests/local.at (AT_CHECK_M4): New macro, almost identical
399         to...
400         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
401         AT_CHECK_M4.
402         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
403         `expout' as the last parameter.
404         * tests/tools.at: Adapt to the above change.
406 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
408         * doc/autoconf.texi (Limitations of Usual Tools): Correct
409         information about race-free implementations of mkdir.
411 2006-06-04  Eric Blake  <ebb9@byu.net>
413         * bin/autoreconf.in (help): Document M4 environment variable.
414         * bin/autoconf.as (Usage): Likewise.
415         * bin/autom4te.in (help): Likewise.
416         * doc/autoconf.texi (autom4te Invocation): Likewise.
418 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
420         * NEWS: GNU make now recommended for VPATH builds.
421         Mention that some macros are now documented to be obsolescent.
422         * doc/autoconf.texi:
423         Prefer "current" to "modern" to describe
424         currently-used (albeit perhaps old-fashioned) hosts.
425         Mention which ancient features no longer need to be worried about.
426         setgid -> set-group-ID
427         setuid -> set-user-ID (these are the Posix terms)
428         Fix some misuses of "only".
429         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
430         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
431         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
432         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
433         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
434         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
435         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
436         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
437         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
438         Mention that these macros are obsolescent.
439         (Installation Directory Variables): shall -> should
440         (File Descriptors): Mention that 0, 1, 2 might get reopened.
441         Mention that it's now safe to use 3 and 4.
442         (Limitations of Usual Tools): cp -r is now specified by Posix.
443         Omit longwinded and obsolescent discussion of cp -f.
444         Modernize discussion of expr, ls.
445         (Limitations of Make): Modernize discussion of VPATH builds.
446         Mention $? as a workaround in some cases.
447         * doc/install.texi (Basic Installation):
448         Mention "./configure; make; make install" first.  Be more
449         specific about why this file is generic.  Remove unnecessary
450         parens.  Remove misleading "only".  Remove obsolete advice
451         about csh.  Don't say "configure" takes awhile; say it
452         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
453         and CC=c99 rather than CC=c89, as these are blessed by current
454         Posix.  Recommend GNU make if doing a VPATH build.
456 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
458         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
459         examples involving shell prompts.
461 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
462         and Paul Eggert  <eggert@cs.ucla.edu>
464         * doc/autoconf.texi (Here-Documents): Add details about the
465         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
466         use "here-documents" instead of "here documents".
468 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
470         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
472 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
474         * doc/autoconf.texi (File System Conventions): Warn about ":"
475         anywhere in directory names.
477 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
479         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
480         about quoting the case statement, just in case.
481         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
482         was fixed in ksh93g; reported by Ralf Wildenhues.
484 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
486         * doc/autoconf.texi (System Services): Do not document
487         overriding EXEEXT via ac_cv_exeext=ext.
488         (Particular Programs) <AC_PROG_MKDIR_P>:
489         Document that ${MKDIR_P} understands --.
490         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
491         comment.
493 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
495         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
496         argument with leading hyphen.  Problem reported by Paul Eggert.
498 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
500         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
501         about quoting ac_try: quote all of it, if any of it seems suspicious.
502         This means we don't have to worry about ${ or sed any more.
503         Also, double-quote the case statement, to work around misuses via
504         underquoting as reported by Ralf Wildenhues in
505         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
506         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
507         undocumented and dangerous macro.
508         Problem reported by Ralf Wildenhues in
509         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
511 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
513         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
514         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
515         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
517 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
519         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
520         since evidently some packages rely on the old, broken behavior.
521         Problem reported by Ralf Wildenhues in
522         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
523         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
524         pre-2006-05-26 definitions, but leave in the comments that
525         these macros are dangerous and should not be used.
526         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
527         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
528         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
529         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
530         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
532 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
534         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
535         the use of 'tr', since this is our only use of 'tr'.
537 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
538         and Paul Eggert  <eggert@cs.ucla.edu>
540         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
541         Don't assume 'grep' works on long lines, since AIX grep doesn't.
543 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
545         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
546         the output file in the `${datarootdir}' test.
548 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
549         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
551         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
552         mention of `datarootdir' in the input file(s), but literal
553         `${datarootdir}' in the output file, and we haven't warned yet,
554         then warn as well: the user may have (erroneously) used
555         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
556         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
557         * tests/torture.at (datarootdir workaround): Extend this test.
558         * NEWS: Update.
560 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
561         and Paul Eggert  <eggert@cs.ucla.edu>
563         * doc/autoconf.texi (autoheader Invocation): The first argument to
564         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
565         alternatives and clear up the language a bit.
567 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
569         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
570         ac_config_guess, ac_config_sub, ac_configure.
571         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
572         Fix typo that prevented an unnecessary space from being removed.
573         Problems reported by Ralf Wildenhues in:
574         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
576 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
578         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
579         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
580         Don't use the term "thread-safe" to talk about mkdir race
581         conditions, since the problem is more a process than a thread
582         issue.  Problem reported by Stepan Kasal in:
583         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
584         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
585         the test for 'install' more closely.  Look at MKDIR_P first.
586         Look in the PATH, and at /opt/sfw/bin.
587         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
588         Don't bother to try mkdir -p, since we already check mkdir --version;
589         just look at the version number.  (There's no easy way to check
590         for race-free implementations.)
591         * tests/tools.at (autoconf: subdirectories): Adjust to above
592         changes, since MKDIR_P now might end in "/mkdir -p".
594         * doc/autoconf.texi (autoheader Invocation): Mention that the
595         first arg of AC_DEFINE_UNQUOTED must be a literal.
596         Problem reported by Ben Pfaff in
597         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
599         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
600         * doc/autoconf.texi (Special Chars in Variables): New section.
601         (Preset Output Variables): Warn about special chars in CPPFLAGS.
602         (Installation Directory Variables): Quote $(datadir) better.
603         (Limitations of Builtins): Describe some of eval's trickiness.
605         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
606         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
607         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
608         in front of every arg, not just trailing args.  Quote apostrophes.
609         (_AC_EVAL_ECHO): New macro.
610         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
611         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
612         removed.
613         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
614         exposed by quoting of eval argument.  Put the command on line line
615         so it logs better.
616         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
617         (_AC_PATH_X, AC_PATH_X): Quote more safely.
618         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
619         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
620         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
621         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
622         Use eval more safely.
623         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
624         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
625         to be replaced.
626         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
627         lines, exposed by quoting of eval argument.
629 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
630         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
632         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
633         initialization of `ac_cv_exeext', do not override it if it was
634         already set, unless it was set to `no', for compatibility with
635         Autoconf-2.13, and comment this.
636         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
637         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
638         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
639         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
640         Document that this test may be overridden by setting
641         `ac_cv_exeext'.
643 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
645         Revert these two patches:
647         2006-04-06  Eric Blake  <ebb9@byu.net>
648         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
649         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
650         2006-04-01.
652         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
653         Clean up _AC_COMPILER_EXEEXT* macros.
654         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
655           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
656           ac_file to the name of the default output file and call
657           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
658           initial `rm' of the candidate files...
659         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
660           the same list in subsequent `rm' calls, and for the temporary
661           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
662           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
663         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
664         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
665           no longer needed) by libtool.  Make it a cache check.
666         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
667           copied here by mistake.
668         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
669           _AC_COMPILER_EXEEXT.
670         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
671           _AC_COMPILER_OBJEXT directly.
672         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
674 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
676         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
677         Fix description of how the buggy `sed' works.
679 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
681         Sync from Automake:
683         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
684         ENOLCK.  Only mention `make -j' when applicable.  Only raise
685         fatal errors when `make -j' is involved.  Improve error message.
687 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
689         * doc/autoconf.texi (Here-Documents): We now know more about
690         the variable expansion in here documents bug.
691         Thanks to Tim Rice and Stepan Kasal.
693         * doc/autoconf.texi (Making testsuite Scripts): Add an example
694         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
696 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
698         * tests/autotest.at (Multiline command from M4 expansion):
699         No failure to be expected if the shell quotes newlines in
700         commands in the `set -x' output.  Report by Tim Rice.
701         * THANKS: Update.
703 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
705         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
706         expansion in the here-documents used by config.status, as that
707         runs afoul of the Korn shell version M-12/28/93d bug described in
708         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
709         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
710         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
712 2006-05-23  Jim Meyering  <jim@meyering.net>
714         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
715         Fix typo introduced with 2006-04-02 change.  It reversed the sense
716         of the test.
718 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
720         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
721         ac_dB slightly, to save bytes in the script.
722         Max out at 50 lines, rather than 96; this is more likely
723         (though not guaranteed) to avoid obscure 'sed' failures.
725 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
727         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
728         `tr -d -' as bad option argument.  Work around this by deleting
729         an unrelated character.
730         Report by Tim Rice <tim@multitalents.net>.
732 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
733             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
734             Stepan Kasal  <kasal@ucw.cz>
736         * doc/autoconf.texi (Particular Programs): Do not promise that
737         we always prefer the GNU version of the program, and that we
738         search according to PATH; both rules can have exceptions.
739         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
740         AC_PROG_SED.  Move descriptions of limitations
741         to the Limitations of Usual Tools section.
742         (Limitations of Usual Tools) <sed>: Mention script length
743         limitations with Solaris /usr/ucb/sed.
744         <grep>: Fix wording for empty alternative.  Mention that -c and
745         -l should not be combined, and that -E and -F should not be
746         combined.
748 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
749         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
751         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
752         limits in Solaris 8 /usr/ucb/sed by testing a long script.
754 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
756         * doc/autoconf.texi (Defining Symbols): Literal parameter of
757         AC_DEFINE is now passed to m4_pattern_allow.
758         * NEWS: Mention that; likewise for AC_SUBST.
759         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
760         the parameter to m4_pattern_allow.
761         * tests/tools.at: Add a check for that.
763 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
765         * lib/autoconf/status.m4: Fix typos.
767 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
769         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
770         only the files that this macro generates.
772 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
774         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
775         the HP-UX sed limitation of 99 commands, labels do not count.
776         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
777         in the comment.
778         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
780 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
782         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
783         Import the following fix from coreutils:
785         2006-01-13  Jim Meyering  <jim@meyering.net>
787         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
788         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
789         not double-quote uses of that variable, to accommodate the rare
790         case in which getmntent is available in none of the libraries
791         checked.  This happens at least on FreeBSD 5.0.
793 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
795         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
796         ac_config_guess, ac_config_sub, and ac_configure, since evidently
797         some other programs unwisely rely on these undocumented vars.
798         But put in warning comments about them.
799         Problem reported by Ralf Wildenhues in
800         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
801         * NEWS: Document that these variables are intended to go away.
803 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
805         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
806         and set the language to C++ (analogous to the equivalent Fortran
807         tests).
809         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
810         * doc/autoconf.texi (C++ Compiler): Document it.
811         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
812         * NEWS: Update.
814 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
816         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
817         that caused config.status to generate 100-command sed scripts; the
818         portable limit is 99.
820 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
822         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
823         variable `ac_d' instead of `d' to avoid infringing namespace.
824         Report by Ralf Menzel.
826 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
828         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
829         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
830         * tests/tools.at (autoconf: subdirectories): New test, taken from
831         the corresponding problem report by Ralf Wildenhues in:
832         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
834         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
835         Quote some uses of shell variables if they might suffer unexpected
836         globbing.  This doesn't fix all instances of quoting problems that
837         I found, just the easy ones that look safe.
838         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
839         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
840         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
841         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
842         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
843         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
844         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
845         Likewise.
846         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
847         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
849 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
851         * bin/autoreconf.in ($help): Reword according to the manual.
852         Suggested by Olly Betts.
854 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
855         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
857         * bin/autoreconf.in: Pass the directory argument to
858         `require_configure_ac'.  Fix comment.
859         * tests/torture.at (Configuring subdirectories): Expose this.
860         Reported by Olly Betts.
862 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
864         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
865         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
866         Automake as follows:
868         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
869         `$configure_in' instead of `configure.in', to preserve
870         directory component.
872 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
874         * config/config.guess, config/config.sub, config/texinfo.tex,
875         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
877 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
879         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
880         test for C99 conformance; (bool) 0.5 is an integer constant
881         expression, but (bool) -0.5 is not.  Problem reported by Fedor
882         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
884 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
886         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
887         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
888         Warn about obsolete install-sh files.  Remove stray sentence
889         fragment and fix cross reference.
890         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
891         install -d; this undoes the 2006-05-10 change.
892         (MKDIR_P): Mark with AN_MAKEVAR.
893         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
894         that we don't require $INSTALL to be thread-safe.  Move comments
895         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
896         of AC_PROG_INSTALL.  Output a message saying that we're checking
897         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
898         MKDIR_P instead of AC_SUBST.
899         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
900         Special magic for MKDIR_P, too.
901         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
902         a dnl.
903         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
905 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
907         Sync from Automake, as follows:
909         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
910         * config/install-sh: Initialize IFS, so field splitting isn't
911         turned off later.
912         * config/mkinstalldirs: Likewise.
913         * config/missing: Remove superfluous quotes.  Replace all uses of
914         `[' by `test', for consistency, and for..
915         * config/missing (sed_minuso, sed_output): New variables.
916         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
917         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
918         Fixes `missing' to detect `--output' for help2man.  Fixes
919         PR automake/483.  Report by Dennis J. Linse.
920         (autom4te): Document in `missing --help'.
922 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
924         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
925         * config/install-sh: Don't use 'path' to talk about file names,
926         as per GNU coding standards.  Close a race condition reported by Ralf
927         Wildenhues and Stepan Kasal.  There is still a race condition
928         on hosts that predate Posix 1003.1-1992, but we can't help this.
929         Don't mishandle weird characters like space on pre-Posix hosts.
930         Invoke mkdir at most once per dir arg on pre-Posix hosts.
931         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
932         AC_PROG_MKDIR_P from AS_MKDIR_P.
933         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
934         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
935         earlier editions are not (including Automake 1.8.3).
936         Do not suggest mkinstalldirs for thread-safety.
937         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
938         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
939         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
940         presence of special characters and race conditions.
941         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
942         in Autoconf's name space.
944 2006-05-10  Bruno Haible  <bruno@clisp.org>
945         and Paul Eggert  <eggert@cs.ucla.edu>
947         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
948         from Automake with minor changes.
949         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
951 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
953         * config/install-sh: Update to Automake CVS version, as follows:
954         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
955         * lib/install-sh: Simplify the expr implementation of dirname.
956         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
957         * lib/install-sh: Handle --, and diagnose unknown options.
959 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
961         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
962         `./autom4te' to create `./testsuite', since the `all' target
963         will ensure its presence, but `installcheck' should not create
964         the uninstalled wrappers.
966         * tests/torture.at (Unusual Automake input files): Skip if we
967         detect automake < 1.8.
969 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
971         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
972         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
973         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
974         * NEWS: Update.
976 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
978         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
979         munge (multiple) white space and other oddities.
980         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
981         single quotes in variable assignment.
982         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
983         and similar failures by adding multiple spaces, tabs, and other
984         special characters.
985         Report and different test suggested by Francesco Romani
986         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
988         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
989         single quotes, we only need to search for single quotes; this
990         both simplifies the search pattern, and makes us less
991         susceptible to `echo' variations for arguments not containing
992         single quotes.
993         (_AC_ARG_VAR_VALIDATE): Likewise.
995 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
997         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
998         `$*' and IFS concatenation issue with traditional shells and
999         bash-2.04.  Report by Seanster@Seanster.com.
1001 2006-05-03  Bruno Haible  <bruno@clisp.org>
1003         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
1004         precisely which Mac OS X versions have the od problem.
1006 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
1008         * doc/autoconf.texi: Use @option systematically.
1010 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
1011         and Bruno Haible  <bruno@clisp.org>
1013         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
1014         about 'od'.
1015         (Integer Overflow): Mention the special case of integer division
1016         overflow.
1018 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1020         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
1021         traditional shells like the Solaris one that do not use the
1022         first IFS character for assembling `$*'.
1023         Prompted by a related report from autoconf_bug@nro.ca.
1025 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
1026         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1028         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
1029         Mention more problems with the -e option.
1031 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1033         * NEWS: Typo.
1034         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
1036         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
1037         in URLs to improve DVI formatted output (requires texinfo 4.6).
1038         (System Services, Systemology, Shellology): Likewise.
1039         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
1040         output.
1042         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
1043         continuous text.
1044         (Runtime): Fix macro argument names to match description:
1045         `action-if-found' -> `action-if-true' and similarly.
1046         (Obsolete Macros): Likewise.
1047         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
1048         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
1049         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
1051 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1053         * doc/autoconf.texi (Limitations of Make): Clean up markup.
1055         * ChangeLog: Typo.
1056         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
1057         DVI output.
1059 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1061         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
1062         /bin/sh set unsorted output.
1063         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
1064         * tests/local.at: Likewise.
1066 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
1068         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
1069         (Integer Overflow, Null Pointers, Buffer Overruns):
1070         (Floating Point Portability, Exiting Portably): New sections.
1071         (Writing Test Programs): Fix some langauge.  Recommend exiting
1072         with status 1, not merely nonzero.  Clarify exit declaration.
1073         (Run Time): Move C exit status stuff to new Exiting Portably section.
1074         (Systemology): Mention Posix and levenez.  Update v7 reference.
1075         (Portable Shell): Mention the Posix shell.
1077 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
1079         * bin/autoconf.as (me): Replace by as_me.
1081 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
1083         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
1084         since as_me isn't set yet.
1086 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
1088         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
1089         a few minor bugs in this area.
1091         * doc/autoconf.texi (Programming in M4sh): Comment out the
1092         documentation of AS_BASENAME, for now.
1093         (Shell Substitutions): Do not use AS_DIRNAME in an example.
1094         (Limitations of Builtins) <basename>: Do not refer to
1095         AS_BASENAME.
1096         * bin/autoconf.as (me): Don't use AS_BASENAME.
1097         (dir): Remove the unused variable.
1098         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
1099         AS_DETECT_REQUIRED.  All uses changed.
1100         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
1101         All uses changed.
1102         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
1103         (AS_BASENAME): Use "basename --" to protect against leading "-".
1104         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
1105         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
1106         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
1107         (_AS_DIRNAME_PREPARE): Likewise.
1108         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
1109         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
1110         (AS_DIRNAME): Use "dirname --".
1112 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
1114         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
1115         of "run time" and "run-time" changed to "runtime", for consistency.
1116         * lib/autoconf/fortran.m4: Likewise (in comment).
1117         * lib/autoconf/functions.m4: Likewise.
1118         * lib/autoconf/general.m4: Likewise.
1119         * lib/autoconf/headers.m4: Likewise.
1121         * doc/autoconf.texi (Run Time): Document the exit status situation
1122         with more accuracy and detail.
1124 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1126         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
1127         Archive is not officially `GNU' any more.  Update URL.
1128         (Defining Directories): Likewise
1129         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
1131 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1133         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
1134         newline from the `trap' code to finish `config.log'; the NetBSD
1135         /bin/sh resets the exit status after an empty command, as
1136         documented in doc/autoconf.texi.
1137         Reported by Dalibor Topic <robilad@kaffe.org>.
1139 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
1141         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
1142         Suggested by Bruno Haible.
1144 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
1146         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
1147         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
1148         Instead, just list the shells that we know work.
1149         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
1150         changed.  Be more cautious about the _cv_ variable.
1151         * tests/tools.at (Syntax of the shell scripts): Check the
1152         _cv_ variable once, at first, to avoid an internal autoconf error
1153         when sh -n does not work.
1155 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1157         * lib/Autom4te/FileUtils.pm: Sync from Automake.
1159 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
1161         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
1162         use ">&-" since we're only 99.999% sure that this is portable,
1163         and since the MinGW bug is fixed in a different way.
1164         * lib/autotest/general.m4 (AT_INIT): Likewise.
1166 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
1168         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
1169         before opening config.log, to avoid hitting a bug on MinGW.
1171 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
1173         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
1174         AS_MESSAGE_LOG_FD before reopening it onto the log file.
1175         This works around a MinGW bug reported by Eric Paire.
1176         Make sure that all writes to the log file append to it,
1177         rather than possibly losing data.
1178         * lib/autotest/general.m4 (AT_INIT): Likewise.
1180 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
1182         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
1183         description.
1185 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1187         * NEWS: Update.
1189         * configure.ac (AC_INIT): Bump to 2.59d.
1191 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1193         Version 2.59c.
1195         * Makefile.maint (news-date-check): Do not require a leading `*'
1196         before the release date in NEWS.
1198 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
1199         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1201         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
1202         the instantiated file do not contain the string 'datarootdir'
1203         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
1204         @mandir@, replace the reference '${datarootdir}' by the value.
1205         * tests/torture.at (datarootdir workaround): New test.
1206         * NEWS: Advertise this temporary fixup.
1207         Based on a patch by Bruno Haible, reported and analyzed by
1208         Paul Eggert and Noah Misch.
1210 2006-04-12  Eric Blake  <ebb9@byu.net>
1212         * tests/autotest.at (Debugging a failed test): Fix comment.
1214 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
1216         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
1217         all the changes since 2006-04-07.
1219 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1221         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
1222         succeeded, but `ln -s file dir' failed, take care to remove the
1223         leftover target before the next test, to prevent its spurious
1224         failure; also make sure `ln file dir' works before selecting it.
1225         Thanks to Keith Marshall for pointing this out.
1226         * THANKS: Update.
1228         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
1229         assignments in `at_debug_args', so that we put them correctly
1230         in the `run' script.
1231         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
1232         Reported by Eric Blake.
1234 2006-04-11  Eric Blake  <ebb9@byu.net>
1236         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
1237         top-level tests after micro-suite has been run.   Used in...
1238         (Debugging a successful test, Debugging script and environment),
1239         (Debugging a failed test): ...these new tests.  The first of these
1240         is fixed by...
1241         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
1242         macro, split out from...
1243         (AT_INIT): ...here, so that using -d also generates a run script.
1244         Document that -d inhibits top-level logging.
1245         * doc/autoconf.texi (testsuite Invocation): Document that -d only
1246         inhibits top-level logging; debug scripts are created.
1248         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
1249         check.
1250         * tests/autotest.at (Empty test, Empty check): New test to check it.
1252         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
1253         from gcc.
1255 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
1257         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
1258         the files if a problem appears.  Make the empty *.at files
1259         read-only, too.  Proposed by Ralf Wildenhues.
1261 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1263         * config/Makefile.am: Add comment to force updated Makefile.in.
1265         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
1266         space only patch to this file, this patch causes the Makefile.in
1267         files that include freeze.mk to be updated, and thus have a
1268         newer time stamp again, which in turn makes a pristine CVS
1269         checkout have correct time stamps.
1271         * Makefile.maint (cvs-sv): New macro, to be used..
1272         (config.guess-url_prefix, config.sub-url_prefix)
1273         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
1274         point to CVS text checkout of Gnulib files.
1275         (copyright-check): Bump current year.
1276         (announcement): Do not hard-wire `./announce-gen'.
1277         (cvs-update): Propagate failures of `cvs' and `move-if-change'
1278         correctly.
1279         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
1280         `chmod +x'.
1281         (wget_files): Update config.guess, config.sub, texinfo.tex by
1282         `wget-update', now that their URLs work again.
1284 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
1286         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
1287         Problem noted by Paul D. Smith.
1289 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1291         * doc/autoconf.texi: Remove unused words from word list.
1292         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
1293         .x-sc_trailing_space: New files.
1295         * doc/standards.texi: Sync from gnulib.
1297         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
1298         `LIBOBJDIR' as experimental.
1300         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
1301         with a target directory; it's internally implemented as `cp'
1302         anyway, but since Autoconf advertises the possibility to use
1303         a target directory when LN_S is `ln -s', we need to find out.
1304         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
1305         analyzed by Keith Marshall <keith.marshall@total.com>.
1307         * THANKS: Update.
1309 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
1311         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
1312         confdefs.h as-is.  In general, if it has backslash-newline or the
1313         like, then it doesn't work either to sort or to remove empty
1314         lines.
1316 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
1318         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
1320 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
1322         * lib/autom4te.in (Automake-preselections): Preselect
1323         _AM_SUBST_NOTMAKE.
1325 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
1327         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
1328         apostrophe within a single-quoted string, as this is the usual
1329         tradition and is easier to read than '"'"'.  Don't rely on the
1330         shell treating "$/" like '$/'.  Use a more-consistent indenting
1331         style for the trap.
1333 2006-04-09  Eric Blake  <ebb9@byu.net>
1335         * tests/autotest.at (Backquote command substitution),
1336         (Multiline backquote command substitution): Remove mistaken
1337         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
1338         applied...
1339         (Parenthetical command substitution, Multiline parenthetical
1340         command substitution): here.
1342 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
1344         Import macros from gnulib (often changing their name).
1346         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
1347         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
1348         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
1349         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
1350         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
1351         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1352         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
1353         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
1354         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
1355         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
1356         The manual mentions Gnulib more prominently.
1357         * doc/autoconf.texi (Gnulib): New node.
1358         (Pointers): Add Gnulib URL.
1359         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
1360         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
1361         Gnulib section.
1362         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
1363         suggest a #define rather than a typedef for _Bool, and mention
1364         Gnulib rather than trying to substitute stdbool code.
1365         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
1366         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
1367         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
1368         AC_STRUCT_DIRENT_D_TYPE.
1369         (Particular Types): Mention stdint.h and inttypes.h as standard
1370         headers too.
1371         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1372         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
1373         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
1374         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
1375         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
1376         (C Compiler): Move AC_C_LONG_DOUBLE to ...
1377         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
1378         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
1379         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
1380         (Coding Style).  Don't mention m4_expand_once.
1381         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
1382         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
1383         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
1384         (AC_CHECK_FUNCS): Use it.
1385         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
1386         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
1387         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
1388         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
1389         (AC_HEADER_ASSERT): New macro.
1390         (AC_HEADER_STDBOOL): Don't assume "#error" works.
1391         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
1392         Catch a bug in an HP-UX C compiler.
1393         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
1394         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
1395         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
1396         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
1397         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
1398         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
1399         New macros.
1401         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
1402         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
1404 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
1406         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
1407         of the warning introduced by the 2001-08-28 change.
1409 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
1410             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1412         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
1413         variables shall be overriden by the cache.
1414         * tests/torture.at (AC_ARG_VAR): Test also with a first value
1415         that contains braces.
1417 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
1419         Revert the patch from 2006-04-01 and only improve
1420         _AS_DETECT_BETTER_SHELL:
1422         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
1423         skip nonexistent directories.
1424         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
1425         only shell candidates which exist.
1426         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
1427         * lib/autotest/general.m4 (AT_INIT): No need to give three
1428         parameters to _AS_PATH_WALK.
1430 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
1431             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1433         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
1434         distinguish m4sugar macros.
1435         * tests/tools.at (autoupdating with aclocal and m4_include):
1436         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
1437         test case by Noah Misch <noah@cs.caltech.edu>.
1439 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
1441         Revert my change from 2006-03-17, in other words:
1442         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
1443           and DUALCASE=1.
1444         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
1445         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
1446           it is set.
1448 2006-04-07  Eric Blake  <ebb9@byu.net>
1450         * doc/autoconf.texi (Programming in M4sh): Document that
1451         AS_MKDIR_P exits the script on failure.
1452         * lib/autotest/general.m4: Remove redundant AS_ERROR.
1454 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1456         * config/elisp-comp, config/install-sh, config/mdate-sh,
1457         config/missing, config/mkinstalldirs: Sync from Automake.
1459         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
1460         from Automake.
1462         * doc/make-stds.texi: Sync from gnulib.
1464 2006-04-06  Eric Blake  <ebb9@byu.net>
1466         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1467         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
1468         2006-04-01.
1470 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
1471             Eric Blake  <ebb9@byu.net>,
1472             Paul Eggert  <eggert@cs.ucla.edu>,
1473             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1475         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
1476         whether `set' quotes correctly: redirect stderr of the tested
1477         `set', and use a subshell, for Ultrix; use `sed' instead of
1478         `grep' for zsh `set' which may write binary output; match only
1479         at the beginning of a line, to avoid false positives.
1480         In order to avoid false positives by unrelated variables with
1481         multiline content, put the dump algorithm in a subshell and
1482         unset all variables containing newlines (except some which are
1483         special to the shell).  Warn about cache variables that are
1484         unset.
1486 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1488         * config/config.guess, config/config.sub, config/texinfo.tex:
1489         Sync from upstream.
1491         * tests/mktests.sh: Reword comments.
1493         * tests/mktests.sh: Only skip internal macros starting with
1494         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
1495         Update exclusion lists for the test suite to this end:
1496         (AC_ARG_VAR): Do test this now.
1497         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
1498         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
1499         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
1500         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
1502         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
1503         shell issue with double-quoted command substitutions of native
1504         commands.
1505         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
1506         Marshall.
1508         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
1509         no file matches the glob, discard the warning, set `nullglob'.
1510         (syntax-check): Likewise.
1511         (sc_cast_of_x_alloc_return_value): Likewise.
1512         (sc_cast_of_alloca_return_value, sc_error_exit_success)
1513         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
1514         (m4-check): Likewise.
1515         (sc_system_h_headers): Do not print rule on execution.
1516         (sc_tight_scope): Do not fail for non-existing `src' directory.
1517         (sc_changelog): Skip the Copyright footer.
1518         * lib/autoconf/lang.m4: Remove trailing space.
1520         * lib/autoconf/status.m4: More replacements to
1521         <tab><space> where this makes sense.
1523 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
1525         * tests/Makefile.am (maintainer-check-posix):
1526           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
1528         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
1529           ac_config_<foo>s again, sometimes normalized, sometimes not.
1530         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
1531         (AC_CONFIG_COMMANDS): Do not do so here.
1532         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
1533           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
1534           2005-07-25 rewrite.  Noticed by Noah Misch.
1536         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
1537           _AC_PRESERVE_HELP_ORDER, ...
1538         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
1540         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
1541           inside m4_expand_once; it is redundant.
1543         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
1544           for --help from Cygnus `configure.'
1546 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
1548         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
1549         on a patch proposed by Ralf Wildenhues.
1551 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
1553         * lib/autoconf/status.m4: Replace <space>''<tab> with
1554         <tab><space> where this makes sense.
1556 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
1557             Noah Misch  <noah@cs.caltech.edu>
1559         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
1560         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
1561         * doc/autoconf.texi (Help Formatting): New node.
1562         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
1564 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1566         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
1567         lib/autoconf/specific.m4, lib/autoconf/status.m4,
1568         lib/autoconf/types.m4, lib/autotest/general.m4,
1569         tests/mktests.sh, tests/torture.at: White space cleanup:
1570         remove some SPACE before TAB, or add quoting ('' or @&t@).
1572         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
1574         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
1576 2006-04-05  Eric Blake  <ebb9@byu.net>
1578         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
1579         empty test suite works.
1580         * tests/autotest.at (Empty test suite): Remove xfail.
1582 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
1584         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
1585         TAGS to ac_config_<foo>s.
1586         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
1587         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
1588         normalizing it, consistent it with previous releases.
1589         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
1591 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
1593         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
1594         Use simplified args that Eric Blake originally suggested.
1596 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
1598         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
1599         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
1600         Use 'comm' rather than N instances of grep; this also fixes a bug
1601         whereby substrings were incorrectly matched, causing us to not
1602         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
1603         (exclude_list): Exclude empty macros.
1604         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
1606         Use awk rather than grep -E or egrep, to avoid
1607         portability problems with regular expressions containing newlines.
1608         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
1609         Switch from grep to awk syntax.
1610         (ac_exclude_script): Renamed from ac_exclude_egrep.
1611         (au_exclude_script): Renamed from au_exclude_egrep.
1613 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
1615         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
1616         a subdirectory subject to Cygnus `configure'.
1617         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
1619         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
1620         report request when we have no AC_PACKAGE_BUGREPORT.
1622 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1624         * THANKS: Update.
1626         * tests/mktests.sh: Update copyright year in the header of the
1627         generated files.
1629         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
1630         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
1631         typedef'ed restricted pointer, to catch a compiler bug on
1632         HP-UX 11.x, and fix warnings so it passes with -Werror.
1633         (_AC_PROG_CC_C99): Likewise.
1634         Reported by Albert Chin <china@thewrittenword.com>.
1635         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
1637 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
1639         * bin/autoscan.in (subdirs): New global.
1640         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
1641         (output): Emit AC_CONFIG_SUBDIRS as needed.
1642         * tests/autoscan.at (autoscan): Remove XFAIL.
1644 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
1646         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
1648 2006-04-03  Eric Blake  <ebb9@byu.net>
1650         * THANKS: Add myself.
1652 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1654         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
1655         to log, point to testsuite output tree.
1657 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
1659         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
1660         * doc/autoconf.texi (Function Portability): Mention that C++
1661         has trouble with 'exit'.
1662         (Guidelines): Test programs shouldn't use 'exit'.
1663         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
1664         Remove; all uses removed.
1665         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
1666         Return from 'main' instead of calling 'exit'.
1667         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
1668         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
1669         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
1670         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1671         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
1672         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1673         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1674         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
1675         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1676         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1677         * tests/compile.at: Likewise.
1679 2006-04-02  Pavel Roskin  <proski@gnu.org>
1681         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
1683 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1685         Clean up _AC_COMPILER_EXEEXT* macros.
1687         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
1688           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
1689           ac_file to the name of the default output file and call
1690           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
1691           initial `rm' of the candidate files...
1692         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
1693           the same list in subsequent `rm' calls, and for the temporary
1694           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
1695           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
1696         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
1697         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
1698           no longer needed) by libtool.  Make it a cache check.
1699         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
1700           copied here by mistake.
1701         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
1702           _AC_COMPILER_EXEEXT.
1703         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
1704           _AC_COMPILER_OBJEXT directly.
1705         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1707 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1709         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
1710         (AS_DIRNAME): Use it.
1711         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
1713         * tests/*.at: Remove the generated ones.
1715 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1717         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
1719 2006-04-01  Eric Blake  <ebb9@byu.net>
1721         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
1722         directories, unless optional third argument supplied.
1723         (AS_UNAME): Don't optimize PATH walk.
1725         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
1727 2006-04-01  Eric Blake  <ebb9@byu.net>
1728         and Stepan Kasal  <kasal@ucw.cz>
1730         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
1731         and fix some typos.
1733 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
1735         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
1736         Autoconf version number despite a zero- or one-argument AC_INIT.
1738         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
1739         subordinate tools.
1740         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
1741         * doc/autoconf.texi (autoreconf Invocation): Document it.
1743         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
1744         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
1746 2006-04-01  Eric Blake  <ebb9@byu.net>
1748         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
1749         * lib/autotest/general.m4: Be tolerant of existing directory when
1750           rm failed to remove it.
1752 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1754         * bin/autoupdate.in: Redefine m4_location so that warnings print
1755         the correct lines of the input file by subtracting..
1756         (_au__first_line): ..this new definition.
1758         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
1759         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
1760         Remove stray newline in output.
1761         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
1762         AC_DEFUN this for autoconf, including the obsoletion diagnose.
1763         Fixes autoupdating of code where the replacement output contains
1764         m4sugar macros.
1765         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1766         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
1767          (au_exclude_list): Add AC_LANG_SAVE.
1768         * tests/tools.at: Several new tests for all of this.
1769         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
1770         hairy details.
1771         The AC_LANG_SAVE issue was reported against Libtool by
1772         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
1773         Kristian Kvilekval <kris@cs.ucsb.edu>.
1775 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1777         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
1778           switch all of them on and of when necessary.  Fixes the bug when
1779           m4sugar macros (e.g., m4_define) were expanded after the first
1780           automatic update (e.g., after AC_PREREQ or AC_INIT).
1782 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
1784         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
1785         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
1787         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
1788         correctly.  Problem reported by Eric Blake.
1789         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
1790         Ralf Wildenhues.
1792 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
1794         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
1795         Tighten up the basename/dirname wording.
1797 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1799         * Makefile.maint (sc_texi_notab): New check: do not use TABs
1800         in texinfo files outside of verbatim environments.
1801         (syntax-check-rules): Update.
1802         * doc/autoconf.texi (Configuration Headers): Conform to it.
1804 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
1806         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
1807           aclocal cannot be given on the command line.
1809 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
1811         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
1812         Give an example for AS_DIRNAME instead of referring to Posix..
1813         (File System Conventions): Put discussion of // versus / here, and
1814         modernize it a bit.
1815         (Limitations of Usual Tools): Add basename.  Remove verbiage
1816         after dirname, since it got moved to the above sections.
1817         All this was inspired by a patch proposed earlier by Eric Blake.
1819 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1821         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
1822         `$0' to protect against spaces.
1823         * lib/autotest/general.m4 (AT_INIT): Likewise.
1824         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
1825         `$0', $as_me.
1827 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1829         * bin/autoscan.in: The value of find_configure_ac should be
1830         checked for existence, so we don't barf over a nonexisting
1831         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
1833 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1835         * bin/autoupdate.in: Fix some typos.
1837 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
1839         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
1841         * lib/autoscan/autoscan.list: Refreshed.
1843 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1845         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
1846         and Erlang related variables.
1848         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
1849         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
1850         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
1851         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
1852         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
1853         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
1854         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
1855         (_AC_PROG_OBJC_G): New macros.
1856         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
1857         * doc/autoconf.texi (Objective C Compiler): New node.
1858         (Preset Output Variables): Document OBJCFLAGS.
1859         (Language Choice): Document `Objective C' language.
1860         (Fortran Compiler): Fix typo.
1861         * NEWS: Updated.
1862         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
1864 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
1866         * doc/autoconf.texi (Default Includes): Fix typo
1867           s/AC_HEADERS_STDC/AC_HEADER_STDC/
1868         (Limitations of Usual Tools): s/unwriteable/unwritable/
1869         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
1870           Fix typos in the comments.
1872 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
1874         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
1875           Factor out the warning to...
1876         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
1877         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
1878         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
1880         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
1881           case `ac_delim' when writing the sed script.
1883         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
1884           moved DUALCASE=1 ...
1885         (AS_SHELL_SANITIZE): ... here.
1886         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
1887           that it is set.
1889         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
1890           AC_SUBST.
1891         (_AC_PATH_PROG): Store the result to VARIABLE.
1892         (AC_PATH_PROG): No need to set VARIABLE again.
1894         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
1895           the first one is usual AT_CHECK_MACRO test, the second one checks
1896           that the same works when cross-compiling.
1897         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
1898         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
1900 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1902         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
1903         the directory `/usr/bin/posix' in the shell search, to prefer
1904         the Posix shell not only in subsequent spawns as with `$BIN_SH'
1905         on Tru64.
1907         * doc/autoconf.texi (contents): To fix texi2html output, hide
1908         `@setcontentsaftertitlepage' for HTML.
1909         (Writing Autoconf Macros): Likewise, insert space after `@c'.
1910         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
1911         `@,{c}'.
1913 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
1915         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
1916           sanitizing...
1917         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
1918         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
1919           why IFS is restored so late; thank you, Ralf, for reminding us.
1921 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
1923         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
1924           variables in the examples.
1926 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
1928         * doc/autoconf.texi (several sections): Cleaned up documentation for
1929         macros in erlang.m4.
1931 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1933         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
1934         failure condition for `$(cmd)' style command substitutions.
1935         (Parenthetical command substition, Multiline parenthetical
1936         command substition): Use it.
1938         * doc/autoconf.texi (Special Shell Variables): Missing word.
1939         Reported by Keith Marshall <keith.marshall@total.com>.
1941         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
1942         IFS even in case of empty `$PATH'.
1944 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1946         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
1947         `expr' away if there is nothing to do.
1948         < --keywords >: Simplify and robustify argument handling.
1949         Revert erroneous comment from 2005-08-23.  Extend to allow
1950         keyword negation with `!'.
1951         Update help message.  Remove broken code to prevent running
1952         tests multiple times.
1953         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
1954         Update and fix the documentation accordingly.
1955         * tests/autotest.at (Keywords): Renamed to..
1956         (Keywords and ranges): .. this.  Extended to make sure negated
1957         keywords, keywords taken from AT_SETUP arguments, and numeric
1958         test ranges work, and that matching is case-insensitive.
1960 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1962         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
1963         allow to pass unnamed structs even in C++.
1964         (AC_CHECK_SIZEOF):  Likewise.
1965         Also fix quoting error in `AC_MSG_FAILURE' arguments.
1966         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
1967         struct): New tests for unnamed structs, each both native and
1968         cross-compiling.
1970         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
1971         a structure inside a cast, for C++ conformance.
1972         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
1973         Also fix quoting error in `AC_MSG_FAILURE' arguments.
1975         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
1976         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
1977         trying to execute the command `no'.
1979         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
1980         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
1981         expanded outside.
1983         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
1984         example.  Do not emphasize `$%', it is hardly new and special.
1985         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
1987         * doc/autoconf.texi (Limitations of Usual Tools): Document
1988         OpenBSD and traditional `grep' failure to handle multiple
1989         patterns separated by newlines.
1991 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
1993         * doc/autoconf.texi (several sections): Add documentation for macros
1994         in erlang.m4.
1996 2006-03-10  Eric Blake  <ebb9@byu.net>
1998         * doc/autoconf.texi (Obsolete Macros): Fix wording of
1999         AC_TRY_LINK_FUNC.
2001 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
2003         * doc/autoconf.texi: Use @acronym more consistently for acronyms
2004         like BSD, GPL, LGPL.  Fix minor English typos.
2005         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
2006         Mention that these macros are becoming obsolete.
2007         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
2008         Use more modern terminology for which standard is what.
2009         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
2010         and to ansi2knr.
2011         (AC_PROG_CXX): Likewise.
2012         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
2013         Remove obsolete discussion about how to port to K&R.
2014         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
2015         the obsolescent AC_HEADER_STDC.
2016         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
2017         can't rely on it.
2019 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2021         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2022         Remove stdin redirection from /dev/null to allow pipe to work.
2024 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
2026         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2027         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
2028         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
2029         Ralf Wildenhues.
2031 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2033         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
2034         HP-UX sed is 99 commands, not 100.
2035         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
2036         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
2037         newline for portability.
2038         * tests/torture.at (Torturing config.status): Also test 100
2039         AC_SUBST_FILE invocations.  Fix test to actually verify the
2040         AC_CONFIG_FILES output.
2041         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
2042         command, label, and read-file `r' limits.  Unify HP-UX spelling.
2044         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
2045         non-suffix rule.
2046         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
2047         non-GNU make.
2048         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
2049         * tests/mktests.sh: Small shell portability fixes.
2051 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2053         * doc/autoconf.texi (Caching Results): Fix the examples to use a
2054         recommended quoting style and discard unwanted output.
2056 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
2058         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
2059         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
2060         cases, and to work around Tru64 expr bug.
2062 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2064         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
2065         expr bug that turns the result of a regex match into a number if
2066         possible.
2068 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2070         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
2071         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
2072         in section `Specific Compiler Characteristics'.
2074 2006-03-04  Eric Blake  <ebb9@byu.net>
2076         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
2077         variable warning.
2079 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2081         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
2082         order of variable initialization, so even the Solaris 2.6 shell
2083         can create a config header correctly.  Fixes lots of test suite
2084         failures.
2086 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2088         * doc/autoconf.texi (Text processing Macros): New node to
2089         document the m4sugar macros m4_re_escape, m4_tolower,
2090         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
2092 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
2094         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
2095         XrmInitialize (0) -> XrmInitialize ().
2096         Reported by Toshio Kuratomi.
2098 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2100         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
2101         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
2102         * doc/autoconf.texi (Programming in M4sh): Adjusted.
2103         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
2104         both macros are defun'ed so that required macros are evaluated
2105         outside.
2107         * doc/autoconf.texi (Prerequisite Macros): State more precisely
2108         where a required macro will be expanded.
2109         (Coding Style): Another reason not to use `m4_define'.
2111 2006-02-21  Eric Blake  <ebb9@byu.net>
2113         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
2115 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2117         * doc/autoconf.texi (Looping constructs): New node, to
2118         document m4_for, m4_foreach, m4_foreach_w, and mention
2119         obsolete AC_FOREACH.
2120         (Obsolete Macros): Document AC_FOREACH.
2121         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
2122         (m4_for): Fix to never loop (almost) endlessly, work correctly
2123         with arithmetic expressions in arguments, a step of zero or
2124         non-integer multiple of the interval, and avoid integer
2125         overflow.
2126         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
2127         m4_foreach_w.
2129 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
2131         Add basic support for Erlang, both for configuring Erlang/OTP
2132         tools, and Erlang as a conf test language.
2133         * lib/autoconf/erlang.m4: New file.
2134         * lib/autoconf/autoconf.m4: Add erlang.m4.
2135         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
2136         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
2137         * NEWS: Add short description of new macros.
2138         * THANKS: Add Romain Lenglet.
2140 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2142         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
2143         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
2145 2006-02-15  Eric Blake  <ebb9@byu.net>
2147         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
2148         warning.
2150 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2152         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
2153         (_AS_CASE): Private helper macro.
2154         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
2155         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
2156         Fix syntax of AS_IF description
2157         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
2158         for the AC_REQUIRE mess.
2159         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
2160         AS_SHELL_SANITIZE.
2162 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
2164         * doc/autoconf.texi: Minor style cleanup.
2165         Be consistent about spaces after commas.
2166         Insert [] where empty args look a bit funny.
2167         Fix some "i.e." and "e.g." usages.
2168         Try to avoid "X/Y" usages.
2169         Don't be pedantic about "ISO C99"; just say C99.
2170         Prefer GNU style for spaces in front of parens.
2171         (Function Portability): Comment about C89 versus C99
2172         signed integer division.
2173         (Particular Headers): Use current gnulib style for dirent
2174         includes.
2176 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
2177         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2179         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
2180         macros without parameters.
2181         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
2182         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
2183         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
2184         `$#' bug.
2185         (autoupdate): Updated to match AU_ALIAS fix.
2187 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2188         and Paul Eggert  <eggert@cs.ucla.edu>
2190         * doc/autoconf.texi (Programming in M4sh): Document
2191         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
2193 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2195         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
2196         (AS_BOURNE_COMPATIBLE): ..this.
2197         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
2199 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
2201         * doc/install.texi (Defining Variables): Tighten up the
2202         CONFIG_SHELL wording.
2204 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
2205         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2207         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
2208         of (set -o) rather than testing whether (set -o posix) succeeds,
2209         to work around a bug in the AIX 5.3 shell.  Problem originally
2210         reportd by Howard Chu for libtool.
2212 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
2214         * doc/autoconf.texi (Running the Compiler, Running the Linker):
2215         Changes the macro arguments in summaries to match the
2216         descriptions.
2218 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
2220         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
2221         hint as ``a workaround for a bug.''
2223 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2225         * bin/autoreconf.in: New option `--no-recursive'.
2226         Improve wording for subpackages a bit.
2227         * doc/autoconf.texi (autoreconf Invocation): Updated.
2228         * NEWS: Updated.
2230         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
2231         in environment of `configure', not the command line.
2232         Reported by Howard Chu <hyc@highlandsun.com>.
2234 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
2236         * doc/autoconf.texi (Limitations of Builtins): Document the
2237         problem with "trap -".
2239 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
2241         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
2242         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
2243         messages to differentiate Fortran and Fortran 77 tests.
2244         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
2245         AC_LANG_ASSERT, to allow use in mixed-language projects.
2247 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
2249         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
2250         FOO" to "defined (FOO)".
2251         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
2252         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
2253         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
2254         * tests/tools.at (ifnames): Likewise.
2256 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2258         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
2259         * lib/Autom4te/General.pm (mktmpdir): Likewise.
2260         (END): Improve error message a bit.
2261         Reported by Bruce Korb <bkorb@gnu.org>.
2263 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2265         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2266         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
2268 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
2270         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
2271         requires sys/stream.h.  Reported by Oliver Kiddle.
2273 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2274             Stepan Kasal  <kasal@ucw.cz>
2276         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
2277         before the removals of test dirs, use `find' to avoid modification
2278         of symlinked directories.
2280 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
2282         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
2283         Don't ignore the macro arguments.
2285 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
2287         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
2288         declaration that works for MSVC.
2290 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2292         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
2293         Add `*.map' and `.inf' for Green Hills compiler.
2294         Reported by Stefan Seefeld <stefan@codesourcery.com>.
2296         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
2297         correctly: pad with spaces after FIRST_PREFIX if necessary,
2298         and compute string lenghts with `m4_qlen' instead of `m4_len'.
2299         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
2300         * tests/m4sh.at (AS_HELP_STRING): Test extended.
2301         * NEWS: Updated.
2302         Reported by numerous people, numerous times.
2304 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
2306         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
2307         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
2308         * lib/autoconf/general.m4, lib/autoconf/status.m4:
2309         * lib/autotest/general.m4, tests/local.at:
2310         Update copyright year to 2006.
2312         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
2313         sed substitutions.
2314         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
2315         for file names, again.  Reported by Noah Misch.
2316         (Coding Style): Explain that s|a|b| is preferred for file names.
2317         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
2318         (AC_OUTPUT_MAKE_DEFS): Likewise.
2319         * lib/autotest/general.m4 (AT_INIT): Likewise.
2320         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
2321         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
2323         Fix Posix-conformance bugs re use of { command in sed scripts,
2324         and improve the sed-related documentation a bit.
2325         * doc/autoconf.texi (Installation Directory Variables): Use
2326         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
2327         rather than "sed" when talking about Sed in general.
2328         (Particular Programs): Likewise.
2329         (Coding Style): y is like s with respect to / and ,.
2330         (Limitations of Usual Tools): Document the weird restrictions
2331         that Posix has about { }.  Use better quoting.
2332         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
2333         Rewrite to conform to Posix rules about { } in sed scripts.
2334         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
2335         * tests/foreign.at (Libtool): Likewise.
2336         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
2337         Use our own style advice re 's,a,b,' versus 's|a|b|'.
2339 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2341         * lib/autoconf/status.m4: Fix typo.
2343         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2344         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
2345         `-def', for the benefit of Portland `pgf90 -Mipa'.
2346         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
2348 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
2350         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
2351         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
2352         shell from zsh to bash.
2354 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
2356         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
2357           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
2359 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
2361         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
2362         parentheses in $(...).  Problem reported by Eric Blake.
2364 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
2366         * doc/autoconf.texi (Limitations of Usual Tools):
2367         Mention which characters can be escaped with \ in portable regular
2368         expressions used in grep, sed, expr.  Mention the leading ^ problem
2369         with expr.  Clean up some confusing wording.  Mention which
2370         grep options are portable.
2372 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
2374         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
2376 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
2378         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
2379         patch, noted by Ralf Wildenhues.
2381 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2383         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
2384         posix' unconditionally, for pdksh in `native sh' emulation.
2386 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
2388         * doc/autoconf.texi (Shellology): Document eval $? problem
2389         with ash.
2390         (Limitations of Builtins): Likewise.
2392 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2394         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
2395         CONFIG_SHELL in the environment of the configure rerun.
2396         * doc/autoconf.texi (Here-Documents, config.status Invocation):
2397         Suggest passing CONFIG_SHELL absolute, and in the environment
2398         rather than as option.
2400 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2402         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
2403         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
2404         Fix macro quoting.  Fix output for n * 98 substituted variables.
2406 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2408         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
2409         `tmp' to avoid file removal race.
2411 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2413         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2414         ac_clean_files and LIBOBJS.
2416 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2418         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
2419         Factor functionality to..
2420         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
2421         `AC_SUBST($1)' in the public version.
2422         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
2423         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
2424         ac_pt_* variables.
2426 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
2428         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
2429         filesystems.
2431 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2433         * NEWS: Move AH_HEADER mention to right place.
2435 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
2437         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
2438         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2440 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
2442         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
2443         conftst2.$ac_objext.
2444         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2446 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
2448         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
2449         conftest.o, to see whether the compiler really obeys; rm the object
2450         file before and after the test and register it with ac_clean_files.
2451         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2453 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
2455         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
2456         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
2457         code so that the most common case requires less forks.
2459 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
2461         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
2462         not portable; thanks to Paul Eggert and Alexandre.
2464         * NEWS: Fix an old typo.
2466 2005-10-20  Jim Meyering  <jim@meyering.net>
2468         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
2469         the latter'', in two places.
2471 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
2473         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
2474         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
2475         the inner workings of AC_LANG_FUNC_LINK_TRY.
2476         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
2477         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
2478         by the function rather than ignoring it.
2479         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
2480         comparing its address.  Intel's interprocedural optimization was
2481         outsmarting the old heuristic.  Problem reported by
2482         Mikulas Patocka.
2484 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
2486         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
2488 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
2490         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
2491         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
2493 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
2495         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
2496         before removing it (chmod -R u+rwx); there are three instances of this.
2498 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2499             Stepan Kasal  <kasal@ucw.cz>
2501         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
2502         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
2503         make its content writable before removing it.  Remove an errorneous
2504         comment from the end, where the logs of the failed tests are copied
2505         to the main log file.
2507 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
2509         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
2510           in case the computer is too quick.  Double quote the configure.ac
2511           snippets.
2513         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
2514           problems if the testsuite were running too fast.
2516 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
2518         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2519         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2520         (which belong to Xt, not X itself).  See Debian bug 327655.
2521         * NEWS: Mention this.
2523 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
2525         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
2527 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
2529         * config/move-if-change: Don't output "$2 is unchanged";
2530         suggested by Ben Elliston.  Handle weird characters correctly.
2532 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
2534         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
2535           calls, so that the final expansion of this macro is shorter.
2536           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
2537           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
2538           the cleanup there.  Use AS_VAR_* macros, to be more general.
2539         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
2541         * lib/autoconf/general.m4: Use AS_IF where appropriate.
2543         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
2545 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
2547         * doc/autoconf.texi (Configuration Headers): Add an index entry
2548           for AH_HEADER.
2550 2005-08-26  Pavel Roskin  <proski@gnu.org>
2552         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
2553         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
2554         running xmkmf.
2556 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
2558         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2559         The previous patch didn't work, so try a better one.
2561 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
2563         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
2564         in the example.  Reported by Bruno Haible.
2565         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
2566         "if $undefined_var;" succeeds with my shell.
2568         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
2569         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
2570         but change the m4_divert_text to m4_divert_once.
2572 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
2574         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2575         Work around bug in Solaris /usr/xpg4/bin/awk.
2576         The bug is present in at least Solaris 8 through 10.
2578 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
2580         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
2581         some evil values and relying on the fact that $* concatenates the
2582         parameters by the first character from IFS.
2584 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
2585             Stepan Kasal  <kasal@ucw.cz>
2587         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
2588         first header appears, define AH_HEADER.
2589         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
2590         Update limitations about when to call AC_CONFIG_HEADERS.
2591         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
2592         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
2593         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
2594         ``Configuration Actions''; fix their index entries.
2596         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
2597         options correctly.  Process N-M as M-N if M is smaller than N.
2598         Process ranges correctly so that N-N will run only N.
2599         Sort and uniquify the tests that will be run.  If there is more
2600         than one test, reinsert the banners for the tests.
2601         * tests/autotest.at (Keywords): Unmark XFAIL.
2603 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
2605         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
2606           before passing the macro name to AH_TEMPLATE.
2608         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
2609           now opens log after option processing; in particular, --version
2610           and --help do not touch config.log.
2612         * Makefile.maint: Revert the change from 2005-08-12.
2614 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
2616         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
2617           common code to...
2618         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
2620 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2622         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
2623         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
2624         Language cleanup.
2626         * doc/autoconf.texi (Defining Symbols, Changed Results):
2627         Prepend to LIBS, not append, in examples.
2629 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
2631         When building in place, set srcdir="."; suggested by Tim Van Holder.
2633         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
2634           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
2635         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
2636         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
2637           does not mean "no --srcdir option".
2639 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2641         * tests/autoscan.at (autoscan): New file.
2642         * tests/suite.at: Use it.
2643         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
2644         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
2646         * tests/autotest.at (Keywords): Test keywords combinations.
2648 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
2650         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
2651           add "2>&1"; gzip 1.2.4 prints help on stderr.
2653 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
2655         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
2656         was pushdef'ed twice while popped only once.  Push it only once.
2657         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
2659 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
2661         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
2662         prefixed by mere "===", not "configure: === ".
2664 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
2666         * Makefile.maint: Update from Bison.
2668         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
2669         "<tab>" in comment, so that the point is understandable.
2671 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
2673         Rewrite substantial part of lib/autoconf/status.m4.
2674         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
2675         and CONFIG_COMMANDS are not processed in four separate loops.
2676         Instead, there is one main loop.  This alows that the common code
2677         is expanded only once, thus config.status (and configure) is smaller.
2679         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
2680         the AC_LIST_FILES and cousins macros are no longer used.
2682         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
2683         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
2684         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
2685         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
2686         contain the initialization, nor the for loop, nor the associated
2687         commands; all these go to ...
2688         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
2689         _AC_OUTPUT_CONFIG_STATUS.
2690         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
2691         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
2692         (_AC_OUTPUT_FILE): The creation of the sed script ...
2693         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
2694         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
2695         _AC_OUTPUT_MAIN_LOOP.
2696         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
2697         _AC_CONFIG_COMMANDS): Use ...
2698         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
2699         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
2700         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
2701         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
2702         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
2703         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
2704         ... new macros.
2705         (_AC_CONFIG_UNIQUE): Update.
2706         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
2707         Replaced by this ...
2708         (_AC_LIST_TAGS): ... new common macro.
2709         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
2710         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
2711         (_AC_LIST_TAG_COMMANDS): ... new common macro.
2712         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
2713         this didn't belong to the `config commands' section.
2714         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
2715         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
2716         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
2717         to the `config commands' section either.
2718         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
2719         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
2721         ... and many changes to the comments nearby.
2723         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
2724         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
2725         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
2726         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
2727         (#define header templates): The comment at the top of the generated
2728         header now includes the name(s) of the source file(s).
2730         Several unrelated small changes:
2732         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
2733         parameter to AC_DIAGNOSE.
2734         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
2735         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
2736         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
2737         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
2738         with AU::AC_OUTPUT.
2739         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
2740         in AC_OUTPUT doesn't double-quote it either.
2741         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
2742         parameters.
2744 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
2746         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
2747         versions of Portland Group compiler produce single- and double-quoted
2748         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
2749         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
2751 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
2753         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
2754         This is a corrected version of yesterday's patch.
2756 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
2758         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
2759         path, too; insert a "===" to emphasize the line.
2761         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
2762           ac_cv_build_alias to ac_build_alias.
2763         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
2765         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
2766         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
2767         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
2768         (AC_ARG_VAR): ... here.
2769         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
2770           target_alias.
2772         Keep a list of all precious variables and process them with one simple
2773         for loop, instead of expanding all commands, or, OTOH, complicated
2774         processing of output of "set".
2775         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
2776         variable names in new macro...
2777         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
2778         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
2779           a loop to assign all ac_env_* and ac_cv_env_* variables.
2780         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
2781           to INIT_PREPARE.
2782         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
2783           its value to shell variable ac_precious_vars and call
2784           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
2785         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
2786           _AC_ARG_VAR_VALIDATE.
2788         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
2789           and the AC_SUBSTs ...
2790         (AC_INIT): ... here.
2792         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
2793           the ac_subst_files section in config.log.
2795         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
2797 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
2799         * NEWS: New macro AC_C_TYPEOF.
2800         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
2801         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
2802         * tests/c.at (C keywords): Test AC_C_TYPEOF.
2804         Fix problems reported by Nicolas Joly.
2805         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
2806         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
2807         They are generated by the Tru64 v5.1B shell.
2809 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
2811         Fix my changes from 2005-07-01; reported by Noah Misch.
2812         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
2813         description, the macro now accepts only a single tag.
2814         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
2816         Fix cases when the varsions of Autoconf and Autotest don't match.
2817         Reported by Noah Misch.
2818         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
2819         at_top_builddir, for compatibility with older autotest.
2820         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
2821         is not set, use at_top_builddir, for compatibility with older
2822         versions of autoconf.
2824 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
2826         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
2827         Problem reported by Patrick Welche.
2829 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
2831         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
2832         sed substitution command, so that we allow | in program prefixes
2833         and program suffixes.  (& is a problem anyway; we're not fixing
2834         that here.)
2835         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
2836         configure_input, top_builddir, srcdir, etc.
2837         * lib/autotest/general.m4 (AT_INIT): Likewise, for
2838         PATH_SEPARATOR in AUTOTEST_PATH.
2840 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
2842         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
2843         for loop over config.site files using `set', to allow
2844         directory names containing IFS characters.
2846 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
2848         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
2849         directories with weird names.  Apparently some people like living
2850         on the edge.  However, improve the test that "pwd" actually does
2851         report a name for the working directory.
2852         * NEWS: Remove the claim that we test for funny chars in dir names.
2854 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
2856         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
2857         replaced ...
2858         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
2859         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
2860         Now accept a single tag, not whitespace separated list.
2861         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
2863 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
2865         * doc/autoconf.texi (Configuration Headers): Change the explanation
2866         about #include <config.h>.
2867         (Generic Functions): Mention the Gnulib project.
2868         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
2870         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
2871         document to output the default config_* lists to config.status.
2872         Don't recognize option --file, if the functionality is not there.
2873         Likewise for --header; moreover, recognize --he and --h as shortcuts
2874         for --help in that case.
2876         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
2877         matches the order of execution.  No code changed.
2879 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2881         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
2882         single-quoted -cmdline argument in Portland Group compiler.
2883         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
2885 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
2887         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
2889 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
2891         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
2892         descriptors to child processes; reported by Norman Gray.
2894 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
2896         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
2898         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
2899         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
2900         (AC_SUBST): Call it.
2901         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
2902         the directory specific variables; but don't call it for configure_input.
2904 2005-06-28  Derek Price  <derek@ximbiot.com>
2906         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
2907         addition.
2909 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
2911         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
2912         directory have inherent problems with special characters like spaces,
2913         due to limitations in Make syntax.  Problem reported by Alexandre
2914         Duret-Lutz.
2915         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
2916         Also, fix Tru64 porting problem with shell patterns,
2917         reported by Ralf Wildenhues.
2919 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2921         * doc/autoconf.texi (Subdirectories): Fix markup typos.
2923 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
2925         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
2927         Fix some more shell quoting problems.  Prompted by a bug report
2928         from Justace Clutter.
2929         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
2930         variable into diagnostic.  Make the diagnostic an error, not a warning,
2931         because we really don't support spaces and suchlike in dir names.
2932         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
2933         Don't worry about backslashes in srcdir; it can't happen now.
2934         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
2935         Simplify ac_optarg handling.
2936         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
2938 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
2940         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
2941         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
2942         * tests/atlocal.in: Propagate $EGREP and $SED.
2943         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
2944         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
2946         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
2947         that '\|' is not allowed in BREs; recommend using newline separated
2948         list of patterns instead of multiple -e options.
2950         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
2952         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
2954 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2956         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
2958 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
2960         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
2961         b, t, r, w commands require single space, while : cannot have any.
2962         (Special Shell Variables): Fix sed code this in the example.
2963         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
2964         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
2966         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
2967         expand to the empty list.  Don't use two pairs of m4_changequote,
2968         it's not necessary.
2970 2005-06-20  Derek Price  <derek@ximbiot.com>
2972         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
2974 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
2976         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
2977         * doc/autoconf.texi:
2978         Don't mention Solaris versions so much, if a
2979         problem is common to all extant versions of Solaris.  Say "SunOS
2980         4" instead of "SunOS" for SunOS 4.
2981         (awk): Mention more of the limitations of traditional Awk.
2982         (cat): Don't talk about cat -v.
2984 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
2986         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
2987         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
2988         but the implementation is entirely different and is designed
2989         to be compatible with glibc strverscmp.
2990         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
2992         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
2993         on Mac OS X 10.4 reported by Peter O'Gorman in:
2994         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
2995         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
2996         Use shell builtins rather than 'expr', to work around expr bug.
2998 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
3000         * doc/autoconf.texi: "filesystem" -> "file system".
3001         "behaviour" -> "behavior".
3002         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
3003         * lib/autoconf/general.m4: Omit blank after ":" sed command,
3004         as per POSIX.
3005         * lib/m4sugar/m4sh.m4: Likewise.
3006         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
3007         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
3009         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
3010         (.x.1): Ignore the time stamp in the .TH line when deciding whether
3011         to update the man page.  That way, we don't have to check in new
3012         man pages every month.
3014         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
3015         quotes and backslashes.  Patch from Derek Price.
3017 2005-06-10  Derek Price  <derek@ximbiot.com>
3019         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
3020         AS_TR_SH.
3022 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
3024         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
3025         -u, since it outputs chatter if the input files are the same.
3026         Problem reported by Ralf Menzel.
3028 2005-06-08  Derek Price  <derek@ximbiot.com>
3030         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
3031         renaming them since they are about to be redefined anyhow.
3033 2005-06-08  Derek Price  <derek@ximbiot.com>
3035         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
3036         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
3037         Move m4_undefine to alphabetical order.
3039 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
3041         * README: Recommend GNU M4 1.4.3 or later.
3042         * doc/autoconf.texi (Introduction): Likewise.
3043         Reword to avoid some formatting glitches.
3044         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
3045         Clarify explanation of HP compiler bug.
3046         Redo example output tp match current CVS snapshot.
3047         Use @example.org in email addresses when the examples
3048         might get inadvertently cut-and-pasted into user code.
3049         Remove example of autom4te usage that doesn't seem to work now.
3050         Use modern AC_INIT (except when the example is meant to be
3051         shown with Autoconf 2.13).
3052         Update ksh info for Solaris 9 and later.
3053         KB -> kB.
3054         Modernize description of Automake versions a bit.
3055         Don't claim a future version of Autoconf is near.
3056         * doc/install.texi: Reword to avoid some formatting glitches.
3058 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3060         * doc/autoconf.texi: Add [] to examples, so that the manual
3061         follows its own advice about quoting better.
3062         Reword to avoid some formatting glitches.
3063         * doc/installt.exi: Reword to avoid some formatting glitches.
3065         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
3066         Tru64 ksh pattern matching bug.  Reported against Libtool by
3067         Albert Chin <libtool@mlists.thewrittenword.com> and
3068         Nicolas Joly <njoly@pasteur.fr>.
3070 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
3072         m4_cdr of one-member list was [[]] (one-member list containing an
3073         empty string) instead of [] (an empty list.  Callers were skewed to
3074         match this misbehaviour.  As a consequence of this:
3075          - m4_foreach([x], [], [foo]) expanded to `foo', while
3076          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
3077         This bug has been fixed:
3079         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
3080           expand to an empty string; print error msg if called without
3081           an argument list.
3082         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
3083           misbehaviour; handle [] and [[]] correctly.
3085 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
3087         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
3088         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
3089           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
3091 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
3093         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
3094           swallow records with more than 99 fields.
3095         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
3096           parse the long line.
3098 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
3100         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
3101           swallow literals longer than 399.  Reported by Ralf Wildenhues.
3102         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
3103           to workaround this limitation.
3105 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
3107         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
3108         to gfortran, and make these the first two compiler names
3109         checked (following the general autoconf preference for gcc).
3111 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
3113         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
3114         (DISTCLEANFILES): Remove $(check_SCRIPTS).
3115         (testsuite): Make sure autotest.m4f is up-to-date before using it.
3117 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
3119         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
3120         expression of unbounded size when processing the --list
3121         option.  This runs afoul of a limit of 399 bytes per regular
3122         expression on AIX.  Problem reported by Ralf Wildenhues.
3124 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
3126         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
3127         * doc/autoconf.texi (Particular Headers): Reword example
3128         for multiline stdbool replacement.
3129         (Setting Output Variables): Reword text a bit.  Don't
3130         give all the details about |#_!!_#|.
3131         Reword description of line replacement.
3133 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
3135         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
3136         now contain newlines, and substituted files must be referenced on
3137         a line alone; the sed scripts to substitute them are now very
3138         different.
3139         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
3140         commands can be put in a sed script portably.
3141         * doc/autoconf.texi (Setting Output Variables): Document above
3142         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
3143         use of multiline substitution.
3144         * tests/torture.at: No longer expect substitution of newline to fail.
3146 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
3148         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
3149         From Ralf Menzel (trivial change).
3151 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
3153         * tests/local.at: Don't attempt to check for negated character
3154         classes in shell scripts.  The test was too brittle.
3156 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
3158         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
3159         * doc/autoconf.texi (Limitations of Builtins): Document this
3160           limitation.
3162 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
3164         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
3165           common code; used in many places in the tree.
3166         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
3167         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
3169         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
3171         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
3172           messages when ac_unique_file is not found.
3173         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
3174         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
3175           commands, for consistency with AC_MSG_ERROR and such.
3177         * bin/autoconf.as: Make more use of "shift 2" in option processing.
3179         * bin/Makefile.am: Merge the two rules for creating scripts.
3181 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
3183         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
3184         obsolete; it was never documented.
3185         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
3187 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
3189         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
3190         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
3191         (ac_top_builddir): ... this ...
3192         (ac_top_build_prefix): ... to this; the old name is also kept, for
3193           backward compatibility.
3194         (ac_top_builddir_sub): New variable, without the trailing slash,
3195           always nonempty.
3196         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
3197         * doc/autoconf.texi (Configuration Actions): Rename
3198           ac_top_builddir to ac_top_build_prefix.
3199         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
3200           at_top_builddir to at_top_build_prefix.
3201         * lib/autotest/general.m4 (AT_INIT): Likewise.
3203 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
3205         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
3206           of confdefs.h .
3208 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
3210         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
3211           argument to m4_foreach.  I guess it was necessary in the past,
3212           but I think it's a no-op now.
3214 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
3216         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
3217           ``cat <<_ACEOF'' commands to one.
3218         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
3219         * lib/autoconf/status.m4: On various places, use expr instead of
3220           ``echo|sed.''
3221         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
3222         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
3223         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
3224           a range.
3225         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
3226           the wrong patterns between ``case'' and ``esac.''  The previous
3227           code had false positives.
3229 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
3231         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
3232         as on 2005-05-02.
3233         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
3234         Mention LIBOBJDIR.
3236 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
3238         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
3239         ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
3240         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
3241         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
3242         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
3243         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
3244         config/config.guess, config/config.sub, config/elisp-comp,
3245         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
3246         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
3247         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
3248         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
3249         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
3250         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
3251         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
3252         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
3253         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
3254         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
3255         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
3256         lib/autoconf/general.m4, lib/autoconf/headers.m4,
3257         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3258         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
3259         lib/autoconf/specific.m4, lib/autoconf/status.m4,
3260         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
3261         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
3262         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
3263         lib/autotest/general.m4, lib/emacs/Makefile.am,
3264         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
3265         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
3266         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
3267         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
3268         tests/compile.at, tests/foreign.at, tests/fortran.at,
3269         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
3270         tests/semantics.at, tests/suite.at, tests/tools.at,
3271         tests/torture.at, tests/wrapper.as:
3272         Update FSF postal mail address.
3274 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
3276         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
3277           check.
3278         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
3279           enough arguments, similarly as in m4_bpatsubsts.
3281 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
3283         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
3284           of absolute paths.
3286 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
3288         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
3289           for absolute directory names in one loop.
3290         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
3291           abbreviations of --version and --debug.
3293 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3295         * doc/autoconf.texi (Autoconf Language): Be more precise about
3296         quoting rules.  Problems noted by Stepan Kasal.
3297         Also, throughout this document, be more careful about white space.
3298         "blank", "white space", and "space" all have different meanings
3299         and we should be careful to say what we mean.
3301 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
3303         Fix C++ related problems reported by Werner Lemberg.
3304         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
3305         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
3306         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
3307         avoid problems with C++ and throw.
3308         * tests/compile.at: .cpp, not .cc.
3310         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
3312 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3314         * doc/autoconf.texi (Generic Functions): Typos.
3316 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
3318         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
3319         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
3320         set by latest automake.
3322 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
3324         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
3325         outputs 0 on GNU/Linux these days.
3327 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
3329         * doc/autoconf.texi (Autoconf Language): Add more description
3330         about quoting heuristics.
3331         (Limitations of Builtins): Describe "set -" problems.
3333 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3335         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
3336         not newline.
3338         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
3339         by AC_DEFINE; it was a mistake.
3340         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
3342 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
3344         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
3346 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
3348         * doc/autoconf.texi (External Software): Quadrigraphs are not
3349           processed correctly in AS_HELP_STRING; avoid this in the examples.
3350         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
3351         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
3352           comment and reduce m4_default([foo], []) to [foo].
3353         (m4_strip): Update the explanation.
3355 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3357         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
3358         Remove core.conftest.* too; it's generated by Tru64 5.1.
3359         Problem reported by Jennis Pruett.
3360         * lib/autoconf/functions.m4
3361         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3362         Don't bother to remove core files; AC_RUN_IFELSE should do that
3363         for you.
3365 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
3367         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
3369 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
3371         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
3372         Report from Horst Wente.
3374 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
3376         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
3377           the comment.
3379 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
3381         * doc/autoconf.texi (External Software, Package Options): Add
3382           examples showing how to implement --with-* and --enable-* options.
3384 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
3386         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
3387         as well as configure.in.  Problem reported by Gregorio Guidi.
3389 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
3391         * doc/autoconf.texi (Particular Functions): Use gnulib's current
3392         pattern for alloca snippet.
3394 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
3396         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
3398 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
3400         * doc/autoconf.texi (Generic Programs): Fix a typo.
3402 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
3404         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
3405         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
3407 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3409         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
3410         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
3411         whole-archive (-zallextract, -zdefaultextract) options in the hope of
3412         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
3413         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
3415 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
3417         * NEWS: The configure command now warns you if you attempt to use
3418         a directory whose name contains a special character like space,
3419         newline, or "\".
3420         * doc/autoconf.texi (Installation Directory Variables): Allow
3421         "," in file names.  Do not use \@; it's not a portable regexp.
3422         * bin/Makefile.am (edit): Likewise.
3423         * lib/Makefile.am (edit): Likewise.
3424         * tests/Makefile.am (edit): Likewise.
3425         * tests/semantics.at: Likewise.
3426         * tests/torture.at: Likewise.
3427         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
3428         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
3429         * doc/autoconf.texi (File System Conventions): Warn about
3430         unportable file names.
3431         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
3432         (AC_INIT): Use it.
3433         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
3434         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
3435         ac_pwd, and quote srcdir.
3436         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
3438         * doc/autoconf.texi: Fix some systematic formatting problems.
3439         ".)"  needs a following @: if not at the end of a sentence, and
3440         similarly for "!)".  "etc." should be preceded by a comma.
3441         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
3443 2005-03-22  Bruno Haible  <bruno@clisp.org>
3445         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
3446         argument is often called 'build-aux'.
3448 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
3450         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
3451           macro AC_TRY_LINK is obsolete.
3452         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
3453           `AC_CONFIG_FILES'.
3455 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
3457         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
3458           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
3459           from a Common Lisp's `cl'.
3460         (AC_PROG_CXX): Behave according to the documentation: don't
3461           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
3462           make the variable CCC precious; use `cl.exe', not `cl'.
3464 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
3465             Alexandre Duret-Lutz  <adl@gnu.org>
3467         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
3468         /dev/null, as "configure" shouldn't read stdin, and this insulates
3469         us from problems (e.g., when testing for "cl").  Also, do this
3470         redirection before invoking "hostname" or "uname", and keep the
3471         original input stream available via...
3472         (AS_ORIGINAL_STDIN_FD): ... this new macro.
3473         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
3474         bother with "</dev/null" since it's now done at the top of
3475         'configure'.
3476         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
3477         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3478         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3479         * doc/autoconf.texi (File Descriptor Macros): New section.
3480         (Printing Messages): Mention it.
3481         * tests/base.at (Input/Output): New test.
3483 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
3485         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
3486         newline if neither \c nor -n work, as that would output two
3487         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
3489 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
3491         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
3492         This causes that any required macros inside will get before the if.
3493         * doc/autoconf.texi (autom4te.cache): A typo.
3495 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
3497         Undo previous change, except keep the change to
3498         lib/autoconf/programs.m4 that replaced grep with shell
3499         pattern-matching.  This is because net-snmp configure reads stdin.
3500         Reported by Noah Misch.
3502 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
3504         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
3505         from /dev/null, as "configure" shouldn't read stdin, and this
3506         insulates us from problems (e.g., when testing for "cl").
3507         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
3508         before invoking "hostname" or "uname".
3509         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3510         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
3511         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
3512         "</dev/null" since it's now done at the top of 'configure'.
3513         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3514         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3515         Also, replace grep with shell pattern-matching, to save a process.
3517 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
3519         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3520         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
3521         avoid thinking that Allegro Common Lisp's "cl" command is a C++
3522         compiler.
3524 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
3526         * doc/autoconf.texi (Limitations of Usual Tools): Document that
3527         grep -q isn't portable.  Improve grep -s explanation.
3528         Problem reported by Dan Manthey.
3530 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
3532         * doc/autoconf.texi (Special Shell Variables): Clarify
3533         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
3535 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3537         * doc/autoconf.texi: Use @acronym for DJGPP.
3538         Fix some @code's that should have been @env's, and vice versa.
3539         Sort environment variable names.
3540         Mention that shells no longer inherit IFS.
3541         Don't recommend PATH_SEPARATOR=';' so strongly.
3542         Mention that $RANDOM might expand to the empty string.
3543         "symlink" and "soft link" -> "symbolic link".
3544         Improve mktemp description (reported by Bruno Haible).
3546 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
3548         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
3549         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
3550         Likewise.
3551         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
3552         Likewise.
3554 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
3556         * NEWS: Mention AT_COPYRIGHT.
3558         * tests/local.at (AT_CMP): Use diff directly on input files rather
3559         than copying them.
3561         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
3562         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
3564 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
3565         and Paul Eggert  <eggert@cs.ucla.edu>
3567         * tests/autotest.at (Empty test suite): New test.
3568         * tests/torture.at (Substitute and define special characters)
3569         (Substitute a 2000-byte string, Define to a 2000-byte string)
3570         (Substitute a newline, Define a newline): New tests.
3572 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
3574         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
3575         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
3576         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
3577         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
3578         (Standard regular expressions): New test.
3579         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
3580         excess test name quoting.
3581         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
3582         CPPFLAGS to `configure' instead of setting it in `configure'.
3584         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
3585         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
3586         on some platforms.
3588         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
3589         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
3591         * tests/local.at (AT_CMP): New macro.
3592         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
3593         (AC_SAVE_STATE): Move environment grep...
3594         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
3595         (AT_CONFIG_CMP): New macro.
3596         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
3597         * tests/c.at (Extensions): Do not exit early.
3598         * tests/atlocal.in: Inherit $GREP.
3600         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
3601         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
3603         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
3604         (AC_COPYRIGHT): Factor header comment portion out and move into...
3605         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
3606         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
3607         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
3608         --version output.
3609         * tests/local.at: Add Autoconf test suite copyright notice.
3610         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
3612 2005-02-04  Bruno Haible  <bruno@clisp.org>
3613         and Paul Eggert  <eggert@cs.ucla.edu>
3615         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
3617 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
3619         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
3620         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
3622         Try not to generated lines of unlimited length, as POSIX places a
3623         2047-byte limit on line length of portable text files.
3624         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
3625         Use newline as a separator, not space.
3626         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
3627         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
3628         space.
3630 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3632         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
3633         as_func_*.  Add test to check whether positional parameters
3634         are restored after function return.
3636 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
3638         * doc/autoconf.texi (Special Shell Variables): Mention _,
3639         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
3640         if they contain a lower-case letter.  The DUALCASE problem was
3641         reported by Ralf Wildenhues.
3643         * bin/autoconf.as: Don't exit with status 0 after write failure
3644         with --help or --version.
3645         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
3646         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
3648 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3650         * doc/autoconf.texi (Limitations of Usual Tools):
3651         Unicos 9 sed limitations.
3652         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
3653         to get the option-enhanced interface on older Crays.  Try ftn for
3654         Fortran 95 (newer Crays).
3656 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
3658         * man/Makefile.am (.x.1): Go back to the simple solution, but take
3659         care to echo the commands, so the user knows what's going on.
3660         Modified from a suggestion by Stepan Kasal.
3662         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
3663         with a cross reference.  Derived from a suggestion by Bruce Korb.
3665 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
3667         * doc/autoconf.texi (config.status Invocation): Warn about
3668         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
3669         * doc/install.texi (Defining Variables): Likewise.
3670         Based on a proposed patch by Ralf Wildenhues.
3672         * man/Makefile.am (.x.1): Make sure the required generated files
3673         are up to date.  Problem and original solution proposed by Stepan Kasal.
3674         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
3675         implicit-man-prerequisites): New rules, used by the above.
3677         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
3678         * config/config.guess, config/config.sub, config/install-sh: Likewise.
3679         * config/missing, config/texinfo.tex: Likewise.
3681 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
3683         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
3684         Update the long comment explaining it.
3686         m4_require no longer writes an ``is required by'' line to the
3687         execution stack.  It contains only one bit of non-redundant
3688         information: that the macro was required, not called.  And even
3689         this bit is useless in most situations: have you ever met a macro
3690         which both calls and requires the same macro?
3692         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
3693         (_m4_defun_pro_outer): ... only via this macro, for the outermost
3694           macro.
3695         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
3696         (m4_expansion_stack_pop): Remove the misplaced comment.
3697         (m4_require): Don't put the ``is required by'' line to the
3698           execution stack; slightly improve the out-of-a-defun error message.
3699         (_m4_divert_grow): New macro, counter for the temporary diversions.
3700         (_m4_require_call): Use it.
3701         * tests/m4sugar.at (m4_require): Expect output without the
3702           ``is required by'' messages.
3704 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
3706         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
3707         rather than x for expr.
3709         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
3710         this is safe.
3711         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
3712         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3713         * lib/autotest/general.m4 (AT_INIT): Likewise.
3714         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
3715         * tests/mktests.sh: Likewise.
3717 2005-01-27  Akim Demaille  <akim@epita.fr>
3719         Have autoheader honor --force.
3721         * doc/make-stds.texi, doc/standards.texi: Update from masters.
3722         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
3723         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
3724         from masters, so that FileUtils.pm's update_file provide --force
3725         support.
3726         * bin/autoheader.in: Pass $force to update_file so that
3727         config.h.in is always recreated when --force.
3729 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
3731         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
3733 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
3735         * doc/autoconf.texi (Limitations of Builtins): Clarify that
3736         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
3738 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
3740         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
3741         Warn about newline stripping in `` and $().  Update Solaris
3742         version to 9.
3743         (Limitations of Builtins): Use expr "X...", not expr "x...", as
3744         X insulates us from future changes to Posix.
3745         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
3746         stripping.
3748 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
3750         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
3751           you cannot use AC_DEFINE to define macros containing `[' or `]'.
3753 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
3755         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
3756         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
3757         bug-tar mailing list.
3759 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
3761         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
3763 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
3765         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
3766         ulongval to be static, to avoid unwanted GCC warning.  Problem
3767         reported by Michael Jennings via Daniel Reed; see
3768         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
3770 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
3772         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
3773         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
3774         datadir, infodir, and mandir.  Adjust argument parsing code.
3775         (_AC_INIT_HELP): Update help text.
3776         * doc/autoconf.texi (Installation Directory Variables): Document
3777         new variables.
3779 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
3781         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
3782         not seem to work, assume it does set $(MAKE).
3783         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
3785 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
3787         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
3789 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
3791         A cleanup of the diversion support in m4sugar.
3793         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
3794         (_m4_divert_n_stack): New macro; the expansion is
3795           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
3796           otherwise.
3797         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
3798         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
3799           stored in _m4_divert_diversion or _m4_divert_dump.
3800         (m4_divert_pop): When the parameter is given, compare the symbolic
3801           name with the last diversion pushed on the stack.  Previously, the
3802           current diversion was compared with the numeric value of the
3803           diversion given as the parameter.
3804         (m4_require): If the macro hasn't been expanded yet, call ...
3805         (_m4_require_call): this new macro.
3807 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3809         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
3810         Workarounds for documented `case' limitations.
3812 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
3814         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
3815         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
3817 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
3819         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
3820         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
3821         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
3823         Patch from Roger Leigh (with some minor changes) as follows:
3824         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
3825         Resurrect AC_PROG_CC_STDC.
3826         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
3827         AC_PROG_CC_C89, AC_PROG_CC_C99.
3828         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
3829         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
3830         AC_PROG_CC_C99): New macros.
3831         (AC_PROG_CC_STDC): Use them.
3832         (_AC_PROG_CC_STDC): Remove.
3833         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
3834         * THANKS: Add Roger Leigh.
3836 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
3838         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
3839         signals that the package uses Automake; a `Makefile.am' is typical but
3840         not essential.  Reported by Magnus Therning.
3841         * tests/torture.at (autoreconf.): New banner.
3842         (autoreconf and non-AC configure): Rename to `Non-Autoconf
3843         AC_CONFIG_SUBDIRS'.
3844         (autoreconf an empty directory): Rename to `Empty directory'.
3845         (Unusual Automake input files): New test.
3847 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
3849         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
3850         (AT_SETUP): Clear AT_capture_files.
3851         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
3852         (AT_KEYWORDS): Fix comment typo.
3853         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
3854         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
3855         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
3857 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
3859         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
3860         If the variable to set is already set, set ac_cv_path_$1
3861         to the preset value so caller can assume ac_cv_path_$1
3862         is available.  (trivial change)
3864 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
3866         * BUGS (Minor Problems): Warn about makefile limitations.
3867         * Makefile.am: Find and update `INSTALL' in $(srcdir).
3868         * man/Makefile.am: Find and update manual pages in $(srcdir).
3870 2004-12-24  Eric Blake  <ebb9@byu.net>
3872         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
3873         shells in subshell, to avoid noise from ash.  (trivial change)
3875 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3877         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
3878         problems with SunOS ksh and backslash escaping, Bourne shells and
3879         closing brackets (both within character classes).  Bug reported
3880         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
3881         <read>: New entry.  Mention non-availability of -r.
3883 2004-12-21  Akim Demaille  <akim@epita.fr>
3885         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
3886         avoid cluttering displayed messages.  Rather, prepend srcdir where
3887         AT_LINE is used for log files.
3889 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
3891         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
3892         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
3893           no longer part of the macro, quote the occurrence of ``$tmp''.
3894         * doc/autoconf.texi (Forbidden Patterns): Typo.
3896 2004-12-21  Akim Demaille  <akim@epita.fr>
3898         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
3899         separated from the test title by forcing a white space.
3901 2004-12-21  Akim Demaille  <akim@epita.fr>
3903         Enable Emacs navigation within testsuite.log files.
3905         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
3906         use the compilation mode.
3907         (AT_LINE): Point to the srcdir.
3909 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
3911         * tests/Makefile.am (installcheck-local): Use $(bindir).
3912         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
3913         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
3914         Makefile.am scheme Autoconf now uses.
3916 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
3918         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
3919         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
3921 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
3923         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
3924         (_AT_CHECK): Use it.
3925         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
3926         (AS_ESCAPE): Fix comment.
3927         * tests/autotest.at: Adjust section banner comments.
3928         (AT_CHECK_AT): Accept STATUS and STDERR.
3929         (AT_CHECK_AT_TEST): Likewise.
3930         (Invalid brace-enclosed parameter expansion)
3931         (Multiline command from M4 expansion)
3932         (Double-M4-quoted command): New tests.
3934 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
3936         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
3938 2004-12-17  Akim Demaille  <akim@epita.fr>
3940         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
3941         m4_pattern_allow.
3942         Suggested by Alexandre Duret-Lutz.
3943         * doc/autoconf.texi (Setting Output Variables): Catch up.
3945 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
3947         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
3949 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
3951         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
3952           remove the comment which said we cannot.
3954 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
3956         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
3957         Reini Urban and Paul Eggert for reporting the dependencies.
3959         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
3960         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
3961         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
3963 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
3965         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
3966           so that eg. ``autoscan --help'' doesn't truncate it.
3968 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
3970         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3971         generated conftest files.
3973 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
3975         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
3976         tracing on commands with possibly-escaped newlines.
3977         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
3978         discontinued behavior and its implications.
3979         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
3980         (BSx641-newline in command, BS-BS-newline in command)
3981         (BSx640-newline in command, Newline-CODE-BS-newline in command)
3982         (Single-quote-BS-newline in command)
3983         (Single-quote-newline-BS-newline in command): New tests.
3985 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
3987         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
3988           on platforms where it works.
3989         (_AS_TEST_PREPARE): Test for ``test -x''.
3990         (_AS_BROKEN_TEST_PREPARE): Nuke.
3992 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
3994         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
3995         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
3996           give only 4-letter prefix to AS_TMPDIR, comment fixed.
3997         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
3998           create the temporary directory.
3999         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
4001 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
4003         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
4004         (trivial change)
4006 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
4008         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
4010 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
4012         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
4013         to avoid using a negated character class.  Reported by Nicolas Joly.
4014         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
4016 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4018         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
4019         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
4020         Don't depend on .x file explicitly, since "make" does that for us.
4021         Suggested by Stepan Kasal.
4023         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
4024         Add *.tmp.
4025         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
4026         ifnames): Factor common code.  And they said it couldn't be done!
4028 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
4030         * bin/.cvsignore: Add autoconf.in.
4031         * tests/.cvsignore: Add wrapper.in.
4032         * lib/autotest/general.m4: Escape '$' in case pattern.
4034 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
4036         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
4038         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
4040         * tests/autotest.at: New file.
4041         * tests/suite.at: Include it.
4042         * tests/Makefile.am: Distribute it.
4044         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
4045           shell tracing on a command that could contain multiple lines.
4046         * doc/autoconf.text: Document that fact and its implications.
4047         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
4048         * tests/autotest.at (Multiline backquote command substitution,
4049           Multiline parameter expansion, Literal multiline command,
4050           Multiline parenthetical command substitution): Remove XFAIL.
4052 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
4054         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
4055         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
4057 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
4059         * configure.ac (test suite): Cease to generate wrapper scripts.
4060         * configure: Regenerate.
4061         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
4062         (m4f_dependencies): Adjust accordingly.
4063         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
4064         (wrapper.in): Generate it in the build directory.
4065         (MAINTAINERCLEANFILES): Delete wrapper.in.
4066         (CLEANFILES): Add wrapper.in.
4067         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
4068         the output.  Replace each $as_me with a @wrap_program@.
4069         * tests/wrapper.in: Delete it; we always build it.
4071         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
4072         (EXTRA_DIST): Remove autoconf.in.
4073         (CLEANFILES): Add autoconf.in.
4074         (autoconf): Find autoconf.in in the build directory.
4075         * bin/autoconf.in: Delete it; we always build it.
4077 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
4079         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
4080         PATH members so as to not prepend an empty element.  Move a comment.
4081         * Makefile.am (SUBDIRS): Build in `tests' last.
4082         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
4084 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
4086         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
4087         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
4088         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
4089         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
4091 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
4093         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
4094         patch: extra "-l"s.
4096 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
4098         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
4099         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
4100         * doc/autoconf.texi (Particular Functions): Mention new behavior.
4102 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
4104         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
4105           out the common code to ...
4106         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
4107           value of the #define--default to 1, iff the macro was called
4108           with exactly one parameter.
4110 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
4112         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
4113         "char c = '\200';" rather than "char c = 0x80;" as the
4114         latter doesn't conform to the strict C standard due to
4115         overflow on signed char hosts.
4117         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
4118         to -qlanglvl=ansi.  We don't want to disable extensions.
4120 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
4122         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
4123         (Using Autotest, testsuite Scripts, Writing testsuite.at):
4124         Reword slightly to avoid some English-language problems noted
4125         by Ralf Wildenhues in:
4126         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
4128 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
4130         * NEWS: Add ^L above each release.
4132 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
4134         Fix documentation problems reported by Russ Boylan in
4135         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
4136         along with some nearby cruft.
4137         * doc/autoconf.texi (Libtool): Libtool can be used without
4138         Automake (not without Autoconf).
4139         (Introduction): Mention lists.gnu.org.
4140         * BUGS: Don't mention bugs.gnu.org.
4141         Remove mention of ancient libtool compatibility problem.
4142         * NEWS: Mention that bugs.gnu.org is kaput.
4143         * README: Likewise.  Mention where mailing list archives can be found.
4145 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
4147         * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
4148         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
4150 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
4152         * doc/autoconf.texi (Pretty Help Strings): Go back to
4153         single-quoting assignments to cache variables.
4155 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
4157         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
4158         with the examples; fix the bug in MY_ARG_WITH example reported
4159         by Alexandre Duret-Lutz.
4160         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
4161         expansion of $1 in the comment emitted to configure.
4163 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
4165         * doc/autoconf.texi (Pretty Help Strings): Fix typo
4166         in my editing of the previous patch.  Problem reported
4167         by Alexandre Duret-Lutz.
4169 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
4171         * doc/autoconf.texi (Autoconf Language): Explain that
4172         ``descriptions'' may not be double quotes.
4173         (Quotation Rule Of Thumb): Likewise.
4174         (Pretty Help Strings): Likewise; remove the wrong comment;
4175         simplify the examples and improve their quoting.
4177 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
4179         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
4180         the $1_found variable, don't test whether the file is executable;
4181         Both things are checked ...
4182         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
4183         the former ``test -f''.
4184         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
4186 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
4188         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
4189         use cp -R instead.
4191 2004-11-10  Derek R. Price  <derek@ximbiot.com>
4193         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
4194         limitations.  Reorder paragraphs for clarity.
4196 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
4198         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
4199         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
4200         variants", "Unix", and some related minor wording fixups.
4202         (Shellology, Special Shell Variables): Document that the Zsh
4203         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
4204         to Alexandre Duret-Lutz for this info.
4206 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
4208         * doc/autoconf.texi (One-Shot Macros): New node.
4210 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
4212         * doc/autoconf.texi (Function Portability): Fix misdescription
4213         of putenv.  Problem reported by Michael Wardle.
4215 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
4217         * doc/autoconf.texi (auindex): New macro.
4218         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
4219         Problem reported by Stepan Kasal.
4221 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
4223         Fix problems reported by Andreas Buening in:
4224         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
4225         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
4226         in test makefile.
4227         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
4228         readable; it's not true in OS/2-emx.
4230 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
4232         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
4233         "/usr/include", clear ac_x_includes instead of leaving it as "no"
4234         (trivial change).  Problem and patch reported by Andrew Church in:
4235         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
4237 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
4239         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
4240         three args in examples.  Problem reported by Frederik Fouvry in:
4241         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
4242         Also, fix some minor spacing and punctuation bugs.
4244 2004-09-02  Akim Demaille  <akim@epita.fr>
4246         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
4247         "case" to restore ordering.
4248         Reported by Stepan Kasal.
4250 2004-08-26  Akim Demaille  <akim@epita.fr>
4252         * doc/autoconf.texi: Minor typos and stylos.
4254 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
4256         * configure.ac (AC_INIT): Bump to 2.59c.
4258 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
4260         Version 2.59b.
4262         * README: Add advice about m4 1.4.2.
4264         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
4265         texinfo.tex for now (done by hand now).
4266         * Makefile.maint (wget_files, cvs_files):
4267         Remove ansi2knr.c; nobody uses it.
4268         (ansi2knr.c-url_prefix): Remove.
4269         (cvs-update): Fix test for failure.  I don't know why it ever
4270         worked...
4272         * doc/autoconf.texi: Update URLs, some of which went stale.
4273         Use @uref rather than @href.
4275         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
4276         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
4278         * config/config.guess, config/config.sub, config/elisp-comp,
4279         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
4280         doc/fdl.texi, doc/standards.texi: Sync with master copy.
4282         * NEWS, TODO, configure.ac, bin/autoscan.in,
4283         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
4284         doc/install.texi, lib/Autom4te/Configure_ac.pm,
4285         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
4286         lib/autoconf/programs.m4, lib/autoconf/status.m4,
4287         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
4288         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
4289         tests/tools.at, tests/torture.at:
4290         Use "file name" rather than "filename" or "path",
4291         to be consistent with the terminology of the GNU coding standards.
4293 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
4295         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
4296         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
4297         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
4298         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
4300         More fixes to support spaces in the name of the build directory.
4301         This isn't a complete fix but it's an improvement.
4303         * bin/autoconf.as (autom4te_options): New var.
4304         Use it instead of appending to AUTOM4TE, so that we can allow
4305         spaces in the build directory's absolute name.
4306         * bin/autoheader.in ($autoconf): Allow spaces in file names.
4307         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
4308         AT_CHECK_NOESCAPE): Likewise.
4309         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
4310         main program): Likewise.
4312 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
4314         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
4315         From Ralf Corsepius in:
4316         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
4318 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
4320         * doc/autoconf.texi (Function Portability): Document isinf and
4321         and isnan.  From a suggestion by Kevin Ryde.
4323         * lib/Autom4te/General.pm (END): Return correct exit status even
4324         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
4326 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
4328         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
4329         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
4330         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
4332 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
4334         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
4335         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
4336         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
4337         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
4338         * lib/autom4te.in (Automake-preselections): Preselect
4339         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
4341 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
4343         * lib/autom4te.in (Automake-preselections): Preselect
4344         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
4345         trace them.
4347 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
4349         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
4350         Tru64.
4351         * doc/autoconf.texi (Shellology): Mention BIN_SH.
4352         Document problem with "`""`" in pdksh POSIX mode.
4354 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
4356         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
4357         with pdksh, too.  Problem reported by Patrick Welche via
4358         Gary V. Vaughan.
4359         * doc/autoconf.texi (Shellology): Note that set -o posix is
4360         useful for pkdsh, too.
4362 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
4364         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
4365         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
4366         Don't fail if ENV or BASH_ENV is readonly.
4367         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
4368         etc. are read only.  Problem reported by Ludovic Courtes.
4370 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
4372         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
4373         zsh, disable GLOB_SUBST to avoid backslash handling problems.
4374         (trivial change)
4376 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
4378         * doc/autoconf.texi (File System Conventions): Warn about
4379         names like "aux".  Problem reported by Eric Blake.
4381         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
4382         by zero instead of array size, so that we can use any arithmetic
4383         constant expression (instead of requiring an integer constant
4384         expression).  This allows us to test expressions like DBL_MAX <
4385         LDBL_MAX, which didn't conform to the C standard using the old
4386         method.
4387         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
4388         now that we can do floating-point tests at compile time.
4390 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
4392         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
4393         and LDBL_EPSILON, as the resulting expression isn't an
4394         integer constant expression and violates the C standard.
4395         Problem reported by Nelson H. F. Beebe.  Also, check
4396         for "L" suffix, and check that long double doesn't have
4397         worse range or precision than double, that mixed-mode
4398         arithmetic doesn't generate a diagnostic, that double
4399         constants fit in long double.
4401 2004-06-03  Kevin Ryde  <user42@zip.com.au>
4403         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
4404         malloc(0) and realloc(NULL,size).
4406         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
4407         Bob Proulx.
4409 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
4411         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
4412         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
4413         by Jim Meyering.
4415 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
4417         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
4418         can be rewritten using if-then-else.  Suggested by Bruno Haible.
4420 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
4422         * doc/autoconf.texi (testsuite Scripts): Fix typo.
4423         Problem reported by Stepan Kasal.
4425 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
4427         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
4428         change).  Patch reported by Ralf Wildenhues in
4429         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
4431         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
4432         function F exists if the compiler and linker let you compile an
4433         expression like (F != 0).  Recent versions of GCC optimize away
4434         the reference to F in that case, since every function address must
4435         be nonzero, so the link succeeds even if F does not exist.
4436         Problem reported by Manu in
4437         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
4439         * doc/autoconf.texi (Systemology): Standardize on the spelling of
4440         "Unix".  Many uses changed.
4441         (Limitations of Builtins): Explain better why the ! command isn't
4442         portable.
4444 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
4446         * lib/autom4te.in (Automake-preselections): Preselect
4447         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
4449 2004-05-19  Kevin Ryde  <user42@zip.com.au>
4451         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
4452         referencing AC_FUNC_STRERROR_R.
4454         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
4455         note pessimistic assumption when cross compiling.
4457 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
4459         * doc/autoconf.texi (Limitations of Make): Note that BSD make
4460         (until 2004) invoked subcommands with sh -e, contra POSIX.
4461         Reported by Kevin Ryde.
4463 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
4465         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
4466         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
4467         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
4468         `test -f "        /usr/bin/grep"', which _always_ failed.
4469         (AC_PROG_SED): Ditto bogus PATH fix.
4470         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
4471         requires that grep correctly supports _multiple_ `-e' options, rather
4472         than stating only that grep should accept `-e'.
4474 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
4476         Port to C99, which requires that 'exit' be declared.
4478         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
4479         to ensure that stdlib.h is included.
4480         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
4481         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
4482         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4483         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4484         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4485         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
4486         when using 'exit' in a test; C99 requires that 'exit' be declared.
4488 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
4490         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
4491         now prefers 'grep' implementations that accept -e.
4492         (Limitations of Usual Tools): Describe problems of traditional
4493         egrep and fgrep with long input lines, and of traditional grep
4494         with -e.
4495         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
4496         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
4497         All callers changed.  Append /usr/xpg4/bin to the PATH, for
4498         Solaris.
4499         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
4500         the user with complaints about multiple -e options.
4501         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
4502         Define it with AC_PROG_GREP.
4503         * configure.ac (AC_PROG_GREP): Add.
4504         * lib/freeze.mk (GREP): New macro.
4506 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
4508         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
4509         a possible candidate only after all others fail, rather than
4510         consulting it first.  This improves backward compatibility by
4511         better reflecting the way shell selection occurred in previous
4512         versions of Autoconf, and should help to avoid triggering latent
4513         problems in other packages, such as the one in Automake where zsh
4514         is not handled robustly:
4515         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
4516         Although it is not Autoconf's responsibility to work around
4517         problems in Automake, it nevertheless makes sense to avoid
4518         introducing unnecessary incompatibilites.
4520 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
4521             Gary V. Vaughan  <gary@gnu.org>
4523         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
4524         how deeply nested we are when a suitable tool is found, set the
4525         ac_path_TOOL_found flag.
4526         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
4527         nested we are in this macro.  Break out of all 3 nested loops if
4528         ac_path_TOOL_found is set.
4530 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
4532         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
4533         of the _AS_PATH_WALK loop too if GNU flavor is found.
4535 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
4537         * doc/autoconf.texi (Limitations of Make): Update documentation
4538         for `$<'.  New entry `Long lines', based on a report from Simon
4539         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
4540         paragraph about DJGPP, based on a mail from Richard Dawe.
4542 2004-04-20  Paul Eggert  <eggert@twinsun.com>
4544         * tests/c.at (C keywords): Don't assume that GCC supports
4545         "restrict" and "inline", as sufficiently-old GCC versions do not
4546         (also, GCC configured to be in pedantic C89 mode does not).
4547         Problem reported by Sumit Pandya in:
4548         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
4550         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
4551         consider -g to work if it generates warnings when plain compiles
4552         don't.  Problem reported by Braden McDaniel in:
4553         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
4555         * doc/autoconf.texi (Slashes): New section, to document a problem
4556         reported by Jim Meyering in:
4557         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
4559         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
4560         linker output files before linking, to work around IRIX 6 linker bug.
4561         Problem reported by Rainer Orth in:
4562         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
4564 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
4566         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
4567         best tool so far counter rely on the tool path variable name to
4568         avoid checks for one tool being affected by the results of running
4569         the length check on a previous tool.
4571         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
4572         match expression argument, as different greps have different
4573         regular expression flavours.
4574         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
4575         literals.
4576         (AC_PROG_EGREP): Pass 'EGREP$'.
4577         (AC_PROG_GREP): Pass 'GREP$'.
4579 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
4581         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
4582         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
4584 2004-03-29  Paul Eggert  <eggert@twinsun.com>
4586         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
4587         Types, Specific Compiler Characteristics, System Services,
4588         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
4589         etc. consistently instead of 'long', 'short', 'unsigned' etc.
4590         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
4591         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
4592         Likewise.
4593         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
4594         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
4595         AC_TYPE_OFF_T): Likewise.
4596         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
4597         Likewise.
4599         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
4600         pacify libtool 1.5.2.  Fix quoting problems in sed command.
4602 2004-03-28  Paul Eggert  <eggert@twinsun.com>
4604         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
4605         now defines HAVE_DECL_TZNAME if it is declared, when
4606         HAVE_STRUCT_TM_TM_ZONE is not defined.
4607         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
4608         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
4609         for HAVE_TZNAME.
4611 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
4613         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
4614         superfluous backslashing of quotes (") in sed expressions;
4615         thanks to Paul Eggert.
4617 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
4619         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
4620         Fortran compiler is ifort, also added pghpf; thanks to Nelson
4621         H. F. Beebe for the bug report.
4623 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
4625         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
4626         quoted -cmdline argument in Portland Group compiler (bug
4627         reported by Jeffrey J. Barteet).
4629 2004-03-25  Kevin Ryde  <user42@zip.com.au>
4631         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
4632         (Run Time): ... here, where it's now mentioned.
4634 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
4636         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
4637         inherits from language Autoconf-without-aclocal-m4.
4638         (Customizing autom4te): Adjust example; the cache must now be
4639         disabled for language Autoconf-without-aclocal-m4.
4641 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
4642             Nathanael Nerode  <neroden@twcny.rr.com>
4644         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
4645         AC_CHECK_TOOLS): Warn if a cross-tool is found without
4646         a prefix.
4647         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
4648         AC_CHECK_TARGET_TOOLS): New macros.
4649         * doc/autoconf.texi (Generic Programs): Document
4650         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
4651         AC_CHECK_TARGET_TOOLS, and warn for future changes
4652         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
4653         AC_CHECK_TOOLS.
4654         (Specifying Names): Document the reason for these future
4655         behavioral changes.
4656         * tests/mktests.sh: Do not generate tests for the
4657         new macros.
4658         * NEWS: Document these changes.
4660         * doc/autoconf.texi: Avoid macros with unbraced arguments,
4661         they make TeX hang up.
4663 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
4665         * NEWS: New macro AC_CHECK_ALIGNOF.
4666         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
4667         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
4668         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
4669         vowel.
4670         (AC_CHECK_ALIGNOF): New macro.
4671         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
4672         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
4673         those for sizeof.
4675 2004-03-03  Paul Eggert  <eggert@twinsun.com>
4677         * bin/Makefile.am (edit): Don't use $< in a context where
4678         POSIX doesn't require support for it.  Use $@.in instead.
4679         Problem reported by Anthony N. Frasso in
4680         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
4681         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
4683 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
4685         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
4686         from the next generation of Libtool.
4687         * lib/autom4te.in (Autoreconf-preselections): Ditto.
4689 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
4691         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
4692         is not always thread-safe.  Report from Nathanael Nerode.
4694 2004-02-18  Paul Eggert  <eggert@twinsun.com>
4696         Fix a dependencies problem, stemming from a Autoconf 2.59 build
4697         problem on QNX reported by Stephen Rasku in
4698         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
4700         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
4701         $(m4sh_m4f_dependencies); this removes a FIXME.
4702         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
4703         (MAINTAINERCLEANFILES): Split into pieces,
4704         one per related section.  Add $(srcdir)/wrapper.in.
4706 2004-02-09  Paul Eggert  <eggert@twinsun.com>
4708         * doc/autoconf.texi (Setting Output Variables): Emphasize that
4709         AC_SUBST provides no portable way to escape literal newlines.
4711         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
4712         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
4713         Darwin uses -lcrt2.o and there's little point to cataloging all
4714         the system variants.  Partial fix reported by Andreas Waechter in:
4715         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
4716         for bug reported by Nelson H. F. Beebe in:
4717         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
4719 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
4721         * doc/autoconf.texi (AU_DEFUN): Fix English,
4722         suggested by Paul Eggert.
4723         * lib/autoconf/autoupdate.m4: Correct reference to
4724         acobsolete.m4, suggested by Alexandre Duret-Lutz.
4726 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
4728         * bin/autoupdate.in: Define __file__ so that warnings
4729         refer to the correct file.
4730         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
4731         the behavior of the third argument.
4732         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
4733         correctly the behavior of the third argument.  Document
4734         what the three macros that AU_DEFUN defines do.  Fix
4735         warning message when the third argument includes $0
4736         (reported by Alexandre Duret-Lutz).
4738 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
4739             Eric Sunshine  <sunshine@sunshineco.com>
4740             Paul Eggert  <eggert@twinsun.com>
4742         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
4743         (AS_INIT): Output shell initialization there. Removed optional
4744         parameter. Expand _AS_SHELL_FN_SPY.
4745         (AS_INIT_WITH_SHELL_FN): Removed.
4746         (_AS_SHELL_FN_SPY): New macro.
4747         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
4748         macros.
4749         (AS_SHELL_SANITIZE): Remove loop to find better shell
4750         and documentation for the parameter.
4751         (_AS_DETECT_BETTER_SHELL): Move it here.
4752         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
4753         (_AS_RUN): Move it here, support testing with eval.
4754         (AS_REQUIRE_SHELL_FN): Require shell functions when
4755         it is used.
4756         (_AS_LINENO_WORKS): Put around braces, we do not
4757         trigger the bash bug anymore.
4758         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
4759         use AS_INIT_WITH_SHELL_FN.
4760         * bin/autoconf.in, tests/wrapper.in: Regenerated.
4762 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
4764         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
4765         * doc/autoconf.texi: Don't say that the third parameter
4766         is broken.
4767         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
4768         (AU_DEFUN): Honor the third parameter, create autoupdate
4769         macros with AU_DEFINE.
4770         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
4771         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
4772         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4773         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
4774         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
4775         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
4776         AC_XENIX_DIR): Likewise.
4777         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
4778         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
4779         * lib/autoconf/status.m4: Remove FIXME.
4780         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
4781         that the macro is not present anymore in the updated
4782         configure.ac.
4783         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
4784         of autoupdate.
4786 2004-01-28  Paul Eggert  <eggert@twinsun.com>
4788         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
4789         copyright years.
4790         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
4791         2003 (except 1997) to the list of copyright years.  This undoes
4792         the 2003-05-22 change, which removed the older years from the list.
4793         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
4795 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
4796             Albert Chin-A-Young  <china@thewrittenword.com>
4798         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
4799         grep or ggrep program in PATH that accepts as long lines as
4800         possible.
4801         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
4802         AC_PROG_GREP.
4803         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
4804         egrep and fgrep respectively if $GREP -E/-F don't work.
4805         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
4806         _AC_PROG_GREP, and AC_PROG_SED.
4807         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
4808         longest input length accepted by a command.
4809         (AC_PROG_SED): Use it.
4810         * doc/autoconf.texi (Particular Programs): Document the changes.
4811         * NEWS: Updated.
4813 2004-01-27  Paul Eggert  <eggert@twinsun.com>
4815         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
4816         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4817         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
4818         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
4820         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
4821         bin/autoconf.in, config/Makefile.in, config/config.guess,
4822         config/config.sub, config/install-sh, config/mdate-sh,
4823         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
4824         lib/Makefile.in, lib/Autom4te/Makefile.in,
4825         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
4826         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
4827         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
4828         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
4829         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
4830         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
4831         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
4832         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
4833         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
4834         tests/actypes.at: Regenerate and/or sync with original
4835         sources.
4837 2004-01-26  Paul Eggert  <eggert@twinsun.com>
4839         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
4840         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
4841         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
4842         not <inttypes.h>.  Problem reported by Tim Mooney in
4843         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
4844         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
4845         Likewise.
4847         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
4848         otherwise "make check" fails because it forbids cmp (I guess
4849         because cmp treats files as binary on DOS-like systems).
4851         * tests/mktests.sh: Update copyright date to 2004, since some tests
4852         have changed in 2004.
4854 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
4856         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
4857         non-truncating sed or gsed program in PATH.
4858         * tests/acprograms.at: Add it.
4859         * doc/autoconf.texi (Particular Programs): Document it.
4860         * NEWS: Updated.
4862 2004-01-15  Paul Eggert  <eggert@twinsun.com>
4864         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
4865         -std1 disables some useful extensions on Tru64.  Problem reported
4866         by N. Lichtmaier in
4867         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
4869 2004-01-14  Paul Eggert  <eggert@twinsun.com>
4871         * doc/autoconf.texi (Programming in M4sh): Document that
4872         AS_MKDIR_P succeeds if the destination is a symbolic link
4873         to an existing directory.
4874         (Limitations of Usual Tools): Note that mkdir -p might not
4875         succeed on symlinks to directories.
4877 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
4879         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
4880         * bin/autoheader.in: Grammar fix in message.
4881         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
4882         Test for dir before calling mkdir -p.  (trivial changes)
4884 2004-01-13  Eric Blake  <ebb9@byu.net>
4886         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
4887         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
4889 2004-01-10  Jim Meyering  <jim@meyering.net>
4891         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
4893 2004-01-09  Paul Eggert  <eggert@twinsun.com>
4895         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
4896         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
4897         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
4898         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
4899         AC_COMPILE_IFELSE, since we now assume our caller invokes
4900         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
4901         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
4902         of AC_RUN_IFELSE; this avoids the warning mentioned above.
4903         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
4905 2004-01-07  Paul Eggert  <eggert@twinsun.com>
4907         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
4908         `"'...'"`, as it's confusing (and I suspect it may not work on
4909         some platforms).  The code was incorrect anyway, as it assumed
4910         that \$ evaluated to itself in that context.  Reported by
4911         Alexandre Duret-Lutz.
4913 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
4915         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
4916         and _LT_AC_TAGCONFIG.
4918 2004-01-06  Paul Eggert  <eggert@twinsun.com>
4920         * doc/autoconf.texi (One Macro Call): Fix an incorrect
4921         example, and add more examples.  Reported by Eric Sunshine.
4923 2004-01-05  Paul Eggert  <eggert@twinsun.com>
4925         * doc/autoconf.texi (Limitations of Usual Tools):
4926         Remove warning against "rm -fr" introduced yesterday; it
4927         was a false alarm.
4929         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
4930         autoscan, autoupdate, ifnames): Don't use chmod -w.
4931         * lib/Makefile.am (autom4te.cfg): Likewise.
4932         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
4933         "chmod -w".
4935 2004-01-04  Paul Eggert  <eggert@twinsun.com>
4936             Paolo Bonzini  <bonzini@gnu.org>
4938         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
4939         by doing lineno substitution only on lines containing "$LINENO".
4941 2004-01-04  Paul Eggert  <eggert@twinsun.com>
4943         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
4944         Use "rm -f" to remove conftest.sed, not plain "rm".
4945         Bug reported by David Relson in
4946         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
4948         * Makefile.am (autom4te-update):
4949         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
4950         * Makefile.maint (my-distcheck, do-po-update): Likewise.
4951         * doc/autoconf.texi (Guidelines): Likewise.
4952         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
4953         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
4954         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4955         * lib/autotest/general.m4 (AT_INIT): Likewise.
4956         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
4957         * tests/Makefile.am (clean-local): Likewise.
4958         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
4959         srcdir): Likewise.
4960         * doc/autoconf.texi (Limitations of Usual Tools):
4961         Warn against "rm -fr".
4963 2004-01-03  Paul Eggert  <eggert@twinsun.com>
4965         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
4966         -c -o might not work.  From a suggestion by Kevin Ryde.
4967         (C Compiler, Generating Sources, Limitations
4968         of Usual Tools, Limitations of Make, Making testsuite Scripts):
4969         Don't put '-o' after non-options, as POSIX doesn't allow this.
4970         Mention that cc's name might be gcc or c89 or whatever.
4972 2004-01-04  Kevin Ryde  <user42@zip.com.au>
4974         * doc/autoconf.texi: Add various further index entries.
4976 2003-12-29  Paul Eggert  <eggert@twinsun.com>
4978         * bin/autoreconf.in (autoreconf_current_directory):
4979         Fix typo: mkdir without umask arg.
4981 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
4983         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
4984         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
4985         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
4986         explanation clearer.
4988 2003-12-24  Andreas Schwab  <schwab@suse.de>
4990         * doc/autoconf.texi (Default Includes): Fix misspelling of
4991         AC_INCLUDES_DEFAULT.
4993 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
4995         * configure.ac: Test if sh -n works.
4996         * configure: Regenerate.
4997         * tests/atlocal.in: Store the result here.
4998         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
4999         tools.at, looking in atlocal's ac_cv_sh_n_works instead
5000         of explicitly testing.
5001         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
5002         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
5003         * tests/tools.at (Syntax of the shell scripts): Simplify
5004         using AT_CHECK_SHELL_SYNTAX.
5005         (Syntax of the Perl scripts): Remove definition of
5006         AT_CHECK_PERL_SYNTAX.
5008 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
5010         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
5011         stderr to /dev/null.
5012         * bin/autoconf.in: Regenerate.
5013         * bin/wrapper.in: Regenerate.
5015 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
5017         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
5018         Extracted from AS_SHELL_SANITIZE.
5019         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
5020         macros.
5021         (AS_SHELL_SANITIZE): Move reinvocation code from
5022         _AS_LINENO_WORKS, use it to find out if shell
5023         functions work.
5024         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
5025         does not work.
5026         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
5027         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
5028         was called.
5029         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
5030         * bin/autoconf.in: Regenerate.
5031         * tests/wrapper.in: Regenerate.
5032         * tests/tools.at: Test the syntax of tests/autoconf
5033         and tests/testsuite.
5035 2003-11-24  Akim Demaille  <akim@epita.fr>
5037         * config/announce-gen (&print_locations, &print_signatures)
5038         (&sizes): New.
5039         Use them.
5040         No longer rely on Gnus to inline the list of signatures: compute
5041         them on the fly.
5043 2003-11-24  Akim Demaille  <akim@epita.fr>
5045         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
5046         override some files.
5047         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
5048         From Debian Autoconf 2.58.
5050 2003-11-24  Akim Demaille  <akim@epita.fr>
5052         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
5053         uses.
5054         From Debian Autoconf 2.58.
5056 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
5058         * TODO: Remove already done things.  Update the part about finding
5059         tools for the target.
5061 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
5063         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
5064         Make wording more consistent.
5065         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
5066         Explain the transition better.
5067         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
5068         the transition better.
5070 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
5072         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
5073         parameter of AU_DEFUN.
5074         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
5075         (AU_DEFUN): Remove the third parameter, it was not used.
5076         Use AC_DEFUN directly, not AU_DEFINE.
5077         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
5078         the expanded body, consistently with other macros such as AC_USG.
5080 2003-11-17  Paul Eggert  <eggert@twinsun.com>
5082         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
5083         into the initial confdefs.h, to work around a bug in NextStep 3.3
5084         patch 3 reported by Eric Sunshine.
5086 2003-11-15  Kevin Ryde  <user42@zip.com.au>
5088         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
5089         than $target since the latter is not usual, add guidelines on when to
5090         use or not use the system type.
5092 2003-11-12  Derek Price  <derek@ximbiot.com>
5094         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
5095         typo misrepaired by an auto-spellcheck.
5097 2003-11-12  Akim Demaille  <akim@epita.fr>
5099         * bin/autoreconf.in (&parse_args): Don't call automake with
5100         --force-missing unless it actually supports it.
5101         From Debian #219336.
5103 2003-11-12  Akim Demaille  <akim@epita.fr>
5105         * configure.ac: Bump to 2.59a.
5106         Require 2.59.
5108 2003-11-06  Akim Demaille  <akim@epita.fr>
5110         Version 2.59.
5112 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
5114         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
5115         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
5116         and ac_abs_top_srcdir are absolute paths.
5117         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
5119 2003-11-05  Akim Demaille  <akim@epita.fr>
5121         * configure.ac: Bump to 2.58a.
5123 2003-11-05  Kevin Ryde  <user42@zip.com.au>
5125         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
5126         it provokes a warning from makeinfo about looking like a cross
5127         reference in info output.
5129         * doc/autoconf.texi (Function Portability): Add notes on signal
5130         handler return type, as per AC_TYPE_SIGNAL.
5132 2003-11-04  Akim Demaille  <akim@epita.fr>
5134         Version 2.58.
5135         * doc/standards.texi: Update from master.
5137         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
5139 2003-11-04  Akim Demaille  <akim@epita.fr>
5141         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
5142         computing the absolute path to d1 in the source hierarchy: it may
5143         not exist at all.  So don't cd into it.
5144         From Alexandre Duret-Lutz.
5145         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
5147         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
5148         From Paul Eggert, but named after Perl's IO::Spec->catfile.
5149         * doc/autoconf.texi (Programming in M4sh): Document.
5150         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
5152 2003-11-03  Pavel Roskin  <proski@gnu.org>
5154         * doc/autoconf.texi (Generic Structure Checks): Describe
5155         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
5157 2003-10-31  Akim Demaille  <akim@epita.fr>
5159         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
5160         (GNU Fortran): New.
5161         * doc/autoconf.texi (Language Choice): Document.
5162         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
5163         the current language is Fortran.
5165 2003-10-31  Akim Demaille  <akim@epita.fr>
5167         * bin/autom4te.in (&freeze): Use a less likely warning separator
5168         than `\n\n', so that `\n\n\n' is valid in warnings.
5169         Reported by Steve Huston.
5171 2003-10-28  Akim Demaille  <akim@epita.fr>
5173         * Makefile.cfg (local_updates, executable-update): Tweak to be
5174         robust to parallel makes.
5175         Suggested by Alexandre Duret-Lutz.
5177 2003-10-27  Akim Demaille  <akim@epita.fr>
5179         * Makefile.cfg (executable-update): New.
5180         (local_updates): Call it.
5182 2003-10-27  Akim Demaille  <akim@epita.fr>
5184         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
5185         Don't remove core.* as it may remove valid user files.
5186         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
5187         (AC_FUNC_UTIME_NULL): Likewise.
5189 2003-10-23  Akim Demaille  <akim@epita.fr>
5191         Version 2.57g.
5192         * config/config.guess, config/config.sub: Upgrade from masters.
5194 2003-10-23  Akim Demaille  <akim@epita.fr>
5196         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
5197         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
5198         hand...
5200 2003-10-23  Akim Demaille  <akim@epita.fr>
5202         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
5203         Don't forget to remove conftest.err.
5205 2003-10-23  Akim Demaille  <akim@epita.fr>
5207         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
5208         same object file in $LIBOBJS.
5209         Reported by Alexandre Duret-Lutz & Derek Robert Price.
5210         * doc/autoconf.texi (Generic Functions): Adjust.
5212 2003-10-20  Paul Eggert  <eggert@twinsun.com>
5214         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
5215         Use 'eval', so that the resulting configure scripts work even if
5216         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
5218 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
5220         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
5221         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
5222         (_AC_LINK_IFELSE): Check the werror flag.
5223         * doc/autoconf.texi (Generic Compiler Characteristics): Document
5224         AC_LANG_WERROR.
5225         * NEWS: Mention it.
5227 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
5229         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
5230         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
5231         override AC_LINK_IFELSE.
5233 2003-10-15  Paul Eggert  <eggert@twinsun.com>
5235         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
5236         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
5237         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
5238         Mention /usr/dt/bin/dtksh on Solaris.
5239         (Shell Substitutions): Warn about $((...)).
5240         (Parentheses): New section.
5242 2003-10-15  Kevin Ryde  <user42@zip.com.au>
5244         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
5245         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
5247 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
5249         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
5250         cross test.
5252 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
5254         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
5255         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
5257 2003-10-10  Andreas Schwab  <schwab@suse.de>
5259         * bin/autoheader.in: Avoid empty first line in --version and
5260         --help output.
5261         * bin/ifnames.in: Likewise.
5263 2003-10-09  Paul Eggert  <eggert@twinsun.com>
5265         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
5266         Issue a more-informative diagnostic.
5267         Problems reported by Eric Sunshine.
5269 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
5271         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
5272         -mGLOB_options_string stuff for Intel ifc, which can cause
5273         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
5274         pattern-matching instead of grep.
5276 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
5278         * doc/autoconf.texi: Document new FC Fortran macros.
5280 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
5282         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
5283         that future autopoint/aclocal/automake/autoreconf will be able
5284         to trace to find where to install local m4 macros.
5285         * doc/autoconf.texi (Input): Document it.
5286         * NEWS: Updated.
5288 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
5290         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
5291         -lcrtbegin.o to list of ignored flags and fix underquoting of
5292         -lcrt[01].o.
5294 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
5296         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
5297         cache variable instead of $G77 to decide whether to include -O2,
5298         since $G77 is specific to Fortran 77.
5300 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
5302         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
5303         free" flag.  Re-order flags tested into rough order of popularity.
5305 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
5307         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
5308         arguments so that it can be used with syntax identical to
5309         AC_PROG_F77, and so that we can more easily decide to
5310         remove/deprecate the DIALECT optional argument in the future if it
5311         proves troublesome.
5312         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
5313         non-freeform-supporting compilers.  Document freeform flags.
5315 2003-10-03  Akim Demaille  <akim@epita.fr>
5317         * configure.ac: Look for emacs, not macs.
5318         Reported by Eric Sunshine.
5320 2003-10-03  Akim Demaille  <akim@epita.fr>
5322         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
5323         * bin/autoreconf.in (autoreconf_current_directory): Create the
5324         AUX_DIR if needed, for sake of automake --add-missing etc.
5325         Suggested by Alexandre Duret-Lutz.
5327 2003-10-03  Akim Demaille  <akim@epita.fr>
5329         * configure.ac: Quotation and formatting changes.
5330         (EMACS): Don't set it if it is not recent enough to support
5331         autoconf-mode.el.
5332         From Eric Sunshine.
5334 2003-10-02  Akim Demaille  <akim@epita.fr>
5336         * bin/ifnames.in (&scan_file): Skip C++ comments.
5337         From Jeremy Yallop.
5339 2003-10-01  Pavel Roskin  <proski@gnu.org>
5341         * doc/autoconf.texi (Particular Structure Checks):
5342         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
5344 2003-10-01  Akim Demaille  <akim@epita.fr>
5346         Version 2.57f.
5348 2003-09-30  Paul Eggert  <eggert@twinsun.com>
5350         * lib/Autom4te/XFile.pm: Use Errno.
5351         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
5352         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
5354 2003-09-30  Akim Demaille  <akim@epita.fr>
5356         * config/announce-gen (&print_news_deltas): Extracted from...
5357         (&print_changelog_deltas): here.
5358         (&news_file): Rename as...
5359         (@news_file): this.
5361 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
5363         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
5364         have been created when invoking the compiler.
5365         * tests/fortran.at (GNU Fortran 77): Quote $G77.
5367 2003-09-29  Akim Demaille  <akim@epita.fr>
5369         Version 2.57e.
5371         * config/mkinstalldirs: Upgrade.
5373 2003-09-28  Paul Eggert  <eggert@twinsun.com>
5375         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
5376         Problem reported by Lars J. Aas in
5377         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
5378         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
5379         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
5380         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
5382 2003-09-26  Akim Demaille  <akim@epita.fr>
5384         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
5385         directory for AC_CONFIG_COMMANDS' first argument exists.
5386         This makes valid the invocation of _AC_SRCPATH that follows.
5387         Reported by Eric Sunshine.
5388         * doc/autoconf.texi (Configuration Commands): Adjust.
5390 2003-09-26  Akim Demaille  <akim@epita.fr>
5392         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
5393         Reported by Ralf Corsepius.
5395 2003-09-26  Akim Demaille  <akim@epita.fr>
5397         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
5398         arguments.
5399         Actually, use AU_ALIAS.
5400         From Bruno Haible.
5402 2003-09-26  Paul Eggert  <eggert@twinsun.com>
5404         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
5405         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
5406         Problem reported by Eric Sunshine in:
5407         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
5409 2003-09-26  Akim Demaille  <akim@epita.fr>
5411         The test suite are sometimes assigning timings incorrectly.
5412         Reported by Henk Krus.
5413         Diagnosed by Nicolas Joly.
5415         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
5416         AT_help_all.
5417         Instead of making AT_help a sequence of assignments to grow
5418         $at_help_all, just make AT_help_all be the growing contents of
5419         $at_help_all, and make a single assignment in...
5420         (AT_INIT): here.
5421         (at_times_skip): Flip the meaning and rename as...
5422         (at_times_p): this.
5423         (AT_INIT): When summarizing the test that ran, remove
5424         $at_times_file after use, and check it is present before trying to
5425         use it.
5427 2003-09-25  Akim Demaille  <akim@epita.fr>
5429         Version 2.57d.
5431         * bin/Makefile.am (edit): Handle '@configure_input@'.
5432         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
5433         (ifnames): chmod -w.
5434         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
5435         executables, not bin/ executables!  Otherwise all the magic needed
5436         to find non installed files is turned off.  This caused a failure
5437         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
5438         as found in its environment (sent by tests/autoreconf): pointing
5439         to bin/autom4te that could not find its files.
5440         * tests/mktests.sh: Force the replacement of generated files, for
5441         the sake of "mv" program that are interactive when overwriting a
5442         -w file.
5443         * config/install-sh: Upgrade from CVS Automake.
5445 2003-09-23  Paul Eggert  <eggert@twinsun.com>
5447         * doc/autoconf.texi (Limitations of Builtins): Document test -h
5448         versus test -L issues.
5450 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
5451             Paul Eggert  <eggert@twinsun.com>
5453         Trivial change to support GCC's configuration procedure.
5454         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
5455         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
5456         about inconsistency if the preprocessor is set to give errors for
5457         any warning.
5458         * doc/autoconf.texi (C Compiler Characteristics): Document this.
5460 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
5462         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
5463         and XFile.pm from Automake.
5464         * lib/Autom4te/XFile.pm: Update from Automake.
5466 2003-09-12  Akim Demaille  <akim@epita.fr>
5468         Version 2.57c.
5470 2003-09-12  Akim Demaille  <akim@epita.fr>
5472         * config/config.guess, config/config.sub, config/missing,
5473         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
5474         from masters.
5476 2003-09-12  Akim Demaille  <akim@epita.fr>
5478         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
5479         not asm/types.h.
5481 2003-09-11  Akim Demaille  <akim@epita.fr>
5483         * doc/autoconf.texi (Header Portability): linux/random.h.
5484         From Peter Hendrickson.
5486 2003-09-10  Akim Demaille  <akim@epita.fr>
5488         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
5489         willing to edit the output files.
5491 2003-09-10  Akim Demaille  <akim@epita.fr>
5493         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
5494         and AC_FC_FREEFORM.
5495         * tests/mktests.sh: Skip AC_FC_SRCEXT.
5496         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
5498 2003-09-09  Akim Demaille  <akim@epita.fr>
5500         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
5501         Reported by Gary Vaughan.
5502         * bin/autom4te.in (handle_m4): Likewise.
5504 2003-09-09  Akim Demaille  <akim@epita.fr>
5506         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
5507         trailing files.
5509 2003-09-07  Paul Eggert  <eggert@twinsun.com>
5511         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
5512         Improve the accuracy of the wording about obsolescence.
5513         From a suggestion by Ian Lance Taylor in
5514         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
5516 2003-09-05  Paul Eggert  <eggert@twinsun.com>
5518         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
5519         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
5521 2003-09-04  Akim Demaille  <akim@epita.fr>
5523         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
5524         AC_FUNC_WAIT3.
5526 2003-09-04  Akim Demaille  <akim@epita.fr>
5528         * bin/autom4te.in: Use &fatal where more appropriate than &error.
5529         (freeze): When exiting, use $exit_code.
5530         * lib/autoconf/fortran.m4: Comment changes.
5532 2003-09-04  Akim Demaille  <akim@epita.fr>
5534         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
5536 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
5538         Add support for newer Fortran dialects.  The F77 interface is
5539         unchanged, and continues to support Fortran 77.  New FC macros
5540         correspond to all the old F77 macros, with output variables FC,
5541         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
5542         available dialect, but older dialects can be specified.  There are
5543         new macros AC_FC_SRCEXT to set the source extension, and
5544         AC_FC_FREEFORM to accept free-form source files.
5546         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
5547         New macros.
5548         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
5549         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
5550         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
5551         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
5552         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
5553         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
5554         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
5555         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
5556         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
5557         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
5558         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
5559         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
5560         AC_FC_SRCEXT, AC_FC_FREEFORM):
5561         New macros.
5562         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
5563         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
5564         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
5565         Rewrite in terms of the above.
5566         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
5567         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
5568         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
5569         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
5571 2003-09-02  Paul Eggert  <eggert@twinsun.com>
5573         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
5574         Document problems with timestamp resolution that 'make', 'cp -p', and
5575         'touch -r' have.
5577 2003-08-27  Akim Demaille  <akim@epita.fr>
5579         * tests/m4sugar.at (cross_warning): Make sure to enable the
5580         output, so that we can track spurious m4sugar output.
5581         * tests/local.at: Require 2.57.
5582         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
5583         are defaulted by AT_CHECK anyway.
5584         Use AT_CHECK_AUTOM4TE.
5585         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
5586         missing dnl.
5588 2003-08-27  Akim Demaille  <akim@epita.fr>
5590         * bin/autoheader.in: Issue the "Using auxiliary..." message only
5591         when -Wobsolete is set.
5592         Set it on by default.
5593         Suggested by Klee Dienes.
5595 2003-08-27  Akim Demaille  <akim@epita.fr>
5597         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
5598         documentation.
5599         From Guido Draheim.
5601 2003-08-26  Akim Demaille  <akim@epita.fr>
5603         * doc/autoconf.texi (Output): Make clear that one can run code
5604         after AC_OUTPUT.
5606 2003-08-25  Akim Demaille  <akim@epita.fr>
5608         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
5609         CVS Bison.
5611 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
5613         * bin/autoreconf.in (parse_args): Do not pass --no-force to
5614         Automake versions prior to 1.8.
5616 2003-08-25  Akim Demaille  <akim@epita.fr>
5618         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
5619         From Ville Karaila.
5621 2003-08-24  Akim Demaille  <akim@epita.fr>
5623         * configure.ac: Bump to 2.57c.
5625 2003-08-22  Akim Demaille  <akim@epita.fr>
5627         Version 2.57b.
5629         * Makefile.cfg (local-checks-to-skip): New.
5630         * Makefile.maint (local-check): Rename as...
5631         (local-checks-available): this.
5632         (local-check): New.
5634         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
5635         * configure.ac: Require Automake 1.7.6.
5637 2003-08-22  Akim Demaille  <akim@epita.fr>
5639         Output stack traces in warnings.
5641         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
5642         Replace the former...
5643         (m4_warn): Pass the call stack to _m4_warn.
5644         * bin/autom4te.in: Adjust to output the call stack.
5645         * tests/m4sugar.at (m4@&t@_warn): Adjust.
5647 2003-08-22  Akim Demaille  <akim@epita.fr>
5649         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
5650         * bin/autom4te.in: Adjust.
5652 2003-08-21  Akim Demaille  <akim@epita.fr>
5654         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
5655         (&verbose): Remove.
5656         (&getopt): Adjust the note and verb channels, depending upon
5657         --verbose.
5658         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
5659         * bin/autoupdate.in: Adjust.
5660         Use &verb, not &verbose.
5662 2003-08-21  Akim Demaille  <akim@epita.fr>
5664         * bin/autoheader.in (&parse_args): Use &parse_warnings and
5665         &parse_WARNINGS.
5666         ($help): Use Autom4te::ChannelDefs::usage.
5667         * bin/autoscan.in: Use Autom4te::ChannelDefs.
5668         * lib/Autom4te/General.pm: Don't export error: you don't own it.
5670 2003-08-21  Akim Demaille  <akim@epita.fr>
5672         First stab at preserving warnings between calls to autom4te,
5673         including when the cache is used.
5675         There are still several issues: (i) there are too many runs of m4
5676         (one for include, one for warnings, and some more), (ii) warnings
5677         spreading on several lines are not handled gracefully, (iii) the
5678         code meant to have the call stack display for errors does not work
5679         (its handling should move from m4 to autom4te).
5681         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
5682         Use them.
5683         (@preselect): Add m4_warn.
5684         ($exit_status): Remove, use $exit_code.
5685         ($help): Use Autom4te::ChannelDefs::usage.
5686         (&handle_m4): No longer define the m4_warnings.
5687         At each run, extract and report the warnings.
5688         Always cache the result, including if the exit status is on
5689         failure, since if nothing changes, we should result in the same
5690         failure, hence we can use the cache.
5691         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
5692         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
5693         Remove.
5694         (m4_warn): Redefine as a do-nothing: it is its invocation that
5695         matters, as warnings are now reported via traces.
5696         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
5697         the contents of m4_warn: make it _call_ m4_warn, so that tracing
5698         the latter reveals calls to the former.
5700         Adjust the tests.
5702         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
5704 2003-08-21  Akim Demaille  <akim@epita.fr>
5706         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
5707         Use them.
5709 2003-08-21  Akim Demaille  <akim@epita.fr>
5711         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
5712         forward order.
5713         * lib/Autom4te/ChannelDefs.pm: Doc typos.
5714         (&parse_warnings): Accept a list of warning requests.
5715         (&usage): Return a string, not a side effect.
5716         (cross): New warning category.
5718 2003-08-21  Akim Demaille  <akim@epita.fr>
5720         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
5721         (&require_configure_ac): Accept an optional directory argument.
5722         ($configure_ac): Remove.
5723         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
5724         (&catfile): Remove.
5725         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
5726         * bin/autoscan.in: Adjust.
5728 2003-08-20  Akim Demaille  <akim@epita.fr>
5730         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
5731         Reported by Alexandre Duret-Lutz.
5733 2003-08-20  Akim Demaille  <akim@epita.fr>
5735         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
5736         * bin/autom4te: Adjust.
5737         In particular, be Autoconf tools are really silent when properly
5738         working, bind the verbosity of the 'note' channel to $verbose.
5739         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
5740         (&xsystem, &contents): Remove, since they are exported by...
5741         * lib/Autom4te/FileUtils.pm: this.
5742         More perldoc.
5743         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
5744         * lib/Autom4te/FileUtils.pm: here.
5746 2003-08-20  Akim Demaille  <akim@epita.fr>
5748         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
5749         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
5750         from CVS Automake.
5752 2003-08-20  Akim Demaille  <akim@epita.fr>
5754         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
5755         (autom4te-update): New.
5756         * Makefile.cfg (update): Bind autom4te-update.
5758 2003-08-19  Derek Price  <derek@ximbiot.com>
5760         * lib/autotest/general.m4: Comment various HELP_* diversions.
5761         (PARSE_ARGS_BEGIN): New section for option parsing related
5762         initialization.
5763         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
5764         package specific options and associated help.
5766 2003-08-19  Akim Demaille  <akim@epita.fr>
5768         * config/announce-gen, Makefile.cfg: New.
5769         * Makefile.am: Adjust.
5770         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
5772 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
5774         * lib/autom4te.in (Automake-preselections): Preselect
5775         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
5776         and m4_sinclude.
5778 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
5780         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
5781         (Autoconf-without-aclocal-m4): ... this new language.
5782         * doc/autoconf.texi (autom4te Invocation): Mention
5783         Autoconf-without-aclocal-m4.
5785 2003-08-18  Derek Price  <derek@ximbiot.com>
5787         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
5788         RUN-IF-PASS optional arguments.
5790 2003-08-18  Derek Price  <derek@ximbiot.com>
5792         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
5794 2003-08-16  Derek Price  <derek@ximbiot.com>
5796         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
5797         STDOUT & STDERR arguments.
5799 2003-08-14  Derek Price  <derek@ximbiot.com>
5801         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
5802         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
5803         shorter column three.  Add DESCRIPTION to log file content.
5805 2003-08-13  Derek Price  <derek@ximbiot.com>
5807         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
5808         output.
5810 2003-08-12  Derek Price  <derek@ximbiot.com>
5812         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
5813         (AT_CHECK_NOESCAPE): Move core functionality to...
5814         (_AT_CHECK): ...this new macro.
5816 2003-08-07  Derek Price  <derek@ximbiot.com>
5818         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
5819         (AT_CHECK_NOESCAPE): ...to this new macro.
5821 2003-07-31  Paul Eggert  <eggert@twinsun.com>
5823         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
5824         in Bash 2.01.  Problem reported by Brian Gough in
5825         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
5827 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
5829         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
5830         -lcrt1.o, for OS X.  (trivial change)
5832 2003-07-07  Paul Eggert  <eggert@twinsun.com>
5834         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
5835         inside '#ifndef __cplusplus'.  Problem reported by
5836         Bob Friesenhahn.
5838 2003-07-06  Bill Clarke  <llib@computer.org>
5840         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
5841         'long', not 'int', for benefit of Sun's recent C++ compilers
5842         (trivial change).  See:
5843         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
5844         (This really should be 'intptr_t', not 'long', but that would
5845         take more work.)
5847 2003-06-25  Akim Demaille  <akim@epita.fr>
5849         * lib/Makefile.am (autom4te.cfg): Make it read only.
5850         Depend on Makefile since it contains substitutions.
5851         From Paolo Bonzini.
5852         * lib/autom4te.in (args): Add local.at? for Autotest args.
5853         This change was made on autom4te.cfg which is generated.
5854         Reported by Raja R. Harinath.
5856 2003-06-25  Akim Demaille  <akim@epita.fr>
5858         * doc/autoconf.texi (Header Portability): sys/mount.h.
5859         From Gareth McCaughan.
5861 2003-06-23  Akim Demaille  <akim@epita.fr>
5863         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
5864         not all of them.  This fixes 1. the fact that when testing
5865         Autoconf there are many many config.log, 2. the incorrect use of
5866         top_srcdir to find config.log.
5867         Don't mix the detailed output of failed test with the summary of
5868         failures.  Rather, append detailed log afterwards.
5870 2003-06-23  Akim Demaille  <akim@epita.fr>
5872         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
5873         always run: output config.log on $at_group_log.
5875 2003-06-23  Akim Demaille  <akim@epita.fr>
5877         * tests/torture.at (#define header templates): Don't use quotes in
5878         C++ comments as it puzzles Emacs' sh font-lock-mode.
5880 2003-06-23  Akim Demaille  <akim@epita.fr>
5882         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
5883         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
5884         * tests/atspecific.m4: Rename as...
5885         * tests/local.at: This.
5886         * tests/suite.at: Move the globals into...
5887         * tests/local.at: here.
5888         * tests/Makefile.am: Adjust.
5889         * doc/autoconf.texi (testsuite Scripts): Adjust.
5891 2003-06-21  Kevin Ryde  <user42@zip.com.au>
5893         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
5894         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
5895         ensuring we add -std1 for full-ANSI.
5897         * doc/autoconf.texi (hdrindex): New macro.
5898         Add index entries for portability of various standard header files.
5900 2003-06-20  Akim Demaille  <akim@epita.fr>
5902         * configure.ac: Bump to 2.57b.
5904 2003-06-20  Akim Demaille  <akim@epita.fr>
5906         Version 2.57a.
5908 2003-06-20  Akim Demaille  <akim@epita.fr>
5910         * bin/autom4te.in: Don't rely on $HOME being defined.
5911         Reported by Marc Espie as PR/233.
5913 2003-06-20  Akim Demaille  <akim@epita.fr>
5915         * lib/autotest/general.m4: Use at_times_file only if used.
5916         From Nicolas Joly.
5918 2003-06-20  Akim Demaille  <akim@epita.fr>
5920         * config/config.guess, config/config.sub, config/elisp-comp,
5921         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
5922         Update from masters.
5924 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
5926         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
5927         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
5928         (TEST_SCRIPT): New diversion.
5929         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
5930         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
5931         (AT_INIT): Support for expected failures.
5933 2003-06-02  Akim Demaille  <akim@epita.fr>
5935         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
5936         changes.
5937         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
5938         Autoconf nor Automake.
5939         (&contents): New, from Automake.
5940         PODify.
5942 2003-05-28  Paul Eggert  <eggert@twinsun.com>
5944         * NEWS, doc/autoconf.texi (Particular Functions),
5945         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
5946         is the inverse of localtime.
5948 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
5950         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
5951         (handle_exec_errors): New function.  Work around $! being
5952         altered by WEXITSTATUS.
5953         (xqx, xsystem): Use handle_exec_errors.
5955 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
5957         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
5958         Do not call `_exit()', simply modify `$?'.
5959         (xsystem): Reset $! before running system, and check it afterward.
5960         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
5961         63 for version mismatches.
5963 2003-05-23  Akim Demaille  <akim@epita.fr>
5965         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
5966         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
5967         the middle of a line).
5968         * lib/m4sugar/m4sugar.m4: Likewise.
5969         Remove useless spaces in comments.
5971 2003-05-23  Akim Demaille  <akim@epita.fr>
5973         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
5974         exit 63, so that we (or Automake's "missing") can tell the
5975         difference with a plain failure.
5976         * doc/autoconf.texi (Notices): Adjust.
5978 2003-05-23  Akim Demaille  <akim@epita.fr>
5980         * Makefile.am, bin/Makefile.am, config/Makefile.am,
5981         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
5982         White spaces cleanup.
5984 2003-05-22  Jim Meyering  <jim@meyering.net>
5985             Paul Eggert  <eggert@twinsun.com>
5987         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
5988         Remove `#include <stdlib.h>' from the list; we should never
5989         make confdefs.h include <stdlib.h> or <cstdlib>, because the
5990         resulting namespace pollution would cause other tests to fail.
5991         Configure scripts run with some older versions of g++ and HP's
5992         aCC would fail due to such an #include.  Problems reported by
5993         Matthew Mueller in <http://bugs.debian.org/120704> and by
5994         Keith Bostic in
5995         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
5996         In the test, use the test declaration before including <stdlib.h>,
5997         as that's closer to how it'll be used.
5999 2003-05-23  Akim Demaille  <akim@epita.fr>
6001         * doc/autoconf.texi (Header Portability): ucred.h.
6002         From Ian Redfern.
6004 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
6006         Overhaul Autotest's logging: generate separate log files
6007         in testsuite.dir/NNN/testsuite.log, and append them to
6008         testsuite.log instead of re-running the test verbosely.
6010         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
6011         file descriptor, write 0 to at_status_file instead of setting
6012         at_status=0, initialize some new variables (at_status_file,
6013         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
6014         to rerun the tests, instead append the at_group_log to the
6015         at_suite_log when a test fails.
6016         (AT_SETUP): pipe the test case's output into at_tee_pipe,
6017         with the AS_MESSAGE_LOG_FD redirected to stdout.
6018         (AT_CLEANUP): save the output status in $at_status_file
6019         and restore it, redirect the AS_MESSAGE_LOG_FD back to
6020         its original place.
6021         (AT_CHECK): since tests are run with a redirected stdout,
6022         and used to be re-run in verbose mode, turn some $at_verbose
6023         into echo, and don't redirect the output of testing stdout
6024         and stderr.
6026         * lib/autotest/autoconf.texi (testsuite Scripts): Update
6027         the name of the debugging directory and information about
6028         its contents.
6030 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
6032         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
6033         parameter.
6035 2003-05-22  Akim Demaille  <akim@epita.fr>
6037         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
6038         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
6039         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
6040         * lib/autoconf/status.m4: Fix and adjust copyright notices.
6042 2003-05-22  Akim Demaille  <akim@epita.fr>
6044         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
6045         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
6046         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
6047         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
6048         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
6049         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
6050         * lib/autoconf/status.m4, lib/autoconf/types.m4,
6051         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
6052         * tests/atspecific.m4, tests/base.at, tests/compile.at,
6053         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
6054         * tests/tools.at, tests/torture.at:
6055         Whitespace clean up.
6056         Suggested by Jim Meyering.
6058 2003-05-22  Akim Demaille  <akim@epita.fr>
6060         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
6061         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
6062         Reported by Jim Meyering.
6064 2003-05-22  Akim Demaille  <akim@epita.fr>
6066         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
6067         Add AC_HELP_STRING  to the obsolete macros section.
6068         Typos.
6069         Use '@.' for sentences that ended in a capital letter.
6070         From Art Haas.
6072 2003-05-22  Akim Demaille  <akim@epita.fr>
6074         * config/config.guess, config/config.sub, config/elisp-comp,
6075         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
6076         * config/texinfo.tex, doc/standards.texi: Update from masters.
6078 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
6080         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
6081         it to eval.
6083 2003-05-21  Akim Demaille  <akim@epita.fr>
6085         * bin/autoupdate.in ($m4): Fix quotation.
6086         Reported by Martin Mokrejs.
6088 2003-05-19  Paul Eggert  <eggert@twinsun.com>
6090         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
6091         Remove non-ASCII characters.
6093 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
6095         * tests/semantics.at (AC_SEARCH_LIBS): New test.
6096         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
6097         AC_CHECK_HEADERS_NEW): New tests.
6099 2003-05-17  Akim Demaille  <akim@epita.fr>
6101         * lib/autoconf/functions.m4: Use the default includes so that
6102         memcmp be declared before being tested.
6103         Reported by Sander Niemeijer.
6104         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
6105         * doc/autoconf.texi (Default Includes): Document
6106         AC_INCLUDES_DEFAULT.
6108 2003-05-17  Akim Demaille  <akim@epita.fr>
6110         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
6111         * doc/autoconf.texi (Obsolete Macros): Adjust.
6112         Reported by Werner LEMBERG and Debian Bug 190886.
6114 2003-05-16  Akim Demaille  <akim@epita.fr>
6116         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
6117         user name space clashes.
6118         Reported by Bruno Haible.
6120 2003-05-16  Akim Demaille  <akim@epita.fr>
6122         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6123         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
6124         them uniform, and more robust to Perl special characters.
6125         Reported by Martin Mokrejs.
6127 2003-05-14  Akim Demaille  <akim@epita.fr>
6129         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
6131 2003-05-14  Akim Demaille  <akim@epita.fr>
6133         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
6134         linux/irda.h.
6136 2003-05-12  Akim Demaille  <akim@epita.fr>
6138         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
6139         message.
6140         From Matthias Andree.
6142 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
6144         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
6145         and truncate.
6147 2003-05-06  Akim Demaille  <akim@epita.fr>
6149         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
6150         longer updates aclocal.m4 if useless, (ii) if a file m4_included
6151         by aclocal.m4 is changed it might require the importing of another
6152         m4 extension file, i.e., aclocal must be run.
6154         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
6155         (&parse_args): Use --force with aclocal if required and supported.
6156         (&autoreconf_current_directory): Use &run_aclocal.
6158 2003-05-06  Akim Demaille  <akim@epita.fr>
6160         Lock autom4te's cache.
6162         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
6163         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
6164         argument instead of a file name, so that the request file remains
6165         open during the whole autom4te run.
6166         ($icache_file): New.
6167         (&freeze): Lock the $icache_file.
6169 2003-04-29  Derek Price  <derek@ximbiot.com>
6171         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
6172         seperator with m4_append_uniq().  It doesn't work.
6173         (AT_CLEANUP): Add `;' to end of at_help_all.
6174         (AT_INIT): Allow --keywords to be specified more than once.  When
6175         grepping $at_help_all for keywords, use the field and keyword
6176         seperators to ensure a complete keyword match.  Alter at_prev handling
6177         to support the new --keywords behavior.
6179 2003-04-27  Karl Berry  <karl@freefriends.org>
6181         * doc/autoconf.texi: Make the dir entries in the autoconf manual
6182         align better with others.  I also made some of the individual
6183         entries on one line, for brevity and to make it easier for me to
6184         sort my dir-example file in the Texinfo distribution :).
6186 2003-04-12  Jim Meyering  <jim@meyering.net>
6188         * NEWS: Mention the new macro.
6189         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
6190         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
6191         * tests/c.at: Test AC_C_RESTRICT.
6192         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
6194 2003-04-08  Akim Demaille  <akim@epita.fr>
6196         * bin/ifnames.in: Skip C++ comments.
6197         From Jeremy Yallop.
6199 2003-04-08  Akim Demaille  <akim@epita.fr>
6201         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
6202         From Ilya Zakharevich.
6204 2003-04-08  Akim Demaille  <akim@epita.fr>
6206         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
6207         net/if.h, stdlib.h.
6209 2003-04-01  Derek Price  <derek@ximbiot.com>
6211         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
6212         from Akim's checkin of 2003-03-29.
6214 2003-04-01  Derek Price  <derek@ximbiot.com>
6216         * tests/torture.at (Configuring subdirectories): Add missing
6217         close-quote for Akim's change from 2003-03-28.
6219 2003-04-01  Akim Demaille  <akim@epita.fr>
6221         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
6222         (AC, AT, MS): these.
6223         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
6224         New.
6225         Use them.
6226         * doc/Makefile.am (CLEANFILES): Adjust.
6227         (TEXI2DVI): Make it --batch.
6229 2003-03-31  Derek Price  <derek@ximbiot.com>
6231         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
6232         which removed the main loop.
6233         Thanks to Akim Demaille.
6235 2003-03-29  Akim Demaille  <akim@epita.fr>
6237         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
6238         that starts a GUI.
6239         From Ilya Zakharevich.
6241 2003-03-29  Akim Demaille  <akim@epita.fr>
6243         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
6244         documentation to read is Autoconf's.
6245         Suggested by Paul Eggert.
6247 2003-03-28  Akim Demaille  <akim@epita.fr>
6249         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
6250         reading the section "Present But Cannot Be Compiled" when the
6251         header causes problems.
6253 2003-03-28  Akim Demaille  <akim@epita.fr>
6255         * tests/torture.at (Configuring subdirectories): Require aclocal
6256         1.4, otherwise the test fails, as it does support configure.ac.
6257         This fixes the "test 40 failed" bug reports.
6259 2003-03-28  Akim Demaille  <akim@epita.fr>
6261         * doc/autoconf.texi (C Compiler): `#line' portability.
6262         From Paul Eggert and Nelson H. F. Beebe.
6264 2003-03-27  Derek Price  <derek@ximbiot.com>
6266         * lib/autotest/general.m4: Eliminate main loop and reorganize test
6267         layout in order to allow scripting around test groups.
6269 2003-03-27  Derek Price  <derek@ximbiot.com>
6271         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
6272         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
6273         use new diversions in preparation for accepting new arguments and
6274         allowing scripting around tests.
6275         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
6277 2003-03-26  Derek Price  <derek@ximbiot.com>
6279         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
6280         obsolete AC_HELP_STRING.
6281         (AC_HELP_STRING): AU_DEFUN to...
6282         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
6283         * tests/m4sh.at (AS_HELP_STRING): New test.
6285         * tests/acgeneral.at: Regenerated.
6287 2003-03-26  Derek Price  <derek@ximbiot.com>
6289         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
6290         sense.  Verbosify the diversion definitions comment.
6292 2003-03-26  Derek Price  <derek@ximbiot.com>
6294         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
6295         AS_PREPARE.
6297 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
6299         * doc/autoconf.texi (Present But Cannot Be Compiled):
6300         Grammar fixes and minor rewording. (trivial change)
6302 2003-03-06  Paul Eggert  <eggert@twinsun.com>
6304         Work around a problem noted by Nelson H. F. Beebe with coreutils
6305         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
6306         2002/05/09) rejects '#line 32768 "configure"' because the line
6307         number overflows.
6308         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
6309         #line directives.
6310         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
6311         * doc/autoconf.texi (Generating Sources): Document this.
6313 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
6315         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
6316         file name for the m4 program, when it has an "exe" file extension.
6317         DJGPP's error messages include the error code in brackets -
6318         remove the error code during normalization.
6320 2003-02-28  Akim Demaille  <akim@epita.fr>
6322         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
6324 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
6326         * doc/autoconf.texi (Limitations of Make): Remove the section
6327         about `$<' in inference rules, it was a bogus interpretation of
6328         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
6329         Tru64 make in the "target lookup" section.
6330         (Automake): Automake 1.5+ no longer requires special tools to be
6331         present on the developer's host.
6333 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
6335         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
6336         to a shell that can handle redirection or quoting correctly.
6337         Override SHELL with the shell detected by configure.
6338         Use of $^O suggested by Tim van Holder.
6339         * bin/autom4te.in (BEGIN): Likewise.
6340         * bin/autoreconf.in (BEGIN): Likewise.
6341         * bin/autoscan.in (BEGIN): Likewise.
6342         * bin/autoupdate.in (BEGIN): Likewise.
6343         * bin/ifnames.in (BEGIN): Likewise.
6345         * bin/ifnames.in: Add final newline to help and version messages.
6347         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
6348         to cope with DOS-style absolute paths, when constructing
6349         ${ac_make}.
6351         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
6352         When constructing paths with IFS=:, quote the path. If we're
6353         constructing a DOS-style absolute path, we don't want to split it
6354         on the colon.
6356         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
6357         in description.
6359 2003-02-25  Pavel Roskin  <proski@gnu.org>
6361         * bin/autoheader.in: Add missing newline when printing
6362         suggestion how change AC_DEFINE call.
6364 2003-02-24  Paul Eggert  <eggert@twinsun.com>
6366         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
6367         2002-09-01 patch by replacing "test -n" with "test -z".
6368         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
6369         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
6371         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
6372         to fix a mismatch between example and discussion.
6374 2003-02-24  Kevin Ryde  <user42@zip.com.au>
6376         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
6377         format starting with "-".
6379 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
6381         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
6382         is not portable inside Makefile.
6384 2003-02-20  Akim Demaille  <akim@epita.fr>
6386         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
6387         compiler says yeah, but preproc says nope, compiler is right.
6388         Conversely, prompt the reader to send a bug report to the
6389         maintainers of the package, not of Autoconf.
6391 2003-02-20  Klee Dienes  <kdienes@apple.com>
6393         * bin/autoreconf.in (autoreconf_current_directory): Properly
6394         handle an empty aclocal.m4.
6396 2003-02-20  Akim Demaille  <akim@epita.fr>
6398         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
6399         $ac_prefix_program.
6400         From Larry Jones.
6402 2002-12-23  Paul Eggert  <eggert@twinsun.com>
6404         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
6405         innocuous variant befor including <limits.h> or <assert.h>.  This
6406         works around a bug reported by Albert Chin: HP-UX 11i
6407         (and earlier versions) have a <limits.h> that declares
6408         gettimeofday and many other functions.
6410 2002-12-03  Paul Eggert  <eggert@twinsun.com>
6412         Version 2.57.
6414         * NEWS, configure.ac: Update version.
6416         * doc/fdl.texi: Upgrade to FDL version 1.2.
6418         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
6419         nontrivially in main's body, so that f's external declaration is
6420         not optimized away in AIX.  This should fix the bug reported by
6421         Martin Frydl in
6422         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
6424         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
6425         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
6426         defined, to support freestanding compilers.  This should fix the
6427         bug reported by Momchil Velkov in
6428         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
6430         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
6431         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
6432         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
6433         by Simon Josefsson in
6434         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
6436         * Makefile.maint (www-gnu): New macro.
6437         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
6438         the location has moved.
6440 2002-12-02  Martin Frydl  <martin@systinet.com>
6442         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
6443         \(.*\) match is too long and there is something more to be checked.
6444         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
6446 2002-11-15  Akim Demaille  <akim@epita.fr>
6448         Version 2.56.
6450         * config/install-sh: chmod +x.
6451         From Paul Eggert.
6452         * config/move-if-change: Indenting changes.
6453         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
6454         * configure.ac (AM_INIT_AUTOMAKE): here.
6455         Require 1.7.1.
6457 2002-11-14  Akim Demaille  <akim@epita.fr>
6459         Version 2.55.
6461         * config/config.guess, config/config.sub, config/install-sh:
6462         Update from masters.
6464 2002-11-14  Akim Demaille  <akim@epita.fr>
6466         * Makefile.maint: Sync with Bison, i.e.:
6467         (po-check): Scan .l and .y files instead of the
6468         .c and the .h files that they generate.  This fixes the bug
6469         reported by Tim Van Holder in:
6470         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
6471         Look for N_ as well as for _.  Try to avoid matching #define for
6472         N_ and _.
6473         From Paul Eggert.
6475 2002-11-14  Akim Demaille  <akim@epita.fr>
6477         * doc/autoconf.texi (C Compiler): Compiling several files at once.
6478         From Paul Eggert and Albert Chin-A-Young.
6480 2002-11-14  Akim Demaille  <akim@epita.fr>
6482         * doc/autoconf.texi (C Compiler): Solitary backslashes.
6483         From Paul Eggert and Albert Chin-A-Young.
6485 2002-11-14  Kevin Ryde  <user42@zip.com.au>
6487         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
6488         than assigning in main, to avoid HP cc +O3 optimizing it away.
6490 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
6492         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
6493         option.  Process --recheck after parsing all options.  Pass -q
6494         option to configure on --recheck.
6495         (AC_OUTPUT): Pass -q from configure to config.status.
6496         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
6497         arguments to record.
6498         * doc/autoconf.texi (config.status Invocation): Document
6499         config.status -q option.
6501 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
6503         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
6504         Makefile.in if Makefile.am exists.
6505         (output): Strip `.am' from Makefiles.  Don't
6506         output AC_CONFIG_FILES if no Makefiles were found.
6508 2002-11-07  Akim Demaille  <akim@epita.fr>
6510         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
6511         (local_updates): New.
6512         * Makefile.maint: Update, from CVS Bison.
6513         (local_updates): New.
6515 2002-11-06  Akim Demaille  <akim@epita.fr>
6517         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
6518         declaration in extern "C" too.
6519         Reported by Roberto Bagnara.
6521 2002-11-06  Akim Demaille  <akim@epita.fr>
6523         * tests/torture.at (Configuring subdirectories): Don't use grep
6524         -w.
6525         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
6526         Reported by Ezra Peisach.
6528 2002-11-05  Akim Demaille  <akim@epita.fr>
6530         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
6531         Remove.
6532         We _have_ to stop using the old compatibility scheme that tried to
6533         avoid useless backslashes because Libtool 1.4.3 contains a
6534         AC_DEFINE([error_t], [int],
6535         [Define to a type to use for \`error_t' if it is not
6536         otherwise available.])
6537         We _have_ to quote the single quote and backslashes with \.  The
6538         old compatibility scheme saw that ` was backslashed, and therefore
6539         did not quote the single quote.  Hence before this patch, Autoconf
6540         was not compatible with Libtool.
6542 2002-11-04  Paul Eggert  <eggert@twinsun.com>
6544         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
6545         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
6546         LC_NAME, LC_PAPER, LC_TELEPHONE.
6547         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
6549 2002-11-04  Akim Demaille  <akim@epita.fr>
6551         Version 2.54c.
6553         * Makefile.maint (update, cvs-update, po-update, do-po-update):
6554         New.
6555         * config/texinfo.tex: Update.
6557 2002-11-03  Akim Demaille  <akim@epita.fr>
6559         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
6560         from...
6561         (&autoreconf): here.
6562         ($help, $make, &parse_args, &autoreconf_current_directory):
6563         Support -m/--make.
6564         * doc/autoconf.texi (autoreconf Invocation): Adjust.
6566 2002-10-31  Bruno Haible  <bruno@clisp.org>
6568         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
6569         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
6570         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
6571         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
6572         to ac_cv_func_realloc_0_nonnull.
6573         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
6575 2002-10-31  Akim Demaille  <akim@epita.fr>
6577         The test suite was no longer checking for trailing envvars and files.
6579         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
6580         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
6582 2002-10-31  Akim Demaille  <akim@epita.fr>
6584         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
6585         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
6586         Make variable, not a shell variable.
6587         Suggested by Bruno Haible.
6589 2002-10-31  Akim Demaille  <akim@epita.fr>
6591         * bin/autom4te.in (load_configuration): Reject #args out of any
6592         language.
6594 2002-10-31  Akim Demaille  <akim@epita.fr>
6596         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
6597         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
6598         (_AC_RUN_IFELSE): Use it.
6599         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
6600         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
6601         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
6602         inline it.
6604 2002-10-30  Akim Demaille  <akim@epita.fr>
6606         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
6607         * doc/autoconf.texi (autom4te Invocation): Adjust.
6608         Suggested by Tim van Holder.
6610 2002-10-29  Paul Eggert  <eggert@twinsun.com>
6612         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
6613         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
6614         Problem reported by Bruno Haible.
6616 2002-10-29  Akim Demaille  <akim@epita.fr>
6618         * doc/autoconf.texi (Header Templates): Put also in words what the
6619         pictures says to assist free style readers.
6620         (Customizing autom4te): s/--cache=/--cache /.
6622 2002-10-29  Akim Demaille  <akim@epita.fr>
6624         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
6625         sys/wait.h.
6626         sparc_address_test returns void.
6627         Use it with an argument, as prototyped.
6628         From Bruno Haible.
6630 2002-10-29  Akim Demaille  <akim@epita.fr>
6632         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
6633         configure.in, not configure.ac.
6634         Reported by Bruno Haible.
6636 2002-10-29  Akim Demaille  <akim@epita.fr>
6638         * tests/torture.at (Deep Package): New test.
6639         (Configuring subdirectories): Don't use a testSubDir as Autotest
6640         now does it itself.
6642 2002-10-29  Akim Demaille  <akim@epita.fr>
6644         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
6645         * doc/autoconf.texi (Invoking autom4te): Rename as...
6646         (autom4te Invocation): this, for consistency with the other nodes.
6648 2002-10-29  Akim Demaille  <akim@epita.fr>
6650         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
6651         Reported by Ralf Corsepius.
6653 2002-10-29  Akim Demaille  <akim@epita.fr>
6655         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
6656         characters is a back as an `obsolete' warning now.
6657         Reported by Ralf Corsepius.
6659 2002-10-28  Akim Demaille  <akim@epita.fr>
6661         * configure.ac: Bump to 2.54c.
6663 2002-10-28  Akim Demaille  <akim@epita.fr>
6665         Version 2.54b.
6667         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
6669 2002-10-28  Akim Demaille  <akim@epita.fr>
6671         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
6672         m4 executable names, and different GNU M4 version.
6673         Reported by Ezra Peisach and Paul Jarc.
6675 2002-10-27  Akim Demaille  <akim@epita.fr>
6677         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
6678         AC_RUN_IFELSE.
6680 2002-10-27  Akim Demaille  <akim@epita.fr>
6682         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
6683         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
6684         Die when a simple Fortran program cannot be compiled.
6685         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
6686         Issue a warning if no function is given.
6688 2002-10-27  Akim Demaille  <akim@epita.fr>
6690         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
6691         Move the documentation of AC_TRY_RUN to...
6692         (Obsolete Macros): here.
6693         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
6694         (autoconf Invocation): Remove the duplicates with `invoking
6695         autom4te'.
6696         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
6697         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
6699 2002-10-27  Akim Demaille  <akim@epita.fr>
6701         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
6702         and AC_LANG_FUNC_LINK_TRY.
6703         (Examining Libraries): Rename as...
6704         (Running the Linker): this.
6705         Document AC_LINK_IFELSE.
6706         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
6707         (Obsolete Macros): here.
6708         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
6709         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
6710         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
6711         * lib/autoconf/headers.m4 (AC_USG): Likewise.
6713 2002-10-27  Akim Demaille  <akim@epita.fr>
6715         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
6717         More `check config.log' messages.
6719         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
6720         * doc/autoconf.texi (Printing Messages): Document it.
6721         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
6722         appropriate.
6723         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
6724         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
6725         (_AC_COMPILER_OBJEXT): Likewise.
6726         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
6727         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
6728         Likewise.
6729         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
6730         Likewise.
6732         Deprecate macros with unusual interfaces.
6734         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
6735         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
6737         Document the new ones, and proper style.
6739         * doc/autoconf.texi (Generating Sources): New.
6740         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
6741         (Examining Declarations): Rename as...
6742         (Running the Preprocessor): this.
6743         Document AC_PREPROC_IFELSE.
6744         (Examining Syntax): Rename as...
6745         (Running the Compiler): this.
6746         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
6747         (Obsolete Macros): Move the definition of AC_TRY_CPP and
6748         AC_TRY_COMPILE here.
6750 2002-10-27  Akim Demaille  <akim@epita.fr>
6752         Move sections around.
6754         * doc/autoconf.texi (Customizing autom4te): Remove a lost
6755         sentence.
6756         Reported by Burno Haible.
6757         (Language Choice): Now the first section of...
6758         (Writing Tests): this section.
6759         Make the introduction less C-centric.
6760         (Guidelines, Test Functions): Move to...
6761         (Writing Test Programs): this new section.
6762         (Test Programs): Merge into...
6763         (Run Time): this.
6765 2002-10-27  Akim Demaille  <akim@epita.fr>
6767         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
6768         autom4te.in that resulted in the need for two `make' runs.
6770 2002-10-27  Akim Demaille  <akim@epita.fr>
6772         * configure.ac: Bump to 2.54b.
6774 2002-10-25  Akim Demaille  <akim@epita.fr>
6776         Version 2.54a.
6778         * Makefile.maint: Update from the Coreutils.
6779         (AMTAR): Remove, obsolete.
6780         (automake_repo): Update to redhat.com.
6781         (cvs_file): New.
6782         Adjust to the fact that ansi2knr is now hosted by Automake.
6783         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
6784         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
6785         Update from masters.
6786         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
6787         autoscan.pre is not to be installed, and autoscan.list is not to
6788         be shipped.
6789         (CLEANFILES): Add autoscan.list.
6790         (autoscan.list): Disable the cache.
6791         * bin/Makefile.am: Include freeze.mk.
6793 2002-10-25  Akim Demaille  <akim@epita.fr>
6795         * bin/autom4te.in (&load_configuration): Take the file as
6796         argument.
6797         (&parse_args): Handle -C, --cache.
6798         ($help): Adjust.
6799         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
6800         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
6801         * doc/autoconf.texi (Invoking autom4te): Document --cache.
6802         Now a subsection of...
6803         (Using autom4te): This new section.
6804         (Customizing autom4te): New.
6805         (autom4te.cache): Adjust.
6807 2002-10-25  Akim Demaille  <akim@epita.fr>
6809         * doc/autoconf.texi (Generic Headers): More information on how to
6810         use AC_CHECK_HEADERS.
6812 2002-10-25  Akim Demaille  <akim@epita.fr>
6814         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
6815         Space changes.
6817 2002-10-25  Akim Demaille  <akim@epita.fr>
6819         * bin/autoscan.in (output): Output AC_PREREQ.
6820         (%needed_macros): Add AC_PREREQ so that configure.ac without one
6821         be reported.
6823 2002-10-23  Akim Demaille  <akim@epita.fr>
6825         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
6826         document _Bool.
6828 2002-10-23  Akim Demaille  <akim@epita.fr>
6830         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
6831         Reported by Peter Eisentraut.
6833 2002-10-23  Akim Demaille  <akim@epita.fr>
6835         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
6836         type _Bool.
6837         Fix a typo.
6838         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
6839         Eggert's recommandations.
6841 2002-10-22  Akim Demaille  <akim@epita.fr>
6843         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
6844         Bison, by Paul Eggert.
6845         * doc/autoconf.texi (Particular Headers): Document it.
6847 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
6849         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
6850         `$ac_configure_args'.
6852 2002-10-22  Akim Demaille  <akim@epita.fr>
6854         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
6855         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
6856         From Art Haas.
6858 2002-10-22  Akim Demaille  <akim@epita.fr>
6860         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
6862         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
6863         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
6864         (_AC_CHECK_HEADER_NEW): Rename as...
6865         (AC_CHECK_HEADER): this.
6867 2002-10-22  Akim Demaille  <akim@epita.fr>
6869         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
6870         words about HP-UX cmp: it was actually a user-written cmp.
6872 2002-10-22  Akim Demaille  <akim@epita.fr>
6874         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
6875         are a few warnings.
6876         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
6877         Quote for Perl '' strings, not "".
6878         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
6879         strings.
6881 2002-10-22  Akim Demaille  <akim@epita.fr>
6883         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
6884         characters is a syntax warning now.
6885         (_AS_QUOTE): Accept $2 as list of characters to quote.
6886         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
6887         Quote for Perl, not sh.
6888         * bin/autoheader.in: When $debug, report the file which is
6889         `do'ne.
6890         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
6891         `@', to tickle Perl's lists.
6892         Reported by Carlos Velasco.
6894 2002-10-18  Akim Demaille  <akim@epita.fr>
6896         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
6897         missing included files _are_ errors.
6898         Thanks to Alexandre Duret-Lutz.
6899         * tests/tools.at (autom4te cache): Adjust.
6900         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
6901         (AT_CHECK_M4SUGAR): Use it.
6902         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
6903         Adjust.
6904         * tests/tools.at (autom4te): Now it does exit 1.
6906 2002-10-17  Akim Demaille  <akim@epita.fr>
6908         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
6909         Fixes the `AC_ARG_VAR' test failures.
6910         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
6911         * lib/freeze.mk (check-forbidden-patterns): New.
6912         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
6913         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
6914         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
6915         /dev/null.
6916         Reported months ago by H. Merijn Brand.
6918 2002-10-17  Akim Demaille  <akim@epita.fr>
6920         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
6922 2002-10-16  Paul Eggert  <eggert@twinsun.com>
6924         * Makefile.maint (wget_files): Remove ansi2knr.c.
6925         (ansi2knr.c-url_prefix): Remove.
6927 2002-10-16  Akim Demaille  <akim@epita.fr>
6929         Because of caching, some files that no longer exist and are no
6930         longer required can still cause errors.
6931         Reported by Alexandre Duret-Lutz.
6933         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
6934         to frozen files in @ARGV, as @ARGV must remain being a list of
6935         files.  Rather, at M4 call sites, use this...
6936         (&files_to_options): New function.
6937         (&freeze): Use &error.
6938         (&up_to_date): If a file that was included according to the cache
6939         is no longer there, then the output is out dated.
6940         (&main): Don't even check whether a file is up to date is anyway
6941         --force is given.
6942         * tests/tools.at (autom4te cache): New.
6944 2002-10-16  Akim Demaille  <akim@epita.fr>
6946         * bin/autoconf.as: Kill dead options.
6947         * bin/autoupdate.in (&parse_args): Kill old options.
6948         * bin/autoreconf.in (&parse_args): Remove dead options.
6949         Factor some code.
6950         (&autoreconf): Report the directories we enter *and leave*, so
6951         that error messages can be easily located, and use GNU Make
6952         format, so that Emacs' compile mode understands us.
6953         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
6954         if some file was changed instead of `print'.
6955         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
6956         (&parse_args): Remove the dead options.
6957         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
6958         autoheader's quiet mode.
6959         (AT_CHECK_AUTOUPDATE): Likewise.
6960         * tests/tools.at (autoupdate): Adjust.
6961         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
6963 2002-10-11  Akim Demaille  <akim@epita.fr>
6965         No longer use CPP to check for the existing of headers: use CC to
6966         check for compilability.
6968         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
6969         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
6970         (_AC_CHECK_HEADER_NEW): Rename as...
6971         (AC_CHECK_HEADER): this.
6973         * lib/autotest/general.m4 (AT_INIT): Include the failed test
6974         numbers in the Subject suggestion.
6976 2002-10-11  Akim Demaille  <akim@epita.fr>
6978         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
6979         Suggest using AC_CHECK_DECLS instead.
6981 2002-10-11  Akim Demaille  <akim@epita.fr>
6983         * tests/torture.at (AC_ARG_VAR): Have configure report the value
6984         of `precious'.
6986 2002-10-11  Akim Demaille  <akim@epita.fr>
6988         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
6989         file name to enable parallel executions.
6990         From Sam Varshavchik.
6992 2002-10-08  Akim Demaille  <akim@epita.fr>
6994         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
6995         aclocal invocation, as Gettext macros might not be visible to
6996         aclocal.
6997         Instead of blindly running autopoint, scan configure.ac (not the
6998         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
6999         Reported by Paul D. Smith.
7001 2002-10-08  Paul Eggert  <eggert@twinsun.com>
7003         Work around problems found when POSIXLY_CORRECT=1 is set.
7004         None of this seems to have anything to do with POSIX, really,
7005         but it's how Perl getopt works.
7006         * bin/autom4te.in (parse_args): Configure GetOpt with
7007         "permute", too.
7008         * doc/autoconf.texi (Invoking autom4te):
7009         --warning -> --warnings.
7010         * lib/autom4te.in: --warning -> --warnings.
7012 2002-09-28  Akim Demaille  <akim@epita.fr>
7014         * doc/autoconf.texi (autom4te.cache): New section.
7016 2002-09-28  Akim Demaille  <akim@epita.fr>
7018         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
7019         (Automake-preselections): Update.
7020         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
7022 2002-09-28  Akim Demaille  <akim@epita.fr>
7024         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
7025         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
7026         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
7027         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
7029 2002-09-28  Akim Demaille  <akim@epita.fr>
7031         * tests/torture.at (Configuring subdirectories): Be robust to
7032         users who use config.site to require for a cache: in this case,
7033         the two last configure runs, using two different sets of
7034         arguments, trigger a legitimate error.
7036 2002-09-28  Akim Demaille  <akim@epita.fr>
7038         * tests/m4sh.at (Functions Support, Functions and return Support):
7039         New.
7041 2002-09-28  Akim Demaille  <akim@epita.fr>
7043         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
7044         autoheader are Perl programs.
7045         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
7046         (autom4te): Specify that the sources are in the $srcdir.
7047         * doc/autoconf.texi (Installation Directory Variables): Adjust.
7049 2002-09-28  Akim Demaille  <akim@epita.fr>
7051         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
7052         (tm_zone): Move their rules to...
7053         * lib/autoconf/types.m4: here, using AN_ macros.
7054         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
7055         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
7056         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
7057         * lib/autoconf/programs.m4: here.
7058         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
7059         (ETAGS_FOR_AUTOCONF): New.
7060         Use it.
7062 2002-09-28  Akim Demaille  <akim@epita.fr>
7064         * lib/autoconf/autoscan.m4: New file.
7065         * lib/autoconf/autoconf.m4: Include it.
7066         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
7067         that were listed in the original autoscan.list.
7068         * lib/autoconf/headers.m4: Similarly with headers.
7069         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
7070         (.m4.m4f): Don't pass --prepend-include, since that's done by
7071         tests/autom4te itself.
7072         * lib/autoscan/Makefile.am: Include freeze.mk.
7073         (autoscan.list): New target --this file is no longer a source.
7074         (autoscan.pre): New file.
7076 2002-09-28  Akim Demaille  <akim@epita.fr>
7078         * bin/autoscan.in (@kinds): Make them singular.
7079         Adjust all uses.
7080         (&init_tables): When --debug, report the list of rules to ease
7081         tracking changes in autoscan.list.
7082         * lib/autoscan/autoscan.list (function): Strip comments, sort.
7084 2002-09-28  Akim Demaille  <akim@epita.fr>
7086         * lib/autoscan/functions, lib/autoscan/headers,
7087         * lib/autoscan/identifiers, lib/autoscan/makevars,
7088         * lib/autoscan/programs: Merge into...
7089         * lib/autoscan/autoscan.list: this.
7090         * bin/autoscan.in (&init_tables): Adjust.
7092 2002-09-28  Akim Demaille  <akim@epita.fr>
7094         * lib/autoscan/functions, lib/autoscan/headers,
7095         * lib/autoscan/identifiers, lib/autoscan/makevars,
7096         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
7097         `functions' line is now prefixed with `function:'.
7098         * bin/autoscan.in (&init_tables): Adjust.
7100 2002-09-28  Akim Demaille  <akim@epita.fr>
7102         From now on, autoscan files must always map a macro name to a
7103         word: there is no `default' macro for autoscan.
7105         * bin/autoscan.in (&init_tables): Reject entries with no macro at
7106         all.
7107         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
7108         explicit.
7110 2002-09-28  Akim Demaille  <akim@epita.fr>
7112         * bin/autoscan.in (%c_keywords): Remove.
7113         (&used): Keep only track of the words we might be interested in.
7114         (&output_kind): It is no longer needed to look for non active
7115         checks.
7117 2002-09-27  Akim Demaille  <akim@epita.fr>
7119         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
7120         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
7121         * lib/autoscan/functions: Adjust.
7122         * doc/autoconf.texi (Particular Functions): Adjust.
7124 2002-09-27  Akim Demaille  <akim@epita.fr>
7126         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
7127         from /tmp.
7128         Thanks to Bill Moseley and Paul Eggert.
7129         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
7130         the tmpdir must be created.
7131         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
7132         dir be in the build tree, instead of $TMPDIR.
7134 2002-09-27  Akim Demaille  <akim@epita.fr>
7136         * bin/autoscan.in: Improve the comments.
7137         (&parse_args): Drop obsolete undocumented options.
7138         (&output_kind): Output warnings.
7139         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
7140         (getwd): Trigger a warning.
7142 2002-09-26  Akim Demaille  <akim@epita.fr>
7144         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
7145         Reported by Ralf Corsepius.
7146         * doc/autoconf.texi (autoreconf Invocation): Likewise.
7148 2002-09-26  Akim Demaille  <akim@epita.fr>
7150         Single suffix rules and seperated dependencies are not portable.
7152         * doc/autoconf.texi (Installation Directory Variables): Update.
7153         (Limitations of Make): Some about `Single Suffix Rules and
7154         Separated Dependencies'.
7155         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
7156         (ifnames, autoscan, autom4te): Un-factor into several rules.
7158 2002-09-25  Paul Eggert  <eggert@twinsun.com>
7160         * BUGS (Interoperability bugs): New section.  Mention libtool
7161         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
7163 2002-09-24  Paul Eggert  <eggert@twinsun.com>
7165         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
7166         make handles suffix-rules differently from GNU make.
7168         * bin/Makefile.am (SUFFIXES, .in): Remove.
7169         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
7170         Move the body of the old .in rule here.
7172 2002-09-16  Akim Demaille  <akim@epita.fr>
7174         i960 compilers create `b.out' files by default.
7175         Reported by Ralf Corsepius.
7177         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
7178         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
7180 2002-09-13  Paul Eggert  <eggert@twinsun.com>
7182         * doc/autoconf.texi (Particular Headers): Remove obsolete
7183         reference to `struct timezone' in the description of
7184         AC_HEADER_TIME.
7186 2002-09-13  Akim Demaille  <akim@epita.fr>
7188         Version 2.54.
7190         * config/config.sub, config/config.guess: Update.
7191         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
7192         * Makefile.am: Adjust.
7194 2002-09-13  Akim Demaille  <akim@epita.fr>
7196         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
7197         reading config.log when the compiler is rejected.
7198         Suggested by Guido Draheim.
7200 2002-09-13  Akim Demaille  <akim@epita.fr>
7202         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
7203         (chdir_init) might hang when stat'ing mounted directories.
7204         Reported by Vance Shipley.
7206 2002-09-12  Akim Demaille  <akim@epita.fr>
7208         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
7209         the lists.
7211 2002-09-12  Akim Demaille  <akim@epita.fr>
7213         * doc/autoconf.texi (Defining Symbols): Present two different
7214         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
7215         difference between 1 argument calls, and 2-3 argument calls.
7217 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
7219         * doc/autoconf.texi: Review grammar and punctuation.
7221 2002-09-11  Paul Eggert  <eggert@twinsun.com>
7223         * doc/autoconf.texi: Fix minor formatting, spelling, and
7224         grammatical typos.
7225         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
7226         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
7227         is obsolescent.
7229 2002-09-11  Akim Demaille  <akim@epita.fr>
7231         * doc/autoconf.texi (Questions): Rename as...
7232         (FAQ): this.
7233         (Defining Directories): New.
7235 2002-09-09  Akim Demaille  <akim@epita.fr>
7237         * doc/autoconf.texi (Making testsuite Scripts): Update.
7238         Suggested by Nishio Futoshi.
7240 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
7242         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
7243         plain `@' is wanted.
7245 2002-09-09  Akim Demaille  <akim@epita.fr>
7247         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
7248         `duplicates', since the algorithm was too naive and could keep
7249         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
7250         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
7251         Reported by Ralf Corsepius.
7252         * tests/torture.at (Configuring subdirectories): Exercise these
7253         cases.
7255 2002-09-09  Akim Demaille  <akim@epita.fr>
7257         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
7258         looking for a replacement file.
7259         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
7260         directory is relative.
7261         * doc/autoconf.texi (Generic Functions): Clarify the replacement
7262         directory definition.
7263         Reported by Andreas Schwab and Jim Meyering.
7265 2002-09-06  Akim Demaille  <akim@epita.fr>
7267         * doc/autoconf.texi (Setting Output Variables): Clarify what
7268         precious variables are.
7269         Suggested by Pontus Skoeld.
7271 2002-09-05  Akim Demaille  <akim@epita.fr>
7273         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
7274         (ifnames, autoscan, autom4te): Since we don't only depend on
7275         configure.ac variables (such as VERSION etc.), but also on prefix
7276         and so forth, depend on Makefile, not configure.ac.
7277         Reported by Alexandre Duret-Lutz.
7278         * doc/autoconf.texi (Installation Directory Variables): Adjust.
7280 2002-09-05  Kevin Ryde  <user42@zip.com.au>
7282         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
7283         doesn't seem to be confined to ia64, just say "some versions".
7285 2002-09-04  Akim Demaille  <akim@epita.fr>
7287         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
7288         Automake 1.6c.
7289         * Makefile.am (maintainer-clean-local): Remove.
7290         (MAINTAINERCLEANFILES): Remove COPYING.
7292 2002-09-03  Paul Eggert  <eggert@twinsun.com>
7294         * doc/autoconf.texi (Configuration Commands): Remove obsolete
7295         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
7296         Brinkmann.
7298 2002-09-03  Akim Demaille  <akim@epita.fr>
7300         * configure.ac: Bump to 2.53d.
7301         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
7302         as of today, on Automake's team suggestion.
7304 2002-09-03  Akim Demaille  <akim@epita.fr>
7306         Version 2.53c.
7308 2002-09-02  Akim Demaille  <akim@epita.fr>
7310         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
7311         SITE_MACRO_DIR.
7312         * configure.ac: Disable SITE_MACRO_DIR.
7314 2002-09-02  Jim Meyering  <meyering@lucent.com>
7316         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
7317         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
7318         Also, tweak grammar: s/make sure to/be sure to/.
7320 2002-09-02  Paul Eggert  <eggert@twinsun.com>
7322         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
7323         directory names are generally preferable to physical names.
7325 2002-09-02  Akim Demaille  <akim@epita.fr>
7327         * lib/Autom4te/General.pm (&update_file): s/die/error/.
7328         Reported by Raja R. Harinath.
7329         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
7330         * bin/autoupdate.in: Use error instead of die.
7332 2002-09-01  Paul Eggert  <eggert@twinsun.com>
7334         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
7335         ordinary shell concatenation rather than echo+tr+sed command that
7336         runs afoul of a long-line-related sed bug in Solaris 8.
7338         * bin/autoheader.in (parse_args): --warning -> --warnings.
7340         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
7341         stdout, as traditional "ls" does.
7342         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
7343         _AC_COMPILER_EXEEXT_O): Likewise.
7344         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
7346         * bin/autoconf.as: Add --prepend-include option.  This patch was
7347         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
7348         but bin/autoconf.in is generated automatically from bin/autoconf.as.
7350         * bin/autoconf.in, configure: Regenerate.
7352         * doc/autoconf.texi (Special Shell Variables): Mention
7353         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
7355         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
7356         MAILPATH and set PS1, PS2, PS4 to default values, to work
7357         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
7358         For LC_ALL etc, first try to set to "C" as POSIX requires and as
7359         the Autoconf documentation specifies; fall back to "unset" only if
7360         this fails.  Use a shell for-loop for this rather than an m4 loop,
7361         to shorten the output script.
7363 2002-08-30  Paul Eggert  <eggert@twinsun.com>
7365         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
7366         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
7367         for the CDPATH problem.  Document PWD.
7368         (Limitations of Builtins): Document the problem that "cd $foo" and
7369         "ls $foo" may refer to different directories in shells conforming
7370         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
7371         example, since the old example is now out of date.
7373         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
7374         FOO" and "ls FOO" talk about different directories; this catches
7375         problems when POSIX 1003.1-2001 "cd" fails due to symlink
7376         spaghetti.
7378         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
7379         of rolling our own unset.
7380         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
7381         in practice we needn't worry about CDPATH if unset doesn't work.
7383         * Makefile.in, aclocal.m4, bin/Makefile.in,
7384         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
7385         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
7386         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
7387         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
7388         tests/Makefile.in: Regenerate with Automake 1.6.3.
7390         * config/config.guess, config/config.sub, config/mkinstalldirs:
7391         Update.
7393         * configure: Regenerate with self.
7395 2002-08-30  Kevin Ryde  <user42@zip.com.au>
7397         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
7398         default output.
7400 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7402         * bin/autom4te.in (Request::load): Correctly test for "do" read
7403         failure.
7405 2002-08-29  Akim Demaille  <akim@epita.fr>
7407         * lib/Autom4te/General.pm (&xqx): New.
7408         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
7409         hand, which is not portable.
7410         (&error): New.
7411         * bin/autom4te.in: Use them.
7412         Use &error instead of die.
7413         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
7414         Adjust.
7416 2002-08-17  Paul Eggert  <eggert@twinsun.com>
7418         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
7419         default list of compilers to try, since it was long ago superseded
7420         by the ksh fc builtin.  Suggested by Steven G. Johnson.
7422 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
7424         * doc/autoconf.texi (Invoking autom4te): End the option table,
7425         fixing a bug introduced by the previous patch.
7426         (Limitations of Make): Add a 'target lookup' subentry in the
7427         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
7429 2002-07-29  Mark D. Roth  <roth@feep.net>
7431         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
7432         options and use $AUTOM4TE_PATH.
7433         * doc/autoconf.texi: Remove documentation of autom4te
7434         --include-envvar and --site-macro-subdir options and document
7435         use of $AUTOM4TE_PATH.
7436         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
7437         arguments from each language section.
7439 2002-07-29  Paul Eggert  <eggert@twinsun.com>
7441         * doc/install.texi: Include copyright symbol in copyright notice.
7443         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
7444         Replace with:
7445         (AM_MAKEINFOFLAGS): New macro.
7446         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
7447         * Makefile.am (INSTALL): Use the new macros.
7448         Use -o rather than --output, since "missing" does not grok --output.
7450 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
7452         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
7453         comments do not always work. Never trust the exit status of
7454         `make -k'.
7456 2002-07-24  Kevin Ryde  <user42@zip.com.au>
7458         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
7459         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
7461 2002-07-23  Paul Eggert  <eggert@twinsun.com>
7463         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
7464         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
7465         apparently treats PATH="nonexistent" as if it contained ".".
7466         Bug reported by Stefan `Sec' Zehl.
7468 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
7470         * doc/autoconf.texi (Limitations of Make): Mention the special
7471         handling of the obj/ directory by BSD make.
7473 2002-07-20  Kevin Ryde  <user42@zip.com.au>
7475         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
7476         backslashes.
7478 2002-07-19  Akim Demaille  <akim@epita.fr>
7480         * doc/autoconf.texi (Function Portability): `exit'.
7481         (Programming in M4sh): Ethymology of M4sh.
7483 2002-07-19  Akim Demaille  <akim@epita.fr>
7485         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
7487 2002-07-18  Akim Demaille  <akim@epita.fr>
7489         Version 2.53b.
7491 2002-07-18  Akim Demaille  <akim@epita.fr>
7493         * config/config.guess, config/config.sub: Update.
7495 2002-07-18  Akim Demaille  <akim@epita.fr>
7497         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
7498         Automake's parts.
7500         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
7501         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
7502         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
7504 2002-07-18  Akim Demaille  <akim@epita.fr>,
7505             Alexandre Duret-Lutz  <duret_g@epita.fr>
7507         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
7508         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
7510 2002-07-17  Russ Allbery  <rra@stanford.edu>
7512         * doc/autoconf.texi (Initializing configure): Clarify the
7513         description of the tarname default.
7515 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
7517         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
7518         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
7519         latter was not run.
7521 2002-07-17  Akim Demaille  <akim@epita.fr>
7523         * lib/Autom4te/General.pm (find_file): Browse the directories in
7524         the order they are given.
7526 2002-07-17  Akim Demaille  <akim@epita.fr>
7528         * tests/wrapsh.as, tests/wrappl.as: Merge into...
7529         * tests/wrapper.as: this.
7530         * tests/Makefile.am, configure.ac: Adjust.
7532 2002-07-17  Mark D. Roth  <roth@feep.net>
7534         * configure.ac: Add --enable-site-macro-dir option.
7535         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
7536         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
7537         --site-macro-subdir options.
7538         * bin/autoconf.in: Add --prepend-include option.
7539         * bin/autoheader.in: Add --prepend-include option.
7540         * bin/autoreconf.in: Add --prepend-include option.
7541         * bin/autoscan.in: Add --prepend-include option.
7542         * bin/autoupdate.in: Add --prepend-include option.
7543         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
7544         macro directory, remove note that include path directories are
7545         used in reverse order, and document --prepend-include option.
7546         * lib/autom4te.in: Use --prepend-include instead of --include.
7547         * tests/wrapsh.in: Use --prepend-include instead of --include.
7549 2002-07-17  Akim Demaille  <akim@epita.fr>
7551         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
7552         tarnames.
7553         * doc/autoconf.texi (Initializing configure): Adjust.
7555 2002-07-17  Akim Demaille  <akim@epita.fr>
7557         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
7558         (_AC_FUNC_MALLOC): New.
7559         (AC_FUNC_MALLOC): Use the latter.
7560         Define HAVE_MALLOC to 0 if broken.
7561         * doc/autoconf.texi (Particular Functions): Adjust.
7563 2002-07-16  Akim Demaille  <akim@epita.fr>
7565         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
7566         * doc/autoconf.texi (C Compiler): Adjust.
7568 2002-07-09  Akim Demaille  <akim@epita.fr>
7570         * doc/autoconf.texi: Properly set the ``header'' part.
7572 2002-07-09  Akim Demaille  <akim@epita.fr>
7574         * doc/autoconf.texi (Systemology): Some about Darwin.
7576 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
7578         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7579         Don't use AC_REQUIRE in AU_DEFUN.
7581 2002-07-09  Art Haas  <ahaas@neosoft.com>
7583         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
7585 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
7587         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7588         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
7589         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
7590         so that Emacs setups GNU style for perl-mode and cperl-mode.
7592 2002-06-27  Paul Eggert  <eggert@twinsun.com>
7594         * config/install-sh: Quote $src.  Prefer || to test's -o option,
7595         as per "Limitations of Builtins".
7596         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
7597         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
7599         * tests/mktests.sh: Use grep instead of fgrep, as per
7600         "Limitations of Builtins".
7602 2002-06-15  Paul Eggert  <eggert@twinsun.com>
7604         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
7605         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
7606         so that we consistently test the just-built programs.
7607         * tests/wrappl.as: Likewise.
7609 2002-06-12  Paul Eggert  <eggert@twinsun.com>
7611         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
7612         name, so that symlinks to 'autoconf' work properly.  Bug reported
7613         by Bruno Haible.
7614         * bin/autoheader.in (AUTOM4TE): Likewise.
7615         * bin/autoreconf.in (autoconf, autoheader): Likewise.
7616         * bin/autoscan.in (autom4te): Likewise.
7617         * bin/autoupdate.in (autom4te): Likewise.
7619         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
7620         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
7621         on Solaris 2.5.1.
7623 2002-06-11  Andreas Schwab  <schwab@suse.de>
7625         * doc/autoconf.texi: Add more dir entries.
7627 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
7629         * bin/autom4te.in ($cache): Don't define using `$me', the name
7630         of the cache should not depend on the name under which autom4te
7631         was installed.
7633 2002-06-07  Akim Demaille  <akim@epita.fr>
7635         * tests/tools.at (autoconf: forbidden tokens, basic)
7636         (autoconf: forbidden tokens, exceptions): Adjust to the change of
7637         words in autom4te.in.
7639 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
7641         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
7642         _AC_LANG_PROGRAM_C_F77_HOOKS.
7644 2002-06-07  Akim Demaille  <akim@epita.fr>
7646         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
7647         rename as...
7648         (AC_REPLACE_FNMATCH): this.
7649         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
7650         AC_FUNC_FNMATCH_GNU.
7652 2002-06-07  Akim Demaille  <akim@epita.fr>
7654         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
7655         Rosetta Stone for Unix.
7657 2002-06-07  Akim Demaille  <akim@epita.fr>
7659         * bin/autom4te.in (warn_forbidden): When rejecting a token,
7660         suggest m4_pattern_allow.
7661         Suggested by Adam J. Richter.
7663 2002-06-07  Akim Demaille  <akim@epita.fr>
7665         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
7666         ac_config_libobj_dir.
7667         (AC_CONFIG_LIBOBJ_DIR): New.
7668         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
7669         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
7670         Use ac_config_libobj_dir to find the replacement files.
7671         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
7672         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
7673         (AC_REPLACE_FNMATCH_GNU): these.
7674         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
7675         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
7676         * tests/mktests.sh (ac_exclude_list): Don't check
7677         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
7679 2002-06-06  Paul Eggert  <eggert@twinsun.com>
7681         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
7682         if ln doesn't work.
7683         * NEWS: Likewise.
7684         * doc/autoconf.texi (Configuration Links): Likewise.
7685         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
7687 2002-06-05  Paul Eggert  <eggert@twinsun.com>
7689         * config/config.guess, config/config.sub, config/texinfo.tex:
7690         Update from masters.
7692 2002-05-29  Paul Eggert  <eggert@twinsun.com>
7694         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
7695         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
7696         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
7697         Likewise.
7698         * lib/autoconf/Makefile.am (check-local): Likewise.
7699         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
7700         * lib/autoconf/types.m4 (commentary only): Likewise.
7701         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
7702         * lib/autotest/Makefile.am (check-local): Likewise.
7703         * lib/m4sugar/Makefile.am (check-local): Likewise.
7704         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
7705         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
7707         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
7708         * doc/autoconf.texi (Particular Programs): Document them.
7709         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
7710         * NEWS: Likewise.
7712 2002-05-27  Paul Eggert  <eggert@twinsun.com>
7714         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
7715         * NEWS, doc/autoconf.texi (Particular Types): Document it.
7716         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
7717         instead of AC_MBSTATE_T, which never existed.
7719 2002-05-23  Akim Demaille  <akim@epita.fr>
7721         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
7722         version of Autoconf that is discussed.
7724 2002-05-22  Paul Eggert  <eggert@twinsun.com>
7726         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
7727         from the default list of compilers to try.  Suggested by
7728         Kate Hedstrom.
7729         * NEWS: Document the above.
7730         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
7732 2002-05-17  Paul Eggert  <eggert@twinsun.com>
7734         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
7735         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
7736         This improves on an earlier suggestion by H. Peter Anvin.
7738 2002-05-16  Paul Eggert  <eggert@twinsun.com>
7740         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
7741         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
7742         Both macros now accept an optional source-dir arg.
7743         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
7745         * NEWS: Document this.
7746         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
7748         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
7749         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
7750         not for GNU extensions; this undoes part of the 2000-11-03 change,
7751         reverting to 2.13-compatible behavior.
7752         Add new optional argument DIR.
7753         (AC_FUNC_FNMATCH_GNU): New macro.
7755         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
7757 2002-05-08  Paul Eggert  <eggert@twinsun.com>
7759         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
7760         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
7761         and it causes a 'test' syntax error if it fails.
7762         Bug reported by Stephen Gildea.
7764         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
7765         If prototypes are supported, use them to check this at compile-time,
7766         instead of trying to check it at run-time.  If we must do a run-time
7767         check, assume that setvbuf is standard when cross-compiling, as
7768         nonstandard setvbuf occurs only on ancient and unlikely hosts.
7769         Bug reported by Paul D. Smith.
7771         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
7772         argument specifying location of getloadavg.c.  This removes a
7773         FIXME.  This idea was taken from Jim Meyering's implementation in
7774         textutils.
7775         * doc/autoconf.texi (Particular Functions): Document this.
7776         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
7777         that's what the code does; this fixes a bug reported by
7778         Paul D. Smith.
7780 2002-05-03  Akim Demaille  <akim@epita.fr>
7782         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
7783         autopoint instead of gettextize.
7784         ($uses_alocal): Rename as...
7785         ($uses_aclocal): this.
7786         * doc/autoconf.texi (autoreconf Invocation): Adjust.
7787         Suggested by Bruno Haible.
7789 2002-05-03  Akim Demaille  <akim@epita.fr>
7791         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
7793 2002-04-29  Paul Eggert  <eggert@twinsun.com>
7795         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
7796         files to be 1 second older; just set them to be the same time.
7797         Also, sleep 1 second after the first aclocal, to work around
7798         problems with sub-second time stamps on the input files.
7800 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
7802         * doc/autoconf.texi: Mention "set -e -x" lossage
7803         under node "Limitations of Builtins".
7805 2002-04-29  Akim Demaille  <akim@epita.fr>
7807         * doc/install.texi: Better wording for setting variables when
7808         running configure.
7809         From Christian Cornelssen.
7811 2002-04-29  Akim Demaille  <akim@epita.fr>
7813         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
7814         of lack of $LINENO support, then the test will compare the $LINENO
7815         in testsuite vs. the lineno in the test file.  This is wrong, of
7816         course.
7817         Be sure to protect it.
7818         Reported by Patrick Welche.
7820 2002-04-25  Akim Demaille  <akim@epita.fr>
7822         * doc/autoconf.texi (Obsolete Macros): Typo.
7823         Reported by Vladimir Volovich.
7825 2002-04-25  Akim Demaille  <akim@epita.fr>
7827         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
7828         than some of the input files, hence, on the second run of aclocal,
7829         if some of its input are younger, make them older.
7830         Suggested by Paul Eggert.
7832 2002-04-25  Akim Demaille  <akim@epita.fr>
7834         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
7835         Thanks to Paul Eggert.
7837 2002-04-25  Akim Demaille  <akim@epita.fr>
7839         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
7840         and ac_subst_vars be sh variables containing the list of
7841         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
7842         DEFAULT diversion.
7843         (_AC_INIT_PREPARE): Use them to log them.
7844         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
7845         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
7846         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
7847         _AC_SUBST_FILES and _AC_SUBST_VARS.
7848         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
7850 2002-04-24  Akim Demaille  <akim@epita.fr>
7852         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
7853         autoheader, so that automake does not complain about a missing
7854         config.h.in that was to be created.
7856 2002-04-23  Akim Demaille  <akim@epita.fr>
7858         * bin/autoheader.in (parse_args): --warning takes an argument.
7859         Fixes PR/220.
7861 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
7863         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
7864         and bb.out when cleaning up.
7866 2002-04-22  Akim Demaille  <akim@epita.fr>
7868         Version 2.53a.
7870 2002-04-22  Akim Demaille  <akim@epita.fr>
7872         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
7874 2002-04-22  Akim Demaille  <akim@epita.fr>
7876         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
7877         comma.
7878         Reported by Gregory Giannoni.
7880 2002-04-22  Akim Demaille  <akim@epita.fr>
7882         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
7883         Fixes false failures on Darwin.
7885 2002-04-21  Paul Eggert  <eggert@twinsun.com>
7887         * TODO, bin/autoupdate.in, doc/autoconf.texi,
7888         lib/autoconf/general.m4, lib/autoconf/libs.m4,
7889         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
7890         tests/tools.at: Minor spelling and grammar fixes.
7892 2002-04-20  Paul Eggert  <eggert@twinsun.com>
7894         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
7895         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
7896         * lib/autotest/general.m4 (AT_INIT): Likewise.
7897         * tests/atgeneral.m4 (AT_INIT): Likewise.
7899 2002-04-19  Paul Eggert  <eggert@twinsun.com>
7901         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
7902         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
7903         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
7904         lib/autoconf/functions.m4, lib/autoconf/general.m4,
7905         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
7906         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
7907         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
7908         Minor spelling and grammar fixes.
7910         * doc/autoconf.texi: Follow the outline suggested in the GNU
7911         Sample Texts sections of the Texinfo 4.2 manual.  Most
7912         importantly, this makes sure that the copyright notices appear in
7913         all output formats.  You probably need Texinfo 4.2 to generate
7914         the manual now.
7916         Fix some bugs when using "$@" when there might be zero positional
7917         arguments in cases where this matters.
7919         * bin/autoconf.as: Rewrite so that the problem does not come up.
7920         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
7921         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
7922         * lib/autotest/general.m4 (AT_INIT): Likewise.
7924         * bin/autoheader.in: Use 'case' statement to work around problem.
7925         * bin/auto4mte.in: Likewise.
7926         * bin/autoreconf.in: Likewise.
7927         * bin/autoscan.in: Likewise.
7928         * bin/autoupdate.in: Likewise.
7929         * bin/ifnames.in: Likewise.
7931         * doc/autoconf.texi (Shell Substitutions): Document the problem.
7933         * lib/autotest/general.m4 (AT_INIT):
7934         Use Zsh alias to work around problem.
7935         * tests/atgeneral.m4 (AT_INIT): Likewise.
7937         * tests/c.at: We can't have zero arguments, so remove workaround
7938         that is not portable to Zsh.
7940 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
7942         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
7943         from aclocal.m4 too.
7945 2002-04-12  Akim Demaille  <akim@epita.fr>
7947         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
7949 2002-04-10  Akim Demaille  <akim@epita.fr>
7951         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
7952         workaround for ${1+"$@"}.
7953         * doc/autoconf.texi (Shell Substitutions): Explain it.
7954         From Oliver Kiddle and Peter Stephenson.
7956         Have M4sh perform minimal shell sanitizing.
7958         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
7959         part into...
7960         (_AS_PREPARE): this new macro.
7961         (AS_PREPARE): New.
7962         (AS_INIT): Invoke AS_SHELL_SANITIZE.
7963         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
7965         Adjust Autoconf and Autotest.
7967         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
7968         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
7969         * lib/autotest/general.m4 (AT_INIT): Likewise.
7970         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
7971         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
7972         AS_SHELL_SANITIZE.
7974         Use this M4sh to generate Autoconf's shell scripts.
7976         * tests/wrapsh.as: New, precursor of wrapsh.in.
7977         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
7978         on Autotest and M4sh.
7979         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
7980         (wrapsh.in): New target.
7981         * bin/autoconf.as: New, precursor of autoconf.in.
7982         (autoconf.in): New target.
7984 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
7986         * doc/autoconf.texi (Limitations of Make): Mention the issue
7987         with indented comments in rules.
7989 2002-04-09  Andreas Schwab  <schwab@suse.de>
7991         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
7992         ac_top_builddir when setting ac_abs_top_builddir.
7994 2002-04-06  Kevin Ryde  <user42@zip.com.au>
7996         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
7997         (Portable Shell): Cross reference to Systemology.
7999 2002-04-05  Akim Demaille  <akim@epita.fr>
8001         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
8002         directories when descending in a SUBDIRS.
8003         Reported by Ezra Peisach.
8005 2002-04-04  Andreas Schwab  <schwab@suse.de>
8007         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
8008         contains no literal separators.
8010 2002-04-03  Akim Demaille  <akim@epita.fr>
8012         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
8013         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
8014         Use dnl, not the KILL diversion.
8015         Extracted from...
8016         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
8017         (AC_CONFIG_LINKS): here.
8018         Adjust.
8019         Don't use the KILL diversion, as it kills spurious output, which
8020         results in failures being hidden.
8021         Use m4_defn where appropriate.
8022         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
8023         after the second argument.
8024         Use m4_defn.
8025         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
8026         syntax, as it is provided by M4sugar.
8027         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
8029 2002-04-03  Andreas Schwab  <schwab@suse.de>
8031         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
8032         expanded if $# <= 2.
8034         * bin/autoreconf.in (autoreconf): Run automake after rerunning
8035         aclocal.
8037 2002-04-03  Akim Demaille  <akim@epita.fr>
8039         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
8040         (_AC_COMPILER_EXEEXT_REJECT): New.
8041         Also recognize *.bb and *.bbg as compilation byproducts.
8042         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
8043         (_AC_COMPILER_OBJEXT): Use them.
8044         Fixes Debian #138666.
8046 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
8048         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
8050         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
8051         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
8052         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
8053         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
8054         (AC_C_CONST): Same.
8055         (AC_C_INLINE): Same.
8056         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
8057         * doc/autoconf.texi, NEWS: Document.
8058         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
8059         AC_C_CROSS.
8061 2002-04-02  Akim Demaille  <akim@epita.fr>
8063         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
8064         _AS_MKDIR_P_PREPARE.
8066 2002-03-28  Kevin Ryde  <user42@zip.com.au>
8068         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
8069         to avoid versions of HP C which don't allow that.
8071 2002-03-27  Paul Eggert  <eggert@twinsun.com>
8073         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
8074         (AS_SHELL_SANITIZE): Invoke it.
8075         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
8077 2002-03-26  Akim Demaille  <akim@epita.fr>
8079         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
8081 2002-03-26  Akim Demaille  <akim@epita.fr>
8083         * doc/autoconf.texi (Introduction): The GNATS base moved.
8085 2002-03-25  Paul Eggert  <eggert@twinsun.com>
8087         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
8088         as POSIX requires, as it doesn't work with Zsh.
8089         * doc/autoconf.texi (Assignments): Document the problem.
8091 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
8093         * doc/autoconf.texi (Limitations of Make): Mention more issue
8094         about VPATH, overriding of macros in sub-makes, and handling of
8095         SHELL.
8097 2002-03-21  Paul Eggert  <eggert@twinsun.com>
8099         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
8100         problem with here-document buffer boundaries.
8102         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
8103         when reinvoking the shell, to work around problems with installers
8104         who put strange things like "cd" commands in their environments.
8106 2002-03-19  Akim Demaille  <akim@epita.fr>
8108         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
8109         From Aaron Ucko.
8111 2002-03-19  Akim Demaille  <akim@epita.fr>
8113         * bin/autoscan.in (scan_file): Specify the location in `&used'
8114         invocations.
8115         From Nicolas Joly.
8117 2002-03-19  Akim Demaille  <akim@epita.fr>
8119         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
8120         From Nishio Futoshi.
8122 2002-03-19  Akim Demaille  <akim@epita.fr>
8124         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
8126 2002-03-18  Paul Eggert  <eggert@twinsun.com>
8128         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
8129         (Limitations of Usual Tools): Add mkdir section.
8131         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
8132         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
8133         back on AS_DIRNAME to compute prefixes otherwise; this is
8134         roughly what mkinstalldirs does.  That way, we need not have
8135         our own filename disassembler.  The old disassembler did not
8136         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
8138         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
8139         Create at_test_all by a series of assignments,
8140         not by a single assignment of a long string.  The latter causes ksh
8141         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
8142         presumably because of a buffer overrun.
8144 2002-03-14  Paul Eggert  <eggert@twinsun.com>
8146         * lib/autotest/general.m4 (at_times_skip):
8147         Renamed from at_times.  Now a boolean.
8148         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
8149         says 'times: not found'.
8151 2002-03-14  Akim Demaille  <akim@epita.fr>
8153         * bin/autoreconf.in (&study_gettextize): New.
8154         (&autoreconf): Handle newest gettextize.
8155         Rerun aclocal if needed.
8156         Suggested by Andreas Schwab.
8158 2002-03-13  Akim Demaille  <akim@epita.fr>
8160         * doc/autoconf.texi (Special Shell Variables): More about IFS.
8162 2002-03-13  Akim Demaille  <akim@epita.fr>
8164         * doc/autoconf.texi (Header Portability): New.
8165         Add information about stdint.h and inttypes.h from Paul Eggert.
8167 2002-03-13  Akim Demaille  <akim@epita.fr>
8169         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
8170         -p'.
8171         From Bob Proulx.
8173 2002-03-12  Akim Demaille  <akim@epita.fr>
8175         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
8176         m4_require.
8178 2002-03-11  Andreas Schwab  <schwab@suse.de>
8180         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
8181         does not do it if --with-lispdir is given.
8183 2002-03-08  Akim Demaille  <akim@epita.fr>
8185         Version 2.53.
8187 2002-03-08  Akim Demaille  <akim@epita.fr>
8189         * doc/autoconf.texi (Subdirectories): Clarify that the
8190         subdirectory should exist.
8192 2002-03-08  Akim Demaille  <akim@epita.fr>
8194         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
8196 2002-03-08  Akim Demaille  <akim@epita.fr>
8198         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
8199         aliases the actual variables, and modifications of the former
8200         affect the latter.
8202 2002-03-08  Akim Demaille  <akim@epita.fr>
8204         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
8205         because of C-c: have m4 output in tmp files, then mv them.
8207 2002-03-08  Akim Demaille  <akim@epita.fr>
8209         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
8210         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
8211         * bin/ifnames.in: Copyright update.
8213 2002-03-08  Akim Demaille  <akim@epita.fr>
8215         * doc/autoconf.texi (Invoking autom4te): New.
8217 2002-03-05  Akim Demaille  <akim@epita.fr>
8219         * doc/autoconf.texi (Specifying Names): Clarification suggested by
8220         Kevin Ryde.
8222 2002-03-05  Akim Demaille  <akim@epita.fr>
8224         Version 2.52i.
8226 2002-03-04  Akim Demaille  <akim@epita.fr>
8228         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
8229         * lib/autoconf/general.m4 (AC_INIT): More informative error
8230         message for LIBOBJ.
8232 2002-03-04  Akim Demaille  <akim@epita.fr>
8234         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
8235         parallel builds.
8237 2002-03-04  Akim Demaille  <akim@epita.fr>
8239         * doc/autoconf.texi (Transforming Names): Equality between target
8240         and host is irrelevant.
8241         (Specifying Names, Canonicalizing): Remove all references to the
8242         backward compatibility hooks.  Rather, collect them all into...
8243         (Hosts and Cross-Compilation): this new section.
8244         * doc/install.texi (System Type): Ditto.
8245         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
8246         that `--host' implies cross-compilation.
8248 2002-03-04  Akim Demaille  <akim@epita.fr>
8250         * doc/autoconf.texi (Evaluation Macros): New.
8251         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
8252         useless.
8253         (_m4_foreach): Define the variant with immediate evaluation so
8254         that it contains exactly the items, not an expression which
8255         evaluation is the current item.
8256         (m4_re_string, m4_re_word): Don't over quote them.
8258 2002-03-04  Akim Demaille  <akim@epita.fr>
8260         Instead of having stacking `shift's evaluated at the end, let
8261         `foreach' loops immediately evaluate them.
8263         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
8264         $*.  This is the n-th time I change my mind, but hopefully this is
8265         the last...
8266         (m4_lquote): New.
8267         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
8268         efficient.
8269         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
8270         it was only a hack for m4_text_wrap.
8271         (m4_car2): Remove, replaced by...
8272         (m4_cdr): New.
8273         (_m4_foreach): Adjust.
8274         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
8275         m4_bpatsubst for clarification.
8277 2002-03-04  Akim Demaille  <akim@epita.fr>
8279         * doc/autoconf.texi (Changequote is Evil): New.
8281 2002-03-03  Kevin Ryde  <user42@zip.com.au>
8283         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
8284         on old systems like SunOS.
8286 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
8288         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8289         lib/autoconf/functions.m4, lib/autoconf/general.m4,
8290         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
8291         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
8292         of messages.
8294 2002-02-28  Akim Demaille  <akim@epita.fr>
8296         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
8297         message to be sent.
8299 2002-02-28  Kevin Ryde  <user42@zip.com.au>
8301         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
8303 2002-02-25  Akim Demaille  <akim@epita.fr>
8305         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
8306         From Akinori Musha.
8308 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
8310         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
8311         translate \r\n to \n.
8313 2002-02-07  Akim Demaille  <akim@epita.fr>
8315         Version 2.52h.
8317 2002-02-07  Akim Demaille  <akim@epita.fr>
8319         Fix Autoconf PR/209.
8320         Also reported by Frank Denis.
8322         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
8324 2002-02-07  Akim Demaille  <akim@epita.fr>
8326         Fix Autoconf PR/207:
8327         AC_PREFIX_PROGRAM fails with dashed program names
8329         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
8330         variable when looking for the prefix program.
8331         Now it also works for shell variables.
8333 2002-02-07  Akim Demaille  <akim@epita.fr>
8335         * doc/autoconf.texi (Limitations of Builtins): More about
8336         case/esac.
8338 2002-02-06  Akim Demaille  <akim@epita.fr>
8340         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
8341         case/esac, some shells don't support it.
8342         Reported by Zack Weinberg.
8343         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
8345 2002-02-06  Akim Demaille  <akim@epita.fr>
8347         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
8348         sure not to introduce newlines in at_groups.
8349         * lib/autotest/Makefile.am (autotest.m4f): Typo.
8351 2002-02-06  Akim Demaille  <akim@epita.fr>
8353         * tests/torture.at (Configuring subdirectories): Skip if aclocal
8354         is not available.
8356 2002-02-05  Paul Eggert  <eggert@twinsun.com>
8358         * doc/autoconf.texi (Specific Compiler Characteristics):
8359         Describe HP-UX cc bug workaround more accurately.
8360         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
8361         not unsigned long.
8362         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
8363         cross-compilers, too.  This undoes some of the most recent change
8364         to this file.
8366 2002-02-05  Akim Demaille  <akim@epita.fr>
8368         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
8369         to make sure they are up to date when `check' is run.
8371 2002-02-05  Akim Demaille  <akim@epita.fr>
8373         * doc/autoconf.texi (Making testsuite Scripts): Document
8374         package.m4.
8376 2002-02-05  Akim Demaille  <akim@epita.fr>
8378         * lib/freeze.mk: New.
8380 2002-02-05  Akim Demaille  <akim@epita.fr>
8382         Implement `autom4te --freeze'.
8384         * bin/autom4te.in (&freeze): New.
8385         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
8386         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
8388 2002-02-05  Akim Demaille  <akim@epita.fr>
8390         * bin/autom4te.in (&parse_args): Implement `frozen files are
8391         optional are the sum of the previous files on the command line'.
8392         Also, pass `--reload-state=' on them, so...
8393         (handle_m4): don't.
8394         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
8395         (M4sh): Rely on M4sugar.
8396         (Autotest, M4sh, M4sugar): Use frozen files.
8398 2002-01-31  Akim Demaille  <akim@epita.fr>
8400         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
8401         * doc/autoconf.texi (Initializing configure): Adjust.
8403 2002-01-30  Akim Demaille  <akim@epita.fr>
8405         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
8406         alphanumeric to `-' instead of `_'.
8408 2002-01-30  Akim Demaille  <akim@epita.fr>
8410         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
8411         for plain code, the other for cross-compilation code.  The latter
8412         is now run with GCC only.
8413         * doc/autoconf.texi (Compilers and Preprocessors): New.
8415 2002-01-30  Akim Demaille  <akim@epita.fr>
8417         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
8418         values.
8419         * doc/autoconf.texi (Initializing configure): Explain how to
8420         change AC_INIT default values.
8422 2002-01-29  Akim Demaille  <akim@epita.fr>
8424         * tests/torture.at (Configuring subdirectories): Use configure.in,
8425         so that aclocal 1.4 works.
8426         Reported by Alexandre Duret-Lutz and Larry Schmitt.
8428 2002-01-28  Akim Demaille  <akim@epita.fr>
8430         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
8431         needs an argument.
8433 2002-01-28  Akim Demaille  <akim@epita.fr>
8435         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
8436         AUTOTEST_PATH *after* it was set.
8437         Don't put `.' in the PATH: the user should be precise and `./' if
8438         needed.  In addition, given that the test suite does some `cd', if
8439         `.' is in the path, the `tested programs' sections will report
8440         programs found in the test suite's directory, while during the
8441         tests (performed in their own directory), these programs are no
8442         longer visible.  In other words, the results is confusing and
8443         useless.
8444         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
8446 2002-01-24  Akim Demaille  <akim@epita.fr>
8448         Version 2.52g.
8450 2002-01-24  Akim Demaille  <akim@epita.fr>
8452         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
8453         * doc/autoconf.texi: Finally add Akim as an author.
8455 2002-01-24  Akim Demaille  <akim@epita.fr>
8457         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
8458         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
8459         Bourne. Use /bin/sh.
8460         From Andreas Buening.
8462 2002-01-24  Akim Demaille  <akim@epita.fr>
8464         * config/config.guess, config/config.sub, config/texinfo.tex:
8465         Update from masters.
8467 2002-01-24  Akim Demaille  <akim@epita.fr>
8469         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
8470         * config/auxdir.m4, config/cond.m4, config/depend.m4,
8471         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
8472         * config/missing.m4, config/sanity.m4, config/select.m4,
8473         * config/strip.m4: Remove, to ease sync'ing with any version of
8474         Automake.
8476 2002-01-24  Akim Demaille  <akim@epita.fr>
8478         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
8479         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
8480         Reported by Geir Ove Myhr.
8482 2002-01-21  Akim Demaille  <akim@epita.fr>
8484         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
8486 2002-01-21  Akim Demaille  <akim@epita.fr>
8488         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
8489         message on invalid options.
8490         * bin/autom4te.in (parse_args): Don't use
8491         Autoconf::General::getopt with non valid options.
8493 2002-01-17  Jim Meyering  <meyering@lucent.com>
8495         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
8496         $ac_cv_exeext so we don't use an old, invalid, cached value.
8498 2002-01-11  Akim Demaille  <akim@epita.fr>
8500         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
8501         Meyering.
8502         * doc/autoconf.texi (Function Portability): Document the strnlen
8503         limitation.
8504         (Particular Functions): Document AC_FUNC_STRNLEN.
8505         * lib/autoscan/functions: Adjust.
8507 2002-01-06  Akim Demaille  <akim@epita.fr>
8509         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
8510         package.m4, since is really depends upon configure.ac, not
8511         configure.
8512         * doc/autoconf.texi (testsuite Scripts): Adjust.
8513         * tests/Makefile.am (package.m4): New.
8514         EXTRA_DIST it since its a source.
8516 2002-01-06  Akim Demaille  <akim@epita.fr>
8518         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
8519         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
8520         and PACKAGE_BUGREPORT from here...
8521         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
8522         arguments.
8523         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
8524         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
8525         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
8526         * tests/tools.at (autoheader): Adjust.
8527         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
8529 2002-01-06  Akim Demaille  <akim@epita.fr>
8531         * bin/autoscan.in (scan_file): Use `&used'.
8533 2002-01-03  Akim Demaille  <akim@epita.fr>
8535         * doc/autoconf.texi (Output): Improved wording regarding use of
8536         AC_OUTPUT.
8537         From Olly Betts.
8539 2001-12-18  Kevin Ryde  <user42@zip.com.au>
8541         * doc/autoconf.texi (Function Portability): Add notes on sscanf
8542         sometimes needing writable input.
8544 2001-12-17  Jim Meyering  <meyering@lucent.com>
8546         * doc/autoconf.texi (New Macros): Tweak wording.
8548 2001-12-14  Akim Demaille  <akim@epita.fr>
8550         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
8551         trailing files, don't apply `-rf' to files which might not be
8552         created by configure (core, core.*, and *.core), but just `rm -f'.
8553         Suggested by Jonathan Kamens.
8555 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
8557         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
8559 2001-12-14  Akim Demaille  <akim@epita.fr>
8561         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
8563 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
8565         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
8566         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
8567         abs_srcdir, top_srcpath to abs_top_srcdir.
8568         (_AC_OUTPUT_FILES): Adjust.
8569         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
8570         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
8571         * tests/wrappl.in, tests/wrapsh.in: Adjust.
8573 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
8575         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
8576         C/Fortran linking on HP/UX, by extracting the Fortran library
8577         search path from the LPATH line in the $F77 -v output.
8579 2001-12-12  Kevin Ryde  <user42@zip.com.au>
8581         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
8582         forbidden file descriptors table.
8584 2001-11-26  Akim Demaille  <akim@epita.fr>
8586         * bin/autoscan.in (%c_keywords): Build it at top level.
8587         Map to 1 in order to simplify its uses.
8589 2001-11-26  Akim Demaille  <akim@epita.fr>
8591         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
8592         Remove $filepath, useless.
8593         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
8594         variables, they are really part of the tokens.
8595         Split the input line on spaces and then look for tokens.
8596         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
8597         because of `lex$U.$(OBJEXT)'.
8598         (&scan_files): Use "@list" instead of join.
8599         * doc/Makefile.am (CLEANFILES): Add *.fns.
8601 2001-11-26  Akim Demaille  <akim@epita.fr>
8603         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
8604         Remove, replaced by...
8605         * tests/wrappl.in: Be common for all the Perl executables.
8606         In particular autoscan and autoheader want -I.
8607         * configure.ac: Adjust.
8608         * lib/autoscan/headers: errno.h is portable.
8610 2001-11-26  Akim Demaille  <akim@epita.fr>
8612         * bin/autoscan.in (used): New.
8613         Use it.
8615 2001-11-26  Akim Demaille  <akim@epita.fr>
8617         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
8618         directives.
8619         (&scan_sh_file): Remove a duplicate pattern.
8620         (&check_configure_ac): Use long options.
8621         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
8623 2001-11-26  Akim Demaille  <akim@epita.fr>
8625         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
8626         Before, having a line containing the opening of a multi line
8627         comment made the whole line be ignored.
8629 2001-11-26  Akim Demaille  <akim@epita.fr>
8631         * doc/autoconf.texi (Using an Autotest Test Suite): New.
8632         (testsuite Scripts): Be one of its subsection.
8633         (Autotest Logs): New.
8635 2001-11-26  Akim Demaille  <akim@epita.fr>
8637         Test groups are now run two directories deeper.
8639         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
8640         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
8641         at_top_builddir.
8642         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
8643         top_srcdir, builddir and top_builddir.
8644         Use `at_*dir' relatively to the directory containing the
8645         suite, use `*dir' when relatively to the current group dir.
8647 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
8649         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
8650         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
8651         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
8652         spelling errors.
8654 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
8656         * doc/autoconf.texi (Using System Type): Add an example of `case
8657         $host' usage so people quit using `case $target' everywhere.
8659 2001-11-22  Akim Demaille  <akim@epita.fr>
8661         * doc/autoconf.texi (Installation Directory Variables): Englishoes
8662         spotted by Jim Meyering.
8664 2001-11-16  Paul Eggert  <eggert@twinsun.com>
8666         This patch implements a `long double' suggestion by Oliver Kiddle.
8668         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
8669         static, to catch errors if the value isn't known at compile-time
8670         and the compiler supports dynamic arrays.  Change its name from
8671         `_array_' to `test_array' to avoid potential name clashes.
8672         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
8673         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
8674         better than double.  Catch a bug in GCC 2.95.2 x86.
8675         * doc/autoconf.texi (C Compiler): Document the above.
8676         * NEWS: Likewise.
8678 2001-11-13  Akim Demaille  <akim@epita.fr>
8680         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
8681         hand.
8682         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
8684 2001-11-13  Akim Demaille  <akim@epita.fr>
8686         * lib/autotest/general.m4 (AT_INIT): After having run the test
8687         group, go back to the initial directory, not to at_suite_dir.
8689 2001-11-13  Akim Demaille  <akim@epita.fr>
8691         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
8692         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
8693         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
8694         option.
8695         (AT_CHECK_CONFIGURE): Use absolute paths.
8696         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
8697         The problem is still the old one: there is no means in M4 (that I
8698         know about) to create a defining macro, because there is no means
8699         to create `$1' etc., therefore, the defining macro ``swallows''
8700         all the arguments meant to the defined macro.
8702 2001-11-13  Akim Demaille  <akim@epita.fr>
8704         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
8705         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
8706         configure.ac.
8707         * tests/aclocal.m4: Remove, as it is no longer used.
8709 2001-11-13  Akim Demaille  <akim@epita.fr>
8711         * lib/autotest/general.m4: Change `tests?' into `groups?' in
8712         variable names when referring to a single test group, or to
8713         `suite' when referring to the whole test suite.
8714         `at_last_test' is removed: m4 compute at_format itself.
8715         (at_stdout, at_stder1, at_stderr): New variables.
8716         (AT_CHECK): Use them.
8718 2001-11-13  Akim Demaille  <akim@epita.fr>
8720         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
8721         in PATH.
8722         Create `testsuite.dir/003/run' instead of `testsuite.003'.
8723         Do it as soon as a test fails, don't wait till the end of the test
8724         suite.
8725         Don't remove $as_me.[0-9]*, since these files no longer exist.
8727 2001-11-13  Akim Demaille  <akim@epita.fr>
8729         * tests/tools.at: Use absolute paths, since we are no longer run
8730         in place.
8732 2001-11-13  Akim Demaille  <akim@epita.fr>
8734         Now that tests are running in their own private dir, there is no
8735         need to list the files to remove at the end of tests groups.
8737         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
8738         (AT_data_files, at_data_files): Remove.
8739         (AT_CLEANUP, AT_DATA): Simplify.
8740         (AT_INIT): Adjust.
8741         Remove the group dir if !debug && !failed.
8742         * tests/atspecific.m4: Adjust.
8744 2001-11-13  Akim Demaille  <akim@epita.fr>
8746         Start a new layout for Autotest: `testsuite' creates
8747         `testsuite.dir' in which the at-check-line etc. files are to be
8748         found, and `testsuite.dir/003' where the test group 3 is run.
8750         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
8751         at_check_line_file, at_format, at_test_normalized, at_group_dir
8752         are new variables.
8753         Create the directories.
8754         Use absolute paths for at- files.
8755         (AT_CHECK): Adjust.
8757 2001-11-11  Michael Matz  <matz@kde.org>
8759         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
8760         (m4_car2): New.
8761         (m4_car): Properly quote arguments.
8763 2001-11-13  Akim Demaille  <akim@epita.fr>
8765         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
8766         with stricter rules on LIBOBJS.
8768 2001-11-12  Paul Eggert  <eggert@twinsun.com>
8770         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
8771         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
8772         __PROTOTYPES too.
8774 2001-11-12  Akim Demaille  <akim@epita.fr>
8776         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
8778 2001-11-12  Akim Demaille  <akim@epita.fr>
8780         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8781         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
8782         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8783         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
8784         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
8785         specify to what the macro should be defined (typically to 1).
8787 2001-11-12  Akim Demaille  <akim@epita.fr>
8789         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
8790         From Jim Meyering.
8792 2001-11-12  Akim Demaille  <akim@epita.fr>
8794         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
8795         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
8796         definition used by Automake where LEX is +/- "${missing} lex" and
8797         `missing' itself contains variables.
8799 2001-11-12  Akim Demaille  <akim@epita.fr>
8801         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
8802         Now that M4sh pushes BODY, the comments were output at the end of
8803         the test suites.
8805 2001-11-08  Akim Demaille  <akim@epita.fr>
8807         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
8808         that we can trace macros from aclocal.m4.
8809         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
8810         obsoleted, and redirect to the former anyway.
8811         Reported by Ralf Corsepius.
8813 2001-11-08  Akim Demaille  <akim@epita.fr>
8815         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
8816         processed only if present.
8817         * tests/torture.at (Configuring subdirectories): Use autoreconf
8818         instead of successive calls to autoconf.
8819         Add a nonexistent subdirectory to exercise the patch above.
8820         Reported by Ralf Corsepius.
8822 2001-11-08  Kevin Ryde  <user42@zip.com.au>
8824         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
8825         doesn't accept .S files.
8827 2001-11-07  Akim Demaille  <akim@epita.fr>
8829         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
8830         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
8831         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
8832         * bin/autom4te.in (warn_forbidden): New.
8833         (handle_output): Use it.
8834         Read m4_pattern_forbid with messages.
8836 2001-11-05  Akim Demaille  <akim@epita.fr>
8838         * bin/autom4te.in (--normalize): Remove.
8839         * lib/autom4te.in: Adjust.
8841 2001-11-05  Akim Demaille  <akim@epita.fr>
8843         * tests/Makefile.am (testsuite): Rename this target as...
8844         ($(TESTSUITE)): this.
8845         From Nicolas Joly.
8847 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
8849         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
8850         the --prefix option, also remove it's argument.
8852 2001-11-05  Akim Demaille  <akim@epita.fr>
8854         * doc/autoconf.texi (testsuite Invocation): Update.
8855         (Writing testsuite.at): Update.
8857 2001-11-03  Akim Demaille  <akim@epita.fr>
8859         * doc/autoconf.texi: s/@code/@command/ where appropriate.
8861 2001-11-03  Akim Demaille  <akim@epita.fr>
8863         * lib/Autom4te/General.pm: (&catfile, &canonfile)
8864         (&file_name_is_absolute): New, wrappers around routines from
8865         File::Spec.
8866         Use and export them.
8867         (&find_configure_ac): Optionally take a directory where to look at.
8868         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
8869         the arguments.
8870         Default @ARGV to `.', not find_configure_ac.
8871         (&autoreconf): Argument is a directory.
8872         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
8873         * doc/autoconf.texi (autoreconf Invocation): Update.
8875 2001-11-03  Akim Demaille  <akim@epita.fr>
8877         * lib/Autom4te/General.pm (@export_vars, @export_subs)
8878         (@export_forward_subs): New.
8879         Add basename, dirname, and fileparse.
8880         (@EXPORT): Adjust.
8881         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
8882         Don't look for aclocal flags if we already know aclocal is not
8883         used.
8884         Move aclocal.m4t only if it exists.
8885         Reported by Ezra Peisach.
8887 2001-11-03  Akim Demaille  <akim@epita.fr>
8889         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
8890         passed on command line, defaulting to ./configure.ac if present.
8891         (&maybe_autoreconf, File::Find): Remove, unused.
8892         (&autoreconf): If autoconf is not used, don't try to trace.
8894 2001-11-02  Akim Demaille  <akim@epita.fr>
8896         * configure.ac: Bump to 2.52g.
8898 2001-11-02  Akim Demaille  <akim@epita.fr>
8900         Version 2.52f.
8902 2001-11-02  Akim Demaille  <akim@epita.fr>
8904         * config/config.guess, config/config.sub, doc/standards.texi:
8905         * config/lispdir.m4: Update from masters.
8906         * configure.ac: Bump to 2.52f.
8908 2001-11-02  Akim Demaille  <akim@epita.fr>
8910         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
8911         Don't run aclocal when aclocal.m4 is not from aclocal.
8912         From Ezra Peisach.
8913         Don't run libtoolize and gettextize if --install is not given.
8915 2001-11-01  Paul Eggert  <eggert@twinsun.com>
8917         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
8918         be invoked before _AS_LINENO_PREPARE.
8919         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
8920         than character ranges.
8922         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
8923         invoking AS_BASENAME.  Set the locale variables to 'C' if
8924         possible, as POSIX requires this to get the traditional
8925         behavior.
8926         * doc/autoconf.texi (Special Shell Variables): Describe the above.
8928 2001-10-31  Paul Eggert  <eggert@twinsun.com>
8930         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
8931         with {}, as that triggers a bug in Bash 2.05.
8933         (_AS_LINENO_PREPARE): Use Sed rather than
8934         Awk.  Fix the sed prepass to work even if there are multiple
8935         instances of $LINENO on the same line.  Do not substitute for
8936         other variables like $LINENOT.  Do not check file dates; such a
8937         check is unreliable on sufficiently fast machines, and removing
8938         the check makes the code simpler and more reliable.  Check for
8939         output and chmod failures.
8941         * doc/autoconf.texi (Special Shell Variables): Document
8942         the above.
8944 2001-10-31  Akim Demaille  <akim@epita.fr>
8946         * tests/Makefile.am (atconfig): Remove this target, Automake
8947         handles it now.
8949 2001-10-31  Akim Demaille  <akim@epita.fr>
8951         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
8952         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
8953         provided, while it is optional.
8954         * configure.ac: Adjust.
8956 2001-10-26  Paul Eggert  <eggert@twinsun.com>
8958         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
8959           lib/Autom4te/Struct.pm:
8960         Require Perl 5.005_03 instead of just 5.005, as some tests fail
8961         with 5.005_02.
8963         * doc/autoconf.texi (Special Shell Variables): Document some
8964         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
8966         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
8967         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
8968         eval $LINENO is not portable in practice.
8970 2001-10-24  Akim Demaille  <akim@epita.fr>
8972         * lib/Autom4te/General.pm (backname): New.
8974 2001-10-24  Akim Demaille  <akim@epita.fr>
8976         * m4/: Remove, merged into...
8977         * config/: here.
8979 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
8981         * doc/autoconf.texi (Shellology): Mention the problems with bash
8982         2.05's use of ANSI quoting in its `set' builtin.
8984 2001-10-22  Paul Eggert  <eggert@twinsun.com>
8986         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
8987         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
8988         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
8989         POSIX decided to standardize on the int flavor of strerror_r.
8990         Always do char* test, as there's no reason not to.
8991         Assign to a char* var, to catch strerror_r that returns int*.
8993         * doc/autoconf.texi (Particular Functions):
8994         Document the above changes.  Also, document the fact that
8995         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
8997         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
8999 2001-10-20  Akim Demaille  <akim@epita.fr>
9001         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
9002         the executable was missing from the log.
9004 2001-10-20  Akim Demaille  <akim@epita.fr>
9006         * lib/Autom4te/General.pm (&update_file): If destination is
9007         unchanged, remove the source.
9008         (&up_to_date_p): Don't be verbose, be debug.
9009         * bin/autoreconf.in: No longer support --m4dir.
9010         (&autoreconf): Display the full path of the configure.ac we are
9011         studying.
9012         Trace it only once.
9013         Be sure to honor --force with gettextize.
9014         Always run aclocal.
9015         * doc/autoconf.texi: Adjust.
9017 2001-10-20  Akim Demaille  <akim@epita.fr>
9019         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
9020         Remove, dead.
9021         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
9022         `intl' is already present, as it refuses unless --force.
9023         (&parse_args): Use -I, --include instead of the old Autoconf
9024         options.
9025         ($localdir, $autoconf_dir): Remove.
9026         (@include): New.
9027         (&maybe_autoreconf): New, to preserve $_ for File::Find.
9029 2001-10-19  Jens Petersen  <petersen@redhat.com>
9031         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
9032         * doc/autoconf.texi (Particular Programs): Likewise.
9034 2001-10-19  Akim Demaille  <akim@epita.fr>
9036         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
9037         file in @configure_input@.
9038         Don't mention `automatically' in addition to `generated'.
9039         * tests/torture.at (#define header templates): Adjust.
9041 2001-10-19  Akim Demaille  <akim@epita.fr>
9043         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
9044         comment, explain how to install automatic mode selection.
9045         From Russ Allbery.
9047 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
9049         * bin/autoreconf.in (autoreconf): Display the path to the
9050         configure.ac being studied.
9052 2001-10-18  Paul Eggert  <eggert@twinsun.com>
9054         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
9055         long, to work around a bug in the HP C compiler version HP92453-01
9056         B.11.11.23709.GP.
9058         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
9059         (AS_BASENAME_EXPR): New macro.
9060         (AS_BASENAME_SED): Do not assume GNU sed semantics.
9061         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
9062         and fall back on 'sed' only if the other two fail.  This makes
9063         AS_BASENAME act more like AS_DIRNAME.
9064         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
9065         contains white space.
9066         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
9067         Use AS_DIRNAME, since I think it's now DOS-friendly.
9068         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
9069         Allow "dirname //FOO" to return either / or //, as POSIX allows
9070         either behavior.
9072 2001-10-10  Akim Demaille  <akim@epita.fr>
9074         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
9075         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
9076         From Eric Sharkey.
9078 2001-10-10  Akim Demaille  <akim@epita.fr>
9080         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
9081         m4_define, since...
9082         (_AS_ECHO_N): AS_REQUIREs it.
9084 2001-10-10  Akim Demaille  <akim@epita.fr>
9086         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
9087         (AC_INCLUDES_DEFAULT): Move to...
9088         * lib/autoconf/headers.m4: here.
9089         * lib/autoconf/types.m4: Comment changes.
9090         * doc/autoconf.texi: Specify where the default includes are used
9091         in the macro prototypes.
9093 2001-10-09  Akim Demaille  <akim@epita.fr>
9095         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
9096         transition code.
9098 2001-10-08  Akim Demaille  <akim@epita.fr>
9100         * bin/autoreconf.in (&autoreconf): Remove debugging code.
9101         (&parse_args): Pass verbosity/debugging options to subtools when
9102         --debug, not when --verbose.
9103         * lib/autom4te.in (Autoreconf-preselections): New.
9104         (Autoconf): Use it.
9106 2001-10-08  Akim Demaille  <akim@epita.fr>
9108         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
9110 2001-10-08  Akim Demaille  <akim@epita.fr>
9112         * doc/autoconf.texi (autoreconf Invocation): Adjust.
9113         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
9115 2001-10-08  Akim Demaille  <akim@epita.fr>
9117         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
9118         (Syntax of the shell scripts): Don't.
9119         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
9120         bother with $force since...
9121         * lib/Autom4te/General.pm: does.
9123 2001-10-08  Akim Demaille  <akim@epita.fr>
9125         * bin/autoreconf.in: Rewrite in Perl.
9126         * configure.ac: Adjust.
9127         * lib/Autom4te/General.pm (&up_to_date_p): New.
9128         * bin/autom4te.in (&up_to_date_p): Use it.
9129         Rename as...
9130         (&up_to_date): this.
9132 2001-10-08  Akim Demaille  <akim@epita.fr>
9134         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
9135         (m4_list_cmp): Use $0 to reinvoke yourself.
9136         (m4_patsubsts): New.
9137         (m4_strip, m4_version_unletter): Use it.
9138         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
9140 2001-10-08  Akim Demaille  <akim@epita.fr>
9142         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
9143         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
9144         * lib/autoconf/types.m4, lib/autotest/general.m4,
9145         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
9146         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
9147         m4_bregexp, m4_bpatsubst, and m4_bmatch.
9148         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
9150 2001-10-08  Akim Demaille  <akim@epita.fr>
9152         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
9154 2001-10-08  Akim Demaille  <akim@epita.fr>
9156         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
9157         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
9158         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
9159         * tests/tools.at, tests/m4sh.at: Use it.
9160         * tests/m4sh.at: Don't rely on Autoconf macros.
9161         (DIRNAME_TEST): Also exercise the expr variant.
9162         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
9163         preferred M4sugar extension is now `.4s'.
9164         * tests/README: Remove.
9166 2001-10-08  Akim Demaille  <akim@epita.fr>
9168         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
9169         (m4_provide_if): this.
9170         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
9171         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
9172         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
9173         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
9175 2001-10-08  Akim Demaille  <akim@epita.fr>
9177         Use `add-log-current-defun-function' for ChangeLog creation.
9178         Suggested by Tom Tromey.
9180         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
9181         (autotest-mode): Adjust.
9182         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
9183         'comment-region onto `C-c ;'.
9184         Comments are `#', not `dnl'.
9185         (autoconf-current-defun): New.
9186         (autoconf-font-lock-keywords): Recognize `m4_defun'.
9188 2001-10-08  Akim Demaille  <akim@epita.fr>
9190         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
9191         * lib/m4sugar/m4sh.m4: here.
9192         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
9193         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
9194         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
9195         include handle the m4_pattern_*, no longer push the
9196         BODY diversion nor set the /bin/sh line, AS_INIT does it.
9197         * lib/autotest/general.m4 (AT_INIT): Likewise.
9198         * tests/base.at: Adjust the tests to use AS_INIT.
9199         * tests/tools.at (AT_DATA_FORBIDDEN): New.
9200         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
9201         Autoconf.
9203 2001-10-07  Paul Eggert  <eggert@twinsun.com>
9205         * doc/autoconf.texi (config.status Invocation):
9206         CONFIG_SHELL defaults to a shell that supports LINENO if available.
9208         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
9209         shell does not support LINENO, and if CONFIG_SHELL is unset or
9210         empty, and if we can find a shell that does support LINENO,
9211         then set CONFIG_SHELL to that shell and then re-execute
9212         ourselves with CONFIG_SHELL.
9214 2001-10-05  Paul Eggert  <eggert@twinsun.com>
9216         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
9217         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
9218         build of $(TESTSUITE).
9220 2001-10-05  Akim Demaille  <akim@epita.fr>
9222         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
9223         iff we are a bareword.
9224         Reported by Raja R Harinath.
9226 2001-10-05  Akim Demaille  <akim@epita.fr>
9228         * tests/m4sh.at (LINENO): New.
9229         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
9230         PATH_SEPARATOR before using it.
9231         Fix the absolute path case/esac pattern.
9232         Provide $0 as fallback for as_myself.
9233         Reported by Raja R Harinath.
9235 2001-10-05  Akim Demaille  <akim@epita.fr>
9237         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
9238         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
9240 2001-10-05  Akim Demaille  <akim@epita.fr>
9242         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
9243         (AS_SHELL_SANITIZE): here.  Use it.
9244         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
9245         From Paul Eggert.
9247 2001-10-04  Akim Demaille  <akim@epita.fr>
9249         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
9250         combination of Awk and sed to replace $LINENO.
9252 2001-10-02  Paul Eggert  <eggert@twinsun.com>
9254         * doc/autoconf.texi (Limitations of Builtins): You can't use
9255         "source"; it's not portable.  Remove confusing and
9256         somewhat-incorrect example involving "." and "/".
9258         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
9259         compatibility with POSIX shells.
9261 2001-10-02  Akim Demaille  <akim@epita.fr>
9263         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
9264         instead of exec'ing to preserve $0 and $@.
9266 2001-10-01  Akim Demaille  <akim@epita.fr>
9268         * tests/testsuite (AT_INIT) <at_pass_list>: New.
9269         Don't run twice the same test.
9271 2001-10-01  Akim Demaille  <akim@epita.fr>
9273         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
9274         No longer output the list of tests.
9275         <--list>: New option.
9276         <--full-help>: Remove.
9277         Complete the short/long options duality.
9278         Various small adjustments.
9280 2001-10-01  Akim Demaille  <akim@epita.fr>
9282         * doc/autoconf.texi: Use @kbd for user input.
9283         Always use `$' as shell prompt.
9285 2001-09-30  Paul Eggert  <eggert@twinsun.com>
9287         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
9288         Don't use nested parenthesization.  This patch was originally
9289         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
9290         but somehow it didn't get incorporated then.
9291         * doc/autoconf.texi (Limitations of Usual Tools):
9292         Clarify remark about sed and nested parenthesization.
9294         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
9295         Report an error if the size cannot be determined even though
9296         the type exists.
9297         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
9298         Check for `expr' arithmetic overflow, and for compilation failure,
9299         and invoke a new argument $4 if either is discovered.
9300         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
9301         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
9303 2001-09-28  Akim Demaille  <akim@epita.fr>
9305         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
9306         * m4/lispdir.m4: New.
9307         * aclocal.m4, configure.ac: Adjust.
9309 2001-09-28  Akim Demaille  <akim@epita.fr>
9311         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
9312         (AT_TESTED): this.
9313         (AT_INIT): More the wrapped section to where it will be expanded.
9314         Output `AT_tested' only when existing.
9315         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
9317 2001-09-27  Akim Demaille  <akim@epita.fr>
9319         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
9320         generates too many bug reports.
9322         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
9323         status when executing the ACTION-IF-FALSE.
9324         * tests/base.at (AC_TRY_*): Rename as...
9325         (AC_TRY_COMMAND): this.
9326         (AC_RUN_IFELSE): New.
9327         * tests/compile.at (Extensions, C keywords)
9328         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
9329         (Broken/missing compilers, AC_PROG_CPP with warnings)
9330         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
9331         * tests/c.at (Extensions, C keywords)
9332         (Broken/missing compilers, AC_PROG_CPP with warnings)
9333         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
9334         (AC_PROG_CPP requires AC_PROG_CC): here and...
9335         * tests/fortran.at (GNU Fortran 77): there.
9336         * doc/autoconf.texi (autoconf Invocation): Fix the example:
9337         AC_TRY_RUN is about compilation, not shell commands.
9338         (Test Programs): AC_TRY_RUN works as used to be advertised.
9340 2001-09-27  Akim Demaille  <akim@epita.fr>
9342         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
9343         Raja R Harinath:
9344         Be sure to detect when $LINENO always returns the same value.
9345         Look for the original script, basename($0) is certainly not
9346         enough.
9347         Pass the CLI arguments to `$as_me.lineno'.
9349 2001-09-25  Akim Demaille  <akim@epita.fr>
9351         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
9352         Be sure the close and reopen the LOG fd before and after using tee
9353         to extend the log.
9354         <at_tests_pattern>: Adjust to the new format of at_help_all.
9356 2001-09-23  Akim Demaille  <akim@epita.fr>
9358         * bin/autom4te.in (parse_args): There can be several invocations
9359         of --language now.
9361 2001-09-23  Akim Demaille  <akim@epita.fr>
9363         * doc/autoconf.texi (Top): Wrap in @ifnottex.
9365 2001-09-23  Akim Demaille  <akim@epita.fr>
9367         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
9368         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
9369         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
9370         builddir, buildpath, top_builddir, and top_buildpath.
9371         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
9372         the current directory.
9373         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
9374         variables *before* changing the current directory.
9375         Skip nonexistent dirs.
9376         * doc/autoconf.texi (Preset Output Variables): Document these
9377         variables.
9379         * lib/autotest/general.m4: Do not reset AT_victims.
9380         Don't compute at_srcdir nor at_top_srcdir.
9382         * tests/tools.at: Hence use top_srcdir.
9384         * tests/Makefile.am, tests/autoconf, tests/autoheader,
9385         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
9386         Remove.
9387         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
9388         * tests/wrapsh.in, tests/autoupdate.in: New.
9389         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
9390         * configure.ac: Build the position independent wrappers.
9392         * man/Makefile.am: Now that test wrappers are position
9393         independent, use them and drop dark envvar magic.
9395 2001-09-23  Akim Demaille  <akim@epita.fr>
9397         * doc/autoconf.texi (Common Shell Constructs): Rename as...
9398         (Programming in M4sh): this.
9399         Promote to @section.
9401 2001-09-23  Akim Demaille  <akim@epita.fr>
9403         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
9404         Pass $at_debug_args to the rerun test suite.
9405         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
9406         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
9407         From Paul Eggert.
9409 2001-09-23  Akim Demaille  <akim@epita.fr>
9411         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
9413 2001-09-23  Akim Demaille  <akim@epita.fr>
9415         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
9416         over-escaping.
9418 2001-09-23  Akim Demaille  <akim@epita.fr>
9420         * lib/Autom4te/General.pm (&debug): New.
9421         * bin/autom4te.in ($language): Move to...
9422         (parse_args): here.
9423         Handle --language in languages.
9424         * lib/autom4te.in (Automake-selections, Autoheader-selections)
9425         (Autoscan-selections): New.
9426         (Autoconf): Adjust.
9428 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
9430         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
9431         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
9432         to match current versions from CVS Automake.
9434 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
9436         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
9437         for $LINENO.
9439 2001-09-22  Akim Demaille  <akim@epita.fr>
9441         * lib/autoconf/autotest.m4: Create `package.m4'.
9442         * tests/Makefile.am (package.m4): Remove.
9444 2001-09-22  Akim Demaille  <akim@epita.fr>
9446         Rely on `$LINENO' when possible instead of `__oline__'.
9448         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
9449         `$LINENO' support replacement when not supported.
9450         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
9451         them explicitly to be sure they are not output before this section
9452         (via m4_require).  Cosmetic only.
9453         * lib/autoconf/c.m4, lib/autoconf/general.m4,
9454         * lib/autoconf/programs.m4: Replace all the occurrences of
9455         `__oline__' with `$LINENO'.
9456         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
9458 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
9460         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
9461         character (u: -> ue) in a code comment.
9462         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
9463         it works.
9465 2001-09-21  Akim Demaille  <akim@epita.fr>
9467         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
9468         Suggested by Jim Meyering.
9470 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9472         * lib/autoconf/programs.m4: Use extensions listed in
9473         $ac_executable_extensions when looking for programs.
9475 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9477         * lib/autoconf/general.m4: Fix a small Englisho.
9478         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
9479         setting up ac_dir_suffix and ac_top_builddir.
9480         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
9482 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9484         * doc/autoconf.texi (File System Conventions): Clarify the use of
9485         PATH_SEPARATOR.
9486         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
9487         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
9488         be used instead of ':'.
9489         * lib/autotest/general.m4: Replace occurrences of ':' in
9490         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
9492 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9494         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
9495         arguments.  Fixed a typo.
9497 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9499         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
9500         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
9502 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9504         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
9505         * bin/autoupdate.in: Ditto.
9506         * bin/autoheader.in: Reworded a few comments.
9507         * bin/autoconf.in: Reworded help text for a few options.
9508         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9509         * bin/autoscan.in, bin/autoupdate.in: Ditto.
9511 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9513         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
9514         already have $file).  Set output files to binary mode (helps avoid
9515         CR issues on DOSish systems).
9517 2001-09-19  Akim Demaille  <akim@epita.fr>
9519         * lib/autotest/general.m4: Englishoes.
9520         From Tim Van Holder and Alexey Mahotkin.
9522 2001-09-18  Paul Eggert  <eggert@twinsun.com>
9524         * doc/autoconf.texi (Common Shell Constructs): New node,
9525         documenting AS_DIRNAME.
9526         (Limitations of Usual Tools): Refer to it when discussing dirname.
9527         Also, update discussion of POSIX standard to reflect latest draft.
9529         * lib/autoconf/c.m4:
9530         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
9532         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
9533         Do not pass a first argument with leading '-'
9534         to expr, by parenthesizing initial integers that might be negative.
9536         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
9537         now merely checks whether it is an error to pass an argument
9538         to getpgrp.
9540         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
9541         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
9542         whether it is a (compile-time) error to pass an argument to
9543         getpgrp.  This simpler test supports the revised documentation,
9544         and is all that AC_FUNC_GETPGRP's users really need.
9546 2001-09-18  Akim Demaille  <akim@epita.fr>
9548         * doc/autoconf.texi (Limitations of Make) <$<>: New.
9550 2001-09-18  Akim Demaille  <akim@epita.fr>
9552         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
9553         `{}'.
9554         * lib/autotest/general.m4 (AT_INIT): Adjust.
9556 2001-09-18  Paul Wagland  <paul@wagland.net>
9558         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
9559         correctly.
9560         Add test for AS_BASENAME.
9561         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
9562         added test. It now correctly handles /1/2/3/, returning '3' not ''.
9563         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
9564         * tests/base.at: Fixed the expected responses. The old ones were
9565         one line out...
9566         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
9567         the documentation claims it should (and how it behaved in 2.13).
9569 2001-09-18  Akim Demaille  <akim@epita.fr>
9571         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
9572         the AC_CONFIG_COMMANDS invocation.
9573         This also solves the name clash problems.
9574         Don't set the package's ID.
9575         * lib/m4sugar/Makefile.am (version.m4): Revamp.
9576         No longer to be shipped.
9577         (version.in): Remove.
9578         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
9579         * lib/autoconf/status.m4: Adjust.
9580         Use `m4_PACKAGE_STRING'.
9581         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
9582         the only optional argument is the name of the test suite.
9583         Expect `package.m4' to define the package signature.
9584         * lib/autom4te.in (Autotest): Add `package.m4?'.
9585         * tests/Makefile.am (package.m4): New.
9586         * tests/suite.at: ifnames is a victim.
9588 2001-09-18  Akim Demaille  <akim@epita.fr>
9590         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
9591         AC_LIBSOURCE, AC_CONFIG_FILES.
9592         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
9593         program version string doesn't match the package's.
9594         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
9595         after `(cached)'.
9597 2001-09-17  Paul Eggert  <eggert@twinsun.com>
9599         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
9600         Allow expression to return any value that can fit into unsigned long
9601         (not int, as before).  Check for output errors.
9603 2001-09-17  Bruno Haible  <haible@ilog.fr>
9605         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
9606         Always include <stdio.h> and <stdlib.h>. Evaluate
9607         the expression in an extra function before these includes. Call
9608         fprintf "%d" only after ensuring the argument is of type 'int'.
9609         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
9611 2001-09-17  Paul Eggert  <eggert@twinsun.com>
9613         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
9614         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
9615         fatal errors, and AC_CHECK_LIB causes it to include libraries even
9616         when they don't exist.
9618         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
9619         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
9620         need it.
9622         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
9623         version with the version used by fileutils 4.1, except use
9624         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
9625         we don't need it.
9627         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
9629 2001-09-13  Akim Demaille  <akim@epita.fr>
9631         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
9632         _first_.
9633         Reported by Gerrit P. Haase.
9635 2001-09-13  Akim Demaille  <akim@epita.fr>
9637         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
9638         m4_defn'ing is valid.
9640 2001-09-13  Akim Demaille  <akim@epita.fr>
9642         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
9643         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
9644         Use it.
9646 2001-09-13  Akim Demaille  <akim@epita.fr>
9648         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
9649         m4_match.
9650         (m4_re_escape): New.
9651         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
9652         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
9653         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
9654         Likewise.
9655         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
9656         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
9657         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
9658         AT_tests_all for consistency.
9659         Set at_victims.
9660         (AT_VICTIMS): Similar to AT_KEYWORDS.
9661         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
9663 2001-09-13  Akim Demaille  <akim@epita.fr>
9665         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
9667 2001-09-13  Akim Demaille  <akim@epita.fr>
9669         * lib/autotest/general.m4 (AT_INIT): Create and remove
9670         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
9671         test suites can cohabit.
9673 2001-09-13  Akim Demaille  <akim@epita.fr>
9675         * tests/mktests.sh: Don't output banners for empty test files.
9677 2001-09-13  Akim Demaille  <akim@epita.fr>
9679         Test suites can be run independently of configure.
9681         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
9682         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
9683         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
9684         ECHO_N etc.
9685         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
9686         and at_c.
9687         * lib/autotest/general.m4: Use ECHO_*.
9689 2001-09-13  Akim Demaille  <akim@epita.fr>
9691         * bin/ifnames.in: Rewrite in Perl.
9692         * configure.ac: Don't look for AWK.
9693         * tests/tools.at (AWK portability): Remove.
9694         (Syntax of the shell scripts): Don't check ifnames.
9695         (AT_CHECK_PERL_SYNTAX): New.
9696         (Syntax of the Perl scripts): Check ifnames.
9697         * tests/ifnames: New.
9699 2001-09-13  Akim Demaille  <akim@epita.fr>
9701         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
9702         test group titles.
9703         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
9704         Remove all the other keywords.
9706 2001-09-10  Akim Demaille  <akim@epita.fr>
9708         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
9709         SETUP: no longer used.
9710         Support -k, --keywords.
9711         <at_help>: Be `no', `short', or `long'.
9712         <at_help_all>: New variable.
9713         (AT_KEYWORDS): New.
9714         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
9715         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
9716         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
9717         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
9718         No longer fill the HELP diversion.
9719         (AT_CLEANUP): Use them.
9720         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
9721         (m4_list_append): Remove.
9723         Spread a few keywords in the Autoconf test suite.
9725 2001-09-10  Akim Demaille  <akim@epita.fr>
9727         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
9728         PATH_SEPARATOR, let M4sh compute it.
9729         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
9730         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
9731         Move to...
9732         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
9733         Simplify when the path is not a literal.
9734         (AS_UNAME): Use it to report PATH.
9735         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
9736         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
9737         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
9738         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
9739         normalize the path, and to look for victims.
9740         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
9741         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
9743 2001-09-07  Akim Demaille  <akim@epita.fr>
9745         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
9746         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
9747         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
9748         related variables into `at_package_*'.
9749         * lib/autotest/general.m4 (AT_VICTIMS): New.
9750         (AT_INIT): Adjust for stand-alone/embedded test suites.
9751         (AS_MESSAGE_LOG_FD): Define and use it.
9752         * tests/suite.at (AT_VICTIMS): Use it.
9753         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
9754         at_version.
9756 2001-09-07  Akim Demaille  <akim@epita.fr>
9758         Move toward possibly stand-alone test suites.
9760         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
9761         in addition, it introduces useless differences in logs.
9762         (AT_INIT): Let atconfig and atlocal be both optional.
9763         Adjust PATH computation.
9764         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
9766 2001-09-07  Akim Demaille  <akim@epita.fr>
9768         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
9769         m4sugar/version.m4.
9771 2001-09-05  Akim Demaille  <akim@epita.fr>
9773         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
9774         to avoid GCC warnings.
9775         From Uwe Seimet.
9777 2001-09-05  Akim Demaille  <akim@epita.fr>
9779         * bin/autom4te.in: --language is -l, not -s.
9781 2001-09-05  Akim Demaille  <akim@epita.fr>
9783         Be ready to handle filenames as stupid as `dnl.at', for if even
9784         the maintainer is dumb enough to do that...
9786         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
9787         excellence in M4 quotation: consider `__file__' is active.
9789         And BTW, when invoking m4, pass the --include in the right order:
9790         the wrong one.
9792         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
9793         4m.
9795 2001-09-05  Akim Demaille  <akim@epita.fr>
9797         * lib/Autom4te/XFile.pm: New lib file.
9798         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
9799         * bin/autoheader.in: Use it.
9801 2001-09-05  Akim Demaille  <akim@epita.fr>
9803         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
9804         defined.
9806 2001-09-05  Akim Demaille  <akim@epita.fr>
9808         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
9809         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
9811         * bin/autoscan.in: Use `getopt' and `find_files' etc.
9812         Add -I, --include support.
9813         * doc/autoconf.texi (autoscan Invocation): Adjust.
9815 2001-09-05  Akim Demaille  <akim@epita.fr>
9817         CVS GNU M4 doesn't like `undefine(undefined)'.
9819         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
9820         New, extracted from main.
9821         Use IO::File wherever possible.
9822         (input.m4): Be constant, use -I instead of hard coding $tmp.
9823         Therefore be a quoted heredoc.
9824         Don't invoke `_au_disable', since ac was not loaded, but just
9825         `unm4.m4'.
9827 2001-08-31  Akim Demaille  <akim@epita.fr>
9829         Version 2.52d.
9831 2001-08-31  Akim Demaille  <akim@epita.fr>
9833         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
9834         previous patch.
9835         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
9837 2001-08-31  Akim Demaille  <akim@epita.fr>
9839         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
9840         serious problems handling heredocs in heredocs.
9841         Reported by Nicolas Joly.
9843 2001-08-31  Akim Demaille  <akim@epita.fr>
9845         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
9846         (Making testsuite Scripts): Update.
9848 2001-08-31  Akim Demaille  <akim@epita.fr>
9850         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
9852 2001-08-31  Akim Demaille  <akim@epita.fr>
9854         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
9855         (testsuite Scripts): There is no such thing as `atconfig.in'.
9856         And actually one diagram is missing: test suite runtime.
9858 2001-08-31  Akim Demaille  <akim@epita.fr>
9860         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
9861         inverse order.
9863 2001-08-31  Akim Demaille  <akim@epita.fr>
9865         * bin/autoupdate.in (@include): `installcheck' revealed the path
9866         to m4sugar was lacking!
9868 2001-08-31  Akim Demaille  <akim@epita.fr>
9870         * man/Makefile.am (.x.1): We really have to pass
9871         autom4te_perllibdir.
9873 2001-08-31  Akim Demaille  <akim@epita.fr>
9875         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
9876         debug scripts, in particular passing explicitly listed tests to
9877         run is stupid.
9879 2001-08-31  Akim Demaille  <akim@epita.fr>
9881         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
9882         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
9883         Use directly autom4te, not autoconf.
9884         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
9886 2001-08-31  Akim Demaille  <akim@epita.fr>
9888         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
9889         * bin/autoheader.in (%symbol): Strip arguments of macros.
9891 2001-08-31  Akim Demaille  <akim@epita.fr>
9893         * doc/autoconf.texi: Catch up -I, --include changes.
9895 2001-08-31  Akim Demaille  <akim@epita.fr>
9897         * bin/autom4te.in (&parse_args): Die on unknown languages.
9898         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
9899         need for autoconf.
9900         Promote --include over --macrodir and other obsolete options.
9902 2001-08-31  Akim Demaille  <akim@epita.fr>
9904         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
9905         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
9906         * bin/autom4te.in ($autoconf): Pass --force.
9907         `print $out' doesn't print `$_' but `$out'.
9908         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
9909         (autoheader): Pass --force since the test suite goes too fast for
9910         the time stamps.
9911         Adjust to the new autoheader messages.
9913 2001-08-31  Akim Demaille  <akim@epita.fr>
9915         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
9916         Check the completeness of the #template.
9917         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
9918         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
9919         invocation.
9921 2001-08-31  Akim Demaille  <akim@epita.fr>
9923         * lib/Autom4te/General.pm (&find_file, &update_file): New.
9924         * bin/autoupdate.in, bin/autoheader.in: Adjust.
9925         Drop AC_MACRODIR dead for real.
9926         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
9927         `autoheader: `config.hin' is created'.
9928         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
9930 2001-08-31  Akim Demaille  <akim@epita.fr>
9932         * bin/autoheader.in: Rewrite in Perl.
9933         * tests/autoheader: Adjust.
9935 2001-08-31  Akim Demaille  <akim@epita.fr>
9937         * bin/autoconf.in (--include, -I): New option.
9938         Map --localdir, --autoconf-dir onto it.
9939         Forward autom4te's options instead of interpreting them.
9940         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
9941         There is no such envvar since the inception of autom4te.cfg.
9942         * bin/autom4te.in (&parse_args): Uniquify `@include'.
9943         * bin/autoupdate.in: Adjust, and perform more control.
9944         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
9945         * tests/autoconf: Dittowise.
9947 2001-08-31  Akim Demaille  <akim@epita.fr>
9949         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
9950         * bin/autom4te.in (&find_file): Support `FILE?' standing for
9951         optionally `FILE'.
9952         Use -e, not -f, since /dev/null for instance is OK.
9953         (&parse_args): Adjust.
9954         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
9956 2001-08-31  Akim Demaille  <akim@epita.fr>
9958         * configure.ac: Also find tested executables in bin.
9959         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
9960         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
9961         installed peer executables, only PATH is allowed to resolve it.
9962         Pass `autoconf_dir' via options, not via invisible envvars.
9963         * lib/Autom4te/General.pm (&find_peer): Remove.
9964         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
9965         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
9966         * man/Makefile.am: Let help2man rely on PATH instead of trying to
9967         find the executables for it.
9968         * tests/Makefile.am: Major cleanup.  Too lazy to document...
9969         * tests/atlocal.in: Remove all the obscure envvar manipulations.
9970         We only need PERL.
9971         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
9972         indeed related to running the test suite, while passing
9973         --autoconf-dir and others is related to running non installed
9974         Autoconf executables.  So don't do that, leave it to...
9975         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
9976         * tests/autoscan: New.
9977         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
9978         refer to library files: rely on --language.
9980 2001-08-29  Akim Demaille  <akim@epita.fr>
9982         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
9983         s/--set/--language/.
9985 2001-08-29  Akim Demaille  <akim@epita.fr>
9987         * doc/autoconf.texi: Strip the @nodes.
9988         Suggested by Paul Eggert.
9989         (Initializing configure): Typo.
9991 2001-08-29  Akim Demaille  <akim@epita.fr>
9993         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
9994         Suggested by Paul Eggert.
9996 2001-08-29  Akim Demaille  <akim@epita.fr>
9998         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
9999         download in a tmp dir.
10001 2001-08-29  Akim Demaille  <akim@epita.fr>
10003         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
10004         case insensitive OSes out there :(
10005         From Tim Van Holder.
10007 2001-08-29  Akim Demaille  <akim@epita.fr>
10009         * lib/autom4te.in: New.
10010         * lib/Makefile.am (edit, autom4te.cfg): New.
10011         * bin/autom4te.in (BEGIN): Simplify.
10012         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
10013         (&load_configuration): New.  Use it.
10014         (&parse_args): Support --mode, --set, and --melt.
10015         * bin/autoconf.in: Simplify and adjust.
10016         * tests/Makefile.am (AUTOMAKE): Use --set.
10017         * tests/atlocal.in: Adjust.
10018         * BUGS: distcheck and check are weak.
10020 2001-08-29  Akim Demaille  <akim@epita.fr>
10022         * lib/autotest/general.m4: Use
10023                 foo=`(command) 2>/dev/null`
10024         not
10025                 foo=`command` 2>/dev/null
10026         (at-devnull): Rename as...
10027         (AT-devnull): this.
10028         (--clean): Remove AT-* files too.
10029         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
10030         Reported by Nicolas Joly.
10032 2001-08-28  Akim Demaille  <akim@epita.fr>
10034         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
10035         quotes inside single quotes.
10036         Reported by Nicolas Joly.
10038 2001-08-28  Kevin Ryde  <user42@zip.com.au>
10040         * doc/autoconf.texi (Function Portability): Mention C right shifts.
10042 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
10044         * lib/autotest/general.m4: Reword some messages.
10045         (AT_INIT): Check for the `times' builtin before using it.
10046         Support test ranges as arguments to the testsuite.
10047         Have -e imply -d as the help text suggested.
10049 2001-08-27  Akim Demaille  <akim@epita.fr>
10051         * Makefile.maint: Formatting changes.
10052         (do-po-update, po-update, cvs-update, update): New targets.
10053         (AMTAR): Remove.
10055 2001-08-27  Akim Demaille  <akim@epita.fr>
10057         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
10058         <at_cmd_line>: New.
10059         Pass it to debug-*.sh scripts.
10060         <AUTOTEST_PATH>: May contain absolute dir names.
10062 2001-08-27  Akim Demaille  <akim@epita.fr>
10064         * lib/autotest/general.m4 (AT_INIT): Log the command line.
10065         Support `VAR=VAL' as arguments.
10066         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
10067         may be set via the command line.
10069 2001-08-27  Akim Demaille  <akim@epita.fr>
10071         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
10072         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
10073         first the build dirs, then the src dirs.
10074         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
10076 2001-08-27  Akim Demaille  <akim@epita.fr>
10078         * lib/autotest/general.m4 (AT_INIT): Output the definition of
10079         at_data_files earlier.
10080         (--clean, -c): New option.
10081         * tests/Makefile.am: Use this option.
10083 2001-08-27  Akim Demaille  <akim@epita.fr>
10085         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
10086         `ac_top_builddir' to mimic Automake's vocabulary, which much more
10087         readable.
10088         Adjust callers.
10089         * doc/autoconf.texi (Configuration Actions): Document the vars
10090         available in commands.
10091         Emphasize the risks of collisions in init-cmds.
10093 2001-08-27  Akim Demaille  <akim@epita.fr>
10095         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
10096         (Initializing configure): this new node.
10098 2001-08-27  Akim Demaille  <akim@epita.fr>
10100         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
10102 2001-08-27  Akim Demaille  <akim@epita.fr>
10104         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
10105         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
10106         New file.
10107         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
10109 2001-08-27  Akim Demaille  <akim@epita.fr>
10111         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
10112         to...
10113         * lib/autoconf/autoheader.m4: this new file.
10114         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
10115         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
10116         Move to...
10117         * lib/autoconf/autoupdate.m4: this new file.
10119 2001-08-27  Akim Demaille  <akim@epita.fr>
10121         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
10122         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
10123         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
10124         -> ac_dir).
10125         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
10126         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
10128 2001-08-27  Akim Demaille  <akim@epita.fr>
10130         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
10131         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
10132         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
10133         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
10134         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
10135         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
10136         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
10137         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
10138         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
10139         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
10140         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
10141         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
10142         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
10143         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
10144         (_AC_OUTPUT_SUBDIRS): Move to...
10145         * lib/autoconf/status.m4: this new file.
10146         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
10147         * tests/Makefile.am, tests/suite.at: Adjust.
10149 2001-08-27  Akim Demaille  <akim@epita.fr>
10151         Automake 1.5.
10153         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
10154         (AMTAR): Help automake define it.
10155         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
10156         needed, 1.5 can have a macro and a target with the same name.
10157         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
10158         * m4/strip.m4: New.
10159         * m4/init.m4, m4/sanity.m4: Update.
10160         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
10161         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
10162         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
10163         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
10165 2001-08-27  Akim Demaille  <akim@epita.fr>
10167         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
10169         * lib/autoconf/version.in: Remove.
10170         * lib/m4sugar/version.in: New.
10171         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
10172         Adjust callers.
10173         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
10174         the name of the directory they're in, instead of the filename,
10175         since version.m4 is now in m4sugar, but m4_acversion must not be
10176         classified as an Autoconf macro.
10177         ($input_m4): Don't qualify the path to m4sugar.
10178         Rather, pass autoconf_dir to m4.
10179         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
10180         * tests/suite.at: Require 2.52c.
10182 2001-08-27  Akim Demaille  <akim@epita.fr>
10184         testsuite.log should include config.log.
10186         * lib/autotest/autotest.m4: New.
10187         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
10188         * tests/suite.at : Adjust.
10189         (AT_INIT): Log config.log.
10190         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
10191         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
10192         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
10193         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
10194         of config.log on traps.
10195         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
10196         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
10197         for config.status'.
10198         Open the log as soon as possible.
10199         Use the same log introduction as configure's.
10201 2001-08-22  Paul Eggert  <eggert@twinsun.com>
10203         * doc/autoconf.texi (Indices): New node.
10204         Move indices out of the top level menu and into this submenu.
10206 2001-08-22  Akim Demaille  <akim@epita.fr>
10208         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10209         AC_TRY_COMMAND.
10210         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
10212 2001-08-22  Akim Demaille  <akim@epita.fr>
10214         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
10215         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
10216         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
10217         * lib/autoconf/programs.m4: here.
10218         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
10219         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
10220         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
10221         * lib/autoconf/programs.m4: here.
10222         (_AC_DECL_YYTEXT): Rename as...
10223         (_AC_PROG_LEX_YYTEXT_DECL): this.
10224         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
10225         * tests/Makefile.am, tests/suite.am: Adjust.
10227 2001-08-22  Akim Demaille  <akim@epita.fr>
10229         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
10230         Move to...
10231         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
10232         here.
10233         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
10234         * lib/autoconf/functions.m4: here.
10235         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
10236         (AH_CHECK_LIB): Move to...
10237         * lib/autoconf/libs: this new file.
10238         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
10239         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
10240         * lib/autoconf/libs.m4: here.
10241         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
10243 2001-08-22  Akim Demaille  <akim@epita.fr>
10245         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
10246         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
10247         (AC_SITE_LOAD): Better logging of config.site.
10249 2001-08-20  Akim Demaille  <akim@epita.fr>
10251         * configure.ac (AT_CONFIG): Fix the path.
10252         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
10253         can be used.
10255 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
10257         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
10258         program with AC_LANG_PROGRAM before feeding it to
10259         AC_COMPILE_IFELSE.  Cleanup grep usage.
10261 2001-08-20  Akim Demaille  <akim@epita.fr>
10263         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
10264         * NEWS, README, README-alpha, TODO, tests/README: This package is
10265         `Autoconf', not `autoconf' (the executable).
10267 2001-08-20  Akim Demaille  <akim@epita.fr>
10269         Info readers seem to need `Index' in the index node title :(
10271         * doc/autoconf.texi: Reverse the 2001-08-15 change which
10272         simplified index node names.
10274 2001-08-20  Akim Demaille  <akim@epita.fr>
10276         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
10277         arguments are not literals.
10278         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
10279         Specify the output variables, and macros defined.
10281 2001-08-20  Akim Demaille  <akim@epita.fr>
10283         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
10284         (Examining Syntax) <AC_TRY_COMPILE>
10285         (Examining Libraries) <AC_TRY_LINK>
10286         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
10287         their arguments.
10288         Reported by Werner Lemberg.
10290 2001-08-20  Akim Demaille  <akim@epita.fr>
10292         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
10293         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
10294         Load atlocal late enough to dump it in the log.
10295         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
10297 2001-08-20  Akim Demaille  <akim@epita.fr>
10299         * tests/torture.at (Configuring subdirectories): New test.
10300         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
10301         looking for.
10302         * m4/atconfig.m4: Be sure the let $[0] be expandable.
10303         (top_srcdir): Fix its computation.
10305 2001-08-20  Akim Demaille  <akim@epita.fr>
10307         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
10308         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
10309         test suite lives.
10310         Create `atconfig' automagically.
10311         Configure atlocal.in if present.
10312         * tests/atconfig.in: Remove.
10313         * tests/atlocal.in: New.
10314         * tests/Makefile.am: Adjust.
10316 2001-08-20  Akim Demaille  <akim@epita.fr>
10318         Huh!?!?!  There are still some user EOF tags used, which prevents
10319         their use in AC_CONFIG_COMMANDS for instance...
10321         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
10322         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
10323         `_CSEOF', or `_ATEOF', as appropriate.
10324         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
10325         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
10327 2001-08-20  Akim Demaille  <akim@epita.fr>
10329         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
10330         * tests/semantics.at, tests/tools.at, tests/torture.at:
10331         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
10333 2001-08-20  Akim Demaille  <akim@epita.fr>
10335         Autotest invokes M4sh's initialization.
10337         * lib/autotest/general.m4: Adjust the diversion names.
10338         (AT_INIT): Run AS_INIT.
10339         Use the BINSH diversion to invoke /bin/sh.
10340         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
10341         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
10343 2001-08-20  Akim Demaille  <akim@epita.fr>
10345         Let M4sh have its own diversions.
10347         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
10348         (_m4_divert(NOTICE)): Rename as...
10349         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
10350         (_m4_divert(HEADER-COMMENT)): these.
10351         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
10352         (_m4_divert(NOTICE)): New, for Libtool.
10353         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
10354         long ago with `_m4_divert(GROW)'.
10355         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
10357 2001-08-20  Akim Demaille  <akim@epita.fr>
10359         * tests/base.at, tests/compile.at, tests/foreign.at,
10360         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
10361         * tests/semantics.at, tests/suite.at, tests/tools.at,
10362         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
10364 2001-08-20  Akim Demaille  <akim@epita.fr>
10366         * bin/autom4te.in (handle_output): Handle @__@.
10368 2001-08-20  Akim Demaille  <akim@epita.fr>
10370         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
10371         * lib/autotest/general.m4: Adjust the license.
10373 2001-08-17  Paul Eggert  <eggert@twinsun.com>
10375         * doc/autoconf.texi (Function Portability): Mention snprintf,
10376         following up on a suggestion by Kevin Ryde.
10378 2001-08-17  Akim Demaille  <akim@epita.fr>
10380         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
10381         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
10383 2001-08-17  Akim Demaille  <akim@epita.fr>
10385         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
10386         `$0.log' as for projects where testsuite is in src, we'd have
10387         testsuite.log created in src.
10389 2001-08-17  Akim Demaille  <akim@epita.fr>
10391         * bin/autom4te.in (&parse_args): Recognize --normalize.
10393 2001-08-17  Akim Demaille  <akim@epita.fr>
10395         Start implementing the AC_CHECK_HEADER transition scheme.
10397         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
10398         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
10399         (AC_CHECK_HEADER): Use them.
10401 2001-08-17  Akim Demaille  <akim@epita.fr>
10403         * doc/autoconf.texi: Work around Texinfo buglets.
10404         (Transformation Rules): One example is enough, users are expected
10405         to have their brains on. And BTW, use DESTDIR.
10406         (dvar): New macro.  Use it.
10408 2001-08-17  Akim Demaille  <akim@epita.fr>
10410         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
10411         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
10412         looking for ChangeLogs.
10414 2001-08-17  Akim Demaille  <akim@epita.fr>
10416         * bin/autom4te.in: --normalize is a new option.
10417         * bin/autoconf.in: Use it.
10419 2001-08-17  Akim Demaille  <akim@epita.fr>
10421         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
10422         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
10424 2001-08-16  Paul Eggert  <eggert@twinsun.com>
10426         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
10427         start, not at end.
10429 2001-08-15  Akim Demaille  <akim@epita.fr>
10431         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
10432         Use it.
10434 2001-08-15  Akim Demaille  <akim@epita.fr>
10436         * doc/autoconf.texi (pr): New index.
10437         (prindex, findex): Use, merge, and output them.
10438         (Environment Variable Index, Output Variable Index)
10439         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
10440         (Autotest Macro Index): Rename as...
10441         (Environment Variables, Output Variables,Preprocessor Symbols)
10442         (Autoconf Macros, M4 Macros, Autotest Macros): these.
10443         * doc/install.texi: Use @command.
10444         (Environment Variables): Rename as...
10445         (Defining Variables): this.
10447 2001-08-15  Akim Demaille  <akim@epita.fr>
10449         * doc/autoconf.texi (Function Portability): sprintf's return
10450         value.
10451         From Kevin Ryde.
10453 2001-08-15  Akim Demaille  <akim@epita.fr>
10455         * Makefile.maint (CVS): New.
10456         (local-check): Run changelog-check. last.
10457         (alpha): Don't depend upon local-check, since...
10458         (cvs-dist): depends upon it.
10460 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
10462         * tests/Makefile.am: Use a clean-local rule to remove
10463         autom4te.cache (it's a directory, not a file.
10464         * Makefile.am: Ditto (but maintainer-clean-local).
10466 2001-08-15  Akim Demaille  <akim@epita.fr>
10468         * bin/autom4te.in (@m4_warning): New.
10469         (&handle_m4): Use it.
10470         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
10471         warnings are issued at each run.
10472         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
10473         is in the src tree.
10475 2001-08-15  Akim Demaille  <akim@epita.fr>
10477         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
10478         don't waste time running `autoupdate --version' works.
10479         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
10481 2001-08-13  Akim Demaille  <akim@epita.fr>
10483         * doc/autoconf.texi (ma): Rename this index as...
10484         (ac): this.
10486 2001-08-13  Akim Demaille  <akim@epita.fr>
10488         * Makefile.am: Remove dead code and dead comments.
10489         (pdf, html): New targets.
10490         * doc/autoconf.texi (Using Autotest): New chapter.
10491         * doc/Makefile.am (pdf): New targets.
10492         (CLEANFILES): Adjust.
10494 2001-08-13  Akim Demaille  <akim@epita.fr>
10496         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
10497         duration of the test suite.
10499 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
10501         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
10502         endianness for comparison instead of relying on AT_CHECK_ENV.
10504 2001-08-11  Paul Eggert  <eggert@twinsun.com>
10506         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
10507         to the INSTALL file.
10509 2001-08-11  Paul Eggert  <eggert@twinsun.com>
10511         * NEWS: The autoconf manual now is distributed under the terms
10512         of the GNU Free Documentation License.
10514         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
10515         Add an appendix "Copying This Manual" for the FDL.
10517         * doc/fdl.texi: New file, from
10518         <http://www.gnu.org/licenses/fdl.texi>.
10520         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
10522 2001-08-10  Paul Eggert  <eggert@twinsun.com>
10524         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
10525         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
10526         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
10527         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
10528         m4/sanity.m4, tests/README, tests/aclocal.m4,
10529         tests/atspecific.m4, tests/base.at, tests/compile.at,
10530         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
10531         tests/semantics.at, tests/suite.at, tests/tools.at,
10532         tests/torture.at: Add copyright notice.
10534         * tests/mktests.sh: Update year in copyright notice.
10536 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
10538         * tests/semantics.at (AC_C_BIGENDIAN): New test.
10540 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
10542         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
10543         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
10544         * doc/autoconf.texi (C Compiler Characteristics): Update
10545         documentation for AC_C_BIGENDIAN.
10547 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
10549         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
10550         magic values from an object file when cross-compiling.
10551         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
10553 2001-08-10  Akim Demaille  <akim@epita.fr>
10555         * bin/autom4te.in (&handle_output): Don't use `grep' with side
10556         effects.
10557         Suggested by Russ Allbery.
10559 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
10561         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
10562         current $prefix to the sub-configures.
10564 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
10566         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
10567         extension (needed on BeOS).  Reported by Guido van Rossum.
10569 2001-08-09  Akim Demaille  <akim@epita.fr>
10571         * bin/autom4te.in ($icache): Load it only if older than autom4te.
10573 2001-08-07  Akim Demaille  <akim@epita.fr>
10575         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
10576         removed.
10577         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
10578         No need to remove the files before and after the each test, before
10579         each test and at the end of the suite is enough.
10580         Display only the children `times', not the shell's.
10581         If the test failed or was skipped, at-times is not available.
10583 2001-08-07  Akim Demaille  <akim@epita.fr>
10585         Always produce testsuite.log, including when there are no
10586         failures.  This helps getting information on skipped tests, and
10587         duration of the tests.  Err, implement the latter btw.
10589         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
10590         Dump information on the first run of each test.
10591         (AT_CLEANUP): Create `at-times' containing the duration of the
10592         test group.
10594 2001-08-07  Akim Demaille  <akim@epita.fr>
10596         The use of `dumpstat' revealed that `len' was used although it
10597         should not.  m4_text_wrap was using it, but in the Autoconf world
10598         where it is legal.  Hence (i) test M4sh in its own world, not
10599         Autoconf's, and (ii), ahem, fix the bug :)
10601         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
10602         does not like `' instead of [].
10603         (AT_INIT): Forbid `^_?AT_'.
10604         And don't output such tokens.
10605         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
10606         `script.as', and `autom4te.cache'.
10607         Remove `empty' and `macro' which are no longer used.
10608         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
10609         * tests/m4sugar.at: Use it.
10610         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
10612 2001-08-07  Akim Demaille  <akim@epita.fr>
10614         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
10616 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
10618         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
10620 2001-08-04  Akim Demaille  <akim@epita.fr>
10622         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
10623         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
10624         AC_TRY_LINK.
10625         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
10626         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
10627         (AC_F77_MAIN): Likewise.
10629 2001-08-04  Akim Demaille  <akim@epita.fr>
10631         Don't rely on M4sugar outputting the patterns in files, since we
10632         might process the output _without_ running m4, hence without these
10633         files.
10635         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
10636         * bin/autom4te.in (@Request::includes): Remove, unused.
10637         (@Request::source): Rename as...
10638         (@Request::input): this.
10639         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
10640         (&handle_output): Fetch the patterns from the traces.
10641         `$forbidden' and `$allowed' are constant: use m//o.
10642         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
10643         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
10645 2001-08-04  Akim Demaille  <akim@epita.fr>
10647         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
10648         autoconf', i.e., in addition to caching traces, cache the output.
10650         * bin/autom4te.in (Request::cache): Rename as...
10651         (Request::id): this.
10652         ($cache, $icache, $tcache, $ocache): New.
10653         (&handle_m4): Save M4 output in the cache instead of $tmp.
10654         (&handle_output): Adjust.
10655         (&up_to_date_p): Check that the output cache is up to date too.
10656         (top level): Run `&handle_m4' iff force or the cache is invalid.
10657         Run `&handle_output' if the output cache is more recent.
10659 2001-08-04  Akim Demaille  <akim@epita.fr>
10661         * bin/autom4te.in ($force): New.
10662         (&parse_args, &print_usage): -f, --force is a new option.
10663         (&handle_output): CPP directives might have spaces after `#'.
10664         (&parse_args): The first file only can be frozen.
10666 2001-08-04  Akim Demaille  <akim@epita.fr>
10668         Don't let autom4te compute the `include' traces several times:
10669         first check that the trace cache file is up to date, and then
10670         compare its timestamp with that of the output.
10672         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
10673         the preamble.  Don't require 5.005 as Autom4te::General does it,
10674         and better yet (use `use', not `require'!).
10675         * lib/Autom4te/Struct.pm: Rename the last occurrences of
10676         Class::Struct as Autom4te::Struct.
10677         * lib/Autom4te/General.pm (File::stat): Use it.
10678         (&mtime): New, export it.
10679         * bin/autom4te.in: Use it.
10680         Declare `$req' is invalid if it is outdated.
10681         Don't declare it valid before saving it if something went wrong.
10683 2001-08-04  Akim Demaille  <akim@epita.fr>
10685         Autom4te shall not encode Autoconf data, and preselecting traces
10686         must be proposed to the users.
10688         * bin/autom4te.in (@required_trace): Remove.
10689         (@preselect): New.
10690         (&parse_args, &print_usage): -p, --preselect is a new option.
10691         (&up_to_date_p): Adjust.
10692         * bin/autoconf.in: Preselect some Autoconf macros.
10694 2001-08-04  Akim Demaille  <akim@epita.fr>
10696         * tests/tools.at (autoconf --trace: user macros): Check traces on
10697         macros invoked without arguments, and macros invoked with multiple
10698         lines arguments.
10700 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
10702         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
10703         arguments.
10705 2001-08-03  Akim Demaille  <akim@epita.fr>
10707         * bin/autoconf.in ($@): Work around the usual sh bug.
10708         From Nicolas Joly.
10710 2001-08-03  Akim Demaille  <akim@epita.fr>
10712         Clean up the handling of the M4 builtins tracing exception.
10714         * bin/autom4te.in (Request::request): Don't complete M4 builtins
10715         trace requests.
10716         (@m4_builtins): Rename as...
10717         (@m4_builtin): this.
10718         (%m4_builtin_alternate_name): New.
10719         (&parse_args): Complete the trace requests with alternate names.
10720         (&handle_traces): Hence no longer do it here.
10721         (&trace_requests): Remove, unused.
10723 2001-08-03  Akim Demaille  <akim@epita.fr>
10725         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
10726         m4_if, and m4_wrap.
10728 2001-08-03  Akim Demaille  <akim@epita.fr>
10730         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
10731         (m4_divert_pop): Dump the whole diversion stack when a diversion
10732         mismatch happens.
10733         * bin/autom4te.in (&handle_output): Remember of the first
10734         occurrence of a possibly undefined macro, not the last.
10735         Complain about the possibly undefined macros in the same order as
10736         the appear in the output.
10737         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
10738         * tests/tools.at (autoconf: forbidden tokens, basic)
10739         (autoconf: forbidden tokens, exceptions): No longer sort
10740         autoconf's stderr, as it is now deterministic.
10741         Check that `dnl' is caught.
10743 2001-08-01  Akim Demaille  <akim@epita.fr>
10745         * configure.ac: Bump to 2.52c.
10747 2001-08-01  Akim Demaille  <akim@epita.fr>
10749         Version 2.52b.
10751         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
10753 2001-08-01  Akim Demaille  <akim@epita.fr>
10755         Version 2.52a.
10757 2001-08-01  Akim Demaille  <akim@epita.fr>
10759         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
10760         `die'.
10761         (&END): New.
10762         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
10763         `END', as `Autom4te::General::END' will be triggered.
10764         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
10765         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
10766         system to run `mv', `rm', and `cmp'.
10768 2001-08-01  Akim Demaille  <akim@epita.fr>
10770         * lib/Autom4te/General.pm (&unique): New.
10771         * bin/autoscan.in (&output): Use it to issue trace requests once.
10773 2001-08-01  Akim Demaille  <akim@epita.fr>
10775         * lib/Autom4te/General.pm: New.
10776         * bin/autom4te.in (Autom4te::General): Use it.
10777         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
10778         (&find_configure_ac, &find_slave): Remove.
10779         * bin/autoscan.in: Likewise.
10780         * bin/autoupdate.in: Likewise.
10782 2001-08-01  Akim Demaille  <akim@epita.fr>
10784         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
10785         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
10786         * bin: here, new directory.
10787         * lib/Autoconf: Rename as...
10788         * lib/Autom4te: this, to please case insensitive junkie OSes.
10790 2001-08-01  Akim Demaille  <akim@epita.fr>
10792         * autom4te.in ($m4): Handle the --nesting-limit.
10793         * autoconf.in (M4): Remove.
10795 2001-08-01  Akim Demaille  <akim@epita.fr>
10797         * autoconf.in ($AWK): Remove, no longer used.
10798         * test/tools.at: Use AT_CHECK_AUTOCONF.
10799         (AWK portability): Remove, for autoconf no longer uses AWK.
10800         (Syntax of the Perl scripts): New.
10801         * configure.ac: autoconf no longer needs an AWK with a good
10802         regexp engine.
10803         Use a static test on AC_PACKAGE_VERSION.
10804         * autom4te.in (&up_to_date_p): Output depends on the arguments.
10805         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
10806         * tests/atconfig.in (PERL): New.
10808 2001-08-01  Akim Demaille  <akim@epita.fr>
10810         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
10811         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
10812         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
10813         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
10814         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
10815         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
10816         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
10817         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
10818         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
10819         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
10820         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
10821         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
10822         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
10823         * lib/autoconf/c.m4: here, new file.
10825         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
10826         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
10827         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
10828         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
10829         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
10830         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
10831         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
10832         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
10833         (AC_F77_FUNC): Move to...
10834         * lib/autoconf/fortran.m4: here, new file.
10836 2001-08-01  Akim Demaille  <akim@epita.fr>
10838         * acfunctions.m4: Rename as...
10839         * lib/autoconf/functions.m4: this.
10840         * acgeneral.m4: Rename as...
10841         * lib/autoconf/general.m4: this.
10842         * acheaders.m4: Rename as...
10843         * lib/autoconf/headers.m4: this.
10844         * aclang.m4: Rename as...
10845         * lib/autoconf/lang.m4: this.
10846         * acoldnames.m4: Rename as...
10847         * lib/autoconf/oldnames.m4: this.
10848         * acspecific.m4: Rename as...
10849         * lib/autoconf/specific.m4: this.
10850         * actypes.m4: Rename as...
10851         * lib/autoconf/types.m4: this.
10852         * autoconf.m4: Rename as...
10853         * lib/autoconf/autoconf.m4: this.
10855         * m4sugar.m4: Rename as...
10856         * lib/m4sugar/m4sugar.m4: this.
10857         * m4sh.m4: Rename as...
10858         * lib/m4sugar/m4sh.m4: this.
10860         * tests/atgeneral.m4: Rename as...
10861         * lib/autotest/general.m4: this.
10863         * acfunctions: Rename as...
10864         * lib/autoscan/functions: this.
10865         * acheaders: Rename as...
10866         * lib/autoscan/headers: this.
10867         * acidentifiers: Rename as...
10868         * lib/autoscan/identifiers: this.
10869         * aclibraries: Rename as...
10870         * lib/autoscan/libraries: this.
10871         * acmakevars: Rename as...
10872         * lib/autoscan/makevars: this.
10873         * acprograms: Rename as...
10874         * lib/autoscan/programs: this.
10876 2001-08-01  Akim Demaille  <akim@epita.fr>
10878         * doc/autoconf.texi: Moving/deleting open files is not portable.
10879         Portability issues for `.' (source), and more information about sed.
10881 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
10883         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
10884         which has a special meaning and is not a reference to libibmil.a.
10885         Reported by Matteo Frigo.
10887 2001-07-25  Pavel Roskin  <proski@gnu.org>
10889         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
10890         output.
10892 2001-07-25  Akim Demaille  <akim@epita.fr>
10894         * autoconf.in: Try to define the variables before using them.
10895         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
10896         instead of `$perllibdir'.
10897         * tests/atconfig.in ($autom4te_perllibdir): Export it.
10899 2001-07-25  Akim Demaille  <akim@epita.fr>
10901         * autoconf.in (ac_LF_and_DOT): Remove, unused.
10903 2001-07-24  Akim Demaille  <akim@epita.fr>
10905         Let autoconf use autom4te for traces.
10907         * autoconf.in ($task, task trace): Remove, merely pass --trace to
10908         autom4te.
10909         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
10910         (Because I found no way for autom4te to accept `-').
10911         * autom4te.in (&Request::request): Beware of M4 builtins.
10912         (END): Don't try to remove the content of an empty dir.
10913         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
10914         (&handle_output): Set a default value to `$forbidden'.
10915         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
10916         ($autoconf): Pass --debug and --verbose.
10917         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
10918         cache.
10920 2001-07-24  Akim Demaille  <akim@epita.fr>
10922         Let autoconf use autom4te to create configure.
10924         * autoconf.in ($automate): New var.
10925         (task script): Use autom4te.
10926         * autom4te.in (File::Spec): Use it.
10927         (&find_file): New.
10928         (&parse_args): --warning is -W, not -w.
10929         Find the top level files.
10930         (&handle_m4): Pass the warnings flags.
10931         Don't report verbosely m4's failures, unless requested.
10932         (&handle_output): Don't complain for forbidden tokens in comments.
10933         Be sure to report all the forbidden tokens within a single line.
10934         (&trace_format_to_m4): Preserve `$_'.
10935         (&handle_traces): Sort the output macros.
10936         (&up_to_date_p): Find the files before trying to get its time stamp.
10938 2001-07-24  Akim Demaille  <akim@epita.fr>
10940         * Makefile.am: Ship, build and install Autom4te.
10941         (SUBDIRS): Add lib.
10942         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
10943         * configure.in: Require Perl.
10944         * man/autom4te.in: New.
10946 2001-07-19  Paul Eggert  <eggert@twinsun.com>
10948         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
10949         example, rather than (exit 1); exit (which isn't portable).
10951 2001-07-18  Akim Demaille  <akim@epita.fr>
10953         Version 2.52.
10955 2001-07-18  Akim Demaille  <akim@epita.fr>
10957         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
10958         was run, while they are needed also when it is expanded.
10959         Reported by Nicolas Joly.
10961         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
10962         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
10963         AC_F77_DUMMY_MAIN being expanded.
10965 2001-07-18  Akim Demaille  <akim@epita.fr>
10967         * configure.in: Bump to 2.51a.
10969 2001-07-17  Akim Demaille  <akim@epita.fr>
10971         Version 2.51.
10973 2001-07-17  Akim Demaille  <akim@epita.fr>
10975         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
10976         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
10978 2001-07-17  Akim Demaille  <akim@epita.fr>
10980         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
10981         used.  Well, then use the prototypes when you can, and runtime as
10982         a last resort.
10983         Reported by Artur Frysiak
10985         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
10986         (AC_FUNC_GETPGRP): Use it.
10987         First try to compile with 0-ary or 1-ary calls.
10989 2001-07-17  Akim Demaille  <akim@epita.fr>
10991         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
10992         replacement type.
10993         From Paul Eggert.
10995 2001-07-17  Akim Demaille  <akim@epita.fr>
10997         * Makefile.maint: Sync. with cppi 1.10.
10999 2001-07-17  Akim Demaille  <akim@epita.fr>
11001         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
11002         AC_F77_DUMMY_MAIN has been run.
11003         From Pavel Roskin and Steven G. Johnson.
11005 2001-07-17  Akim Demaille  <akim@epita.fr>
11007         * configure.in: Rename as...
11008         * configure.ac: this.
11010 2001-07-17  Akim Demaille  <akim@epita.fr>
11012         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
11013         rules.
11014         From Marc Espie.
11015         * Makefile.maint (release-archive-dir): Rename as...
11016         (release_archive_dir): this, so that it can be specialized in
11017         Makefile.
11019 2001-07-14  Akim Demaille  <akim@epita.fr>
11021         * configure.in: Bump to 2.50d.
11023 2001-07-14  Akim Demaille  <akim@epita.fr>
11025         Version 2.50c.
11026         * Makefile.maint (alpha): Typo.
11028 2001-07-14  Akim Demaille  <akim@epita.fr>
11030         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
11032 2001-07-14  Akim Demaille  <akim@epita.fr>
11034         * config/config.guess, config/config.sub, config/texinfo.tex
11035         * doc/standards.texi, doc/make-stds.texi: Update.
11037 2001-07-14  Akim Demaille  <akim@epita.fr>
11039         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
11041 2001-07-14  Akim Demaille  <akim@epita.fr>
11043         * Makefile.maint (maintainer-check): Rename as...
11044         (maintainer-distcheck): this.
11045         (changelog-check, static-check): New.
11046         Use them.
11048 2001-07-14  Kevin Ryde  <user42@zip.com.au>
11050         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
11051         for CXX is g++, not gcc.
11053 2001-07-14  Akim Demaille  <akim@epita.fr>
11055         * doc/autoconf.texi (Files): New subsection.
11057 2001-07-14  Akim Demaille  <akim@epita.fr>
11059         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
11060         of...
11061         (Generic Compiler Characteristics): this.
11062         (C++ Compiler): New subsection.
11064 2001-07-14  Akim Demaille  <akim@epita.fr>
11066         * autoscan.in: Use IO::File.
11067         Adjust all the routines to use it.
11068         ($log): New file (autoscan.log).
11069         (output): Dump detailed logs into $log, and a shortened version to
11070         stderr.
11071         (&scan_makefile): Refine the regexp catching tokens in the code.
11072         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
11073         and the `configure.ac' checking feature.
11075 2001-07-12  Akim Demaille  <akim@epita.fr>
11077         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
11078         Reported by Michael Elizabeth Chastain.
11080         * autoconf.in: Refuse such AWK.
11081         * configure.in: Likewise.
11082         * Makefile.am (acversion.m4): Do not use move-if-change this file
11083         has dependencies.
11084         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
11086 2001-07-10  Jens Petersen  <petersen@redhat.com>
11088         * autoscan.in (&scan_makefile): Improve programs regexp to parse
11089         things like "g++", "file.c" and "some-conf" as tokens.
11090         (&scan_file): Match C++ files extensions.
11091         If the filename extension is C++ then ask for c++.
11093 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
11095         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
11096         AC_TRY_LINK_FUNC, to check whether defining a dummy
11097         main-like routine is needed for linking with F77 libs.
11099 2001-07-05  Pavel Roskin  <proski@gnu.org>
11101         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
11102         after using break.
11103         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
11104         linking.
11106 2001-07-05  Akim Demaille  <akim@epita.fr>
11108         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
11109         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
11110         Makes' lives.
11111         Reported by Nicolas Joly.
11113 2001-07-04  Akim Demaille  <akim@epita.fr>
11115         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
11116         up.
11117         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
11118         warnings from compilers.
11119         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
11120         for all the compilers, not only GNU.  Hence move from here...
11121         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
11123 2001-07-04  Akim Demaille  <akim@epita.fr>
11125         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
11126         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
11127         AC_COMPILE_IFELSE.
11129 2001-07-04  Akim Demaille  <akim@epita.fr>
11131         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
11132         the ``strings.h'' change claimed below.
11134 2001-07-04  Akim Demaille  <akim@epita.fr>
11136         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
11138 2001-07-04  Akim Demaille  <akim@epita.fr>
11140         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
11141         strings.h if usable with string.h.
11142         Suggested by Paul Eggert.
11144 2001-07-04  Akim Demaille  <akim@epita.fr>
11146         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
11147         From Jens Petersen.
11149 2001-07-03  Akim Demaille  <akim@epita.fr>
11151         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
11152         etc. in the log.
11154 2001-07-03  Akim Demaille  <akim@epita.fr>
11156         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
11157         compiler, not the preprocessor.
11158         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
11159         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
11160         the right thing.
11161         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
11162         earlier if there are.
11164 2001-07-03  Akim Demaille  <akim@epita.fr>
11166         * autoscan.in ($initfile): Remove.
11167         (&find_file): Rename as...
11168         (&scan_file): this.
11169         Immediately scan the current file, instead of gathering them, and
11170         later having them handled by &scan_files.
11171         (&scan_files): Merely invoke Find::File.
11172         Adjust.
11174 2001-07-02  Akim Demaille  <akim@epita.fr>
11176         * autoscan.in: Formatting changes, matching the invocation order.
11177         (File::Find): Use it instead of Perl 4's `find.pl'.
11178         (&wanted): Rename as...
11179         (&find_file): this.
11181 2001-07-01  Pavel Roskin  <proski@gnu.org>
11183         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
11184         break in the argument to AC_TRY_LINK_FUNC.
11185         (AC_F77_MAIN): Remove conftest* after using break in the
11186         argument to AC_TRY_LINK.
11188 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
11190         Add alternate 'main' routine detection for linking C/C++ with Fortran,
11191         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
11193         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
11194         dummy alternate main is required even if the user provides her own
11195         'main'.
11196         (AC_F77_MAIN): New macro to detect whether it is possible to
11197         provide an alternate 'main' function name, using the 'main' from
11198         the Fortran libraries.
11199         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
11200         cross-language link tests can be performed successfully.
11201         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
11202         after $LIBS, for consistency; this should be the general rule since
11203         the user may want to link to Fortran libraries that require $FLIBS.
11204         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
11206 2001-06-29  Pavel Roskin  <proski@gnu.org>
11208         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
11209         at-stdout and at-stderr instead of removing the newline
11210         from the echo output, which is not guaranteed to work.
11212 2001-06-28  Jens Petersen  <petersen@redhat.com>
11214         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
11215         confdefs.h when non-zero.
11217 2001-06-28  Akim Demaille  <akim@epita.fr>
11219         * configure.in: Bump to 2.50c.
11221 2001-06-26  Akim Demaille  <akim@epita.fr>
11223         Version 2.50b.
11225 2001-06-26  Akim Demaille  <akim@epita.fr>
11227         Version 2.50a.
11229 2001-06-25  Pavel Roskin  <proski@gnu.org>
11231         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
11232         argument, AUTOCONF-FLAGS.
11233         * tests/mktests.sh (update_exclude_list): Add
11234         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
11235         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
11236         AC_FUNC_WAIT3 with "-W no-obsolete".
11238 2001-06-25  Akim Demaille  <akim@epita.fr>
11240         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
11242 2001-06-25  Akim Demaille  <akim@epita.fr>
11244         * autoscan.in (%macro): Now maps from word to list of macros.
11245         (&init_tables): Die when a word which is already handled by
11246         explicit macros is mapped to the default macro.
11247         (&print_unique): Remove, inlined in...
11248         (&output_kind): here.
11249         (File::Basename): Use it.
11250         (&output): Sort the CONFIG_FILES.
11251         * acheaders: Normalize.
11252         * acfunctions: Likewise.
11254 2001-06-25  Akim Demaille  <akim@epita.fr>
11256         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
11257         characteristics in the logs.
11258         Suggested by Mo DeJong.
11260 2001-06-24  Akim Demaille  <akim@epita.fr>
11262         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
11263         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
11264         * doc/autoconf.texi (Autoconf 2.13): New section.
11266 2001-06-24  Akim Demaille  <akim@epita.fr>
11268         * autoconf.in (Task traces): Separate the error messages from the
11269         traces to improve robustness.
11271 2001-06-23  Akim Demaille  <akim@epita.fr>
11273         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
11274         three as failures are unlikely, and speed matters.
11276 2001-06-23  Akim Demaille  <akim@epita.fr>
11278         * doc/autoconf.texi (Redefined M4 Macros): New.
11280 2001-06-23  Akim Demaille  <akim@epita.fr>
11282         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
11283         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
11284         5.3.
11286 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
11288         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
11289         config.status targets to after the evaluation of the INIT-CMDS.
11290         Double quote config.status targets (used to be single quoted).
11292 2001-06-23  Akim Demaille  <akim@epita.fr>
11294         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
11295         Check the content of the created file.
11296         Check the ./config.status command line invocation.
11298 2001-06-23  Akim Demaille  <akim@epita.fr>
11300         * tests/foreign.at (Libtool): Reject prehistoric versions.
11302 2001-06-23  Akim Demaille  <akim@epita.fr>
11304         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
11305         preexisting files matching a.*.
11307 2001-06-23  Akim Demaille  <akim@epita.fr>
11309         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
11310         stderr.
11311         * doc/autoconf.texi (AC_ARG_VAR): Update.
11313 2001-06-21  Akim Demaille  <akim@epita.fr>
11315         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
11316         precious variables have changed.
11317         * tests/torture.at (AC_ARG_VAR): Adjust.
11319 2001-06-21  Akim Demaille  <akim@epita.fr>
11321         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
11322         but some sed choke on multiple `;', and other tools (e.g.,
11323         Automake), include the separator themselves.
11325         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
11327 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
11329         * doc/autoconf.texi (Functions Portability): Rename as...
11330         (Function Portability): this.
11331         (Function Portability): Document potential problems with unlink().
11333 2001-06-19  Paul Eggert  <eggert@twinsun.com>
11335         * NEWS, doc/autoconf.texi: Document quadrigraphs.
11337 2001-06-18  Akim Demaille  <akim@epita.fr>
11339         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
11341 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
11343         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
11344         (_AC_FUNC_VFORK): this.
11345         Remove AC_DEFINEs and don't guess cross-compilation values.
11346         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
11347         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
11348         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
11349         vfork doesn't work.
11350         Guess values if cross-compiling, but warn.
11351         * acfunctions: Add AC_FUNC_FORK.
11352         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
11353         and vfork appropriately.
11355 2001-06-18  Akim Demaille  <akim@epita.fr>
11357         * doc/autoconf.texi (Functions Portability): New section.
11359 2001-06-18  Akim Demaille  <akim@epita.fr>
11361         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
11362         in $M4.
11363         Suggested by Andreas Schwab.
11365 2001-06-18  Akim Demaille  <akim@epita.fr>
11367         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
11368         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
11369         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
11370         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
11371         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
11372         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
11373         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
11374         the converse).
11376 2001-06-18  Akim Demaille  <akim@epita.fr>
11378         * doc/autoconf.texi (ms): New index.
11379         (Macro Index): Rename as...
11380         (Autoconf Macro Index): this.
11381         (M4 Macro Index): New appendix.
11382         (Programming in M4): New chapter.
11383         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
11384         (Quoting): Rename as...
11385         (M$ Quotation): this.
11386         Be part of `Programming in M4).
11388 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
11390         * tests/torture.at (AC_ARG_VAR): Set variables and export them
11391         in separate statements for compatibility with Tru64 v5.1.
11393 2001-06-17  Akim Demaille  <akim@epita.fr>
11395         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
11396         current values of the precious variables, not the previously
11397         cached values.
11398         Pass precious variables which are set to config.status.
11399         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
11400         * tests/torture.at (AC_ARG_VAR): New.
11402 2001-06-15  Paul Eggert  <eggert@twinsun.com>
11404         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
11405         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
11406         and explain why and how to replace them.
11407         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
11408         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
11410 2001-06-15  Akim Demaille  <akim@epita.fr>
11412         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
11413         Reported by Bruno Haible.
11415         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
11416          (_AC_ARG_VAR_PRECIOUS): to here.
11418 2001-06-15  Pavel Roskin  <proski@gnu.org>
11420         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
11421         an unused pointer use cast to this type and `if' statement to
11422         avoid warnings from the compiler.
11423         (AC_HEADER_TIME): Likewise.
11424         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
11425         in `if' statement to avoid warnings from the compiler. Declare
11426         ac_aggr static to avoid the need to initialize it.
11428 2001-06-14  Akim Demaille  <akim@epita.fr>
11430         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
11431         Macros'.
11433 2001-06-13  Akim Demaille  <akim@epita.fr>
11435         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
11436         Suggested by Alexander Mai.
11438 2001-06-13  Akim Demaille  <akim@epita.fr>
11440         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
11441         sys/types.h and sys/stat.h, and check for them.
11443 2001-06-13  Akim Demaille  <akim@epita.fr>
11445         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
11446         INCLUDES.
11448 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
11450         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
11451         succeeds and only try adding libdnet upon a failure.
11453 2001-06-12  Akim Demaille  <akim@epita.fr>
11455         * autoscan.in (&output_kind): Output the comment only if it exists.
11456         (%kind_comment): Add entry for `programs'.
11457         (&output_programs): Use &output_kind.
11458         (&output_functions, &output_identifiers, &output_headers)
11459         (&output_programs): Inline, and remove.
11461 2001-06-12  Akim Demaille  <akim@epita.fr>
11463         * autoscan.in (%kind_comment): New.
11464         (output_kind): New.
11465         (output_functions, output_identifiers, output_headers): Use it.
11467 2001-06-12  Akim Demaille  <akim@epita.fr>
11469         * autoscan.in (&print_unique): Take `$kind' and `$word' as
11470         arguments, to factor indirections into `%macro' and `%used'.
11471         (%generic_macro): Fix a typo.
11473 2001-06-12  Akim Demaille  <akim@epita.fr>
11475         * aclibraries: New.
11476         * autoscan.in (@kinds): Add `libraries'.
11477         Use `@kinds' instead of hard coded lists.
11478         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
11479         Remove, replaced by...
11480         (%used): this.
11482 2001-06-12  Akim Demaille  <akim@epita.fr>
11484         * autoscan.in (%functions_macros %headers_macros)
11485         (%identifiers_macros %programs_macros %makevars_macros): Remove,
11486         replaced by...
11487         (%macro): New.
11489 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
11491         * aclang.m4 (AC_NO_EXECUTABLES): Override
11492         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
11494 2001-06-11  Akim Demaille  <akim@epita.fr>
11496         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
11497         trailing new line.
11498         Reported by Andreas Schwab.
11500 2001-06-11  Akim Demaille  <akim@epita.fr>
11502         * Makefile.am, Makefile.maint: Typos.
11504 2001-06-09  Akim Demaille  <akim@epita.fr>
11506         * doc/autoconf.texi (Here-Documents): New section, gathering
11507         documentation about here-documents.
11508         Use `href', not `uref', and other changes.
11510 2001-06-09  Akim Demaille  <akim@epita.fr>
11512         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
11513         chapter.
11515 2001-06-09  Akim Demaille  <akim@epita.fr>
11517         * doc/autoconf.texi (Limitations of Builtins): Complete the
11518         description of the here-docs penalties with Alexandre Oliva's
11519         explanations.
11521 2001-06-01  Paul Eggert  <eggert@twinsun.com>
11523         * doc/autoconf.texi: Talk about here documents and speedups.
11524         Do not use "echo" on arbitrary strings.
11525         Spell "here-documents" consistently with the standard.
11527 2001-06-09  Akim Demaille  <akim@epita.fr>
11529         * doc/autoconf.texi (Concept Index): Introduce it.
11530         Regenerate the menus.
11532 2001-06-09  Akim Demaille  <akim@epita.fr>
11534         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
11535         * config/prev-version.txt: New.
11536         * config/move-if-change: New, for GNU libc.
11538 2001-06-06  Pavel Roskin  <proski@gnu.org>
11540         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
11542 2001-06-06  Akim Demaille  <akim@epita.fr>
11544         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
11545         properly when $1 is not a literal.
11546         Fixes PR Autoconf/187, reported by Bram Moolenaar.
11548 2001-06-06  Akim Demaille  <akim@epita.fr>
11550         Invoking AC_COPYRIGHT before AC_INIT fails.
11552         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
11553         * acgeneral.m4 (_m4_divert(VERSION_FSF))
11554         (_m4_divert(VERSION_USER)): New.
11555         (AC_COPYRIGHT): $2 is the diversion to use.
11556         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
11557         (AC_INIT): Remove dead comments as now it's commutative.
11559 2001-06-06  Akim Demaille  <akim@epita.fr>
11561         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
11562         PR autoconf/187.
11564 2001-06-05  Akim Demaille  <akim@epita.fr>
11566         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
11567         can be empty.
11568         `*dir' variables cannot be NONE.
11569         Reported by Mark Kettenis.
11571 2001-06-05  Paul Eggert  <eggert@twinsun.com>
11573         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
11575 2001-06-04  Akim Demaille  <akim@epita.fr>
11577         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
11578         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
11579         (AC_TR_SH): Move as...
11580         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
11581         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
11582         (AS_TR_SH): these.
11583         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
11584         (_AS_TR_SH_PREPARE): New.
11585         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
11586         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
11588 2001-06-02  Akim Demaille  <akim@epita.fr>
11590         * Makefile.am (.m4.m4f): Pass the options first.
11591         Fixes PR autoconf/182.
11593 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
11595         GNU getopt, when POSIXLY_CORRECT does not permute options and
11596         arguments.  So pass the options first.
11597         Fixes PR autoconf/184.
11599         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
11600         (run_m4): Remove files.
11601         (run_m4f): Remove.
11602         Update remainder of script to use them.
11603         (for warning in): Do not use a literal comma as it will not be
11604         split by IFS.
11606 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
11608         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
11609         Fortran compilers to check.
11610         (_AC_PROG_F77_V): Add '-###' as a possible option to print
11611         information on library and object files.
11612         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
11613         to check.
11615 2001-06-02  Akim Demaille  <akim@epita.fr>
11617         * autom4te.in (Request::@request): Declare with `vars', not `my',
11618         as it prevents updates via `do FILENAME'.
11620 2001-06-02  Akim Demaille  <akim@epita.fr>
11622         * configure.in (standards_texi): Remove, dead code.
11624 2001-06-02  Akim Demaille  <akim@epita.fr>
11626         * autom4te.in: New.
11628 2001-06-02  Pavel Roskin  <proski@gnu.org>
11630         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
11631         for signals other than 0 - exit with code 1.
11632         * m4sh.m4 (AS_TMPDIR): Likewise.
11633         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
11634         * autoheader.in: Likewise.
11635         * autoreconf.in: Likewise.
11636         * tests/torture.at (Signal handling): New test for the above.
11638 2001-06-01  Akim Demaille  <akim@epita.fr>
11640         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
11641         message.
11643 2001-05-31  Akim Demaille  <akim@epita.fr>
11645         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
11646         Add copyright and comments.
11647         * acheaders: Add stdint.h.
11648         Suggested by Paul Eggert.
11650 2001-05-31  Akim Demaille  <akim@epita.fr>
11652         * atgeneral.m4 (AT_INIT): Use $SHELL.
11653         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
11655 2001-05-31  Akim Demaille  <akim@epita.fr>
11657         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
11658         stdint.h.
11659         From Paul Eggert and Lars Hecking.
11661 2001-05-31  Akim Demaille  <akim@epita.fr>
11663         * tests/base.at: Adjust line numbers in error messages.
11665 2001-05-31  Akim Demaille  <akim@epita.fr>
11667         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
11668         to emit the bangshe line.
11669         Reported by David Carter.
11671 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
11673         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
11674         Fortran (95) compilers to check.
11676 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
11678         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
11679         Macro Archive URL.
11681 2001-05-23  Pavel Roskin  <proski@gnu.org>
11683         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
11684         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
11685         (AC_PROG_CXXCPP): Likewise.
11687 2001-05-22  Akim Demaille  <akim@epita.fr>
11689         * config: New directory.
11690         * configure.in: AC_CONFIG_AUX_DIR it.
11691         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
11693 2001-05-22  Akim Demaille  <akim@epita.fr>
11695         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
11696         * autoupdate.in: Specify the Emacs mode.
11697         * acversion.m4.in: Rename as...
11698         * acversion.m4: this.
11699         * tests/Makefile.am (CLEANFILES): More garbage.
11701 2001-05-22  Akim Demaille  <akim@epita.fr>
11703         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
11704         Rename as...
11705         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
11706         these.
11708 2001-05-21  Akim Demaille  <akim@epita.fr>
11710         * configure.in: Bump to 2.50a.
11712 -----
11714 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
11716 This file is part of GNU Autoconf.
11718 GNU Autoconf is free software; you can redistribute it and/or modify
11719 it under the terms of the GNU General Public License as published by
11720 the Free Software Foundation; either version 2, or (at your option)
11721 any later version.
11723 GNU Autoconf is distributed in the hope that it will be useful,
11724 but WITHOUT ANY WARRANTY; without even the implied warranty of
11725 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11726 GNU General Public License for more details.
11728 You should have received a copy of the GNU General Public License
11729 along with autoconf; see the file COPYING.  If not, write to
11730 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
11731 Boston, MA 02110-1301, USA.