* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
[autoconf/tsuna.git] / ChangeLog
blob374d4fd1cb56ff79c66961c75a2270ed7c1b41c5
1 2007-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
4         AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
5         trace, if a package uses AC_PROG_MKDIR_P explicitly.  The actual
6         substitution will still be done by the special code.
7         Report by Jim Meyering.
9         * doc/autoconf.texi (File System Conventions): Mention that
10         $PATH_SEPARATOR is for the build system only.
11         Report by Keith Marshall.
13 2007-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
15         * doc/autoconf.texi (Setting Output Variables): Mention that
16         all non-NUL characters are ok in substituted values.
17         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
18         (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
19         carriage return for $AWK, needed for BSD awk.
20         * tests/torture.at (Substitute and define special characters):
21         Test all 8 bit non-NUL characters.
22         Report against Automake by Patrick Welche.
24 2007-01-15  Stepan Kasal  <kasal@ucw.cz>
26         * doc/autoconf.texi (Specifying Names): `--host' does not
27         change the build type.
29 2007-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
31         * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
32         early on the reader side, drop stderr of the input to avoid
33         `broken pipe' error output; this may happen even with shell
34         builtin `echo' of some bash versions.  Reports by Ian Macdonald
35         <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
37 2007-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
39         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
40         separate items of `ac_user_opts', to avoid long lines.
41         (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
43 2007-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
45         * doc/autoconf.texi: Fix some typos.
47 2007-01-05  Paul Eggert  <eggert@cs.ucla.edu>
49         Fix some wording problems noted by Paolo Bonzini in:
50         http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
51         * doc/autoconf.texi (Signed Overflow Examples): Give more
52         discussion about the allow_superuser_privileges example,
53         and change it a bit to make things clearer.
54         (Optimization and Wraparound): Clarify whether the compiler
55         will generate an infinite loop for the example derived from
56         Autoconf's mktime test.
57         (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
58         Also, clarify unsigned multiplication overflow.
60 2007-01-04  Eric Blake  <ebb9@byu.net>
62         * bin/Makefile.am (RELEASE_YEAR): New macro.
63         (edit): Use it to supply correct copyright year to scripts.
64         * bin/autoconf.as (version): Use it.
65         * bin/autoheader.in ($version): Likewise.
66         * bin/autom4te.in ($version): Likewise.
67         * bin/autoreconf.in ($version): Likewise.
68         * bin/autoscan.in ($version): Likewise.
69         * bin/autoupdate.in ($version): Likewise.
70         * bin/ifnames.in ($version): Likewise.
72 2007-01-02  Paul Eggert  <eggert@cs.ucla.edu>
74         * doc/autoconf.texi (Integer Overflow): Revised based on today's
75         feedback.  The most important changes document what happens when
76         you convert an out-of-range value to a signed integer type, and
77         say that (sum < a) != (b < 0) reliably detects overflow when sum =
78         a + b.
80         * doc/autoconf.texi (Integer Overflow): Greatly expand and
81         rewrite, taking notions from the recent discussion on the gcc and
82         autoconf mailing lists; please see
83         http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
84         and follow the many links.
85         (Integer Overflow Basics, Signed Overflow Examples):
86         (Optimization and Wraparound, Signed Overflow Advice):
87         (Signed Integer Division): New sections.
89 2006-12-28  Steven G. Johnson  <stevenj@alum.mit.edu>
91         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
92         preprocessor macro arguments in traced name.
93         * doc/autoconf.texi (Defining symbols): Document longstanding
94         support for AC_DEFINE-ing macros with arguments, and document
95         behavior when the same variable has multiple AC_DEFINEs.
96         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
97         old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
98         macros directly, giving much shorter and simpler code.
100 2006-12-28  Malcolm Purvis <malcolmp@xemacs.org>  (trivial change)
102         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
103         space before "$ac_configure_args" to prevent a 'config.status
104         --recheck' failure if ac_configure_args doesn't contain a leading
105         space.  This works around a problem with the XEmacs configure.ac,
106         which uses the (undocumented) ac_configure_args variable
107         inconsistently with Autoconf.
109 2006-12-22  Paul Eggert  <eggert@cs.ucla.edu>
111         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
112         Include <limits.h>, and use its INT_MAX to rewrite the
113         j loop so that it does not overflow 'int'.  Problem reported by
114         Ralf Wildenhues in
115         <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
116         Play it safe by shifting left by 1 rather than multiplying by 2,
117         as GCC is less likely to optimize this away when the value
118         is signed (when it assumes overflow leads to undefined behavior).
119         Also, don't assume time_t uses two's complement.
121 2006-12-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
123         * tests/torture.at (Substitute a 2000-byte string): Avoid using
124         a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
125         dumps core on it.  Report by Tim Rice.
127 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
129         * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
130         --disable-option-checking to --help output even when
131         AC_PRESERVE_HELP_ORDER is not used.
132         (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
133         --with argument, rather than argument with [-.] replaced by
134         underscores.
135         * NEWS: Fix typo in previous change; the news was in the
136         wrong section.
138 2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
140         * NEWS: Warnings are now generated by default for unknown
141         --enable-* and --with-* options.
142         * doc/autoconf.texi (Option Checking): Renamed from
143         (Configure Option Checking).  Tighten up the wording a bit.
144         (External Software, Package Options): Cross-reference to Option
145         Checking, and use this to shorten our section.
146         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
147         "$x" to test "x$foo" != x.
148         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
149         Don't warn if $enable_option_checking is "no".
150         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
151         ac_unrecognized_opts to the empty string.
152         Don't echo the unrecognized opts, as this might mishandle
153         backslashes or leading -.
154         (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
155         usage next to the other --disable-FEATURE options in the
156         help string.
158 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
160         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
161         (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
162         Print warning for unrecognized --with and --enable options
163         (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
164         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
165         Disable option checking when subdirs are configured.
166         (AC_OUTPUT): If warnings are enabled, print warning about
167         unrecognized --with and --enable options at the end of
168         the configure output (as well as at the beginning).
169         * doc/autoconf.texi (Option Checking): New node.
170         Document new option warning functionality.
172 2006-12-16  Eric Blake  <ebb9@byu.net>
174         * configure.ac (AC_INIT): Bump version, since 2.61a is released.
175         * NEWS: Start news for current version.
177 2006-12-15  Paul Eggert  <eggert@cs.ucla.edu>
179         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
180         Define HAVE_GETMNTENT to 1, not to the empty string.
181         Problem originally reported by Jochen Friedrich in
182         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
184         This change prompted by a problem report by Andrey Simonenko in
185         <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
186         * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
187         object-like macros only, in the traditional portable character
188         set.
189         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
190         Warn about attempts to define things that are not identifiers.
191         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
192         awful hack that AC_DEFINEd macro names containing parentheses.
194 2006-12-12  Paul Eggert  <eggert@cs.ucla.edu>
196         * doc/autoconf.texi: Undo some of the 2006-12-10 change.  It was
197         too drastic, even if Texinfo in theory requires it for info mode.
199         (config.status Invocation): Renamed back from Recreating a
200         Configuration).
201         (Obsolete config.status Use): Renamed back from Obsolete Recreation.
202         (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
204 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
206         * NEWS: Version 2.61a.
208 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
209         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
211         * NEWS: Document changes with echo and printf, and the lack
212         of limits on the total size of multi-line values of substituted
213         variables, and the AC_FUNC_FSEEKO fix.
215 2006-12-10  Paul Eggert  <eggert@cs.ucla.edu>
217         * doc/autoconf.texi (Writing Autoconf Input): Renamed from
218         Writing configure.ac.
219         (Autoconf Input Layout): Renamed from configure.ac Layout.
220         (Recreating a Configuration): Renamed from config.status Invocation.
221         (Obsolete Recreation): Renamed from Obsolete config.status Use.
222         (acconfig Header): Renamed from acconfig.h.
223         (20th-century Autoconf 2): Renamed from Autoconf 2.13.
224         (Writing Testsuites): Renamed from Writing testsuite.at.
225         (Autom4te Cache): Renamed from autom4te.cache.
227         * BUGS: Remove mention of VPATH problem, since it's now documented
228         not to be a bug in the Autoconf build procedure itself, but rather
229         a problem with the proprietary `make' programs.
231         * doc/autoconf.texi (Build Directories): Add a cross reference
232         to VPATH and Make.
234         * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
235         * doc/standards.texi: Sync from gnulib.
237         * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
238         * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
239         * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
240         generated automatically.
242 2006-12-06  Paul Eggert  <eggert@cs.ucla.edu>
244         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
245         C 5.8 on Solaris 10.  Using -xc99=all rather than -xc99 bypasses
246         the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
248 2006-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
250         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
251         `CEOF$ac_eof' special marker, the awk script cannot contain a
252         line matching `^CEOF', so this is not needed any more.
253         * tests/torture.at (Substitute a newline): Expose the `%!_!# '
254         special marker in the test.
256 2006-12-06  Stepan Kasal  <kasal@ucw.cz>
258         * tests/tools.at (autom4te preselections): Use `find -newer';
259         remove one of the sleeps.
261         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
262         more readable, using ...
263         (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
265         * doc/autoconf.texi (autoheader Invocation): Do not double-
266         quote the parameter of `AH_BOTTOM' in the example.
268 2006-12-05  Stepan Kasal  <kasal@ucw.cz>
270         * doc/autoconf.texi (Configuration Headers): Remove the
271         example with multiple input files.
272         (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
273         multiple input files.
275 2006-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
277         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
278         creating the awk substitution script, handle one input line at a
279         time, so that the maximum length of a substituted (multi-line)
280         value is not limited by the size of the sed pattern space.
281         The trade-off is a slightly repetitive sed script.
282         * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
283         can only have up to 7 characters, due to Solaris 10 /bin/sed.
284         * tests/torture.at (Substitute a 2000-byte string): Increase the
285         test with several long lines, they should not be caught by sed
286         limits any more.
288         * tests/tools.at (autom4te preselections): New test, to flag
289         entries missing from autom4te.cfg.
290         Report by David Byron <dbyron@hheld.com>.
292         * tests/torture.at (Substitute a 2000-byte string): Actually use
293         AC_PROG_AWK, so the last change works as intended.
294         (Substitute and define special characters): Likewise.
295         (Substitute a newline): Likewise.
297         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
298         instead of `awk' consistently.
299         (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
300         * tests/torture.at (Torturing config.status): Test both the
301         result of AC_PROG_AWK and plain awk.
302         (Substitute a 2000-byte string): Likewise.
303         (Substitute and define special characters): Likewise.
304         (Substitute a newline): Likewise.
306 2006-12-04  Paul Eggert  <eggert@cs.ucla.edu>
308         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
309         can be assigned to a function pointer.  Problem reported by
310         Peter Palfrader in <http://bugs.debian.org/401377>.  Based on
311         part of a patch by Ralf Wildenhues in that same bug report.
313 2006-12-01  Paul Eggert  <eggert@cs.ucla.edu>
315         * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
316         * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
318 2006-12-01  Eric Blake  <ebb9@byu.net>
320         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
321         cross-compiling from cygwin to mingw.
322         Reported by Bob Rossi.  This resurrects the 2000-11-30 patch to
323         aclang.m4, which was mistakenly removed in the 2001-09-17 patch
324         to lib/autoconf/c.m4.
326 2006-12-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
328         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
329         string for more reliable failure.  Wrap the entire test that
330         causes the broken Solaris printf to dump core, in a subshell,
331         so the segmentation fault message is reliably suppressed.
332         Fix shell expansion errors by using /usr/ucb/echo always;
333         avoid an error on systems without it by another subshell.
334         Avoid m4 expansion of `$1'.  Set the zeroth argument of the
335         subshell-$as_echo to `as_echo', for better error message.
337 2006-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
339         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
340         `BASH_SOURCE' contain a newline, set them to empty, as they may
341         not be unset.
343 2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
345         Turn AC_FUNC_SETVBUF_REVERSED into a noop.  It's been obsolete for
346         years and is too hard to maintain now.  The last straw was
347         reported by Jerker Baeck in
348         <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
349         * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
350         * doc/autoconf.texi (Particular Functions): Move
351         AC_FUNC_SETVBUF_REVERSED from here...
352         (Obsolete Macros): ... to here.  Say that it does nothing now.
353         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
354         Turn into (almost) a no-op.
356         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
357         (AC_C_VOLATILE):
358         Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
359         These macros are obsolescent and new applications shouldn't need them.
360         * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
361         (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
362         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
363         (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
364         (AC_FUNC_VPRINTF): Likewise.
365         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
366         (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
367         * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
369         * doc/autoconf.texi (Setting Output Variables): Mention that
370         @VAR1@VAR2 has unspecified behavior.  Problem reported by
371         Ralf Wildenhues.
372         * NEWS: Mention this.
374         * Makefile.am: Put only a single '#' into the copyright notice,
375         so that it's also present in the output file.  Standardize wording
376         in makefile copyright notices to match GNU coding standards.
377         * bin/Makefile.am: Likewise.
378         * doc/Makefile.am: Likewise.
379         * lib/Makefile.am: Likewise.
380         * lib/freeze.mk: Likewise.
381         * lib/autoconf/Makefile.am: Likewise.
382         * lib/autoscan/Makefile.am: Likewise.
383         * lib/autotest/Makefile.am: Likewise.
384         * lib/m4sugar/Makefile.am: Likewise.
385         * man/Makefile.am: Likewise.
386         * tests/Makefile.am: Likewise.
387         * lib/emacs/Makefile.am: Remove copyright notice; it's just a
388         one-line file.
390 2006-11-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
392         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
393         in the sed script that mangles the awk script: delete up to the
394         first exclamation mark only.
395         * tests/torture.at (Substitute and define special characters):
396         Test '!' too.
398 2006-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
400         Rewrite config files generation: avoid quadratic growth in
401         the number of substituted variables by using awk instead of sed
402         for the bulk of the substitutions.
403         * NEWS: Mention this.
404         * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
405         forbidden in the output (and thus input) file.
406         * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
407         (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
408         generate just one large awk script for substitutions,
409         eliminating much of the earlier complexity, while adding some
410         new complexity.  Only expand the substitution templates at
411         configure time, for smaller configure script size.  If
412         _AC_SUBST_FILES are used, test 'awk' for working getline support
413         at config.status time.  If absent, interpolate through the
414         shell.  The awk script was written with much help
415         from Paolo Bonzini and Paul Eggert.
416         (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
417         (_AC_SED_FRAG_NUM): Likewise.
418         (_AC_SUBST_CMDS): Renamed from...
419         (_AC_SED_CMDS): ...this.
420         (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
421         * tests/torture.at (Substitute a 2000-byte string): Also
422         substitute a line with 1000 words, and a variable with several
423         long lines.
424         (Substitute and define special characters): Test awk special
425         characters, and put substitution input strings `@foo@' in the
426         output, to test that no recursion happens; test several other
427         combinations from Paolo Bonzini.
429 2006-11-25  Paul Eggert  <eggert@cs.ucla.edu>
431         * lib/autotest/general.m4 (AT_INIT): Undo recent changes
432         that replaced echo with AS_ECHO where this wasn't necessary.
433         Problem reportd by Ralf Wildenhues.
434         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
435         where "/usr/bin/printf '%s\n' S" dumps core if S is long.
436         This is Sun bug 4206210.  Problem reportd by Ralf Wildenhues.
438 2006-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
440         * lib/freeze.mk (GREP): Removed, no need to initialize this.
442 2006-11-21  Paul Eggert  <eggert@cs.ucla.edu>
444         * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
445         that traditional Awk lacks 3-arg "split".  It has it.
446         Mention that FS must be a single character, and a few other
447         99-byte limits of traditional Awk.
448         Mention that if (i in a) doesn't work with traditional Awk.
450 2006-11-18  Paul Eggert  <eggert@cs.ucla.edu>
452         * tests/autotest.at (BSx641-newline in command):
453         (BS-BS-newline in command, BSx640-newline in command):
454         (Newline-CODE-BS-newline in command):
455         (Single-quote-BS-newline in command):
456         (Single-quote-newline-BS-newline in command):
457         Use printf '%s\n' instead of echo, for portability to hosts
458         where echo interprets backslashes.  This will break on hosts
459         that lack printf, but for now let's assume all such hosts
460         are dead (if not, we should get reports of test failures).
462 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
464         'echo' has some portability problems, when given a first argument
465         with a leading '-', or when given any argument containing '\'.
466         Avoid using 'echo' in these cases.
467         * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
468         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
469         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
470         * lib/autotest/general.m4 (AT_INIT): Likewise.
471         * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
472         argument might be unportable.
473         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
474         * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
475         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
476         (_AC_FC_LIBRARY_LDFLAGS): Likewise.
477         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
478         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
479         (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
480         (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
481         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
482         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
483         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
484         (AC_PROG_MAKE_SET): Likewise.
485         * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
486         (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
487         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
488         (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
489         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
490         (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
491         (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
492         * bin/autoconf.as: Redo verbose flag implementation, as the old
493         scheme wouldn't work with AS_ECHO.
494         * lib/autotest/general.m4 (AT_INIT): Likewise.
495         * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
496         Don't use ECHO_T, since ECHO_N is now reliable.
497         * lib/autotest/general.m4 (AT_INIT): Likewise.
498         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
499         rather than using a here-document to put the script into a file.
500         (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
501         use AS_ECHO.
502         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
503         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
504         AS_ECHO_N rather than ECHO_N and ECHO_C.  This doesn't fix any
505         bug, but we might as well stop using ECHO_N and ECHO_C internally.
506         * lib/autotest/general.m4 (AT_SETUP): Likewise.
507         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
508         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
509         (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
510         operand, as AS_ECHO requires.  Avoid double file name expansion.
511         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
512         Don't set as_nl, since _AS_ECHO_PREPARE does that now.
513         (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
514         (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
515         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
516         Double-quote strings that would otherwise contain M4 comments.
517         * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
519         * configure.ac (AC_INIT): Bump to 2.61a.
520         * NEWS: Likewise.
522 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
524         Version 2.61.
526         * configure.ac (AC_INIT): Bump to 2.61.
527         * NEWS: Likewise.
529         * tests/autotest.at (Macro with backslash in a test title):
530         Comment out for now, as this tests neither fails nor passes
531         reliably.  Problem reported by Ralf Wildenhues.
533 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
535         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
536         in previous change, which caused test failures.
538 2006-11-16  Stepan Kasal  <kasal@ucw.cz>
540         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
541         code for --enable, --disable, --with, and --without to...
542         (_AC_INIT_PARSE_ENABLE): ... a new macro.
543         * doc/autoconf.texi (Package Options):
544         * NEWS: Document that AC_ARG_ENABLE allows dots, too.
546 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
548         Import these changes from config via gnulib:
550         2006-11-15  Ben Elliston  <bje@gnu.org>
552         From Josselin Mouette <joss@debian.org>:
553         * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
555         2006-11-08  Ben Elliston  <bje@gnu.org>
557         * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
559         2006-11-07  Steve Woodford  <scw@NetBSD.org>
560                     Ben Elliston  <bje@gnu.org>
562         * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
563         * build-aux/config.sub (sh5el): New basic_machine.
566         Import this change from coreutils:
568         2006-02-13  Jim Meyering  <jim@meyering.net>
570         * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
573         Import this change from gnustandards via gnulib:
575         2006-11-15  Karl Berry  <karl@gnu.org>
577         * standards.texi: core -> memory, throughout.
578         (CPU Portability): show correct example of calling write
579         on a char value; thanks to Paul Eggert for the code.
580         Both of these suggestions from Eugene Y. Vasserman.
583         Import these changes from texinfo via gnulib:
585         2006-11-08  Karl Berry  <karl@gnu.org>
587         * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
588           as well as pdf images, since they are supported in pdftex with
589           no further ado.
591         2006-11-05  Karl Berry  <karl@gnu.org>
593         * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
595 2006-11-13  Paul Eggert  <eggert@cs.ucla.edu>
597         * NEWS: Document the AC_ARG_WITH change.
599 2006-11-13  Bruno Haible  <bruno@clisp.org>
601         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
602         options, transliterate also dots to underscores.
603         (_AC_ENABLE_IF): Transliterate also dots to underscores.
604         * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
605         first argument may also contain dots.
607 2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
609         * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
610         benefit of platforms like Solaris+GCC where it is common to have a
611         non-working g++ installation.
613 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
614         and Joel E. Denny  <jdenny@ces.clemson.edu>
615         and Paul Eggert  <eggert@cs.ucla.edu>
617         * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
618         and non-portable sed scripts, and use $CONFIG_SHELL when invoking
619         ./micro-suite.
621 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
623         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
624         ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
625         Imported from a similar patch to gnulib by Bruno Haible.
627 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
629         * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
630         * doc/autoconf.texi (C Compiler): Document them.
631         * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
632         New macros, taken from gnulib.
634 2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
636         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
637         Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
638         Matthew Woehlke.
640 2006-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
642         * tests/torture.at (Configuring subdirectories): Do not skip
643         Automake 1.10 nor future Automake 11.1 (sic).
645 2006-10-26  Joel E. Denny  <jdenny@ces.clemson.edu>
646         and Stepan Kasal  <kasal@ucw.cz>
648         Handle special characters in test case titles correctly.
649         * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
650         properly.
651         (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
652         * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
653         argument.  Extend to check titles printed by ./micro-suite and
654         ./micro-suite -l and the title in micro-suite.log.
655         (Backquote in a test title,
656         Single-quote in a test title,
657         Double-quote in a test title): Don't expect failure anymore.
658         (Backslash in a test title): Put a non-whitespace character after the
659         backslash so that Bourne shells might actually see it as an escape
660         sequence.
661         (Brackets in a test title,
662         Pound in a test title,
663         Comma in a test title,
664         Quoted Macro in a test title,
665         Macro in a test title,
666         Macro with single-quote in a test title): New tests.
667         (Macro with backquote in a test title,
668         Macro with double-quote in a test title,
669         Macro with backslash in a test title): New tests expected to fail.
670         * tests/torture.at (#define header templates): M4-quote this title in
671         AT_SETUP call so that no M4 code is commented inadvertently somewhere.
672         The visible effect was a stray [] in the testsuite output.
674 2006-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
676         * doc/autoconf.texi (Limitations of Builtins): Do not invoke
677         `trap ... 0' inside a function, for AIX sh.
679 2006-10-26  Paul Eggert  <eggert@cs.ucla.edu>
681         * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
682         since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
683         5363) simply issues a warning when dividing by zero at compile
684         time.  Problem reported by Elias Pipping.
686 2006-10-26  Eric Blake  <ebb9@byu.net>
688         * THANKS: Update.
689         * doc/autoconf.texi (Evaluation Macros): Improve the example to
690         show effect on macros that expand with commas.
691         Reported by Joel E. Denny.
693         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
694         Also work with M4 1.4.8.
696 2006-10-25  Paul Eggert  <eggert@cs.ucla.edu>
698         * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
699         Jim Meyering.
701 2006-10-25  Stepan Kasal  <kasal@ucw.cz>
703         * tests/tools.at (autom4te --force): New test, verifies that
704         `--force' always rewrites the output file.
706 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
708         * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
709         needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.
711 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
713         * tools/trace.at (autoconf --trace: user macros): Test `$%'.
715 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
717         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
718         If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
719         AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
720         reported by Nelson H. F. Beebe for Coreutils 6.4.
722         * tests/tools.at (autoconf --trace: user macros): Remove test
723         for tracing multiline macros, since m4 1.4.7a uses a different
724         way to number lines.  Problem reported by Ralf Wildenhues.
726 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
728         * bin/autom4te.in (handle_m4): Do not redirect stdin to
729         /dev/null since the heuristics for interactive behaviour was
730         fixed in CVS m4.
732         * bin/autom4te.in: With --force, always refresh the output
733         file.  Problem reported by Greg Schafer <gschafer@zip.com.au>.
735         * bin/autoconf.as: Fix the verbose message at the end.
737 2006-10-23  Paul Eggert  <eggert@cs.ucla.edu>
739         * configure.ac (AC_INIT): Bump to 2.60c.
740         * NEWS: Likewise.
742 2006-10-22  Paul Eggert  <eggert@cs.ucla.edu>
744         * NEWS: Version 2.60b.
746         Import this change from Texinfo:
747         2006-10-15  Karl Berry  <karl@gnu.org>
748         * build-aux/texinfo.tex: automake 1.10
750         * NEWS: Remove AC_CACHE_CHECK_INT.
751         * doc/autoconf.texi (Caching Results): Likewise.
752         * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
753         AC_CACHE_CHECK_INT, since it's no longer public.
754         * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
755         * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
757 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
759         * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
761 2006-10-19  Eric Blake  <ebb9@byu.net>
763         * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
764         (m4_maketemp): Avoid warnings with M4 1.9a.
765         * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
766         m4_mkstemp.
767         * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
768         * NEWS: Likewise.
770 2006-10-16  Eric Blake  <ebb9@byu.net>
772         * doc/autoconf.texi (Setting Output Variables): Fix typo.
774         * bin/autoconf.as (version): Reword to match GNU Coding
775         Standards.
776         * bin/autoheader.in (version): Likewise.
777         * bin/autom4te.in (version): Likewise.
778         * bin/autoreconf.in (version): Likewise.
779         * bin/autoscan.in (version): Likewise.
780         * bin/autoupdate.in (version): Likewise.
781         * bin/ifnames.in (version): Likewise.
783 2006-10-14  Stepan Kasal  <kasal@ucw.cz>
785         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
786         looking for special shell characters.
787         * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
788         macro defined by AS_VAR_PUSHDEF before passing it as a
789         parameter.
790         * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
791         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
792         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
793         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
794         (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
795         Likewise.
796         * lib/autotest/general.m4 (AT_INIT): Quote parameters of
797         AS_VAR_* properly.
798         * tests/m4sh.at (AS_LITERAL_IF): New test.
800 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
802         (Imported from Automake.)
803         * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
804         which incorrectly sets the mode of an existing destination
805         directory.  In some cases the unpatched install-sh could do the
806         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
807         system.  We hope this is rare in practice, but it's clearly worth
808         fixing.  Problem reported by Alex Unleashed in
809         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
810         Also, don't bother to check for -m bugs unless we're using -m;
811         suggested by Stepan Kasal.
813 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
815         Import this change from Automake:
817         2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
818         * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
819         is enabled by default with gnu and gnits strictness.
820         Report from Bruno Haible.
822         2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
823         * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
824         gnu and gnits modes.
826         Import this change from Config:
828         2006-09-20  Ben Elliston  <bje@gnu.org>
829         * build-aux/config.sub (score, score-*): New.
831         Import this change from Gnulib:
833         2006-09-16  Karl Berry  <karl@gnu.org>
834         * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
835         to avoid sectioning errors.
837         Import these changes from Texinfo:
839         2006-10-04  Karl Berry  <karl@gnu.org>
840         * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
841         (\quoteexpand): rename to \rquoteexpand.
842         (\codequoteleft): new def, to look for @set codequotebacktick.
843         (\lquoteexpand, \quoteexpand): new defs.
844         (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
845         (\code): must use new \...Char values, since now ` is active.
847         2006-08-26  Karl Berry  <karl@gnu.org>
848         * build-aux/texinfo.tex (\textdegree): New command.
850         2006-08-12  Karl Berry  <karl@gnu.org>
851         * build-aux/texinfo.tex (error \box0): smaller font.
853 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
855         * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
857 2006-10-13  Stepan Kasal  <kasal@ucw.cz>
859         * doc/autoconf.texi (Autoheader Macros): Warn that the text
860         added to the template can get mangled.
862 2006-10-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
864         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
865         include the default headers, and redefine obstack_chunk_alloc
866         and obstack_chunk_free.  Fixes false failure with glibc.
868 2006-10-12  Paul Eggert  <eggert@cs.ucla.edu>
870         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
871         for backward compatibility with Libtool 1.5.22.  Problem reported
872         by Ralf Wildenhues.
874 2006-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
876         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
877         AC_PROG_CC.
878         Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
880 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
882         * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
883         the NonStop platform.
884         * doc/autoconf.texi (Posix Variants): Likewise.
885         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
887         * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
888         (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
889         (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
890         Use a better substitute, by inspecting the output of "ls"
891         rather than just using ":".
892         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
893         rather than AS_EXECUTABLE_P, since we needn't worry about
894         non-regular files here.
896         * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
897         due to configuration hassles with this.  See Tonya Underwood's report
898         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
899         * doc/autoconf.texi (Special Shell Variables): Likewise.
901 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
902             Stepan Kasal  <kasal@ucw.cz>
904         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
905         (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
907 2006-10-11  Stepan Kasal  <kasal@ucw.cz>
909         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
910           initialization which is not inherited through the environment
911         (_AS_BOURNE_COMPATIBLE): ... to this new macro.
912         (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
914 2006-10-09  Paul Eggert  <eggert@cs.ucla.edu>
916         * doc/autoconf.texi (Limitations of Usual Tools): Describe
917         problems with mkdir -p -m.
919 2006-10-06  Paul Eggert  <eggert@cs.ucla.edu>
921         * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
922         comment about ac_cpp_err; it was incorrect, and anyway
923         ac_cpp_err is being removed below.
924         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
925         set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
926         are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
927         nobody uses it.
928         (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
929         with werror_flag and conftest.err and so forth.  This is more
930         compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
931         and anyway the user shouldn't normally want to see this gorp logged.
932         Problem reported by Ralf Wildenhues.
933         * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
934         empty, not 'no', since the rest of the code uses 'test -z'.
936 2006-10-04  Paul Eggert  <eggert@cs.ucla.edu>
938         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
939         Use a single call to AC_DO_TOKENS rather than multiple, for
940         efficiency.
941         (_AC_LINK_IFELSE): Test that resulting file is executable.
942         Problem reported by mwoehlke in
943         <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
945         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
946         than creating a file to use with test -x; this is much faster.
948 2006-10-02  Bruno Haible  <bruno@clisp.org>
950         * lib/autom4te.in (Automake-preselections): Add
951         AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
953 2006-09-27  Stepan Kasal  <kasal@ucw.cz>
955         * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
956         standard error, `experr' should be used, not `expout'.
958 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
960         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
961         fseeko testing program twice; just use the earlier result.
962         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
963         Set cache var to 'unknown' (not 'no') if leaving the macro unset
964         still doesn't let the program compile.
965         (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
966         failed.
968         * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
969         (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
970         include it, without including anything else.
971         (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
972         expressions.
973         (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
975 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
977         * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
978         `error.h', and include it, for a `error_at_line' prototype.
979         Use a nonempty format string in the link test.
980         * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
981         for a declaration of wait3.
983 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
985         * NEWS: AC_CHECK_DECL now also works with aggregate objects.
986         * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
987         can apply to constants too, and that it checks for macro defns.
988         * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
989         and simply cast the identifier to void.  This handles structure
990         values.  Problem reported by Ralf Wildenhues.
991         * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
993 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
995         * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
996         structure, and function symbols.
998 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1000         * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
1001         member.
1003 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
1005         * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
1006         * README: Likewise.
1007         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1009 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
1010         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1012         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
1013         warnings (uninitialized value).
1014         (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
1015         present.
1016         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
1017         parentheses.
1018         (AC_STRUCT_TM): Likewise, avoid unused variables.
1020 2006-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1022         * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
1023         (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
1024         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
1025         * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
1026         Report by Olly Betts.
1028 2006-09-19  Eric Blake  <ebb9@byu.net>
1030         * m4/m4.m4: Change copyright.
1031         * configure: Regenerate.
1032         * Makefile.in: Likewise.
1033         * bin/Makefile.in: Likewise.
1034         * doc/Makefile.in: Likewise.
1035         * lib/Makefile.in: Likewise.
1036         * lib/Autom4te/Makefile.in: Likewise.
1037         * lib/autoconf/Makefile.in: Likewise.
1038         * lib/autoscan/Makefile.in: Likewise.
1039         * lib/autotest/Makefile.in: Likewise.
1040         * lib/emacs/Makefile.in: Likewise.
1041         * lib/m4sugar/Makefile.in: Likewise.
1042         * man/Makefile.in: Likewise.
1043         * tests/Makefile.in: Likewise.
1045         * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
1046         * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
1047         * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
1048         --error-output, to avoid warnings with M4 2.0.
1050 2006-09-19  Stepan Kasal  <kasal@ucw.cz>
1052         * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
1053           consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
1054         * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
1056 2006-09-15  Stepan Kasal  <kasal@ucw.cz>
1058         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
1059         expansion of AC_CHECK_FUNCS.
1061 2006-09-14  Stepan Kasal  <kasal@ucw.cz>
1063         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
1064         mistaken comment: the path has to be relative; do not use
1065         the path at runtime.
1067 2006-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1069         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
1070         argument to `--prefix' for sub-configure scripts.
1071         Pass `--silent' to sub-configure scripts.
1072         * tests/torture.at (Configuring subdirectories): Add tests
1073         for both changes.
1074         * doc/autoconf.texi (Setting Output Variables): Fix example to
1075         not show `--silent' being passed to a `configure' re-run.
1077 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
1079         * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
1080         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
1081         for the existence of the directory at configure-time.  That's
1082         too late, anyway.  Problem reported by Stefan Seefeld.
1084         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
1085         7.1.4 /usr/bin/posix/sh described by Tim Rice in
1086         <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
1088 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
1090         * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
1091         works with GNU M4 1.4.3 again; make the normalized form
1092         match the current m4 message; fix the description.
1093         * test/tools.at (autom4te cache): Adapt to the change.
1095 2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
1097         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):  Add year_2050_test
1098         to catch glibc bug 2821
1099         <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
1101         Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
1102         AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
1103         AC_CHECK_FUNCS.  Don't check for stdlib.h, since we now
1104         assume C89.
1106 2006-09-08  Stepan Kasal  <kasal@ucw.cz>
1108         * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
1109         preselections ...
1110         (Autoconf): ... here.
1111         (Autoscan-preselections): Delete.
1113 2006-09-07  Stepan Kasal  <kasal@ucw.cz>
1115         * lib/autom4te.in (Automake-preselections): Preselect
1116         AM_ENABLE_MULTILIB.
1118 2006-09-05  Paul Eggert  <eggert@cs.ucla.edu>
1120         * doc/autoconf.texi (Preset Output Variables): srcdir and
1121         top_srcdir are not necessarily relative.  Problem reported
1122         by Dries Kimpe.
1124 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1126         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
1127         f90/f95 because the latter drivers of AIX Fortran 9.1 do not
1128         accept files with extension `.f'.  For consistency, also prefer
1129         xlf over f77.
1130         * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
1131         from last patch.
1133 2006-09-05  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
1135         * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
1136         of ERLANG_LIB_VER_* variables.
1137         * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
1138         variables.
1140 2006-09-03  Paul Eggert  <eggert@cs.ucla.edu>
1141         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1143         * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
1144         bugs of Bash 2.01 and 2.05a.
1145         (Fortran Compiler): Document that AC_PROG_CC should be called
1146         before AC_PROG_FC, due to a bug in Autoconf.
1148 2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
1150         * NEWS: New macro AC_CACHE_CHECK_INT.  It replaces the
1151         old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
1152         except the first two arguments are reversed.
1153         * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
1154         (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
1155         caches nor outputs a diagnostic.  Suggested by Bruno Haible.
1156         * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
1157         equivalent to the old AC_COMPUTE_INT.
1158         (AC_COMPUTE_INT): No longer caches or reports.  New signature.
1159         All uses changed to AC_CACHE_CHECK_INT.
1160         * tests/base.at (AC_CACHE_CHECK_INT): New test.
1161         * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
1163 2006-08-31  Paul Eggert  <eggert@cs.ucla.edu>
1165         * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
1166         and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
1167         programs should use their Gnulib counterparts.
1168         * doc/autoconf.texi (Particular Functions): Likewise.
1169         (Macro Names, testsuite Invocation): Replace uses of these
1170         obsolete macros with uses of non-obsolete macros.
1172 2006-08-29  Eric Blake  <ebb9@byu.net>
1174         * configure.ac (AC_INIT): Bump to 2.60b.
1175         * NEWS: Update.
1177 2006-08-28  Eric Blake  <ebb9@byu.net>
1179         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
1180         mistakenly swapped on 2006-08-15.
1182 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
1184         * NEWS: Version 2.60a.
1186 2006-08-25  Stepan Kasal  <kasal@ucw.cz>
1188         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
1189         file created by the PGI compiler.
1191 2006-08-25  Noah Misch  <noah@cs.caltech.edu>
1193         * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
1194         simplify the code.
1196 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
1198         Fix Lex library problem reported to us by Julio Garvia.
1199         * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
1200         for the default, which the user can override.
1201         * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
1202         deal with LEXLIB.
1203         (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
1204         didn't work if some values were cached but not others.  Test for
1205         broken lex libraries like native ia64-hp-hpux11.22; see
1206         <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
1207         work around the problem by preferring an empty LEXLIB to -lfl or
1208         -ll.  Let the user set LEXLIB='' to indicate no library needed.
1210         * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
1211         * README: Likewise.
1212         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1214 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1216         Rework to use more-modern build style.
1217         Many files are renamed; all uses of their names were changed.
1218         * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
1219         * .x-sc_useless_cpp_parens: New file.
1220         * build-aux/config.guess: Renamed from config/config.guess.  Update.
1221         * build-aux/config.sub: Renamed from config/config.sub.  Update.
1222         * build-aux/elisp-comp: Renamed from config/elisp-comp.
1223         * build-aux/install-sh: Renamed from config/install-sh.  Update.
1224         * build-aux/mdate-sh: Renamed from config/mdate-sh.
1225         * build-aux/missing: Renamed from config/missing.
1226         * build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
1227         * build-aux/vc-list-files: Renamed from config/vc-list-files.
1228         * config/Makefile.am: Removed.
1229         * config/mkinstalldirs: Removed.
1230         * config/move-if-change: Removed.
1231         * m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
1232         * Makefile.am (SUBDIRS): Remove config.
1233         (ACLOCAL_AMFLAGS): Include from m4, not config.
1234         (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
1235         (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
1236         (autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
1237         Fail if there's an error.
1238         * Makefile.cfg (move_if_change): Remove.
1239         (wget_files): Remove.
1240         (cvs_executable_files): New macro.
1241         (cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
1242         (executable-update): Use $(cvs_executable_files).
1243         (local-checks-to-skip): Remove.
1244         * Makefile.maint: Merge from coreutils, plus add our own changes
1245         (gzip_rsyncable): New macro.
1246         (GZIP_ENV): Use it.
1247         (CVS_LIST): Use build-aux/vc-list-files.
1248         (VERSION_REGEXP): New macro.
1249         (local-checks-available): Add patch-check, $(syntax-check-rules),
1250         check-AUTHORS.
1251         (syntax-check-rules): Compute dynamically.
1252         (sc_cast_of_x_alloc_return_value): Work even if no source files.
1253         (sc_cast_of_alloca_return_value): Likewise.
1254         (sc_prohibit_atoi_atof): Simplify regexp.
1255         (sc_no_if_have_config_h, sc_require_config_h):
1256         (sc_prohibit_assert_without_use,
1257         (sc_obsolete_symbols): Check for O_NDELAY.
1258         (sc_texi_notab): Remove.
1259         (sc-changelog): Don't make an exception for '----' lines.
1260         (.re-list): Remove, so we don't have a junk file behind.
1261         (sc_system_h_headers): Remove the need for .re-list.
1262         (sc_the_the):  New rule.
1263         (sc_tight_scope): Simplify.
1264         (sc_trailing_blank): Renamed from sc_trailing_space.
1265         (longopt_re): New macro.
1266         (sc_two_space_separator_in_usage): New rule.
1267         (sc_unmarked_diagnostics): Look at all files under CVS.
1268         (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
1269         (news-date-check, changelog-check): Version is OK.
1270         (po-check): Look for lib files even if not in CVS.
1271         (copyright-check): Use $() not ``.
1272         (maintainer-distcheck): Do not depend on changelog-check.
1273         (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
1274         Also check for -Wpointer-arith.
1275         (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
1276         (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
1277         Remove.
1278         (announcement): Add --gpg-key-id arg.
1279         (cvs-sv): Remove.
1280         (move_if_change): Just use mv.
1281         (local_updates: Remove wget-update, po-update.
1282         (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
1283         (config.guess-url_prefix, config.sub-url_prefix): Remove.
1284         (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
1285         (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
1286         ($(get-targets)): Remove.
1287         (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
1288         (gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
1289         (cvs-update): Get from gnulib.
1290         (emut_upload_commands): gnupload is in build-aux now.
1291         (alpha beta major): Add changelog-check.  Check version.
1292         * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
1293         (AC_CONFIG_FILES): Remove.
1294         * bin/autoconf.as: Add spaces to avoid distcheck warning.
1295         * config/announce-gen: Sync from coreutils.
1296         * doc/make-stds.texi: Sync from gnulib.
1297         * doc/standards.texi: Likewise.
1298         * man/Makefile.am: Adjust for config -> build-aux renaming.
1299         * tests/Makefile.am: Prefer $(FOO) to @FOO@.
1300         * tests/local.at: Adjust from config -> build-aux renaming.
1301         * tests/tools.at: Likewise.
1302         * tests/torture.at: Likewise.
1304         * NEWS: The C99 check now tests for vararg macros and 64-bit
1305         preprocessor ints.
1306         * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
1307         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
1308         64-bit preprocessor ints.  Check for static initialization of
1309         long long.  Remove unnecessary casts.
1311 2006-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1313         * doc/autoconf.texi (Particular Programs): Mention that
1314         @INSTALL@ and @MKDIR_P@ may vary for different output files.
1315         Reported by Alexandre Duret-Lutz.
1317 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1319         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
1320         -lgcc?* and -lSystem, for Darwin/MacOS X.  Problem reported by
1321         Bill Northcott in
1322         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
1324 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
1326         * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
1327         pacify insanely picky compilers.  Problem reported by Eric Blake.
1329         * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
1330         longer supported by Sun.
1332 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
1334         * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
1335         rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
1336         -Wundef -Werror".  Problem reported by David Fang in
1337         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
1338         * doc/autoconf.texi (Header Templates, Default Includes):
1339         (Particular Functions, Generic Functions, Header Portability):
1340         (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
1341         (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
1342         (Present But Cannot Be Compiled, Preprocessor Symbol Index):
1343         Prefer #ifdef to #if.
1344         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
1345         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
1346         (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1347         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
1348         Likewise.
1349         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1350         (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
1351         * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
1352         (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1353         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
1354         S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
1355         this.
1357 2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
1359         * doc/autoconf.texi (Limitations of Usual Tools): Document sed
1360         problems with arg script text that doesn't end in newline, and
1361         with '-e a...'.  Problems reported by Ralf Wildenhues.
1363 2006-08-12  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
1365         * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
1366         check for libXt by a check for libX11.
1368 2006-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1370         * doc/autoconf.texi (config.status Invocation): Adjust according
1371         to last change.
1373 2006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1375         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
1376         --help' should mention that `--version' outputs configuration
1377         settings.  Report by Bruno Haible.
1379 2006-08-06  Paul Eggert  <eggert@cs.ucla.edu>
1381         Fix test suite failures reported by Pierre in
1382         <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
1383         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
1384         the compiler created a file "b.out" when it didn't create anything
1385         at all.
1386         * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
1387         Discard stderr too, when invoking the test script.
1389 2006-08-05  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
1391         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
1392         in the restoring of the werror flag.
1394 2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
1396         * doc/autoconf.texi (Volatile Objects): Be even a little
1397         less skeptical about "volatile", after discussion with
1398         Bruno Haible on bug-gnulib.
1399         (Limitations of Usual Tools): Warn about sed stripping
1400         leading white space from text.  From Bruno Haible.
1402 2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
1404         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
1405         compiler complains about it, even if things works after the
1406         complaint.  Problem reported by Peter O'Gorman.
1408         * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
1409         CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
1410         Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
1412 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
1414         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
1415         after -R regardless of host.  Patrick Welche reports that this
1416         fixes things on NetBSD 3.99.
1418         * NEWS: Recommend M4 1.4.5.
1419         * README: Likewise.
1420         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1421         * tests/tools.at (autom4te cache): Update wording of diagnostic
1422         to match M4 1.4.5.
1424 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
1426         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
1427         under AC_C_VOLATILE.
1428         (Volatile Objects): Be a little less skeptical about what
1429         "volatile" means.  Derived from thoughts by Ben Pfaff in
1430         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
1432 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1434         * doc/autoconf.texi: Fix some typos.
1436 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
1438         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1439         more globally, since the 2006-06-30 patch didn't suffice.  Problem
1440         reported by Keith Marshall.  Also, don't bother with builddir2,
1441         since it shouldn't be needed any more.
1443 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
1445         * doc/autoconf.texi (Generic compiler characteristics):
1446         Document AC_COMPUTE_INT.  Fix wrong statements on Default
1447         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
1449         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
1450         (_AC_COMPUTE_INT): Add obsoletion warnings.
1451         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
1452         AC_COMPUTE_INT.
1454         * NEWS: Document change.
1456 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
1458         * doc/autoconf.texi (Volatile Objects): New section.
1460         * NEWS: Document previous change.
1462 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
1464         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1465         Require that long long int be at least 64 bits wide.  C99 requires
1466         this and enough programs depend on it so we should check for it.
1467         Bruno Haible reports in
1468         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
1469         that long long int is 32 bits wide with some nonstandard compilers.
1470         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
1472 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
1474         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1475         to a nonexistent file, so that we don't have to worry about
1476         a local site configuration that doesn't use /usr/local.
1477         Problem reported by Keith Marshall in
1478         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
1480 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1482         * doc/autoconf.texi: Be more consistent about using @acronym with
1483         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
1484         quite right (it talked about "OSF/Tru64", even though the
1485         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
1486         and it even mentioned "OSF 4"!) and at this point there's little
1487         reason to talk about OSF any more, since it died in 1994.
1488         (Specific Compiler Characteristics): Simplify example of
1489         negative-size array.
1490         (File Descriptors): Reorder to make the text flow better.
1491         Remove joke about "appreciate the various levels"; I didn't get it.
1492         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
1493         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
1494         (File Descriptors, Limitations of Usual Tools):
1495         Tone down the advice against renaming or removing open files.
1496         (Limitations of Usual Tools): Add a new section, on 'rm'.
1498 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
1500         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
1501         -lXt in LIBS, idea from Karsten Hopp; this was due since
1502         this change:
1504         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
1505         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1506         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1507         (which belong to Xt, not X itself).  See Debian bug 327655.
1509 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1511         * configure.ac (AC_INIT): Bump to 2.60a.
1512         * NEWS: Update.
1514 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1516         Version 2.60.
1518         * configure.ac, NEWS: Update.
1520 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1522         * config/texinfo.tex: Sync from upstream.
1524         * bin/autom4te.in (handle_traces): Transform the `@S|@'
1525         quadrigraph correctly in traces.
1527         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
1528         Fix typos.
1530         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
1531         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
1532         not defined.
1533         * doc/autoconf.texi (Changed Directory Variables): New node,
1534         to document the whole `datarootdir' business a bit better.
1535         * NEWS: Update.
1536         * tests/torture.at (datarootdir workaround): Extend test.
1537         Prompted by report by Alexandre Julliard.
1539 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
1541         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
1542         when using default mode of IBM C 6 for AIX.  Problem and two-line
1543         fix reported by Larry Jones.
1545 2006-06-22  Alexandre Julliard <julliard@winehq.org>
1547         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
1548         about literal '${datarootdir}' if a definition is found in the
1549         output file.
1551 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
1553         * NEWS: Use "M4" rather than "m4" when appropriate.
1554         Problem reported by Eric Blake.
1555         * doc/autoconf.texi: Likewise.
1556         Use @acronym around BSD, GCC, and GNU when appropriate.
1557         (Why GNU M4): Renamed from "Why GNU m4".
1558         (Redefined M4 Macros): Mention that Posix
1559         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
1560         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
1561         to int.
1563 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1565         * bin/autom4te.in (handle_output): Do not forbid the empty
1566         pattern.
1567         * tests/tools.at (autoconf: the empty token): New test.
1569 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
1571         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
1572         calls, so that we do not care whether they are LIFO or FIFO;
1573         in the m4_wrap, do not check which diversion is the topmost
1574         one, just check that the stack is balanced at the end.
1575         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
1576         base diversion forever--pop the previous diversion before
1577         opening the new one; consequently, remove the m4_wrap call.
1578         * lib/autotest/general.m4 (AT_INIT): Likewise.
1579         * tests/m4sugar.at: Do not use
1580         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
1582 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1583         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1585         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
1586         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
1587         Rework example of m4wrap token-pasting trouble so that it doesn't
1588         care whether it's LIFO or FIFO.
1589         Fix some "contrary to"s that are awkward in English.
1591 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1593         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
1594         to `yes' instead of `int$1_t' if the type is found, for more
1595         consistent configure output (where $1 is the number of bits).
1596         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
1597         Suggested by Bruno Haible.
1599         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
1600         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
1601         with system headers.  Report by Bruno Haible.
1603 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1605         * config/config.guess, config/config.sub: Sync from upstream.
1607         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
1608         in order to avoid picking up an older installed frozen m4sh.m4f.
1609         Besides an outdated shell startup, this could have been created
1610         by an earlier M4 version with incompatible frozen file format.
1612 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
1614         * README: Recommend m4 1.4.4 instead of 1.4.3..
1615         * doc/autoconf.texi: Likewise.
1616         (Special Chars in Names): Say that $(.FOO) is portable, as
1617         suggested by Stepan Kasal.
1618         (Installation Directory Variables, Build Directories):
1619         (Automatic Remaking, Subdirectories, Fortran Compiler):
1620         (Making testsuite Scripts, Defining Directories):
1621         Quote variable usages better.
1622         (Making testsuite Scripts): Add clean-local rule to makefile
1623         snippet, by Eric Blake.
1624         (Installation Directory Variables): Fix table item font.
1625         Reword slightly to clarify.  Generalize advice about
1626         not using special characters to include all file-related
1627         vars, not just VPATH.
1628         (Special Chars in Variables): Warn about special characters in
1629         $(srcdir) too.
1630         (Assignments): Clarify default-value example as suggested by
1631         Ralf Wildenhues in
1632         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
1633         (Special Shell Variables): Note leading ./ or ../, as suggested
1634         by Eric Blake.
1635         (Limitations of Builtins): Under cd, warn about CDPATH.
1636         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
1637         Ralf Wildenhues.
1639 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1641         * doc/autoconf.texi (Configuration Actions): Remove duplicate
1642         `@var', for texi2html.
1643         (Systemology): Some more word wrapping, for DVI output.
1644         (autom4te Invocation): The short option for `--melt' is `-M',
1645         not `-m'.
1647 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
1649         * doc/autoconf.texi: More formatting and English tweaks,
1650         many suggested by Ralf Wildenhues.
1651         Reword to avoid "@code{...}'s" and the like, since it's ugly
1652         with Emacs info mode.  discontents -> woes.
1653         Put a few "will"s back.  time stamp -> timestamp.
1654         side-effect -> side effect.
1656 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
1658         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
1659         Warn about $@ not persisting.  Problem reported by Julien Danjou in
1660         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
1661         (Special Chars in Names): Renamed from Leading _ in Macro Names.
1662         Mention other special chars, too.
1664 2006-06-14  Eric Blake  <ebb9@byu.net>
1666         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
1668 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
1670         * doc/autoconf.texi: Some systematic minor improvements, as
1671         follows.  Use "makefile" when talking about makefiles
1672         generally (which might be named "makefile" or "Makefile" or even
1673         "foo.mk"), "Makefile" when talking about a specific makefile
1674         called "Makefile".  This unclutters the text from weird quotes
1675         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
1676         values" rather than "@var{foo}s" and similar constructs containing
1677         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
1678         English-language improvements.  Change the prefix "sub-" to "sub"
1679         and "re-" to "re".
1680         Put blank lines around examples more consistently.
1681         Avoid "rather" and "very" as intensifiers.
1682         Avoid "will" as an auxiliary.
1683         (Limitations of Make): Split this node into....
1684         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
1685         (Leading _ in Macro Names, Backslash-Newline-Newline):
1686         (Backslash-Newline Comments, Long Lines in Makefiles):
1687         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
1688         (obj/ and Make, make -k Status, VPATH and Make):
1689         (VPATH and Double-colon, $< in Explicit Rules):
1690         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
1691         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
1692         New nodes, resulting from splitup of Limitations of Make.
1693         All cross-references changed.  Raise the top node from
1694         a section to a chapter, and all subnodes accordingly.
1695         Redo the introductory wording to match the new organization.
1696         (Installation Directory Variables): Use an example that is
1697         closer to what Autoconf actually does.  Mention that VPATH's
1698         value should not contain metacharacters or white space.
1699         (Fortran Compiler): Fix a VPATH bug in an example.
1700         (Leading _ in Macro Names): Mention that this problem is no longer
1701         of practical concern.
1702         (VPATH and Make): Reword the advice to make it clearer
1703         that Autoconf and Automake support VPATH in non-GNU make, but
1704         many packages have bugs in this area.
1705         ($< in Explicit Rules): Refer to Build Directories rather
1706         than using a (non-VPATH-safe) example.
1707         (Automatic Rule Rewriting): Mention the sort of disaster that
1708         can ensue with Solaris-style rule rewriting with VPATH.
1710 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1712         * doc/install.texi (Compilers and Options): Weaken the
1713         suggestion to use GNU make for VPATH builds.
1715         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
1716         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
1718         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
1719         in regular expression.
1721 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1723         * doc/autoconf.texi (Installation Directory Variables):
1724         Drop extra @samp from `@table @samp' item.
1725         (Limitations of Usual Tools): Comment fix.
1726         Do not nest @samp just to point to other table items.
1727         (Writing testsuite.at) <AT_CHECK>: The second argument to
1728         `@dvar' is already @samp'ed.
1729         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
1730         do not use @var in the second argument.
1732 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
1734         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
1735         $as_shell.exe too.  Problem reported by Andreas Buening in
1736         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
1738 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1740         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
1741         `unused variable' compiler warning, for `-Wall -Werror'.
1742         Reported by Jaap Haitsma in
1743         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
1745 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
1747         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
1748         case the compiler dumps core.  Problem reported for
1749         OpenServer 5.0.7 by Tim Rice in
1750         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
1751         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
1752         Likewise.
1754 2006-06-06  Tim Rice <tim@multitalents.net>.
1756         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
1757         "ERROR" only shows up in "make check" output if there is an
1758         error.
1760 2006-06-06  Eric Blake  <ebb9@byu.net>
1762         * tests/tools.at (automatically allowed tokens): Fix typo.
1764 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
1766         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
1768         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
1769         typically overflows on x86 CPUs, even though the C standard
1770         requires otherwise.
1772 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1774         * configure.ac (AC_INIT): Bump to 2.59e.
1775         * NEWS: Update.
1777 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1779         Version 2.59d.
1781         * config/texinfo.tex: Sync from upstream.
1783         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
1784         seen, invoke libtoolize with `--ltdl' argument.
1785         * lib/autom4te.in (Autoreconf-preselections): Adjust.
1786         * NEWS: Update.
1787         Suggested by Eric Blake.
1789 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
1791         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
1792         reported by Ralf Wildenhues.
1793         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
1795 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1797         * THANKS: Update.
1799 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
1801         * doc/autoconf.texi: Modernize some of the references to Solaris.
1803 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
1805         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
1806         message issued by AC_REQUIRE.
1807         * tests/m4sugar.at: Check m4_require's error message.
1808         * tests/base.at: Check AC_REQUIRE's error message.
1809         * tests/local.at (AT_CHECK_M4): New macro, almost identical
1810         to...
1811         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
1812         AT_CHECK_M4.
1813         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
1814         `expout' as the last parameter.
1815         * tests/tools.at: Adapt to the above change.
1817 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
1819         * doc/autoconf.texi (Limitations of Usual Tools): Correct
1820         information about race-free implementations of mkdir.
1822 2006-06-04  Eric Blake  <ebb9@byu.net>
1824         * bin/autoreconf.in (help): Document M4 environment variable.
1825         * bin/autoconf.as (Usage): Likewise.
1826         * bin/autom4te.in (help): Likewise.
1827         * doc/autoconf.texi (autom4te Invocation): Likewise.
1829 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
1831         * NEWS: GNU make now recommended for VPATH builds.
1832         Mention that some macros are now documented to be obsolescent.
1833         * doc/autoconf.texi:
1834         Prefer "current" to "modern" to describe
1835         currently-used (albeit perhaps old-fashioned) hosts.
1836         Mention which ancient features no longer need to be worried about.
1837         setgid -> set-group-ID
1838         setuid -> set-user-ID (these are the Posix terms)
1839         Fix some misuses of "only".
1840         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
1841         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
1842         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
1843         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
1844         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
1845         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
1846         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
1847         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
1848         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
1849         Mention that these macros are obsolescent.
1850         (Installation Directory Variables): shall -> should
1851         (File Descriptors): Mention that 0, 1, 2 might get reopened.
1852         Mention that it's now safe to use 3 and 4.
1853         (Limitations of Usual Tools): cp -r is now specified by Posix.
1854         Omit longwinded and obsolescent discussion of cp -f.
1855         Modernize discussion of expr, ls.
1856         (Limitations of Make): Modernize discussion of VPATH builds.
1857         Mention $? as a workaround in some cases.
1858         * doc/install.texi (Basic Installation):
1859         Mention "./configure; make; make install" first.  Be more
1860         specific about why this file is generic.  Remove unnecessary
1861         parens.  Remove misleading "only".  Remove obsolete advice
1862         about csh.  Don't say "configure" takes awhile; say it
1863         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
1864         and CC=c99 rather than CC=c89, as these are blessed by current
1865         Posix.  Recommend GNU make if doing a VPATH build.
1867 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
1869         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
1870         examples involving shell prompts.
1872 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
1873         and Paul Eggert  <eggert@cs.ucla.edu>
1875         * doc/autoconf.texi (Here-Documents): Add details about the
1876         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
1877         use "here-documents" instead of "here documents".
1879 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1881         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
1883 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
1885         * doc/autoconf.texi (File System Conventions): Warn about ":"
1886         anywhere in directory names.
1888 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
1890         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
1891         about quoting the case statement, just in case.
1892         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
1893         was fixed in ksh93g; reported by Ralf Wildenhues.
1895 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
1897         * doc/autoconf.texi (System Services): Do not document
1898         overriding EXEEXT via ac_cv_exeext=ext.
1899         (Particular Programs) <AC_PROG_MKDIR_P>:
1900         Document that ${MKDIR_P} understands --.
1901         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
1902         comment.
1904 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1906         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
1907         argument with leading hyphen.  Problem reported by Paul Eggert.
1909 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
1911         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
1912         about quoting ac_try: quote all of it, if any of it seems suspicious.
1913         This means we don't have to worry about ${ or sed any more.
1914         Also, double-quote the case statement, to work around misuses via
1915         underquoting as reported by Ralf Wildenhues in
1916         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
1917         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
1918         undocumented and dangerous macro.
1919         Problem reported by Ralf Wildenhues in
1920         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
1922 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1924         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
1925         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
1926         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
1928 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
1930         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
1931         since evidently some packages rely on the old, broken behavior.
1932         Problem reported by Ralf Wildenhues in
1933         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
1934         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
1935         pre-2006-05-26 definitions, but leave in the comments that
1936         these macros are dangerous and should not be used.
1937         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
1938         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
1939         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
1940         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
1941         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
1943 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
1945         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
1946         the use of 'tr', since this is our only use of 'tr'.
1948 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1949         and Paul Eggert  <eggert@cs.ucla.edu>
1951         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
1952         Don't assume 'grep' works on long lines, since AIX grep doesn't.
1954 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1956         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
1957         the output file in the `${datarootdir}' test.
1959 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
1960         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1962         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
1963         mention of `datarootdir' in the input file(s), but literal
1964         `${datarootdir}' in the output file, and we haven't warned yet,
1965         then warn as well: the user may have (erroneously) used
1966         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
1967         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
1968         * tests/torture.at (datarootdir workaround): Extend this test.
1969         * NEWS: Update.
1971 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1972         and Paul Eggert  <eggert@cs.ucla.edu>
1974         * doc/autoconf.texi (autoheader Invocation): The first argument to
1975         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
1976         alternatives and clear up the language a bit.
1978 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
1980         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
1981         ac_config_guess, ac_config_sub, ac_configure.
1982         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1983         Fix typo that prevented an unnecessary space from being removed.
1984         Problems reported by Ralf Wildenhues in:
1985         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
1987 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1989         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
1990         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
1991         Don't use the term "thread-safe" to talk about mkdir race
1992         conditions, since the problem is more a process than a thread
1993         issue.  Problem reported by Stepan Kasal in:
1994         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
1995         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
1996         the test for 'install' more closely.  Look at MKDIR_P first.
1997         Look in the PATH, and at /opt/sfw/bin.
1998         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
1999         Don't bother to try mkdir -p, since we already check mkdir --version;
2000         just look at the version number.  (There's no easy way to check
2001         for race-free implementations.)
2002         * tests/tools.at (autoconf: subdirectories): Adjust to above
2003         changes, since MKDIR_P now might end in "/mkdir -p".
2005         * doc/autoconf.texi (autoheader Invocation): Mention that the
2006         first arg of AC_DEFINE_UNQUOTED must be a literal.
2007         Problem reported by Ben Pfaff in
2008         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
2010         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
2011         * doc/autoconf.texi (Special Chars in Variables): New section.
2012         (Preset Output Variables): Warn about special chars in CPPFLAGS.
2013         (Installation Directory Variables): Quote $(datadir) better.
2014         (Limitations of Builtins): Describe some of eval's trickiness.
2016         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
2017         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
2018         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
2019         in front of every arg, not just trailing args.  Quote apostrophes.
2020         (_AC_EVAL_ECHO): New macro.
2021         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
2022         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
2023         removed.
2024         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
2025         exposed by quoting of eval argument.  Put the command on line line
2026         so it logs better.
2027         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
2028         (_AC_PATH_X, AC_PATH_X): Quote more safely.
2029         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
2030         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
2031         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
2032         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
2033         Use eval more safely.
2034         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
2035         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
2036         to be replaced.
2037         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
2038         lines, exposed by quoting of eval argument.
2040 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
2041         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2043         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
2044         initialization of `ac_cv_exeext', do not override it if it was
2045         already set, unless it was set to `no', for compatibility with
2046         Autoconf-2.13, and comment this.
2047         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
2048         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
2049         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
2050         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
2051         Document that this test may be overridden by setting
2052         `ac_cv_exeext'.
2054 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2056         Revert these two patches:
2058         2006-04-06  Eric Blake  <ebb9@byu.net>
2059         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
2060         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
2061         2006-04-01.
2063         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2064         Clean up _AC_COMPILER_EXEEXT* macros.
2065         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
2066           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
2067           ac_file to the name of the default output file and call
2068           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
2069           initial `rm' of the candidate files...
2070         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
2071           the same list in subsequent `rm' calls, and for the temporary
2072           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
2073           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
2074         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
2075         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
2076           no longer needed) by libtool.  Make it a cache check.
2077         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
2078           copied here by mistake.
2079         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
2080           _AC_COMPILER_EXEEXT.
2081         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
2082           _AC_COMPILER_OBJEXT directly.
2083         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2085 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2087         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
2088         Fix description of how the buggy `sed' works.
2090 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
2092         Sync from Automake:
2094         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
2095         ENOLCK.  Only mention `make -j' when applicable.  Only raise
2096         fatal errors when `make -j' is involved.  Improve error message.
2098 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2100         * doc/autoconf.texi (Here-Documents): We now know more about
2101         the variable expansion in here documents bug.
2102         Thanks to Tim Rice and Stepan Kasal.
2104         * doc/autoconf.texi (Making testsuite Scripts): Add an example
2105         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
2107 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2109         * tests/autotest.at (Multiline command from M4 expansion):
2110         No failure to be expected if the shell quotes newlines in
2111         commands in the `set -x' output.  Report by Tim Rice.
2112         * THANKS: Update.
2114 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
2116         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
2117         expansion in the here-documents used by config.status, as that
2118         runs afoul of the Korn shell version M-12/28/93d bug described in
2119         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
2120         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
2121         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
2123 2006-05-23  Jim Meyering  <jim@meyering.net>
2125         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
2126         Fix typo introduced with 2006-04-02 change.  It reversed the sense
2127         of the test.
2129 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
2131         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
2132         ac_dB slightly, to save bytes in the script.
2133         Max out at 50 lines, rather than 96; this is more likely
2134         (though not guaranteed) to avoid obscure 'sed' failures.
2136 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2138         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
2139         `tr -d -' as bad option argument.  Work around this by deleting
2140         an unrelated character.
2141         Report by Tim Rice <tim@multitalents.net>.
2143 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
2144             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
2145             Stepan Kasal  <kasal@ucw.cz>
2147         * doc/autoconf.texi (Particular Programs): Do not promise that
2148         we always prefer the GNU version of the program, and that we
2149         search according to PATH; both rules can have exceptions.
2150         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
2151         AC_PROG_SED.  Move descriptions of limitations
2152         to the Limitations of Usual Tools section.
2153         (Limitations of Usual Tools) <sed>: Mention script length
2154         limitations with Solaris /usr/ucb/sed.
2155         <grep>: Fix wording for empty alternative.  Mention that -c and
2156         -l should not be combined, and that -E and -F should not be
2157         combined.
2159 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
2160         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2162         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
2163         limits in Solaris 8 /usr/ucb/sed by testing a long script.
2165 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
2167         * doc/autoconf.texi (Defining Symbols): Literal parameter of
2168         AC_DEFINE is now passed to m4_pattern_allow.
2169         * NEWS: Mention that; likewise for AC_SUBST.
2170         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
2171         the parameter to m4_pattern_allow.
2172         * tests/tools.at: Add a check for that.
2174 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
2176         * lib/autoconf/status.m4: Fix typos.
2178 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2180         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2181         only the files that this macro generates.
2183 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
2185         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
2186         the HP-UX sed limitation of 99 commands, labels do not count.
2187         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
2188         in the comment.
2189         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
2191 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
2193         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
2194         Import the following fix from coreutils:
2196         2006-01-13  Jim Meyering  <jim@meyering.net>
2198         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
2199         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
2200         not double-quote uses of that variable, to accommodate the rare
2201         case in which getmntent is available in none of the libraries
2202         checked.  This happens at least on FreeBSD 5.0.
2204 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
2206         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
2207         ac_config_guess, ac_config_sub, and ac_configure, since evidently
2208         some other programs unwisely rely on these undocumented vars.
2209         But put in warning comments about them.
2210         Problem reported by Ralf Wildenhues in
2211         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
2212         * NEWS: Document that these variables are intended to go away.
2214 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2216         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
2217         and set the language to C++ (analogous to the equivalent Fortran
2218         tests).
2220         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
2221         * doc/autoconf.texi (C++ Compiler): Document it.
2222         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
2223         * NEWS: Update.
2225 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2227         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
2228         that caused config.status to generate 100-command sed scripts; the
2229         portable limit is 99.
2231 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2233         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
2234         variable `ac_d' instead of `d' to avoid infringing namespace.
2235         Report by Ralf Menzel.
2237 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
2239         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
2240         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
2241         * tests/tools.at (autoconf: subdirectories): New test, taken from
2242         the corresponding problem report by Ralf Wildenhues in:
2243         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
2245         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
2246         Quote some uses of shell variables if they might suffer unexpected
2247         globbing.  This doesn't fix all instances of quoting problems that
2248         I found, just the easy ones that look safe.
2249         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
2250         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
2251         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
2252         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
2253         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
2254         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2255         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
2256         Likewise.
2257         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
2258         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
2260 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2262         * bin/autoreconf.in ($help): Reword according to the manual.
2263         Suggested by Olly Betts.
2265 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
2266         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2268         * bin/autoreconf.in: Pass the directory argument to
2269         `require_configure_ac'.  Fix comment.
2270         * tests/torture.at (Configuring subdirectories): Expose this.
2271         Reported by Olly Betts.
2273 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2275         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
2276         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
2277         Automake as follows:
2279         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
2280         `$configure_in' instead of `configure.in', to preserve
2281         directory component.
2283 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2285         * config/config.guess, config/config.sub, config/texinfo.tex,
2286         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
2288 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
2290         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
2291         test for C99 conformance; (bool) 0.5 is an integer constant
2292         expression, but (bool) -0.5 is not.  Problem reported by Fedor
2293         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
2295 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
2297         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
2298         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
2299         Warn about obsolete install-sh files.  Remove stray sentence
2300         fragment and fix cross reference.
2301         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
2302         install -d; this undoes the 2006-05-10 change.
2303         (MKDIR_P): Mark with AN_MAKEVAR.
2304         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
2305         that we don't require $INSTALL to be thread-safe.  Move comments
2306         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
2307         of AC_PROG_INSTALL.  Output a message saying that we're checking
2308         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
2309         MKDIR_P instead of AC_SUBST.
2310         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
2311         Special magic for MKDIR_P, too.
2312         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
2313         a dnl.
2314         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
2316 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
2318         Sync from Automake, as follows:
2320         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2321         * config/install-sh: Initialize IFS, so field splitting isn't
2322         turned off later.
2323         * config/mkinstalldirs: Likewise.
2324         * config/missing: Remove superfluous quotes.  Replace all uses of
2325         `[' by `test', for consistency, and for..
2326         * config/missing (sed_minuso, sed_output): New variables.
2327         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
2328         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
2329         Fixes `missing' to detect `--output' for help2man.  Fixes
2330         PR automake/483.  Report by Dennis J. Linse.
2331         (autom4te): Document in `missing --help'.
2333 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
2335         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
2336         * config/install-sh: Don't use 'path' to talk about file names,
2337         as per GNU coding standards.  Close a race condition reported by Ralf
2338         Wildenhues and Stepan Kasal.  There is still a race condition
2339         on hosts that predate Posix 1003.1-1992, but we can't help this.
2340         Don't mishandle weird characters like space on pre-Posix hosts.
2341         Invoke mkdir at most once per dir arg on pre-Posix hosts.
2342         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
2343         AC_PROG_MKDIR_P from AS_MKDIR_P.
2344         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
2345         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
2346         earlier editions are not (including Automake 1.8.3).
2347         Do not suggest mkinstalldirs for thread-safety.
2348         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
2349         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
2350         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
2351         presence of special characters and race conditions.
2352         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
2353         in Autoconf's name space.
2355 2006-05-10  Bruno Haible  <bruno@clisp.org>
2356         and Paul Eggert  <eggert@cs.ucla.edu>
2358         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
2359         from Automake with minor changes.
2360         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
2362 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
2364         * config/install-sh: Update to Automake CVS version, as follows:
2365         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
2366         * lib/install-sh: Simplify the expr implementation of dirname.
2367         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
2368         * lib/install-sh: Handle --, and diagnose unknown options.
2370 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2372         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
2373         `./autom4te' to create `./testsuite', since the `all' target
2374         will ensure its presence, but `installcheck' should not create
2375         the uninstalled wrappers.
2377         * tests/torture.at (Unusual Automake input files): Skip if we
2378         detect automake < 1.8.
2380 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2382         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
2383         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
2384         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
2385         * NEWS: Update.
2387 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2389         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
2390         munge (multiple) white space and other oddities.
2391         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
2392         single quotes in variable assignment.
2393         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
2394         and similar failures by adding multiple spaces, tabs, and other
2395         special characters.
2396         Report and different test suggested by Francesco Romani
2397         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
2399         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
2400         single quotes, we only need to search for single quotes; this
2401         both simplifies the search pattern, and makes us less
2402         susceptible to `echo' variations for arguments not containing
2403         single quotes.
2404         (_AC_ARG_VAR_VALIDATE): Likewise.
2406 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2408         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
2409         `$*' and IFS concatenation issue with traditional shells and
2410         bash-2.04.  Report by Seanster@Seanster.com.
2412 2006-05-03  Bruno Haible  <bruno@clisp.org>
2414         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
2415         precisely which Mac OS X versions have the od problem.
2417 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
2419         * doc/autoconf.texi: Use @option systematically.
2421 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
2422         and Bruno Haible  <bruno@clisp.org>
2424         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
2425         about 'od'.
2426         (Integer Overflow): Mention the special case of integer division
2427         overflow.
2429 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2431         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
2432         traditional shells like the Solaris one that do not use the
2433         first IFS character for assembling `$*'.
2434         Prompted by a related report from autoconf_bug@nro.ca.
2436 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
2437         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2439         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
2440         Mention more problems with the -e option.
2442 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2444         * NEWS: Typo.
2445         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
2447         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
2448         in URLs to improve DVI formatted output (requires texinfo 4.6).
2449         (System Services, Systemology, Shellology): Likewise.
2450         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
2451         output.
2453         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
2454         continuous text.
2455         (Runtime): Fix macro argument names to match description:
2456         `action-if-found' -> `action-if-true' and similarly.
2457         (Obsolete Macros): Likewise.
2458         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
2459         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
2460         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
2462 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2464         * doc/autoconf.texi (Limitations of Make): Clean up markup.
2466         * ChangeLog: Typo.
2467         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
2468         DVI output.
2470 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2472         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
2473         /bin/sh set unsorted output.
2474         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
2475         * tests/local.at: Likewise.
2477 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
2479         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
2480         (Integer Overflow, Null Pointers, Buffer Overruns):
2481         (Floating Point Portability, Exiting Portably): New sections.
2482         (Writing Test Programs): Fix some langauge.  Recommend exiting
2483         with status 1, not merely nonzero.  Clarify exit declaration.
2484         (Run Time): Move C exit status stuff to new Exiting Portably section.
2485         (Systemology): Mention Posix and levenez.  Update v7 reference.
2486         (Portable Shell): Mention the Posix shell.
2488 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
2490         * bin/autoconf.as (me): Replace by as_me.
2492 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
2494         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
2495         since as_me isn't set yet.
2497 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
2499         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
2500         a few minor bugs in this area.
2502         * doc/autoconf.texi (Programming in M4sh): Comment out the
2503         documentation of AS_BASENAME, for now.
2504         (Shell Substitutions): Do not use AS_DIRNAME in an example.
2505         (Limitations of Builtins) <basename>: Do not refer to
2506         AS_BASENAME.
2507         * bin/autoconf.as (me): Don't use AS_BASENAME.
2508         (dir): Remove the unused variable.
2509         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
2510         AS_DETECT_REQUIRED.  All uses changed.
2511         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
2512         All uses changed.
2513         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
2514         (AS_BASENAME): Use "basename --" to protect against leading "-".
2515         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
2516         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
2517         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
2518         (_AS_DIRNAME_PREPARE): Likewise.
2519         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
2520         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
2521         (AS_DIRNAME): Use "dirname --".
2523 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
2525         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
2526         of "run time" and "run-time" changed to "runtime", for consistency.
2527         * lib/autoconf/fortran.m4: Likewise (in comment).
2528         * lib/autoconf/functions.m4: Likewise.
2529         * lib/autoconf/general.m4: Likewise.
2530         * lib/autoconf/headers.m4: Likewise.
2532         * doc/autoconf.texi (Run Time): Document the exit status situation
2533         with more accuracy and detail.
2535 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2537         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
2538         Archive is not officially `GNU' any more.  Update URL.
2539         (Defining Directories): Likewise
2540         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
2542 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2544         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
2545         newline from the `trap' code to finish `config.log'; the NetBSD
2546         /bin/sh resets the exit status after an empty command, as
2547         documented in doc/autoconf.texi.
2548         Reported by Dalibor Topic <robilad@kaffe.org>.
2550 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2552         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
2553         Suggested by Bruno Haible.
2555 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
2557         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
2558         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
2559         Instead, just list the shells that we know work.
2560         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
2561         changed.  Be more cautious about the _cv_ variable.
2562         * tests/tools.at (Syntax of the shell scripts): Check the
2563         _cv_ variable once, at first, to avoid an internal autoconf error
2564         when sh -n does not work.
2566 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2568         * lib/Autom4te/FileUtils.pm: Sync from Automake.
2570 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
2572         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
2573         use ">&-" since we're only 99.999% sure that this is portable,
2574         and since the MinGW bug is fixed in a different way.
2575         * lib/autotest/general.m4 (AT_INIT): Likewise.
2577 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
2579         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
2580         before opening config.log, to avoid hitting a bug on MinGW.
2582 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
2584         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
2585         AS_MESSAGE_LOG_FD before reopening it onto the log file.
2586         This works around a MinGW bug reported by Eric Paire.
2587         Make sure that all writes to the log file append to it,
2588         rather than possibly losing data.
2589         * lib/autotest/general.m4 (AT_INIT): Likewise.
2591 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
2593         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
2594         description.
2596 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2598         * NEWS: Update.
2600         * configure.ac (AC_INIT): Bump to 2.59d.
2602 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2604         Version 2.59c.
2606         * Makefile.maint (news-date-check): Do not require a leading `*'
2607         before the release date in NEWS.
2609 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
2610         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2612         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
2613         the instantiated file do not contain the string 'datarootdir'
2614         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
2615         @mandir@, replace the reference '${datarootdir}' by the value.
2616         * tests/torture.at (datarootdir workaround): New test.
2617         * NEWS: Advertise this temporary fixup.
2618         Based on a patch by Bruno Haible, reported and analyzed by
2619         Paul Eggert and Noah Misch.
2621 2006-04-12  Eric Blake  <ebb9@byu.net>
2623         * tests/autotest.at (Debugging a failed test): Fix comment.
2625 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
2627         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
2628         all the changes since 2006-04-07.
2630 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2632         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
2633         succeeded, but `ln -s file dir' failed, take care to remove the
2634         leftover target before the next test, to prevent its spurious
2635         failure; also make sure `ln file dir' works before selecting it.
2636         Thanks to Keith Marshall for pointing this out.
2637         * THANKS: Update.
2639         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
2640         assignments in `at_debug_args', so that we put them correctly
2641         in the `run' script.
2642         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
2643         Reported by Eric Blake.
2645 2006-04-11  Eric Blake  <ebb9@byu.net>
2647         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
2648         top-level tests after micro-suite has been run.   Used in...
2649         (Debugging a successful test, Debugging script and environment),
2650         (Debugging a failed test): ...these new tests.  The first of these
2651         is fixed by...
2652         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
2653         macro, split out from...
2654         (AT_INIT): ...here, so that using -d also generates a run script.
2655         Document that -d inhibits top-level logging.
2656         * doc/autoconf.texi (testsuite Invocation): Document that -d only
2657         inhibits top-level logging; debug scripts are created.
2659         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
2660         check.
2661         * tests/autotest.at (Empty test, Empty check): New test to check it.
2663         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
2664         from gcc.
2666 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
2668         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
2669         the files if a problem appears.  Make the empty *.at files
2670         read-only, too.  Proposed by Ralf Wildenhues.
2672 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2674         * config/Makefile.am: Add comment to force updated Makefile.in.
2676         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
2677         space only patch to this file, this patch causes the Makefile.in
2678         files that include freeze.mk to be updated, and thus have a
2679         newer time stamp again, which in turn makes a pristine CVS
2680         checkout have correct time stamps.
2682         * Makefile.maint (cvs-sv): New macro, to be used..
2683         (config.guess-url_prefix, config.sub-url_prefix)
2684         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
2685         point to CVS text checkout of Gnulib files.
2686         (copyright-check): Bump current year.
2687         (announcement): Do not hard-wire `./announce-gen'.
2688         (cvs-update): Propagate failures of `cvs' and `move-if-change'
2689         correctly.
2690         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
2691         `chmod +x'.
2692         (wget_files): Update config.guess, config.sub, texinfo.tex by
2693         `wget-update', now that their URLs work again.
2695 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
2697         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
2698         Problem noted by Paul D. Smith.
2700 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2702         * doc/autoconf.texi: Remove unused words from word list.
2703         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
2704         .x-sc_trailing_space: New files.
2706         * doc/standards.texi: Sync from gnulib.
2708         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
2709         `LIBOBJDIR' as experimental.
2711         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
2712         with a target directory; it's internally implemented as `cp'
2713         anyway, but since Autoconf advertises the possibility to use
2714         a target directory when LN_S is `ln -s', we need to find out.
2715         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
2716         analyzed by Keith Marshall <keith.marshall@total.com>.
2718         * THANKS: Update.
2720 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
2722         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
2723         confdefs.h as-is.  In general, if it has backslash-newline or the
2724         like, then it doesn't work either to sort or to remove empty
2725         lines.
2727 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
2729         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
2731 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
2733         * lib/autom4te.in (Automake-preselections): Preselect
2734         _AM_SUBST_NOTMAKE.
2736 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
2738         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
2739         apostrophe within a single-quoted string, as this is the usual
2740         tradition and is easier to read than '"'"'.  Don't rely on the
2741         shell treating "$/" like '$/'.  Use a more-consistent indenting
2742         style for the trap.
2744 2006-04-09  Eric Blake  <ebb9@byu.net>
2746         * tests/autotest.at (Backquote command substitution),
2747         (Multiline backquote command substitution): Remove mistaken
2748         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
2749         applied...
2750         (Parenthetical command substitution, Multiline parenthetical
2751         command substitution): here.
2753 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
2755         Import macros from gnulib (often changing their name).
2757         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
2758         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
2759         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
2760         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
2761         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
2762         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2763         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
2764         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
2765         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
2766         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
2767         The manual mentions Gnulib more prominently.
2768         * doc/autoconf.texi (Gnulib): New node.
2769         (Pointers): Add Gnulib URL.
2770         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
2771         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
2772         Gnulib section.
2773         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
2774         suggest a #define rather than a typedef for _Bool, and mention
2775         Gnulib rather than trying to substitute stdbool code.
2776         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
2777         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
2778         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
2779         AC_STRUCT_DIRENT_D_TYPE.
2780         (Particular Types): Mention stdint.h and inttypes.h as standard
2781         headers too.
2782         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2783         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
2784         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
2785         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
2786         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
2787         (C Compiler): Move AC_C_LONG_DOUBLE to ...
2788         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
2789         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
2790         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
2791         (Coding Style).  Don't mention m4_expand_once.
2792         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
2793         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
2794         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
2795         (AC_CHECK_FUNCS): Use it.
2796         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
2797         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
2798         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
2799         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
2800         (AC_HEADER_ASSERT): New macro.
2801         (AC_HEADER_STDBOOL): Don't assume "#error" works.
2802         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
2803         Catch a bug in an HP-UX C compiler.
2804         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
2805         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
2806         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
2807         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
2808         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
2809         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
2810         New macros.
2812         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
2813         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
2815 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
2817         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
2818         of the warning introduced by the 2001-08-28 change.
2820 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
2821             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2823         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
2824         variables shall be overriden by the cache.
2825         * tests/torture.at (AC_ARG_VAR): Test also with a first value
2826         that contains braces.
2828 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
2830         Revert the patch from 2006-04-01 and only improve
2831         _AS_DETECT_BETTER_SHELL:
2833         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
2834         skip nonexistent directories.
2835         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
2836         only shell candidates which exist.
2837         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
2838         * lib/autotest/general.m4 (AT_INIT): No need to give three
2839         parameters to _AS_PATH_WALK.
2841 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
2842             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2844         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
2845         distinguish m4sugar macros.
2846         * tests/tools.at (autoupdating with aclocal and m4_include):
2847         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
2848         test case by Noah Misch <noah@cs.caltech.edu>.
2850 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
2852         Revert my change from 2006-03-17, in other words:
2853         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
2854           and DUALCASE=1.
2855         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
2856         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
2857           it is set.
2859 2006-04-07  Eric Blake  <ebb9@byu.net>
2861         * doc/autoconf.texi (Programming in M4sh): Document that
2862         AS_MKDIR_P exits the script on failure.
2863         * lib/autotest/general.m4: Remove redundant AS_ERROR.
2865 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2867         * config/elisp-comp, config/install-sh, config/mdate-sh,
2868         config/missing, config/mkinstalldirs: Sync from Automake.
2870         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
2871         from Automake.
2873         * doc/make-stds.texi: Sync from gnulib.
2875 2006-04-06  Eric Blake  <ebb9@byu.net>
2877         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
2878         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
2879         2006-04-01.
2881 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
2882             Eric Blake  <ebb9@byu.net>,
2883             Paul Eggert  <eggert@cs.ucla.edu>,
2884             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2886         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
2887         whether `set' quotes correctly: redirect stderr of the tested
2888         `set', and use a subshell, for Ultrix; use `sed' instead of
2889         `grep' for zsh `set' which may write binary output; match only
2890         at the beginning of a line, to avoid false positives.
2891         In order to avoid false positives by unrelated variables with
2892         multiline content, put the dump algorithm in a subshell and
2893         unset all variables containing newlines (except some which are
2894         special to the shell).  Warn about cache variables that are
2895         unset.
2897 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2899         * config/config.guess, config/config.sub, config/texinfo.tex:
2900         Sync from upstream.
2902         * tests/mktests.sh: Reword comments.
2904         * tests/mktests.sh: Only skip internal macros starting with
2905         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
2906         Update exclusion lists for the test suite to this end:
2907         (AC_ARG_VAR): Do test this now.
2908         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
2909         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
2910         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
2911         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
2913         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
2914         shell issue with double-quoted command substitutions of native
2915         commands.
2916         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
2917         Marshall.
2919         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
2920         no file matches the glob, discard the warning, set `nullglob'.
2921         (syntax-check): Likewise.
2922         (sc_cast_of_x_alloc_return_value): Likewise.
2923         (sc_cast_of_alloca_return_value, sc_error_exit_success)
2924         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
2925         (m4-check): Likewise.
2926         (sc_system_h_headers): Do not print rule on execution.
2927         (sc_tight_scope): Do not fail for non-existing `src' directory.
2928         (sc_changelog): Skip the Copyright footer.
2929         * lib/autoconf/lang.m4: Remove trailing space.
2931         * lib/autoconf/status.m4: More replacements to
2932         <tab><space> where this makes sense.
2934 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
2936         * tests/Makefile.am (maintainer-check-posix):
2937           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
2939         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
2940           ac_config_<foo>s again, sometimes normalized, sometimes not.
2941         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
2942         (AC_CONFIG_COMMANDS): Do not do so here.
2943         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
2944           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
2945           2005-07-25 rewrite.  Noticed by Noah Misch.
2947         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
2948           _AC_PRESERVE_HELP_ORDER, ...
2949         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
2951         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
2952           inside m4_expand_once; it is redundant.
2954         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
2955           for --help from Cygnus `configure.'
2957 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
2959         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
2960         on a patch proposed by Ralf Wildenhues.
2962 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
2964         * lib/autoconf/status.m4: Replace <space>''<tab> with
2965         <tab><space> where this makes sense.
2967 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
2968             Noah Misch  <noah@cs.caltech.edu>
2970         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
2971         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
2972         * doc/autoconf.texi (Help Formatting): New node.
2973         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
2975 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2977         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
2978         lib/autoconf/specific.m4, lib/autoconf/status.m4,
2979         lib/autoconf/types.m4, lib/autotest/general.m4,
2980         tests/mktests.sh, tests/torture.at: White space cleanup:
2981         remove some SPACE before TAB, or add quoting ('' or @&t@).
2983         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
2985         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
2987 2006-04-05  Eric Blake  <ebb9@byu.net>
2989         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
2990         empty test suite works.
2991         * tests/autotest.at (Empty test suite): Remove xfail.
2993 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
2995         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
2996         TAGS to ac_config_<foo>s.
2997         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
2998         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
2999         normalizing it, consistent it with previous releases.
3000         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
3002 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
3004         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
3005         Use simplified args that Eric Blake originally suggested.
3007 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
3009         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
3010         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
3011         Use 'comm' rather than N instances of grep; this also fixes a bug
3012         whereby substrings were incorrectly matched, causing us to not
3013         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
3014         (exclude_list): Exclude empty macros.
3015         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
3017         Use awk rather than grep -E or egrep, to avoid
3018         portability problems with regular expressions containing newlines.
3019         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
3020         Switch from grep to awk syntax.
3021         (ac_exclude_script): Renamed from ac_exclude_egrep.
3022         (au_exclude_script): Renamed from au_exclude_egrep.
3024 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
3026         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
3027         a subdirectory subject to Cygnus `configure'.
3028         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
3030         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
3031         report request when we have no AC_PACKAGE_BUGREPORT.
3033 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3035         * THANKS: Update.
3037         * tests/mktests.sh: Update copyright year in the header of the
3038         generated files.
3040         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
3041         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
3042         typedef'ed restricted pointer, to catch a compiler bug on
3043         HP-UX 11.x, and fix warnings so it passes with -Werror.
3044         (_AC_PROG_CC_C99): Likewise.
3045         Reported by Albert Chin <china@thewrittenword.com>.
3046         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
3048 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
3050         * bin/autoscan.in (subdirs): New global.
3051         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
3052         (output): Emit AC_CONFIG_SUBDIRS as needed.
3053         * tests/autoscan.at (autoscan): Remove XFAIL.
3055 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
3057         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
3059 2006-04-03  Eric Blake  <ebb9@byu.net>
3061         * THANKS: Add myself.
3063 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3065         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
3066         to log, point to testsuite output tree.
3068 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
3070         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
3071         * doc/autoconf.texi (Function Portability): Mention that C++
3072         has trouble with 'exit'.
3073         (Guidelines): Test programs shouldn't use 'exit'.
3074         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3075         Remove; all uses removed.
3076         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
3077         Return from 'main' instead of calling 'exit'.
3078         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
3079         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
3080         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
3081         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
3082         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
3083         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3084         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
3085         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
3086         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3087         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
3088         * tests/compile.at: Likewise.
3090 2006-04-02  Pavel Roskin  <proski@gnu.org>
3092         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
3094 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3096         Clean up _AC_COMPILER_EXEEXT* macros.
3098         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3099           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3100           ac_file to the name of the default output file and call
3101           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
3102           initial `rm' of the candidate files...
3103         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
3104           the same list in subsequent `rm' calls, and for the temporary
3105           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3106           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3107         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3108         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3109           no longer needed) by libtool.  Make it a cache check.
3110         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3111           copied here by mistake.
3112         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3113           _AC_COMPILER_EXEEXT.
3114         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3115           _AC_COMPILER_OBJEXT directly.
3116         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3118 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3120         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
3121         (AS_DIRNAME): Use it.
3122         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
3124         * tests/*.at: Remove the generated ones.
3126 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3128         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
3130 2006-04-01  Eric Blake  <ebb9@byu.net>
3132         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
3133         directories, unless optional third argument supplied.
3134         (AS_UNAME): Don't optimize PATH walk.
3136         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
3138 2006-04-01  Eric Blake  <ebb9@byu.net>
3139         and Stepan Kasal  <kasal@ucw.cz>
3141         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
3142         and fix some typos.
3144 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
3146         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
3147         Autoconf version number despite a zero- or one-argument AC_INIT.
3149         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
3150         subordinate tools.
3151         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
3152         * doc/autoconf.texi (autoreconf Invocation): Document it.
3154         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
3155         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
3157 2006-04-01  Eric Blake  <ebb9@byu.net>
3159         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
3160         * lib/autotest/general.m4: Be tolerant of existing directory when
3161           rm failed to remove it.
3163 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3165         * bin/autoupdate.in: Redefine m4_location so that warnings print
3166         the correct lines of the input file by subtracting..
3167         (_au__first_line): ..this new definition.
3169         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
3170         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
3171         Remove stray newline in output.
3172         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
3173         AC_DEFUN this for autoconf, including the obsoletion diagnose.
3174         Fixes autoupdating of code where the replacement output contains
3175         m4sugar macros.
3176         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
3177         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
3178          (au_exclude_list): Add AC_LANG_SAVE.
3179         * tests/tools.at: Several new tests for all of this.
3180         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
3181         hairy details.
3182         The AC_LANG_SAVE issue was reported against Libtool by
3183         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
3184         Kristian Kvilekval <kris@cs.ucsb.edu>.
3186 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3188         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
3189           switch all of them on and of when necessary.  Fixes the bug when
3190           m4sugar macros (e.g., m4_define) were expanded after the first
3191           automatic update (e.g., after AC_PREREQ or AC_INIT).
3193 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
3195         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
3196         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
3198         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
3199         correctly.  Problem reported by Eric Blake.
3200         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
3201         Ralf Wildenhues.
3203 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
3205         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
3206         Tighten up the basename/dirname wording.
3208 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3210         * Makefile.maint (sc_texi_notab): New check: do not use TABs
3211         in texinfo files outside of verbatim environments.
3212         (syntax-check-rules): Update.
3213         * doc/autoconf.texi (Configuration Headers): Conform to it.
3215 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
3217         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
3218           aclocal cannot be given on the command line.
3220 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
3222         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
3223         Give an example for AS_DIRNAME instead of referring to Posix..
3224         (File System Conventions): Put discussion of // versus / here, and
3225         modernize it a bit.
3226         (Limitations of Usual Tools): Add basename.  Remove verbiage
3227         after dirname, since it got moved to the above sections.
3228         All this was inspired by a patch proposed earlier by Eric Blake.
3230 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3232         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
3233         `$0' to protect against spaces.
3234         * lib/autotest/general.m4 (AT_INIT): Likewise.
3235         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
3236         `$0', $as_me.
3238 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3240         * bin/autoscan.in: The value of find_configure_ac should be
3241         checked for existence, so we don't barf over a nonexisting
3242         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
3244 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3246         * bin/autoupdate.in: Fix some typos.
3248 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
3250         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
3252         * lib/autoscan/autoscan.list: Refreshed.
3254 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3256         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
3257         and Erlang related variables.
3259         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
3260         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
3261         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
3262         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
3263         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
3264         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
3265         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
3266         (_AC_PROG_OBJC_G): New macros.
3267         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
3268         * doc/autoconf.texi (Objective C Compiler): New node.
3269         (Preset Output Variables): Document OBJCFLAGS.
3270         (Language Choice): Document `Objective C' language.
3271         (Fortran Compiler): Fix typo.
3272         * NEWS: Updated.
3273         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
3275 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
3277         * doc/autoconf.texi (Default Includes): Fix typo
3278           s/AC_HEADERS_STDC/AC_HEADER_STDC/
3279         (Limitations of Usual Tools): s/unwriteable/unwritable/
3280         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
3281           Fix typos in the comments.
3283 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
3285         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
3286           Factor out the warning to...
3287         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
3288         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
3289         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3291         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
3292           case `ac_delim' when writing the sed script.
3294         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
3295           moved DUALCASE=1 ...
3296         (AS_SHELL_SANITIZE): ... here.
3297         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
3298           that it is set.
3300         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
3301           AC_SUBST.
3302         (_AC_PATH_PROG): Store the result to VARIABLE.
3303         (AC_PATH_PROG): No need to set VARIABLE again.
3305         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
3306           the first one is usual AT_CHECK_MACRO test, the second one checks
3307           that the same works when cross-compiling.
3308         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
3309         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
3311 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3313         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
3314         the directory `/usr/bin/posix' in the shell search, to prefer
3315         the Posix shell not only in subsequent spawns as with `$BIN_SH'
3316         on Tru64.
3318         * doc/autoconf.texi (contents): To fix texi2html output, hide
3319         `@setcontentsaftertitlepage' for HTML.
3320         (Writing Autoconf Macros): Likewise, insert space after `@c'.
3321         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
3322         `@,{c}'.
3324 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
3326         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
3327           sanitizing...
3328         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
3329         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
3330           why IFS is restored so late; thank you, Ralf, for reminding us.
3332 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
3334         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
3335           variables in the examples.
3337 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
3339         * doc/autoconf.texi (several sections): Cleaned up documentation for
3340         macros in erlang.m4.
3342 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3344         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
3345         failure condition for `$(cmd)' style command substitutions.
3346         (Parenthetical command substition, Multiline parenthetical
3347         command substition): Use it.
3349         * doc/autoconf.texi (Special Shell Variables): Missing word.
3350         Reported by Keith Marshall <keith.marshall@total.com>.
3352         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
3353         IFS even in case of empty `$PATH'.
3355 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3357         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
3358         `expr' away if there is nothing to do.
3359         < --keywords >: Simplify and robustify argument handling.
3360         Revert erroneous comment from 2005-08-23.  Extend to allow
3361         keyword negation with `!'.
3362         Update help message.  Remove broken code to prevent running
3363         tests multiple times.
3364         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
3365         Update and fix the documentation accordingly.
3366         * tests/autotest.at (Keywords): Renamed to..
3367         (Keywords and ranges): .. this.  Extended to make sure negated
3368         keywords, keywords taken from AT_SETUP arguments, and numeric
3369         test ranges work, and that matching is case-insensitive.
3371 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3373         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
3374         allow to pass unnamed structs even in C++.
3375         (AC_CHECK_SIZEOF):  Likewise.
3376         Also fix quoting error in `AC_MSG_FAILURE' arguments.
3377         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
3378         struct): New tests for unnamed structs, each both native and
3379         cross-compiling.
3381         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
3382         a structure inside a cast, for C++ conformance.
3383         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
3384         Also fix quoting error in `AC_MSG_FAILURE' arguments.
3386         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
3387         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
3388         trying to execute the command `no'.
3390         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
3391         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
3392         expanded outside.
3394         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
3395         example.  Do not emphasize `$%', it is hardly new and special.
3396         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
3398         * doc/autoconf.texi (Limitations of Usual Tools): Document
3399         OpenBSD and traditional `grep' failure to handle multiple
3400         patterns separated by newlines.
3402 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
3404         * doc/autoconf.texi (several sections): Add documentation for macros
3405         in erlang.m4.
3407 2006-03-10  Eric Blake  <ebb9@byu.net>
3409         * doc/autoconf.texi (Obsolete Macros): Fix wording of
3410         AC_TRY_LINK_FUNC.
3412 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
3414         * doc/autoconf.texi: Use @acronym more consistently for acronyms
3415         like BSD, GPL, LGPL.  Fix minor English typos.
3416         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
3417         Mention that these macros are becoming obsolete.
3418         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
3419         Use more modern terminology for which standard is what.
3420         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
3421         and to ansi2knr.
3422         (AC_PROG_CXX): Likewise.
3423         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
3424         Remove obsolete discussion about how to port to K&R.
3425         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
3426         the obsolescent AC_HEADER_STDC.
3427         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
3428         can't rely on it.
3430 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3432         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3433         Remove stdin redirection from /dev/null to allow pipe to work.
3435 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
3437         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3438         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
3439         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
3440         Ralf Wildenhues.
3442 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3444         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
3445         HP-UX sed is 99 commands, not 100.
3446         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
3447         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
3448         newline for portability.
3449         * tests/torture.at (Torturing config.status): Also test 100
3450         AC_SUBST_FILE invocations.  Fix test to actually verify the
3451         AC_CONFIG_FILES output.
3452         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
3453         command, label, and read-file `r' limits.  Unify HP-UX spelling.
3455         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
3456         non-suffix rule.
3457         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
3458         non-GNU make.
3459         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
3460         * tests/mktests.sh: Small shell portability fixes.
3462 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3464         * doc/autoconf.texi (Caching Results): Fix the examples to use a
3465         recommended quoting style and discard unwanted output.
3467 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
3469         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
3470         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
3471         cases, and to work around Tru64 expr bug.
3473 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3475         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
3476         expr bug that turns the result of a regex match into a number if
3477         possible.
3479 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3481         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
3482         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
3483         in section `Specific Compiler Characteristics'.
3485 2006-03-04  Eric Blake  <ebb9@byu.net>
3487         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
3488         variable warning.
3490 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3492         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
3493         order of variable initialization, so even the Solaris 2.6 shell
3494         can create a config header correctly.  Fixes lots of test suite
3495         failures.
3497 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3499         * doc/autoconf.texi (Text processing Macros): New node to
3500         document the m4sugar macros m4_re_escape, m4_tolower,
3501         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
3503 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
3505         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
3506         XrmInitialize (0) -> XrmInitialize ().
3507         Reported by Toshio Kuratomi.
3509 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3511         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
3512         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
3513         * doc/autoconf.texi (Programming in M4sh): Adjusted.
3514         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
3515         both macros are defun'ed so that required macros are evaluated
3516         outside.
3518         * doc/autoconf.texi (Prerequisite Macros): State more precisely
3519         where a required macro will be expanded.
3520         (Coding Style): Another reason not to use `m4_define'.
3522 2006-02-21  Eric Blake  <ebb9@byu.net>
3524         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
3526 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3528         * doc/autoconf.texi (Looping constructs): New node, to
3529         document m4_for, m4_foreach, m4_foreach_w, and mention
3530         obsolete AC_FOREACH.
3531         (Obsolete Macros): Document AC_FOREACH.
3532         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
3533         (m4_for): Fix to never loop (almost) endlessly, work correctly
3534         with arithmetic expressions in arguments, a step of zero or
3535         non-integer multiple of the interval, and avoid integer
3536         overflow.
3537         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
3538         m4_foreach_w.
3540 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
3542         Add basic support for Erlang, both for configuring Erlang/OTP
3543         tools, and Erlang as a conf test language.
3544         * lib/autoconf/erlang.m4: New file.
3545         * lib/autoconf/autoconf.m4: Add erlang.m4.
3546         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
3547         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
3548         * NEWS: Add short description of new macros.
3549         * THANKS: Add Romain Lenglet.
3551 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3553         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
3554         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
3556 2006-02-15  Eric Blake  <ebb9@byu.net>
3558         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
3559         warning.
3561 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3563         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
3564         (_AS_CASE): Private helper macro.
3565         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
3566         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
3567         Fix syntax of AS_IF description
3568         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
3569         for the AC_REQUIRE mess.
3570         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
3571         AS_SHELL_SANITIZE.
3573 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
3575         * doc/autoconf.texi: Minor style cleanup.
3576         Be consistent about spaces after commas.
3577         Insert [] where empty args look a bit funny.
3578         Fix some "i.e." and "e.g." usages.
3579         Try to avoid "X/Y" usages.
3580         Don't be pedantic about "ISO C99"; just say C99.
3581         Prefer GNU style for spaces in front of parens.
3582         (Function Portability): Comment about C89 versus C99
3583         signed integer division.
3584         (Particular Headers): Use current gnulib style for dirent
3585         includes.
3587 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
3588         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3590         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
3591         macros without parameters.
3592         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
3593         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
3594         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
3595         `$#' bug.
3596         (autoupdate): Updated to match AU_ALIAS fix.
3598 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3599         and Paul Eggert  <eggert@cs.ucla.edu>
3601         * doc/autoconf.texi (Programming in M4sh): Document
3602         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
3604 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3606         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
3607         (AS_BOURNE_COMPATIBLE): ..this.
3608         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
3610 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
3612         * doc/install.texi (Defining Variables): Tighten up the
3613         CONFIG_SHELL wording.
3615 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
3616         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3618         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
3619         of (set -o) rather than testing whether (set -o posix) succeeds,
3620         to work around a bug in the AIX 5.3 shell.  Problem originally
3621         reportd by Howard Chu for libtool.
3623 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
3625         * doc/autoconf.texi (Running the Compiler, Running the Linker):
3626         Changes the macro arguments in summaries to match the
3627         descriptions.
3629 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
3631         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
3632         hint as ``a workaround for a bug.''
3634 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3636         * bin/autoreconf.in: New option `--no-recursive'.
3637         Improve wording for subpackages a bit.
3638         * doc/autoconf.texi (autoreconf Invocation): Updated.
3639         * NEWS: Updated.
3641         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
3642         in environment of `configure', not the command line.
3643         Reported by Howard Chu <hyc@highlandsun.com>.
3645 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
3647         * doc/autoconf.texi (Limitations of Builtins): Document the
3648         problem with "trap -".
3650 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
3652         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
3653         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
3654         messages to differentiate Fortran and Fortran 77 tests.
3655         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
3656         AC_LANG_ASSERT, to allow use in mixed-language projects.
3658 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
3660         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
3661         FOO" to "defined (FOO)".
3662         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
3663         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
3664         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
3665         * tests/tools.at (ifnames): Likewise.
3667 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3669         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
3670         * lib/Autom4te/General.pm (mktmpdir): Likewise.
3671         (END): Improve error message a bit.
3672         Reported by Bruce Korb <bkorb@gnu.org>.
3674 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3676         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3677         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
3679 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
3681         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
3682         requires sys/stream.h.  Reported by Oliver Kiddle.
3684 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3685             Stepan Kasal  <kasal@ucw.cz>
3687         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
3688         before the removals of test dirs, use `find' to avoid modification
3689         of symlinked directories.
3691 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
3693         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
3694         Don't ignore the macro arguments.
3696 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
3698         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
3699         declaration that works for MSVC.
3701 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3703         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
3704         Add `*.map' and `.inf' for Green Hills compiler.
3705         Reported by Stefan Seefeld <stefan@codesourcery.com>.
3707         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
3708         correctly: pad with spaces after FIRST_PREFIX if necessary,
3709         and compute string lenghts with `m4_qlen' instead of `m4_len'.
3710         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
3711         * tests/m4sh.at (AS_HELP_STRING): Test extended.
3712         * NEWS: Updated.
3713         Reported by numerous people, numerous times.
3715 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
3717         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
3718         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
3719         * lib/autoconf/general.m4, lib/autoconf/status.m4:
3720         * lib/autotest/general.m4, tests/local.at:
3721         Update copyright year to 2006.
3723         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
3724         sed substitutions.
3725         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
3726         for file names, again.  Reported by Noah Misch.
3727         (Coding Style): Explain that s|a|b| is preferred for file names.
3728         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
3729         (AC_OUTPUT_MAKE_DEFS): Likewise.
3730         * lib/autotest/general.m4 (AT_INIT): Likewise.
3731         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
3732         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
3734         Fix Posix-conformance bugs re use of { command in sed scripts,
3735         and improve the sed-related documentation a bit.
3736         * doc/autoconf.texi (Installation Directory Variables): Use
3737         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
3738         rather than "sed" when talking about Sed in general.
3739         (Particular Programs): Likewise.
3740         (Coding Style): y is like s with respect to / and ,.
3741         (Limitations of Usual Tools): Document the weird restrictions
3742         that Posix has about { }.  Use better quoting.
3743         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
3744         Rewrite to conform to Posix rules about { } in sed scripts.
3745         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
3746         * tests/foreign.at (Libtool): Likewise.
3747         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
3748         Use our own style advice re 's,a,b,' versus 's|a|b|'.
3750 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3752         * lib/autoconf/status.m4: Fix typo.
3754         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3755         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
3756         `-def', for the benefit of Portland `pgf90 -Mipa'.
3757         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
3759 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
3761         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
3762         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
3763         shell from zsh to bash.
3765 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
3767         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
3768           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
3770 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
3772         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
3773         parentheses in $(...).  Problem reported by Eric Blake.
3775 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
3777         * doc/autoconf.texi (Limitations of Usual Tools):
3778         Mention which characters can be escaped with \ in portable regular
3779         expressions used in grep, sed, expr.  Mention the leading ^ problem
3780         with expr.  Clean up some confusing wording.  Mention which
3781         grep options are portable.
3783 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
3785         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
3787 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
3789         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
3790         patch, noted by Ralf Wildenhues.
3792 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3794         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
3795         posix' unconditionally, for pdksh in `native sh' emulation.
3797 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
3799         * doc/autoconf.texi (Shellology): Document eval $? problem
3800         with ash.
3801         (Limitations of Builtins): Likewise.
3803 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3805         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
3806         CONFIG_SHELL in the environment of the configure rerun.
3807         * doc/autoconf.texi (Here-Documents, config.status Invocation):
3808         Suggest passing CONFIG_SHELL absolute, and in the environment
3809         rather than as option.
3811 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3813         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3814         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
3815         Fix macro quoting.  Fix output for n * 98 substituted variables.
3817 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3819         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
3820         `tmp' to avoid file removal race.
3822 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3824         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
3825         ac_clean_files and LIBOBJS.
3827 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3829         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
3830         Factor functionality to..
3831         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
3832         `AC_SUBST($1)' in the public version.
3833         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
3834         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
3835         ac_pt_* variables.
3837 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
3839         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
3840         filesystems.
3842 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3844         * NEWS: Move AH_HEADER mention to right place.
3846 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
3848         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
3849         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3851 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
3853         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
3854         conftst2.$ac_objext.
3855         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3857 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
3859         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
3860         conftest.o, to see whether the compiler really obeys; rm the object
3861         file before and after the test and register it with ac_clean_files.
3862         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3864 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
3866         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
3867         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
3868         code so that the most common case requires less forks.
3870 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
3872         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
3873         not portable; thanks to Paul Eggert and Alexandre.
3875         * NEWS: Fix an old typo.
3877 2005-10-20  Jim Meyering  <jim@meyering.net>
3879         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
3880         the latter'', in two places.
3882 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
3884         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
3885         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
3886         the inner workings of AC_LANG_FUNC_LINK_TRY.
3887         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
3888         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
3889         by the function rather than ignoring it.
3890         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
3891         comparing its address.  Intel's interprocedural optimization was
3892         outsmarting the old heuristic.  Problem reported by
3893         Mikulas Patocka.
3895 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
3897         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
3899 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
3901         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
3902         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
3904 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
3906         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
3907         before removing it (chmod -R u+rwx); there are three instances of this.
3909 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3910             Stepan Kasal  <kasal@ucw.cz>
3912         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
3913         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
3914         make its content writable before removing it.  Remove an errorneous
3915         comment from the end, where the logs of the failed tests are copied
3916         to the main log file.
3918 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
3920         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
3921           in case the computer is too quick.  Double quote the configure.ac
3922           snippets.
3924         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
3925           problems if the testsuite were running too fast.
3927 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
3929         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
3930         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
3931         (which belong to Xt, not X itself).  See Debian bug 327655.
3932         * NEWS: Mention this.
3934 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
3936         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
3938 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
3940         * config/move-if-change: Don't output "$2 is unchanged";
3941         suggested by Ben Elliston.  Handle weird characters correctly.
3943 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
3945         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
3946           calls, so that the final expansion of this macro is shorter.
3947           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
3948           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
3949           the cleanup there.  Use AS_VAR_* macros, to be more general.
3950         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
3952         * lib/autoconf/general.m4: Use AS_IF where appropriate.
3954         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
3956 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
3958         * doc/autoconf.texi (Configuration Headers): Add an index entry
3959           for AH_HEADER.
3961 2005-08-26  Pavel Roskin  <proski@gnu.org>
3963         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
3964         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
3965         running xmkmf.
3967 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
3969         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3970         The previous patch didn't work, so try a better one.
3972 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
3974         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
3975         in the example.  Reported by Bruno Haible.
3976         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
3977         "if $undefined_var;" succeeds with my shell.
3979         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
3980         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
3981         but change the m4_divert_text to m4_divert_once.
3983 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
3985         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3986         Work around bug in Solaris /usr/xpg4/bin/awk.
3987         The bug is present in at least Solaris 8 through 10.
3989 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
3991         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
3992         some evil values and relying on the fact that $* concatenates the
3993         parameters by the first character from IFS.
3995 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
3996             Stepan Kasal  <kasal@ucw.cz>
3998         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
3999         first header appears, define AH_HEADER.
4000         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
4001         Update limitations about when to call AC_CONFIG_HEADERS.
4002         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
4003         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
4004         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
4005         ``Configuration Actions''; fix their index entries.
4007         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
4008         options correctly.  Process N-M as M-N if M is smaller than N.
4009         Process ranges correctly so that N-N will run only N.
4010         Sort and uniquify the tests that will be run.  If there is more
4011         than one test, reinsert the banners for the tests.
4012         * tests/autotest.at (Keywords): Unmark XFAIL.
4014 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
4016         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
4017           before passing the macro name to AH_TEMPLATE.
4019         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
4020           now opens log after option processing; in particular, --version
4021           and --help do not touch config.log.
4023         * Makefile.maint: Revert the change from 2005-08-12.
4025 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
4027         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
4028           common code to...
4029         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
4031 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4033         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
4034         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
4035         Language cleanup.
4037         * doc/autoconf.texi (Defining Symbols, Changed Results):
4038         Prepend to LIBS, not append, in examples.
4040 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
4042         When building in place, set srcdir="."; suggested by Tim Van Holder.
4044         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
4045           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
4046         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
4047         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
4048           does not mean "no --srcdir option".
4050 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4052         * tests/autoscan.at (autoscan): New file.
4053         * tests/suite.at: Use it.
4054         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
4055         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
4057         * tests/autotest.at (Keywords): Test keywords combinations.
4059 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
4061         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
4062           add "2>&1"; gzip 1.2.4 prints help on stderr.
4064 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
4066         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
4067         was pushdef'ed twice while popped only once.  Push it only once.
4068         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
4070 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
4072         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
4073         prefixed by mere "===", not "configure: === ".
4075 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
4077         * Makefile.maint: Update from Bison.
4079         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
4080         "<tab>" in comment, so that the point is understandable.
4082 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
4084         Rewrite substantial part of lib/autoconf/status.m4.
4085         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
4086         and CONFIG_COMMANDS are not processed in four separate loops.
4087         Instead, there is one main loop.  This alows that the common code
4088         is expanded only once, thus config.status (and configure) is smaller.
4090         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
4091         the AC_LIST_FILES and cousins macros are no longer used.
4093         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
4094         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
4095         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
4096         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
4097         contain the initialization, nor the for loop, nor the associated
4098         commands; all these go to ...
4099         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
4100         _AC_OUTPUT_CONFIG_STATUS.
4101         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
4102         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
4103         (_AC_OUTPUT_FILE): The creation of the sed script ...
4104         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
4105         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
4106         _AC_OUTPUT_MAIN_LOOP.
4107         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
4108         _AC_CONFIG_COMMANDS): Use ...
4109         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
4110         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
4111         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
4112         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
4113         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
4114         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
4115         ... new macros.
4116         (_AC_CONFIG_UNIQUE): Update.
4117         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
4118         Replaced by this ...
4119         (_AC_LIST_TAGS): ... new common macro.
4120         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
4121         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
4122         (_AC_LIST_TAG_COMMANDS): ... new common macro.
4123         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
4124         this didn't belong to the `config commands' section.
4125         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
4126         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
4127         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
4128         to the `config commands' section either.
4129         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
4130         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
4132         ... and many changes to the comments nearby.
4134         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
4135         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
4136         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
4137         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
4138         (#define header templates): The comment at the top of the generated
4139         header now includes the name(s) of the source file(s).
4141         Several unrelated small changes:
4143         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
4144         parameter to AC_DIAGNOSE.
4145         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
4146         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
4147         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
4148         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
4149         with AU::AC_OUTPUT.
4150         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
4151         in AC_OUTPUT doesn't double-quote it either.
4152         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
4153         parameters.
4155 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
4157         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
4158         versions of Portland Group compiler produce single- and double-quoted
4159         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
4160         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4162 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
4164         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4165         This is a corrected version of yesterday's patch.
4167 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
4169         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
4170         path, too; insert a "===" to emphasize the line.
4172         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
4173           ac_cv_build_alias to ac_build_alias.
4174         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
4176         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
4177         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
4178         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
4179         (AC_ARG_VAR): ... here.
4180         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
4181           target_alias.
4183         Keep a list of all precious variables and process them with one simple
4184         for loop, instead of expanding all commands, or, OTOH, complicated
4185         processing of output of "set".
4186         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
4187         variable names in new macro...
4188         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
4189         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
4190           a loop to assign all ac_env_* and ac_cv_env_* variables.
4191         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
4192           to INIT_PREPARE.
4193         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
4194           its value to shell variable ac_precious_vars and call
4195           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
4196         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
4197           _AC_ARG_VAR_VALIDATE.
4199         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
4200           and the AC_SUBSTs ...
4201         (AC_INIT): ... here.
4203         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
4204           the ac_subst_files section in config.log.
4206         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
4208 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
4210         * NEWS: New macro AC_C_TYPEOF.
4211         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
4212         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
4213         * tests/c.at (C keywords): Test AC_C_TYPEOF.
4215         Fix problems reported by Nicolas Joly.
4216         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
4217         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4218         They are generated by the Tru64 v5.1B shell.
4220 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
4222         Fix my changes from 2005-07-01; reported by Noah Misch.
4223         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
4224         description, the macro now accepts only a single tag.
4225         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
4227         Fix cases when the varsions of Autoconf and Autotest don't match.
4228         Reported by Noah Misch.
4229         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
4230         at_top_builddir, for compatibility with older autotest.
4231         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
4232         is not set, use at_top_builddir, for compatibility with older
4233         versions of autoconf.
4235 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
4237         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
4238         Problem reported by Patrick Welche.
4240 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
4242         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
4243         sed substitution command, so that we allow | in program prefixes
4244         and program suffixes.  (& is a problem anyway; we're not fixing
4245         that here.)
4246         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
4247         configure_input, top_builddir, srcdir, etc.
4248         * lib/autotest/general.m4 (AT_INIT): Likewise, for
4249         PATH_SEPARATOR in AUTOTEST_PATH.
4251 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
4253         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
4254         for loop over config.site files using `set', to allow
4255         directory names containing IFS characters.
4257 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
4259         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
4260         directories with weird names.  Apparently some people like living
4261         on the edge.  However, improve the test that "pwd" actually does
4262         report a name for the working directory.
4263         * NEWS: Remove the claim that we test for funny chars in dir names.
4265 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
4267         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
4268         replaced ...
4269         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
4270         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
4271         Now accept a single tag, not whitespace separated list.
4272         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
4274 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
4276         * doc/autoconf.texi (Configuration Headers): Change the explanation
4277         about #include <config.h>.
4278         (Generic Functions): Mention the Gnulib project.
4279         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
4281         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
4282         document to output the default config_* lists to config.status.
4283         Don't recognize option --file, if the functionality is not there.
4284         Likewise for --header; moreover, recognize --he and --h as shortcuts
4285         for --help in that case.
4287         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
4288         matches the order of execution.  No code changed.
4290 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4292         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
4293         single-quoted -cmdline argument in Portland Group compiler.
4294         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4296 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
4298         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
4300 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
4302         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
4303         descriptors to child processes; reported by Norman Gray.
4305 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
4307         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
4309         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
4310         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
4311         (AC_SUBST): Call it.
4312         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
4313         the directory specific variables; but don't call it for configure_input.
4315 2005-06-28  Derek Price  <derek@ximbiot.com>
4317         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
4318         addition.
4320 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
4322         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
4323         directory have inherent problems with special characters like spaces,
4324         due to limitations in Make syntax.  Problem reported by Alexandre
4325         Duret-Lutz.
4326         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
4327         Also, fix Tru64 porting problem with shell patterns,
4328         reported by Ralf Wildenhues.
4330 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4332         * doc/autoconf.texi (Subdirectories): Fix markup typos.
4334 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
4336         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
4338         Fix some more shell quoting problems.  Prompted by a bug report
4339         from Justace Clutter.
4340         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
4341         variable into diagnostic.  Make the diagnostic an error, not a warning,
4342         because we really don't support spaces and suchlike in dir names.
4343         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
4344         Don't worry about backslashes in srcdir; it can't happen now.
4345         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
4346         Simplify ac_optarg handling.
4347         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
4349 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
4351         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
4352         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
4353         * tests/atlocal.in: Propagate $EGREP and $SED.
4354         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
4355         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
4357         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
4358         that '\|' is not allowed in BREs; recommend using newline separated
4359         list of patterns instead of multiple -e options.
4361         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
4363         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
4365 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4367         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
4369 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
4371         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
4372         b, t, r, w commands require single space, while : cannot have any.
4373         (Special Shell Variables): Fix sed code this in the example.
4374         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
4375         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
4377         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
4378         expand to the empty list.  Don't use two pairs of m4_changequote,
4379         it's not necessary.
4381 2005-06-20  Derek Price  <derek@ximbiot.com>
4383         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
4385 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
4387         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
4388         * doc/autoconf.texi:
4389         Don't mention Solaris versions so much, if a
4390         problem is common to all extant versions of Solaris.  Say "SunOS
4391         4" instead of "SunOS" for SunOS 4.
4392         (awk): Mention more of the limitations of traditional Awk.
4393         (cat): Don't talk about cat -v.
4395 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
4397         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
4398         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
4399         but the implementation is entirely different and is designed
4400         to be compatible with glibc strverscmp.
4401         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
4403         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
4404         on Mac OS X 10.4 reported by Peter O'Gorman in:
4405         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
4406         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
4407         Use shell builtins rather than 'expr', to work around expr bug.
4409 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
4411         * doc/autoconf.texi: "filesystem" -> "file system".
4412         "behaviour" -> "behavior".
4413         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
4414         * lib/autoconf/general.m4: Omit blank after ":" sed command,
4415         as per POSIX.
4416         * lib/m4sugar/m4sh.m4: Likewise.
4417         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
4418         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
4420         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
4421         (.x.1): Ignore the time stamp in the .TH line when deciding whether
4422         to update the man page.  That way, we don't have to check in new
4423         man pages every month.
4425         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
4426         quotes and backslashes.  Patch from Derek Price.
4428 2005-06-10  Derek Price  <derek@ximbiot.com>
4430         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
4431         AS_TR_SH.
4433 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
4435         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
4436         -u, since it outputs chatter if the input files are the same.
4437         Problem reported by Ralf Menzel.
4439 2005-06-08  Derek Price  <derek@ximbiot.com>
4441         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
4442         renaming them since they are about to be redefined anyhow.
4444 2005-06-08  Derek Price  <derek@ximbiot.com>
4446         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
4447         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
4448         Move m4_undefine to alphabetical order.
4450 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
4452         * README: Recommend GNU M4 1.4.3 or later.
4453         * doc/autoconf.texi (Introduction): Likewise.
4454         Reword to avoid some formatting glitches.
4455         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
4456         Clarify explanation of HP compiler bug.
4457         Redo example output tp match current CVS snapshot.
4458         Use @example.org in email addresses when the examples
4459         might get inadvertently cut-and-pasted into user code.
4460         Remove example of autom4te usage that doesn't seem to work now.
4461         Use modern AC_INIT (except when the example is meant to be
4462         shown with Autoconf 2.13).
4463         Update ksh info for Solaris 9 and later.
4464         KB -> kB.
4465         Modernize description of Automake versions a bit.
4466         Don't claim a future version of Autoconf is near.
4467         * doc/install.texi: Reword to avoid some formatting glitches.
4469 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4471         * doc/autoconf.texi: Add [] to examples, so that the manual
4472         follows its own advice about quoting better.
4473         Reword to avoid some formatting glitches.
4474         * doc/installt.exi: Reword to avoid some formatting glitches.
4476         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
4477         Tru64 ksh pattern matching bug.  Reported against Libtool by
4478         Albert Chin <libtool@mlists.thewrittenword.com> and
4479         Nicolas Joly <njoly@pasteur.fr>.
4481 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
4483         m4_cdr of one-member list was [[]] (one-member list containing an
4484         empty string) instead of [] (an empty list.  Callers were skewed to
4485         match this misbehaviour.  As a consequence of this:
4486          - m4_foreach([x], [], [foo]) expanded to `foo', while
4487          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
4488         This bug has been fixed:
4490         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
4491           expand to an empty string; print error msg if called without
4492           an argument list.
4493         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
4494           misbehaviour; handle [] and [[]] correctly.
4496 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
4498         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
4499         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
4500           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
4502 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
4504         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
4505           swallow records with more than 99 fields.
4506         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
4507           parse the long line.
4509 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
4511         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
4512           swallow literals longer than 399.  Reported by Ralf Wildenhues.
4513         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
4514           to workaround this limitation.
4516 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
4518         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
4519         to gfortran, and make these the first two compiler names
4520         checked (following the general autoconf preference for gcc).
4522 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
4524         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
4525         (DISTCLEANFILES): Remove $(check_SCRIPTS).
4526         (testsuite): Make sure autotest.m4f is up-to-date before using it.
4528 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
4530         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
4531         expression of unbounded size when processing the --list
4532         option.  This runs afoul of a limit of 399 bytes per regular
4533         expression on AIX.  Problem reported by Ralf Wildenhues.
4535 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
4537         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
4538         * doc/autoconf.texi (Particular Headers): Reword example
4539         for multiline stdbool replacement.
4540         (Setting Output Variables): Reword text a bit.  Don't
4541         give all the details about |#_!!_#|.
4542         Reword description of line replacement.
4544 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
4546         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
4547         now contain newlines, and substituted files must be referenced on
4548         a line alone; the sed scripts to substitute them are now very
4549         different.
4550         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
4551         commands can be put in a sed script portably.
4552         * doc/autoconf.texi (Setting Output Variables): Document above
4553         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
4554         use of multiline substitution.
4555         * tests/torture.at: No longer expect substitution of newline to fail.
4557 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
4559         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
4560         From Ralf Menzel (trivial change).
4562 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
4564         * tests/local.at: Don't attempt to check for negated character
4565         classes in shell scripts.  The test was too brittle.
4567 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
4569         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
4570         * doc/autoconf.texi (Limitations of Builtins): Document this
4571           limitation.
4573 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
4575         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
4576           common code; used in many places in the tree.
4577         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
4578         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
4580         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
4582         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
4583           messages when ac_unique_file is not found.
4584         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
4585         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
4586           commands, for consistency with AC_MSG_ERROR and such.
4588         * bin/autoconf.as: Make more use of "shift 2" in option processing.
4590         * bin/Makefile.am: Merge the two rules for creating scripts.
4592 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
4594         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
4595         obsolete; it was never documented.
4596         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
4598 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
4600         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
4601         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
4602         (ac_top_builddir): ... this ...
4603         (ac_top_build_prefix): ... to this; the old name is also kept, for
4604           backward compatibility.
4605         (ac_top_builddir_sub): New variable, without the trailing slash,
4606           always nonempty.
4607         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
4608         * doc/autoconf.texi (Configuration Actions): Rename
4609           ac_top_builddir to ac_top_build_prefix.
4610         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
4611           at_top_builddir to at_top_build_prefix.
4612         * lib/autotest/general.m4 (AT_INIT): Likewise.
4614 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
4616         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
4617           of confdefs.h .
4619 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
4621         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
4622           argument to m4_foreach.  I guess it was necessary in the past,
4623           but I think it's a no-op now.
4625 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
4627         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
4628           ``cat <<_ACEOF'' commands to one.
4629         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
4630         * lib/autoconf/status.m4: On various places, use expr instead of
4631           ``echo|sed.''
4632         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
4633         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
4634         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
4635           a range.
4636         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
4637           the wrong patterns between ``case'' and ``esac.''  The previous
4638           code had false positives.
4640 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
4642         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
4643         as on 2005-05-02.
4644         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
4645         Mention LIBOBJDIR.
4647 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
4649         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
4650         ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
4651         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
4652         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
4653         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
4654         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
4655         config/config.guess, config/config.sub, config/elisp-comp,
4656         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
4657         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
4658         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
4659         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
4660         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
4661         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
4662         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
4663         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
4664         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
4665         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
4666         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
4667         lib/autoconf/general.m4, lib/autoconf/headers.m4,
4668         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
4669         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
4670         lib/autoconf/specific.m4, lib/autoconf/status.m4,
4671         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
4672         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
4673         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
4674         lib/autotest/general.m4, lib/emacs/Makefile.am,
4675         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
4676         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
4677         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
4678         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
4679         tests/compile.at, tests/foreign.at, tests/fortran.at,
4680         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
4681         tests/semantics.at, tests/suite.at, tests/tools.at,
4682         tests/torture.at, tests/wrapper.as:
4683         Update FSF postal mail address.
4685 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
4687         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
4688           check.
4689         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
4690           enough arguments, similarly as in m4_bpatsubsts.
4692 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
4694         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
4695           of absolute paths.
4697 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
4699         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
4700           for absolute directory names in one loop.
4701         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
4702           abbreviations of --version and --debug.
4704 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
4706         * doc/autoconf.texi (Autoconf Language): Be more precise about
4707         quoting rules.  Problems noted by Stepan Kasal.
4708         Also, throughout this document, be more careful about white space.
4709         "blank", "white space", and "space" all have different meanings
4710         and we should be careful to say what we mean.
4712 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
4714         Fix C++ related problems reported by Werner Lemberg.
4715         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
4716         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
4717         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
4718         avoid problems with C++ and throw.
4719         * tests/compile.at: .cpp, not .cc.
4721         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
4723 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4725         * doc/autoconf.texi (Generic Functions): Typos.
4727 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
4729         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
4730         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
4731         set by latest automake.
4733 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
4735         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
4736         outputs 0 on GNU/Linux these days.
4738 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
4740         * doc/autoconf.texi (Autoconf Language): Add more description
4741         about quoting heuristics.
4742         (Limitations of Builtins): Describe "set -" problems.
4744 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4746         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
4747         not newline.
4749         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
4750         by AC_DEFINE; it was a mistake.
4751         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
4753 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
4755         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
4757 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
4759         * doc/autoconf.texi (External Software): Quadrigraphs are not
4760           processed correctly in AS_HELP_STRING; avoid this in the examples.
4761         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
4762         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
4763           comment and reduce m4_default([foo], []) to [foo].
4764         (m4_strip): Update the explanation.
4766 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4768         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
4769         Remove core.conftest.* too; it's generated by Tru64 5.1.
4770         Problem reported by Jennis Pruett.
4771         * lib/autoconf/functions.m4
4772         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4773         Don't bother to remove core files; AC_RUN_IFELSE should do that
4774         for you.
4776 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
4778         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
4780 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
4782         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
4783         Report from Horst Wente.
4785 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
4787         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
4788           the comment.
4790 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
4792         * doc/autoconf.texi (External Software, Package Options): Add
4793           examples showing how to implement --with-* and --enable-* options.
4795 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
4797         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
4798         as well as configure.in.  Problem reported by Gregorio Guidi.
4800 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
4802         * doc/autoconf.texi (Particular Functions): Use gnulib's current
4803         pattern for alloca snippet.
4805 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
4807         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
4809 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
4811         * doc/autoconf.texi (Generic Programs): Fix a typo.
4813 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
4815         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
4816         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
4818 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4820         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
4821         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
4822         whole-archive (-zallextract, -zdefaultextract) options in the hope of
4823         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
4824         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
4826 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
4828         * NEWS: The configure command now warns you if you attempt to use
4829         a directory whose name contains a special character like space,
4830         newline, or "\".
4831         * doc/autoconf.texi (Installation Directory Variables): Allow
4832         "," in file names.  Do not use \@; it's not a portable regexp.
4833         * bin/Makefile.am (edit): Likewise.
4834         * lib/Makefile.am (edit): Likewise.
4835         * tests/Makefile.am (edit): Likewise.
4836         * tests/semantics.at: Likewise.
4837         * tests/torture.at: Likewise.
4838         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
4839         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
4840         * doc/autoconf.texi (File System Conventions): Warn about
4841         unportable file names.
4842         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
4843         (AC_INIT): Use it.
4844         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
4845         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
4846         ac_pwd, and quote srcdir.
4847         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
4849         * doc/autoconf.texi: Fix some systematic formatting problems.
4850         ".)"  needs a following @: if not at the end of a sentence, and
4851         similarly for "!)".  "etc." should be preceded by a comma.
4852         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
4854 2005-03-22  Bruno Haible  <bruno@clisp.org>
4856         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
4857         argument is often called 'build-aux'.
4859 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
4861         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
4862           macro AC_TRY_LINK is obsolete.
4863         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
4864           `AC_CONFIG_FILES'.
4866 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
4868         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
4869           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
4870           from a Common Lisp's `cl'.
4871         (AC_PROG_CXX): Behave according to the documentation: don't
4872           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
4873           make the variable CCC precious; use `cl.exe', not `cl'.
4875 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
4876             Alexandre Duret-Lutz  <adl@gnu.org>
4878         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
4879         /dev/null, as "configure" shouldn't read stdin, and this insulates
4880         us from problems (e.g., when testing for "cl").  Also, do this
4881         redirection before invoking "hostname" or "uname", and keep the
4882         original input stream available via...
4883         (AS_ORIGINAL_STDIN_FD): ... this new macro.
4884         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
4885         bother with "</dev/null" since it's now done at the top of
4886         'configure'.
4887         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
4888         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4889         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4890         * doc/autoconf.texi (File Descriptor Macros): New section.
4891         (Printing Messages): Mention it.
4892         * tests/base.at (Input/Output): New test.
4894 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
4896         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
4897         newline if neither \c nor -n work, as that would output two
4898         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
4900 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
4902         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
4903         This causes that any required macros inside will get before the if.
4904         * doc/autoconf.texi (autom4te.cache): A typo.
4906 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
4908         Undo previous change, except keep the change to
4909         lib/autoconf/programs.m4 that replaced grep with shell
4910         pattern-matching.  This is because net-snmp configure reads stdin.
4911         Reported by Noah Misch.
4913 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
4915         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
4916         from /dev/null, as "configure" shouldn't read stdin, and this
4917         insulates us from problems (e.g., when testing for "cl").
4918         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
4919         before invoking "hostname" or "uname".
4920         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4921         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
4922         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
4923         "</dev/null" since it's now done at the top of 'configure'.
4924         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4925         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4926         Also, replace grep with shell pattern-matching, to save a process.
4928 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
4930         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4931         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
4932         avoid thinking that Allegro Common Lisp's "cl" command is a C++
4933         compiler.
4935 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4937         * doc/autoconf.texi (Limitations of Usual Tools): Document that
4938         grep -q isn't portable.  Improve grep -s explanation.
4939         Problem reported by Dan Manthey.
4941 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
4943         * doc/autoconf.texi (Special Shell Variables): Clarify
4944         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
4946 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4948         * doc/autoconf.texi: Use @acronym for DJGPP.
4949         Fix some @code's that should have been @env's, and vice versa.
4950         Sort environment variable names.
4951         Mention that shells no longer inherit IFS.
4952         Don't recommend PATH_SEPARATOR=';' so strongly.
4953         Mention that $RANDOM might expand to the empty string.
4954         "symlink" and "soft link" -> "symbolic link".
4955         Improve mktemp description (reported by Bruno Haible).
4957 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
4959         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
4960         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
4961         Likewise.
4962         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
4963         Likewise.
4965 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
4967         * NEWS: Mention AT_COPYRIGHT.
4969         * tests/local.at (AT_CMP): Use diff directly on input files rather
4970         than copying them.
4972         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
4973         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
4975 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
4976         and Paul Eggert  <eggert@cs.ucla.edu>
4978         * tests/autotest.at (Empty test suite): New test.
4979         * tests/torture.at (Substitute and define special characters)
4980         (Substitute a 2000-byte string, Define to a 2000-byte string)
4981         (Substitute a newline, Define a newline): New tests.
4983 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
4985         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
4986         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
4987         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
4988         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
4989         (Standard regular expressions): New test.
4990         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
4991         excess test name quoting.
4992         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
4993         CPPFLAGS to `configure' instead of setting it in `configure'.
4995         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
4996         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
4997         on some platforms.
4999         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
5000         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
5002         * tests/local.at (AT_CMP): New macro.
5003         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
5004         (AC_SAVE_STATE): Move environment grep...
5005         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
5006         (AT_CONFIG_CMP): New macro.
5007         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
5008         * tests/c.at (Extensions): Do not exit early.
5009         * tests/atlocal.in: Inherit $GREP.
5011         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
5012         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
5014         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
5015         (AC_COPYRIGHT): Factor header comment portion out and move into...
5016         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
5017         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
5018         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
5019         --version output.
5020         * tests/local.at: Add Autoconf test suite copyright notice.
5021         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
5023 2005-02-04  Bruno Haible  <bruno@clisp.org>
5024         and Paul Eggert  <eggert@cs.ucla.edu>
5026         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
5028 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
5030         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
5031         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
5033         Try not to generated lines of unlimited length, as POSIX places a
5034         2047-byte limit on line length of portable text files.
5035         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
5036         Use newline as a separator, not space.
5037         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
5038         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
5039         space.
5041 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5043         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
5044         as_func_*.  Add test to check whether positional parameters
5045         are restored after function return.
5047 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
5049         * doc/autoconf.texi (Special Shell Variables): Mention _,
5050         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
5051         if they contain a lower-case letter.  The DUALCASE problem was
5052         reported by Ralf Wildenhues.
5054         * bin/autoconf.as: Don't exit with status 0 after write failure
5055         with --help or --version.
5056         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
5057         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
5059 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5061         * doc/autoconf.texi (Limitations of Usual Tools):
5062         Unicos 9 sed limitations.
5063         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
5064         to get the option-enhanced interface on older Crays.  Try ftn for
5065         Fortran 95 (newer Crays).
5067 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
5069         * man/Makefile.am (.x.1): Go back to the simple solution, but take
5070         care to echo the commands, so the user knows what's going on.
5071         Modified from a suggestion by Stepan Kasal.
5073         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
5074         with a cross reference.  Derived from a suggestion by Bruce Korb.
5076 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
5078         * doc/autoconf.texi (config.status Invocation): Warn about
5079         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
5080         * doc/install.texi (Defining Variables): Likewise.
5081         Based on a proposed patch by Ralf Wildenhues.
5083         * man/Makefile.am (.x.1): Make sure the required generated files
5084         are up to date.  Problem and original solution proposed by Stepan Kasal.
5085         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
5086         implicit-man-prerequisites): New rules, used by the above.
5088         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
5089         * config/config.guess, config/config.sub, config/install-sh: Likewise.
5090         * config/missing, config/texinfo.tex: Likewise.
5092 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
5094         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
5095         Update the long comment explaining it.
5097         m4_require no longer writes an ``is required by'' line to the
5098         execution stack.  It contains only one bit of non-redundant
5099         information: that the macro was required, not called.  And even
5100         this bit is useless in most situations: have you ever met a macro
5101         which both calls and requires the same macro?
5103         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
5104         (_m4_defun_pro_outer): ... only via this macro, for the outermost
5105           macro.
5106         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
5107         (m4_expansion_stack_pop): Remove the misplaced comment.
5108         (m4_require): Don't put the ``is required by'' line to the
5109           execution stack; slightly improve the out-of-a-defun error message.
5110         (_m4_divert_grow): New macro, counter for the temporary diversions.
5111         (_m4_require_call): Use it.
5112         * tests/m4sugar.at (m4_require): Expect output without the
5113           ``is required by'' messages.
5115 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
5117         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
5118         rather than x for expr.
5120         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
5121         this is safe.
5122         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
5123         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
5124         * lib/autotest/general.m4 (AT_INIT): Likewise.
5125         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
5126         * tests/mktests.sh: Likewise.
5128 2005-01-27  Akim Demaille  <akim@epita.fr>
5130         Have autoheader honor --force.
5132         * doc/make-stds.texi, doc/standards.texi: Update from masters.
5133         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
5134         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
5135         from masters, so that FileUtils.pm's update_file provide --force
5136         support.
5137         * bin/autoheader.in: Pass $force to update_file so that
5138         config.h.in is always recreated when --force.
5140 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
5142         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
5144 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
5146         * doc/autoconf.texi (Limitations of Builtins): Clarify that
5147         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
5149 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
5151         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
5152         Warn about newline stripping in `` and $().  Update Solaris
5153         version to 9.
5154         (Limitations of Builtins): Use expr "X...", not expr "x...", as
5155         X insulates us from future changes to Posix.
5156         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
5157         stripping.
5159 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
5161         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
5162           you cannot use AC_DEFINE to define macros containing `[' or `]'.
5164 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
5166         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
5167         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
5168         bug-tar mailing list.
5170 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
5172         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
5174 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
5176         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
5177         ulongval to be static, to avoid unwanted GCC warning.  Problem
5178         reported by Michael Jennings via Daniel Reed; see
5179         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
5181 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
5183         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
5184         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
5185         datadir, infodir, and mandir.  Adjust argument parsing code.
5186         (_AC_INIT_HELP): Update help text.
5187         * doc/autoconf.texi (Installation Directory Variables): Document
5188         new variables.
5190 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
5192         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
5193         not seem to work, assume it does set $(MAKE).
5194         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
5196 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
5198         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
5200 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
5202         A cleanup of the diversion support in m4sugar.
5204         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
5205         (_m4_divert_n_stack): New macro; the expansion is
5206           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
5207           otherwise.
5208         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
5209         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
5210           stored in _m4_divert_diversion or _m4_divert_dump.
5211         (m4_divert_pop): When the parameter is given, compare the symbolic
5212           name with the last diversion pushed on the stack.  Previously, the
5213           current diversion was compared with the numeric value of the
5214           diversion given as the parameter.
5215         (m4_require): If the macro hasn't been expanded yet, call ...
5216         (_m4_require_call): this new macro.
5218 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5220         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
5221         Workarounds for documented `case' limitations.
5223 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
5225         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
5226         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
5228 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
5230         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
5231         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5232         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
5234         Patch from Roger Leigh (with some minor changes) as follows:
5235         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
5236         Resurrect AC_PROG_CC_STDC.
5237         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
5238         AC_PROG_CC_C89, AC_PROG_CC_C99.
5239         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
5240         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
5241         AC_PROG_CC_C99): New macros.
5242         (AC_PROG_CC_STDC): Use them.
5243         (_AC_PROG_CC_STDC): Remove.
5244         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
5245         * THANKS: Add Roger Leigh.
5247 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
5249         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
5250         signals that the package uses Automake; a `Makefile.am' is typical but
5251         not essential.  Reported by Magnus Therning.
5252         * tests/torture.at (autoreconf.): New banner.
5253         (autoreconf and non-AC configure): Rename to `Non-Autoconf
5254         AC_CONFIG_SUBDIRS'.
5255         (autoreconf an empty directory): Rename to `Empty directory'.
5256         (Unusual Automake input files): New test.
5258 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
5260         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
5261         (AT_SETUP): Clear AT_capture_files.
5262         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
5263         (AT_KEYWORDS): Fix comment typo.
5264         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
5265         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
5266         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
5268 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
5270         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
5271         If the variable to set is already set, set ac_cv_path_$1
5272         to the preset value so caller can assume ac_cv_path_$1
5273         is available.  (trivial change)
5275 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
5277         * BUGS (Minor Problems): Warn about makefile limitations.
5278         * Makefile.am: Find and update `INSTALL' in $(srcdir).
5279         * man/Makefile.am: Find and update manual pages in $(srcdir).
5281 2004-12-24  Eric Blake  <ebb9@byu.net>
5283         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
5284         shells in subshell, to avoid noise from ash.  (trivial change)
5286 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5288         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5289         problems with SunOS ksh and backslash escaping, Bourne shells and
5290         closing brackets (both within character classes).  Bug reported
5291         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
5292         <read>: New entry.  Mention non-availability of -r.
5294 2004-12-21  Akim Demaille  <akim@epita.fr>
5296         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
5297         avoid cluttering displayed messages.  Rather, prepend srcdir where
5298         AT_LINE is used for log files.
5300 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
5302         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
5303         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
5304           no longer part of the macro, quote the occurrence of ``$tmp''.
5305         * doc/autoconf.texi (Forbidden Patterns): Typo.
5307 2004-12-21  Akim Demaille  <akim@epita.fr>
5309         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
5310         separated from the test title by forcing a white space.
5312 2004-12-21  Akim Demaille  <akim@epita.fr>
5314         Enable Emacs navigation within testsuite.log files.
5316         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
5317         use the compilation mode.
5318         (AT_LINE): Point to the srcdir.
5320 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
5322         * tests/Makefile.am (installcheck-local): Use $(bindir).
5323         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
5324         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
5325         Makefile.am scheme Autoconf now uses.
5327 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
5329         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
5330         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
5332 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
5334         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
5335         (_AT_CHECK): Use it.
5336         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
5337         (AS_ESCAPE): Fix comment.
5338         * tests/autotest.at: Adjust section banner comments.
5339         (AT_CHECK_AT): Accept STATUS and STDERR.
5340         (AT_CHECK_AT_TEST): Likewise.
5341         (Invalid brace-enclosed parameter expansion)
5342         (Multiline command from M4 expansion)
5343         (Double-M4-quoted command): New tests.
5345 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
5347         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
5349 2004-12-17  Akim Demaille  <akim@epita.fr>
5351         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
5352         m4_pattern_allow.
5353         Suggested by Alexandre Duret-Lutz.
5354         * doc/autoconf.texi (Setting Output Variables): Catch up.
5356 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5358         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
5360 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5362         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
5363           remove the comment which said we cannot.
5365 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5367         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
5368         Reini Urban and Paul Eggert for reporting the dependencies.
5370         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
5371         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
5372         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
5374 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5376         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
5377           so that eg. ``autoscan --help'' doesn't truncate it.
5379 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
5381         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
5382         generated conftest files.
5384 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
5386         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
5387         tracing on commands with possibly-escaped newlines.
5388         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
5389         discontinued behavior and its implications.
5390         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
5391         (BSx641-newline in command, BS-BS-newline in command)
5392         (BSx640-newline in command, Newline-CODE-BS-newline in command)
5393         (Single-quote-BS-newline in command)
5394         (Single-quote-newline-BS-newline in command): New tests.
5396 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
5398         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
5399           on platforms where it works.
5400         (_AS_TEST_PREPARE): Test for ``test -x''.
5401         (_AS_BROKEN_TEST_PREPARE): Nuke.
5403 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
5405         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
5406         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
5407           give only 4-letter prefix to AS_TMPDIR, comment fixed.
5408         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
5409           create the temporary directory.
5410         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
5412 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
5414         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
5415         (trivial change)
5417 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
5419         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
5421 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
5423         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
5424         to avoid using a negated character class.  Reported by Nicolas Joly.
5425         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
5427 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5429         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
5430         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
5431         Don't depend on .x file explicitly, since "make" does that for us.
5432         Suggested by Stepan Kasal.
5434         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
5435         Add *.tmp.
5436         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
5437         ifnames): Factor common code.  And they said it couldn't be done!
5439 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
5441         * bin/.cvsignore: Add autoconf.in.
5442         * tests/.cvsignore: Add wrapper.in.
5443         * lib/autotest/general.m4: Escape '$' in case pattern.
5445 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
5447         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
5449         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
5451         * tests/autotest.at: New file.
5452         * tests/suite.at: Include it.
5453         * tests/Makefile.am: Distribute it.
5455         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
5456           shell tracing on a command that could contain multiple lines.
5457         * doc/autoconf.text: Document that fact and its implications.
5458         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
5459         * tests/autotest.at (Multiline backquote command substitution,
5460           Multiline parameter expansion, Literal multiline command,
5461           Multiline parenthetical command substitution): Remove XFAIL.
5463 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
5465         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
5466         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
5468 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
5470         * configure.ac (test suite): Cease to generate wrapper scripts.
5471         * configure: Regenerate.
5472         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
5473         (m4f_dependencies): Adjust accordingly.
5474         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
5475         (wrapper.in): Generate it in the build directory.
5476         (MAINTAINERCLEANFILES): Delete wrapper.in.
5477         (CLEANFILES): Add wrapper.in.
5478         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
5479         the output.  Replace each $as_me with a @wrap_program@.
5480         * tests/wrapper.in: Delete it; we always build it.
5482         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
5483         (EXTRA_DIST): Remove autoconf.in.
5484         (CLEANFILES): Add autoconf.in.
5485         (autoconf): Find autoconf.in in the build directory.
5486         * bin/autoconf.in: Delete it; we always build it.
5488 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
5490         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
5491         PATH members so as to not prepend an empty element.  Move a comment.
5492         * Makefile.am (SUBDIRS): Build in `tests' last.
5493         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
5495 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
5497         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
5498         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
5499         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
5500         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
5502 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
5504         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
5505         patch: extra "-l"s.
5507 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
5509         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
5510         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
5511         * doc/autoconf.texi (Particular Functions): Mention new behavior.
5513 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
5515         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
5516           out the common code to ...
5517         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
5518           value of the #define--default to 1, iff the macro was called
5519           with exactly one parameter.
5521 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
5523         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
5524         "char c = '\200';" rather than "char c = 0x80;" as the
5525         latter doesn't conform to the strict C standard due to
5526         overflow on signed char hosts.
5528         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
5529         to -qlanglvl=ansi.  We don't want to disable extensions.
5531 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
5533         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
5534         (Using Autotest, testsuite Scripts, Writing testsuite.at):
5535         Reword slightly to avoid some English-language problems noted
5536         by Ralf Wildenhues in:
5537         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
5539 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
5541         * NEWS: Add ^L above each release.
5543 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
5545         Fix documentation problems reported by Russ Boylan in
5546         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
5547         along with some nearby cruft.
5548         * doc/autoconf.texi (Libtool): Libtool can be used without
5549         Automake (not without Autoconf).
5550         (Introduction): Mention lists.gnu.org.
5551         * BUGS: Don't mention bugs.gnu.org.
5552         Remove mention of ancient libtool compatibility problem.
5553         * NEWS: Mention that bugs.gnu.org is kaput.
5554         * README: Likewise.  Mention where mailing list archives can be found.
5556 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
5558         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
5560 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
5562         * doc/autoconf.texi (Pretty Help Strings): Go back to
5563         single-quoting assignments to cache variables.
5565 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
5567         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
5568         with the examples; fix the bug in MY_ARG_WITH example reported
5569         by Alexandre Duret-Lutz.
5570         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
5571         expansion of $1 in the comment emitted to configure.
5573 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
5575         * doc/autoconf.texi (Pretty Help Strings): Fix typo
5576         in my editing of the previous patch.  Problem reported
5577         by Alexandre Duret-Lutz.
5579 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
5581         * doc/autoconf.texi (Autoconf Language): Explain that
5582         ``descriptions'' may not be double quotes.
5583         (Quotation Rule Of Thumb): Likewise.
5584         (Pretty Help Strings): Likewise; remove the wrong comment;
5585         simplify the examples and improve their quoting.
5587 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
5589         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
5590         the $1_found variable, don't test whether the file is executable;
5591         Both things are checked ...
5592         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
5593         the former ``test -f''.
5594         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
5596 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
5598         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
5599         use cp -R instead.
5601 2004-11-10  Derek R. Price  <derek@ximbiot.com>
5603         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
5604         limitations.  Reorder paragraphs for clarity.
5606 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
5608         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
5609         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
5610         variants", "Unix", and some related minor wording fixups.
5612         (Shellology, Special Shell Variables): Document that the Zsh
5613         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
5614         to Alexandre Duret-Lutz for this info.
5616 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
5618         * doc/autoconf.texi (One-Shot Macros): New node.
5620 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
5622         * doc/autoconf.texi (Function Portability): Fix misdescription
5623         of putenv.  Problem reported by Michael Wardle.
5625 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
5627         * doc/autoconf.texi (auindex): New macro.
5628         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
5629         Problem reported by Stepan Kasal.
5631 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
5633         Fix problems reported by Andreas Buening in:
5634         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
5635         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
5636         in test makefile.
5637         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
5638         readable; it's not true in OS/2-emx.
5640 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
5642         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
5643         "/usr/include", clear ac_x_includes instead of leaving it as "no"
5644         (trivial change).  Problem and patch reported by Andrew Church in:
5645         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
5647 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
5649         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
5650         three args in examples.  Problem reported by Frederik Fouvry in:
5651         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
5652         Also, fix some minor spacing and punctuation bugs.
5654 2004-09-02  Akim Demaille  <akim@epita.fr>
5656         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
5657         "case" to restore ordering.
5658         Reported by Stepan Kasal.
5660 2004-08-26  Akim Demaille  <akim@epita.fr>
5662         * doc/autoconf.texi: Minor typos and stylos.
5664 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
5666         * configure.ac (AC_INIT): Bump to 2.59c.
5668 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
5670         Version 2.59b.
5672         * README: Add advice about m4 1.4.2.
5674         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
5675         texinfo.tex for now (done by hand now).
5676         * Makefile.maint (wget_files, cvs_files):
5677         Remove ansi2knr.c; nobody uses it.
5678         (ansi2knr.c-url_prefix): Remove.
5679         (cvs-update): Fix test for failure.  I don't know why it ever
5680         worked...
5682         * doc/autoconf.texi: Update URLs, some of which went stale.
5683         Use @uref rather than @href.
5685         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
5686         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
5688         * config/config.guess, config/config.sub, config/elisp-comp,
5689         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
5690         doc/fdl.texi, doc/standards.texi: Sync with master copy.
5692         * NEWS, TODO, configure.ac, bin/autoscan.in,
5693         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
5694         doc/install.texi, lib/Autom4te/Configure_ac.pm,
5695         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
5696         lib/autoconf/programs.m4, lib/autoconf/status.m4,
5697         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
5698         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
5699         tests/tools.at, tests/torture.at:
5700         Use "file name" rather than "filename" or "path",
5701         to be consistent with the terminology of the GNU coding standards.
5703 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
5705         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
5706         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
5707         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
5708         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
5710         More fixes to support spaces in the name of the build directory.
5711         This isn't a complete fix but it's an improvement.
5713         * bin/autoconf.as (autom4te_options): New var.
5714         Use it instead of appending to AUTOM4TE, so that we can allow
5715         spaces in the build directory's absolute name.
5716         * bin/autoheader.in ($autoconf): Allow spaces in file names.
5717         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
5718         AT_CHECK_NOESCAPE): Likewise.
5719         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
5720         main program): Likewise.
5722 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5724         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
5725         From Ralf Corsepius in:
5726         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
5728 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
5730         * doc/autoconf.texi (Function Portability): Document isinf and
5731         and isnan.  From a suggestion by Kevin Ryde.
5733         * lib/Autom4te/General.pm (END): Return correct exit status even
5734         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
5736 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
5738         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
5739         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
5740         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
5742 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
5744         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
5745         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
5746         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
5747         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
5748         * lib/autom4te.in (Automake-preselections): Preselect
5749         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
5751 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
5753         * lib/autom4te.in (Automake-preselections): Preselect
5754         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
5755         trace them.
5757 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
5759         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
5760         Tru64.
5761         * doc/autoconf.texi (Shellology): Mention BIN_SH.
5762         Document problem with "`""`" in pdksh POSIX mode.
5764 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
5766         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
5767         with pdksh, too.  Problem reported by Patrick Welche via
5768         Gary V. Vaughan.
5769         * doc/autoconf.texi (Shellology): Note that set -o posix is
5770         useful for pkdsh, too.
5772 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
5774         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
5775         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
5776         Don't fail if ENV or BASH_ENV is readonly.
5777         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
5778         etc. are read only.  Problem reported by Ludovic Courtes.
5780 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
5782         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
5783         zsh, disable GLOB_SUBST to avoid backslash handling problems.
5784         (trivial change)
5786 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
5788         * doc/autoconf.texi (File System Conventions): Warn about
5789         names like "aux".  Problem reported by Eric Blake.
5791         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
5792         by zero instead of array size, so that we can use any arithmetic
5793         constant expression (instead of requiring an integer constant
5794         expression).  This allows us to test expressions like DBL_MAX <
5795         LDBL_MAX, which didn't conform to the C standard using the old
5796         method.
5797         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
5798         now that we can do floating-point tests at compile time.
5800 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
5802         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
5803         and LDBL_EPSILON, as the resulting expression isn't an
5804         integer constant expression and violates the C standard.
5805         Problem reported by Nelson H. F. Beebe.  Also, check
5806         for "L" suffix, and check that long double doesn't have
5807         worse range or precision than double, that mixed-mode
5808         arithmetic doesn't generate a diagnostic, that double
5809         constants fit in long double.
5811 2004-06-03  Kevin Ryde  <user42@zip.com.au>
5813         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
5814         malloc(0) and realloc(NULL,size).
5816         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
5817         Bob Proulx.
5819 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
5821         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
5822         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
5823         by Jim Meyering.
5825 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
5827         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
5828         can be rewritten using if-then-else.  Suggested by Bruno Haible.
5830 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
5832         * doc/autoconf.texi (testsuite Scripts): Fix typo.
5833         Problem reported by Stepan Kasal.
5835 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
5837         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
5838         change).  Patch reported by Ralf Wildenhues in
5839         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
5841         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
5842         function F exists if the compiler and linker let you compile an
5843         expression like (F != 0).  Recent versions of GCC optimize away
5844         the reference to F in that case, since every function address must
5845         be nonzero, so the link succeeds even if F does not exist.
5846         Problem reported by Manu in
5847         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
5849         * doc/autoconf.texi (Systemology): Standardize on the spelling of
5850         "Unix".  Many uses changed.
5851         (Limitations of Builtins): Explain better why the ! command isn't
5852         portable.
5854 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
5856         * lib/autom4te.in (Automake-preselections): Preselect
5857         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
5859 2004-05-19  Kevin Ryde  <user42@zip.com.au>
5861         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
5862         referencing AC_FUNC_STRERROR_R.
5864         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
5865         note pessimistic assumption when cross compiling.
5867 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
5869         * doc/autoconf.texi (Limitations of Make): Note that BSD make
5870         (until 2004) invoked subcommands with sh -e, contra POSIX.
5871         Reported by Kevin Ryde.
5873 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
5875         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
5876         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
5877         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
5878         `test -f "        /usr/bin/grep"', which _always_ failed.
5879         (AC_PROG_SED): Ditto bogus PATH fix.
5880         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
5881         requires that grep correctly supports _multiple_ `-e' options, rather
5882         than stating only that grep should accept `-e'.
5884 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
5886         Port to C99, which requires that 'exit' be declared.
5888         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
5889         to ensure that stdlib.h is included.
5890         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
5891         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
5892         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
5893         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
5894         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
5895         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
5896         when using 'exit' in a test; C99 requires that 'exit' be declared.
5898 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
5900         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
5901         now prefers 'grep' implementations that accept -e.
5902         (Limitations of Usual Tools): Describe problems of traditional
5903         egrep and fgrep with long input lines, and of traditional grep
5904         with -e.
5905         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
5906         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
5907         All callers changed.  Append /usr/xpg4/bin to the PATH, for
5908         Solaris.
5909         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
5910         the user with complaints about multiple -e options.
5911         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
5912         Define it with AC_PROG_GREP.
5913         * configure.ac (AC_PROG_GREP): Add.
5914         * lib/freeze.mk (GREP): New macro.
5916 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
5918         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
5919         a possible candidate only after all others fail, rather than
5920         consulting it first.  This improves backward compatibility by
5921         better reflecting the way shell selection occurred in previous
5922         versions of Autoconf, and should help to avoid triggering latent
5923         problems in other packages, such as the one in Automake where zsh
5924         is not handled robustly:
5925         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
5926         Although it is not Autoconf's responsibility to work around
5927         problems in Automake, it nevertheless makes sense to avoid
5928         introducing unnecessary incompatibilites.
5930 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
5931             Gary V. Vaughan  <gary@gnu.org>
5933         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
5934         how deeply nested we are when a suitable tool is found, set the
5935         ac_path_TOOL_found flag.
5936         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
5937         nested we are in this macro.  Break out of all 3 nested loops if
5938         ac_path_TOOL_found is set.
5940 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
5942         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
5943         of the _AS_PATH_WALK loop too if GNU flavor is found.
5945 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
5947         * doc/autoconf.texi (Limitations of Make): Update documentation
5948         for `$<'.  New entry `Long lines', based on a report from Simon
5949         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
5950         paragraph about DJGPP, based on a mail from Richard Dawe.
5952 2004-04-20  Paul Eggert  <eggert@twinsun.com>
5954         * tests/c.at (C keywords): Don't assume that GCC supports
5955         "restrict" and "inline", as sufficiently-old GCC versions do not
5956         (also, GCC configured to be in pedantic C89 mode does not).
5957         Problem reported by Sumit Pandya in:
5958         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
5960         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
5961         consider -g to work if it generates warnings when plain compiles
5962         don't.  Problem reported by Braden McDaniel in:
5963         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
5965         * doc/autoconf.texi (Slashes): New section, to document a problem
5966         reported by Jim Meyering in:
5967         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
5969         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
5970         linker output files before linking, to work around IRIX 6 linker bug.
5971         Problem reported by Rainer Orth in:
5972         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
5974 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
5976         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
5977         best tool so far counter rely on the tool path variable name to
5978         avoid checks for one tool being affected by the results of running
5979         the length check on a previous tool.
5981         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
5982         match expression argument, as different greps have different
5983         regular expression flavours.
5984         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
5985         literals.
5986         (AC_PROG_EGREP): Pass 'EGREP$'.
5987         (AC_PROG_GREP): Pass 'GREP$'.
5989 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
5991         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
5992         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
5994 2004-03-29  Paul Eggert  <eggert@twinsun.com>
5996         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
5997         Types, Specific Compiler Characteristics, System Services,
5998         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
5999         etc. consistently instead of 'long', 'short', 'unsigned' etc.
6000         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
6001         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
6002         Likewise.
6003         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
6004         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
6005         AC_TYPE_OFF_T): Likewise.
6006         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
6007         Likewise.
6009         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
6010         pacify libtool 1.5.2.  Fix quoting problems in sed command.
6012 2004-03-28  Paul Eggert  <eggert@twinsun.com>
6014         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
6015         now defines HAVE_DECL_TZNAME if it is declared, when
6016         HAVE_STRUCT_TM_TM_ZONE is not defined.
6017         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
6018         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
6019         for HAVE_TZNAME.
6021 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
6023         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
6024         superfluous backslashing of quotes (") in sed expressions;
6025         thanks to Paul Eggert.
6027 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
6029         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
6030         Fortran compiler is ifort, also added pghpf; thanks to Nelson
6031         H. F. Beebe for the bug report.
6033 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
6035         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
6036         quoted -cmdline argument in Portland Group compiler (bug
6037         reported by Jeffrey J. Barteet).
6039 2004-03-25  Kevin Ryde  <user42@zip.com.au>
6041         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
6042         (Run Time): ... here, where it's now mentioned.
6044 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
6046         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
6047         inherits from language Autoconf-without-aclocal-m4.
6048         (Customizing autom4te): Adjust example; the cache must now be
6049         disabled for language Autoconf-without-aclocal-m4.
6051 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
6052             Nathanael Nerode  <neroden@twcny.rr.com>
6054         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
6055         AC_CHECK_TOOLS): Warn if a cross-tool is found without
6056         a prefix.
6057         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
6058         AC_CHECK_TARGET_TOOLS): New macros.
6059         * doc/autoconf.texi (Generic Programs): Document
6060         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
6061         AC_CHECK_TARGET_TOOLS, and warn for future changes
6062         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
6063         AC_CHECK_TOOLS.
6064         (Specifying Names): Document the reason for these future
6065         behavioral changes.
6066         * tests/mktests.sh: Do not generate tests for the
6067         new macros.
6068         * NEWS: Document these changes.
6070         * doc/autoconf.texi: Avoid macros with unbraced arguments,
6071         they make TeX hang up.
6073 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
6075         * NEWS: New macro AC_CHECK_ALIGNOF.
6076         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
6077         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
6078         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
6079         vowel.
6080         (AC_CHECK_ALIGNOF): New macro.
6081         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
6082         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
6083         those for sizeof.
6085 2004-03-03  Paul Eggert  <eggert@twinsun.com>
6087         * bin/Makefile.am (edit): Don't use $< in a context where
6088         POSIX doesn't require support for it.  Use $@.in instead.
6089         Problem reported by Anthony N. Frasso in
6090         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
6091         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
6093 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
6095         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
6096         from the next generation of Libtool.
6097         * lib/autom4te.in (Autoreconf-preselections): Ditto.
6099 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
6101         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
6102         is not always thread-safe.  Report from Nathanael Nerode.
6104 2004-02-18  Paul Eggert  <eggert@twinsun.com>
6106         Fix a dependencies problem, stemming from a Autoconf 2.59 build
6107         problem on QNX reported by Stephen Rasku in
6108         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
6110         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
6111         $(m4sh_m4f_dependencies); this removes a FIXME.
6112         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
6113         (MAINTAINERCLEANFILES): Split into pieces,
6114         one per related section.  Add $(srcdir)/wrapper.in.
6116 2004-02-09  Paul Eggert  <eggert@twinsun.com>
6118         * doc/autoconf.texi (Setting Output Variables): Emphasize that
6119         AC_SUBST provides no portable way to escape literal newlines.
6121         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
6122         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
6123         Darwin uses -lcrt2.o and there's little point to cataloging all
6124         the system variants.  Partial fix reported by Andreas Waechter in:
6125         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
6126         for bug reported by Nelson H. F. Beebe in:
6127         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
6129 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
6131         * doc/autoconf.texi (AU_DEFUN): Fix English,
6132         suggested by Paul Eggert.
6133         * lib/autoconf/autoupdate.m4: Correct reference to
6134         acobsolete.m4, suggested by Alexandre Duret-Lutz.
6136 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
6138         * bin/autoupdate.in: Define __file__ so that warnings
6139         refer to the correct file.
6140         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
6141         the behavior of the third argument.
6142         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
6143         correctly the behavior of the third argument.  Document
6144         what the three macros that AU_DEFUN defines do.  Fix
6145         warning message when the third argument includes $0
6146         (reported by Alexandre Duret-Lutz).
6148 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
6149             Eric Sunshine  <sunshine@sunshineco.com>
6150             Paul Eggert  <eggert@twinsun.com>
6152         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
6153         (AS_INIT): Output shell initialization there. Removed optional
6154         parameter. Expand _AS_SHELL_FN_SPY.
6155         (AS_INIT_WITH_SHELL_FN): Removed.
6156         (_AS_SHELL_FN_SPY): New macro.
6157         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
6158         macros.
6159         (AS_SHELL_SANITIZE): Remove loop to find better shell
6160         and documentation for the parameter.
6161         (_AS_DETECT_BETTER_SHELL): Move it here.
6162         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
6163         (_AS_RUN): Move it here, support testing with eval.
6164         (AS_REQUIRE_SHELL_FN): Require shell functions when
6165         it is used.
6166         (_AS_LINENO_WORKS): Put around braces, we do not
6167         trigger the bash bug anymore.
6168         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
6169         use AS_INIT_WITH_SHELL_FN.
6170         * bin/autoconf.in, tests/wrapper.in: Regenerated.
6172 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
6174         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
6175         * doc/autoconf.texi: Don't say that the third parameter
6176         is broken.
6177         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
6178         (AU_DEFUN): Honor the third parameter, create autoupdate
6179         macros with AU_DEFINE.
6180         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
6181         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
6182         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
6183         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
6184         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
6185         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
6186         AC_XENIX_DIR): Likewise.
6187         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
6188         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
6189         * lib/autoconf/status.m4: Remove FIXME.
6190         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
6191         that the macro is not present anymore in the updated
6192         configure.ac.
6193         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
6194         of autoupdate.
6196 2004-01-28  Paul Eggert  <eggert@twinsun.com>
6198         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
6199         copyright years.
6200         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
6201         2003 (except 1997) to the list of copyright years.  This undoes
6202         the 2003-05-22 change, which removed the older years from the list.
6203         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
6205 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
6206             Albert Chin-A-Young  <china@thewrittenword.com>
6208         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
6209         grep or ggrep program in PATH that accepts as long lines as
6210         possible.
6211         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
6212         AC_PROG_GREP.
6213         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
6214         egrep and fgrep respectively if $GREP -E/-F don't work.
6215         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
6216         _AC_PROG_GREP, and AC_PROG_SED.
6217         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
6218         longest input length accepted by a command.
6219         (AC_PROG_SED): Use it.
6220         * doc/autoconf.texi (Particular Programs): Document the changes.
6221         * NEWS: Updated.
6223 2004-01-27  Paul Eggert  <eggert@twinsun.com>
6225         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
6226         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6227         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
6228         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
6230         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
6231         bin/autoconf.in, config/Makefile.in, config/config.guess,
6232         config/config.sub, config/install-sh, config/mdate-sh,
6233         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
6234         lib/Makefile.in, lib/Autom4te/Makefile.in,
6235         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
6236         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
6237         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
6238         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
6239         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
6240         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
6241         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
6242         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
6243         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
6244         tests/actypes.at: Regenerate and/or sync with original
6245         sources.
6247 2004-01-26  Paul Eggert  <eggert@twinsun.com>
6249         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
6250         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
6251         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
6252         not <inttypes.h>.  Problem reported by Tim Mooney in
6253         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
6254         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
6255         Likewise.
6257         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
6258         otherwise "make check" fails because it forbids cmp (I guess
6259         because cmp treats files as binary on DOS-like systems).
6261         * tests/mktests.sh: Update copyright date to 2004, since some tests
6262         have changed in 2004.
6264 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
6266         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
6267         non-truncating sed or gsed program in PATH.
6268         * tests/acprograms.at: Add it.
6269         * doc/autoconf.texi (Particular Programs): Document it.
6270         * NEWS: Updated.
6272 2004-01-15  Paul Eggert  <eggert@twinsun.com>
6274         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
6275         -std1 disables some useful extensions on Tru64.  Problem reported
6276         by N. Lichtmaier in
6277         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
6279 2004-01-14  Paul Eggert  <eggert@twinsun.com>
6281         * doc/autoconf.texi (Programming in M4sh): Document that
6282         AS_MKDIR_P succeeds if the destination is a symbolic link
6283         to an existing directory.
6284         (Limitations of Usual Tools): Note that mkdir -p might not
6285         succeed on symlinks to directories.
6287 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
6289         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
6290         * bin/autoheader.in: Grammar fix in message.
6291         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
6292         Test for dir before calling mkdir -p.  (trivial changes)
6294 2004-01-13  Eric Blake  <ebb9@byu.net>
6296         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
6297         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
6299 2004-01-10  Jim Meyering  <jim@meyering.net>
6301         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
6303 2004-01-09  Paul Eggert  <eggert@twinsun.com>
6305         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
6306         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
6307         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
6308         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
6309         AC_COMPILE_IFELSE, since we now assume our caller invokes
6310         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
6311         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
6312         of AC_RUN_IFELSE; this avoids the warning mentioned above.
6313         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
6315 2004-01-07  Paul Eggert  <eggert@twinsun.com>
6317         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
6318         `"'...'"`, as it's confusing (and I suspect it may not work on
6319         some platforms).  The code was incorrect anyway, as it assumed
6320         that \$ evaluated to itself in that context.  Reported by
6321         Alexandre Duret-Lutz.
6323 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
6325         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
6326         and _LT_AC_TAGCONFIG.
6328 2004-01-06  Paul Eggert  <eggert@twinsun.com>
6330         * doc/autoconf.texi (One Macro Call): Fix an incorrect
6331         example, and add more examples.  Reported by Eric Sunshine.
6333 2004-01-05  Paul Eggert  <eggert@twinsun.com>
6335         * doc/autoconf.texi (Limitations of Usual Tools):
6336         Remove warning against "rm -fr" introduced yesterday; it
6337         was a false alarm.
6339         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
6340         autoscan, autoupdate, ifnames): Don't use chmod -w.
6341         * lib/Makefile.am (autom4te.cfg): Likewise.
6342         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
6343         "chmod -w".
6345 2004-01-04  Paul Eggert  <eggert@twinsun.com>
6346             Paolo Bonzini  <bonzini@gnu.org>
6348         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
6349         by doing lineno substitution only on lines containing "$LINENO".
6351 2004-01-04  Paul Eggert  <eggert@twinsun.com>
6353         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
6354         Use "rm -f" to remove conftest.sed, not plain "rm".
6355         Bug reported by David Relson in
6356         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
6358         * Makefile.am (autom4te-update):
6359         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
6360         * Makefile.maint (my-distcheck, do-po-update): Likewise.
6361         * doc/autoconf.texi (Guidelines): Likewise.
6362         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
6363         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
6364         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6365         * lib/autotest/general.m4 (AT_INIT): Likewise.
6366         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
6367         * tests/Makefile.am (clean-local): Likewise.
6368         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
6369         srcdir): Likewise.
6370         * doc/autoconf.texi (Limitations of Usual Tools):
6371         Warn against "rm -fr".
6373 2004-01-03  Paul Eggert  <eggert@twinsun.com>
6375         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
6376         -c -o might not work.  From a suggestion by Kevin Ryde.
6377         (C Compiler, Generating Sources, Limitations
6378         of Usual Tools, Limitations of Make, Making testsuite Scripts):
6379         Don't put '-o' after non-options, as POSIX doesn't allow this.
6380         Mention that cc's name might be gcc or c89 or whatever.
6382 2004-01-04  Kevin Ryde  <user42@zip.com.au>
6384         * doc/autoconf.texi: Add various further index entries.
6386 2003-12-29  Paul Eggert  <eggert@twinsun.com>
6388         * bin/autoreconf.in (autoreconf_current_directory):
6389         Fix typo: mkdir without umask arg.
6391 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
6393         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
6394         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
6395         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
6396         explanation clearer.
6398 2003-12-24  Andreas Schwab  <schwab@suse.de>
6400         * doc/autoconf.texi (Default Includes): Fix misspelling of
6401         AC_INCLUDES_DEFAULT.
6403 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
6405         * configure.ac: Test if sh -n works.
6406         * configure: Regenerate.
6407         * tests/atlocal.in: Store the result here.
6408         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
6409         tools.at, looking in atlocal's ac_cv_sh_n_works instead
6410         of explicitly testing.
6411         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
6412         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
6413         * tests/tools.at (Syntax of the shell scripts): Simplify
6414         using AT_CHECK_SHELL_SYNTAX.
6415         (Syntax of the Perl scripts): Remove definition of
6416         AT_CHECK_PERL_SYNTAX.
6418 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
6420         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
6421         stderr to /dev/null.
6422         * bin/autoconf.in: Regenerate.
6423         * bin/wrapper.in: Regenerate.
6425 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
6427         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
6428         Extracted from AS_SHELL_SANITIZE.
6429         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
6430         macros.
6431         (AS_SHELL_SANITIZE): Move reinvocation code from
6432         _AS_LINENO_WORKS, use it to find out if shell
6433         functions work.
6434         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
6435         does not work.
6436         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
6437         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
6438         was called.
6439         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
6440         * bin/autoconf.in: Regenerate.
6441         * tests/wrapper.in: Regenerate.
6442         * tests/tools.at: Test the syntax of tests/autoconf
6443         and tests/testsuite.
6445 2003-11-24  Akim Demaille  <akim@epita.fr>
6447         * config/announce-gen (&print_locations, &print_signatures)
6448         (&sizes): New.
6449         Use them.
6450         No longer rely on Gnus to inline the list of signatures: compute
6451         them on the fly.
6453 2003-11-24  Akim Demaille  <akim@epita.fr>
6455         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
6456         override some files.
6457         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
6458         From Debian Autoconf 2.58.
6460 2003-11-24  Akim Demaille  <akim@epita.fr>
6462         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
6463         uses.
6464         From Debian Autoconf 2.58.
6466 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
6468         * TODO: Remove already done things.  Update the part about finding
6469         tools for the target.
6471 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
6473         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
6474         Make wording more consistent.
6475         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6476         Explain the transition better.
6477         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
6478         the transition better.
6480 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
6482         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
6483         parameter of AU_DEFUN.
6484         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
6485         (AU_DEFUN): Remove the third parameter, it was not used.
6486         Use AC_DEFUN directly, not AU_DEFINE.
6487         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
6488         the expanded body, consistently with other macros such as AC_USG.
6490 2003-11-17  Paul Eggert  <eggert@twinsun.com>
6492         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
6493         into the initial confdefs.h, to work around a bug in NextStep 3.3
6494         patch 3 reported by Eric Sunshine.
6496 2003-11-15  Kevin Ryde  <user42@zip.com.au>
6498         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
6499         than $target since the latter is not usual, add guidelines on when to
6500         use or not use the system type.
6502 2003-11-12  Derek Price  <derek@ximbiot.com>
6504         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
6505         typo misrepaired by an auto-spellcheck.
6507 2003-11-12  Akim Demaille  <akim@epita.fr>
6509         * bin/autoreconf.in (&parse_args): Don't call automake with
6510         --force-missing unless it actually supports it.
6511         From Debian #219336.
6513 2003-11-12  Akim Demaille  <akim@epita.fr>
6515         * configure.ac: Bump to 2.59a.
6516         Require 2.59.
6518 2003-11-06  Akim Demaille  <akim@epita.fr>
6520         Version 2.59.
6522 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
6524         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
6525         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
6526         and ac_abs_top_srcdir are absolute paths.
6527         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
6529 2003-11-05  Akim Demaille  <akim@epita.fr>
6531         * configure.ac: Bump to 2.58a.
6533 2003-11-05  Kevin Ryde  <user42@zip.com.au>
6535         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
6536         it provokes a warning from makeinfo about looking like a cross
6537         reference in info output.
6539         * doc/autoconf.texi (Function Portability): Add notes on signal
6540         handler return type, as per AC_TYPE_SIGNAL.
6542 2003-11-04  Akim Demaille  <akim@epita.fr>
6544         Version 2.58.
6545         * doc/standards.texi: Update from master.
6547         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
6549 2003-11-04  Akim Demaille  <akim@epita.fr>
6551         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
6552         computing the absolute path to d1 in the source hierarchy: it may
6553         not exist at all.  So don't cd into it.
6554         From Alexandre Duret-Lutz.
6555         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
6557         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
6558         From Paul Eggert, but named after Perl's IO::Spec->catfile.
6559         * doc/autoconf.texi (Programming in M4sh): Document.
6560         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
6562 2003-11-03  Pavel Roskin  <proski@gnu.org>
6564         * doc/autoconf.texi (Generic Structure Checks): Describe
6565         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
6567 2003-10-31  Akim Demaille  <akim@epita.fr>
6569         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
6570         (GNU Fortran): New.
6571         * doc/autoconf.texi (Language Choice): Document.
6572         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
6573         the current language is Fortran.
6575 2003-10-31  Akim Demaille  <akim@epita.fr>
6577         * bin/autom4te.in (&freeze): Use a less likely warning separator
6578         than `\n\n', so that `\n\n\n' is valid in warnings.
6579         Reported by Steve Huston.
6581 2003-10-28  Akim Demaille  <akim@epita.fr>
6583         * Makefile.cfg (local_updates, executable-update): Tweak to be
6584         robust to parallel makes.
6585         Suggested by Alexandre Duret-Lutz.
6587 2003-10-27  Akim Demaille  <akim@epita.fr>
6589         * Makefile.cfg (executable-update): New.
6590         (local_updates): Call it.
6592 2003-10-27  Akim Demaille  <akim@epita.fr>
6594         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
6595         Don't remove core.* as it may remove valid user files.
6596         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
6597         (AC_FUNC_UTIME_NULL): Likewise.
6599 2003-10-23  Akim Demaille  <akim@epita.fr>
6601         Version 2.57g.
6602         * config/config.guess, config/config.sub: Upgrade from masters.
6604 2003-10-23  Akim Demaille  <akim@epita.fr>
6606         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
6607         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
6608         hand...
6610 2003-10-23  Akim Demaille  <akim@epita.fr>
6612         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
6613         Don't forget to remove conftest.err.
6615 2003-10-23  Akim Demaille  <akim@epita.fr>
6617         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
6618         same object file in $LIBOBJS.
6619         Reported by Alexandre Duret-Lutz & Derek Robert Price.
6620         * doc/autoconf.texi (Generic Functions): Adjust.
6622 2003-10-20  Paul Eggert  <eggert@twinsun.com>
6624         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
6625         Use 'eval', so that the resulting configure scripts work even if
6626         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
6628 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
6630         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
6631         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
6632         (_AC_LINK_IFELSE): Check the werror flag.
6633         * doc/autoconf.texi (Generic Compiler Characteristics): Document
6634         AC_LANG_WERROR.
6635         * NEWS: Mention it.
6637 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
6639         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
6640         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
6641         override AC_LINK_IFELSE.
6643 2003-10-15  Paul Eggert  <eggert@twinsun.com>
6645         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
6646         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
6647         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
6648         Mention /usr/dt/bin/dtksh on Solaris.
6649         (Shell Substitutions): Warn about $((...)).
6650         (Parentheses): New section.
6652 2003-10-15  Kevin Ryde  <user42@zip.com.au>
6654         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
6655         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
6657 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
6659         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
6660         cross test.
6662 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
6664         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
6665         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
6667 2003-10-10  Andreas Schwab  <schwab@suse.de>
6669         * bin/autoheader.in: Avoid empty first line in --version and
6670         --help output.
6671         * bin/ifnames.in: Likewise.
6673 2003-10-09  Paul Eggert  <eggert@twinsun.com>
6675         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
6676         Issue a more-informative diagnostic.
6677         Problems reported by Eric Sunshine.
6679 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
6681         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
6682         -mGLOB_options_string stuff for Intel ifc, which can cause
6683         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
6684         pattern-matching instead of grep.
6686 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
6688         * doc/autoconf.texi: Document new FC Fortran macros.
6690 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
6692         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
6693         that future autopoint/aclocal/automake/autoreconf will be able
6694         to trace to find where to install local m4 macros.
6695         * doc/autoconf.texi (Input): Document it.
6696         * NEWS: Updated.
6698 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
6700         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
6701         -lcrtbegin.o to list of ignored flags and fix underquoting of
6702         -lcrt[01].o.
6704 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
6706         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
6707         cache variable instead of $G77 to decide whether to include -O2,
6708         since $G77 is specific to Fortran 77.
6710 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
6712         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
6713         free" flag.  Re-order flags tested into rough order of popularity.
6715 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
6717         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
6718         arguments so that it can be used with syntax identical to
6719         AC_PROG_F77, and so that we can more easily decide to
6720         remove/deprecate the DIALECT optional argument in the future if it
6721         proves troublesome.
6722         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
6723         non-freeform-supporting compilers.  Document freeform flags.
6725 2003-10-03  Akim Demaille  <akim@epita.fr>
6727         * configure.ac: Look for emacs, not macs.
6728         Reported by Eric Sunshine.
6730 2003-10-03  Akim Demaille  <akim@epita.fr>
6732         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
6733         * bin/autoreconf.in (autoreconf_current_directory): Create the
6734         AUX_DIR if needed, for sake of automake --add-missing etc.
6735         Suggested by Alexandre Duret-Lutz.
6737 2003-10-03  Akim Demaille  <akim@epita.fr>
6739         * configure.ac: Quotation and formatting changes.
6740         (EMACS): Don't set it if it is not recent enough to support
6741         autoconf-mode.el.
6742         From Eric Sunshine.
6744 2003-10-02  Akim Demaille  <akim@epita.fr>
6746         * bin/ifnames.in (&scan_file): Skip C++ comments.
6747         From Jeremy Yallop.
6749 2003-10-01  Pavel Roskin  <proski@gnu.org>
6751         * doc/autoconf.texi (Particular Structure Checks):
6752         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
6754 2003-10-01  Akim Demaille  <akim@epita.fr>
6756         Version 2.57f.
6758 2003-09-30  Paul Eggert  <eggert@twinsun.com>
6760         * lib/Autom4te/XFile.pm: Use Errno.
6761         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
6762         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
6764 2003-09-30  Akim Demaille  <akim@epita.fr>
6766         * config/announce-gen (&print_news_deltas): Extracted from...
6767         (&print_changelog_deltas): here.
6768         (&news_file): Rename as...
6769         (@news_file): this.
6771 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
6773         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
6774         have been created when invoking the compiler.
6775         * tests/fortran.at (GNU Fortran 77): Quote $G77.
6777 2003-09-29  Akim Demaille  <akim@epita.fr>
6779         Version 2.57e.
6781         * config/mkinstalldirs: Upgrade.
6783 2003-09-28  Paul Eggert  <eggert@twinsun.com>
6785         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
6786         Problem reported by Lars J. Aas in
6787         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
6788         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
6789         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
6790         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
6792 2003-09-26  Akim Demaille  <akim@epita.fr>
6794         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
6795         directory for AC_CONFIG_COMMANDS' first argument exists.
6796         This makes valid the invocation of _AC_SRCPATH that follows.
6797         Reported by Eric Sunshine.
6798         * doc/autoconf.texi (Configuration Commands): Adjust.
6800 2003-09-26  Akim Demaille  <akim@epita.fr>
6802         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
6803         Reported by Ralf Corsepius.
6805 2003-09-26  Akim Demaille  <akim@epita.fr>
6807         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
6808         arguments.
6809         Actually, use AU_ALIAS.
6810         From Bruno Haible.
6812 2003-09-26  Paul Eggert  <eggert@twinsun.com>
6814         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
6815         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
6816         Problem reported by Eric Sunshine in:
6817         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
6819 2003-09-26  Akim Demaille  <akim@epita.fr>
6821         The test suite are sometimes assigning timings incorrectly.
6822         Reported by Henk Krus.
6823         Diagnosed by Nicolas Joly.
6825         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
6826         AT_help_all.
6827         Instead of making AT_help a sequence of assignments to grow
6828         $at_help_all, just make AT_help_all be the growing contents of
6829         $at_help_all, and make a single assignment in...
6830         (AT_INIT): here.
6831         (at_times_skip): Flip the meaning and rename as...
6832         (at_times_p): this.
6833         (AT_INIT): When summarizing the test that ran, remove
6834         $at_times_file after use, and check it is present before trying to
6835         use it.
6837 2003-09-25  Akim Demaille  <akim@epita.fr>
6839         Version 2.57d.
6841         * bin/Makefile.am (edit): Handle '@configure_input@'.
6842         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
6843         (ifnames): chmod -w.
6844         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
6845         executables, not bin/ executables!  Otherwise all the magic needed
6846         to find non installed files is turned off.  This caused a failure
6847         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
6848         as found in its environment (sent by tests/autoreconf): pointing
6849         to bin/autom4te that could not find its files.
6850         * tests/mktests.sh: Force the replacement of generated files, for
6851         the sake of "mv" program that are interactive when overwriting a
6852         -w file.
6853         * config/install-sh: Upgrade from CVS Automake.
6855 2003-09-23  Paul Eggert  <eggert@twinsun.com>
6857         * doc/autoconf.texi (Limitations of Builtins): Document test -h
6858         versus test -L issues.
6860 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
6861             Paul Eggert  <eggert@twinsun.com>
6863         Trivial change to support GCC's configuration procedure.
6864         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
6865         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
6866         about inconsistency if the preprocessor is set to give errors for
6867         any warning.
6868         * doc/autoconf.texi (C Compiler Characteristics): Document this.
6870 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
6872         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
6873         and XFile.pm from Automake.
6874         * lib/Autom4te/XFile.pm: Update from Automake.
6876 2003-09-12  Akim Demaille  <akim@epita.fr>
6878         Version 2.57c.
6880 2003-09-12  Akim Demaille  <akim@epita.fr>
6882         * config/config.guess, config/config.sub, config/missing,
6883         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
6884         from masters.
6886 2003-09-12  Akim Demaille  <akim@epita.fr>
6888         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
6889         not asm/types.h.
6891 2003-09-11  Akim Demaille  <akim@epita.fr>
6893         * doc/autoconf.texi (Header Portability): linux/random.h.
6894         From Peter Hendrickson.
6896 2003-09-10  Akim Demaille  <akim@epita.fr>
6898         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
6899         willing to edit the output files.
6901 2003-09-10  Akim Demaille  <akim@epita.fr>
6903         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
6904         and AC_FC_FREEFORM.
6905         * tests/mktests.sh: Skip AC_FC_SRCEXT.
6906         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
6908 2003-09-09  Akim Demaille  <akim@epita.fr>
6910         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
6911         Reported by Gary Vaughan.
6912         * bin/autom4te.in (handle_m4): Likewise.
6914 2003-09-09  Akim Demaille  <akim@epita.fr>
6916         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
6917         trailing files.
6919 2003-09-07  Paul Eggert  <eggert@twinsun.com>
6921         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
6922         Improve the accuracy of the wording about obsolescence.
6923         From a suggestion by Ian Lance Taylor in
6924         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
6926 2003-09-05  Paul Eggert  <eggert@twinsun.com>
6928         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
6929         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
6931 2003-09-04  Akim Demaille  <akim@epita.fr>
6933         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
6934         AC_FUNC_WAIT3.
6936 2003-09-04  Akim Demaille  <akim@epita.fr>
6938         * bin/autom4te.in: Use &fatal where more appropriate than &error.
6939         (freeze): When exiting, use $exit_code.
6940         * lib/autoconf/fortran.m4: Comment changes.
6942 2003-09-04  Akim Demaille  <akim@epita.fr>
6944         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
6946 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
6948         Add support for newer Fortran dialects.  The F77 interface is
6949         unchanged, and continues to support Fortran 77.  New FC macros
6950         correspond to all the old F77 macros, with output variables FC,
6951         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
6952         available dialect, but older dialects can be specified.  There are
6953         new macros AC_FC_SRCEXT to set the source extension, and
6954         AC_FC_FREEFORM to accept free-form source files.
6956         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
6957         New macros.
6958         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
6959         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
6960         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
6961         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
6962         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
6963         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
6964         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
6965         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
6966         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
6967         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
6968         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
6969         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
6970         AC_FC_SRCEXT, AC_FC_FREEFORM):
6971         New macros.
6972         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
6973         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
6974         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
6975         Rewrite in terms of the above.
6976         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
6977         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
6978         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
6979         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
6981 2003-09-02  Paul Eggert  <eggert@twinsun.com>
6983         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
6984         Document problems with timestamp resolution that 'make', 'cp -p', and
6985         'touch -r' have.
6987 2003-08-27  Akim Demaille  <akim@epita.fr>
6989         * tests/m4sugar.at (cross_warning): Make sure to enable the
6990         output, so that we can track spurious m4sugar output.
6991         * tests/local.at: Require 2.57.
6992         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
6993         are defaulted by AT_CHECK anyway.
6994         Use AT_CHECK_AUTOM4TE.
6995         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
6996         missing dnl.
6998 2003-08-27  Akim Demaille  <akim@epita.fr>
7000         * bin/autoheader.in: Issue the "Using auxiliary..." message only
7001         when -Wobsolete is set.
7002         Set it on by default.
7003         Suggested by Klee Dienes.
7005 2003-08-27  Akim Demaille  <akim@epita.fr>
7007         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
7008         documentation.
7009         From Guido Draheim.
7011 2003-08-26  Akim Demaille  <akim@epita.fr>
7013         * doc/autoconf.texi (Output): Make clear that one can run code
7014         after AC_OUTPUT.
7016 2003-08-25  Akim Demaille  <akim@epita.fr>
7018         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
7019         CVS Bison.
7021 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
7023         * bin/autoreconf.in (parse_args): Do not pass --no-force to
7024         Automake versions prior to 1.8.
7026 2003-08-25  Akim Demaille  <akim@epita.fr>
7028         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
7029         From Ville Karaila.
7031 2003-08-24  Akim Demaille  <akim@epita.fr>
7033         * configure.ac: Bump to 2.57c.
7035 2003-08-22  Akim Demaille  <akim@epita.fr>
7037         Version 2.57b.
7039         * Makefile.cfg (local-checks-to-skip): New.
7040         * Makefile.maint (local-check): Rename as...
7041         (local-checks-available): this.
7042         (local-check): New.
7044         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
7045         * configure.ac: Require Automake 1.7.6.
7047 2003-08-22  Akim Demaille  <akim@epita.fr>
7049         Output stack traces in warnings.
7051         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
7052         Replace the former...
7053         (m4_warn): Pass the call stack to _m4_warn.
7054         * bin/autom4te.in: Adjust to output the call stack.
7055         * tests/m4sugar.at (m4@&t@_warn): Adjust.
7057 2003-08-22  Akim Demaille  <akim@epita.fr>
7059         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
7060         * bin/autom4te.in: Adjust.
7062 2003-08-21  Akim Demaille  <akim@epita.fr>
7064         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
7065         (&verbose): Remove.
7066         (&getopt): Adjust the note and verb channels, depending upon
7067         --verbose.
7068         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
7069         * bin/autoupdate.in: Adjust.
7070         Use &verb, not &verbose.
7072 2003-08-21  Akim Demaille  <akim@epita.fr>
7074         * bin/autoheader.in (&parse_args): Use &parse_warnings and
7075         &parse_WARNINGS.
7076         ($help): Use Autom4te::ChannelDefs::usage.
7077         * bin/autoscan.in: Use Autom4te::ChannelDefs.
7078         * lib/Autom4te/General.pm: Don't export error: you don't own it.
7080 2003-08-21  Akim Demaille  <akim@epita.fr>
7082         First stab at preserving warnings between calls to autom4te,
7083         including when the cache is used.
7085         There are still several issues: (i) there are too many runs of m4
7086         (one for include, one for warnings, and some more), (ii) warnings
7087         spreading on several lines are not handled gracefully, (iii) the
7088         code meant to have the call stack display for errors does not work
7089         (its handling should move from m4 to autom4te).
7091         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
7092         Use them.
7093         (@preselect): Add m4_warn.
7094         ($exit_status): Remove, use $exit_code.
7095         ($help): Use Autom4te::ChannelDefs::usage.
7096         (&handle_m4): No longer define the m4_warnings.
7097         At each run, extract and report the warnings.
7098         Always cache the result, including if the exit status is on
7099         failure, since if nothing changes, we should result in the same
7100         failure, hence we can use the cache.
7101         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
7102         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
7103         Remove.
7104         (m4_warn): Redefine as a do-nothing: it is its invocation that
7105         matters, as warnings are now reported via traces.
7106         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
7107         the contents of m4_warn: make it _call_ m4_warn, so that tracing
7108         the latter reveals calls to the former.
7110         Adjust the tests.
7112         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
7114 2003-08-21  Akim Demaille  <akim@epita.fr>
7116         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
7117         Use them.
7119 2003-08-21  Akim Demaille  <akim@epita.fr>
7121         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
7122         forward order.
7123         * lib/Autom4te/ChannelDefs.pm: Doc typos.
7124         (&parse_warnings): Accept a list of warning requests.
7125         (&usage): Return a string, not a side effect.
7126         (cross): New warning category.
7128 2003-08-21  Akim Demaille  <akim@epita.fr>
7130         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
7131         (&require_configure_ac): Accept an optional directory argument.
7132         ($configure_ac): Remove.
7133         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
7134         (&catfile): Remove.
7135         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
7136         * bin/autoscan.in: Adjust.
7138 2003-08-20  Akim Demaille  <akim@epita.fr>
7140         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
7141         Reported by Alexandre Duret-Lutz.
7143 2003-08-20  Akim Demaille  <akim@epita.fr>
7145         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
7146         * bin/autom4te: Adjust.
7147         In particular, be Autoconf tools are really silent when properly
7148         working, bind the verbosity of the 'note' channel to $verbose.
7149         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
7150         (&xsystem, &contents): Remove, since they are exported by...
7151         * lib/Autom4te/FileUtils.pm: this.
7152         More perldoc.
7153         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
7154         * lib/Autom4te/FileUtils.pm: here.
7156 2003-08-20  Akim Demaille  <akim@epita.fr>
7158         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
7159         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
7160         from CVS Automake.
7162 2003-08-20  Akim Demaille  <akim@epita.fr>
7164         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
7165         (autom4te-update): New.
7166         * Makefile.cfg (update): Bind autom4te-update.
7168 2003-08-19  Derek Price  <derek@ximbiot.com>
7170         * lib/autotest/general.m4: Comment various HELP_* diversions.
7171         (PARSE_ARGS_BEGIN): New section for option parsing related
7172         initialization.
7173         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
7174         package specific options and associated help.
7176 2003-08-19  Akim Demaille  <akim@epita.fr>
7178         * config/announce-gen, Makefile.cfg: New.
7179         * Makefile.am: Adjust.
7180         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
7182 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
7184         * lib/autom4te.in (Automake-preselections): Preselect
7185         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
7186         and m4_sinclude.
7188 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
7190         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
7191         (Autoconf-without-aclocal-m4): ... this new language.
7192         * doc/autoconf.texi (autom4te Invocation): Mention
7193         Autoconf-without-aclocal-m4.
7195 2003-08-18  Derek Price  <derek@ximbiot.com>
7197         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
7198         RUN-IF-PASS optional arguments.
7200 2003-08-18  Derek Price  <derek@ximbiot.com>
7202         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
7204 2003-08-16  Derek Price  <derek@ximbiot.com>
7206         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
7207         STDOUT & STDERR arguments.
7209 2003-08-14  Derek Price  <derek@ximbiot.com>
7211         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
7212         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
7213         shorter column three.  Add DESCRIPTION to log file content.
7215 2003-08-13  Derek Price  <derek@ximbiot.com>
7217         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
7218         output.
7220 2003-08-12  Derek Price  <derek@ximbiot.com>
7222         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
7223         (AT_CHECK_NOESCAPE): Move core functionality to...
7224         (_AT_CHECK): ...this new macro.
7226 2003-08-07  Derek Price  <derek@ximbiot.com>
7228         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
7229         (AT_CHECK_NOESCAPE): ...to this new macro.
7231 2003-07-31  Paul Eggert  <eggert@twinsun.com>
7233         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
7234         in Bash 2.01.  Problem reported by Brian Gough in
7235         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
7237 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
7239         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
7240         -lcrt1.o, for OS X.  (trivial change)
7242 2003-07-07  Paul Eggert  <eggert@twinsun.com>
7244         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
7245         inside '#ifndef __cplusplus'.  Problem reported by
7246         Bob Friesenhahn.
7248 2003-07-06  Bill Clarke  <llib@computer.org>
7250         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
7251         'long', not 'int', for benefit of Sun's recent C++ compilers
7252         (trivial change).  See:
7253         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
7254         (This really should be 'intptr_t', not 'long', but that would
7255         take more work.)
7257 2003-06-25  Akim Demaille  <akim@epita.fr>
7259         * lib/Makefile.am (autom4te.cfg): Make it read only.
7260         Depend on Makefile since it contains substitutions.
7261         From Paolo Bonzini.
7262         * lib/autom4te.in (args): Add local.at? for Autotest args.
7263         This change was made on autom4te.cfg which is generated.
7264         Reported by Raja R. Harinath.
7266 2003-06-25  Akim Demaille  <akim@epita.fr>
7268         * doc/autoconf.texi (Header Portability): sys/mount.h.
7269         From Gareth McCaughan.
7271 2003-06-23  Akim Demaille  <akim@epita.fr>
7273         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
7274         not all of them.  This fixes 1. the fact that when testing
7275         Autoconf there are many many config.log, 2. the incorrect use of
7276         top_srcdir to find config.log.
7277         Don't mix the detailed output of failed test with the summary of
7278         failures.  Rather, append detailed log afterwards.
7280 2003-06-23  Akim Demaille  <akim@epita.fr>
7282         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
7283         always run: output config.log on $at_group_log.
7285 2003-06-23  Akim Demaille  <akim@epita.fr>
7287         * tests/torture.at (#define header templates): Don't use quotes in
7288         C++ comments as it puzzles Emacs' sh font-lock-mode.
7290 2003-06-23  Akim Demaille  <akim@epita.fr>
7292         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
7293         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
7294         * tests/atspecific.m4: Rename as...
7295         * tests/local.at: This.
7296         * tests/suite.at: Move the globals into...
7297         * tests/local.at: here.
7298         * tests/Makefile.am: Adjust.
7299         * doc/autoconf.texi (testsuite Scripts): Adjust.
7301 2003-06-21  Kevin Ryde  <user42@zip.com.au>
7303         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
7304         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
7305         ensuring we add -std1 for full-ANSI.
7307         * doc/autoconf.texi (hdrindex): New macro.
7308         Add index entries for portability of various standard header files.
7310 2003-06-20  Akim Demaille  <akim@epita.fr>
7312         * configure.ac: Bump to 2.57b.
7314 2003-06-20  Akim Demaille  <akim@epita.fr>
7316         Version 2.57a.
7318 2003-06-20  Akim Demaille  <akim@epita.fr>
7320         * bin/autom4te.in: Don't rely on $HOME being defined.
7321         Reported by Marc Espie as PR/233.
7323 2003-06-20  Akim Demaille  <akim@epita.fr>
7325         * lib/autotest/general.m4: Use at_times_file only if used.
7326         From Nicolas Joly.
7328 2003-06-20  Akim Demaille  <akim@epita.fr>
7330         * config/config.guess, config/config.sub, config/elisp-comp,
7331         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
7332         Update from masters.
7334 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
7336         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
7337         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
7338         (TEST_SCRIPT): New diversion.
7339         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
7340         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
7341         (AT_INIT): Support for expected failures.
7343 2003-06-02  Akim Demaille  <akim@epita.fr>
7345         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
7346         changes.
7347         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
7348         Autoconf nor Automake.
7349         (&contents): New, from Automake.
7350         PODify.
7352 2003-05-28  Paul Eggert  <eggert@twinsun.com>
7354         * NEWS, doc/autoconf.texi (Particular Functions),
7355         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
7356         is the inverse of localtime.
7358 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
7360         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
7361         (handle_exec_errors): New function.  Work around $! being
7362         altered by WEXITSTATUS.
7363         (xqx, xsystem): Use handle_exec_errors.
7365 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
7367         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
7368         Do not call `_exit()', simply modify `$?'.
7369         (xsystem): Reset $! before running system, and check it afterward.
7370         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
7371         63 for version mismatches.
7373 2003-05-23  Akim Demaille  <akim@epita.fr>
7375         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
7376         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
7377         the middle of a line).
7378         * lib/m4sugar/m4sugar.m4: Likewise.
7379         Remove useless spaces in comments.
7381 2003-05-23  Akim Demaille  <akim@epita.fr>
7383         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
7384         exit 63, so that we (or Automake's "missing") can tell the
7385         difference with a plain failure.
7386         * doc/autoconf.texi (Notices): Adjust.
7388 2003-05-23  Akim Demaille  <akim@epita.fr>
7390         * Makefile.am, bin/Makefile.am, config/Makefile.am,
7391         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
7392         White spaces cleanup.
7394 2003-05-22  Jim Meyering  <jim@meyering.net>
7395             Paul Eggert  <eggert@twinsun.com>
7397         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
7398         Remove `#include <stdlib.h>' from the list; we should never
7399         make confdefs.h include <stdlib.h> or <cstdlib>, because the
7400         resulting namespace pollution would cause other tests to fail.
7401         Configure scripts run with some older versions of g++ and HP's
7402         aCC would fail due to such an #include.  Problems reported by
7403         Matthew Mueller in <http://bugs.debian.org/120704> and by
7404         Keith Bostic in
7405         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
7406         In the test, use the test declaration before including <stdlib.h>,
7407         as that's closer to how it'll be used.
7409 2003-05-23  Akim Demaille  <akim@epita.fr>
7411         * doc/autoconf.texi (Header Portability): ucred.h.
7412         From Ian Redfern.
7414 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
7416         Overhaul Autotest's logging: generate separate log files
7417         in testsuite.dir/NNN/testsuite.log, and append them to
7418         testsuite.log instead of re-running the test verbosely.
7420         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
7421         file descriptor, write 0 to at_status_file instead of setting
7422         at_status=0, initialize some new variables (at_status_file,
7423         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
7424         to rerun the tests, instead append the at_group_log to the
7425         at_suite_log when a test fails.
7426         (AT_SETUP): pipe the test case's output into at_tee_pipe,
7427         with the AS_MESSAGE_LOG_FD redirected to stdout.
7428         (AT_CLEANUP): save the output status in $at_status_file
7429         and restore it, redirect the AS_MESSAGE_LOG_FD back to
7430         its original place.
7431         (AT_CHECK): since tests are run with a redirected stdout,
7432         and used to be re-run in verbose mode, turn some $at_verbose
7433         into echo, and don't redirect the output of testing stdout
7434         and stderr.
7436         * lib/autotest/autoconf.texi (testsuite Scripts): Update
7437         the name of the debugging directory and information about
7438         its contents.
7440 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
7442         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
7443         parameter.
7445 2003-05-22  Akim Demaille  <akim@epita.fr>
7447         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
7448         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
7449         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
7450         * lib/autoconf/status.m4: Fix and adjust copyright notices.
7452 2003-05-22  Akim Demaille  <akim@epita.fr>
7454         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
7455         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
7456         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7457         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
7458         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7459         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7460         * lib/autoconf/status.m4, lib/autoconf/types.m4,
7461         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
7462         * tests/atspecific.m4, tests/base.at, tests/compile.at,
7463         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
7464         * tests/tools.at, tests/torture.at:
7465         Whitespace clean up.
7466         Suggested by Jim Meyering.
7468 2003-05-22  Akim Demaille  <akim@epita.fr>
7470         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
7471         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
7472         Reported by Jim Meyering.
7474 2003-05-22  Akim Demaille  <akim@epita.fr>
7476         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
7477         Add AC_HELP_STRING  to the obsolete macros section.
7478         Typos.
7479         Use '@.' for sentences that ended in a capital letter.
7480         From Art Haas.
7482 2003-05-22  Akim Demaille  <akim@epita.fr>
7484         * config/config.guess, config/config.sub, config/elisp-comp,
7485         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
7486         * config/texinfo.tex, doc/standards.texi: Update from masters.
7488 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
7490         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
7491         it to eval.
7493 2003-05-21  Akim Demaille  <akim@epita.fr>
7495         * bin/autoupdate.in ($m4): Fix quotation.
7496         Reported by Martin Mokrejs.
7498 2003-05-19  Paul Eggert  <eggert@twinsun.com>
7500         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
7501         Remove non-ASCII characters.
7503 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
7505         * tests/semantics.at (AC_SEARCH_LIBS): New test.
7506         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
7507         AC_CHECK_HEADERS_NEW): New tests.
7509 2003-05-17  Akim Demaille  <akim@epita.fr>
7511         * lib/autoconf/functions.m4: Use the default includes so that
7512         memcmp be declared before being tested.
7513         Reported by Sander Niemeijer.
7514         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
7515         * doc/autoconf.texi (Default Includes): Document
7516         AC_INCLUDES_DEFAULT.
7518 2003-05-17  Akim Demaille  <akim@epita.fr>
7520         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
7521         * doc/autoconf.texi (Obsolete Macros): Adjust.
7522         Reported by Werner LEMBERG and Debian Bug 190886.
7524 2003-05-16  Akim Demaille  <akim@epita.fr>
7526         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
7527         user name space clashes.
7528         Reported by Bruno Haible.
7530 2003-05-16  Akim Demaille  <akim@epita.fr>
7532         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7533         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
7534         them uniform, and more robust to Perl special characters.
7535         Reported by Martin Mokrejs.
7537 2003-05-14  Akim Demaille  <akim@epita.fr>
7539         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
7541 2003-05-14  Akim Demaille  <akim@epita.fr>
7543         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
7544         linux/irda.h.
7546 2003-05-12  Akim Demaille  <akim@epita.fr>
7548         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
7549         message.
7550         From Matthias Andree.
7552 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
7554         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
7555         and truncate.
7557 2003-05-06  Akim Demaille  <akim@epita.fr>
7559         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
7560         longer updates aclocal.m4 if useless, (ii) if a file m4_included
7561         by aclocal.m4 is changed it might require the importing of another
7562         m4 extension file, i.e., aclocal must be run.
7564         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
7565         (&parse_args): Use --force with aclocal if required and supported.
7566         (&autoreconf_current_directory): Use &run_aclocal.
7568 2003-05-06  Akim Demaille  <akim@epita.fr>
7570         Lock autom4te's cache.
7572         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
7573         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
7574         argument instead of a file name, so that the request file remains
7575         open during the whole autom4te run.
7576         ($icache_file): New.
7577         (&freeze): Lock the $icache_file.
7579 2003-04-29  Derek Price  <derek@ximbiot.com>
7581         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
7582         seperator with m4_append_uniq().  It doesn't work.
7583         (AT_CLEANUP): Add `;' to end of at_help_all.
7584         (AT_INIT): Allow --keywords to be specified more than once.  When
7585         grepping $at_help_all for keywords, use the field and keyword
7586         seperators to ensure a complete keyword match.  Alter at_prev handling
7587         to support the new --keywords behavior.
7589 2003-04-27  Karl Berry  <karl@freefriends.org>
7591         * doc/autoconf.texi: Make the dir entries in the autoconf manual
7592         align better with others.  I also made some of the individual
7593         entries on one line, for brevity and to make it easier for me to
7594         sort my dir-example file in the Texinfo distribution :).
7596 2003-04-12  Jim Meyering  <jim@meyering.net>
7598         * NEWS: Mention the new macro.
7599         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
7600         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
7601         * tests/c.at: Test AC_C_RESTRICT.
7602         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
7604 2003-04-08  Akim Demaille  <akim@epita.fr>
7606         * bin/ifnames.in: Skip C++ comments.
7607         From Jeremy Yallop.
7609 2003-04-08  Akim Demaille  <akim@epita.fr>
7611         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
7612         From Ilya Zakharevich.
7614 2003-04-08  Akim Demaille  <akim@epita.fr>
7616         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
7617         net/if.h, stdlib.h.
7619 2003-04-01  Derek Price  <derek@ximbiot.com>
7621         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
7622         from Akim's checkin of 2003-03-29.
7624 2003-04-01  Derek Price  <derek@ximbiot.com>
7626         * tests/torture.at (Configuring subdirectories): Add missing
7627         close-quote for Akim's change from 2003-03-28.
7629 2003-04-01  Akim Demaille  <akim@epita.fr>
7631         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
7632         (AC, AT, MS): these.
7633         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
7634         New.
7635         Use them.
7636         * doc/Makefile.am (CLEANFILES): Adjust.
7637         (TEXI2DVI): Make it --batch.
7639 2003-03-31  Derek Price  <derek@ximbiot.com>
7641         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
7642         which removed the main loop.
7643         Thanks to Akim Demaille.
7645 2003-03-29  Akim Demaille  <akim@epita.fr>
7647         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
7648         that starts a GUI.
7649         From Ilya Zakharevich.
7651 2003-03-29  Akim Demaille  <akim@epita.fr>
7653         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
7654         documentation to read is Autoconf's.
7655         Suggested by Paul Eggert.
7657 2003-03-28  Akim Demaille  <akim@epita.fr>
7659         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
7660         reading the section "Present But Cannot Be Compiled" when the
7661         header causes problems.
7663 2003-03-28  Akim Demaille  <akim@epita.fr>
7665         * tests/torture.at (Configuring subdirectories): Require aclocal
7666         1.4, otherwise the test fails, as it does support configure.ac.
7667         This fixes the "test 40 failed" bug reports.
7669 2003-03-28  Akim Demaille  <akim@epita.fr>
7671         * doc/autoconf.texi (C Compiler): `#line' portability.
7672         From Paul Eggert and Nelson H. F. Beebe.
7674 2003-03-27  Derek Price  <derek@ximbiot.com>
7676         * lib/autotest/general.m4: Eliminate main loop and reorganize test
7677         layout in order to allow scripting around test groups.
7679 2003-03-27  Derek Price  <derek@ximbiot.com>
7681         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
7682         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
7683         use new diversions in preparation for accepting new arguments and
7684         allowing scripting around tests.
7685         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
7687 2003-03-26  Derek Price  <derek@ximbiot.com>
7689         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
7690         obsolete AC_HELP_STRING.
7691         (AC_HELP_STRING): AU_DEFUN to...
7692         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
7693         * tests/m4sh.at (AS_HELP_STRING): New test.
7695         * tests/acgeneral.at: Regenerated.
7697 2003-03-26  Derek Price  <derek@ximbiot.com>
7699         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
7700         sense.  Verbosify the diversion definitions comment.
7702 2003-03-26  Derek Price  <derek@ximbiot.com>
7704         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
7705         AS_PREPARE.
7707 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
7709         * doc/autoconf.texi (Present But Cannot Be Compiled):
7710         Grammar fixes and minor rewording. (trivial change)
7712 2003-03-06  Paul Eggert  <eggert@twinsun.com>
7714         Work around a problem noted by Nelson H. F. Beebe with coreutils
7715         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
7716         2002/05/09) rejects '#line 32768 "configure"' because the line
7717         number overflows.
7718         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
7719         #line directives.
7720         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
7721         * doc/autoconf.texi (Generating Sources): Document this.
7723 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
7725         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
7726         file name for the m4 program, when it has an "exe" file extension.
7727         DJGPP's error messages include the error code in brackets -
7728         remove the error code during normalization.
7730 2003-02-28  Akim Demaille  <akim@epita.fr>
7732         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
7734 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
7736         * doc/autoconf.texi (Limitations of Make): Remove the section
7737         about `$<' in inference rules, it was a bogus interpretation of
7738         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
7739         Tru64 make in the "target lookup" section.
7740         (Automake): Automake 1.5+ no longer requires special tools to be
7741         present on the developer's host.
7743 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
7745         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
7746         to a shell that can handle redirection or quoting correctly.
7747         Override SHELL with the shell detected by configure.
7748         Use of $^O suggested by Tim van Holder.
7749         * bin/autom4te.in (BEGIN): Likewise.
7750         * bin/autoreconf.in (BEGIN): Likewise.
7751         * bin/autoscan.in (BEGIN): Likewise.
7752         * bin/autoupdate.in (BEGIN): Likewise.
7753         * bin/ifnames.in (BEGIN): Likewise.
7755         * bin/ifnames.in: Add final newline to help and version messages.
7757         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
7758         to cope with DOS-style absolute paths, when constructing
7759         ${ac_make}.
7761         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
7762         When constructing paths with IFS=:, quote the path. If we're
7763         constructing a DOS-style absolute path, we don't want to split it
7764         on the colon.
7766         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
7767         in description.
7769 2003-02-25  Pavel Roskin  <proski@gnu.org>
7771         * bin/autoheader.in: Add missing newline when printing
7772         suggestion how change AC_DEFINE call.
7774 2003-02-24  Paul Eggert  <eggert@twinsun.com>
7776         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
7777         2002-09-01 patch by replacing "test -n" with "test -z".
7778         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
7779         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
7781         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
7782         to fix a mismatch between example and discussion.
7784 2003-02-24  Kevin Ryde  <user42@zip.com.au>
7786         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
7787         format starting with "-".
7789 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
7791         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
7792         is not portable inside Makefile.
7794 2003-02-20  Akim Demaille  <akim@epita.fr>
7796         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
7797         compiler says yeah, but preproc says nope, compiler is right.
7798         Conversely, prompt the reader to send a bug report to the
7799         maintainers of the package, not of Autoconf.
7801 2003-02-20  Klee Dienes  <kdienes@apple.com>
7803         * bin/autoreconf.in (autoreconf_current_directory): Properly
7804         handle an empty aclocal.m4.
7806 2003-02-20  Akim Demaille  <akim@epita.fr>
7808         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
7809         $ac_prefix_program.
7810         From Larry Jones.
7812 2002-12-23  Paul Eggert  <eggert@twinsun.com>
7814         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
7815         innocuous variant befor including <limits.h> or <assert.h>.  This
7816         works around a bug reported by Albert Chin: HP-UX 11i
7817         (and earlier versions) have a <limits.h> that declares
7818         gettimeofday and many other functions.
7820 2002-12-03  Paul Eggert  <eggert@twinsun.com>
7822         Version 2.57.
7824         * NEWS, configure.ac: Update version.
7826         * doc/fdl.texi: Upgrade to FDL version 1.2.
7828         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
7829         nontrivially in main's body, so that f's external declaration is
7830         not optimized away in AIX.  This should fix the bug reported by
7831         Martin Frydl in
7832         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
7834         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
7835         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
7836         defined, to support freestanding compilers.  This should fix the
7837         bug reported by Momchil Velkov in
7838         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
7840         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
7841         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
7842         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
7843         by Simon Josefsson in
7844         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
7846         * Makefile.maint (www-gnu): New macro.
7847         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
7848         the location has moved.
7850 2002-12-02  Martin Frydl  <martin@systinet.com>
7852         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
7853         \(.*\) match is too long and there is something more to be checked.
7854         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
7856 2002-11-15  Akim Demaille  <akim@epita.fr>
7858         Version 2.56.
7860         * config/install-sh: chmod +x.
7861         From Paul Eggert.
7862         * config/move-if-change: Indenting changes.
7863         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
7864         * configure.ac (AM_INIT_AUTOMAKE): here.
7865         Require 1.7.1.
7867 2002-11-14  Akim Demaille  <akim@epita.fr>
7869         Version 2.55.
7871         * config/config.guess, config/config.sub, config/install-sh:
7872         Update from masters.
7874 2002-11-14  Akim Demaille  <akim@epita.fr>
7876         * Makefile.maint: Sync with Bison, i.e.:
7877         (po-check): Scan .l and .y files instead of the
7878         .c and the .h files that they generate.  This fixes the bug
7879         reported by Tim Van Holder in:
7880         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
7881         Look for N_ as well as for _.  Try to avoid matching #define for
7882         N_ and _.
7883         From Paul Eggert.
7885 2002-11-14  Akim Demaille  <akim@epita.fr>
7887         * doc/autoconf.texi (C Compiler): Compiling several files at once.
7888         From Paul Eggert and Albert Chin-A-Young.
7890 2002-11-14  Akim Demaille  <akim@epita.fr>
7892         * doc/autoconf.texi (C Compiler): Solitary backslashes.
7893         From Paul Eggert and Albert Chin-A-Young.
7895 2002-11-14  Kevin Ryde  <user42@zip.com.au>
7897         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
7898         than assigning in main, to avoid HP cc +O3 optimizing it away.
7900 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
7902         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
7903         option.  Process --recheck after parsing all options.  Pass -q
7904         option to configure on --recheck.
7905         (AC_OUTPUT): Pass -q from configure to config.status.
7906         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
7907         arguments to record.
7908         * doc/autoconf.texi (config.status Invocation): Document
7909         config.status -q option.
7911 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
7913         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
7914         Makefile.in if Makefile.am exists.
7915         (output): Strip `.am' from Makefiles.  Don't
7916         output AC_CONFIG_FILES if no Makefiles were found.
7918 2002-11-07  Akim Demaille  <akim@epita.fr>
7920         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
7921         (local_updates): New.
7922         * Makefile.maint: Update, from CVS Bison.
7923         (local_updates): New.
7925 2002-11-06  Akim Demaille  <akim@epita.fr>
7927         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
7928         declaration in extern "C" too.
7929         Reported by Roberto Bagnara.
7931 2002-11-06  Akim Demaille  <akim@epita.fr>
7933         * tests/torture.at (Configuring subdirectories): Don't use grep
7934         -w.
7935         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
7936         Reported by Ezra Peisach.
7938 2002-11-05  Akim Demaille  <akim@epita.fr>
7940         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
7941         Remove.
7942         We _have_ to stop using the old compatibility scheme that tried to
7943         avoid useless backslashes because Libtool 1.4.3 contains a
7944         AC_DEFINE([error_t], [int],
7945         [Define to a type to use for \`error_t' if it is not
7946         otherwise available.])
7947         We _have_ to quote the single quote and backslashes with \.  The
7948         old compatibility scheme saw that ` was backslashed, and therefore
7949         did not quote the single quote.  Hence before this patch, Autoconf
7950         was not compatible with Libtool.
7952 2002-11-04  Paul Eggert  <eggert@twinsun.com>
7954         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
7955         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
7956         LC_NAME, LC_PAPER, LC_TELEPHONE.
7957         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
7959 2002-11-04  Akim Demaille  <akim@epita.fr>
7961         Version 2.54c.
7963         * Makefile.maint (update, cvs-update, po-update, do-po-update):
7964         New.
7965         * config/texinfo.tex: Update.
7967 2002-11-03  Akim Demaille  <akim@epita.fr>
7969         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
7970         from...
7971         (&autoreconf): here.
7972         ($help, $make, &parse_args, &autoreconf_current_directory):
7973         Support -m/--make.
7974         * doc/autoconf.texi (autoreconf Invocation): Adjust.
7976 2002-10-31  Bruno Haible  <bruno@clisp.org>
7978         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
7979         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
7980         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
7981         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
7982         to ac_cv_func_realloc_0_nonnull.
7983         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
7985 2002-10-31  Akim Demaille  <akim@epita.fr>
7987         The test suite was no longer checking for trailing envvars and files.
7989         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
7990         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
7992 2002-10-31  Akim Demaille  <akim@epita.fr>
7994         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
7995         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
7996         Make variable, not a shell variable.
7997         Suggested by Bruno Haible.
7999 2002-10-31  Akim Demaille  <akim@epita.fr>
8001         * bin/autom4te.in (load_configuration): Reject #args out of any
8002         language.
8004 2002-10-31  Akim Demaille  <akim@epita.fr>
8006         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
8007         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
8008         (_AC_RUN_IFELSE): Use it.
8009         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
8010         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
8011         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
8012         inline it.
8014 2002-10-30  Akim Demaille  <akim@epita.fr>
8016         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
8017         * doc/autoconf.texi (autom4te Invocation): Adjust.
8018         Suggested by Tim van Holder.
8020 2002-10-29  Paul Eggert  <eggert@twinsun.com>
8022         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
8023         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
8024         Problem reported by Bruno Haible.
8026 2002-10-29  Akim Demaille  <akim@epita.fr>
8028         * doc/autoconf.texi (Header Templates): Put also in words what the
8029         pictures says to assist free style readers.
8030         (Customizing autom4te): s/--cache=/--cache /.
8032 2002-10-29  Akim Demaille  <akim@epita.fr>
8034         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
8035         sys/wait.h.
8036         sparc_address_test returns void.
8037         Use it with an argument, as prototyped.
8038         From Bruno Haible.
8040 2002-10-29  Akim Demaille  <akim@epita.fr>
8042         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
8043         configure.in, not configure.ac.
8044         Reported by Bruno Haible.
8046 2002-10-29  Akim Demaille  <akim@epita.fr>
8048         * tests/torture.at (Deep Package): New test.
8049         (Configuring subdirectories): Don't use a testSubDir as Autotest
8050         now does it itself.
8052 2002-10-29  Akim Demaille  <akim@epita.fr>
8054         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
8055         * doc/autoconf.texi (Invoking autom4te): Rename as...
8056         (autom4te Invocation): this, for consistency with the other nodes.
8058 2002-10-29  Akim Demaille  <akim@epita.fr>
8060         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
8061         Reported by Ralf Corsepius.
8063 2002-10-29  Akim Demaille  <akim@epita.fr>
8065         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8066         characters is a back as an `obsolete' warning now.
8067         Reported by Ralf Corsepius.
8069 2002-10-28  Akim Demaille  <akim@epita.fr>
8071         * configure.ac: Bump to 2.54c.
8073 2002-10-28  Akim Demaille  <akim@epita.fr>
8075         Version 2.54b.
8077         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
8079 2002-10-28  Akim Demaille  <akim@epita.fr>
8081         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
8082         m4 executable names, and different GNU M4 version.
8083         Reported by Ezra Peisach and Paul Jarc.
8085 2002-10-27  Akim Demaille  <akim@epita.fr>
8087         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
8088         AC_RUN_IFELSE.
8090 2002-10-27  Akim Demaille  <akim@epita.fr>
8092         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
8093         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
8094         Die when a simple Fortran program cannot be compiled.
8095         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
8096         Issue a warning if no function is given.
8098 2002-10-27  Akim Demaille  <akim@epita.fr>
8100         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
8101         Move the documentation of AC_TRY_RUN to...
8102         (Obsolete Macros): here.
8103         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
8104         (autoconf Invocation): Remove the duplicates with `invoking
8105         autom4te'.
8106         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
8107         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
8109 2002-10-27  Akim Demaille  <akim@epita.fr>
8111         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
8112         and AC_LANG_FUNC_LINK_TRY.
8113         (Examining Libraries): Rename as...
8114         (Running the Linker): this.
8115         Document AC_LINK_IFELSE.
8116         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
8117         (Obsolete Macros): here.
8118         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
8119         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
8120         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
8121         * lib/autoconf/headers.m4 (AC_USG): Likewise.
8123 2002-10-27  Akim Demaille  <akim@epita.fr>
8125         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
8127         More `check config.log' messages.
8129         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
8130         * doc/autoconf.texi (Printing Messages): Document it.
8131         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
8132         appropriate.
8133         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
8134         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
8135         (_AC_COMPILER_OBJEXT): Likewise.
8136         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
8137         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
8138         Likewise.
8139         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
8140         Likewise.
8142         Deprecate macros with unusual interfaces.
8144         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
8145         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
8147         Document the new ones, and proper style.
8149         * doc/autoconf.texi (Generating Sources): New.
8150         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
8151         (Examining Declarations): Rename as...
8152         (Running the Preprocessor): this.
8153         Document AC_PREPROC_IFELSE.
8154         (Examining Syntax): Rename as...
8155         (Running the Compiler): this.
8156         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
8157         (Obsolete Macros): Move the definition of AC_TRY_CPP and
8158         AC_TRY_COMPILE here.
8160 2002-10-27  Akim Demaille  <akim@epita.fr>
8162         Move sections around.
8164         * doc/autoconf.texi (Customizing autom4te): Remove a lost
8165         sentence.
8166         Reported by Burno Haible.
8167         (Language Choice): Now the first section of...
8168         (Writing Tests): this section.
8169         Make the introduction less C-centric.
8170         (Guidelines, Test Functions): Move to...
8171         (Writing Test Programs): this new section.
8172         (Test Programs): Merge into...
8173         (Run Time): this.
8175 2002-10-27  Akim Demaille  <akim@epita.fr>
8177         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
8178         autom4te.in that resulted in the need for two `make' runs.
8180 2002-10-27  Akim Demaille  <akim@epita.fr>
8182         * configure.ac: Bump to 2.54b.
8184 2002-10-25  Akim Demaille  <akim@epita.fr>
8186         Version 2.54a.
8188         * Makefile.maint: Update from the Coreutils.
8189         (AMTAR): Remove, obsolete.
8190         (automake_repo): Update to redhat.com.
8191         (cvs_file): New.
8192         Adjust to the fact that ansi2knr is now hosted by Automake.
8193         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
8194         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
8195         Update from masters.
8196         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
8197         autoscan.pre is not to be installed, and autoscan.list is not to
8198         be shipped.
8199         (CLEANFILES): Add autoscan.list.
8200         (autoscan.list): Disable the cache.
8201         * bin/Makefile.am: Include freeze.mk.
8203 2002-10-25  Akim Demaille  <akim@epita.fr>
8205         * bin/autom4te.in (&load_configuration): Take the file as
8206         argument.
8207         (&parse_args): Handle -C, --cache.
8208         ($help): Adjust.
8209         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
8210         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
8211         * doc/autoconf.texi (Invoking autom4te): Document --cache.
8212         Now a subsection of...
8213         (Using autom4te): This new section.
8214         (Customizing autom4te): New.
8215         (autom4te.cache): Adjust.
8217 2002-10-25  Akim Demaille  <akim@epita.fr>
8219         * doc/autoconf.texi (Generic Headers): More information on how to
8220         use AC_CHECK_HEADERS.
8222 2002-10-25  Akim Demaille  <akim@epita.fr>
8224         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
8225         Space changes.
8227 2002-10-25  Akim Demaille  <akim@epita.fr>
8229         * bin/autoscan.in (output): Output AC_PREREQ.
8230         (%needed_macros): Add AC_PREREQ so that configure.ac without one
8231         be reported.
8233 2002-10-23  Akim Demaille  <akim@epita.fr>
8235         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
8236         document _Bool.
8238 2002-10-23  Akim Demaille  <akim@epita.fr>
8240         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
8241         Reported by Peter Eisentraut.
8243 2002-10-23  Akim Demaille  <akim@epita.fr>
8245         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
8246         type _Bool.
8247         Fix a typo.
8248         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
8249         Eggert's recommandations.
8251 2002-10-22  Akim Demaille  <akim@epita.fr>
8253         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
8254         Bison, by Paul Eggert.
8255         * doc/autoconf.texi (Particular Headers): Document it.
8257 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
8259         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
8260         `$ac_configure_args'.
8262 2002-10-22  Akim Demaille  <akim@epita.fr>
8264         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
8265         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
8266         From Art Haas.
8268 2002-10-22  Akim Demaille  <akim@epita.fr>
8270         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
8272         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8273         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
8274         (_AC_CHECK_HEADER_NEW): Rename as...
8275         (AC_CHECK_HEADER): this.
8277 2002-10-22  Akim Demaille  <akim@epita.fr>
8279         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
8280         words about HP-UX cmp: it was actually a user-written cmp.
8282 2002-10-22  Akim Demaille  <akim@epita.fr>
8284         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
8285         are a few warnings.
8286         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8287         Quote for Perl '' strings, not "".
8288         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
8289         strings.
8291 2002-10-22  Akim Demaille  <akim@epita.fr>
8293         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8294         characters is a syntax warning now.
8295         (_AS_QUOTE): Accept $2 as list of characters to quote.
8296         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8297         Quote for Perl, not sh.
8298         * bin/autoheader.in: When $debug, report the file which is
8299         `do'ne.
8300         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
8301         `@', to tickle Perl's lists.
8302         Reported by Carlos Velasco.
8304 2002-10-18  Akim Demaille  <akim@epita.fr>
8306         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
8307         missing included files _are_ errors.
8308         Thanks to Alexandre Duret-Lutz.
8309         * tests/tools.at (autom4te cache): Adjust.
8310         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
8311         (AT_CHECK_M4SUGAR): Use it.
8312         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8313         Adjust.
8314         * tests/tools.at (autom4te): Now it does exit 1.
8316 2002-10-17  Akim Demaille  <akim@epita.fr>
8318         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
8319         Fixes the `AC_ARG_VAR' test failures.
8320         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
8321         * lib/freeze.mk (check-forbidden-patterns): New.
8322         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
8323         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
8324         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
8325         /dev/null.
8326         Reported months ago by H. Merijn Brand.
8328 2002-10-17  Akim Demaille  <akim@epita.fr>
8330         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
8332 2002-10-16  Paul Eggert  <eggert@twinsun.com>
8334         * Makefile.maint (wget_files): Remove ansi2knr.c.
8335         (ansi2knr.c-url_prefix): Remove.
8337 2002-10-16  Akim Demaille  <akim@epita.fr>
8339         Because of caching, some files that no longer exist and are no
8340         longer required can still cause errors.
8341         Reported by Alexandre Duret-Lutz.
8343         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
8344         to frozen files in @ARGV, as @ARGV must remain being a list of
8345         files.  Rather, at M4 call sites, use this...
8346         (&files_to_options): New function.
8347         (&freeze): Use &error.
8348         (&up_to_date): If a file that was included according to the cache
8349         is no longer there, then the output is out dated.
8350         (&main): Don't even check whether a file is up to date is anyway
8351         --force is given.
8352         * tests/tools.at (autom4te cache): New.
8354 2002-10-16  Akim Demaille  <akim@epita.fr>
8356         * bin/autoconf.as: Kill dead options.
8357         * bin/autoupdate.in (&parse_args): Kill old options.
8358         * bin/autoreconf.in (&parse_args): Remove dead options.
8359         Factor some code.
8360         (&autoreconf): Report the directories we enter *and leave*, so
8361         that error messages can be easily located, and use GNU Make
8362         format, so that Emacs' compile mode understands us.
8363         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
8364         if some file was changed instead of `print'.
8365         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
8366         (&parse_args): Remove the dead options.
8367         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
8368         autoheader's quiet mode.
8369         (AT_CHECK_AUTOUPDATE): Likewise.
8370         * tests/tools.at (autoupdate): Adjust.
8371         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8373 2002-10-11  Akim Demaille  <akim@epita.fr>
8375         No longer use CPP to check for the existing of headers: use CC to
8376         check for compilability.
8378         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8379         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
8380         (_AC_CHECK_HEADER_NEW): Rename as...
8381         (AC_CHECK_HEADER): this.
8383         * lib/autotest/general.m4 (AT_INIT): Include the failed test
8384         numbers in the Subject suggestion.
8386 2002-10-11  Akim Demaille  <akim@epita.fr>
8388         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
8389         Suggest using AC_CHECK_DECLS instead.
8391 2002-10-11  Akim Demaille  <akim@epita.fr>
8393         * tests/torture.at (AC_ARG_VAR): Have configure report the value
8394         of `precious'.
8396 2002-10-11  Akim Demaille  <akim@epita.fr>
8398         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
8399         file name to enable parallel executions.
8400         From Sam Varshavchik.
8402 2002-10-08  Akim Demaille  <akim@epita.fr>
8404         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
8405         aclocal invocation, as Gettext macros might not be visible to
8406         aclocal.
8407         Instead of blindly running autopoint, scan configure.ac (not the
8408         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
8409         Reported by Paul D. Smith.
8411 2002-10-08  Paul Eggert  <eggert@twinsun.com>
8413         Work around problems found when POSIXLY_CORRECT=1 is set.
8414         None of this seems to have anything to do with POSIX, really,
8415         but it's how Perl getopt works.
8416         * bin/autom4te.in (parse_args): Configure GetOpt with
8417         "permute", too.
8418         * doc/autoconf.texi (Invoking autom4te):
8419         --warning -> --warnings.
8420         * lib/autom4te.in: --warning -> --warnings.
8422 2002-09-28  Akim Demaille  <akim@epita.fr>
8424         * doc/autoconf.texi (autom4te.cache): New section.
8426 2002-09-28  Akim Demaille  <akim@epita.fr>
8428         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
8429         (Automake-preselections): Update.
8430         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
8432 2002-09-28  Akim Demaille  <akim@epita.fr>
8434         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
8435         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
8436         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8437         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
8439 2002-09-28  Akim Demaille  <akim@epita.fr>
8441         * tests/torture.at (Configuring subdirectories): Be robust to
8442         users who use config.site to require for a cache: in this case,
8443         the two last configure runs, using two different sets of
8444         arguments, trigger a legitimate error.
8446 2002-09-28  Akim Demaille  <akim@epita.fr>
8448         * tests/m4sh.at (Functions Support, Functions and return Support):
8449         New.
8451 2002-09-28  Akim Demaille  <akim@epita.fr>
8453         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
8454         autoheader are Perl programs.
8455         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
8456         (autom4te): Specify that the sources are in the $srcdir.
8457         * doc/autoconf.texi (Installation Directory Variables): Adjust.
8459 2002-09-28  Akim Demaille  <akim@epita.fr>
8461         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
8462         (tm_zone): Move their rules to...
8463         * lib/autoconf/types.m4: here, using AN_ macros.
8464         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
8465         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
8466         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
8467         * lib/autoconf/programs.m4: here.
8468         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
8469         (ETAGS_FOR_AUTOCONF): New.
8470         Use it.
8472 2002-09-28  Akim Demaille  <akim@epita.fr>
8474         * lib/autoconf/autoscan.m4: New file.
8475         * lib/autoconf/autoconf.m4: Include it.
8476         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
8477         that were listed in the original autoscan.list.
8478         * lib/autoconf/headers.m4: Similarly with headers.
8479         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
8480         (.m4.m4f): Don't pass --prepend-include, since that's done by
8481         tests/autom4te itself.
8482         * lib/autoscan/Makefile.am: Include freeze.mk.
8483         (autoscan.list): New target --this file is no longer a source.
8484         (autoscan.pre): New file.
8486 2002-09-28  Akim Demaille  <akim@epita.fr>
8488         * bin/autoscan.in (@kinds): Make them singular.
8489         Adjust all uses.
8490         (&init_tables): When --debug, report the list of rules to ease
8491         tracking changes in autoscan.list.
8492         * lib/autoscan/autoscan.list (function): Strip comments, sort.
8494 2002-09-28  Akim Demaille  <akim@epita.fr>
8496         * lib/autoscan/functions, lib/autoscan/headers,
8497         * lib/autoscan/identifiers, lib/autoscan/makevars,
8498         * lib/autoscan/programs: Merge into...
8499         * lib/autoscan/autoscan.list: this.
8500         * bin/autoscan.in (&init_tables): Adjust.
8502 2002-09-28  Akim Demaille  <akim@epita.fr>
8504         * lib/autoscan/functions, lib/autoscan/headers,
8505         * lib/autoscan/identifiers, lib/autoscan/makevars,
8506         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
8507         `functions' line is now prefixed with `function:'.
8508         * bin/autoscan.in (&init_tables): Adjust.
8510 2002-09-28  Akim Demaille  <akim@epita.fr>
8512         From now on, autoscan files must always map a macro name to a
8513         word: there is no `default' macro for autoscan.
8515         * bin/autoscan.in (&init_tables): Reject entries with no macro at
8516         all.
8517         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
8518         explicit.
8520 2002-09-28  Akim Demaille  <akim@epita.fr>
8522         * bin/autoscan.in (%c_keywords): Remove.
8523         (&used): Keep only track of the words we might be interested in.
8524         (&output_kind): It is no longer needed to look for non active
8525         checks.
8527 2002-09-27  Akim Demaille  <akim@epita.fr>
8529         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
8530         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
8531         * lib/autoscan/functions: Adjust.
8532         * doc/autoconf.texi (Particular Functions): Adjust.
8534 2002-09-27  Akim Demaille  <akim@epita.fr>
8536         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
8537         from /tmp.
8538         Thanks to Bill Moseley and Paul Eggert.
8539         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
8540         the tmpdir must be created.
8541         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
8542         dir be in the build tree, instead of $TMPDIR.
8544 2002-09-27  Akim Demaille  <akim@epita.fr>
8546         * bin/autoscan.in: Improve the comments.
8547         (&parse_args): Drop obsolete undocumented options.
8548         (&output_kind): Output warnings.
8549         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
8550         (getwd): Trigger a warning.
8552 2002-09-26  Akim Demaille  <akim@epita.fr>
8554         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
8555         Reported by Ralf Corsepius.
8556         * doc/autoconf.texi (autoreconf Invocation): Likewise.
8558 2002-09-26  Akim Demaille  <akim@epita.fr>
8560         Single suffix rules and seperated dependencies are not portable.
8562         * doc/autoconf.texi (Installation Directory Variables): Update.
8563         (Limitations of Make): Some about `Single Suffix Rules and
8564         Separated Dependencies'.
8565         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8566         (ifnames, autoscan, autom4te): Un-factor into several rules.
8568 2002-09-25  Paul Eggert  <eggert@twinsun.com>
8570         * BUGS (Interoperability bugs): New section.  Mention libtool
8571         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
8573 2002-09-24  Paul Eggert  <eggert@twinsun.com>
8575         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
8576         make handles suffix-rules differently from GNU make.
8578         * bin/Makefile.am (SUFFIXES, .in): Remove.
8579         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
8580         Move the body of the old .in rule here.
8582 2002-09-16  Akim Demaille  <akim@epita.fr>
8584         i960 compilers create `b.out' files by default.
8585         Reported by Ralf Corsepius.
8587         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
8588         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
8590 2002-09-13  Paul Eggert  <eggert@twinsun.com>
8592         * doc/autoconf.texi (Particular Headers): Remove obsolete
8593         reference to `struct timezone' in the description of
8594         AC_HEADER_TIME.
8596 2002-09-13  Akim Demaille  <akim@epita.fr>
8598         Version 2.54.
8600         * config/config.sub, config/config.guess: Update.
8601         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
8602         * Makefile.am: Adjust.
8604 2002-09-13  Akim Demaille  <akim@epita.fr>
8606         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
8607         reading config.log when the compiler is rejected.
8608         Suggested by Guido Draheim.
8610 2002-09-13  Akim Demaille  <akim@epita.fr>
8612         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
8613         (chdir_init) might hang when stat'ing mounted directories.
8614         Reported by Vance Shipley.
8616 2002-09-12  Akim Demaille  <akim@epita.fr>
8618         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
8619         the lists.
8621 2002-09-12  Akim Demaille  <akim@epita.fr>
8623         * doc/autoconf.texi (Defining Symbols): Present two different
8624         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
8625         difference between 1 argument calls, and 2-3 argument calls.
8627 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
8629         * doc/autoconf.texi: Review grammar and punctuation.
8631 2002-09-11  Paul Eggert  <eggert@twinsun.com>
8633         * doc/autoconf.texi: Fix minor formatting, spelling, and
8634         grammatical typos.
8635         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
8636         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
8637         is obsolescent.
8639 2002-09-11  Akim Demaille  <akim@epita.fr>
8641         * doc/autoconf.texi (Questions): Rename as...
8642         (FAQ): this.
8643         (Defining Directories): New.
8645 2002-09-09  Akim Demaille  <akim@epita.fr>
8647         * doc/autoconf.texi (Making testsuite Scripts): Update.
8648         Suggested by Nishio Futoshi.
8650 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
8652         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
8653         plain `@' is wanted.
8655 2002-09-09  Akim Demaille  <akim@epita.fr>
8657         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
8658         `duplicates', since the algorithm was too naive and could keep
8659         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
8660         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
8661         Reported by Ralf Corsepius.
8662         * tests/torture.at (Configuring subdirectories): Exercise these
8663         cases.
8665 2002-09-09  Akim Demaille  <akim@epita.fr>
8667         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
8668         looking for a replacement file.
8669         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
8670         directory is relative.
8671         * doc/autoconf.texi (Generic Functions): Clarify the replacement
8672         directory definition.
8673         Reported by Andreas Schwab and Jim Meyering.
8675 2002-09-06  Akim Demaille  <akim@epita.fr>
8677         * doc/autoconf.texi (Setting Output Variables): Clarify what
8678         precious variables are.
8679         Suggested by Pontus Skoeld.
8681 2002-09-05  Akim Demaille  <akim@epita.fr>
8683         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8684         (ifnames, autoscan, autom4te): Since we don't only depend on
8685         configure.ac variables (such as VERSION etc.), but also on prefix
8686         and so forth, depend on Makefile, not configure.ac.
8687         Reported by Alexandre Duret-Lutz.
8688         * doc/autoconf.texi (Installation Directory Variables): Adjust.
8690 2002-09-05  Kevin Ryde  <user42@zip.com.au>
8692         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
8693         doesn't seem to be confined to ia64, just say "some versions".
8695 2002-09-04  Akim Demaille  <akim@epita.fr>
8697         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
8698         Automake 1.6c.
8699         * Makefile.am (maintainer-clean-local): Remove.
8700         (MAINTAINERCLEANFILES): Remove COPYING.
8702 2002-09-03  Paul Eggert  <eggert@twinsun.com>
8704         * doc/autoconf.texi (Configuration Commands): Remove obsolete
8705         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
8706         Brinkmann.
8708 2002-09-03  Akim Demaille  <akim@epita.fr>
8710         * configure.ac: Bump to 2.53d.
8711         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
8712         as of today, on Automake's team suggestion.
8714 2002-09-03  Akim Demaille  <akim@epita.fr>
8716         Version 2.53c.
8718 2002-09-02  Akim Demaille  <akim@epita.fr>
8720         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
8721         SITE_MACRO_DIR.
8722         * configure.ac: Disable SITE_MACRO_DIR.
8724 2002-09-02  Jim Meyering  <meyering@lucent.com>
8726         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
8727         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
8728         Also, tweak grammar: s/make sure to/be sure to/.
8730 2002-09-02  Paul Eggert  <eggert@twinsun.com>
8732         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
8733         directory names are generally preferable to physical names.
8735 2002-09-02  Akim Demaille  <akim@epita.fr>
8737         * lib/Autom4te/General.pm (&update_file): s/die/error/.
8738         Reported by Raja R. Harinath.
8739         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
8740         * bin/autoupdate.in: Use error instead of die.
8742 2002-09-01  Paul Eggert  <eggert@twinsun.com>
8744         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
8745         ordinary shell concatenation rather than echo+tr+sed command that
8746         runs afoul of a long-line-related sed bug in Solaris 8.
8748         * bin/autoheader.in (parse_args): --warning -> --warnings.
8750         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
8751         stdout, as traditional "ls" does.
8752         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
8753         _AC_COMPILER_EXEEXT_O): Likewise.
8754         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
8756         * bin/autoconf.as: Add --prepend-include option.  This patch was
8757         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
8758         but bin/autoconf.in is generated automatically from bin/autoconf.as.
8760         * bin/autoconf.in, configure: Regenerate.
8762         * doc/autoconf.texi (Special Shell Variables): Mention
8763         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
8765         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
8766         MAILPATH and set PS1, PS2, PS4 to default values, to work
8767         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
8768         For LC_ALL etc, first try to set to "C" as POSIX requires and as
8769         the Autoconf documentation specifies; fall back to "unset" only if
8770         this fails.  Use a shell for-loop for this rather than an m4 loop,
8771         to shorten the output script.
8773 2002-08-30  Paul Eggert  <eggert@twinsun.com>
8775         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
8776         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
8777         for the CDPATH problem.  Document PWD.
8778         (Limitations of Builtins): Document the problem that "cd $foo" and
8779         "ls $foo" may refer to different directories in shells conforming
8780         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
8781         example, since the old example is now out of date.
8783         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
8784         FOO" and "ls FOO" talk about different directories; this catches
8785         problems when POSIX 1003.1-2001 "cd" fails due to symlink
8786         spaghetti.
8788         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
8789         of rolling our own unset.
8790         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
8791         in practice we needn't worry about CDPATH if unset doesn't work.
8793         * Makefile.in, aclocal.m4, bin/Makefile.in,
8794         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
8795         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
8796         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
8797         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
8798         tests/Makefile.in: Regenerate with Automake 1.6.3.
8800         * config/config.guess, config/config.sub, config/mkinstalldirs:
8801         Update.
8803         * configure: Regenerate with self.
8805 2002-08-30  Kevin Ryde  <user42@zip.com.au>
8807         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
8808         default output.
8810 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8812         * bin/autom4te.in (Request::load): Correctly test for "do" read
8813         failure.
8815 2002-08-29  Akim Demaille  <akim@epita.fr>
8817         * lib/Autom4te/General.pm (&xqx): New.
8818         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
8819         hand, which is not portable.
8820         (&error): New.
8821         * bin/autom4te.in: Use them.
8822         Use &error instead of die.
8823         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8824         Adjust.
8826 2002-08-17  Paul Eggert  <eggert@twinsun.com>
8828         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
8829         default list of compilers to try, since it was long ago superseded
8830         by the ksh fc builtin.  Suggested by Steven G. Johnson.
8832 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
8834         * doc/autoconf.texi (Invoking autom4te): End the option table,
8835         fixing a bug introduced by the previous patch.
8836         (Limitations of Make): Add a 'target lookup' subentry in the
8837         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
8839 2002-07-29  Mark D. Roth  <roth@feep.net>
8841         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
8842         options and use $AUTOM4TE_PATH.
8843         * doc/autoconf.texi: Remove documentation of autom4te
8844         --include-envvar and --site-macro-subdir options and document
8845         use of $AUTOM4TE_PATH.
8846         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
8847         arguments from each language section.
8849 2002-07-29  Paul Eggert  <eggert@twinsun.com>
8851         * doc/install.texi: Include copyright symbol in copyright notice.
8853         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
8854         Replace with:
8855         (AM_MAKEINFOFLAGS): New macro.
8856         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
8857         * Makefile.am (INSTALL): Use the new macros.
8858         Use -o rather than --output, since "missing" does not grok --output.
8860 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
8862         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
8863         comments do not always work. Never trust the exit status of
8864         `make -k'.
8866 2002-07-24  Kevin Ryde  <user42@zip.com.au>
8868         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
8869         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
8871 2002-07-23  Paul Eggert  <eggert@twinsun.com>
8873         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
8874         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
8875         apparently treats PATH="nonexistent" as if it contained ".".
8876         Bug reported by Stefan `Sec' Zehl.
8878 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
8880         * doc/autoconf.texi (Limitations of Make): Mention the special
8881         handling of the obj/ directory by BSD make.
8883 2002-07-20  Kevin Ryde  <user42@zip.com.au>
8885         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
8886         backslashes.
8888 2002-07-19  Akim Demaille  <akim@epita.fr>
8890         * doc/autoconf.texi (Function Portability): `exit'.
8891         (Programming in M4sh): Ethymology of M4sh.
8893 2002-07-19  Akim Demaille  <akim@epita.fr>
8895         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
8897 2002-07-18  Akim Demaille  <akim@epita.fr>
8899         Version 2.53b.
8901 2002-07-18  Akim Demaille  <akim@epita.fr>
8903         * config/config.guess, config/config.sub: Update.
8905 2002-07-18  Akim Demaille  <akim@epita.fr>
8907         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
8908         Automake's parts.
8910         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
8911         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
8912         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
8914 2002-07-18  Akim Demaille  <akim@epita.fr>,
8915             Alexandre Duret-Lutz  <duret_g@epita.fr>
8917         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
8918         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
8920 2002-07-17  Russ Allbery  <rra@stanford.edu>
8922         * doc/autoconf.texi (Initializing configure): Clarify the
8923         description of the tarname default.
8925 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
8927         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
8928         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
8929         latter was not run.
8931 2002-07-17  Akim Demaille  <akim@epita.fr>
8933         * lib/Autom4te/General.pm (find_file): Browse the directories in
8934         the order they are given.
8936 2002-07-17  Akim Demaille  <akim@epita.fr>
8938         * tests/wrapsh.as, tests/wrappl.as: Merge into...
8939         * tests/wrapper.as: this.
8940         * tests/Makefile.am, configure.ac: Adjust.
8942 2002-07-17  Mark D. Roth  <roth@feep.net>
8944         * configure.ac: Add --enable-site-macro-dir option.
8945         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
8946         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
8947         --site-macro-subdir options.
8948         * bin/autoconf.in: Add --prepend-include option.
8949         * bin/autoheader.in: Add --prepend-include option.
8950         * bin/autoreconf.in: Add --prepend-include option.
8951         * bin/autoscan.in: Add --prepend-include option.
8952         * bin/autoupdate.in: Add --prepend-include option.
8953         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
8954         macro directory, remove note that include path directories are
8955         used in reverse order, and document --prepend-include option.
8956         * lib/autom4te.in: Use --prepend-include instead of --include.
8957         * tests/wrapsh.in: Use --prepend-include instead of --include.
8959 2002-07-17  Akim Demaille  <akim@epita.fr>
8961         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
8962         tarnames.
8963         * doc/autoconf.texi (Initializing configure): Adjust.
8965 2002-07-17  Akim Demaille  <akim@epita.fr>
8967         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
8968         (_AC_FUNC_MALLOC): New.
8969         (AC_FUNC_MALLOC): Use the latter.
8970         Define HAVE_MALLOC to 0 if broken.
8971         * doc/autoconf.texi (Particular Functions): Adjust.
8973 2002-07-16  Akim Demaille  <akim@epita.fr>
8975         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
8976         * doc/autoconf.texi (C Compiler): Adjust.
8978 2002-07-09  Akim Demaille  <akim@epita.fr>
8980         * doc/autoconf.texi: Properly set the ``header'' part.
8982 2002-07-09  Akim Demaille  <akim@epita.fr>
8984         * doc/autoconf.texi (Systemology): Some about Darwin.
8986 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
8988         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
8989         Don't use AC_REQUIRE in AU_DEFUN.
8991 2002-07-09  Art Haas  <ahaas@neosoft.com>
8993         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
8995 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
8997         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8998         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
8999         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
9000         so that Emacs setups GNU style for perl-mode and cperl-mode.
9002 2002-06-27  Paul Eggert  <eggert@twinsun.com>
9004         * config/install-sh: Quote $src.  Prefer || to test's -o option,
9005         as per "Limitations of Builtins".
9006         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
9007         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9009         * tests/mktests.sh: Use grep instead of fgrep, as per
9010         "Limitations of Builtins".
9012 2002-06-15  Paul Eggert  <eggert@twinsun.com>
9014         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
9015         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
9016         so that we consistently test the just-built programs.
9017         * tests/wrappl.as: Likewise.
9019 2002-06-12  Paul Eggert  <eggert@twinsun.com>
9021         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
9022         name, so that symlinks to 'autoconf' work properly.  Bug reported
9023         by Bruno Haible.
9024         * bin/autoheader.in (AUTOM4TE): Likewise.
9025         * bin/autoreconf.in (autoconf, autoheader): Likewise.
9026         * bin/autoscan.in (autom4te): Likewise.
9027         * bin/autoupdate.in (autom4te): Likewise.
9029         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
9030         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
9031         on Solaris 2.5.1.
9033 2002-06-11  Andreas Schwab  <schwab@suse.de>
9035         * doc/autoconf.texi: Add more dir entries.
9037 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
9039         * bin/autom4te.in ($cache): Don't define using `$me', the name
9040         of the cache should not depend on the name under which autom4te
9041         was installed.
9043 2002-06-07  Akim Demaille  <akim@epita.fr>
9045         * tests/tools.at (autoconf: forbidden tokens, basic)
9046         (autoconf: forbidden tokens, exceptions): Adjust to the change of
9047         words in autom4te.in.
9049 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
9051         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
9052         _AC_LANG_PROGRAM_C_F77_HOOKS.
9054 2002-06-07  Akim Demaille  <akim@epita.fr>
9056         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
9057         rename as...
9058         (AC_REPLACE_FNMATCH): this.
9059         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
9060         AC_FUNC_FNMATCH_GNU.
9062 2002-06-07  Akim Demaille  <akim@epita.fr>
9064         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
9065         Rosetta Stone for Unix.
9067 2002-06-07  Akim Demaille  <akim@epita.fr>
9069         * bin/autom4te.in (warn_forbidden): When rejecting a token,
9070         suggest m4_pattern_allow.
9071         Suggested by Adam J. Richter.
9073 2002-06-07  Akim Demaille  <akim@epita.fr>
9075         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
9076         ac_config_libobj_dir.
9077         (AC_CONFIG_LIBOBJ_DIR): New.
9078         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
9079         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
9080         Use ac_config_libobj_dir to find the replacement files.
9081         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
9082         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
9083         (AC_REPLACE_FNMATCH_GNU): these.
9084         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
9085         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
9086         * tests/mktests.sh (ac_exclude_list): Don't check
9087         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
9089 2002-06-06  Paul Eggert  <eggert@twinsun.com>
9091         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
9092         if ln doesn't work.
9093         * NEWS: Likewise.
9094         * doc/autoconf.texi (Configuration Links): Likewise.
9095         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
9097 2002-06-05  Paul Eggert  <eggert@twinsun.com>
9099         * config/config.guess, config/config.sub, config/texinfo.tex:
9100         Update from masters.
9102 2002-05-29  Paul Eggert  <eggert@twinsun.com>
9104         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
9105         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9106         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
9107         Likewise.
9108         * lib/autoconf/Makefile.am (check-local): Likewise.
9109         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
9110         * lib/autoconf/types.m4 (commentary only): Likewise.
9111         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
9112         * lib/autotest/Makefile.am (check-local): Likewise.
9113         * lib/m4sugar/Makefile.am (check-local): Likewise.
9114         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
9115         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
9117         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
9118         * doc/autoconf.texi (Particular Programs): Document them.
9119         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
9120         * NEWS: Likewise.
9122 2002-05-27  Paul Eggert  <eggert@twinsun.com>
9124         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
9125         * NEWS, doc/autoconf.texi (Particular Types): Document it.
9126         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
9127         instead of AC_MBSTATE_T, which never existed.
9129 2002-05-23  Akim Demaille  <akim@epita.fr>
9131         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
9132         version of Autoconf that is discussed.
9134 2002-05-22  Paul Eggert  <eggert@twinsun.com>
9136         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
9137         from the default list of compilers to try.  Suggested by
9138         Kate Hedstrom.
9139         * NEWS: Document the above.
9140         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
9142 2002-05-17  Paul Eggert  <eggert@twinsun.com>
9144         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
9145         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
9146         This improves on an earlier suggestion by H. Peter Anvin.
9148 2002-05-16  Paul Eggert  <eggert@twinsun.com>
9150         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
9151         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
9152         Both macros now accept an optional source-dir arg.
9153         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
9155         * NEWS: Document this.
9156         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
9158         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
9159         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
9160         not for GNU extensions; this undoes part of the 2000-11-03 change,
9161         reverting to 2.13-compatible behavior.
9162         Add new optional argument DIR.
9163         (AC_FUNC_FNMATCH_GNU): New macro.
9165         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
9167 2002-05-08  Paul Eggert  <eggert@twinsun.com>
9169         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
9170         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
9171         and it causes a 'test' syntax error if it fails.
9172         Bug reported by Stephen Gildea.
9174         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
9175         If prototypes are supported, use them to check this at compile-time,
9176         instead of trying to check it at run-time.  If we must do a run-time
9177         check, assume that setvbuf is standard when cross-compiling, as
9178         nonstandard setvbuf occurs only on ancient and unlikely hosts.
9179         Bug reported by Paul D. Smith.
9181         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
9182         argument specifying location of getloadavg.c.  This removes a
9183         FIXME.  This idea was taken from Jim Meyering's implementation in
9184         textutils.
9185         * doc/autoconf.texi (Particular Functions): Document this.
9186         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
9187         that's what the code does; this fixes a bug reported by
9188         Paul D. Smith.
9190 2002-05-03  Akim Demaille  <akim@epita.fr>
9192         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
9193         autopoint instead of gettextize.
9194         ($uses_alocal): Rename as...
9195         ($uses_aclocal): this.
9196         * doc/autoconf.texi (autoreconf Invocation): Adjust.
9197         Suggested by Bruno Haible.
9199 2002-05-03  Akim Demaille  <akim@epita.fr>
9201         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
9203 2002-04-29  Paul Eggert  <eggert@twinsun.com>
9205         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
9206         files to be 1 second older; just set them to be the same time.
9207         Also, sleep 1 second after the first aclocal, to work around
9208         problems with sub-second time stamps on the input files.
9210 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
9212         * doc/autoconf.texi: Mention "set -e -x" lossage
9213         under node "Limitations of Builtins".
9215 2002-04-29  Akim Demaille  <akim@epita.fr>
9217         * doc/install.texi: Better wording for setting variables when
9218         running configure.
9219         From Christian Cornelssen.
9221 2002-04-29  Akim Demaille  <akim@epita.fr>
9223         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
9224         of lack of $LINENO support, then the test will compare the $LINENO
9225         in testsuite vs. the lineno in the test file.  This is wrong, of
9226         course.
9227         Be sure to protect it.
9228         Reported by Patrick Welche.
9230 2002-04-25  Akim Demaille  <akim@epita.fr>
9232         * doc/autoconf.texi (Obsolete Macros): Typo.
9233         Reported by Vladimir Volovich.
9235 2002-04-25  Akim Demaille  <akim@epita.fr>
9237         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
9238         than some of the input files, hence, on the second run of aclocal,
9239         if some of its input are younger, make them older.
9240         Suggested by Paul Eggert.
9242 2002-04-25  Akim Demaille  <akim@epita.fr>
9244         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
9245         Thanks to Paul Eggert.
9247 2002-04-25  Akim Demaille  <akim@epita.fr>
9249         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
9250         and ac_subst_vars be sh variables containing the list of
9251         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
9252         DEFAULT diversion.
9253         (_AC_INIT_PREPARE): Use them to log them.
9254         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
9255         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
9256         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
9257         _AC_SUBST_FILES and _AC_SUBST_VARS.
9258         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
9260 2002-04-24  Akim Demaille  <akim@epita.fr>
9262         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
9263         autoheader, so that automake does not complain about a missing
9264         config.h.in that was to be created.
9266 2002-04-23  Akim Demaille  <akim@epita.fr>
9268         * bin/autoheader.in (parse_args): --warning takes an argument.
9269         Fixes PR/220.
9271 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
9273         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
9274         and bb.out when cleaning up.
9276 2002-04-22  Akim Demaille  <akim@epita.fr>
9278         Version 2.53a.
9280 2002-04-22  Akim Demaille  <akim@epita.fr>
9282         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
9284 2002-04-22  Akim Demaille  <akim@epita.fr>
9286         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
9287         comma.
9288         Reported by Gregory Giannoni.
9290 2002-04-22  Akim Demaille  <akim@epita.fr>
9292         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
9293         Fixes false failures on Darwin.
9295 2002-04-21  Paul Eggert  <eggert@twinsun.com>
9297         * TODO, bin/autoupdate.in, doc/autoconf.texi,
9298         lib/autoconf/general.m4, lib/autoconf/libs.m4,
9299         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
9300         tests/tools.at: Minor spelling and grammar fixes.
9302 2002-04-20  Paul Eggert  <eggert@twinsun.com>
9304         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
9305         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
9306         * lib/autotest/general.m4 (AT_INIT): Likewise.
9307         * tests/atgeneral.m4 (AT_INIT): Likewise.
9309 2002-04-19  Paul Eggert  <eggert@twinsun.com>
9311         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
9312         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
9313         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
9314         lib/autoconf/functions.m4, lib/autoconf/general.m4,
9315         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
9316         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
9317         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
9318         Minor spelling and grammar fixes.
9320         * doc/autoconf.texi: Follow the outline suggested in the GNU
9321         Sample Texts sections of the Texinfo 4.2 manual.  Most
9322         importantly, this makes sure that the copyright notices appear in
9323         all output formats.  You probably need Texinfo 4.2 to generate
9324         the manual now.
9326         Fix some bugs when using "$@" when there might be zero positional
9327         arguments in cases where this matters.
9329         * bin/autoconf.as: Rewrite so that the problem does not come up.
9330         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
9331         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
9332         * lib/autotest/general.m4 (AT_INIT): Likewise.
9334         * bin/autoheader.in: Use 'case' statement to work around problem.
9335         * bin/auto4mte.in: Likewise.
9336         * bin/autoreconf.in: Likewise.
9337         * bin/autoscan.in: Likewise.
9338         * bin/autoupdate.in: Likewise.
9339         * bin/ifnames.in: Likewise.
9341         * doc/autoconf.texi (Shell Substitutions): Document the problem.
9343         * lib/autotest/general.m4 (AT_INIT):
9344         Use Zsh alias to work around problem.
9345         * tests/atgeneral.m4 (AT_INIT): Likewise.
9347         * tests/c.at: We can't have zero arguments, so remove workaround
9348         that is not portable to Zsh.
9350 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
9352         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
9353         from aclocal.m4 too.
9355 2002-04-12  Akim Demaille  <akim@epita.fr>
9357         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
9359 2002-04-10  Akim Demaille  <akim@epita.fr>
9361         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
9362         workaround for ${1+"$@"}.
9363         * doc/autoconf.texi (Shell Substitutions): Explain it.
9364         From Oliver Kiddle and Peter Stephenson.
9366         Have M4sh perform minimal shell sanitizing.
9368         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
9369         part into...
9370         (_AS_PREPARE): this new macro.
9371         (AS_PREPARE): New.
9372         (AS_INIT): Invoke AS_SHELL_SANITIZE.
9373         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
9375         Adjust Autoconf and Autotest.
9377         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
9378         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
9379         * lib/autotest/general.m4 (AT_INIT): Likewise.
9380         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
9381         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
9382         AS_SHELL_SANITIZE.
9384         Use this M4sh to generate Autoconf's shell scripts.
9386         * tests/wrapsh.as: New, precursor of wrapsh.in.
9387         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
9388         on Autotest and M4sh.
9389         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
9390         (wrapsh.in): New target.
9391         * bin/autoconf.as: New, precursor of autoconf.in.
9392         (autoconf.in): New target.
9394 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
9396         * doc/autoconf.texi (Limitations of Make): Mention the issue
9397         with indented comments in rules.
9399 2002-04-09  Andreas Schwab  <schwab@suse.de>
9401         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
9402         ac_top_builddir when setting ac_abs_top_builddir.
9404 2002-04-06  Kevin Ryde  <user42@zip.com.au>
9406         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
9407         (Portable Shell): Cross reference to Systemology.
9409 2002-04-05  Akim Demaille  <akim@epita.fr>
9411         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
9412         directories when descending in a SUBDIRS.
9413         Reported by Ezra Peisach.
9415 2002-04-04  Andreas Schwab  <schwab@suse.de>
9417         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
9418         contains no literal separators.
9420 2002-04-03  Akim Demaille  <akim@epita.fr>
9422         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
9423         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
9424         Use dnl, not the KILL diversion.
9425         Extracted from...
9426         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
9427         (AC_CONFIG_LINKS): here.
9428         Adjust.
9429         Don't use the KILL diversion, as it kills spurious output, which
9430         results in failures being hidden.
9431         Use m4_defn where appropriate.
9432         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
9433         after the second argument.
9434         Use m4_defn.
9435         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
9436         syntax, as it is provided by M4sugar.
9437         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
9439 2002-04-03  Andreas Schwab  <schwab@suse.de>
9441         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
9442         expanded if $# <= 2.
9444         * bin/autoreconf.in (autoreconf): Run automake after rerunning
9445         aclocal.
9447 2002-04-03  Akim Demaille  <akim@epita.fr>
9449         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
9450         (_AC_COMPILER_EXEEXT_REJECT): New.
9451         Also recognize *.bb and *.bbg as compilation byproducts.
9452         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
9453         (_AC_COMPILER_OBJEXT): Use them.
9454         Fixes Debian #138666.
9456 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
9458         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
9460         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
9461         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
9462         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
9463         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
9464         (AC_C_CONST): Same.
9465         (AC_C_INLINE): Same.
9466         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
9467         * doc/autoconf.texi, NEWS: Document.
9468         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
9469         AC_C_CROSS.
9471 2002-04-02  Akim Demaille  <akim@epita.fr>
9473         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
9474         _AS_MKDIR_P_PREPARE.
9476 2002-03-28  Kevin Ryde  <user42@zip.com.au>
9478         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
9479         to avoid versions of HP C which don't allow that.
9481 2002-03-27  Paul Eggert  <eggert@twinsun.com>
9483         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
9484         (AS_SHELL_SANITIZE): Invoke it.
9485         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
9487 2002-03-26  Akim Demaille  <akim@epita.fr>
9489         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
9491 2002-03-26  Akim Demaille  <akim@epita.fr>
9493         * doc/autoconf.texi (Introduction): The GNATS base moved.
9495 2002-03-25  Paul Eggert  <eggert@twinsun.com>
9497         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
9498         as POSIX requires, as it doesn't work with Zsh.
9499         * doc/autoconf.texi (Assignments): Document the problem.
9501 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
9503         * doc/autoconf.texi (Limitations of Make): Mention more issue
9504         about VPATH, overriding of macros in sub-makes, and handling of
9505         SHELL.
9507 2002-03-21  Paul Eggert  <eggert@twinsun.com>
9509         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
9510         problem with here-document buffer boundaries.
9512         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
9513         when reinvoking the shell, to work around problems with installers
9514         who put strange things like "cd" commands in their environments.
9516 2002-03-19  Akim Demaille  <akim@epita.fr>
9518         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
9519         From Aaron Ucko.
9521 2002-03-19  Akim Demaille  <akim@epita.fr>
9523         * bin/autoscan.in (scan_file): Specify the location in `&used'
9524         invocations.
9525         From Nicolas Joly.
9527 2002-03-19  Akim Demaille  <akim@epita.fr>
9529         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
9530         From Nishio Futoshi.
9532 2002-03-19  Akim Demaille  <akim@epita.fr>
9534         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
9536 2002-03-18  Paul Eggert  <eggert@twinsun.com>
9538         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
9539         (Limitations of Usual Tools): Add mkdir section.
9541         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
9542         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
9543         back on AS_DIRNAME to compute prefixes otherwise; this is
9544         roughly what mkinstalldirs does.  That way, we need not have
9545         our own filename disassembler.  The old disassembler did not
9546         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
9548         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
9549         Create at_test_all by a series of assignments,
9550         not by a single assignment of a long string.  The latter causes ksh
9551         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
9552         presumably because of a buffer overrun.
9554 2002-03-14  Paul Eggert  <eggert@twinsun.com>
9556         * lib/autotest/general.m4 (at_times_skip):
9557         Renamed from at_times.  Now a boolean.
9558         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
9559         says 'times: not found'.
9561 2002-03-14  Akim Demaille  <akim@epita.fr>
9563         * bin/autoreconf.in (&study_gettextize): New.
9564         (&autoreconf): Handle newest gettextize.
9565         Rerun aclocal if needed.
9566         Suggested by Andreas Schwab.
9568 2002-03-13  Akim Demaille  <akim@epita.fr>
9570         * doc/autoconf.texi (Special Shell Variables): More about IFS.
9572 2002-03-13  Akim Demaille  <akim@epita.fr>
9574         * doc/autoconf.texi (Header Portability): New.
9575         Add information about stdint.h and inttypes.h from Paul Eggert.
9577 2002-03-13  Akim Demaille  <akim@epita.fr>
9579         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
9580         -p'.
9581         From Bob Proulx.
9583 2002-03-12  Akim Demaille  <akim@epita.fr>
9585         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
9586         m4_require.
9588 2002-03-11  Andreas Schwab  <schwab@suse.de>
9590         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
9591         does not do it if --with-lispdir is given.
9593 2002-03-08  Akim Demaille  <akim@epita.fr>
9595         Version 2.53.
9597 2002-03-08  Akim Demaille  <akim@epita.fr>
9599         * doc/autoconf.texi (Subdirectories): Clarify that the
9600         subdirectory should exist.
9602 2002-03-08  Akim Demaille  <akim@epita.fr>
9604         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
9606 2002-03-08  Akim Demaille  <akim@epita.fr>
9608         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
9609         aliases the actual variables, and modifications of the former
9610         affect the latter.
9612 2002-03-08  Akim Demaille  <akim@epita.fr>
9614         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
9615         because of C-c: have m4 output in tmp files, then mv them.
9617 2002-03-08  Akim Demaille  <akim@epita.fr>
9619         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
9620         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
9621         * bin/ifnames.in: Copyright update.
9623 2002-03-08  Akim Demaille  <akim@epita.fr>
9625         * doc/autoconf.texi (Invoking autom4te): New.
9627 2002-03-05  Akim Demaille  <akim@epita.fr>
9629         * doc/autoconf.texi (Specifying Names): Clarification suggested by
9630         Kevin Ryde.
9632 2002-03-05  Akim Demaille  <akim@epita.fr>
9634         Version 2.52i.
9636 2002-03-04  Akim Demaille  <akim@epita.fr>
9638         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
9639         * lib/autoconf/general.m4 (AC_INIT): More informative error
9640         message for LIBOBJ.
9642 2002-03-04  Akim Demaille  <akim@epita.fr>
9644         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
9645         parallel builds.
9647 2002-03-04  Akim Demaille  <akim@epita.fr>
9649         * doc/autoconf.texi (Transforming Names): Equality between target
9650         and host is irrelevant.
9651         (Specifying Names, Canonicalizing): Remove all references to the
9652         backward compatibility hooks.  Rather, collect them all into...
9653         (Hosts and Cross-Compilation): this new section.
9654         * doc/install.texi (System Type): Ditto.
9655         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
9656         that `--host' implies cross-compilation.
9658 2002-03-04  Akim Demaille  <akim@epita.fr>
9660         * doc/autoconf.texi (Evaluation Macros): New.
9661         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
9662         useless.
9663         (_m4_foreach): Define the variant with immediate evaluation so
9664         that it contains exactly the items, not an expression which
9665         evaluation is the current item.
9666         (m4_re_string, m4_re_word): Don't over quote them.
9668 2002-03-04  Akim Demaille  <akim@epita.fr>
9670         Instead of having stacking `shift's evaluated at the end, let
9671         `foreach' loops immediately evaluate them.
9673         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
9674         $*.  This is the n-th time I change my mind, but hopefully this is
9675         the last...
9676         (m4_lquote): New.
9677         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
9678         efficient.
9679         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
9680         it was only a hack for m4_text_wrap.
9681         (m4_car2): Remove, replaced by...
9682         (m4_cdr): New.
9683         (_m4_foreach): Adjust.
9684         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
9685         m4_bpatsubst for clarification.
9687 2002-03-04  Akim Demaille  <akim@epita.fr>
9689         * doc/autoconf.texi (Changequote is Evil): New.
9691 2002-03-03  Kevin Ryde  <user42@zip.com.au>
9693         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
9694         on old systems like SunOS.
9696 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
9698         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9699         lib/autoconf/functions.m4, lib/autoconf/general.m4,
9700         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
9701         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
9702         of messages.
9704 2002-02-28  Akim Demaille  <akim@epita.fr>
9706         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
9707         message to be sent.
9709 2002-02-28  Kevin Ryde  <user42@zip.com.au>
9711         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
9713 2002-02-25  Akim Demaille  <akim@epita.fr>
9715         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
9716         From Akinori Musha.
9718 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
9720         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
9721         translate \r\n to \n.
9723 2002-02-07  Akim Demaille  <akim@epita.fr>
9725         Version 2.52h.
9727 2002-02-07  Akim Demaille  <akim@epita.fr>
9729         Fix Autoconf PR/209.
9730         Also reported by Frank Denis.
9732         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
9734 2002-02-07  Akim Demaille  <akim@epita.fr>
9736         Fix Autoconf PR/207:
9737         AC_PREFIX_PROGRAM fails with dashed program names
9739         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
9740         variable when looking for the prefix program.
9741         Now it also works for shell variables.
9743 2002-02-07  Akim Demaille  <akim@epita.fr>
9745         * doc/autoconf.texi (Limitations of Builtins): More about
9746         case/esac.
9748 2002-02-06  Akim Demaille  <akim@epita.fr>
9750         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
9751         case/esac, some shells don't support it.
9752         Reported by Zack Weinberg.
9753         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
9755 2002-02-06  Akim Demaille  <akim@epita.fr>
9757         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
9758         sure not to introduce newlines in at_groups.
9759         * lib/autotest/Makefile.am (autotest.m4f): Typo.
9761 2002-02-06  Akim Demaille  <akim@epita.fr>
9763         * tests/torture.at (Configuring subdirectories): Skip if aclocal
9764         is not available.
9766 2002-02-05  Paul Eggert  <eggert@twinsun.com>
9768         * doc/autoconf.texi (Specific Compiler Characteristics):
9769         Describe HP-UX cc bug workaround more accurately.
9770         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
9771         not unsigned long.
9772         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
9773         cross-compilers, too.  This undoes some of the most recent change
9774         to this file.
9776 2002-02-05  Akim Demaille  <akim@epita.fr>
9778         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
9779         to make sure they are up to date when `check' is run.
9781 2002-02-05  Akim Demaille  <akim@epita.fr>
9783         * doc/autoconf.texi (Making testsuite Scripts): Document
9784         package.m4.
9786 2002-02-05  Akim Demaille  <akim@epita.fr>
9788         * lib/freeze.mk: New.
9790 2002-02-05  Akim Demaille  <akim@epita.fr>
9792         Implement `autom4te --freeze'.
9794         * bin/autom4te.in (&freeze): New.
9795         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
9796         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
9798 2002-02-05  Akim Demaille  <akim@epita.fr>
9800         * bin/autom4te.in (&parse_args): Implement `frozen files are
9801         optional are the sum of the previous files on the command line'.
9802         Also, pass `--reload-state=' on them, so...
9803         (handle_m4): don't.
9804         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
9805         (M4sh): Rely on M4sugar.
9806         (Autotest, M4sh, M4sugar): Use frozen files.
9808 2002-01-31  Akim Demaille  <akim@epita.fr>
9810         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
9811         * doc/autoconf.texi (Initializing configure): Adjust.
9813 2002-01-30  Akim Demaille  <akim@epita.fr>
9815         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
9816         alphanumeric to `-' instead of `_'.
9818 2002-01-30  Akim Demaille  <akim@epita.fr>
9820         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
9821         for plain code, the other for cross-compilation code.  The latter
9822         is now run with GCC only.
9823         * doc/autoconf.texi (Compilers and Preprocessors): New.
9825 2002-01-30  Akim Demaille  <akim@epita.fr>
9827         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
9828         values.
9829         * doc/autoconf.texi (Initializing configure): Explain how to
9830         change AC_INIT default values.
9832 2002-01-29  Akim Demaille  <akim@epita.fr>
9834         * tests/torture.at (Configuring subdirectories): Use configure.in,
9835         so that aclocal 1.4 works.
9836         Reported by Alexandre Duret-Lutz and Larry Schmitt.
9838 2002-01-28  Akim Demaille  <akim@epita.fr>
9840         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
9841         needs an argument.
9843 2002-01-28  Akim Demaille  <akim@epita.fr>
9845         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
9846         AUTOTEST_PATH *after* it was set.
9847         Don't put `.' in the PATH: the user should be precise and `./' if
9848         needed.  In addition, given that the test suite does some `cd', if
9849         `.' is in the path, the `tested programs' sections will report
9850         programs found in the test suite's directory, while during the
9851         tests (performed in their own directory), these programs are no
9852         longer visible.  In other words, the results is confusing and
9853         useless.
9854         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
9856 2002-01-24  Akim Demaille  <akim@epita.fr>
9858         Version 2.52g.
9860 2002-01-24  Akim Demaille  <akim@epita.fr>
9862         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
9863         * doc/autoconf.texi: Finally add Akim as an author.
9865 2002-01-24  Akim Demaille  <akim@epita.fr>
9867         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
9868         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
9869         Bourne. Use /bin/sh.
9870         From Andreas Buening.
9872 2002-01-24  Akim Demaille  <akim@epita.fr>
9874         * config/config.guess, config/config.sub, config/texinfo.tex:
9875         Update from masters.
9877 2002-01-24  Akim Demaille  <akim@epita.fr>
9879         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
9880         * config/auxdir.m4, config/cond.m4, config/depend.m4,
9881         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
9882         * config/missing.m4, config/sanity.m4, config/select.m4,
9883         * config/strip.m4: Remove, to ease sync'ing with any version of
9884         Automake.
9886 2002-01-24  Akim Demaille  <akim@epita.fr>
9888         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
9889         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
9890         Reported by Geir Ove Myhr.
9892 2002-01-21  Akim Demaille  <akim@epita.fr>
9894         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
9896 2002-01-21  Akim Demaille  <akim@epita.fr>
9898         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
9899         message on invalid options.
9900         * bin/autom4te.in (parse_args): Don't use
9901         Autoconf::General::getopt with non valid options.
9903 2002-01-17  Jim Meyering  <meyering@lucent.com>
9905         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
9906         $ac_cv_exeext so we don't use an old, invalid, cached value.
9908 2002-01-11  Akim Demaille  <akim@epita.fr>
9910         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
9911         Meyering.
9912         * doc/autoconf.texi (Function Portability): Document the strnlen
9913         limitation.
9914         (Particular Functions): Document AC_FUNC_STRNLEN.
9915         * lib/autoscan/functions: Adjust.
9917 2002-01-06  Akim Demaille  <akim@epita.fr>
9919         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
9920         package.m4, since is really depends upon configure.ac, not
9921         configure.
9922         * doc/autoconf.texi (testsuite Scripts): Adjust.
9923         * tests/Makefile.am (package.m4): New.
9924         EXTRA_DIST it since its a source.
9926 2002-01-06  Akim Demaille  <akim@epita.fr>
9928         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
9929         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
9930         and PACKAGE_BUGREPORT from here...
9931         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
9932         arguments.
9933         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
9934         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
9935         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
9936         * tests/tools.at (autoheader): Adjust.
9937         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
9939 2002-01-06  Akim Demaille  <akim@epita.fr>
9941         * bin/autoscan.in (scan_file): Use `&used'.
9943 2002-01-03  Akim Demaille  <akim@epita.fr>
9945         * doc/autoconf.texi (Output): Improved wording regarding use of
9946         AC_OUTPUT.
9947         From Olly Betts.
9949 2001-12-18  Kevin Ryde  <user42@zip.com.au>
9951         * doc/autoconf.texi (Function Portability): Add notes on sscanf
9952         sometimes needing writable input.
9954 2001-12-17  Jim Meyering  <meyering@lucent.com>
9956         * doc/autoconf.texi (New Macros): Tweak wording.
9958 2001-12-14  Akim Demaille  <akim@epita.fr>
9960         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
9961         trailing files, don't apply `-rf' to files which might not be
9962         created by configure (core, core.*, and *.core), but just `rm -f'.
9963         Suggested by Jonathan Kamens.
9965 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
9967         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
9969 2001-12-14  Akim Demaille  <akim@epita.fr>
9971         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
9973 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
9975         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
9976         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
9977         abs_srcdir, top_srcpath to abs_top_srcdir.
9978         (_AC_OUTPUT_FILES): Adjust.
9979         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
9980         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
9981         * tests/wrappl.in, tests/wrapsh.in: Adjust.
9983 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
9985         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
9986         C/Fortran linking on HP/UX, by extracting the Fortran library
9987         search path from the LPATH line in the $F77 -v output.
9989 2001-12-12  Kevin Ryde  <user42@zip.com.au>
9991         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
9992         forbidden file descriptors table.
9994 2001-11-26  Akim Demaille  <akim@epita.fr>
9996         * bin/autoscan.in (%c_keywords): Build it at top level.
9997         Map to 1 in order to simplify its uses.
9999 2001-11-26  Akim Demaille  <akim@epita.fr>
10001         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
10002         Remove $filepath, useless.
10003         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
10004         variables, they are really part of the tokens.
10005         Split the input line on spaces and then look for tokens.
10006         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
10007         because of `lex$U.$(OBJEXT)'.
10008         (&scan_files): Use "@list" instead of join.
10009         * doc/Makefile.am (CLEANFILES): Add *.fns.
10011 2001-11-26  Akim Demaille  <akim@epita.fr>
10013         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
10014         Remove, replaced by...
10015         * tests/wrappl.in: Be common for all the Perl executables.
10016         In particular autoscan and autoheader want -I.
10017         * configure.ac: Adjust.
10018         * lib/autoscan/headers: errno.h is portable.
10020 2001-11-26  Akim Demaille  <akim@epita.fr>
10022         * bin/autoscan.in (used): New.
10023         Use it.
10025 2001-11-26  Akim Demaille  <akim@epita.fr>
10027         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
10028         directives.
10029         (&scan_sh_file): Remove a duplicate pattern.
10030         (&check_configure_ac): Use long options.
10031         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
10033 2001-11-26  Akim Demaille  <akim@epita.fr>
10035         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
10036         Before, having a line containing the opening of a multi line
10037         comment made the whole line be ignored.
10039 2001-11-26  Akim Demaille  <akim@epita.fr>
10041         * doc/autoconf.texi (Using an Autotest Test Suite): New.
10042         (testsuite Scripts): Be one of its subsection.
10043         (Autotest Logs): New.
10045 2001-11-26  Akim Demaille  <akim@epita.fr>
10047         Test groups are now run two directories deeper.
10049         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
10050         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
10051         at_top_builddir.
10052         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
10053         top_srcdir, builddir and top_builddir.
10054         Use `at_*dir' relatively to the directory containing the
10055         suite, use `*dir' when relatively to the current group dir.
10057 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
10059         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
10060         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
10061         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
10062         spelling errors.
10064 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
10066         * doc/autoconf.texi (Using System Type): Add an example of `case
10067         $host' usage so people quit using `case $target' everywhere.
10069 2001-11-22  Akim Demaille  <akim@epita.fr>
10071         * doc/autoconf.texi (Installation Directory Variables): Englishoes
10072         spotted by Jim Meyering.
10074 2001-11-16  Paul Eggert  <eggert@twinsun.com>
10076         This patch implements a `long double' suggestion by Oliver Kiddle.
10078         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
10079         static, to catch errors if the value isn't known at compile-time
10080         and the compiler supports dynamic arrays.  Change its name from
10081         `_array_' to `test_array' to avoid potential name clashes.
10082         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
10083         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
10084         better than double.  Catch a bug in GCC 2.95.2 x86.
10085         * doc/autoconf.texi (C Compiler): Document the above.
10086         * NEWS: Likewise.
10088 2001-11-13  Akim Demaille  <akim@epita.fr>
10090         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
10091         hand.
10092         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
10094 2001-11-13  Akim Demaille  <akim@epita.fr>
10096         * lib/autotest/general.m4 (AT_INIT): After having run the test
10097         group, go back to the initial directory, not to at_suite_dir.
10099 2001-11-13  Akim Demaille  <akim@epita.fr>
10101         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
10102         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
10103         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
10104         option.
10105         (AT_CHECK_CONFIGURE): Use absolute paths.
10106         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
10107         The problem is still the old one: there is no means in M4 (that I
10108         know about) to create a defining macro, because there is no means
10109         to create `$1' etc., therefore, the defining macro ``swallows''
10110         all the arguments meant to the defined macro.
10112 2001-11-13  Akim Demaille  <akim@epita.fr>
10114         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
10115         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
10116         configure.ac.
10117         * tests/aclocal.m4: Remove, as it is no longer used.
10119 2001-11-13  Akim Demaille  <akim@epita.fr>
10121         * lib/autotest/general.m4: Change `tests?' into `groups?' in
10122         variable names when referring to a single test group, or to
10123         `suite' when referring to the whole test suite.
10124         `at_last_test' is removed: m4 compute at_format itself.
10125         (at_stdout, at_stder1, at_stderr): New variables.
10126         (AT_CHECK): Use them.
10128 2001-11-13  Akim Demaille  <akim@epita.fr>
10130         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
10131         in PATH.
10132         Create `testsuite.dir/003/run' instead of `testsuite.003'.
10133         Do it as soon as a test fails, don't wait till the end of the test
10134         suite.
10135         Don't remove $as_me.[0-9]*, since these files no longer exist.
10137 2001-11-13  Akim Demaille  <akim@epita.fr>
10139         * tests/tools.at: Use absolute paths, since we are no longer run
10140         in place.
10142 2001-11-13  Akim Demaille  <akim@epita.fr>
10144         Now that tests are running in their own private dir, there is no
10145         need to list the files to remove at the end of tests groups.
10147         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
10148         (AT_data_files, at_data_files): Remove.
10149         (AT_CLEANUP, AT_DATA): Simplify.
10150         (AT_INIT): Adjust.
10151         Remove the group dir if !debug && !failed.
10152         * tests/atspecific.m4: Adjust.
10154 2001-11-13  Akim Demaille  <akim@epita.fr>
10156         Start a new layout for Autotest: `testsuite' creates
10157         `testsuite.dir' in which the at-check-line etc. files are to be
10158         found, and `testsuite.dir/003' where the test group 3 is run.
10160         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
10161         at_check_line_file, at_format, at_test_normalized, at_group_dir
10162         are new variables.
10163         Create the directories.
10164         Use absolute paths for at- files.
10165         (AT_CHECK): Adjust.
10167 2001-11-11  Michael Matz  <matz@kde.org>
10169         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
10170         (m4_car2): New.
10171         (m4_car): Properly quote arguments.
10173 2001-11-13  Akim Demaille  <akim@epita.fr>
10175         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
10176         with stricter rules on LIBOBJS.
10178 2001-11-12  Paul Eggert  <eggert@twinsun.com>
10180         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
10181         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
10182         __PROTOTYPES too.
10184 2001-11-12  Akim Demaille  <akim@epita.fr>
10186         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
10188 2001-11-12  Akim Demaille  <akim@epita.fr>
10190         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10191         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
10192         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10193         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
10194         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
10195         specify to what the macro should be defined (typically to 1).
10197 2001-11-12  Akim Demaille  <akim@epita.fr>
10199         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
10200         From Jim Meyering.
10202 2001-11-12  Akim Demaille  <akim@epita.fr>
10204         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10205         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
10206         definition used by Automake where LEX is +/- "${missing} lex" and
10207         `missing' itself contains variables.
10209 2001-11-12  Akim Demaille  <akim@epita.fr>
10211         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
10212         Now that M4sh pushes BODY, the comments were output at the end of
10213         the test suites.
10215 2001-11-08  Akim Demaille  <akim@epita.fr>
10217         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
10218         that we can trace macros from aclocal.m4.
10219         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
10220         obsoleted, and redirect to the former anyway.
10221         Reported by Ralf Corsepius.
10223 2001-11-08  Akim Demaille  <akim@epita.fr>
10225         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
10226         processed only if present.
10227         * tests/torture.at (Configuring subdirectories): Use autoreconf
10228         instead of successive calls to autoconf.
10229         Add a nonexistent subdirectory to exercise the patch above.
10230         Reported by Ralf Corsepius.
10232 2001-11-08  Kevin Ryde  <user42@zip.com.au>
10234         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
10235         doesn't accept .S files.
10237 2001-11-07  Akim Demaille  <akim@epita.fr>
10239         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
10240         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
10241         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
10242         * bin/autom4te.in (warn_forbidden): New.
10243         (handle_output): Use it.
10244         Read m4_pattern_forbid with messages.
10246 2001-11-05  Akim Demaille  <akim@epita.fr>
10248         * bin/autom4te.in (--normalize): Remove.
10249         * lib/autom4te.in: Adjust.
10251 2001-11-05  Akim Demaille  <akim@epita.fr>
10253         * tests/Makefile.am (testsuite): Rename this target as...
10254         ($(TESTSUITE)): this.
10255         From Nicolas Joly.
10257 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
10259         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
10260         the --prefix option, also remove it's argument.
10262 2001-11-05  Akim Demaille  <akim@epita.fr>
10264         * doc/autoconf.texi (testsuite Invocation): Update.
10265         (Writing testsuite.at): Update.
10267 2001-11-03  Akim Demaille  <akim@epita.fr>
10269         * doc/autoconf.texi: s/@code/@command/ where appropriate.
10271 2001-11-03  Akim Demaille  <akim@epita.fr>
10273         * lib/Autom4te/General.pm: (&catfile, &canonfile)
10274         (&file_name_is_absolute): New, wrappers around routines from
10275         File::Spec.
10276         Use and export them.
10277         (&find_configure_ac): Optionally take a directory where to look at.
10278         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
10279         the arguments.
10280         Default @ARGV to `.', not find_configure_ac.
10281         (&autoreconf): Argument is a directory.
10282         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
10283         * doc/autoconf.texi (autoreconf Invocation): Update.
10285 2001-11-03  Akim Demaille  <akim@epita.fr>
10287         * lib/Autom4te/General.pm (@export_vars, @export_subs)
10288         (@export_forward_subs): New.
10289         Add basename, dirname, and fileparse.
10290         (@EXPORT): Adjust.
10291         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
10292         Don't look for aclocal flags if we already know aclocal is not
10293         used.
10294         Move aclocal.m4t only if it exists.
10295         Reported by Ezra Peisach.
10297 2001-11-03  Akim Demaille  <akim@epita.fr>
10299         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
10300         passed on command line, defaulting to ./configure.ac if present.
10301         (&maybe_autoreconf, File::Find): Remove, unused.
10302         (&autoreconf): If autoconf is not used, don't try to trace.
10304 2001-11-02  Akim Demaille  <akim@epita.fr>
10306         * configure.ac: Bump to 2.52g.
10308 2001-11-02  Akim Demaille  <akim@epita.fr>
10310         Version 2.52f.
10312 2001-11-02  Akim Demaille  <akim@epita.fr>
10314         * config/config.guess, config/config.sub, doc/standards.texi:
10315         * config/lispdir.m4: Update from masters.
10316         * configure.ac: Bump to 2.52f.
10318 2001-11-02  Akim Demaille  <akim@epita.fr>
10320         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
10321         Don't run aclocal when aclocal.m4 is not from aclocal.
10322         From Ezra Peisach.
10323         Don't run libtoolize and gettextize if --install is not given.
10325 2001-11-01  Paul Eggert  <eggert@twinsun.com>
10327         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
10328         be invoked before _AS_LINENO_PREPARE.
10329         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
10330         than character ranges.
10332         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
10333         invoking AS_BASENAME.  Set the locale variables to 'C' if
10334         possible, as POSIX requires this to get the traditional
10335         behavior.
10336         * doc/autoconf.texi (Special Shell Variables): Describe the above.
10338 2001-10-31  Paul Eggert  <eggert@twinsun.com>
10340         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
10341         with {}, as that triggers a bug in Bash 2.05.
10343         (_AS_LINENO_PREPARE): Use Sed rather than
10344         Awk.  Fix the sed prepass to work even if there are multiple
10345         instances of $LINENO on the same line.  Do not substitute for
10346         other variables like $LINENOT.  Do not check file dates; such a
10347         check is unreliable on sufficiently fast machines, and removing
10348         the check makes the code simpler and more reliable.  Check for
10349         output and chmod failures.
10351         * doc/autoconf.texi (Special Shell Variables): Document
10352         the above.
10354 2001-10-31  Akim Demaille  <akim@epita.fr>
10356         * tests/Makefile.am (atconfig): Remove this target, Automake
10357         handles it now.
10359 2001-10-31  Akim Demaille  <akim@epita.fr>
10361         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
10362         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
10363         provided, while it is optional.
10364         * configure.ac: Adjust.
10366 2001-10-26  Paul Eggert  <eggert@twinsun.com>
10368         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
10369           lib/Autom4te/Struct.pm:
10370         Require Perl 5.005_03 instead of just 5.005, as some tests fail
10371         with 5.005_02.
10373         * doc/autoconf.texi (Special Shell Variables): Document some
10374         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
10376         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
10377         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
10378         eval $LINENO is not portable in practice.
10380 2001-10-24  Akim Demaille  <akim@epita.fr>
10382         * lib/Autom4te/General.pm (backname): New.
10384 2001-10-24  Akim Demaille  <akim@epita.fr>
10386         * m4/: Remove, merged into...
10387         * config/: here.
10389 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
10391         * doc/autoconf.texi (Shellology): Mention the problems with bash
10392         2.05's use of ANSI quoting in its `set' builtin.
10394 2001-10-22  Paul Eggert  <eggert@twinsun.com>
10396         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
10397         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
10398         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
10399         POSIX decided to standardize on the int flavor of strerror_r.
10400         Always do char* test, as there's no reason not to.
10401         Assign to a char* var, to catch strerror_r that returns int*.
10403         * doc/autoconf.texi (Particular Functions):
10404         Document the above changes.  Also, document the fact that
10405         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
10407         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
10409 2001-10-20  Akim Demaille  <akim@epita.fr>
10411         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
10412         the executable was missing from the log.
10414 2001-10-20  Akim Demaille  <akim@epita.fr>
10416         * lib/Autom4te/General.pm (&update_file): If destination is
10417         unchanged, remove the source.
10418         (&up_to_date_p): Don't be verbose, be debug.
10419         * bin/autoreconf.in: No longer support --m4dir.
10420         (&autoreconf): Display the full path of the configure.ac we are
10421         studying.
10422         Trace it only once.
10423         Be sure to honor --force with gettextize.
10424         Always run aclocal.
10425         * doc/autoconf.texi: Adjust.
10427 2001-10-20  Akim Demaille  <akim@epita.fr>
10429         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
10430         Remove, dead.
10431         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
10432         `intl' is already present, as it refuses unless --force.
10433         (&parse_args): Use -I, --include instead of the old Autoconf
10434         options.
10435         ($localdir, $autoconf_dir): Remove.
10436         (@include): New.
10437         (&maybe_autoreconf): New, to preserve $_ for File::Find.
10439 2001-10-19  Jens Petersen  <petersen@redhat.com>
10441         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
10442         * doc/autoconf.texi (Particular Programs): Likewise.
10444 2001-10-19  Akim Demaille  <akim@epita.fr>
10446         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
10447         file in @configure_input@.
10448         Don't mention `automatically' in addition to `generated'.
10449         * tests/torture.at (#define header templates): Adjust.
10451 2001-10-19  Akim Demaille  <akim@epita.fr>
10453         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
10454         comment, explain how to install automatic mode selection.
10455         From Russ Allbery.
10457 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
10459         * bin/autoreconf.in (autoreconf): Display the path to the
10460         configure.ac being studied.
10462 2001-10-18  Paul Eggert  <eggert@twinsun.com>
10464         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
10465         long, to work around a bug in the HP C compiler version HP92453-01
10466         B.11.11.23709.GP.
10468         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
10469         (AS_BASENAME_EXPR): New macro.
10470         (AS_BASENAME_SED): Do not assume GNU sed semantics.
10471         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
10472         and fall back on 'sed' only if the other two fail.  This makes
10473         AS_BASENAME act more like AS_DIRNAME.
10474         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
10475         contains white space.
10476         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
10477         Use AS_DIRNAME, since I think it's now DOS-friendly.
10478         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
10479         Allow "dirname //FOO" to return either / or //, as POSIX allows
10480         either behavior.
10482 2001-10-10  Akim Demaille  <akim@epita.fr>
10484         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
10485         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
10486         From Eric Sharkey.
10488 2001-10-10  Akim Demaille  <akim@epita.fr>
10490         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
10491         m4_define, since...
10492         (_AS_ECHO_N): AS_REQUIREs it.
10494 2001-10-10  Akim Demaille  <akim@epita.fr>
10496         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
10497         (AC_INCLUDES_DEFAULT): Move to...
10498         * lib/autoconf/headers.m4: here.
10499         * lib/autoconf/types.m4: Comment changes.
10500         * doc/autoconf.texi: Specify where the default includes are used
10501         in the macro prototypes.
10503 2001-10-09  Akim Demaille  <akim@epita.fr>
10505         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
10506         transition code.
10508 2001-10-08  Akim Demaille  <akim@epita.fr>
10510         * bin/autoreconf.in (&autoreconf): Remove debugging code.
10511         (&parse_args): Pass verbosity/debugging options to subtools when
10512         --debug, not when --verbose.
10513         * lib/autom4te.in (Autoreconf-preselections): New.
10514         (Autoconf): Use it.
10516 2001-10-08  Akim Demaille  <akim@epita.fr>
10518         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
10520 2001-10-08  Akim Demaille  <akim@epita.fr>
10522         * doc/autoconf.texi (autoreconf Invocation): Adjust.
10523         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
10525 2001-10-08  Akim Demaille  <akim@epita.fr>
10527         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
10528         (Syntax of the shell scripts): Don't.
10529         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
10530         bother with $force since...
10531         * lib/Autom4te/General.pm: does.
10533 2001-10-08  Akim Demaille  <akim@epita.fr>
10535         * bin/autoreconf.in: Rewrite in Perl.
10536         * configure.ac: Adjust.
10537         * lib/Autom4te/General.pm (&up_to_date_p): New.
10538         * bin/autom4te.in (&up_to_date_p): Use it.
10539         Rename as...
10540         (&up_to_date): this.
10542 2001-10-08  Akim Demaille  <akim@epita.fr>
10544         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
10545         (m4_list_cmp): Use $0 to reinvoke yourself.
10546         (m4_patsubsts): New.
10547         (m4_strip, m4_version_unletter): Use it.
10548         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
10550 2001-10-08  Akim Demaille  <akim@epita.fr>
10552         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
10553         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
10554         * lib/autoconf/types.m4, lib/autotest/general.m4,
10555         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
10556         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
10557         m4_bregexp, m4_bpatsubst, and m4_bmatch.
10558         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
10560 2001-10-08  Akim Demaille  <akim@epita.fr>
10562         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
10564 2001-10-08  Akim Demaille  <akim@epita.fr>
10566         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
10567         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
10568         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
10569         * tests/tools.at, tests/m4sh.at: Use it.
10570         * tests/m4sh.at: Don't rely on Autoconf macros.
10571         (DIRNAME_TEST): Also exercise the expr variant.
10572         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
10573         preferred M4sugar extension is now `.4s'.
10574         * tests/README: Remove.
10576 2001-10-08  Akim Demaille  <akim@epita.fr>
10578         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
10579         (m4_provide_if): this.
10580         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
10581         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
10582         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
10583         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
10585 2001-10-08  Akim Demaille  <akim@epita.fr>
10587         Use `add-log-current-defun-function' for ChangeLog creation.
10588         Suggested by Tom Tromey.
10590         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
10591         (autotest-mode): Adjust.
10592         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
10593         'comment-region onto `C-c ;'.
10594         Comments are `#', not `dnl'.
10595         (autoconf-current-defun): New.
10596         (autoconf-font-lock-keywords): Recognize `m4_defun'.
10598 2001-10-08  Akim Demaille  <akim@epita.fr>
10600         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
10601         * lib/m4sugar/m4sh.m4: here.
10602         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
10603         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
10604         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
10605         include handle the m4_pattern_*, no longer push the
10606         BODY diversion nor set the /bin/sh line, AS_INIT does it.
10607         * lib/autotest/general.m4 (AT_INIT): Likewise.
10608         * tests/base.at: Adjust the tests to use AS_INIT.
10609         * tests/tools.at (AT_DATA_FORBIDDEN): New.
10610         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
10611         Autoconf.
10613 2001-10-07  Paul Eggert  <eggert@twinsun.com>
10615         * doc/autoconf.texi (config.status Invocation):
10616         CONFIG_SHELL defaults to a shell that supports LINENO if available.
10618         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
10619         shell does not support LINENO, and if CONFIG_SHELL is unset or
10620         empty, and if we can find a shell that does support LINENO,
10621         then set CONFIG_SHELL to that shell and then re-execute
10622         ourselves with CONFIG_SHELL.
10624 2001-10-05  Paul Eggert  <eggert@twinsun.com>
10626         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
10627         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
10628         build of $(TESTSUITE).
10630 2001-10-05  Akim Demaille  <akim@epita.fr>
10632         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
10633         iff we are a bareword.
10634         Reported by Raja R Harinath.
10636 2001-10-05  Akim Demaille  <akim@epita.fr>
10638         * tests/m4sh.at (LINENO): New.
10639         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
10640         PATH_SEPARATOR before using it.
10641         Fix the absolute path case/esac pattern.
10642         Provide $0 as fallback for as_myself.
10643         Reported by Raja R Harinath.
10645 2001-10-05  Akim Demaille  <akim@epita.fr>
10647         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
10648         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
10650 2001-10-05  Akim Demaille  <akim@epita.fr>
10652         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
10653         (AS_SHELL_SANITIZE): here.  Use it.
10654         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
10655         From Paul Eggert.
10657 2001-10-04  Akim Demaille  <akim@epita.fr>
10659         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
10660         combination of Awk and sed to replace $LINENO.
10662 2001-10-02  Paul Eggert  <eggert@twinsun.com>
10664         * doc/autoconf.texi (Limitations of Builtins): You can't use
10665         "source"; it's not portable.  Remove confusing and
10666         somewhat-incorrect example involving "." and "/".
10668         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
10669         compatibility with POSIX shells.
10671 2001-10-02  Akim Demaille  <akim@epita.fr>
10673         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
10674         instead of exec'ing to preserve $0 and $@.
10676 2001-10-01  Akim Demaille  <akim@epita.fr>
10678         * tests/testsuite (AT_INIT) <at_pass_list>: New.
10679         Don't run twice the same test.
10681 2001-10-01  Akim Demaille  <akim@epita.fr>
10683         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
10684         No longer output the list of tests.
10685         <--list>: New option.
10686         <--full-help>: Remove.
10687         Complete the short/long options duality.
10688         Various small adjustments.
10690 2001-10-01  Akim Demaille  <akim@epita.fr>
10692         * doc/autoconf.texi: Use @kbd for user input.
10693         Always use `$' as shell prompt.
10695 2001-09-30  Paul Eggert  <eggert@twinsun.com>
10697         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
10698         Don't use nested parenthesization.  This patch was originally
10699         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
10700         but somehow it didn't get incorporated then.
10701         * doc/autoconf.texi (Limitations of Usual Tools):
10702         Clarify remark about sed and nested parenthesization.
10704         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
10705         Report an error if the size cannot be determined even though
10706         the type exists.
10707         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10708         Check for `expr' arithmetic overflow, and for compilation failure,
10709         and invoke a new argument $4 if either is discovered.
10710         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
10711         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
10713 2001-09-28  Akim Demaille  <akim@epita.fr>
10715         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
10716         * m4/lispdir.m4: New.
10717         * aclocal.m4, configure.ac: Adjust.
10719 2001-09-28  Akim Demaille  <akim@epita.fr>
10721         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
10722         (AT_TESTED): this.
10723         (AT_INIT): More the wrapped section to where it will be expanded.
10724         Output `AT_tested' only when existing.
10725         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
10727 2001-09-27  Akim Demaille  <akim@epita.fr>
10729         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
10730         generates too many bug reports.
10732         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
10733         status when executing the ACTION-IF-FALSE.
10734         * tests/base.at (AC_TRY_*): Rename as...
10735         (AC_TRY_COMMAND): this.
10736         (AC_RUN_IFELSE): New.
10737         * tests/compile.at (Extensions, C keywords)
10738         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
10739         (Broken/missing compilers, AC_PROG_CPP with warnings)
10740         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
10741         * tests/c.at (Extensions, C keywords)
10742         (Broken/missing compilers, AC_PROG_CPP with warnings)
10743         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
10744         (AC_PROG_CPP requires AC_PROG_CC): here and...
10745         * tests/fortran.at (GNU Fortran 77): there.
10746         * doc/autoconf.texi (autoconf Invocation): Fix the example:
10747         AC_TRY_RUN is about compilation, not shell commands.
10748         (Test Programs): AC_TRY_RUN works as used to be advertised.
10750 2001-09-27  Akim Demaille  <akim@epita.fr>
10752         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
10753         Raja R Harinath:
10754         Be sure to detect when $LINENO always returns the same value.
10755         Look for the original script, basename($0) is certainly not
10756         enough.
10757         Pass the CLI arguments to `$as_me.lineno'.
10759 2001-09-25  Akim Demaille  <akim@epita.fr>
10761         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
10762         Be sure the close and reopen the LOG fd before and after using tee
10763         to extend the log.
10764         <at_tests_pattern>: Adjust to the new format of at_help_all.
10766 2001-09-23  Akim Demaille  <akim@epita.fr>
10768         * bin/autom4te.in (parse_args): There can be several invocations
10769         of --language now.
10771 2001-09-23  Akim Demaille  <akim@epita.fr>
10773         * doc/autoconf.texi (Top): Wrap in @ifnottex.
10775 2001-09-23  Akim Demaille  <akim@epita.fr>
10777         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
10778         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
10779         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
10780         builddir, buildpath, top_builddir, and top_buildpath.
10781         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
10782         the current directory.
10783         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
10784         variables *before* changing the current directory.
10785         Skip nonexistent dirs.
10786         * doc/autoconf.texi (Preset Output Variables): Document these
10787         variables.
10789         * lib/autotest/general.m4: Do not reset AT_victims.
10790         Don't compute at_srcdir nor at_top_srcdir.
10792         * tests/tools.at: Hence use top_srcdir.
10794         * tests/Makefile.am, tests/autoconf, tests/autoheader,
10795         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
10796         Remove.
10797         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
10798         * tests/wrapsh.in, tests/autoupdate.in: New.
10799         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
10800         * configure.ac: Build the position independent wrappers.
10802         * man/Makefile.am: Now that test wrappers are position
10803         independent, use them and drop dark envvar magic.
10805 2001-09-23  Akim Demaille  <akim@epita.fr>
10807         * doc/autoconf.texi (Common Shell Constructs): Rename as...
10808         (Programming in M4sh): this.
10809         Promote to @section.
10811 2001-09-23  Akim Demaille  <akim@epita.fr>
10813         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
10814         Pass $at_debug_args to the rerun test suite.
10815         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
10816         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
10817         From Paul Eggert.
10819 2001-09-23  Akim Demaille  <akim@epita.fr>
10821         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
10823 2001-09-23  Akim Demaille  <akim@epita.fr>
10825         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
10826         over-escaping.
10828 2001-09-23  Akim Demaille  <akim@epita.fr>
10830         * lib/Autom4te/General.pm (&debug): New.
10831         * bin/autom4te.in ($language): Move to...
10832         (parse_args): here.
10833         Handle --language in languages.
10834         * lib/autom4te.in (Automake-selections, Autoheader-selections)
10835         (Autoscan-selections): New.
10836         (Autoconf): Adjust.
10838 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
10840         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
10841         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
10842         to match current versions from CVS Automake.
10844 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
10846         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
10847         for $LINENO.
10849 2001-09-22  Akim Demaille  <akim@epita.fr>
10851         * lib/autoconf/autotest.m4: Create `package.m4'.
10852         * tests/Makefile.am (package.m4): Remove.
10854 2001-09-22  Akim Demaille  <akim@epita.fr>
10856         Rely on `$LINENO' when possible instead of `__oline__'.
10858         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
10859         `$LINENO' support replacement when not supported.
10860         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
10861         them explicitly to be sure they are not output before this section
10862         (via m4_require).  Cosmetic only.
10863         * lib/autoconf/c.m4, lib/autoconf/general.m4,
10864         * lib/autoconf/programs.m4: Replace all the occurrences of
10865         `__oline__' with `$LINENO'.
10866         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
10868 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
10870         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
10871         character (u: -> ue) in a code comment.
10872         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
10873         it works.
10875 2001-09-21  Akim Demaille  <akim@epita.fr>
10877         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
10878         Suggested by Jim Meyering.
10880 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10882         * lib/autoconf/programs.m4: Use extensions listed in
10883         $ac_executable_extensions when looking for programs.
10885 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10887         * lib/autoconf/general.m4: Fix a small Englisho.
10888         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
10889         setting up ac_dir_suffix and ac_top_builddir.
10890         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
10892 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10894         * doc/autoconf.texi (File System Conventions): Clarify the use of
10895         PATH_SEPARATOR.
10896         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
10897         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
10898         be used instead of ':'.
10899         * lib/autotest/general.m4: Replace occurrences of ':' in
10900         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
10902 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10904         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
10905         arguments.  Fixed a typo.
10907 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10909         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
10910         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
10912 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10914         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
10915         * bin/autoupdate.in: Ditto.
10916         * bin/autoheader.in: Reworded a few comments.
10917         * bin/autoconf.in: Reworded help text for a few options.
10918         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10919         * bin/autoscan.in, bin/autoupdate.in: Ditto.
10921 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10923         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
10924         already have $file).  Set output files to binary mode (helps avoid
10925         CR issues on DOSish systems).
10927 2001-09-19  Akim Demaille  <akim@epita.fr>
10929         * lib/autotest/general.m4: Englishoes.
10930         From Tim Van Holder and Alexey Mahotkin.
10932 2001-09-18  Paul Eggert  <eggert@twinsun.com>
10934         * doc/autoconf.texi (Common Shell Constructs): New node,
10935         documenting AS_DIRNAME.
10936         (Limitations of Usual Tools): Refer to it when discussing dirname.
10937         Also, update discussion of POSIX standard to reflect latest draft.
10939         * lib/autoconf/c.m4:
10940         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
10942         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10943         Do not pass a first argument with leading '-'
10944         to expr, by parenthesizing initial integers that might be negative.
10946         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
10947         now merely checks whether it is an error to pass an argument
10948         to getpgrp.
10950         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
10951         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
10952         whether it is a (compile-time) error to pass an argument to
10953         getpgrp.  This simpler test supports the revised documentation,
10954         and is all that AC_FUNC_GETPGRP's users really need.
10956 2001-09-18  Akim Demaille  <akim@epita.fr>
10958         * doc/autoconf.texi (Limitations of Make) <$<>: New.
10960 2001-09-18  Akim Demaille  <akim@epita.fr>
10962         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
10963         `{}'.
10964         * lib/autotest/general.m4 (AT_INIT): Adjust.
10966 2001-09-18  Paul Wagland  <paul@wagland.net>
10968         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
10969         correctly.
10970         Add test for AS_BASENAME.
10971         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
10972         added test. It now correctly handles /1/2/3/, returning '3' not ''.
10973         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
10974         * tests/base.at: Fixed the expected responses. The old ones were
10975         one line out...
10976         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
10977         the documentation claims it should (and how it behaved in 2.13).
10979 2001-09-18  Akim Demaille  <akim@epita.fr>
10981         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
10982         the AC_CONFIG_COMMANDS invocation.
10983         This also solves the name clash problems.
10984         Don't set the package's ID.
10985         * lib/m4sugar/Makefile.am (version.m4): Revamp.
10986         No longer to be shipped.
10987         (version.in): Remove.
10988         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
10989         * lib/autoconf/status.m4: Adjust.
10990         Use `m4_PACKAGE_STRING'.
10991         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
10992         the only optional argument is the name of the test suite.
10993         Expect `package.m4' to define the package signature.
10994         * lib/autom4te.in (Autotest): Add `package.m4?'.
10995         * tests/Makefile.am (package.m4): New.
10996         * tests/suite.at: ifnames is a victim.
10998 2001-09-18  Akim Demaille  <akim@epita.fr>
11000         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
11001         AC_LIBSOURCE, AC_CONFIG_FILES.
11002         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
11003         program version string doesn't match the package's.
11004         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
11005         after `(cached)'.
11007 2001-09-17  Paul Eggert  <eggert@twinsun.com>
11009         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
11010         Allow expression to return any value that can fit into unsigned long
11011         (not int, as before).  Check for output errors.
11013 2001-09-17  Bruno Haible  <haible@ilog.fr>
11015         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
11016         Always include <stdio.h> and <stdlib.h>. Evaluate
11017         the expression in an extra function before these includes. Call
11018         fprintf "%d" only after ensuring the argument is of type 'int'.
11019         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
11021 2001-09-17  Paul Eggert  <eggert@twinsun.com>
11023         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
11024         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
11025         fatal errors, and AC_CHECK_LIB causes it to include libraries even
11026         when they don't exist.
11028         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
11029         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
11030         need it.
11032         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
11033         version with the version used by fileutils 4.1, except use
11034         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
11035         we don't need it.
11037         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
11039 2001-09-13  Akim Demaille  <akim@epita.fr>
11041         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
11042         _first_.
11043         Reported by Gerrit P. Haase.
11045 2001-09-13  Akim Demaille  <akim@epita.fr>
11047         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
11048         m4_defn'ing is valid.
11050 2001-09-13  Akim Demaille  <akim@epita.fr>
11052         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
11053         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
11054         Use it.
11056 2001-09-13  Akim Demaille  <akim@epita.fr>
11058         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
11059         m4_match.
11060         (m4_re_escape): New.
11061         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
11062         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
11063         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
11064         Likewise.
11065         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
11066         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
11067         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
11068         AT_tests_all for consistency.
11069         Set at_victims.
11070         (AT_VICTIMS): Similar to AT_KEYWORDS.
11071         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
11073 2001-09-13  Akim Demaille  <akim@epita.fr>
11075         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
11077 2001-09-13  Akim Demaille  <akim@epita.fr>
11079         * lib/autotest/general.m4 (AT_INIT): Create and remove
11080         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
11081         test suites can cohabit.
11083 2001-09-13  Akim Demaille  <akim@epita.fr>
11085         * tests/mktests.sh: Don't output banners for empty test files.
11087 2001-09-13  Akim Demaille  <akim@epita.fr>
11089         Test suites can be run independently of configure.
11091         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
11092         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
11093         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
11094         ECHO_N etc.
11095         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
11096         and at_c.
11097         * lib/autotest/general.m4: Use ECHO_*.
11099 2001-09-13  Akim Demaille  <akim@epita.fr>
11101         * bin/ifnames.in: Rewrite in Perl.
11102         * configure.ac: Don't look for AWK.
11103         * tests/tools.at (AWK portability): Remove.
11104         (Syntax of the shell scripts): Don't check ifnames.
11105         (AT_CHECK_PERL_SYNTAX): New.
11106         (Syntax of the Perl scripts): Check ifnames.
11107         * tests/ifnames: New.
11109 2001-09-13  Akim Demaille  <akim@epita.fr>
11111         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
11112         test group titles.
11113         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
11114         Remove all the other keywords.
11116 2001-09-10  Akim Demaille  <akim@epita.fr>
11118         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
11119         SETUP: no longer used.
11120         Support -k, --keywords.
11121         <at_help>: Be `no', `short', or `long'.
11122         <at_help_all>: New variable.
11123         (AT_KEYWORDS): New.
11124         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
11125         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
11126         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
11127         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
11128         No longer fill the HELP diversion.
11129         (AT_CLEANUP): Use them.
11130         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
11131         (m4_list_append): Remove.
11133         Spread a few keywords in the Autoconf test suite.
11135 2001-09-10  Akim Demaille  <akim@epita.fr>
11137         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
11138         PATH_SEPARATOR, let M4sh compute it.
11139         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
11140         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
11141         Move to...
11142         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
11143         Simplify when the path is not a literal.
11144         (AS_UNAME): Use it to report PATH.
11145         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
11146         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
11147         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
11148         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
11149         normalize the path, and to look for victims.
11150         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
11151         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
11153 2001-09-07  Akim Demaille  <akim@epita.fr>
11155         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
11156         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
11157         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
11158         related variables into `at_package_*'.
11159         * lib/autotest/general.m4 (AT_VICTIMS): New.
11160         (AT_INIT): Adjust for stand-alone/embedded test suites.
11161         (AS_MESSAGE_LOG_FD): Define and use it.
11162         * tests/suite.at (AT_VICTIMS): Use it.
11163         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
11164         at_version.
11166 2001-09-07  Akim Demaille  <akim@epita.fr>
11168         Move toward possibly stand-alone test suites.
11170         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
11171         in addition, it introduces useless differences in logs.
11172         (AT_INIT): Let atconfig and atlocal be both optional.
11173         Adjust PATH computation.
11174         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
11176 2001-09-07  Akim Demaille  <akim@epita.fr>
11178         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
11179         m4sugar/version.m4.
11181 2001-09-05  Akim Demaille  <akim@epita.fr>
11183         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
11184         to avoid GCC warnings.
11185         From Uwe Seimet.
11187 2001-09-05  Akim Demaille  <akim@epita.fr>
11189         * bin/autom4te.in: --language is -l, not -s.
11191 2001-09-05  Akim Demaille  <akim@epita.fr>
11193         Be ready to handle filenames as stupid as `dnl.at', for if even
11194         the maintainer is dumb enough to do that...
11196         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
11197         excellence in M4 quotation: consider `__file__' is active.
11199         And BTW, when invoking m4, pass the --include in the right order:
11200         the wrong one.
11202         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
11203         4m.
11205 2001-09-05  Akim Demaille  <akim@epita.fr>
11207         * lib/Autom4te/XFile.pm: New lib file.
11208         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
11209         * bin/autoheader.in: Use it.
11211 2001-09-05  Akim Demaille  <akim@epita.fr>
11213         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
11214         defined.
11216 2001-09-05  Akim Demaille  <akim@epita.fr>
11218         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
11219         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
11221         * bin/autoscan.in: Use `getopt' and `find_files' etc.
11222         Add -I, --include support.
11223         * doc/autoconf.texi (autoscan Invocation): Adjust.
11225 2001-09-05  Akim Demaille  <akim@epita.fr>
11227         CVS GNU M4 doesn't like `undefine(undefined)'.
11229         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
11230         New, extracted from main.
11231         Use IO::File wherever possible.
11232         (input.m4): Be constant, use -I instead of hard coding $tmp.
11233         Therefore be a quoted heredoc.
11234         Don't invoke `_au_disable', since ac was not loaded, but just
11235         `unm4.m4'.
11237 2001-08-31  Akim Demaille  <akim@epita.fr>
11239         Version 2.52d.
11241 2001-08-31  Akim Demaille  <akim@epita.fr>
11243         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
11244         previous patch.
11245         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
11247 2001-08-31  Akim Demaille  <akim@epita.fr>
11249         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
11250         serious problems handling heredocs in heredocs.
11251         Reported by Nicolas Joly.
11253 2001-08-31  Akim Demaille  <akim@epita.fr>
11255         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
11256         (Making testsuite Scripts): Update.
11258 2001-08-31  Akim Demaille  <akim@epita.fr>
11260         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
11262 2001-08-31  Akim Demaille  <akim@epita.fr>
11264         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
11265         (testsuite Scripts): There is no such thing as `atconfig.in'.
11266         And actually one diagram is missing: test suite runtime.
11268 2001-08-31  Akim Demaille  <akim@epita.fr>
11270         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
11271         inverse order.
11273 2001-08-31  Akim Demaille  <akim@epita.fr>
11275         * bin/autoupdate.in (@include): `installcheck' revealed the path
11276         to m4sugar was lacking!
11278 2001-08-31  Akim Demaille  <akim@epita.fr>
11280         * man/Makefile.am (.x.1): We really have to pass
11281         autom4te_perllibdir.
11283 2001-08-31  Akim Demaille  <akim@epita.fr>
11285         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
11286         debug scripts, in particular passing explicitly listed tests to
11287         run is stupid.
11289 2001-08-31  Akim Demaille  <akim@epita.fr>
11291         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
11292         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
11293         Use directly autom4te, not autoconf.
11294         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
11296 2001-08-31  Akim Demaille  <akim@epita.fr>
11298         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
11299         * bin/autoheader.in (%symbol): Strip arguments of macros.
11301 2001-08-31  Akim Demaille  <akim@epita.fr>
11303         * doc/autoconf.texi: Catch up -I, --include changes.
11305 2001-08-31  Akim Demaille  <akim@epita.fr>
11307         * bin/autom4te.in (&parse_args): Die on unknown languages.
11308         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
11309         need for autoconf.
11310         Promote --include over --macrodir and other obsolete options.
11312 2001-08-31  Akim Demaille  <akim@epita.fr>
11314         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
11315         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
11316         * bin/autom4te.in ($autoconf): Pass --force.
11317         `print $out' doesn't print `$_' but `$out'.
11318         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
11319         (autoheader): Pass --force since the test suite goes too fast for
11320         the time stamps.
11321         Adjust to the new autoheader messages.
11323 2001-08-31  Akim Demaille  <akim@epita.fr>
11325         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
11326         Check the completeness of the #template.
11327         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
11328         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
11329         invocation.
11331 2001-08-31  Akim Demaille  <akim@epita.fr>
11333         * lib/Autom4te/General.pm (&find_file, &update_file): New.
11334         * bin/autoupdate.in, bin/autoheader.in: Adjust.
11335         Drop AC_MACRODIR dead for real.
11336         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
11337         `autoheader: `config.hin' is created'.
11338         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
11340 2001-08-31  Akim Demaille  <akim@epita.fr>
11342         * bin/autoheader.in: Rewrite in Perl.
11343         * tests/autoheader: Adjust.
11345 2001-08-31  Akim Demaille  <akim@epita.fr>
11347         * bin/autoconf.in (--include, -I): New option.
11348         Map --localdir, --autoconf-dir onto it.
11349         Forward autom4te's options instead of interpreting them.
11350         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
11351         There is no such envvar since the inception of autom4te.cfg.
11352         * bin/autom4te.in (&parse_args): Uniquify `@include'.
11353         * bin/autoupdate.in: Adjust, and perform more control.
11354         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
11355         * tests/autoconf: Dittowise.
11357 2001-08-31  Akim Demaille  <akim@epita.fr>
11359         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
11360         * bin/autom4te.in (&find_file): Support `FILE?' standing for
11361         optionally `FILE'.
11362         Use -e, not -f, since /dev/null for instance is OK.
11363         (&parse_args): Adjust.
11364         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
11366 2001-08-31  Akim Demaille  <akim@epita.fr>
11368         * configure.ac: Also find tested executables in bin.
11369         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
11370         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
11371         installed peer executables, only PATH is allowed to resolve it.
11372         Pass `autoconf_dir' via options, not via invisible envvars.
11373         * lib/Autom4te/General.pm (&find_peer): Remove.
11374         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
11375         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
11376         * man/Makefile.am: Let help2man rely on PATH instead of trying to
11377         find the executables for it.
11378         * tests/Makefile.am: Major cleanup.  Too lazy to document...
11379         * tests/atlocal.in: Remove all the obscure envvar manipulations.
11380         We only need PERL.
11381         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
11382         indeed related to running the test suite, while passing
11383         --autoconf-dir and others is related to running non installed
11384         Autoconf executables.  So don't do that, leave it to...
11385         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
11386         * tests/autoscan: New.
11387         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
11388         refer to library files: rely on --language.
11390 2001-08-29  Akim Demaille  <akim@epita.fr>
11392         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
11393         s/--set/--language/.
11395 2001-08-29  Akim Demaille  <akim@epita.fr>
11397         * doc/autoconf.texi: Strip the @nodes.
11398         Suggested by Paul Eggert.
11399         (Initializing configure): Typo.
11401 2001-08-29  Akim Demaille  <akim@epita.fr>
11403         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
11404         Suggested by Paul Eggert.
11406 2001-08-29  Akim Demaille  <akim@epita.fr>
11408         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
11409         download in a tmp dir.
11411 2001-08-29  Akim Demaille  <akim@epita.fr>
11413         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
11414         case insensitive OSes out there :(
11415         From Tim Van Holder.
11417 2001-08-29  Akim Demaille  <akim@epita.fr>
11419         * lib/autom4te.in: New.
11420         * lib/Makefile.am (edit, autom4te.cfg): New.
11421         * bin/autom4te.in (BEGIN): Simplify.
11422         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
11423         (&load_configuration): New.  Use it.
11424         (&parse_args): Support --mode, --set, and --melt.
11425         * bin/autoconf.in: Simplify and adjust.
11426         * tests/Makefile.am (AUTOMAKE): Use --set.
11427         * tests/atlocal.in: Adjust.
11428         * BUGS: distcheck and check are weak.
11430 2001-08-29  Akim Demaille  <akim@epita.fr>
11432         * lib/autotest/general.m4: Use
11433                 foo=`(command) 2>/dev/null`
11434         not
11435                 foo=`command` 2>/dev/null
11436         (at-devnull): Rename as...
11437         (AT-devnull): this.
11438         (--clean): Remove AT-* files too.
11439         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
11440         Reported by Nicolas Joly.
11442 2001-08-28  Akim Demaille  <akim@epita.fr>
11444         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
11445         quotes inside single quotes.
11446         Reported by Nicolas Joly.
11448 2001-08-28  Kevin Ryde  <user42@zip.com.au>
11450         * doc/autoconf.texi (Function Portability): Mention C right shifts.
11452 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
11454         * lib/autotest/general.m4: Reword some messages.
11455         (AT_INIT): Check for the `times' builtin before using it.
11456         Support test ranges as arguments to the testsuite.
11457         Have -e imply -d as the help text suggested.
11459 2001-08-27  Akim Demaille  <akim@epita.fr>
11461         * Makefile.maint: Formatting changes.
11462         (do-po-update, po-update, cvs-update, update): New targets.
11463         (AMTAR): Remove.
11465 2001-08-27  Akim Demaille  <akim@epita.fr>
11467         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
11468         <at_cmd_line>: New.
11469         Pass it to debug-*.sh scripts.
11470         <AUTOTEST_PATH>: May contain absolute dir names.
11472 2001-08-27  Akim Demaille  <akim@epita.fr>
11474         * lib/autotest/general.m4 (AT_INIT): Log the command line.
11475         Support `VAR=VAL' as arguments.
11476         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
11477         may be set via the command line.
11479 2001-08-27  Akim Demaille  <akim@epita.fr>
11481         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
11482         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
11483         first the build dirs, then the src dirs.
11484         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
11486 2001-08-27  Akim Demaille  <akim@epita.fr>
11488         * lib/autotest/general.m4 (AT_INIT): Output the definition of
11489         at_data_files earlier.
11490         (--clean, -c): New option.
11491         * tests/Makefile.am: Use this option.
11493 2001-08-27  Akim Demaille  <akim@epita.fr>
11495         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
11496         `ac_top_builddir' to mimic Automake's vocabulary, which much more
11497         readable.
11498         Adjust callers.
11499         * doc/autoconf.texi (Configuration Actions): Document the vars
11500         available in commands.
11501         Emphasize the risks of collisions in init-cmds.
11503 2001-08-27  Akim Demaille  <akim@epita.fr>
11505         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
11506         (Initializing configure): this new node.
11508 2001-08-27  Akim Demaille  <akim@epita.fr>
11510         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
11512 2001-08-27  Akim Demaille  <akim@epita.fr>
11514         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
11515         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
11516         New file.
11517         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
11519 2001-08-27  Akim Demaille  <akim@epita.fr>
11521         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
11522         to...
11523         * lib/autoconf/autoheader.m4: this new file.
11524         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
11525         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
11526         Move to...
11527         * lib/autoconf/autoupdate.m4: this new file.
11529 2001-08-27  Akim Demaille  <akim@epita.fr>
11531         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
11532         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
11533         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
11534         -> ac_dir).
11535         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
11536         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
11538 2001-08-27  Akim Demaille  <akim@epita.fr>
11540         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
11541         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
11542         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
11543         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
11544         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
11545         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
11546         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
11547         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
11548         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
11549         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
11550         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
11551         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
11552         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
11553         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
11554         (_AC_OUTPUT_SUBDIRS): Move to...
11555         * lib/autoconf/status.m4: this new file.
11556         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
11557         * tests/Makefile.am, tests/suite.at: Adjust.
11559 2001-08-27  Akim Demaille  <akim@epita.fr>
11561         Automake 1.5.
11563         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
11564         (AMTAR): Help automake define it.
11565         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
11566         needed, 1.5 can have a macro and a target with the same name.
11567         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
11568         * m4/strip.m4: New.
11569         * m4/init.m4, m4/sanity.m4: Update.
11570         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
11571         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
11572         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
11573         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
11575 2001-08-27  Akim Demaille  <akim@epita.fr>
11577         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
11579         * lib/autoconf/version.in: Remove.
11580         * lib/m4sugar/version.in: New.
11581         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
11582         Adjust callers.
11583         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
11584         the name of the directory they're in, instead of the filename,
11585         since version.m4 is now in m4sugar, but m4_acversion must not be
11586         classified as an Autoconf macro.
11587         ($input_m4): Don't qualify the path to m4sugar.
11588         Rather, pass autoconf_dir to m4.
11589         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
11590         * tests/suite.at: Require 2.52c.
11592 2001-08-27  Akim Demaille  <akim@epita.fr>
11594         testsuite.log should include config.log.
11596         * lib/autotest/autotest.m4: New.
11597         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
11598         * tests/suite.at : Adjust.
11599         (AT_INIT): Log config.log.
11600         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
11601         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
11602         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
11603         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
11604         of config.log on traps.
11605         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
11606         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
11607         for config.status'.
11608         Open the log as soon as possible.
11609         Use the same log introduction as configure's.
11611 2001-08-22  Paul Eggert  <eggert@twinsun.com>
11613         * doc/autoconf.texi (Indices): New node.
11614         Move indices out of the top level menu and into this submenu.
11616 2001-08-22  Akim Demaille  <akim@epita.fr>
11618         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11619         AC_TRY_COMMAND.
11620         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
11622 2001-08-22  Akim Demaille  <akim@epita.fr>
11624         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
11625         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
11626         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
11627         * lib/autoconf/programs.m4: here.
11628         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
11629         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
11630         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
11631         * lib/autoconf/programs.m4: here.
11632         (_AC_DECL_YYTEXT): Rename as...
11633         (_AC_PROG_LEX_YYTEXT_DECL): this.
11634         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
11635         * tests/Makefile.am, tests/suite.am: Adjust.
11637 2001-08-22  Akim Demaille  <akim@epita.fr>
11639         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
11640         Move to...
11641         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
11642         here.
11643         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
11644         * lib/autoconf/functions.m4: here.
11645         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
11646         (AH_CHECK_LIB): Move to...
11647         * lib/autoconf/libs: this new file.
11648         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
11649         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
11650         * lib/autoconf/libs.m4: here.
11651         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
11653 2001-08-22  Akim Demaille  <akim@epita.fr>
11655         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
11656         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
11657         (AC_SITE_LOAD): Better logging of config.site.
11659 2001-08-20  Akim Demaille  <akim@epita.fr>
11661         * configure.ac (AT_CONFIG): Fix the path.
11662         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
11663         can be used.
11665 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
11667         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
11668         program with AC_LANG_PROGRAM before feeding it to
11669         AC_COMPILE_IFELSE.  Cleanup grep usage.
11671 2001-08-20  Akim Demaille  <akim@epita.fr>
11673         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
11674         * NEWS, README, README-alpha, TODO, tests/README: This package is
11675         `Autoconf', not `autoconf' (the executable).
11677 2001-08-20  Akim Demaille  <akim@epita.fr>
11679         Info readers seem to need `Index' in the index node title :(
11681         * doc/autoconf.texi: Reverse the 2001-08-15 change which
11682         simplified index node names.
11684 2001-08-20  Akim Demaille  <akim@epita.fr>
11686         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
11687         arguments are not literals.
11688         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
11689         Specify the output variables, and macros defined.
11691 2001-08-20  Akim Demaille  <akim@epita.fr>
11693         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
11694         (Examining Syntax) <AC_TRY_COMPILE>
11695         (Examining Libraries) <AC_TRY_LINK>
11696         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
11697         their arguments.
11698         Reported by Werner Lemberg.
11700 2001-08-20  Akim Demaille  <akim@epita.fr>
11702         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
11703         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
11704         Load atlocal late enough to dump it in the log.
11705         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
11707 2001-08-20  Akim Demaille  <akim@epita.fr>
11709         * tests/torture.at (Configuring subdirectories): New test.
11710         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
11711         looking for.
11712         * m4/atconfig.m4: Be sure the let $[0] be expandable.
11713         (top_srcdir): Fix its computation.
11715 2001-08-20  Akim Demaille  <akim@epita.fr>
11717         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
11718         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
11719         test suite lives.
11720         Create `atconfig' automagically.
11721         Configure atlocal.in if present.
11722         * tests/atconfig.in: Remove.
11723         * tests/atlocal.in: New.
11724         * tests/Makefile.am: Adjust.
11726 2001-08-20  Akim Demaille  <akim@epita.fr>
11728         Huh!?!?!  There are still some user EOF tags used, which prevents
11729         their use in AC_CONFIG_COMMANDS for instance...
11731         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
11732         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
11733         `_CSEOF', or `_ATEOF', as appropriate.
11734         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
11735         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
11737 2001-08-20  Akim Demaille  <akim@epita.fr>
11739         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
11740         * tests/semantics.at, tests/tools.at, tests/torture.at:
11741         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
11743 2001-08-20  Akim Demaille  <akim@epita.fr>
11745         Autotest invokes M4sh's initialization.
11747         * lib/autotest/general.m4: Adjust the diversion names.
11748         (AT_INIT): Run AS_INIT.
11749         Use the BINSH diversion to invoke /bin/sh.
11750         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
11751         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
11753 2001-08-20  Akim Demaille  <akim@epita.fr>
11755         Let M4sh have its own diversions.
11757         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
11758         (_m4_divert(NOTICE)): Rename as...
11759         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
11760         (_m4_divert(HEADER-COMMENT)): these.
11761         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
11762         (_m4_divert(NOTICE)): New, for Libtool.
11763         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
11764         long ago with `_m4_divert(GROW)'.
11765         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
11767 2001-08-20  Akim Demaille  <akim@epita.fr>
11769         * tests/base.at, tests/compile.at, tests/foreign.at,
11770         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
11771         * tests/semantics.at, tests/suite.at, tests/tools.at,
11772         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
11774 2001-08-20  Akim Demaille  <akim@epita.fr>
11776         * bin/autom4te.in (handle_output): Handle @__@.
11778 2001-08-20  Akim Demaille  <akim@epita.fr>
11780         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
11781         * lib/autotest/general.m4: Adjust the license.
11783 2001-08-17  Paul Eggert  <eggert@twinsun.com>
11785         * doc/autoconf.texi (Function Portability): Mention snprintf,
11786         following up on a suggestion by Kevin Ryde.
11788 2001-08-17  Akim Demaille  <akim@epita.fr>
11790         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
11791         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
11793 2001-08-17  Akim Demaille  <akim@epita.fr>
11795         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
11796         `$0.log' as for projects where testsuite is in src, we'd have
11797         testsuite.log created in src.
11799 2001-08-17  Akim Demaille  <akim@epita.fr>
11801         * bin/autom4te.in (&parse_args): Recognize --normalize.
11803 2001-08-17  Akim Demaille  <akim@epita.fr>
11805         Start implementing the AC_CHECK_HEADER transition scheme.
11807         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
11808         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
11809         (AC_CHECK_HEADER): Use them.
11811 2001-08-17  Akim Demaille  <akim@epita.fr>
11813         * doc/autoconf.texi: Work around Texinfo buglets.
11814         (Transformation Rules): One example is enough, users are expected
11815         to have their brains on. And BTW, use DESTDIR.
11816         (dvar): New macro.  Use it.
11818 2001-08-17  Akim Demaille  <akim@epita.fr>
11820         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
11821         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
11822         looking for ChangeLogs.
11824 2001-08-17  Akim Demaille  <akim@epita.fr>
11826         * bin/autom4te.in: --normalize is a new option.
11827         * bin/autoconf.in: Use it.
11829 2001-08-17  Akim Demaille  <akim@epita.fr>
11831         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
11832         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
11834 2001-08-16  Paul Eggert  <eggert@twinsun.com>
11836         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
11837         start, not at end.
11839 2001-08-15  Akim Demaille  <akim@epita.fr>
11841         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
11842         Use it.
11844 2001-08-15  Akim Demaille  <akim@epita.fr>
11846         * doc/autoconf.texi (pr): New index.
11847         (prindex, findex): Use, merge, and output them.
11848         (Environment Variable Index, Output Variable Index)
11849         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
11850         (Autotest Macro Index): Rename as...
11851         (Environment Variables, Output Variables,Preprocessor Symbols)
11852         (Autoconf Macros, M4 Macros, Autotest Macros): these.
11853         * doc/install.texi: Use @command.
11854         (Environment Variables): Rename as...
11855         (Defining Variables): this.
11857 2001-08-15  Akim Demaille  <akim@epita.fr>
11859         * doc/autoconf.texi (Function Portability): sprintf's return
11860         value.
11861         From Kevin Ryde.
11863 2001-08-15  Akim Demaille  <akim@epita.fr>
11865         * Makefile.maint (CVS): New.
11866         (local-check): Run changelog-check. last.
11867         (alpha): Don't depend upon local-check, since...
11868         (cvs-dist): depends upon it.
11870 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
11872         * tests/Makefile.am: Use a clean-local rule to remove
11873         autom4te.cache (it's a directory, not a file.
11874         * Makefile.am: Ditto (but maintainer-clean-local).
11876 2001-08-15  Akim Demaille  <akim@epita.fr>
11878         * bin/autom4te.in (@m4_warning): New.
11879         (&handle_m4): Use it.
11880         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
11881         warnings are issued at each run.
11882         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
11883         is in the src tree.
11885 2001-08-15  Akim Demaille  <akim@epita.fr>
11887         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
11888         don't waste time running `autoupdate --version' works.
11889         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
11891 2001-08-13  Akim Demaille  <akim@epita.fr>
11893         * doc/autoconf.texi (ma): Rename this index as...
11894         (ac): this.
11896 2001-08-13  Akim Demaille  <akim@epita.fr>
11898         * Makefile.am: Remove dead code and dead comments.
11899         (pdf, html): New targets.
11900         * doc/autoconf.texi (Using Autotest): New chapter.
11901         * doc/Makefile.am (pdf): New targets.
11902         (CLEANFILES): Adjust.
11904 2001-08-13  Akim Demaille  <akim@epita.fr>
11906         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
11907         duration of the test suite.
11909 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
11911         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
11912         endianness for comparison instead of relying on AT_CHECK_ENV.
11914 2001-08-11  Paul Eggert  <eggert@twinsun.com>
11916         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
11917         to the INSTALL file.
11919 2001-08-11  Paul Eggert  <eggert@twinsun.com>
11921         * NEWS: The autoconf manual now is distributed under the terms
11922         of the GNU Free Documentation License.
11924         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
11925         Add an appendix "Copying This Manual" for the FDL.
11927         * doc/fdl.texi: New file, from
11928         <http://www.gnu.org/licenses/fdl.texi>.
11930         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
11932 2001-08-10  Paul Eggert  <eggert@twinsun.com>
11934         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
11935         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
11936         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
11937         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
11938         m4/sanity.m4, tests/README, tests/aclocal.m4,
11939         tests/atspecific.m4, tests/base.at, tests/compile.at,
11940         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
11941         tests/semantics.at, tests/suite.at, tests/tools.at,
11942         tests/torture.at: Add copyright notice.
11944         * tests/mktests.sh: Update year in copyright notice.
11946 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
11948         * tests/semantics.at (AC_C_BIGENDIAN): New test.
11950 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
11952         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
11953         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
11954         * doc/autoconf.texi (C Compiler Characteristics): Update
11955         documentation for AC_C_BIGENDIAN.
11957 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
11959         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
11960         magic values from an object file when cross-compiling.
11961         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
11963 2001-08-10  Akim Demaille  <akim@epita.fr>
11965         * bin/autom4te.in (&handle_output): Don't use `grep' with side
11966         effects.
11967         Suggested by Russ Allbery.
11969 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
11971         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
11972         current $prefix to the sub-configures.
11974 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
11976         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
11977         extension (needed on BeOS).  Reported by Guido van Rossum.
11979 2001-08-09  Akim Demaille  <akim@epita.fr>
11981         * bin/autom4te.in ($icache): Load it only if older than autom4te.
11983 2001-08-07  Akim Demaille  <akim@epita.fr>
11985         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
11986         removed.
11987         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
11988         No need to remove the files before and after the each test, before
11989         each test and at the end of the suite is enough.
11990         Display only the children `times', not the shell's.
11991         If the test failed or was skipped, at-times is not available.
11993 2001-08-07  Akim Demaille  <akim@epita.fr>
11995         Always produce testsuite.log, including when there are no
11996         failures.  This helps getting information on skipped tests, and
11997         duration of the tests.  Err, implement the latter btw.
11999         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
12000         Dump information on the first run of each test.
12001         (AT_CLEANUP): Create `at-times' containing the duration of the
12002         test group.
12004 2001-08-07  Akim Demaille  <akim@epita.fr>
12006         The use of `dumpstat' revealed that `len' was used although it
12007         should not.  m4_text_wrap was using it, but in the Autoconf world
12008         where it is legal.  Hence (i) test M4sh in its own world, not
12009         Autoconf's, and (ii), ahem, fix the bug :)
12011         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
12012         does not like `' instead of [].
12013         (AT_INIT): Forbid `^_?AT_'.
12014         And don't output such tokens.
12015         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
12016         `script.as', and `autom4te.cache'.
12017         Remove `empty' and `macro' which are no longer used.
12018         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
12019         * tests/m4sugar.at: Use it.
12020         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
12022 2001-08-07  Akim Demaille  <akim@epita.fr>
12024         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
12026 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
12028         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
12030 2001-08-04  Akim Demaille  <akim@epita.fr>
12032         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
12033         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
12034         AC_TRY_LINK.
12035         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
12036         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
12037         (AC_F77_MAIN): Likewise.
12039 2001-08-04  Akim Demaille  <akim@epita.fr>
12041         Don't rely on M4sugar outputting the patterns in files, since we
12042         might process the output _without_ running m4, hence without these
12043         files.
12045         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
12046         * bin/autom4te.in (@Request::includes): Remove, unused.
12047         (@Request::source): Rename as...
12048         (@Request::input): this.
12049         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
12050         (&handle_output): Fetch the patterns from the traces.
12051         `$forbidden' and `$allowed' are constant: use m//o.
12052         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
12053         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
12055 2001-08-04  Akim Demaille  <akim@epita.fr>
12057         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
12058         autoconf', i.e., in addition to caching traces, cache the output.
12060         * bin/autom4te.in (Request::cache): Rename as...
12061         (Request::id): this.
12062         ($cache, $icache, $tcache, $ocache): New.
12063         (&handle_m4): Save M4 output in the cache instead of $tmp.
12064         (&handle_output): Adjust.
12065         (&up_to_date_p): Check that the output cache is up to date too.
12066         (top level): Run `&handle_m4' iff force or the cache is invalid.
12067         Run `&handle_output' if the output cache is more recent.
12069 2001-08-04  Akim Demaille  <akim@epita.fr>
12071         * bin/autom4te.in ($force): New.
12072         (&parse_args, &print_usage): -f, --force is a new option.
12073         (&handle_output): CPP directives might have spaces after `#'.
12074         (&parse_args): The first file only can be frozen.
12076 2001-08-04  Akim Demaille  <akim@epita.fr>
12078         Don't let autom4te compute the `include' traces several times:
12079         first check that the trace cache file is up to date, and then
12080         compare its timestamp with that of the output.
12082         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
12083         the preamble.  Don't require 5.005 as Autom4te::General does it,
12084         and better yet (use `use', not `require'!).
12085         * lib/Autom4te/Struct.pm: Rename the last occurrences of
12086         Class::Struct as Autom4te::Struct.
12087         * lib/Autom4te/General.pm (File::stat): Use it.
12088         (&mtime): New, export it.
12089         * bin/autom4te.in: Use it.
12090         Declare `$req' is invalid if it is outdated.
12091         Don't declare it valid before saving it if something went wrong.
12093 2001-08-04  Akim Demaille  <akim@epita.fr>
12095         Autom4te shall not encode Autoconf data, and preselecting traces
12096         must be proposed to the users.
12098         * bin/autom4te.in (@required_trace): Remove.
12099         (@preselect): New.
12100         (&parse_args, &print_usage): -p, --preselect is a new option.
12101         (&up_to_date_p): Adjust.
12102         * bin/autoconf.in: Preselect some Autoconf macros.
12104 2001-08-04  Akim Demaille  <akim@epita.fr>
12106         * tests/tools.at (autoconf --trace: user macros): Check traces on
12107         macros invoked without arguments, and macros invoked with multiple
12108         lines arguments.
12110 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
12112         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
12113         arguments.
12115 2001-08-03  Akim Demaille  <akim@epita.fr>
12117         * bin/autoconf.in ($@): Work around the usual sh bug.
12118         From Nicolas Joly.
12120 2001-08-03  Akim Demaille  <akim@epita.fr>
12122         Clean up the handling of the M4 builtins tracing exception.
12124         * bin/autom4te.in (Request::request): Don't complete M4 builtins
12125         trace requests.
12126         (@m4_builtins): Rename as...
12127         (@m4_builtin): this.
12128         (%m4_builtin_alternate_name): New.
12129         (&parse_args): Complete the trace requests with alternate names.
12130         (&handle_traces): Hence no longer do it here.
12131         (&trace_requests): Remove, unused.
12133 2001-08-03  Akim Demaille  <akim@epita.fr>
12135         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
12136         m4_if, and m4_wrap.
12138 2001-08-03  Akim Demaille  <akim@epita.fr>
12140         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
12141         (m4_divert_pop): Dump the whole diversion stack when a diversion
12142         mismatch happens.
12143         * bin/autom4te.in (&handle_output): Remember of the first
12144         occurrence of a possibly undefined macro, not the last.
12145         Complain about the possibly undefined macros in the same order as
12146         the appear in the output.
12147         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
12148         * tests/tools.at (autoconf: forbidden tokens, basic)
12149         (autoconf: forbidden tokens, exceptions): No longer sort
12150         autoconf's stderr, as it is now deterministic.
12151         Check that `dnl' is caught.
12153 2001-08-01  Akim Demaille  <akim@epita.fr>
12155         * configure.ac: Bump to 2.52c.
12157 2001-08-01  Akim Demaille  <akim@epita.fr>
12159         Version 2.52b.
12161         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
12163 2001-08-01  Akim Demaille  <akim@epita.fr>
12165         Version 2.52a.
12167 2001-08-01  Akim Demaille  <akim@epita.fr>
12169         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
12170         `die'.
12171         (&END): New.
12172         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
12173         `END', as `Autom4te::General::END' will be triggered.
12174         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
12175         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
12176         system to run `mv', `rm', and `cmp'.
12178 2001-08-01  Akim Demaille  <akim@epita.fr>
12180         * lib/Autom4te/General.pm (&unique): New.
12181         * bin/autoscan.in (&output): Use it to issue trace requests once.
12183 2001-08-01  Akim Demaille  <akim@epita.fr>
12185         * lib/Autom4te/General.pm: New.
12186         * bin/autom4te.in (Autom4te::General): Use it.
12187         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
12188         (&find_configure_ac, &find_slave): Remove.
12189         * bin/autoscan.in: Likewise.
12190         * bin/autoupdate.in: Likewise.
12192 2001-08-01  Akim Demaille  <akim@epita.fr>
12194         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
12195         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
12196         * bin: here, new directory.
12197         * lib/Autoconf: Rename as...
12198         * lib/Autom4te: this, to please case insensitive junkie OSes.
12200 2001-08-01  Akim Demaille  <akim@epita.fr>
12202         * autom4te.in ($m4): Handle the --nesting-limit.
12203         * autoconf.in (M4): Remove.
12205 2001-08-01  Akim Demaille  <akim@epita.fr>
12207         * autoconf.in ($AWK): Remove, no longer used.
12208         * test/tools.at: Use AT_CHECK_AUTOCONF.
12209         (AWK portability): Remove, for autoconf no longer uses AWK.
12210         (Syntax of the Perl scripts): New.
12211         * configure.ac: autoconf no longer needs an AWK with a good
12212         regexp engine.
12213         Use a static test on AC_PACKAGE_VERSION.
12214         * autom4te.in (&up_to_date_p): Output depends on the arguments.
12215         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
12216         * tests/atconfig.in (PERL): New.
12218 2001-08-01  Akim Demaille  <akim@epita.fr>
12220         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
12221         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
12222         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
12223         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
12224         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
12225         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
12226         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
12227         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
12228         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
12229         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
12230         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
12231         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
12232         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
12233         * lib/autoconf/c.m4: here, new file.
12235         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
12236         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
12237         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
12238         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
12239         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
12240         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
12241         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
12242         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
12243         (AC_F77_FUNC): Move to...
12244         * lib/autoconf/fortran.m4: here, new file.
12246 2001-08-01  Akim Demaille  <akim@epita.fr>
12248         * acfunctions.m4: Rename as...
12249         * lib/autoconf/functions.m4: this.
12250         * acgeneral.m4: Rename as...
12251         * lib/autoconf/general.m4: this.
12252         * acheaders.m4: Rename as...
12253         * lib/autoconf/headers.m4: this.
12254         * aclang.m4: Rename as...
12255         * lib/autoconf/lang.m4: this.
12256         * acoldnames.m4: Rename as...
12257         * lib/autoconf/oldnames.m4: this.
12258         * acspecific.m4: Rename as...
12259         * lib/autoconf/specific.m4: this.
12260         * actypes.m4: Rename as...
12261         * lib/autoconf/types.m4: this.
12262         * autoconf.m4: Rename as...
12263         * lib/autoconf/autoconf.m4: this.
12265         * m4sugar.m4: Rename as...
12266         * lib/m4sugar/m4sugar.m4: this.
12267         * m4sh.m4: Rename as...
12268         * lib/m4sugar/m4sh.m4: this.
12270         * tests/atgeneral.m4: Rename as...
12271         * lib/autotest/general.m4: this.
12273         * acfunctions: Rename as...
12274         * lib/autoscan/functions: this.
12275         * acheaders: Rename as...
12276         * lib/autoscan/headers: this.
12277         * acidentifiers: Rename as...
12278         * lib/autoscan/identifiers: this.
12279         * aclibraries: Rename as...
12280         * lib/autoscan/libraries: this.
12281         * acmakevars: Rename as...
12282         * lib/autoscan/makevars: this.
12283         * acprograms: Rename as...
12284         * lib/autoscan/programs: this.
12286 2001-08-01  Akim Demaille  <akim@epita.fr>
12288         * doc/autoconf.texi: Moving/deleting open files is not portable.
12289         Portability issues for `.' (source), and more information about sed.
12291 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
12293         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
12294         which has a special meaning and is not a reference to libibmil.a.
12295         Reported by Matteo Frigo.
12297 2001-07-25  Pavel Roskin  <proski@gnu.org>
12299         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
12300         output.
12302 2001-07-25  Akim Demaille  <akim@epita.fr>
12304         * autoconf.in: Try to define the variables before using them.
12305         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
12306         instead of `$perllibdir'.
12307         * tests/atconfig.in ($autom4te_perllibdir): Export it.
12309 2001-07-25  Akim Demaille  <akim@epita.fr>
12311         * autoconf.in (ac_LF_and_DOT): Remove, unused.
12313 2001-07-24  Akim Demaille  <akim@epita.fr>
12315         Let autoconf use autom4te for traces.
12317         * autoconf.in ($task, task trace): Remove, merely pass --trace to
12318         autom4te.
12319         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
12320         (Because I found no way for autom4te to accept `-').
12321         * autom4te.in (&Request::request): Beware of M4 builtins.
12322         (END): Don't try to remove the content of an empty dir.
12323         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
12324         (&handle_output): Set a default value to `$forbidden'.
12325         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
12326         ($autoconf): Pass --debug and --verbose.
12327         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
12328         cache.
12330 2001-07-24  Akim Demaille  <akim@epita.fr>
12332         Let autoconf use autom4te to create configure.
12334         * autoconf.in ($automate): New var.
12335         (task script): Use autom4te.
12336         * autom4te.in (File::Spec): Use it.
12337         (&find_file): New.
12338         (&parse_args): --warning is -W, not -w.
12339         Find the top level files.
12340         (&handle_m4): Pass the warnings flags.
12341         Don't report verbosely m4's failures, unless requested.
12342         (&handle_output): Don't complain for forbidden tokens in comments.
12343         Be sure to report all the forbidden tokens within a single line.
12344         (&trace_format_to_m4): Preserve `$_'.
12345         (&handle_traces): Sort the output macros.
12346         (&up_to_date_p): Find the files before trying to get its time stamp.
12348 2001-07-24  Akim Demaille  <akim@epita.fr>
12350         * Makefile.am: Ship, build and install Autom4te.
12351         (SUBDIRS): Add lib.
12352         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
12353         * configure.in: Require Perl.
12354         * man/autom4te.in: New.
12356 2001-07-19  Paul Eggert  <eggert@twinsun.com>
12358         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
12359         example, rather than (exit 1); exit (which isn't portable).
12361 2001-07-18  Akim Demaille  <akim@epita.fr>
12363         Version 2.52.
12365 2001-07-18  Akim Demaille  <akim@epita.fr>
12367         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
12368         was run, while they are needed also when it is expanded.
12369         Reported by Nicolas Joly.
12371         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
12372         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
12373         AC_F77_DUMMY_MAIN being expanded.
12375 2001-07-18  Akim Demaille  <akim@epita.fr>
12377         * configure.in: Bump to 2.51a.
12379 2001-07-17  Akim Demaille  <akim@epita.fr>
12381         Version 2.51.
12383 2001-07-17  Akim Demaille  <akim@epita.fr>
12385         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
12386         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
12388 2001-07-17  Akim Demaille  <akim@epita.fr>
12390         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
12391         used.  Well, then use the prototypes when you can, and runtime as
12392         a last resort.
12393         Reported by Artur Frysiak
12395         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
12396         (AC_FUNC_GETPGRP): Use it.
12397         First try to compile with 0-ary or 1-ary calls.
12399 2001-07-17  Akim Demaille  <akim@epita.fr>
12401         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
12402         replacement type.
12403         From Paul Eggert.
12405 2001-07-17  Akim Demaille  <akim@epita.fr>
12407         * Makefile.maint: Sync. with cppi 1.10.
12409 2001-07-17  Akim Demaille  <akim@epita.fr>
12411         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
12412         AC_F77_DUMMY_MAIN has been run.
12413         From Pavel Roskin and Steven G. Johnson.
12415 2001-07-17  Akim Demaille  <akim@epita.fr>
12417         * configure.in: Rename as...
12418         * configure.ac: this.
12420 2001-07-17  Akim Demaille  <akim@epita.fr>
12422         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
12423         rules.
12424         From Marc Espie.
12425         * Makefile.maint (release-archive-dir): Rename as...
12426         (release_archive_dir): this, so that it can be specialized in
12427         Makefile.
12429 2001-07-14  Akim Demaille  <akim@epita.fr>
12431         * configure.in: Bump to 2.50d.
12433 2001-07-14  Akim Demaille  <akim@epita.fr>
12435         Version 2.50c.
12436         * Makefile.maint (alpha): Typo.
12438 2001-07-14  Akim Demaille  <akim@epita.fr>
12440         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
12442 2001-07-14  Akim Demaille  <akim@epita.fr>
12444         * config/config.guess, config/config.sub, config/texinfo.tex
12445         * doc/standards.texi, doc/make-stds.texi: Update.
12447 2001-07-14  Akim Demaille  <akim@epita.fr>
12449         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
12451 2001-07-14  Akim Demaille  <akim@epita.fr>
12453         * Makefile.maint (maintainer-check): Rename as...
12454         (maintainer-distcheck): this.
12455         (changelog-check, static-check): New.
12456         Use them.
12458 2001-07-14  Kevin Ryde  <user42@zip.com.au>
12460         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
12461         for CXX is g++, not gcc.
12463 2001-07-14  Akim Demaille  <akim@epita.fr>
12465         * doc/autoconf.texi (Files): New subsection.
12467 2001-07-14  Akim Demaille  <akim@epita.fr>
12469         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
12470         of...
12471         (Generic Compiler Characteristics): this.
12472         (C++ Compiler): New subsection.
12474 2001-07-14  Akim Demaille  <akim@epita.fr>
12476         * autoscan.in: Use IO::File.
12477         Adjust all the routines to use it.
12478         ($log): New file (autoscan.log).
12479         (output): Dump detailed logs into $log, and a shortened version to
12480         stderr.
12481         (&scan_makefile): Refine the regexp catching tokens in the code.
12482         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
12483         and the `configure.ac' checking feature.
12485 2001-07-12  Akim Demaille  <akim@epita.fr>
12487         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
12488         Reported by Michael Elizabeth Chastain.
12490         * autoconf.in: Refuse such AWK.
12491         * configure.in: Likewise.
12492         * Makefile.am (acversion.m4): Do not use move-if-change this file
12493         has dependencies.
12494         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
12496 2001-07-10  Jens Petersen  <petersen@redhat.com>
12498         * autoscan.in (&scan_makefile): Improve programs regexp to parse
12499         things like "g++", "file.c" and "some-conf" as tokens.
12500         (&scan_file): Match C++ files extensions.
12501         If the filename extension is C++ then ask for c++.
12503 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
12505         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
12506         AC_TRY_LINK_FUNC, to check whether defining a dummy
12507         main-like routine is needed for linking with F77 libs.
12509 2001-07-05  Pavel Roskin  <proski@gnu.org>
12511         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
12512         after using break.
12513         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
12514         linking.
12516 2001-07-05  Akim Demaille  <akim@epita.fr>
12518         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
12519         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
12520         Makes' lives.
12521         Reported by Nicolas Joly.
12523 2001-07-04  Akim Demaille  <akim@epita.fr>
12525         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
12526         up.
12527         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
12528         warnings from compilers.
12529         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
12530         for all the compilers, not only GNU.  Hence move from here...
12531         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
12533 2001-07-04  Akim Demaille  <akim@epita.fr>
12535         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
12536         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
12537         AC_COMPILE_IFELSE.
12539 2001-07-04  Akim Demaille  <akim@epita.fr>
12541         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
12542         the ``strings.h'' change claimed below.
12544 2001-07-04  Akim Demaille  <akim@epita.fr>
12546         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
12548 2001-07-04  Akim Demaille  <akim@epita.fr>
12550         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12551         strings.h if usable with string.h.
12552         Suggested by Paul Eggert.
12554 2001-07-04  Akim Demaille  <akim@epita.fr>
12556         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
12557         From Jens Petersen.
12559 2001-07-03  Akim Demaille  <akim@epita.fr>
12561         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
12562         etc. in the log.
12564 2001-07-03  Akim Demaille  <akim@epita.fr>
12566         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
12567         compiler, not the preprocessor.
12568         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
12569         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
12570         the right thing.
12571         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
12572         earlier if there are.
12574 2001-07-03  Akim Demaille  <akim@epita.fr>
12576         * autoscan.in ($initfile): Remove.
12577         (&find_file): Rename as...
12578         (&scan_file): this.
12579         Immediately scan the current file, instead of gathering them, and
12580         later having them handled by &scan_files.
12581         (&scan_files): Merely invoke Find::File.
12582         Adjust.
12584 2001-07-02  Akim Demaille  <akim@epita.fr>
12586         * autoscan.in: Formatting changes, matching the invocation order.
12587         (File::Find): Use it instead of Perl 4's `find.pl'.
12588         (&wanted): Rename as...
12589         (&find_file): this.
12591 2001-07-01  Pavel Roskin  <proski@gnu.org>
12593         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
12594         break in the argument to AC_TRY_LINK_FUNC.
12595         (AC_F77_MAIN): Remove conftest* after using break in the
12596         argument to AC_TRY_LINK.
12598 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
12600         Add alternate 'main' routine detection for linking C/C++ with Fortran,
12601         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
12603         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
12604         dummy alternate main is required even if the user provides her own
12605         'main'.
12606         (AC_F77_MAIN): New macro to detect whether it is possible to
12607         provide an alternate 'main' function name, using the 'main' from
12608         the Fortran libraries.
12609         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
12610         cross-language link tests can be performed successfully.
12611         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
12612         after $LIBS, for consistency; this should be the general rule since
12613         the user may want to link to Fortran libraries that require $FLIBS.
12614         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
12616 2001-06-29  Pavel Roskin  <proski@gnu.org>
12618         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
12619         at-stdout and at-stderr instead of removing the newline
12620         from the echo output, which is not guaranteed to work.
12622 2001-06-28  Jens Petersen  <petersen@redhat.com>
12624         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
12625         confdefs.h when non-zero.
12627 2001-06-28  Akim Demaille  <akim@epita.fr>
12629         * configure.in: Bump to 2.50c.
12631 2001-06-26  Akim Demaille  <akim@epita.fr>
12633         Version 2.50b.
12635 2001-06-26  Akim Demaille  <akim@epita.fr>
12637         Version 2.50a.
12639 2001-06-25  Pavel Roskin  <proski@gnu.org>
12641         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
12642         argument, AUTOCONF-FLAGS.
12643         * tests/mktests.sh (update_exclude_list): Add
12644         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
12645         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
12646         AC_FUNC_WAIT3 with "-W no-obsolete".
12648 2001-06-25  Akim Demaille  <akim@epita.fr>
12650         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
12652 2001-06-25  Akim Demaille  <akim@epita.fr>
12654         * autoscan.in (%macro): Now maps from word to list of macros.
12655         (&init_tables): Die when a word which is already handled by
12656         explicit macros is mapped to the default macro.
12657         (&print_unique): Remove, inlined in...
12658         (&output_kind): here.
12659         (File::Basename): Use it.
12660         (&output): Sort the CONFIG_FILES.
12661         * acheaders: Normalize.
12662         * acfunctions: Likewise.
12664 2001-06-25  Akim Demaille  <akim@epita.fr>
12666         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
12667         characteristics in the logs.
12668         Suggested by Mo DeJong.
12670 2001-06-24  Akim Demaille  <akim@epita.fr>
12672         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
12673         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
12674         * doc/autoconf.texi (Autoconf 2.13): New section.
12676 2001-06-24  Akim Demaille  <akim@epita.fr>
12678         * autoconf.in (Task traces): Separate the error messages from the
12679         traces to improve robustness.
12681 2001-06-23  Akim Demaille  <akim@epita.fr>
12683         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
12684         three as failures are unlikely, and speed matters.
12686 2001-06-23  Akim Demaille  <akim@epita.fr>
12688         * doc/autoconf.texi (Redefined M4 Macros): New.
12690 2001-06-23  Akim Demaille  <akim@epita.fr>
12692         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
12693         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
12694         5.3.
12696 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
12698         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
12699         config.status targets to after the evaluation of the INIT-CMDS.
12700         Double quote config.status targets (used to be single quoted).
12702 2001-06-23  Akim Demaille  <akim@epita.fr>
12704         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
12705         Check the content of the created file.
12706         Check the ./config.status command line invocation.
12708 2001-06-23  Akim Demaille  <akim@epita.fr>
12710         * tests/foreign.at (Libtool): Reject prehistoric versions.
12712 2001-06-23  Akim Demaille  <akim@epita.fr>
12714         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
12715         preexisting files matching a.*.
12717 2001-06-23  Akim Demaille  <akim@epita.fr>
12719         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
12720         stderr.
12721         * doc/autoconf.texi (AC_ARG_VAR): Update.
12723 2001-06-21  Akim Demaille  <akim@epita.fr>
12725         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
12726         precious variables have changed.
12727         * tests/torture.at (AC_ARG_VAR): Adjust.
12729 2001-06-21  Akim Demaille  <akim@epita.fr>
12731         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
12732         but some sed choke on multiple `;', and other tools (e.g.,
12733         Automake), include the separator themselves.
12735         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
12737 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
12739         * doc/autoconf.texi (Functions Portability): Rename as...
12740         (Function Portability): this.
12741         (Function Portability): Document potential problems with unlink().
12743 2001-06-19  Paul Eggert  <eggert@twinsun.com>
12745         * NEWS, doc/autoconf.texi: Document quadrigraphs.
12747 2001-06-18  Akim Demaille  <akim@epita.fr>
12749         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
12751 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
12753         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
12754         (_AC_FUNC_VFORK): this.
12755         Remove AC_DEFINEs and don't guess cross-compilation values.
12756         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
12757         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
12758         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
12759         vfork doesn't work.
12760         Guess values if cross-compiling, but warn.
12761         * acfunctions: Add AC_FUNC_FORK.
12762         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
12763         and vfork appropriately.
12765 2001-06-18  Akim Demaille  <akim@epita.fr>
12767         * doc/autoconf.texi (Functions Portability): New section.
12769 2001-06-18  Akim Demaille  <akim@epita.fr>
12771         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
12772         in $M4.
12773         Suggested by Andreas Schwab.
12775 2001-06-18  Akim Demaille  <akim@epita.fr>
12777         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
12778         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
12779         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
12780         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
12781         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
12782         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
12783         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
12784         the converse).
12786 2001-06-18  Akim Demaille  <akim@epita.fr>
12788         * doc/autoconf.texi (ms): New index.
12789         (Macro Index): Rename as...
12790         (Autoconf Macro Index): this.
12791         (M4 Macro Index): New appendix.
12792         (Programming in M4): New chapter.
12793         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
12794         (Quoting): Rename as...
12795         (M$ Quotation): this.
12796         Be part of `Programming in M4).
12798 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
12800         * tests/torture.at (AC_ARG_VAR): Set variables and export them
12801         in separate statements for compatibility with Tru64 v5.1.
12803 2001-06-17  Akim Demaille  <akim@epita.fr>
12805         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
12806         current values of the precious variables, not the previously
12807         cached values.
12808         Pass precious variables which are set to config.status.
12809         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
12810         * tests/torture.at (AC_ARG_VAR): New.
12812 2001-06-15  Paul Eggert  <eggert@twinsun.com>
12814         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
12815         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
12816         and explain why and how to replace them.
12817         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
12818         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
12820 2001-06-15  Akim Demaille  <akim@epita.fr>
12822         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
12823         Reported by Bruno Haible.
12825         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
12826          (_AC_ARG_VAR_PRECIOUS): to here.
12828 2001-06-15  Pavel Roskin  <proski@gnu.org>
12830         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
12831         an unused pointer use cast to this type and `if' statement to
12832         avoid warnings from the compiler.
12833         (AC_HEADER_TIME): Likewise.
12834         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
12835         in `if' statement to avoid warnings from the compiler. Declare
12836         ac_aggr static to avoid the need to initialize it.
12838 2001-06-14  Akim Demaille  <akim@epita.fr>
12840         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
12841         Macros'.
12843 2001-06-13  Akim Demaille  <akim@epita.fr>
12845         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
12846         Suggested by Alexander Mai.
12848 2001-06-13  Akim Demaille  <akim@epita.fr>
12850         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
12851         sys/types.h and sys/stat.h, and check for them.
12853 2001-06-13  Akim Demaille  <akim@epita.fr>
12855         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
12856         INCLUDES.
12858 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
12860         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
12861         succeeds and only try adding libdnet upon a failure.
12863 2001-06-12  Akim Demaille  <akim@epita.fr>
12865         * autoscan.in (&output_kind): Output the comment only if it exists.
12866         (%kind_comment): Add entry for `programs'.
12867         (&output_programs): Use &output_kind.
12868         (&output_functions, &output_identifiers, &output_headers)
12869         (&output_programs): Inline, and remove.
12871 2001-06-12  Akim Demaille  <akim@epita.fr>
12873         * autoscan.in (%kind_comment): New.
12874         (output_kind): New.
12875         (output_functions, output_identifiers, output_headers): Use it.
12877 2001-06-12  Akim Demaille  <akim@epita.fr>
12879         * autoscan.in (&print_unique): Take `$kind' and `$word' as
12880         arguments, to factor indirections into `%macro' and `%used'.
12881         (%generic_macro): Fix a typo.
12883 2001-06-12  Akim Demaille  <akim@epita.fr>
12885         * aclibraries: New.
12886         * autoscan.in (@kinds): Add `libraries'.
12887         Use `@kinds' instead of hard coded lists.
12888         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
12889         Remove, replaced by...
12890         (%used): this.
12892 2001-06-12  Akim Demaille  <akim@epita.fr>
12894         * autoscan.in (%functions_macros %headers_macros)
12895         (%identifiers_macros %programs_macros %makevars_macros): Remove,
12896         replaced by...
12897         (%macro): New.
12899 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
12901         * aclang.m4 (AC_NO_EXECUTABLES): Override
12902         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
12904 2001-06-11  Akim Demaille  <akim@epita.fr>
12906         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
12907         trailing new line.
12908         Reported by Andreas Schwab.
12910 2001-06-11  Akim Demaille  <akim@epita.fr>
12912         * Makefile.am, Makefile.maint: Typos.
12914 2001-06-09  Akim Demaille  <akim@epita.fr>
12916         * doc/autoconf.texi (Here-Documents): New section, gathering
12917         documentation about here-documents.
12918         Use `href', not `uref', and other changes.
12920 2001-06-09  Akim Demaille  <akim@epita.fr>
12922         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
12923         chapter.
12925 2001-06-09  Akim Demaille  <akim@epita.fr>
12927         * doc/autoconf.texi (Limitations of Builtins): Complete the
12928         description of the here-docs penalties with Alexandre Oliva's
12929         explanations.
12931 2001-06-01  Paul Eggert  <eggert@twinsun.com>
12933         * doc/autoconf.texi: Talk about here documents and speedups.
12934         Do not use "echo" on arbitrary strings.
12935         Spell "here-documents" consistently with the standard.
12937 2001-06-09  Akim Demaille  <akim@epita.fr>
12939         * doc/autoconf.texi (Concept Index): Introduce it.
12940         Regenerate the menus.
12942 2001-06-09  Akim Demaille  <akim@epita.fr>
12944         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
12945         * config/prev-version.txt: New.
12946         * config/move-if-change: New, for GNU libc.
12948 2001-06-06  Pavel Roskin  <proski@gnu.org>
12950         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
12952 2001-06-06  Akim Demaille  <akim@epita.fr>
12954         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
12955         properly when $1 is not a literal.
12956         Fixes PR Autoconf/187, reported by Bram Moolenaar.
12958 2001-06-06  Akim Demaille  <akim@epita.fr>
12960         Invoking AC_COPYRIGHT before AC_INIT fails.
12962         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
12963         * acgeneral.m4 (_m4_divert(VERSION_FSF))
12964         (_m4_divert(VERSION_USER)): New.
12965         (AC_COPYRIGHT): $2 is the diversion to use.
12966         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
12967         (AC_INIT): Remove dead comments as now it's commutative.
12969 2001-06-06  Akim Demaille  <akim@epita.fr>
12971         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
12972         PR autoconf/187.
12974 2001-06-05  Akim Demaille  <akim@epita.fr>
12976         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
12977         can be empty.
12978         `*dir' variables cannot be NONE.
12979         Reported by Mark Kettenis.
12981 2001-06-05  Paul Eggert  <eggert@twinsun.com>
12983         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
12985 2001-06-04  Akim Demaille  <akim@epita.fr>
12987         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
12988         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
12989         (AC_TR_SH): Move as...
12990         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
12991         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
12992         (AS_TR_SH): these.
12993         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
12994         (_AS_TR_SH_PREPARE): New.
12995         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
12996         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
12998 2001-06-02  Akim Demaille  <akim@epita.fr>
13000         * Makefile.am (.m4.m4f): Pass the options first.
13001         Fixes PR autoconf/182.
13003 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
13005         GNU getopt, when POSIXLY_CORRECT does not permute options and
13006         arguments.  So pass the options first.
13007         Fixes PR autoconf/184.
13009         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
13010         (run_m4): Remove files.
13011         (run_m4f): Remove.
13012         Update remainder of script to use them.
13013         (for warning in): Do not use a literal comma as it will not be
13014         split by IFS.
13016 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
13018         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
13019         Fortran compilers to check.
13020         (_AC_PROG_F77_V): Add '-###' as a possible option to print
13021         information on library and object files.
13022         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
13023         to check.
13025 2001-06-02  Akim Demaille  <akim@epita.fr>
13027         * autom4te.in (Request::@request): Declare with `vars', not `my',
13028         as it prevents updates via `do FILENAME'.
13030 2001-06-02  Akim Demaille  <akim@epita.fr>
13032         * configure.in (standards_texi): Remove, dead code.
13034 2001-06-02  Akim Demaille  <akim@epita.fr>
13036         * autom4te.in: New.
13038 2001-06-02  Pavel Roskin  <proski@gnu.org>
13040         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
13041         for signals other than 0 - exit with code 1.
13042         * m4sh.m4 (AS_TMPDIR): Likewise.
13043         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
13044         * autoheader.in: Likewise.
13045         * autoreconf.in: Likewise.
13046         * tests/torture.at (Signal handling): New test for the above.
13048 2001-06-01  Akim Demaille  <akim@epita.fr>
13050         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
13051         message.
13053 2001-05-31  Akim Demaille  <akim@epita.fr>
13055         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
13056         Add copyright and comments.
13057         * acheaders: Add stdint.h.
13058         Suggested by Paul Eggert.
13060 2001-05-31  Akim Demaille  <akim@epita.fr>
13062         * atgeneral.m4 (AT_INIT): Use $SHELL.
13063         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
13065 2001-05-31  Akim Demaille  <akim@epita.fr>
13067         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
13068         stdint.h.
13069         From Paul Eggert and Lars Hecking.
13071 2001-05-31  Akim Demaille  <akim@epita.fr>
13073         * tests/base.at: Adjust line numbers in error messages.
13075 2001-05-31  Akim Demaille  <akim@epita.fr>
13077         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
13078         to emit the bangshe line.
13079         Reported by David Carter.
13081 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
13083         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
13084         Fortran (95) compilers to check.
13086 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
13088         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
13089         Macro Archive URL.
13091 2001-05-23  Pavel Roskin  <proski@gnu.org>
13093         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
13094         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
13095         (AC_PROG_CXXCPP): Likewise.
13097 2001-05-22  Akim Demaille  <akim@epita.fr>
13099         * config: New directory.
13100         * configure.in: AC_CONFIG_AUX_DIR it.
13101         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
13103 2001-05-22  Akim Demaille  <akim@epita.fr>
13105         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
13106         * autoupdate.in: Specify the Emacs mode.
13107         * acversion.m4.in: Rename as...
13108         * acversion.m4: this.
13109         * tests/Makefile.am (CLEANFILES): More garbage.
13111 2001-05-22  Akim Demaille  <akim@epita.fr>
13113         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
13114         Rename as...
13115         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
13116         these.
13118 2001-05-21  Akim Demaille  <akim@epita.fr>
13120         * configure.in: Bump to 2.50a.
13123         -----
13125         Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
13126         Software Foundation, Inc.
13128         This file is part of GNU Autoconf.
13130         GNU Autoconf is free software; you can redistribute it and/or modify
13131         it under the terms of the GNU General Public License as published by
13132         the Free Software Foundation; either version 2, or (at your option)
13133         any later version.
13135         GNU Autoconf is distributed in the hope that it will be useful,
13136         but WITHOUT ANY WARRANTY; without even the implied warranty of
13137         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13138         GNU General Public License for more details.
13140         You should have received a copy of the GNU General Public License
13141         along with autoconf; see the file COPYING.  If not, write to
13142         the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
13143         Boston, MA 02110-1301, USA.