* lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
[autoconf.git] / ChangeLog
blob99eeb9383e0f714824e397c02c4c018ca7e08de6
1 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
3         * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
4         --disable-option-checking to --help output even when
5         AC_PRESERVE_HELP_ORDER is not used.
6         (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
7         --with argument, rather than argument with [-.] replaced by
8         underscores.
9         * NEWS: Fix typo in previous change; the news was in the
10         wrong section.
12 2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
14         * NEWS: Warnings are now generated by default for unknown
15         --enable-* and --with-* options.
16         * doc/autoconf.texi (Option Checking): Renamed from
17         (Configure Option Checking).  Tighten up the wording a bit.
18         (External Software, Package Options): Cross-reference to Option
19         Checking, and use this to shorten our section.
20         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
21         "$x" to test "x$foo" != x.
22         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
23         Don't warn if $enable_option_checking is "no".
24         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
25         ac_unrecognized_opts to the empty string.
26         Don't echo the unrecognized opts, as this might mishandle
27         backslashes or leading -.
28         (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
29         usage next to the other --disable-FEATURE options in the
30         help string.
32 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
34         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
35         (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
36         Print warning for unrecognized --with and --enable options
37         (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
38         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
39         Disable option checking when subdirs are configured.
40         (AC_OUTPUT): If warnings are enabled, print warning about
41         unrecognized --with and --enable options at the end of
42         the configure output (as well as at the beginning).
43         * doc/autoconf.texi (Option Checking): New node.
44         Document new option warning functionality.
46 2006-12-16  Eric Blake  <ebb9@byu.net>
48         * configure.ac (AC_INIT): Bump version, since 2.61a is released.
49         * NEWS: Start news for current version.
51 2006-12-15  Paul Eggert  <eggert@cs.ucla.edu>
53         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
54         Define HAVE_GETMNTENT to 1, not to the empty string.
55         Problem originally reported by Jochen Friedrich in
56         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
58         This change prompted by a problem report by Andrey Simonenko in
59         <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
60         * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
61         object-like macros only, in the traditional portable character
62         set.
63         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
64         Warn about attempts to define things that are not identifiers.
65         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
66         awful hack that AC_DEFINEd macro names containing parentheses.
68 2006-12-12  Paul Eggert  <eggert@cs.ucla.edu>
70         * doc/autoconf.texi: Undo some of the 2006-12-10 change.  It was
71         too drastic, even if Texinfo in theory requires it for info mode.
73         (config.status Invocation): Renamed back from Recreating a
74         Configuration).
75         (Obsolete config.status Use): Renamed back from Obsolete Recreation.
76         (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
78 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
80         * NEWS: Version 2.61a.
82 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
83         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
85         * NEWS: Document changes with echo and printf, and the lack
86         of limits on the total size of multi-line values of substituted
87         variables, and the AC_FUNC_FSEEKO fix.
89 2006-12-10  Paul Eggert  <eggert@cs.ucla.edu>
91         * doc/autoconf.texi (Writing Autoconf Input): Renamed from
92         Writing configure.ac.
93         (Autoconf Input Layout): Renamed from configure.ac Layout.
94         (Recreating a Configuration): Renamed from config.status Invocation.
95         (Obsolete Recreation): Renamed from Obsolete config.status Use.
96         (acconfig Header): Renamed from acconfig.h.
97         (20th-century Autoconf 2): Renamed from Autoconf 2.13.
98         (Writing Testsuites): Renamed from Writing testsuite.at.
99         (Autom4te Cache): Renamed from autom4te.cache.
101         * BUGS: Remove mention of VPATH problem, since it's now documented
102         not to be a bug in the Autoconf build procedure itself, but rather
103         a problem with the proprietary `make' programs.
105         * doc/autoconf.texi (Build Directories): Add a cross reference
106         to VPATH and Make.
108         * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
109         * doc/standards.texi: Sync from gnulib.
111         * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
112         * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
113         * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
114         generated automatically.
116 2006-12-06  Paul Eggert  <eggert@cs.ucla.edu>
118         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
119         C 5.8 on Solaris 10.  Using -xc99=all rather than -xc99 bypasses
120         the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
122 2006-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
124         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
125         `CEOF$ac_eof' special marker, the awk script cannot contain a
126         line matching `^CEOF', so this is not needed any more.
127         * tests/torture.at (Substitute a newline): Expose the `%!_!# '
128         special marker in the test.
130 2006-12-06  Stepan Kasal  <kasal@ucw.cz>
132         * tests/tools.at (autom4te preselections): Use `find -newer';
133         remove one of the sleeps.
135         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
136         more readable, using ...
137         (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
139         * doc/autoconf.texi (autoheader Invocation): Do not double-
140         quote the parameter of `AH_BOTTOM' in the example.
142 2006-12-05  Stepan Kasal  <kasal@ucw.cz>
144         * doc/autoconf.texi (Configuration Headers): Remove the
145         example with multiple input files.
146         (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
147         multiple input files.
149 2006-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
151         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
152         creating the awk substitution script, handle one input line at a
153         time, so that the maximum length of a substituted (multi-line)
154         value is not limited by the size of the sed pattern space.
155         The trade-off is a slightly repetitive sed script.
156         * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
157         can only have up to 7 characters, due to Solaris 10 /bin/sed.
158         * tests/torture.at (Substitute a 2000-byte string): Increase the
159         test with several long lines, they should not be caught by sed
160         limits any more.
162         * tests/tools.at (autom4te preselections): New test, to flag
163         entries missing from autom4te.cfg.
164         Report by David Byron <dbyron@hheld.com>.
166         * tests/torture.at (Substitute a 2000-byte string): Actually use
167         AC_PROG_AWK, so the last change works as intended.
168         (Substitute and define special characters): Likewise.
169         (Substitute a newline): Likewise.
171         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
172         instead of `awk' consistently.
173         (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
174         * tests/torture.at (Torturing config.status): Test both the
175         result of AC_PROG_AWK and plain awk.
176         (Substitute a 2000-byte string): Likewise.
177         (Substitute and define special characters): Likewise.
178         (Substitute a newline): Likewise.
180 2006-12-04  Paul Eggert  <eggert@cs.ucla.edu>
182         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
183         can be assigned to a function pointer.  Problem reported by
184         Peter Palfrader in <http://bugs.debian.org/401377>.  Based on
185         part of a patch by Ralf Wildenhues in that same bug report.
187 2006-12-01  Paul Eggert  <eggert@cs.ucla.edu>
189         * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
190         * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
192 2006-12-01  Eric Blake  <ebb9@byu.net>
194         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
195         cross-compiling from cygwin to mingw.
196         Reported by Bob Rossi.  This resurrects the 2000-11-30 patch to
197         aclang.m4, which was mistakenly removed in the 2001-09-17 patch
198         to lib/autoconf/c.m4.
200 2006-12-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
202         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
203         string for more reliable failure.  Wrap the entire test that
204         causes the broken Solaris printf to dump core, in a subshell,
205         so the segmentation fault message is reliably suppressed.
206         Fix shell expansion errors by using /usr/ucb/echo always;
207         avoid an error on systems without it by another subshell.
208         Avoid m4 expansion of `$1'.  Set the zeroth argument of the
209         subshell-$as_echo to `as_echo', for better error message.
211 2006-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
213         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
214         `BASH_SOURCE' contain a newline, set them to empty, as they may
215         not be unset.
217 2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
219         Turn AC_FUNC_SETVBUF_REVERSED into a noop.  It's been obsolete for
220         years and is too hard to maintain now.  The last straw was
221         reported by Jerker Baeck in
222         <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
223         * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
224         * doc/autoconf.texi (Particular Functions): Move
225         AC_FUNC_SETVBUF_REVERSED from here...
226         (Obsolete Macros): ... to here.  Say that it does nothing now.
227         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
228         Turn into (almost) a no-op.
230         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
231         (AC_C_VOLATILE):
232         Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
233         These macros are obsolescent and new applications shouldn't need them.
234         * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
235         (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
236         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
237         (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
238         (AC_FUNC_VPRINTF): Likewise.
239         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
240         (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
241         * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
243         * doc/autoconf.texi (Setting Output Variables): Mention that
244         @VAR1@VAR2 has unspecified behavior.  Problem reported by
245         Ralf Wildenhues.
246         * NEWS: Mention this.
248         * Makefile.am: Put only a single '#' into the copyright notice,
249         so that it's also present in the output file.  Standardize wording
250         in makefile copyright notices to match GNU coding standards.
251         * bin/Makefile.am: Likewise.
252         * doc/Makefile.am: Likewise.
253         * lib/Makefile.am: Likewise.
254         * lib/freeze.mk: Likewise.
255         * lib/autoconf/Makefile.am: Likewise.
256         * lib/autoscan/Makefile.am: Likewise.
257         * lib/autotest/Makefile.am: Likewise.
258         * lib/m4sugar/Makefile.am: Likewise.
259         * man/Makefile.am: Likewise.
260         * tests/Makefile.am: Likewise.
261         * lib/emacs/Makefile.am: Remove copyright notice; it's just a
262         one-line file.
264 2006-11-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
266         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
267         in the sed script that mangles the awk script: delete up to the
268         first exclamation mark only.
269         * tests/torture.at (Substitute and define special characters):
270         Test '!' too.
272 2006-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
274         Rewrite config files generation: avoid quadratic growth in
275         the number of substituted variables by using awk instead of sed
276         for the bulk of the substitutions.
277         * NEWS: Mention this.
278         * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
279         forbidden in the output (and thus input) file.
280         * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
281         (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
282         generate just one large awk script for substitutions,
283         eliminating much of the earlier complexity, while adding some
284         new complexity.  Only expand the substitution templates at
285         configure time, for smaller configure script size.  If
286         _AC_SUBST_FILES are used, test 'awk' for working getline support
287         at config.status time.  If absent, interpolate through the
288         shell.  The awk script was written with much help
289         from Paolo Bonzini and Paul Eggert.
290         (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
291         (_AC_SED_FRAG_NUM): Likewise.
292         (_AC_SUBST_CMDS): Renamed from...
293         (_AC_SED_CMDS): ...this.
294         (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
295         * tests/torture.at (Substitute a 2000-byte string): Also
296         substitute a line with 1000 words, and a variable with several
297         long lines.
298         (Substitute and define special characters): Test awk special
299         characters, and put substitution input strings `@foo@' in the
300         output, to test that no recursion happens; test several other
301         combinations from Paolo Bonzini.
303 2006-11-25  Paul Eggert  <eggert@cs.ucla.edu>
305         * lib/autotest/general.m4 (AT_INIT): Undo recent changes
306         that replaced echo with AS_ECHO where this wasn't necessary.
307         Problem reportd by Ralf Wildenhues.
308         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
309         where "/usr/bin/printf '%s\n' S" dumps core if S is long.
310         This is Sun bug 4206210.  Problem reportd by Ralf Wildenhues.
312 2006-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
314         * lib/freeze.mk (GREP): Removed, no need to initialize this.
316 2006-11-21  Paul Eggert  <eggert@cs.ucla.edu>
318         * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
319         that traditional Awk lacks 3-arg "split".  It has it.
320         Mention that FS must be a single character, and a few other
321         99-byte limits of traditional Awk.
322         Mention that if (i in a) doesn't work with traditional Awk.
324 2006-11-18  Paul Eggert  <eggert@cs.ucla.edu>
326         * tests/autotest.at (BSx641-newline in command):
327         (BS-BS-newline in command, BSx640-newline in command):
328         (Newline-CODE-BS-newline in command):
329         (Single-quote-BS-newline in command):
330         (Single-quote-newline-BS-newline in command):
331         Use printf '%s\n' instead of echo, for portability to hosts
332         where echo interprets backslashes.  This will break on hosts
333         that lack printf, but for now let's assume all such hosts
334         are dead (if not, we should get reports of test failures).
336 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
338         'echo' has some portability problems, when given a first argument
339         with a leading '-', or when given any argument containing '\'.
340         Avoid using 'echo' in these cases.
341         * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
342         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
343         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
344         * lib/autotest/general.m4 (AT_INIT): Likewise.
345         * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
346         argument might be unportable.
347         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
348         * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
349         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
350         (_AC_FC_LIBRARY_LDFLAGS): Likewise.
351         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
352         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
353         (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
354         (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
355         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
356         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
357         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
358         (AC_PROG_MAKE_SET): Likewise.
359         * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
360         (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
361         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
362         (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
363         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
364         (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
365         (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
366         * bin/autoconf.as: Redo verbose flag implementation, as the old
367         scheme wouldn't work with AS_ECHO.
368         * lib/autotest/general.m4 (AT_INIT): Likewise.
369         * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
370         Don't use ECHO_T, since ECHO_N is now reliable.
371         * lib/autotest/general.m4 (AT_INIT): Likewise.
372         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
373         rather than using a here-document to put the script into a file.
374         (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
375         use AS_ECHO.
376         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
377         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
378         AS_ECHO_N rather than ECHO_N and ECHO_C.  This doesn't fix any
379         bug, but we might as well stop using ECHO_N and ECHO_C internally.
380         * lib/autotest/general.m4 (AT_SETUP): Likewise.
381         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
382         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
383         (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
384         operand, as AS_ECHO requires.  Avoid double file name expansion.
385         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
386         Don't set as_nl, since _AS_ECHO_PREPARE does that now.
387         (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
388         (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
389         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
390         Double-quote strings that would otherwise contain M4 comments.
391         * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
393         * configure.ac (AC_INIT): Bump to 2.61a.
394         * NEWS: Likewise.
396 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
398         Version 2.61.
400         * configure.ac (AC_INIT): Bump to 2.61.
401         * NEWS: Likewise.
403         * tests/autotest.at (Macro with backslash in a test title):
404         Comment out for now, as this tests neither fails nor passes
405         reliably.  Problem reported by Ralf Wildenhues.
407 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
409         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
410         in previous change, which caused test failures.
412 2006-11-16  Stepan Kasal  <kasal@ucw.cz>
414         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
415         code for --enable, --disable, --with, and --without to...
416         (_AC_INIT_PARSE_ENABLE): ... a new macro.
417         * doc/autoconf.texi (Package Options):
418         * NEWS: Document that AC_ARG_ENABLE allows dots, too.
420 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
422         Import these changes from config via gnulib:
424         2006-11-15  Ben Elliston  <bje@gnu.org>
426         From Josselin Mouette <joss@debian.org>:
427         * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
429         2006-11-08  Ben Elliston  <bje@gnu.org>
431         * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
433         2006-11-07  Steve Woodford  <scw@NetBSD.org>
434                     Ben Elliston  <bje@gnu.org>
436         * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
437         * build-aux/config.sub (sh5el): New basic_machine.
440         Import this change from coreutils:
442         2006-02-13  Jim Meyering  <jim@meyering.net>
444         * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
447         Import this change from gnustandards via gnulib:
449         2006-11-15  Karl Berry  <karl@gnu.org>
451         * standards.texi: core -> memory, throughout.
452         (CPU Portability): show correct example of calling write
453         on a char value; thanks to Paul Eggert for the code.
454         Both of these suggestions from Eugene Y. Vasserman.
457         Import these changes from texinfo via gnulib:
459         2006-11-08  Karl Berry  <karl@gnu.org>
461         * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
462           as well as pdf images, since they are supported in pdftex with
463           no further ado.
465         2006-11-05  Karl Berry  <karl@gnu.org>
467         * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
469 2006-11-13  Paul Eggert  <eggert@cs.ucla.edu>
471         * NEWS: Document the AC_ARG_WITH change.
473 2006-11-13  Bruno Haible  <bruno@clisp.org>
475         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
476         options, transliterate also dots to underscores.
477         (_AC_ENABLE_IF): Transliterate also dots to underscores.
478         * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
479         first argument may also contain dots.
481 2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
483         * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
484         benefit of platforms like Solaris+GCC where it is common to have a
485         non-working g++ installation.
487 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
488         and Joel E. Denny  <jdenny@ces.clemson.edu>
489         and Paul Eggert  <eggert@cs.ucla.edu>
491         * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
492         and non-portable sed scripts, and use $CONFIG_SHELL when invoking
493         ./micro-suite.
495 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
497         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
498         ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
499         Imported from a similar patch to gnulib by Bruno Haible.
501 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
503         * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
504         * doc/autoconf.texi (C Compiler): Document them.
505         * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
506         New macros, taken from gnulib.
508 2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
510         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
511         Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
512         Matthew Woehlke.
514 2006-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
516         * tests/torture.at (Configuring subdirectories): Do not skip
517         Automake 1.10 nor future Automake 11.1 (sic).
519 2006-10-26  Joel E. Denny  <jdenny@ces.clemson.edu>
520         and Stepan Kasal  <kasal@ucw.cz>
522         Handle special characters in test case titles correctly.
523         * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
524         properly.
525         (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
526         * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
527         argument.  Extend to check titles printed by ./micro-suite and
528         ./micro-suite -l and the title in micro-suite.log.
529         (Backquote in a test title,
530         Single-quote in a test title,
531         Double-quote in a test title): Don't expect failure anymore.
532         (Backslash in a test title): Put a non-whitespace character after the
533         backslash so that Bourne shells might actually see it as an escape
534         sequence.
535         (Brackets in a test title,
536         Pound in a test title,
537         Comma in a test title,
538         Quoted Macro in a test title,
539         Macro in a test title,
540         Macro with single-quote in a test title): New tests.
541         (Macro with backquote in a test title,
542         Macro with double-quote in a test title,
543         Macro with backslash in a test title): New tests expected to fail.
544         * tests/torture.at (#define header templates): M4-quote this title in
545         AT_SETUP call so that no M4 code is commented inadvertently somewhere.
546         The visible effect was a stray [] in the testsuite output.
548 2006-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
550         * doc/autoconf.texi (Limitations of Builtins): Do not invoke
551         `trap ... 0' inside a function, for AIX sh.
553 2006-10-26  Paul Eggert  <eggert@cs.ucla.edu>
555         * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
556         since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
557         5363) simply issues a warning when dividing by zero at compile
558         time.  Problem reported by Elias Pipping.
560 2006-10-26  Eric Blake  <ebb9@byu.net>
562         * THANKS: Update.
563         * doc/autoconf.texi (Evaluation Macros): Improve the example to
564         show effect on macros that expand with commas.
565         Reported by Joel E. Denny.
567         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
568         Also work with M4 1.4.8.
570 2006-10-25  Paul Eggert  <eggert@cs.ucla.edu>
572         * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
573         Jim Meyering.
575 2006-10-25  Stepan Kasal  <kasal@ucw.cz>
577         * tests/tools.at (autom4te --force): New test, verifies that
578         `--force' always rewrites the output file.
580 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
582         * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
583         needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.
585 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
587         * tools/trace.at (autoconf --trace: user macros): Test `$%'.
589 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
591         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
592         If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
593         AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
594         reported by Nelson H. F. Beebe for Coreutils 6.4.
596         * tests/tools.at (autoconf --trace: user macros): Remove test
597         for tracing multiline macros, since m4 1.4.7a uses a different
598         way to number lines.  Problem reported by Ralf Wildenhues.
600 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
602         * bin/autom4te.in (handle_m4): Do not redirect stdin to
603         /dev/null since the heuristics for interactive behaviour was
604         fixed in CVS m4.
606         * bin/autom4te.in: With --force, always refresh the output
607         file.  Problem reported by Greg Schafer <gschafer@zip.com.au>.
609         * bin/autoconf.as: Fix the verbose message at the end.
611 2006-10-23  Paul Eggert  <eggert@cs.ucla.edu>
613         * configure.ac (AC_INIT): Bump to 2.60c.
614         * NEWS: Likewise.
616 2006-10-22  Paul Eggert  <eggert@cs.ucla.edu>
618         * NEWS: Version 2.60b.
620         Import this change from Texinfo:
621         2006-10-15  Karl Berry  <karl@gnu.org>
622         * build-aux/texinfo.tex: automake 1.10
624         * NEWS: Remove AC_CACHE_CHECK_INT.
625         * doc/autoconf.texi (Caching Results): Likewise.
626         * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
627         AC_CACHE_CHECK_INT, since it's no longer public.
628         * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
629         * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
631 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
633         * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
635 2006-10-19  Eric Blake  <ebb9@byu.net>
637         * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
638         (m4_maketemp): Avoid warnings with M4 1.9a.
639         * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
640         m4_mkstemp.
641         * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
642         * NEWS: Likewise.
644 2006-10-16  Eric Blake  <ebb9@byu.net>
646         * doc/autoconf.texi (Setting Output Variables): Fix typo.
648         * bin/autoconf.as (version): Reword to match GNU Coding
649         Standards.
650         * bin/autoheader.in (version): Likewise.
651         * bin/autom4te.in (version): Likewise.
652         * bin/autoreconf.in (version): Likewise.
653         * bin/autoscan.in (version): Likewise.
654         * bin/autoupdate.in (version): Likewise.
655         * bin/ifnames.in (version): Likewise.
657 2006-10-14  Stepan Kasal  <kasal@ucw.cz>
659         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
660         looking for special shell characters.
661         * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
662         macro defined by AS_VAR_PUSHDEF before passing it as a
663         parameter.
664         * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
665         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
666         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
667         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
668         (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
669         Likewise.
670         * lib/autotest/general.m4 (AT_INIT): Quote parameters of
671         AS_VAR_* properly.
672         * tests/m4sh.at (AS_LITERAL_IF): New test.
674 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
676         (Imported from Automake.)
677         * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
678         which incorrectly sets the mode of an existing destination
679         directory.  In some cases the unpatched install-sh could do the
680         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
681         system.  We hope this is rare in practice, but it's clearly worth
682         fixing.  Problem reported by Alex Unleashed in
683         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
684         Also, don't bother to check for -m bugs unless we're using -m;
685         suggested by Stepan Kasal.
687 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
689         Import this change from Automake:
691         2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
692         * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
693         is enabled by default with gnu and gnits strictness.
694         Report from Bruno Haible.
696         2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
697         * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
698         gnu and gnits modes.
700         Import this change from Config:
702         2006-09-20  Ben Elliston  <bje@gnu.org>
703         * build-aux/config.sub (score, score-*): New.
705         Import this change from Gnulib:
707         2006-09-16  Karl Berry  <karl@gnu.org>
708         * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
709         to avoid sectioning errors.
711         Import these changes from Texinfo:
713         2006-10-04  Karl Berry  <karl@gnu.org>
714         * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
715         (\quoteexpand): rename to \rquoteexpand.
716         (\codequoteleft): new def, to look for @set codequotebacktick.
717         (\lquoteexpand, \quoteexpand): new defs.
718         (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
719         (\code): must use new \...Char values, since now ` is active.
721         2006-08-26  Karl Berry  <karl@gnu.org>
722         * build-aux/texinfo.tex (\textdegree): New command.
724         2006-08-12  Karl Berry  <karl@gnu.org>
725         * build-aux/texinfo.tex (error \box0): smaller font.
727 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
729         * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
731 2006-10-13  Stepan Kasal  <kasal@ucw.cz>
733         * doc/autoconf.texi (Autoheader Macros): Warn that the text
734         added to the template can get mangled.
736 2006-10-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
738         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
739         include the default headers, and redefine obstack_chunk_alloc
740         and obstack_chunk_free.  Fixes false failure with glibc.
742 2006-10-12  Paul Eggert  <eggert@cs.ucla.edu>
744         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
745         for backward compatibility with Libtool 1.5.22.  Problem reported
746         by Ralf Wildenhues.
748 2006-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
750         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
751         AC_PROG_CC.
752         Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
754 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
756         * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
757         the NonStop platform.
758         * doc/autoconf.texi (Posix Variants): Likewise.
759         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
761         * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
762         (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
763         (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
764         Use a better substitute, by inspecting the output of "ls"
765         rather than just using ":".
766         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
767         rather than AS_EXECUTABLE_P, since we needn't worry about
768         non-regular files here.
770         * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
771         due to configuration hassles with this.  See Tonya Underwood's report
772         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
773         * doc/autoconf.texi (Special Shell Variables): Likewise.
775 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
776             Stepan Kasal  <kasal@ucw.cz>
778         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
779         (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
781 2006-10-11  Stepan Kasal  <kasal@ucw.cz>
783         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
784           initialization which is not inherited through the environment
785         (_AS_BOURNE_COMPATIBLE): ... to this new macro.
786         (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
788 2006-10-09  Paul Eggert  <eggert@cs.ucla.edu>
790         * doc/autoconf.texi (Limitations of Usual Tools): Describe
791         problems with mkdir -p -m.
793 2006-10-06  Paul Eggert  <eggert@cs.ucla.edu>
795         * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
796         comment about ac_cpp_err; it was incorrect, and anyway
797         ac_cpp_err is being removed below.
798         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
799         set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
800         are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
801         nobody uses it.
802         (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
803         with werror_flag and conftest.err and so forth.  This is more
804         compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
805         and anyway the user shouldn't normally want to see this gorp logged.
806         Problem reported by Ralf Wildenhues.
807         * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
808         empty, not 'no', since the rest of the code uses 'test -z'.
810 2006-10-04  Paul Eggert  <eggert@cs.ucla.edu>
812         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
813         Use a single call to AC_DO_TOKENS rather than multiple, for
814         efficiency.
815         (_AC_LINK_IFELSE): Test that resulting file is executable.
816         Problem reported by mwoehlke in
817         <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
819         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
820         than creating a file to use with test -x; this is much faster.
822 2006-10-02  Bruno Haible  <bruno@clisp.org>
824         * lib/autom4te.in (Automake-preselections): Add
825         AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
827 2006-09-27  Stepan Kasal  <kasal@ucw.cz>
829         * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
830         standard error, `experr' should be used, not `expout'.
832 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
834         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
835         fseeko testing program twice; just use the earlier result.
836         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
837         Set cache var to 'unknown' (not 'no') if leaving the macro unset
838         still doesn't let the program compile.
839         (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
840         failed.
842         * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
843         (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
844         include it, without including anything else.
845         (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
846         expressions.
847         (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
849 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
851         * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
852         `error.h', and include it, for a `error_at_line' prototype.
853         Use a nonempty format string in the link test.
854         * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
855         for a declaration of wait3.
857 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
859         * NEWS: AC_CHECK_DECL now also works with aggregate objects.
860         * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
861         can apply to constants too, and that it checks for macro defns.
862         * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
863         and simply cast the identifier to void.  This handles structure
864         values.  Problem reported by Ralf Wildenhues.
865         * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
867 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
869         * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
870         structure, and function symbols.
872 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
874         * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
875         member.
877 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
879         * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
880         * README: Likewise.
881         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
883 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
884         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
886         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
887         warnings (uninitialized value).
888         (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
889         present.
890         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
891         parentheses.
892         (AC_STRUCT_TM): Likewise, avoid unused variables.
894 2006-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
896         * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
897         (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
898         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
899         * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
900         Report by Olly Betts.
902 2006-09-19  Eric Blake  <ebb9@byu.net>
904         * m4/m4.m4: Change copyright.
905         * configure: Regenerate.
906         * Makefile.in: Likewise.
907         * bin/Makefile.in: Likewise.
908         * doc/Makefile.in: Likewise.
909         * lib/Makefile.in: Likewise.
910         * lib/Autom4te/Makefile.in: Likewise.
911         * lib/autoconf/Makefile.in: Likewise.
912         * lib/autoscan/Makefile.in: Likewise.
913         * lib/autotest/Makefile.in: Likewise.
914         * lib/emacs/Makefile.in: Likewise.
915         * lib/m4sugar/Makefile.in: Likewise.
916         * man/Makefile.in: Likewise.
917         * tests/Makefile.in: Likewise.
919         * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
920         * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
921         * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
922         --error-output, to avoid warnings with M4 2.0.
924 2006-09-19  Stepan Kasal  <kasal@ucw.cz>
926         * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
927           consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
928         * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
930 2006-09-15  Stepan Kasal  <kasal@ucw.cz>
932         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
933         expansion of AC_CHECK_FUNCS.
935 2006-09-14  Stepan Kasal  <kasal@ucw.cz>
937         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
938         mistaken comment: the path has to be relative; do not use
939         the path at runtime.
941 2006-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
943         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
944         argument to `--prefix' for sub-configure scripts.
945         Pass `--silent' to sub-configure scripts.
946         * tests/torture.at (Configuring subdirectories): Add tests
947         for both changes.
948         * doc/autoconf.texi (Setting Output Variables): Fix example to
949         not show `--silent' being passed to a `configure' re-run.
951 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
953         * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
954         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
955         for the existence of the directory at configure-time.  That's
956         too late, anyway.  Problem reported by Stefan Seefeld.
958         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
959         7.1.4 /usr/bin/posix/sh described by Tim Rice in
960         <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
962 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
964         * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
965         works with GNU M4 1.4.3 again; make the normalized form
966         match the current m4 message; fix the description.
967         * test/tools.at (autom4te cache): Adapt to the change.
969 2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
971         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):  Add year_2050_test
972         to catch glibc bug 2821
973         <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
975         Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
976         AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
977         AC_CHECK_FUNCS.  Don't check for stdlib.h, since we now
978         assume C89.
980 2006-09-08  Stepan Kasal  <kasal@ucw.cz>
982         * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
983         preselections ...
984         (Autoconf): ... here.
985         (Autoscan-preselections): Delete.
987 2006-09-07  Stepan Kasal  <kasal@ucw.cz>
989         * lib/autom4te.in (Automake-preselections): Preselect
990         AM_ENABLE_MULTILIB.
992 2006-09-05  Paul Eggert  <eggert@cs.ucla.edu>
994         * doc/autoconf.texi (Preset Output Variables): srcdir and
995         top_srcdir are not necessarily relative.  Problem reported
996         by Dries Kimpe.
998 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1000         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
1001         f90/f95 because the latter drivers of AIX Fortran 9.1 do not
1002         accept files with extension `.f'.  For consistency, also prefer
1003         xlf over f77.
1004         * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
1005         from last patch.
1007 2006-09-05  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
1009         * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
1010         of ERLANG_LIB_VER_* variables.
1011         * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
1012         variables.
1014 2006-09-03  Paul Eggert  <eggert@cs.ucla.edu>
1015         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1017         * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
1018         bugs of Bash 2.01 and 2.05a.
1019         (Fortran Compiler): Document that AC_PROG_CC should be called
1020         before AC_PROG_FC, due to a bug in Autoconf.
1022 2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
1024         * NEWS: New macro AC_CACHE_CHECK_INT.  It replaces the
1025         old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
1026         except the first two arguments are reversed.
1027         * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
1028         (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
1029         caches nor outputs a diagnostic.  Suggested by Bruno Haible.
1030         * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
1031         equivalent to the old AC_COMPUTE_INT.
1032         (AC_COMPUTE_INT): No longer caches or reports.  New signature.
1033         All uses changed to AC_CACHE_CHECK_INT.
1034         * tests/base.at (AC_CACHE_CHECK_INT): New test.
1035         * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
1037 2006-08-31  Paul Eggert  <eggert@cs.ucla.edu>
1039         * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
1040         and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
1041         programs should use their Gnulib counterparts.
1042         * doc/autoconf.texi (Particular Functions): Likewise.
1043         (Macro Names, testsuite Invocation): Replace uses of these
1044         obsolete macros with uses of non-obsolete macros.
1046 2006-08-29  Eric Blake  <ebb9@byu.net>
1048         * configure.ac (AC_INIT): Bump to 2.60b.
1049         * NEWS: Update.
1051 2006-08-28  Eric Blake  <ebb9@byu.net>
1053         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
1054         mistakenly swapped on 2006-08-15.
1056 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
1058         * NEWS: Version 2.60a.
1060 2006-08-25  Stepan Kasal  <kasal@ucw.cz>
1062         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
1063         file created by the PGI compiler.
1065 2006-08-25  Noah Misch  <noah@cs.caltech.edu>
1067         * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
1068         simplify the code.
1070 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
1072         Fix Lex library problem reported to us by Julio Garvia.
1073         * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
1074         for the default, which the user can override.
1075         * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
1076         deal with LEXLIB.
1077         (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
1078         didn't work if some values were cached but not others.  Test for
1079         broken lex libraries like native ia64-hp-hpux11.22; see
1080         <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
1081         work around the problem by preferring an empty LEXLIB to -lfl or
1082         -ll.  Let the user set LEXLIB='' to indicate no library needed.
1084         * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
1085         * README: Likewise.
1086         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1088 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1090         Rework to use more-modern build style.
1091         Many files are renamed; all uses of their names were changed.
1092         * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
1093         * .x-sc_useless_cpp_parens: New file.
1094         * build-aux/config.guess: Renamed from config/config.guess.  Update.
1095         * build-aux/config.sub: Renamed from config/config.sub.  Update.
1096         * build-aux/elisp-comp: Renamed from config/elisp-comp.
1097         * build-aux/install-sh: Renamed from config/install-sh.  Update.
1098         * build-aux/mdate-sh: Renamed from config/mdate-sh.
1099         * build-aux/missing: Renamed from config/missing.
1100         * build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
1101         * build-aux/vc-list-files: Renamed from config/vc-list-files.
1102         * config/Makefile.am: Removed.
1103         * config/mkinstalldirs: Removed.
1104         * config/move-if-change: Removed.
1105         * m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
1106         * Makefile.am (SUBDIRS): Remove config.
1107         (ACLOCAL_AMFLAGS): Include from m4, not config.
1108         (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
1109         (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
1110         (autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
1111         Fail if there's an error.
1112         * Makefile.cfg (move_if_change): Remove.
1113         (wget_files): Remove.
1114         (cvs_executable_files): New macro.
1115         (cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
1116         (executable-update): Use $(cvs_executable_files).
1117         (local-checks-to-skip): Remove.
1118         * Makefile.maint: Merge from coreutils, plus add our own changes
1119         (gzip_rsyncable): New macro.
1120         (GZIP_ENV): Use it.
1121         (CVS_LIST): Use build-aux/vc-list-files.
1122         (VERSION_REGEXP): New macro.
1123         (local-checks-available): Add patch-check, $(syntax-check-rules),
1124         check-AUTHORS.
1125         (syntax-check-rules): Compute dynamically.
1126         (sc_cast_of_x_alloc_return_value): Work even if no source files.
1127         (sc_cast_of_alloca_return_value): Likewise.
1128         (sc_prohibit_atoi_atof): Simplify regexp.
1129         (sc_no_if_have_config_h, sc_require_config_h):
1130         (sc_prohibit_assert_without_use,
1131         (sc_obsolete_symbols): Check for O_NDELAY.
1132         (sc_texi_notab): Remove.
1133         (sc-changelog): Don't make an exception for '----' lines.
1134         (.re-list): Remove, so we don't have a junk file behind.
1135         (sc_system_h_headers): Remove the need for .re-list.
1136         (sc_the_the):  New rule.
1137         (sc_tight_scope): Simplify.
1138         (sc_trailing_blank): Renamed from sc_trailing_space.
1139         (longopt_re): New macro.
1140         (sc_two_space_separator_in_usage): New rule.
1141         (sc_unmarked_diagnostics): Look at all files under CVS.
1142         (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
1143         (news-date-check, changelog-check): Version is OK.
1144         (po-check): Look for lib files even if not in CVS.
1145         (copyright-check): Use $() not ``.
1146         (maintainer-distcheck): Do not depend on changelog-check.
1147         (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
1148         Also check for -Wpointer-arith.
1149         (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
1150         (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
1151         Remove.
1152         (announcement): Add --gpg-key-id arg.
1153         (cvs-sv): Remove.
1154         (move_if_change): Just use mv.
1155         (local_updates: Remove wget-update, po-update.
1156         (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
1157         (config.guess-url_prefix, config.sub-url_prefix): Remove.
1158         (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
1159         (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
1160         ($(get-targets)): Remove.
1161         (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
1162         (gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
1163         (cvs-update): Get from gnulib.
1164         (emut_upload_commands): gnupload is in build-aux now.
1165         (alpha beta major): Add changelog-check.  Check version.
1166         * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
1167         (AC_CONFIG_FILES): Remove.
1168         * bin/autoconf.as: Add spaces to avoid distcheck warning.
1169         * config/announce-gen: Sync from coreutils.
1170         * doc/make-stds.texi: Sync from gnulib.
1171         * doc/standards.texi: Likewise.
1172         * man/Makefile.am: Adjust for config -> build-aux renaming.
1173         * tests/Makefile.am: Prefer $(FOO) to @FOO@.
1174         * tests/local.at: Adjust from config -> build-aux renaming.
1175         * tests/tools.at: Likewise.
1176         * tests/torture.at: Likewise.
1178         * NEWS: The C99 check now tests for vararg macros and 64-bit
1179         preprocessor ints.
1180         * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
1181         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
1182         64-bit preprocessor ints.  Check for static initialization of
1183         long long.  Remove unnecessary casts.
1185 2006-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1187         * doc/autoconf.texi (Particular Programs): Mention that
1188         @INSTALL@ and @MKDIR_P@ may vary for different output files.
1189         Reported by Alexandre Duret-Lutz.
1191 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1193         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
1194         -lgcc?* and -lSystem, for Darwin/MacOS X.  Problem reported by
1195         Bill Northcott in
1196         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
1198 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
1200         * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
1201         pacify insanely picky compilers.  Problem reported by Eric Blake.
1203         * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
1204         longer supported by Sun.
1206 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
1208         * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
1209         rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
1210         -Wundef -Werror".  Problem reported by David Fang in
1211         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
1212         * doc/autoconf.texi (Header Templates, Default Includes):
1213         (Particular Functions, Generic Functions, Header Portability):
1214         (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
1215         (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
1216         (Present But Cannot Be Compiled, Preprocessor Symbol Index):
1217         Prefer #ifdef to #if.
1218         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
1219         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
1220         (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1221         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
1222         Likewise.
1223         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1224         (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
1225         * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
1226         (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1227         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
1228         S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
1229         this.
1231 2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
1233         * doc/autoconf.texi (Limitations of Usual Tools): Document sed
1234         problems with arg script text that doesn't end in newline, and
1235         with '-e a...'.  Problems reported by Ralf Wildenhues.
1237 2006-08-12  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
1239         * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
1240         check for libXt by a check for libX11.
1242 2006-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1244         * doc/autoconf.texi (config.status Invocation): Adjust according
1245         to last change.
1247 2006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1249         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
1250         --help' should mention that `--version' outputs configuration
1251         settings.  Report by Bruno Haible.
1253 2006-08-06  Paul Eggert  <eggert@cs.ucla.edu>
1255         Fix test suite failures reported by Pierre in
1256         <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
1257         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
1258         the compiler created a file "b.out" when it didn't create anything
1259         at all.
1260         * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
1261         Discard stderr too, when invoking the test script.
1263 2006-08-05  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
1265         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
1266         in the restoring of the werror flag.
1268 2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
1270         * doc/autoconf.texi (Volatile Objects): Be even a little
1271         less skeptical about "volatile", after discussion with
1272         Bruno Haible on bug-gnulib.
1273         (Limitations of Usual Tools): Warn about sed stripping
1274         leading white space from text.  From Bruno Haible.
1276 2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
1278         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
1279         compiler complains about it, even if things works after the
1280         complaint.  Problem reported by Peter O'Gorman.
1282         * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
1283         CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
1284         Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
1286 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
1288         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
1289         after -R regardless of host.  Patrick Welche reports that this
1290         fixes things on NetBSD 3.99.
1292         * NEWS: Recommend M4 1.4.5.
1293         * README: Likewise.
1294         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1295         * tests/tools.at (autom4te cache): Update wording of diagnostic
1296         to match M4 1.4.5.
1298 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
1300         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
1301         under AC_C_VOLATILE.
1302         (Volatile Objects): Be a little less skeptical about what
1303         "volatile" means.  Derived from thoughts by Ben Pfaff in
1304         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
1306 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1308         * doc/autoconf.texi: Fix some typos.
1310 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
1312         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1313         more globally, since the 2006-06-30 patch didn't suffice.  Problem
1314         reported by Keith Marshall.  Also, don't bother with builddir2,
1315         since it shouldn't be needed any more.
1317 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
1319         * doc/autoconf.texi (Generic compiler characteristics):
1320         Document AC_COMPUTE_INT.  Fix wrong statements on Default
1321         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
1323         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
1324         (_AC_COMPUTE_INT): Add obsoletion warnings.
1325         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
1326         AC_COMPUTE_INT.
1328         * NEWS: Document change.
1330 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
1332         * doc/autoconf.texi (Volatile Objects): New section.
1334         * NEWS: Document previous change.
1336 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
1338         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1339         Require that long long int be at least 64 bits wide.  C99 requires
1340         this and enough programs depend on it so we should check for it.
1341         Bruno Haible reports in
1342         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
1343         that long long int is 32 bits wide with some nonstandard compilers.
1344         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
1346 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
1348         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1349         to a nonexistent file, so that we don't have to worry about
1350         a local site configuration that doesn't use /usr/local.
1351         Problem reported by Keith Marshall in
1352         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
1354 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1356         * doc/autoconf.texi: Be more consistent about using @acronym with
1357         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
1358         quite right (it talked about "OSF/Tru64", even though the
1359         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
1360         and it even mentioned "OSF 4"!) and at this point there's little
1361         reason to talk about OSF any more, since it died in 1994.
1362         (Specific Compiler Characteristics): Simplify example of
1363         negative-size array.
1364         (File Descriptors): Reorder to make the text flow better.
1365         Remove joke about "appreciate the various levels"; I didn't get it.
1366         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
1367         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
1368         (File Descriptors, Limitations of Usual Tools):
1369         Tone down the advice against renaming or removing open files.
1370         (Limitations of Usual Tools): Add a new section, on 'rm'.
1372 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
1374         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
1375         -lXt in LIBS, idea from Karsten Hopp; this was due since
1376         this change:
1378         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
1379         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1380         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1381         (which belong to Xt, not X itself).  See Debian bug 327655.
1383 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1385         * configure.ac (AC_INIT): Bump to 2.60a.
1386         * NEWS: Update.
1388 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1390         Version 2.60.
1392         * configure.ac, NEWS: Update.
1394 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1396         * config/texinfo.tex: Sync from upstream.
1398         * bin/autom4te.in (handle_traces): Transform the `@S|@'
1399         quadrigraph correctly in traces.
1401         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
1402         Fix typos.
1404         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
1405         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
1406         not defined.
1407         * doc/autoconf.texi (Changed Directory Variables): New node,
1408         to document the whole `datarootdir' business a bit better.
1409         * NEWS: Update.
1410         * tests/torture.at (datarootdir workaround): Extend test.
1411         Prompted by report by Alexandre Julliard.
1413 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
1415         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
1416         when using default mode of IBM C 6 for AIX.  Problem and two-line
1417         fix reported by Larry Jones.
1419 2006-06-22  Alexandre Julliard <julliard@winehq.org>
1421         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
1422         about literal '${datarootdir}' if a definition is found in the
1423         output file.
1425 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
1427         * NEWS: Use "M4" rather than "m4" when appropriate.
1428         Problem reported by Eric Blake.
1429         * doc/autoconf.texi: Likewise.
1430         Use @acronym around BSD, GCC, and GNU when appropriate.
1431         (Why GNU M4): Renamed from "Why GNU m4".
1432         (Redefined M4 Macros): Mention that Posix
1433         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
1434         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
1435         to int.
1437 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1439         * bin/autom4te.in (handle_output): Do not forbid the empty
1440         pattern.
1441         * tests/tools.at (autoconf: the empty token): New test.
1443 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
1445         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
1446         calls, so that we do not care whether they are LIFO or FIFO;
1447         in the m4_wrap, do not check which diversion is the topmost
1448         one, just check that the stack is balanced at the end.
1449         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
1450         base diversion forever--pop the previous diversion before
1451         opening the new one; consequently, remove the m4_wrap call.
1452         * lib/autotest/general.m4 (AT_INIT): Likewise.
1453         * tests/m4sugar.at: Do not use
1454         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
1456 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1457         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1459         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
1460         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
1461         Rework example of m4wrap token-pasting trouble so that it doesn't
1462         care whether it's LIFO or FIFO.
1463         Fix some "contrary to"s that are awkward in English.
1465 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1467         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
1468         to `yes' instead of `int$1_t' if the type is found, for more
1469         consistent configure output (where $1 is the number of bits).
1470         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
1471         Suggested by Bruno Haible.
1473         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
1474         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
1475         with system headers.  Report by Bruno Haible.
1477 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1479         * config/config.guess, config/config.sub: Sync from upstream.
1481         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
1482         in order to avoid picking up an older installed frozen m4sh.m4f.
1483         Besides an outdated shell startup, this could have been created
1484         by an earlier M4 version with incompatible frozen file format.
1486 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
1488         * README: Recommend m4 1.4.4 instead of 1.4.3..
1489         * doc/autoconf.texi: Likewise.
1490         (Special Chars in Names): Say that $(.FOO) is portable, as
1491         suggested by Stepan Kasal.
1492         (Installation Directory Variables, Build Directories):
1493         (Automatic Remaking, Subdirectories, Fortran Compiler):
1494         (Making testsuite Scripts, Defining Directories):
1495         Quote variable usages better.
1496         (Making testsuite Scripts): Add clean-local rule to makefile
1497         snippet, by Eric Blake.
1498         (Installation Directory Variables): Fix table item font.
1499         Reword slightly to clarify.  Generalize advice about
1500         not using special characters to include all file-related
1501         vars, not just VPATH.
1502         (Special Chars in Variables): Warn about special characters in
1503         $(srcdir) too.
1504         (Assignments): Clarify default-value example as suggested by
1505         Ralf Wildenhues in
1506         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
1507         (Special Shell Variables): Note leading ./ or ../, as suggested
1508         by Eric Blake.
1509         (Limitations of Builtins): Under cd, warn about CDPATH.
1510         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
1511         Ralf Wildenhues.
1513 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1515         * doc/autoconf.texi (Configuration Actions): Remove duplicate
1516         `@var', for texi2html.
1517         (Systemology): Some more word wrapping, for DVI output.
1518         (autom4te Invocation): The short option for `--melt' is `-M',
1519         not `-m'.
1521 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
1523         * doc/autoconf.texi: More formatting and English tweaks,
1524         many suggested by Ralf Wildenhues.
1525         Reword to avoid "@code{...}'s" and the like, since it's ugly
1526         with Emacs info mode.  discontents -> woes.
1527         Put a few "will"s back.  time stamp -> timestamp.
1528         side-effect -> side effect.
1530 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
1532         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
1533         Warn about $@ not persisting.  Problem reported by Julien Danjou in
1534         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
1535         (Special Chars in Names): Renamed from Leading _ in Macro Names.
1536         Mention other special chars, too.
1538 2006-06-14  Eric Blake  <ebb9@byu.net>
1540         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
1542 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
1544         * doc/autoconf.texi: Some systematic minor improvements, as
1545         follows.  Use "makefile" when talking about makefiles
1546         generally (which might be named "makefile" or "Makefile" or even
1547         "foo.mk"), "Makefile" when talking about a specific makefile
1548         called "Makefile".  This unclutters the text from weird quotes
1549         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
1550         values" rather than "@var{foo}s" and similar constructs containing
1551         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
1552         English-language improvements.  Change the prefix "sub-" to "sub"
1553         and "re-" to "re".
1554         Put blank lines around examples more consistently.
1555         Avoid "rather" and "very" as intensifiers.
1556         Avoid "will" as an auxiliary.
1557         (Limitations of Make): Split this node into....
1558         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
1559         (Leading _ in Macro Names, Backslash-Newline-Newline):
1560         (Backslash-Newline Comments, Long Lines in Makefiles):
1561         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
1562         (obj/ and Make, make -k Status, VPATH and Make):
1563         (VPATH and Double-colon, $< in Explicit Rules):
1564         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
1565         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
1566         New nodes, resulting from splitup of Limitations of Make.
1567         All cross-references changed.  Raise the top node from
1568         a section to a chapter, and all subnodes accordingly.
1569         Redo the introductory wording to match the new organization.
1570         (Installation Directory Variables): Use an example that is
1571         closer to what Autoconf actually does.  Mention that VPATH's
1572         value should not contain metacharacters or white space.
1573         (Fortran Compiler): Fix a VPATH bug in an example.
1574         (Leading _ in Macro Names): Mention that this problem is no longer
1575         of practical concern.
1576         (VPATH and Make): Reword the advice to make it clearer
1577         that Autoconf and Automake support VPATH in non-GNU make, but
1578         many packages have bugs in this area.
1579         ($< in Explicit Rules): Refer to Build Directories rather
1580         than using a (non-VPATH-safe) example.
1581         (Automatic Rule Rewriting): Mention the sort of disaster that
1582         can ensue with Solaris-style rule rewriting with VPATH.
1584 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1586         * doc/install.texi (Compilers and Options): Weaken the
1587         suggestion to use GNU make for VPATH builds.
1589         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
1590         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
1592         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
1593         in regular expression.
1595 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1597         * doc/autoconf.texi (Installation Directory Variables):
1598         Drop extra @samp from `@table @samp' item.
1599         (Limitations of Usual Tools): Comment fix.
1600         Do not nest @samp just to point to other table items.
1601         (Writing testsuite.at) <AT_CHECK>: The second argument to
1602         `@dvar' is already @samp'ed.
1603         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
1604         do not use @var in the second argument.
1606 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
1608         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
1609         $as_shell.exe too.  Problem reported by Andreas Buening in
1610         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
1612 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1614         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
1615         `unused variable' compiler warning, for `-Wall -Werror'.
1616         Reported by Jaap Haitsma in
1617         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
1619 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
1621         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
1622         case the compiler dumps core.  Problem reported for
1623         OpenServer 5.0.7 by Tim Rice in
1624         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
1625         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
1626         Likewise.
1628 2006-06-06  Tim Rice <tim@multitalents.net>.
1630         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
1631         "ERROR" only shows up in "make check" output if there is an
1632         error.
1634 2006-06-06  Eric Blake  <ebb9@byu.net>
1636         * tests/tools.at (automatically allowed tokens): Fix typo.
1638 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
1640         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
1642         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
1643         typically overflows on x86 CPUs, even though the C standard
1644         requires otherwise.
1646 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1648         * configure.ac (AC_INIT): Bump to 2.59e.
1649         * NEWS: Update.
1651 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1653         Version 2.59d.
1655         * config/texinfo.tex: Sync from upstream.
1657         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
1658         seen, invoke libtoolize with `--ltdl' argument.
1659         * lib/autom4te.in (Autoreconf-preselections): Adjust.
1660         * NEWS: Update.
1661         Suggested by Eric Blake.
1663 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
1665         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
1666         reported by Ralf Wildenhues.
1667         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
1669 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1671         * THANKS: Update.
1673 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
1675         * doc/autoconf.texi: Modernize some of the references to Solaris.
1677 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
1679         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
1680         message issued by AC_REQUIRE.
1681         * tests/m4sugar.at: Check m4_require's error message.
1682         * tests/base.at: Check AC_REQUIRE's error message.
1683         * tests/local.at (AT_CHECK_M4): New macro, almost identical
1684         to...
1685         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
1686         AT_CHECK_M4.
1687         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
1688         `expout' as the last parameter.
1689         * tests/tools.at: Adapt to the above change.
1691 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
1693         * doc/autoconf.texi (Limitations of Usual Tools): Correct
1694         information about race-free implementations of mkdir.
1696 2006-06-04  Eric Blake  <ebb9@byu.net>
1698         * bin/autoreconf.in (help): Document M4 environment variable.
1699         * bin/autoconf.as (Usage): Likewise.
1700         * bin/autom4te.in (help): Likewise.
1701         * doc/autoconf.texi (autom4te Invocation): Likewise.
1703 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
1705         * NEWS: GNU make now recommended for VPATH builds.
1706         Mention that some macros are now documented to be obsolescent.
1707         * doc/autoconf.texi:
1708         Prefer "current" to "modern" to describe
1709         currently-used (albeit perhaps old-fashioned) hosts.
1710         Mention which ancient features no longer need to be worried about.
1711         setgid -> set-group-ID
1712         setuid -> set-user-ID (these are the Posix terms)
1713         Fix some misuses of "only".
1714         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
1715         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
1716         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
1717         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
1718         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
1719         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
1720         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
1721         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
1722         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
1723         Mention that these macros are obsolescent.
1724         (Installation Directory Variables): shall -> should
1725         (File Descriptors): Mention that 0, 1, 2 might get reopened.
1726         Mention that it's now safe to use 3 and 4.
1727         (Limitations of Usual Tools): cp -r is now specified by Posix.
1728         Omit longwinded and obsolescent discussion of cp -f.
1729         Modernize discussion of expr, ls.
1730         (Limitations of Make): Modernize discussion of VPATH builds.
1731         Mention $? as a workaround in some cases.
1732         * doc/install.texi (Basic Installation):
1733         Mention "./configure; make; make install" first.  Be more
1734         specific about why this file is generic.  Remove unnecessary
1735         parens.  Remove misleading "only".  Remove obsolete advice
1736         about csh.  Don't say "configure" takes awhile; say it
1737         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
1738         and CC=c99 rather than CC=c89, as these are blessed by current
1739         Posix.  Recommend GNU make if doing a VPATH build.
1741 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
1743         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
1744         examples involving shell prompts.
1746 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
1747         and Paul Eggert  <eggert@cs.ucla.edu>
1749         * doc/autoconf.texi (Here-Documents): Add details about the
1750         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
1751         use "here-documents" instead of "here documents".
1753 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1755         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
1757 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
1759         * doc/autoconf.texi (File System Conventions): Warn about ":"
1760         anywhere in directory names.
1762 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
1764         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
1765         about quoting the case statement, just in case.
1766         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
1767         was fixed in ksh93g; reported by Ralf Wildenhues.
1769 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
1771         * doc/autoconf.texi (System Services): Do not document
1772         overriding EXEEXT via ac_cv_exeext=ext.
1773         (Particular Programs) <AC_PROG_MKDIR_P>:
1774         Document that ${MKDIR_P} understands --.
1775         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
1776         comment.
1778 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1780         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
1781         argument with leading hyphen.  Problem reported by Paul Eggert.
1783 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
1785         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
1786         about quoting ac_try: quote all of it, if any of it seems suspicious.
1787         This means we don't have to worry about ${ or sed any more.
1788         Also, double-quote the case statement, to work around misuses via
1789         underquoting as reported by Ralf Wildenhues in
1790         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
1791         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
1792         undocumented and dangerous macro.
1793         Problem reported by Ralf Wildenhues in
1794         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
1796 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1798         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
1799         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
1800         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
1802 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
1804         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
1805         since evidently some packages rely on the old, broken behavior.
1806         Problem reported by Ralf Wildenhues in
1807         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
1808         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
1809         pre-2006-05-26 definitions, but leave in the comments that
1810         these macros are dangerous and should not be used.
1811         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
1812         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
1813         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
1814         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
1815         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
1817 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
1819         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
1820         the use of 'tr', since this is our only use of 'tr'.
1822 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1823         and Paul Eggert  <eggert@cs.ucla.edu>
1825         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
1826         Don't assume 'grep' works on long lines, since AIX grep doesn't.
1828 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1830         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
1831         the output file in the `${datarootdir}' test.
1833 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
1834         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1836         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
1837         mention of `datarootdir' in the input file(s), but literal
1838         `${datarootdir}' in the output file, and we haven't warned yet,
1839         then warn as well: the user may have (erroneously) used
1840         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
1841         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
1842         * tests/torture.at (datarootdir workaround): Extend this test.
1843         * NEWS: Update.
1845 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1846         and Paul Eggert  <eggert@cs.ucla.edu>
1848         * doc/autoconf.texi (autoheader Invocation): The first argument to
1849         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
1850         alternatives and clear up the language a bit.
1852 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
1854         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
1855         ac_config_guess, ac_config_sub, ac_configure.
1856         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1857         Fix typo that prevented an unnecessary space from being removed.
1858         Problems reported by Ralf Wildenhues in:
1859         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
1861 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1863         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
1864         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
1865         Don't use the term "thread-safe" to talk about mkdir race
1866         conditions, since the problem is more a process than a thread
1867         issue.  Problem reported by Stepan Kasal in:
1868         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
1869         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
1870         the test for 'install' more closely.  Look at MKDIR_P first.
1871         Look in the PATH, and at /opt/sfw/bin.
1872         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
1873         Don't bother to try mkdir -p, since we already check mkdir --version;
1874         just look at the version number.  (There's no easy way to check
1875         for race-free implementations.)
1876         * tests/tools.at (autoconf: subdirectories): Adjust to above
1877         changes, since MKDIR_P now might end in "/mkdir -p".
1879         * doc/autoconf.texi (autoheader Invocation): Mention that the
1880         first arg of AC_DEFINE_UNQUOTED must be a literal.
1881         Problem reported by Ben Pfaff in
1882         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
1884         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
1885         * doc/autoconf.texi (Special Chars in Variables): New section.
1886         (Preset Output Variables): Warn about special chars in CPPFLAGS.
1887         (Installation Directory Variables): Quote $(datadir) better.
1888         (Limitations of Builtins): Describe some of eval's trickiness.
1890         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
1891         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
1892         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
1893         in front of every arg, not just trailing args.  Quote apostrophes.
1894         (_AC_EVAL_ECHO): New macro.
1895         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
1896         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
1897         removed.
1898         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
1899         exposed by quoting of eval argument.  Put the command on line line
1900         so it logs better.
1901         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
1902         (_AC_PATH_X, AC_PATH_X): Quote more safely.
1903         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
1904         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
1905         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
1906         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
1907         Use eval more safely.
1908         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
1909         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
1910         to be replaced.
1911         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
1912         lines, exposed by quoting of eval argument.
1914 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
1915         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1917         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
1918         initialization of `ac_cv_exeext', do not override it if it was
1919         already set, unless it was set to `no', for compatibility with
1920         Autoconf-2.13, and comment this.
1921         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
1922         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
1923         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
1924         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
1925         Document that this test may be overridden by setting
1926         `ac_cv_exeext'.
1928 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1930         Revert these two patches:
1932         2006-04-06  Eric Blake  <ebb9@byu.net>
1933         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1934         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
1935         2006-04-01.
1937         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1938         Clean up _AC_COMPILER_EXEEXT* macros.
1939         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
1940           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
1941           ac_file to the name of the default output file and call
1942           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
1943           initial `rm' of the candidate files...
1944         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
1945           the same list in subsequent `rm' calls, and for the temporary
1946           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
1947           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
1948         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
1949         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
1950           no longer needed) by libtool.  Make it a cache check.
1951         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
1952           copied here by mistake.
1953         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
1954           _AC_COMPILER_EXEEXT.
1955         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
1956           _AC_COMPILER_OBJEXT directly.
1957         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1959 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1961         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
1962         Fix description of how the buggy `sed' works.
1964 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
1966         Sync from Automake:
1968         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
1969         ENOLCK.  Only mention `make -j' when applicable.  Only raise
1970         fatal errors when `make -j' is involved.  Improve error message.
1972 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1974         * doc/autoconf.texi (Here-Documents): We now know more about
1975         the variable expansion in here documents bug.
1976         Thanks to Tim Rice and Stepan Kasal.
1978         * doc/autoconf.texi (Making testsuite Scripts): Add an example
1979         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
1981 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1983         * tests/autotest.at (Multiline command from M4 expansion):
1984         No failure to be expected if the shell quotes newlines in
1985         commands in the `set -x' output.  Report by Tim Rice.
1986         * THANKS: Update.
1988 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
1990         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
1991         expansion in the here-documents used by config.status, as that
1992         runs afoul of the Korn shell version M-12/28/93d bug described in
1993         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
1994         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
1995         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
1997 2006-05-23  Jim Meyering  <jim@meyering.net>
1999         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
2000         Fix typo introduced with 2006-04-02 change.  It reversed the sense
2001         of the test.
2003 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
2005         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
2006         ac_dB slightly, to save bytes in the script.
2007         Max out at 50 lines, rather than 96; this is more likely
2008         (though not guaranteed) to avoid obscure 'sed' failures.
2010 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2012         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
2013         `tr -d -' as bad option argument.  Work around this by deleting
2014         an unrelated character.
2015         Report by Tim Rice <tim@multitalents.net>.
2017 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
2018             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
2019             Stepan Kasal  <kasal@ucw.cz>
2021         * doc/autoconf.texi (Particular Programs): Do not promise that
2022         we always prefer the GNU version of the program, and that we
2023         search according to PATH; both rules can have exceptions.
2024         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
2025         AC_PROG_SED.  Move descriptions of limitations
2026         to the Limitations of Usual Tools section.
2027         (Limitations of Usual Tools) <sed>: Mention script length
2028         limitations with Solaris /usr/ucb/sed.
2029         <grep>: Fix wording for empty alternative.  Mention that -c and
2030         -l should not be combined, and that -E and -F should not be
2031         combined.
2033 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
2034         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2036         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
2037         limits in Solaris 8 /usr/ucb/sed by testing a long script.
2039 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
2041         * doc/autoconf.texi (Defining Symbols): Literal parameter of
2042         AC_DEFINE is now passed to m4_pattern_allow.
2043         * NEWS: Mention that; likewise for AC_SUBST.
2044         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
2045         the parameter to m4_pattern_allow.
2046         * tests/tools.at: Add a check for that.
2048 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
2050         * lib/autoconf/status.m4: Fix typos.
2052 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2054         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2055         only the files that this macro generates.
2057 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
2059         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
2060         the HP-UX sed limitation of 99 commands, labels do not count.
2061         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
2062         in the comment.
2063         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
2065 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
2067         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
2068         Import the following fix from coreutils:
2070         2006-01-13  Jim Meyering  <jim@meyering.net>
2072         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
2073         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
2074         not double-quote uses of that variable, to accommodate the rare
2075         case in which getmntent is available in none of the libraries
2076         checked.  This happens at least on FreeBSD 5.0.
2078 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
2080         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
2081         ac_config_guess, ac_config_sub, and ac_configure, since evidently
2082         some other programs unwisely rely on these undocumented vars.
2083         But put in warning comments about them.
2084         Problem reported by Ralf Wildenhues in
2085         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
2086         * NEWS: Document that these variables are intended to go away.
2088 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2090         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
2091         and set the language to C++ (analogous to the equivalent Fortran
2092         tests).
2094         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
2095         * doc/autoconf.texi (C++ Compiler): Document it.
2096         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
2097         * NEWS: Update.
2099 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2101         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
2102         that caused config.status to generate 100-command sed scripts; the
2103         portable limit is 99.
2105 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2107         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
2108         variable `ac_d' instead of `d' to avoid infringing namespace.
2109         Report by Ralf Menzel.
2111 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
2113         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
2114         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
2115         * tests/tools.at (autoconf: subdirectories): New test, taken from
2116         the corresponding problem report by Ralf Wildenhues in:
2117         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
2119         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
2120         Quote some uses of shell variables if they might suffer unexpected
2121         globbing.  This doesn't fix all instances of quoting problems that
2122         I found, just the easy ones that look safe.
2123         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
2124         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
2125         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
2126         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
2127         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
2128         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2129         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
2130         Likewise.
2131         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
2132         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
2134 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2136         * bin/autoreconf.in ($help): Reword according to the manual.
2137         Suggested by Olly Betts.
2139 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
2140         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2142         * bin/autoreconf.in: Pass the directory argument to
2143         `require_configure_ac'.  Fix comment.
2144         * tests/torture.at (Configuring subdirectories): Expose this.
2145         Reported by Olly Betts.
2147 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2149         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
2150         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
2151         Automake as follows:
2153         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
2154         `$configure_in' instead of `configure.in', to preserve
2155         directory component.
2157 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2159         * config/config.guess, config/config.sub, config/texinfo.tex,
2160         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
2162 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
2164         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
2165         test for C99 conformance; (bool) 0.5 is an integer constant
2166         expression, but (bool) -0.5 is not.  Problem reported by Fedor
2167         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
2169 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
2171         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
2172         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
2173         Warn about obsolete install-sh files.  Remove stray sentence
2174         fragment and fix cross reference.
2175         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
2176         install -d; this undoes the 2006-05-10 change.
2177         (MKDIR_P): Mark with AN_MAKEVAR.
2178         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
2179         that we don't require $INSTALL to be thread-safe.  Move comments
2180         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
2181         of AC_PROG_INSTALL.  Output a message saying that we're checking
2182         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
2183         MKDIR_P instead of AC_SUBST.
2184         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
2185         Special magic for MKDIR_P, too.
2186         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
2187         a dnl.
2188         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
2190 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
2192         Sync from Automake, as follows:
2194         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2195         * config/install-sh: Initialize IFS, so field splitting isn't
2196         turned off later.
2197         * config/mkinstalldirs: Likewise.
2198         * config/missing: Remove superfluous quotes.  Replace all uses of
2199         `[' by `test', for consistency, and for..
2200         * config/missing (sed_minuso, sed_output): New variables.
2201         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
2202         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
2203         Fixes `missing' to detect `--output' for help2man.  Fixes
2204         PR automake/483.  Report by Dennis J. Linse.
2205         (autom4te): Document in `missing --help'.
2207 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
2209         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
2210         * config/install-sh: Don't use 'path' to talk about file names,
2211         as per GNU coding standards.  Close a race condition reported by Ralf
2212         Wildenhues and Stepan Kasal.  There is still a race condition
2213         on hosts that predate Posix 1003.1-1992, but we can't help this.
2214         Don't mishandle weird characters like space on pre-Posix hosts.
2215         Invoke mkdir at most once per dir arg on pre-Posix hosts.
2216         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
2217         AC_PROG_MKDIR_P from AS_MKDIR_P.
2218         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
2219         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
2220         earlier editions are not (including Automake 1.8.3).
2221         Do not suggest mkinstalldirs for thread-safety.
2222         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
2223         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
2224         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
2225         presence of special characters and race conditions.
2226         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
2227         in Autoconf's name space.
2229 2006-05-10  Bruno Haible  <bruno@clisp.org>
2230         and Paul Eggert  <eggert@cs.ucla.edu>
2232         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
2233         from Automake with minor changes.
2234         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
2236 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
2238         * config/install-sh: Update to Automake CVS version, as follows:
2239         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
2240         * lib/install-sh: Simplify the expr implementation of dirname.
2241         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
2242         * lib/install-sh: Handle --, and diagnose unknown options.
2244 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2246         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
2247         `./autom4te' to create `./testsuite', since the `all' target
2248         will ensure its presence, but `installcheck' should not create
2249         the uninstalled wrappers.
2251         * tests/torture.at (Unusual Automake input files): Skip if we
2252         detect automake < 1.8.
2254 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2256         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
2257         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
2258         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
2259         * NEWS: Update.
2261 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2263         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
2264         munge (multiple) white space and other oddities.
2265         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
2266         single quotes in variable assignment.
2267         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
2268         and similar failures by adding multiple spaces, tabs, and other
2269         special characters.
2270         Report and different test suggested by Francesco Romani
2271         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
2273         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
2274         single quotes, we only need to search for single quotes; this
2275         both simplifies the search pattern, and makes us less
2276         susceptible to `echo' variations for arguments not containing
2277         single quotes.
2278         (_AC_ARG_VAR_VALIDATE): Likewise.
2280 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2282         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
2283         `$*' and IFS concatenation issue with traditional shells and
2284         bash-2.04.  Report by Seanster@Seanster.com.
2286 2006-05-03  Bruno Haible  <bruno@clisp.org>
2288         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
2289         precisely which Mac OS X versions have the od problem.
2291 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
2293         * doc/autoconf.texi: Use @option systematically.
2295 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
2296         and Bruno Haible  <bruno@clisp.org>
2298         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
2299         about 'od'.
2300         (Integer Overflow): Mention the special case of integer division
2301         overflow.
2303 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2305         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
2306         traditional shells like the Solaris one that do not use the
2307         first IFS character for assembling `$*'.
2308         Prompted by a related report from autoconf_bug@nro.ca.
2310 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
2311         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2313         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
2314         Mention more problems with the -e option.
2316 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2318         * NEWS: Typo.
2319         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
2321         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
2322         in URLs to improve DVI formatted output (requires texinfo 4.6).
2323         (System Services, Systemology, Shellology): Likewise.
2324         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
2325         output.
2327         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
2328         continuous text.
2329         (Runtime): Fix macro argument names to match description:
2330         `action-if-found' -> `action-if-true' and similarly.
2331         (Obsolete Macros): Likewise.
2332         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
2333         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
2334         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
2336 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2338         * doc/autoconf.texi (Limitations of Make): Clean up markup.
2340         * ChangeLog: Typo.
2341         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
2342         DVI output.
2344 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2346         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
2347         /bin/sh set unsorted output.
2348         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
2349         * tests/local.at: Likewise.
2351 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
2353         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
2354         (Integer Overflow, Null Pointers, Buffer Overruns):
2355         (Floating Point Portability, Exiting Portably): New sections.
2356         (Writing Test Programs): Fix some langauge.  Recommend exiting
2357         with status 1, not merely nonzero.  Clarify exit declaration.
2358         (Run Time): Move C exit status stuff to new Exiting Portably section.
2359         (Systemology): Mention Posix and levenez.  Update v7 reference.
2360         (Portable Shell): Mention the Posix shell.
2362 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
2364         * bin/autoconf.as (me): Replace by as_me.
2366 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
2368         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
2369         since as_me isn't set yet.
2371 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
2373         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
2374         a few minor bugs in this area.
2376         * doc/autoconf.texi (Programming in M4sh): Comment out the
2377         documentation of AS_BASENAME, for now.
2378         (Shell Substitutions): Do not use AS_DIRNAME in an example.
2379         (Limitations of Builtins) <basename>: Do not refer to
2380         AS_BASENAME.
2381         * bin/autoconf.as (me): Don't use AS_BASENAME.
2382         (dir): Remove the unused variable.
2383         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
2384         AS_DETECT_REQUIRED.  All uses changed.
2385         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
2386         All uses changed.
2387         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
2388         (AS_BASENAME): Use "basename --" to protect against leading "-".
2389         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
2390         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
2391         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
2392         (_AS_DIRNAME_PREPARE): Likewise.
2393         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
2394         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
2395         (AS_DIRNAME): Use "dirname --".
2397 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
2399         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
2400         of "run time" and "run-time" changed to "runtime", for consistency.
2401         * lib/autoconf/fortran.m4: Likewise (in comment).
2402         * lib/autoconf/functions.m4: Likewise.
2403         * lib/autoconf/general.m4: Likewise.
2404         * lib/autoconf/headers.m4: Likewise.
2406         * doc/autoconf.texi (Run Time): Document the exit status situation
2407         with more accuracy and detail.
2409 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2411         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
2412         Archive is not officially `GNU' any more.  Update URL.
2413         (Defining Directories): Likewise
2414         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
2416 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2418         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
2419         newline from the `trap' code to finish `config.log'; the NetBSD
2420         /bin/sh resets the exit status after an empty command, as
2421         documented in doc/autoconf.texi.
2422         Reported by Dalibor Topic <robilad@kaffe.org>.
2424 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2426         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
2427         Suggested by Bruno Haible.
2429 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
2431         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
2432         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
2433         Instead, just list the shells that we know work.
2434         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
2435         changed.  Be more cautious about the _cv_ variable.
2436         * tests/tools.at (Syntax of the shell scripts): Check the
2437         _cv_ variable once, at first, to avoid an internal autoconf error
2438         when sh -n does not work.
2440 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2442         * lib/Autom4te/FileUtils.pm: Sync from Automake.
2444 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
2446         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
2447         use ">&-" since we're only 99.999% sure that this is portable,
2448         and since the MinGW bug is fixed in a different way.
2449         * lib/autotest/general.m4 (AT_INIT): Likewise.
2451 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
2453         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
2454         before opening config.log, to avoid hitting a bug on MinGW.
2456 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
2458         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
2459         AS_MESSAGE_LOG_FD before reopening it onto the log file.
2460         This works around a MinGW bug reported by Eric Paire.
2461         Make sure that all writes to the log file append to it,
2462         rather than possibly losing data.
2463         * lib/autotest/general.m4 (AT_INIT): Likewise.
2465 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
2467         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
2468         description.
2470 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2472         * NEWS: Update.
2474         * configure.ac (AC_INIT): Bump to 2.59d.
2476 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2478         Version 2.59c.
2480         * Makefile.maint (news-date-check): Do not require a leading `*'
2481         before the release date in NEWS.
2483 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
2484         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2486         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
2487         the instantiated file do not contain the string 'datarootdir'
2488         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
2489         @mandir@, replace the reference '${datarootdir}' by the value.
2490         * tests/torture.at (datarootdir workaround): New test.
2491         * NEWS: Advertise this temporary fixup.
2492         Based on a patch by Bruno Haible, reported and analyzed by
2493         Paul Eggert and Noah Misch.
2495 2006-04-12  Eric Blake  <ebb9@byu.net>
2497         * tests/autotest.at (Debugging a failed test): Fix comment.
2499 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
2501         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
2502         all the changes since 2006-04-07.
2504 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2506         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
2507         succeeded, but `ln -s file dir' failed, take care to remove the
2508         leftover target before the next test, to prevent its spurious
2509         failure; also make sure `ln file dir' works before selecting it.
2510         Thanks to Keith Marshall for pointing this out.
2511         * THANKS: Update.
2513         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
2514         assignments in `at_debug_args', so that we put them correctly
2515         in the `run' script.
2516         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
2517         Reported by Eric Blake.
2519 2006-04-11  Eric Blake  <ebb9@byu.net>
2521         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
2522         top-level tests after micro-suite has been run.   Used in...
2523         (Debugging a successful test, Debugging script and environment),
2524         (Debugging a failed test): ...these new tests.  The first of these
2525         is fixed by...
2526         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
2527         macro, split out from...
2528         (AT_INIT): ...here, so that using -d also generates a run script.
2529         Document that -d inhibits top-level logging.
2530         * doc/autoconf.texi (testsuite Invocation): Document that -d only
2531         inhibits top-level logging; debug scripts are created.
2533         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
2534         check.
2535         * tests/autotest.at (Empty test, Empty check): New test to check it.
2537         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
2538         from gcc.
2540 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
2542         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
2543         the files if a problem appears.  Make the empty *.at files
2544         read-only, too.  Proposed by Ralf Wildenhues.
2546 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2548         * config/Makefile.am: Add comment to force updated Makefile.in.
2550         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
2551         space only patch to this file, this patch causes the Makefile.in
2552         files that include freeze.mk to be updated, and thus have a
2553         newer time stamp again, which in turn makes a pristine CVS
2554         checkout have correct time stamps.
2556         * Makefile.maint (cvs-sv): New macro, to be used..
2557         (config.guess-url_prefix, config.sub-url_prefix)
2558         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
2559         point to CVS text checkout of Gnulib files.
2560         (copyright-check): Bump current year.
2561         (announcement): Do not hard-wire `./announce-gen'.
2562         (cvs-update): Propagate failures of `cvs' and `move-if-change'
2563         correctly.
2564         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
2565         `chmod +x'.
2566         (wget_files): Update config.guess, config.sub, texinfo.tex by
2567         `wget-update', now that their URLs work again.
2569 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
2571         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
2572         Problem noted by Paul D. Smith.
2574 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2576         * doc/autoconf.texi: Remove unused words from word list.
2577         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
2578         .x-sc_trailing_space: New files.
2580         * doc/standards.texi: Sync from gnulib.
2582         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
2583         `LIBOBJDIR' as experimental.
2585         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
2586         with a target directory; it's internally implemented as `cp'
2587         anyway, but since Autoconf advertises the possibility to use
2588         a target directory when LN_S is `ln -s', we need to find out.
2589         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
2590         analyzed by Keith Marshall <keith.marshall@total.com>.
2592         * THANKS: Update.
2594 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
2596         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
2597         confdefs.h as-is.  In general, if it has backslash-newline or the
2598         like, then it doesn't work either to sort or to remove empty
2599         lines.
2601 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
2603         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
2605 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
2607         * lib/autom4te.in (Automake-preselections): Preselect
2608         _AM_SUBST_NOTMAKE.
2610 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
2612         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
2613         apostrophe within a single-quoted string, as this is the usual
2614         tradition and is easier to read than '"'"'.  Don't rely on the
2615         shell treating "$/" like '$/'.  Use a more-consistent indenting
2616         style for the trap.
2618 2006-04-09  Eric Blake  <ebb9@byu.net>
2620         * tests/autotest.at (Backquote command substitution),
2621         (Multiline backquote command substitution): Remove mistaken
2622         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
2623         applied...
2624         (Parenthetical command substitution, Multiline parenthetical
2625         command substitution): here.
2627 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
2629         Import macros from gnulib (often changing their name).
2631         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
2632         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
2633         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
2634         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
2635         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
2636         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2637         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
2638         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
2639         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
2640         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
2641         The manual mentions Gnulib more prominently.
2642         * doc/autoconf.texi (Gnulib): New node.
2643         (Pointers): Add Gnulib URL.
2644         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
2645         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
2646         Gnulib section.
2647         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
2648         suggest a #define rather than a typedef for _Bool, and mention
2649         Gnulib rather than trying to substitute stdbool code.
2650         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
2651         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
2652         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
2653         AC_STRUCT_DIRENT_D_TYPE.
2654         (Particular Types): Mention stdint.h and inttypes.h as standard
2655         headers too.
2656         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2657         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
2658         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
2659         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
2660         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
2661         (C Compiler): Move AC_C_LONG_DOUBLE to ...
2662         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
2663         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
2664         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
2665         (Coding Style).  Don't mention m4_expand_once.
2666         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
2667         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
2668         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
2669         (AC_CHECK_FUNCS): Use it.
2670         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
2671         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
2672         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
2673         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
2674         (AC_HEADER_ASSERT): New macro.
2675         (AC_HEADER_STDBOOL): Don't assume "#error" works.
2676         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
2677         Catch a bug in an HP-UX C compiler.
2678         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
2679         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
2680         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
2681         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
2682         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
2683         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
2684         New macros.
2686         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
2687         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
2689 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
2691         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
2692         of the warning introduced by the 2001-08-28 change.
2694 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
2695             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2697         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
2698         variables shall be overriden by the cache.
2699         * tests/torture.at (AC_ARG_VAR): Test also with a first value
2700         that contains braces.
2702 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
2704         Revert the patch from 2006-04-01 and only improve
2705         _AS_DETECT_BETTER_SHELL:
2707         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
2708         skip nonexistent directories.
2709         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
2710         only shell candidates which exist.
2711         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
2712         * lib/autotest/general.m4 (AT_INIT): No need to give three
2713         parameters to _AS_PATH_WALK.
2715 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
2716             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2718         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
2719         distinguish m4sugar macros.
2720         * tests/tools.at (autoupdating with aclocal and m4_include):
2721         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
2722         test case by Noah Misch <noah@cs.caltech.edu>.
2724 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
2726         Revert my change from 2006-03-17, in other words:
2727         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
2728           and DUALCASE=1.
2729         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
2730         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
2731           it is set.
2733 2006-04-07  Eric Blake  <ebb9@byu.net>
2735         * doc/autoconf.texi (Programming in M4sh): Document that
2736         AS_MKDIR_P exits the script on failure.
2737         * lib/autotest/general.m4: Remove redundant AS_ERROR.
2739 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2741         * config/elisp-comp, config/install-sh, config/mdate-sh,
2742         config/missing, config/mkinstalldirs: Sync from Automake.
2744         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
2745         from Automake.
2747         * doc/make-stds.texi: Sync from gnulib.
2749 2006-04-06  Eric Blake  <ebb9@byu.net>
2751         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
2752         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
2753         2006-04-01.
2755 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
2756             Eric Blake  <ebb9@byu.net>,
2757             Paul Eggert  <eggert@cs.ucla.edu>,
2758             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2760         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
2761         whether `set' quotes correctly: redirect stderr of the tested
2762         `set', and use a subshell, for Ultrix; use `sed' instead of
2763         `grep' for zsh `set' which may write binary output; match only
2764         at the beginning of a line, to avoid false positives.
2765         In order to avoid false positives by unrelated variables with
2766         multiline content, put the dump algorithm in a subshell and
2767         unset all variables containing newlines (except some which are
2768         special to the shell).  Warn about cache variables that are
2769         unset.
2771 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2773         * config/config.guess, config/config.sub, config/texinfo.tex:
2774         Sync from upstream.
2776         * tests/mktests.sh: Reword comments.
2778         * tests/mktests.sh: Only skip internal macros starting with
2779         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
2780         Update exclusion lists for the test suite to this end:
2781         (AC_ARG_VAR): Do test this now.
2782         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
2783         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
2784         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
2785         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
2787         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
2788         shell issue with double-quoted command substitutions of native
2789         commands.
2790         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
2791         Marshall.
2793         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
2794         no file matches the glob, discard the warning, set `nullglob'.
2795         (syntax-check): Likewise.
2796         (sc_cast_of_x_alloc_return_value): Likewise.
2797         (sc_cast_of_alloca_return_value, sc_error_exit_success)
2798         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
2799         (m4-check): Likewise.
2800         (sc_system_h_headers): Do not print rule on execution.
2801         (sc_tight_scope): Do not fail for non-existing `src' directory.
2802         (sc_changelog): Skip the Copyright footer.
2803         * lib/autoconf/lang.m4: Remove trailing space.
2805         * lib/autoconf/status.m4: More replacements to
2806         <tab><space> where this makes sense.
2808 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
2810         * tests/Makefile.am (maintainer-check-posix):
2811           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
2813         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
2814           ac_config_<foo>s again, sometimes normalized, sometimes not.
2815         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
2816         (AC_CONFIG_COMMANDS): Do not do so here.
2817         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
2818           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
2819           2005-07-25 rewrite.  Noticed by Noah Misch.
2821         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
2822           _AC_PRESERVE_HELP_ORDER, ...
2823         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
2825         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
2826           inside m4_expand_once; it is redundant.
2828         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
2829           for --help from Cygnus `configure.'
2831 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
2833         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
2834         on a patch proposed by Ralf Wildenhues.
2836 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
2838         * lib/autoconf/status.m4: Replace <space>''<tab> with
2839         <tab><space> where this makes sense.
2841 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
2842             Noah Misch  <noah@cs.caltech.edu>
2844         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
2845         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
2846         * doc/autoconf.texi (Help Formatting): New node.
2847         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
2849 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2851         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
2852         lib/autoconf/specific.m4, lib/autoconf/status.m4,
2853         lib/autoconf/types.m4, lib/autotest/general.m4,
2854         tests/mktests.sh, tests/torture.at: White space cleanup:
2855         remove some SPACE before TAB, or add quoting ('' or @&t@).
2857         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
2859         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
2861 2006-04-05  Eric Blake  <ebb9@byu.net>
2863         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
2864         empty test suite works.
2865         * tests/autotest.at (Empty test suite): Remove xfail.
2867 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
2869         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
2870         TAGS to ac_config_<foo>s.
2871         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
2872         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
2873         normalizing it, consistent it with previous releases.
2874         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
2876 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
2878         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
2879         Use simplified args that Eric Blake originally suggested.
2881 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
2883         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
2884         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
2885         Use 'comm' rather than N instances of grep; this also fixes a bug
2886         whereby substrings were incorrectly matched, causing us to not
2887         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
2888         (exclude_list): Exclude empty macros.
2889         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
2891         Use awk rather than grep -E or egrep, to avoid
2892         portability problems with regular expressions containing newlines.
2893         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
2894         Switch from grep to awk syntax.
2895         (ac_exclude_script): Renamed from ac_exclude_egrep.
2896         (au_exclude_script): Renamed from au_exclude_egrep.
2898 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
2900         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
2901         a subdirectory subject to Cygnus `configure'.
2902         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
2904         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
2905         report request when we have no AC_PACKAGE_BUGREPORT.
2907 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2909         * THANKS: Update.
2911         * tests/mktests.sh: Update copyright year in the header of the
2912         generated files.
2914         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
2915         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
2916         typedef'ed restricted pointer, to catch a compiler bug on
2917         HP-UX 11.x, and fix warnings so it passes with -Werror.
2918         (_AC_PROG_CC_C99): Likewise.
2919         Reported by Albert Chin <china@thewrittenword.com>.
2920         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
2922 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
2924         * bin/autoscan.in (subdirs): New global.
2925         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
2926         (output): Emit AC_CONFIG_SUBDIRS as needed.
2927         * tests/autoscan.at (autoscan): Remove XFAIL.
2929 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
2931         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
2933 2006-04-03  Eric Blake  <ebb9@byu.net>
2935         * THANKS: Add myself.
2937 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2939         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
2940         to log, point to testsuite output tree.
2942 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
2944         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
2945         * doc/autoconf.texi (Function Portability): Mention that C++
2946         has trouble with 'exit'.
2947         (Guidelines): Test programs shouldn't use 'exit'.
2948         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
2949         Remove; all uses removed.
2950         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
2951         Return from 'main' instead of calling 'exit'.
2952         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
2953         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
2954         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
2955         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2956         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
2957         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2958         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
2959         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
2960         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2961         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
2962         * tests/compile.at: Likewise.
2964 2006-04-02  Pavel Roskin  <proski@gnu.org>
2966         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
2968 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2970         Clean up _AC_COMPILER_EXEEXT* macros.
2972         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
2973           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
2974           ac_file to the name of the default output file and call
2975           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
2976           initial `rm' of the candidate files...
2977         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
2978           the same list in subsequent `rm' calls, and for the temporary
2979           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
2980           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
2981         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
2982         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
2983           no longer needed) by libtool.  Make it a cache check.
2984         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
2985           copied here by mistake.
2986         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
2987           _AC_COMPILER_EXEEXT.
2988         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
2989           _AC_COMPILER_OBJEXT directly.
2990         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2992 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2994         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
2995         (AS_DIRNAME): Use it.
2996         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
2998         * tests/*.at: Remove the generated ones.
3000 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3002         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
3004 2006-04-01  Eric Blake  <ebb9@byu.net>
3006         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
3007         directories, unless optional third argument supplied.
3008         (AS_UNAME): Don't optimize PATH walk.
3010         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
3012 2006-04-01  Eric Blake  <ebb9@byu.net>
3013         and Stepan Kasal  <kasal@ucw.cz>
3015         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
3016         and fix some typos.
3018 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
3020         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
3021         Autoconf version number despite a zero- or one-argument AC_INIT.
3023         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
3024         subordinate tools.
3025         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
3026         * doc/autoconf.texi (autoreconf Invocation): Document it.
3028         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
3029         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
3031 2006-04-01  Eric Blake  <ebb9@byu.net>
3033         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
3034         * lib/autotest/general.m4: Be tolerant of existing directory when
3035           rm failed to remove it.
3037 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3039         * bin/autoupdate.in: Redefine m4_location so that warnings print
3040         the correct lines of the input file by subtracting..
3041         (_au__first_line): ..this new definition.
3043         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
3044         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
3045         Remove stray newline in output.
3046         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
3047         AC_DEFUN this for autoconf, including the obsoletion diagnose.
3048         Fixes autoupdating of code where the replacement output contains
3049         m4sugar macros.
3050         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
3051         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
3052          (au_exclude_list): Add AC_LANG_SAVE.
3053         * tests/tools.at: Several new tests for all of this.
3054         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
3055         hairy details.
3056         The AC_LANG_SAVE issue was reported against Libtool by
3057         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
3058         Kristian Kvilekval <kris@cs.ucsb.edu>.
3060 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3062         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
3063           switch all of them on and of when necessary.  Fixes the bug when
3064           m4sugar macros (e.g., m4_define) were expanded after the first
3065           automatic update (e.g., after AC_PREREQ or AC_INIT).
3067 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
3069         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
3070         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
3072         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
3073         correctly.  Problem reported by Eric Blake.
3074         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
3075         Ralf Wildenhues.
3077 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
3079         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
3080         Tighten up the basename/dirname wording.
3082 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3084         * Makefile.maint (sc_texi_notab): New check: do not use TABs
3085         in texinfo files outside of verbatim environments.
3086         (syntax-check-rules): Update.
3087         * doc/autoconf.texi (Configuration Headers): Conform to it.
3089 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
3091         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
3092           aclocal cannot be given on the command line.
3094 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
3096         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
3097         Give an example for AS_DIRNAME instead of referring to Posix..
3098         (File System Conventions): Put discussion of // versus / here, and
3099         modernize it a bit.
3100         (Limitations of Usual Tools): Add basename.  Remove verbiage
3101         after dirname, since it got moved to the above sections.
3102         All this was inspired by a patch proposed earlier by Eric Blake.
3104 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3106         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
3107         `$0' to protect against spaces.
3108         * lib/autotest/general.m4 (AT_INIT): Likewise.
3109         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
3110         `$0', $as_me.
3112 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3114         * bin/autoscan.in: The value of find_configure_ac should be
3115         checked for existence, so we don't barf over a nonexisting
3116         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
3118 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3120         * bin/autoupdate.in: Fix some typos.
3122 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
3124         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
3126         * lib/autoscan/autoscan.list: Refreshed.
3128 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3130         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
3131         and Erlang related variables.
3133         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
3134         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
3135         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
3136         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
3137         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
3138         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
3139         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
3140         (_AC_PROG_OBJC_G): New macros.
3141         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
3142         * doc/autoconf.texi (Objective C Compiler): New node.
3143         (Preset Output Variables): Document OBJCFLAGS.
3144         (Language Choice): Document `Objective C' language.
3145         (Fortran Compiler): Fix typo.
3146         * NEWS: Updated.
3147         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
3149 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
3151         * doc/autoconf.texi (Default Includes): Fix typo
3152           s/AC_HEADERS_STDC/AC_HEADER_STDC/
3153         (Limitations of Usual Tools): s/unwriteable/unwritable/
3154         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
3155           Fix typos in the comments.
3157 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
3159         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
3160           Factor out the warning to...
3161         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
3162         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
3163         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3165         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
3166           case `ac_delim' when writing the sed script.
3168         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
3169           moved DUALCASE=1 ...
3170         (AS_SHELL_SANITIZE): ... here.
3171         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
3172           that it is set.
3174         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
3175           AC_SUBST.
3176         (_AC_PATH_PROG): Store the result to VARIABLE.
3177         (AC_PATH_PROG): No need to set VARIABLE again.
3179         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
3180           the first one is usual AT_CHECK_MACRO test, the second one checks
3181           that the same works when cross-compiling.
3182         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
3183         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
3185 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3187         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
3188         the directory `/usr/bin/posix' in the shell search, to prefer
3189         the Posix shell not only in subsequent spawns as with `$BIN_SH'
3190         on Tru64.
3192         * doc/autoconf.texi (contents): To fix texi2html output, hide
3193         `@setcontentsaftertitlepage' for HTML.
3194         (Writing Autoconf Macros): Likewise, insert space after `@c'.
3195         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
3196         `@,{c}'.
3198 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
3200         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
3201           sanitizing...
3202         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
3203         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
3204           why IFS is restored so late; thank you, Ralf, for reminding us.
3206 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
3208         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
3209           variables in the examples.
3211 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
3213         * doc/autoconf.texi (several sections): Cleaned up documentation for
3214         macros in erlang.m4.
3216 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3218         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
3219         failure condition for `$(cmd)' style command substitutions.
3220         (Parenthetical command substition, Multiline parenthetical
3221         command substition): Use it.
3223         * doc/autoconf.texi (Special Shell Variables): Missing word.
3224         Reported by Keith Marshall <keith.marshall@total.com>.
3226         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
3227         IFS even in case of empty `$PATH'.
3229 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3231         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
3232         `expr' away if there is nothing to do.
3233         < --keywords >: Simplify and robustify argument handling.
3234         Revert erroneous comment from 2005-08-23.  Extend to allow
3235         keyword negation with `!'.
3236         Update help message.  Remove broken code to prevent running
3237         tests multiple times.
3238         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
3239         Update and fix the documentation accordingly.
3240         * tests/autotest.at (Keywords): Renamed to..
3241         (Keywords and ranges): .. this.  Extended to make sure negated
3242         keywords, keywords taken from AT_SETUP arguments, and numeric
3243         test ranges work, and that matching is case-insensitive.
3245 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3247         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
3248         allow to pass unnamed structs even in C++.
3249         (AC_CHECK_SIZEOF):  Likewise.
3250         Also fix quoting error in `AC_MSG_FAILURE' arguments.
3251         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
3252         struct): New tests for unnamed structs, each both native and
3253         cross-compiling.
3255         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
3256         a structure inside a cast, for C++ conformance.
3257         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
3258         Also fix quoting error in `AC_MSG_FAILURE' arguments.
3260         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
3261         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
3262         trying to execute the command `no'.
3264         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
3265         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
3266         expanded outside.
3268         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
3269         example.  Do not emphasize `$%', it is hardly new and special.
3270         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
3272         * doc/autoconf.texi (Limitations of Usual Tools): Document
3273         OpenBSD and traditional `grep' failure to handle multiple
3274         patterns separated by newlines.
3276 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
3278         * doc/autoconf.texi (several sections): Add documentation for macros
3279         in erlang.m4.
3281 2006-03-10  Eric Blake  <ebb9@byu.net>
3283         * doc/autoconf.texi (Obsolete Macros): Fix wording of
3284         AC_TRY_LINK_FUNC.
3286 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
3288         * doc/autoconf.texi: Use @acronym more consistently for acronyms
3289         like BSD, GPL, LGPL.  Fix minor English typos.
3290         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
3291         Mention that these macros are becoming obsolete.
3292         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
3293         Use more modern terminology for which standard is what.
3294         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
3295         and to ansi2knr.
3296         (AC_PROG_CXX): Likewise.
3297         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
3298         Remove obsolete discussion about how to port to K&R.
3299         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
3300         the obsolescent AC_HEADER_STDC.
3301         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
3302         can't rely on it.
3304 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3306         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3307         Remove stdin redirection from /dev/null to allow pipe to work.
3309 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
3311         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3312         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
3313         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
3314         Ralf Wildenhues.
3316 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3318         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
3319         HP-UX sed is 99 commands, not 100.
3320         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
3321         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
3322         newline for portability.
3323         * tests/torture.at (Torturing config.status): Also test 100
3324         AC_SUBST_FILE invocations.  Fix test to actually verify the
3325         AC_CONFIG_FILES output.
3326         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
3327         command, label, and read-file `r' limits.  Unify HP-UX spelling.
3329         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
3330         non-suffix rule.
3331         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
3332         non-GNU make.
3333         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
3334         * tests/mktests.sh: Small shell portability fixes.
3336 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3338         * doc/autoconf.texi (Caching Results): Fix the examples to use a
3339         recommended quoting style and discard unwanted output.
3341 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
3343         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
3344         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
3345         cases, and to work around Tru64 expr bug.
3347 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3349         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
3350         expr bug that turns the result of a regex match into a number if
3351         possible.
3353 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3355         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
3356         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
3357         in section `Specific Compiler Characteristics'.
3359 2006-03-04  Eric Blake  <ebb9@byu.net>
3361         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
3362         variable warning.
3364 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3366         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
3367         order of variable initialization, so even the Solaris 2.6 shell
3368         can create a config header correctly.  Fixes lots of test suite
3369         failures.
3371 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3373         * doc/autoconf.texi (Text processing Macros): New node to
3374         document the m4sugar macros m4_re_escape, m4_tolower,
3375         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
3377 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
3379         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
3380         XrmInitialize (0) -> XrmInitialize ().
3381         Reported by Toshio Kuratomi.
3383 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3385         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
3386         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
3387         * doc/autoconf.texi (Programming in M4sh): Adjusted.
3388         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
3389         both macros are defun'ed so that required macros are evaluated
3390         outside.
3392         * doc/autoconf.texi (Prerequisite Macros): State more precisely
3393         where a required macro will be expanded.
3394         (Coding Style): Another reason not to use `m4_define'.
3396 2006-02-21  Eric Blake  <ebb9@byu.net>
3398         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
3400 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3402         * doc/autoconf.texi (Looping constructs): New node, to
3403         document m4_for, m4_foreach, m4_foreach_w, and mention
3404         obsolete AC_FOREACH.
3405         (Obsolete Macros): Document AC_FOREACH.
3406         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
3407         (m4_for): Fix to never loop (almost) endlessly, work correctly
3408         with arithmetic expressions in arguments, a step of zero or
3409         non-integer multiple of the interval, and avoid integer
3410         overflow.
3411         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
3412         m4_foreach_w.
3414 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
3416         Add basic support for Erlang, both for configuring Erlang/OTP
3417         tools, and Erlang as a conf test language.
3418         * lib/autoconf/erlang.m4: New file.
3419         * lib/autoconf/autoconf.m4: Add erlang.m4.
3420         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
3421         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
3422         * NEWS: Add short description of new macros.
3423         * THANKS: Add Romain Lenglet.
3425 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3427         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
3428         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
3430 2006-02-15  Eric Blake  <ebb9@byu.net>
3432         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
3433         warning.
3435 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3437         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
3438         (_AS_CASE): Private helper macro.
3439         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
3440         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
3441         Fix syntax of AS_IF description
3442         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
3443         for the AC_REQUIRE mess.
3444         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
3445         AS_SHELL_SANITIZE.
3447 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
3449         * doc/autoconf.texi: Minor style cleanup.
3450         Be consistent about spaces after commas.
3451         Insert [] where empty args look a bit funny.
3452         Fix some "i.e." and "e.g." usages.
3453         Try to avoid "X/Y" usages.
3454         Don't be pedantic about "ISO C99"; just say C99.
3455         Prefer GNU style for spaces in front of parens.
3456         (Function Portability): Comment about C89 versus C99
3457         signed integer division.
3458         (Particular Headers): Use current gnulib style for dirent
3459         includes.
3461 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
3462         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3464         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
3465         macros without parameters.
3466         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
3467         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
3468         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
3469         `$#' bug.
3470         (autoupdate): Updated to match AU_ALIAS fix.
3472 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3473         and Paul Eggert  <eggert@cs.ucla.edu>
3475         * doc/autoconf.texi (Programming in M4sh): Document
3476         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
3478 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3480         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
3481         (AS_BOURNE_COMPATIBLE): ..this.
3482         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
3484 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
3486         * doc/install.texi (Defining Variables): Tighten up the
3487         CONFIG_SHELL wording.
3489 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
3490         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3492         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
3493         of (set -o) rather than testing whether (set -o posix) succeeds,
3494         to work around a bug in the AIX 5.3 shell.  Problem originally
3495         reportd by Howard Chu for libtool.
3497 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
3499         * doc/autoconf.texi (Running the Compiler, Running the Linker):
3500         Changes the macro arguments in summaries to match the
3501         descriptions.
3503 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
3505         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
3506         hint as ``a workaround for a bug.''
3508 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3510         * bin/autoreconf.in: New option `--no-recursive'.
3511         Improve wording for subpackages a bit.
3512         * doc/autoconf.texi (autoreconf Invocation): Updated.
3513         * NEWS: Updated.
3515         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
3516         in environment of `configure', not the command line.
3517         Reported by Howard Chu <hyc@highlandsun.com>.
3519 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
3521         * doc/autoconf.texi (Limitations of Builtins): Document the
3522         problem with "trap -".
3524 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
3526         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
3527         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
3528         messages to differentiate Fortran and Fortran 77 tests.
3529         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
3530         AC_LANG_ASSERT, to allow use in mixed-language projects.
3532 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
3534         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
3535         FOO" to "defined (FOO)".
3536         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
3537         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
3538         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
3539         * tests/tools.at (ifnames): Likewise.
3541 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3543         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
3544         * lib/Autom4te/General.pm (mktmpdir): Likewise.
3545         (END): Improve error message a bit.
3546         Reported by Bruce Korb <bkorb@gnu.org>.
3548 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3550         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3551         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
3553 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
3555         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
3556         requires sys/stream.h.  Reported by Oliver Kiddle.
3558 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3559             Stepan Kasal  <kasal@ucw.cz>
3561         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
3562         before the removals of test dirs, use `find' to avoid modification
3563         of symlinked directories.
3565 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
3567         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
3568         Don't ignore the macro arguments.
3570 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
3572         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
3573         declaration that works for MSVC.
3575 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3577         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
3578         Add `*.map' and `.inf' for Green Hills compiler.
3579         Reported by Stefan Seefeld <stefan@codesourcery.com>.
3581         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
3582         correctly: pad with spaces after FIRST_PREFIX if necessary,
3583         and compute string lenghts with `m4_qlen' instead of `m4_len'.
3584         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
3585         * tests/m4sh.at (AS_HELP_STRING): Test extended.
3586         * NEWS: Updated.
3587         Reported by numerous people, numerous times.
3589 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
3591         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
3592         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
3593         * lib/autoconf/general.m4, lib/autoconf/status.m4:
3594         * lib/autotest/general.m4, tests/local.at:
3595         Update copyright year to 2006.
3597         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
3598         sed substitutions.
3599         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
3600         for file names, again.  Reported by Noah Misch.
3601         (Coding Style): Explain that s|a|b| is preferred for file names.
3602         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
3603         (AC_OUTPUT_MAKE_DEFS): Likewise.
3604         * lib/autotest/general.m4 (AT_INIT): Likewise.
3605         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
3606         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
3608         Fix Posix-conformance bugs re use of { command in sed scripts,
3609         and improve the sed-related documentation a bit.
3610         * doc/autoconf.texi (Installation Directory Variables): Use
3611         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
3612         rather than "sed" when talking about Sed in general.
3613         (Particular Programs): Likewise.
3614         (Coding Style): y is like s with respect to / and ,.
3615         (Limitations of Usual Tools): Document the weird restrictions
3616         that Posix has about { }.  Use better quoting.
3617         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
3618         Rewrite to conform to Posix rules about { } in sed scripts.
3619         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
3620         * tests/foreign.at (Libtool): Likewise.
3621         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
3622         Use our own style advice re 's,a,b,' versus 's|a|b|'.
3624 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3626         * lib/autoconf/status.m4: Fix typo.
3628         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3629         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
3630         `-def', for the benefit of Portland `pgf90 -Mipa'.
3631         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
3633 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
3635         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
3636         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
3637         shell from zsh to bash.
3639 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
3641         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
3642           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
3644 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
3646         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
3647         parentheses in $(...).  Problem reported by Eric Blake.
3649 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
3651         * doc/autoconf.texi (Limitations of Usual Tools):
3652         Mention which characters can be escaped with \ in portable regular
3653         expressions used in grep, sed, expr.  Mention the leading ^ problem
3654         with expr.  Clean up some confusing wording.  Mention which
3655         grep options are portable.
3657 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
3659         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
3661 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
3663         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
3664         patch, noted by Ralf Wildenhues.
3666 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3668         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
3669         posix' unconditionally, for pdksh in `native sh' emulation.
3671 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
3673         * doc/autoconf.texi (Shellology): Document eval $? problem
3674         with ash.
3675         (Limitations of Builtins): Likewise.
3677 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3679         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
3680         CONFIG_SHELL in the environment of the configure rerun.
3681         * doc/autoconf.texi (Here-Documents, config.status Invocation):
3682         Suggest passing CONFIG_SHELL absolute, and in the environment
3683         rather than as option.
3685 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3687         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3688         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
3689         Fix macro quoting.  Fix output for n * 98 substituted variables.
3691 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3693         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
3694         `tmp' to avoid file removal race.
3696 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3698         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
3699         ac_clean_files and LIBOBJS.
3701 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3703         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
3704         Factor functionality to..
3705         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
3706         `AC_SUBST($1)' in the public version.
3707         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
3708         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
3709         ac_pt_* variables.
3711 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
3713         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
3714         filesystems.
3716 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3718         * NEWS: Move AH_HEADER mention to right place.
3720 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
3722         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
3723         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3725 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
3727         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
3728         conftst2.$ac_objext.
3729         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3731 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
3733         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
3734         conftest.o, to see whether the compiler really obeys; rm the object
3735         file before and after the test and register it with ac_clean_files.
3736         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3738 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
3740         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
3741         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
3742         code so that the most common case requires less forks.
3744 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
3746         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
3747         not portable; thanks to Paul Eggert and Alexandre.
3749         * NEWS: Fix an old typo.
3751 2005-10-20  Jim Meyering  <jim@meyering.net>
3753         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
3754         the latter'', in two places.
3756 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
3758         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
3759         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
3760         the inner workings of AC_LANG_FUNC_LINK_TRY.
3761         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
3762         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
3763         by the function rather than ignoring it.
3764         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
3765         comparing its address.  Intel's interprocedural optimization was
3766         outsmarting the old heuristic.  Problem reported by
3767         Mikulas Patocka.
3769 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
3771         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
3773 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
3775         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
3776         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
3778 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
3780         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
3781         before removing it (chmod -R u+rwx); there are three instances of this.
3783 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3784             Stepan Kasal  <kasal@ucw.cz>
3786         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
3787         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
3788         make its content writable before removing it.  Remove an errorneous
3789         comment from the end, where the logs of the failed tests are copied
3790         to the main log file.
3792 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
3794         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
3795           in case the computer is too quick.  Double quote the configure.ac
3796           snippets.
3798         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
3799           problems if the testsuite were running too fast.
3801 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
3803         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
3804         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
3805         (which belong to Xt, not X itself).  See Debian bug 327655.
3806         * NEWS: Mention this.
3808 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
3810         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
3812 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
3814         * config/move-if-change: Don't output "$2 is unchanged";
3815         suggested by Ben Elliston.  Handle weird characters correctly.
3817 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
3819         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
3820           calls, so that the final expansion of this macro is shorter.
3821           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
3822           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
3823           the cleanup there.  Use AS_VAR_* macros, to be more general.
3824         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
3826         * lib/autoconf/general.m4: Use AS_IF where appropriate.
3828         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
3830 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
3832         * doc/autoconf.texi (Configuration Headers): Add an index entry
3833           for AH_HEADER.
3835 2005-08-26  Pavel Roskin  <proski@gnu.org>
3837         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
3838         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
3839         running xmkmf.
3841 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
3843         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3844         The previous patch didn't work, so try a better one.
3846 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
3848         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
3849         in the example.  Reported by Bruno Haible.
3850         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
3851         "if $undefined_var;" succeeds with my shell.
3853         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
3854         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
3855         but change the m4_divert_text to m4_divert_once.
3857 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
3859         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3860         Work around bug in Solaris /usr/xpg4/bin/awk.
3861         The bug is present in at least Solaris 8 through 10.
3863 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
3865         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
3866         some evil values and relying on the fact that $* concatenates the
3867         parameters by the first character from IFS.
3869 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
3870             Stepan Kasal  <kasal@ucw.cz>
3872         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
3873         first header appears, define AH_HEADER.
3874         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
3875         Update limitations about when to call AC_CONFIG_HEADERS.
3876         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
3877         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
3878         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
3879         ``Configuration Actions''; fix their index entries.
3881         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
3882         options correctly.  Process N-M as M-N if M is smaller than N.
3883         Process ranges correctly so that N-N will run only N.
3884         Sort and uniquify the tests that will be run.  If there is more
3885         than one test, reinsert the banners for the tests.
3886         * tests/autotest.at (Keywords): Unmark XFAIL.
3888 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
3890         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
3891           before passing the macro name to AH_TEMPLATE.
3893         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
3894           now opens log after option processing; in particular, --version
3895           and --help do not touch config.log.
3897         * Makefile.maint: Revert the change from 2005-08-12.
3899 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
3901         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
3902           common code to...
3903         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
3905 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3907         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
3908         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
3909         Language cleanup.
3911         * doc/autoconf.texi (Defining Symbols, Changed Results):
3912         Prepend to LIBS, not append, in examples.
3914 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
3916         When building in place, set srcdir="."; suggested by Tim Van Holder.
3918         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
3919           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
3920         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
3921         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
3922           does not mean "no --srcdir option".
3924 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3926         * tests/autoscan.at (autoscan): New file.
3927         * tests/suite.at: Use it.
3928         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
3929         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
3931         * tests/autotest.at (Keywords): Test keywords combinations.
3933 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
3935         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
3936           add "2>&1"; gzip 1.2.4 prints help on stderr.
3938 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
3940         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
3941         was pushdef'ed twice while popped only once.  Push it only once.
3942         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
3944 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
3946         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
3947         prefixed by mere "===", not "configure: === ".
3949 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
3951         * Makefile.maint: Update from Bison.
3953         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
3954         "<tab>" in comment, so that the point is understandable.
3956 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
3958         Rewrite substantial part of lib/autoconf/status.m4.
3959         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
3960         and CONFIG_COMMANDS are not processed in four separate loops.
3961         Instead, there is one main loop.  This alows that the common code
3962         is expanded only once, thus config.status (and configure) is smaller.
3964         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
3965         the AC_LIST_FILES and cousins macros are no longer used.
3967         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
3968         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
3969         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
3970         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
3971         contain the initialization, nor the for loop, nor the associated
3972         commands; all these go to ...
3973         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
3974         _AC_OUTPUT_CONFIG_STATUS.
3975         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
3976         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
3977         (_AC_OUTPUT_FILE): The creation of the sed script ...
3978         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
3979         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
3980         _AC_OUTPUT_MAIN_LOOP.
3981         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
3982         _AC_CONFIG_COMMANDS): Use ...
3983         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
3984         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
3985         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
3986         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
3987         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
3988         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
3989         ... new macros.
3990         (_AC_CONFIG_UNIQUE): Update.
3991         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
3992         Replaced by this ...
3993         (_AC_LIST_TAGS): ... new common macro.
3994         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
3995         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
3996         (_AC_LIST_TAG_COMMANDS): ... new common macro.
3997         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
3998         this didn't belong to the `config commands' section.
3999         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
4000         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
4001         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
4002         to the `config commands' section either.
4003         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
4004         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
4006         ... and many changes to the comments nearby.
4008         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
4009         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
4010         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
4011         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
4012         (#define header templates): The comment at the top of the generated
4013         header now includes the name(s) of the source file(s).
4015         Several unrelated small changes:
4017         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
4018         parameter to AC_DIAGNOSE.
4019         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
4020         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
4021         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
4022         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
4023         with AU::AC_OUTPUT.
4024         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
4025         in AC_OUTPUT doesn't double-quote it either.
4026         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
4027         parameters.
4029 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
4031         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
4032         versions of Portland Group compiler produce single- and double-quoted
4033         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
4034         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4036 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
4038         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4039         This is a corrected version of yesterday's patch.
4041 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
4043         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
4044         path, too; insert a "===" to emphasize the line.
4046         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
4047           ac_cv_build_alias to ac_build_alias.
4048         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
4050         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
4051         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
4052         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
4053         (AC_ARG_VAR): ... here.
4054         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
4055           target_alias.
4057         Keep a list of all precious variables and process them with one simple
4058         for loop, instead of expanding all commands, or, OTOH, complicated
4059         processing of output of "set".
4060         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
4061         variable names in new macro...
4062         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
4063         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
4064           a loop to assign all ac_env_* and ac_cv_env_* variables.
4065         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
4066           to INIT_PREPARE.
4067         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
4068           its value to shell variable ac_precious_vars and call
4069           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
4070         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
4071           _AC_ARG_VAR_VALIDATE.
4073         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
4074           and the AC_SUBSTs ...
4075         (AC_INIT): ... here.
4077         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
4078           the ac_subst_files section in config.log.
4080         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
4082 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
4084         * NEWS: New macro AC_C_TYPEOF.
4085         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
4086         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
4087         * tests/c.at (C keywords): Test AC_C_TYPEOF.
4089         Fix problems reported by Nicolas Joly.
4090         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
4091         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4092         They are generated by the Tru64 v5.1B shell.
4094 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
4096         Fix my changes from 2005-07-01; reported by Noah Misch.
4097         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
4098         description, the macro now accepts only a single tag.
4099         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
4101         Fix cases when the varsions of Autoconf and Autotest don't match.
4102         Reported by Noah Misch.
4103         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
4104         at_top_builddir, for compatibility with older autotest.
4105         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
4106         is not set, use at_top_builddir, for compatibility with older
4107         versions of autoconf.
4109 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
4111         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
4112         Problem reported by Patrick Welche.
4114 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
4116         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
4117         sed substitution command, so that we allow | in program prefixes
4118         and program suffixes.  (& is a problem anyway; we're not fixing
4119         that here.)
4120         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
4121         configure_input, top_builddir, srcdir, etc.
4122         * lib/autotest/general.m4 (AT_INIT): Likewise, for
4123         PATH_SEPARATOR in AUTOTEST_PATH.
4125 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
4127         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
4128         for loop over config.site files using `set', to allow
4129         directory names containing IFS characters.
4131 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
4133         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
4134         directories with weird names.  Apparently some people like living
4135         on the edge.  However, improve the test that "pwd" actually does
4136         report a name for the working directory.
4137         * NEWS: Remove the claim that we test for funny chars in dir names.
4139 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
4141         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
4142         replaced ...
4143         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
4144         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
4145         Now accept a single tag, not whitespace separated list.
4146         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
4148 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
4150         * doc/autoconf.texi (Configuration Headers): Change the explanation
4151         about #include <config.h>.
4152         (Generic Functions): Mention the Gnulib project.
4153         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
4155         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
4156         document to output the default config_* lists to config.status.
4157         Don't recognize option --file, if the functionality is not there.
4158         Likewise for --header; moreover, recognize --he and --h as shortcuts
4159         for --help in that case.
4161         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
4162         matches the order of execution.  No code changed.
4164 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4166         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
4167         single-quoted -cmdline argument in Portland Group compiler.
4168         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4170 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
4172         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
4174 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
4176         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
4177         descriptors to child processes; reported by Norman Gray.
4179 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
4181         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
4183         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
4184         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
4185         (AC_SUBST): Call it.
4186         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
4187         the directory specific variables; but don't call it for configure_input.
4189 2005-06-28  Derek Price  <derek@ximbiot.com>
4191         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
4192         addition.
4194 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
4196         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
4197         directory have inherent problems with special characters like spaces,
4198         due to limitations in Make syntax.  Problem reported by Alexandre
4199         Duret-Lutz.
4200         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
4201         Also, fix Tru64 porting problem with shell patterns,
4202         reported by Ralf Wildenhues.
4204 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4206         * doc/autoconf.texi (Subdirectories): Fix markup typos.
4208 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
4210         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
4212         Fix some more shell quoting problems.  Prompted by a bug report
4213         from Justace Clutter.
4214         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
4215         variable into diagnostic.  Make the diagnostic an error, not a warning,
4216         because we really don't support spaces and suchlike in dir names.
4217         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
4218         Don't worry about backslashes in srcdir; it can't happen now.
4219         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
4220         Simplify ac_optarg handling.
4221         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
4223 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
4225         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
4226         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
4227         * tests/atlocal.in: Propagate $EGREP and $SED.
4228         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
4229         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
4231         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
4232         that '\|' is not allowed in BREs; recommend using newline separated
4233         list of patterns instead of multiple -e options.
4235         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
4237         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
4239 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4241         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
4243 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
4245         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
4246         b, t, r, w commands require single space, while : cannot have any.
4247         (Special Shell Variables): Fix sed code this in the example.
4248         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
4249         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
4251         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
4252         expand to the empty list.  Don't use two pairs of m4_changequote,
4253         it's not necessary.
4255 2005-06-20  Derek Price  <derek@ximbiot.com>
4257         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
4259 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
4261         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
4262         * doc/autoconf.texi:
4263         Don't mention Solaris versions so much, if a
4264         problem is common to all extant versions of Solaris.  Say "SunOS
4265         4" instead of "SunOS" for SunOS 4.
4266         (awk): Mention more of the limitations of traditional Awk.
4267         (cat): Don't talk about cat -v.
4269 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
4271         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
4272         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
4273         but the implementation is entirely different and is designed
4274         to be compatible with glibc strverscmp.
4275         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
4277         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
4278         on Mac OS X 10.4 reported by Peter O'Gorman in:
4279         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
4280         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
4281         Use shell builtins rather than 'expr', to work around expr bug.
4283 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
4285         * doc/autoconf.texi: "filesystem" -> "file system".
4286         "behaviour" -> "behavior".
4287         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
4288         * lib/autoconf/general.m4: Omit blank after ":" sed command,
4289         as per POSIX.
4290         * lib/m4sugar/m4sh.m4: Likewise.
4291         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
4292         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
4294         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
4295         (.x.1): Ignore the time stamp in the .TH line when deciding whether
4296         to update the man page.  That way, we don't have to check in new
4297         man pages every month.
4299         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
4300         quotes and backslashes.  Patch from Derek Price.
4302 2005-06-10  Derek Price  <derek@ximbiot.com>
4304         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
4305         AS_TR_SH.
4307 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
4309         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
4310         -u, since it outputs chatter if the input files are the same.
4311         Problem reported by Ralf Menzel.
4313 2005-06-08  Derek Price  <derek@ximbiot.com>
4315         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
4316         renaming them since they are about to be redefined anyhow.
4318 2005-06-08  Derek Price  <derek@ximbiot.com>
4320         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
4321         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
4322         Move m4_undefine to alphabetical order.
4324 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
4326         * README: Recommend GNU M4 1.4.3 or later.
4327         * doc/autoconf.texi (Introduction): Likewise.
4328         Reword to avoid some formatting glitches.
4329         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
4330         Clarify explanation of HP compiler bug.
4331         Redo example output tp match current CVS snapshot.
4332         Use @example.org in email addresses when the examples
4333         might get inadvertently cut-and-pasted into user code.
4334         Remove example of autom4te usage that doesn't seem to work now.
4335         Use modern AC_INIT (except when the example is meant to be
4336         shown with Autoconf 2.13).
4337         Update ksh info for Solaris 9 and later.
4338         KB -> kB.
4339         Modernize description of Automake versions a bit.
4340         Don't claim a future version of Autoconf is near.
4341         * doc/install.texi: Reword to avoid some formatting glitches.
4343 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4345         * doc/autoconf.texi: Add [] to examples, so that the manual
4346         follows its own advice about quoting better.
4347         Reword to avoid some formatting glitches.
4348         * doc/installt.exi: Reword to avoid some formatting glitches.
4350         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
4351         Tru64 ksh pattern matching bug.  Reported against Libtool by
4352         Albert Chin <libtool@mlists.thewrittenword.com> and
4353         Nicolas Joly <njoly@pasteur.fr>.
4355 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
4357         m4_cdr of one-member list was [[]] (one-member list containing an
4358         empty string) instead of [] (an empty list.  Callers were skewed to
4359         match this misbehaviour.  As a consequence of this:
4360          - m4_foreach([x], [], [foo]) expanded to `foo', while
4361          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
4362         This bug has been fixed:
4364         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
4365           expand to an empty string; print error msg if called without
4366           an argument list.
4367         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
4368           misbehaviour; handle [] and [[]] correctly.
4370 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
4372         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
4373         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
4374           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
4376 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
4378         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
4379           swallow records with more than 99 fields.
4380         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
4381           parse the long line.
4383 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
4385         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
4386           swallow literals longer than 399.  Reported by Ralf Wildenhues.
4387         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
4388           to workaround this limitation.
4390 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
4392         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
4393         to gfortran, and make these the first two compiler names
4394         checked (following the general autoconf preference for gcc).
4396 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
4398         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
4399         (DISTCLEANFILES): Remove $(check_SCRIPTS).
4400         (testsuite): Make sure autotest.m4f is up-to-date before using it.
4402 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
4404         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
4405         expression of unbounded size when processing the --list
4406         option.  This runs afoul of a limit of 399 bytes per regular
4407         expression on AIX.  Problem reported by Ralf Wildenhues.
4409 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
4411         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
4412         * doc/autoconf.texi (Particular Headers): Reword example
4413         for multiline stdbool replacement.
4414         (Setting Output Variables): Reword text a bit.  Don't
4415         give all the details about |#_!!_#|.
4416         Reword description of line replacement.
4418 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
4420         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
4421         now contain newlines, and substituted files must be referenced on
4422         a line alone; the sed scripts to substitute them are now very
4423         different.
4424         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
4425         commands can be put in a sed script portably.
4426         * doc/autoconf.texi (Setting Output Variables): Document above
4427         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
4428         use of multiline substitution.
4429         * tests/torture.at: No longer expect substitution of newline to fail.
4431 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
4433         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
4434         From Ralf Menzel (trivial change).
4436 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
4438         * tests/local.at: Don't attempt to check for negated character
4439         classes in shell scripts.  The test was too brittle.
4441 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
4443         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
4444         * doc/autoconf.texi (Limitations of Builtins): Document this
4445           limitation.
4447 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
4449         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
4450           common code; used in many places in the tree.
4451         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
4452         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
4454         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
4456         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
4457           messages when ac_unique_file is not found.
4458         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
4459         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
4460           commands, for consistency with AC_MSG_ERROR and such.
4462         * bin/autoconf.as: Make more use of "shift 2" in option processing.
4464         * bin/Makefile.am: Merge the two rules for creating scripts.
4466 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
4468         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
4469         obsolete; it was never documented.
4470         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
4472 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
4474         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
4475         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
4476         (ac_top_builddir): ... this ...
4477         (ac_top_build_prefix): ... to this; the old name is also kept, for
4478           backward compatibility.
4479         (ac_top_builddir_sub): New variable, without the trailing slash,
4480           always nonempty.
4481         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
4482         * doc/autoconf.texi (Configuration Actions): Rename
4483           ac_top_builddir to ac_top_build_prefix.
4484         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
4485           at_top_builddir to at_top_build_prefix.
4486         * lib/autotest/general.m4 (AT_INIT): Likewise.
4488 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
4490         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
4491           of confdefs.h .
4493 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
4495         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
4496           argument to m4_foreach.  I guess it was necessary in the past,
4497           but I think it's a no-op now.
4499 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
4501         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
4502           ``cat <<_ACEOF'' commands to one.
4503         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
4504         * lib/autoconf/status.m4: On various places, use expr instead of
4505           ``echo|sed.''
4506         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
4507         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
4508         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
4509           a range.
4510         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
4511           the wrong patterns between ``case'' and ``esac.''  The previous
4512           code had false positives.
4514 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
4516         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
4517         as on 2005-05-02.
4518         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
4519         Mention LIBOBJDIR.
4521 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
4523         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
4524         ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
4525         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
4526         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
4527         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
4528         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
4529         config/config.guess, config/config.sub, config/elisp-comp,
4530         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
4531         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
4532         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
4533         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
4534         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
4535         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
4536         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
4537         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
4538         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
4539         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
4540         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
4541         lib/autoconf/general.m4, lib/autoconf/headers.m4,
4542         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
4543         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
4544         lib/autoconf/specific.m4, lib/autoconf/status.m4,
4545         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
4546         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
4547         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
4548         lib/autotest/general.m4, lib/emacs/Makefile.am,
4549         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
4550         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
4551         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
4552         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
4553         tests/compile.at, tests/foreign.at, tests/fortran.at,
4554         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
4555         tests/semantics.at, tests/suite.at, tests/tools.at,
4556         tests/torture.at, tests/wrapper.as:
4557         Update FSF postal mail address.
4559 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
4561         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
4562           check.
4563         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
4564           enough arguments, similarly as in m4_bpatsubsts.
4566 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
4568         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
4569           of absolute paths.
4571 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
4573         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
4574           for absolute directory names in one loop.
4575         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
4576           abbreviations of --version and --debug.
4578 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
4580         * doc/autoconf.texi (Autoconf Language): Be more precise about
4581         quoting rules.  Problems noted by Stepan Kasal.
4582         Also, throughout this document, be more careful about white space.
4583         "blank", "white space", and "space" all have different meanings
4584         and we should be careful to say what we mean.
4586 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
4588         Fix C++ related problems reported by Werner Lemberg.
4589         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
4590         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
4591         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
4592         avoid problems with C++ and throw.
4593         * tests/compile.at: .cpp, not .cc.
4595         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
4597 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4599         * doc/autoconf.texi (Generic Functions): Typos.
4601 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
4603         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
4604         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
4605         set by latest automake.
4607 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
4609         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
4610         outputs 0 on GNU/Linux these days.
4612 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
4614         * doc/autoconf.texi (Autoconf Language): Add more description
4615         about quoting heuristics.
4616         (Limitations of Builtins): Describe "set -" problems.
4618 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4620         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
4621         not newline.
4623         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
4624         by AC_DEFINE; it was a mistake.
4625         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
4627 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
4629         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
4631 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
4633         * doc/autoconf.texi (External Software): Quadrigraphs are not
4634           processed correctly in AS_HELP_STRING; avoid this in the examples.
4635         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
4636         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
4637           comment and reduce m4_default([foo], []) to [foo].
4638         (m4_strip): Update the explanation.
4640 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4642         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
4643         Remove core.conftest.* too; it's generated by Tru64 5.1.
4644         Problem reported by Jennis Pruett.
4645         * lib/autoconf/functions.m4
4646         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4647         Don't bother to remove core files; AC_RUN_IFELSE should do that
4648         for you.
4650 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
4652         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
4654 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
4656         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
4657         Report from Horst Wente.
4659 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
4661         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
4662           the comment.
4664 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
4666         * doc/autoconf.texi (External Software, Package Options): Add
4667           examples showing how to implement --with-* and --enable-* options.
4669 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
4671         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
4672         as well as configure.in.  Problem reported by Gregorio Guidi.
4674 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
4676         * doc/autoconf.texi (Particular Functions): Use gnulib's current
4677         pattern for alloca snippet.
4679 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
4681         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
4683 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
4685         * doc/autoconf.texi (Generic Programs): Fix a typo.
4687 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
4689         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
4690         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
4692 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4694         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
4695         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
4696         whole-archive (-zallextract, -zdefaultextract) options in the hope of
4697         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
4698         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
4700 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
4702         * NEWS: The configure command now warns you if you attempt to use
4703         a directory whose name contains a special character like space,
4704         newline, or "\".
4705         * doc/autoconf.texi (Installation Directory Variables): Allow
4706         "," in file names.  Do not use \@; it's not a portable regexp.
4707         * bin/Makefile.am (edit): Likewise.
4708         * lib/Makefile.am (edit): Likewise.
4709         * tests/Makefile.am (edit): Likewise.
4710         * tests/semantics.at: Likewise.
4711         * tests/torture.at: Likewise.
4712         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
4713         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
4714         * doc/autoconf.texi (File System Conventions): Warn about
4715         unportable file names.
4716         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
4717         (AC_INIT): Use it.
4718         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
4719         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
4720         ac_pwd, and quote srcdir.
4721         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
4723         * doc/autoconf.texi: Fix some systematic formatting problems.
4724         ".)"  needs a following @: if not at the end of a sentence, and
4725         similarly for "!)".  "etc." should be preceded by a comma.
4726         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
4728 2005-03-22  Bruno Haible  <bruno@clisp.org>
4730         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
4731         argument is often called 'build-aux'.
4733 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
4735         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
4736           macro AC_TRY_LINK is obsolete.
4737         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
4738           `AC_CONFIG_FILES'.
4740 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
4742         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
4743           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
4744           from a Common Lisp's `cl'.
4745         (AC_PROG_CXX): Behave according to the documentation: don't
4746           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
4747           make the variable CCC precious; use `cl.exe', not `cl'.
4749 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
4750             Alexandre Duret-Lutz  <adl@gnu.org>
4752         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
4753         /dev/null, as "configure" shouldn't read stdin, and this insulates
4754         us from problems (e.g., when testing for "cl").  Also, do this
4755         redirection before invoking "hostname" or "uname", and keep the
4756         original input stream available via...
4757         (AS_ORIGINAL_STDIN_FD): ... this new macro.
4758         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
4759         bother with "</dev/null" since it's now done at the top of
4760         'configure'.
4761         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
4762         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4763         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4764         * doc/autoconf.texi (File Descriptor Macros): New section.
4765         (Printing Messages): Mention it.
4766         * tests/base.at (Input/Output): New test.
4768 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
4770         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
4771         newline if neither \c nor -n work, as that would output two
4772         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
4774 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
4776         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
4777         This causes that any required macros inside will get before the if.
4778         * doc/autoconf.texi (autom4te.cache): A typo.
4780 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
4782         Undo previous change, except keep the change to
4783         lib/autoconf/programs.m4 that replaced grep with shell
4784         pattern-matching.  This is because net-snmp configure reads stdin.
4785         Reported by Noah Misch.
4787 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
4789         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
4790         from /dev/null, as "configure" shouldn't read stdin, and this
4791         insulates us from problems (e.g., when testing for "cl").
4792         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
4793         before invoking "hostname" or "uname".
4794         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4795         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
4796         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
4797         "</dev/null" since it's now done at the top of 'configure'.
4798         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4799         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4800         Also, replace grep with shell pattern-matching, to save a process.
4802 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
4804         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4805         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
4806         avoid thinking that Allegro Common Lisp's "cl" command is a C++
4807         compiler.
4809 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4811         * doc/autoconf.texi (Limitations of Usual Tools): Document that
4812         grep -q isn't portable.  Improve grep -s explanation.
4813         Problem reported by Dan Manthey.
4815 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
4817         * doc/autoconf.texi (Special Shell Variables): Clarify
4818         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
4820 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4822         * doc/autoconf.texi: Use @acronym for DJGPP.
4823         Fix some @code's that should have been @env's, and vice versa.
4824         Sort environment variable names.
4825         Mention that shells no longer inherit IFS.
4826         Don't recommend PATH_SEPARATOR=';' so strongly.
4827         Mention that $RANDOM might expand to the empty string.
4828         "symlink" and "soft link" -> "symbolic link".
4829         Improve mktemp description (reported by Bruno Haible).
4831 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
4833         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
4834         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
4835         Likewise.
4836         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
4837         Likewise.
4839 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
4841         * NEWS: Mention AT_COPYRIGHT.
4843         * tests/local.at (AT_CMP): Use diff directly on input files rather
4844         than copying them.
4846         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
4847         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
4849 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
4850         and Paul Eggert  <eggert@cs.ucla.edu>
4852         * tests/autotest.at (Empty test suite): New test.
4853         * tests/torture.at (Substitute and define special characters)
4854         (Substitute a 2000-byte string, Define to a 2000-byte string)
4855         (Substitute a newline, Define a newline): New tests.
4857 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
4859         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
4860         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
4861         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
4862         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
4863         (Standard regular expressions): New test.
4864         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
4865         excess test name quoting.
4866         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
4867         CPPFLAGS to `configure' instead of setting it in `configure'.
4869         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
4870         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
4871         on some platforms.
4873         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
4874         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
4876         * tests/local.at (AT_CMP): New macro.
4877         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
4878         (AC_SAVE_STATE): Move environment grep...
4879         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
4880         (AT_CONFIG_CMP): New macro.
4881         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
4882         * tests/c.at (Extensions): Do not exit early.
4883         * tests/atlocal.in: Inherit $GREP.
4885         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
4886         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
4888         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
4889         (AC_COPYRIGHT): Factor header comment portion out and move into...
4890         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
4891         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
4892         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
4893         --version output.
4894         * tests/local.at: Add Autoconf test suite copyright notice.
4895         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
4897 2005-02-04  Bruno Haible  <bruno@clisp.org>
4898         and Paul Eggert  <eggert@cs.ucla.edu>
4900         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
4902 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
4904         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
4905         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
4907         Try not to generated lines of unlimited length, as POSIX places a
4908         2047-byte limit on line length of portable text files.
4909         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
4910         Use newline as a separator, not space.
4911         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
4912         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
4913         space.
4915 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4917         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
4918         as_func_*.  Add test to check whether positional parameters
4919         are restored after function return.
4921 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
4923         * doc/autoconf.texi (Special Shell Variables): Mention _,
4924         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
4925         if they contain a lower-case letter.  The DUALCASE problem was
4926         reported by Ralf Wildenhues.
4928         * bin/autoconf.as: Don't exit with status 0 after write failure
4929         with --help or --version.
4930         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
4931         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
4933 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4935         * doc/autoconf.texi (Limitations of Usual Tools):
4936         Unicos 9 sed limitations.
4937         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
4938         to get the option-enhanced interface on older Crays.  Try ftn for
4939         Fortran 95 (newer Crays).
4941 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
4943         * man/Makefile.am (.x.1): Go back to the simple solution, but take
4944         care to echo the commands, so the user knows what's going on.
4945         Modified from a suggestion by Stepan Kasal.
4947         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
4948         with a cross reference.  Derived from a suggestion by Bruce Korb.
4950 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
4952         * doc/autoconf.texi (config.status Invocation): Warn about
4953         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
4954         * doc/install.texi (Defining Variables): Likewise.
4955         Based on a proposed patch by Ralf Wildenhues.
4957         * man/Makefile.am (.x.1): Make sure the required generated files
4958         are up to date.  Problem and original solution proposed by Stepan Kasal.
4959         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
4960         implicit-man-prerequisites): New rules, used by the above.
4962         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
4963         * config/config.guess, config/config.sub, config/install-sh: Likewise.
4964         * config/missing, config/texinfo.tex: Likewise.
4966 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
4968         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
4969         Update the long comment explaining it.
4971         m4_require no longer writes an ``is required by'' line to the
4972         execution stack.  It contains only one bit of non-redundant
4973         information: that the macro was required, not called.  And even
4974         this bit is useless in most situations: have you ever met a macro
4975         which both calls and requires the same macro?
4977         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
4978         (_m4_defun_pro_outer): ... only via this macro, for the outermost
4979           macro.
4980         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
4981         (m4_expansion_stack_pop): Remove the misplaced comment.
4982         (m4_require): Don't put the ``is required by'' line to the
4983           execution stack; slightly improve the out-of-a-defun error message.
4984         (_m4_divert_grow): New macro, counter for the temporary diversions.
4985         (_m4_require_call): Use it.
4986         * tests/m4sugar.at (m4_require): Expect output without the
4987           ``is required by'' messages.
4989 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
4991         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
4992         rather than x for expr.
4994         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
4995         this is safe.
4996         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
4997         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4998         * lib/autotest/general.m4 (AT_INIT): Likewise.
4999         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
5000         * tests/mktests.sh: Likewise.
5002 2005-01-27  Akim Demaille  <akim@epita.fr>
5004         Have autoheader honor --force.
5006         * doc/make-stds.texi, doc/standards.texi: Update from masters.
5007         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
5008         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
5009         from masters, so that FileUtils.pm's update_file provide --force
5010         support.
5011         * bin/autoheader.in: Pass $force to update_file so that
5012         config.h.in is always recreated when --force.
5014 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
5016         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
5018 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
5020         * doc/autoconf.texi (Limitations of Builtins): Clarify that
5021         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
5023 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
5025         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
5026         Warn about newline stripping in `` and $().  Update Solaris
5027         version to 9.
5028         (Limitations of Builtins): Use expr "X...", not expr "x...", as
5029         X insulates us from future changes to Posix.
5030         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
5031         stripping.
5033 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
5035         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
5036           you cannot use AC_DEFINE to define macros containing `[' or `]'.
5038 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
5040         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
5041         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
5042         bug-tar mailing list.
5044 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
5046         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
5048 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
5050         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
5051         ulongval to be static, to avoid unwanted GCC warning.  Problem
5052         reported by Michael Jennings via Daniel Reed; see
5053         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
5055 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
5057         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
5058         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
5059         datadir, infodir, and mandir.  Adjust argument parsing code.
5060         (_AC_INIT_HELP): Update help text.
5061         * doc/autoconf.texi (Installation Directory Variables): Document
5062         new variables.
5064 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
5066         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
5067         not seem to work, assume it does set $(MAKE).
5068         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
5070 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
5072         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
5074 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
5076         A cleanup of the diversion support in m4sugar.
5078         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
5079         (_m4_divert_n_stack): New macro; the expansion is
5080           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
5081           otherwise.
5082         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
5083         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
5084           stored in _m4_divert_diversion or _m4_divert_dump.
5085         (m4_divert_pop): When the parameter is given, compare the symbolic
5086           name with the last diversion pushed on the stack.  Previously, the
5087           current diversion was compared with the numeric value of the
5088           diversion given as the parameter.
5089         (m4_require): If the macro hasn't been expanded yet, call ...
5090         (_m4_require_call): this new macro.
5092 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5094         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
5095         Workarounds for documented `case' limitations.
5097 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
5099         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
5100         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
5102 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
5104         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
5105         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5106         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
5108         Patch from Roger Leigh (with some minor changes) as follows:
5109         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
5110         Resurrect AC_PROG_CC_STDC.
5111         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
5112         AC_PROG_CC_C89, AC_PROG_CC_C99.
5113         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
5114         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
5115         AC_PROG_CC_C99): New macros.
5116         (AC_PROG_CC_STDC): Use them.
5117         (_AC_PROG_CC_STDC): Remove.
5118         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
5119         * THANKS: Add Roger Leigh.
5121 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
5123         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
5124         signals that the package uses Automake; a `Makefile.am' is typical but
5125         not essential.  Reported by Magnus Therning.
5126         * tests/torture.at (autoreconf.): New banner.
5127         (autoreconf and non-AC configure): Rename to `Non-Autoconf
5128         AC_CONFIG_SUBDIRS'.
5129         (autoreconf an empty directory): Rename to `Empty directory'.
5130         (Unusual Automake input files): New test.
5132 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
5134         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
5135         (AT_SETUP): Clear AT_capture_files.
5136         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
5137         (AT_KEYWORDS): Fix comment typo.
5138         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
5139         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
5140         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
5142 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
5144         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
5145         If the variable to set is already set, set ac_cv_path_$1
5146         to the preset value so caller can assume ac_cv_path_$1
5147         is available.  (trivial change)
5149 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
5151         * BUGS (Minor Problems): Warn about makefile limitations.
5152         * Makefile.am: Find and update `INSTALL' in $(srcdir).
5153         * man/Makefile.am: Find and update manual pages in $(srcdir).
5155 2004-12-24  Eric Blake  <ebb9@byu.net>
5157         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
5158         shells in subshell, to avoid noise from ash.  (trivial change)
5160 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5162         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5163         problems with SunOS ksh and backslash escaping, Bourne shells and
5164         closing brackets (both within character classes).  Bug reported
5165         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
5166         <read>: New entry.  Mention non-availability of -r.
5168 2004-12-21  Akim Demaille  <akim@epita.fr>
5170         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
5171         avoid cluttering displayed messages.  Rather, prepend srcdir where
5172         AT_LINE is used for log files.
5174 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
5176         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
5177         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
5178           no longer part of the macro, quote the occurrence of ``$tmp''.
5179         * doc/autoconf.texi (Forbidden Patterns): Typo.
5181 2004-12-21  Akim Demaille  <akim@epita.fr>
5183         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
5184         separated from the test title by forcing a white space.
5186 2004-12-21  Akim Demaille  <akim@epita.fr>
5188         Enable Emacs navigation within testsuite.log files.
5190         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
5191         use the compilation mode.
5192         (AT_LINE): Point to the srcdir.
5194 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
5196         * tests/Makefile.am (installcheck-local): Use $(bindir).
5197         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
5198         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
5199         Makefile.am scheme Autoconf now uses.
5201 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
5203         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
5204         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
5206 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
5208         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
5209         (_AT_CHECK): Use it.
5210         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
5211         (AS_ESCAPE): Fix comment.
5212         * tests/autotest.at: Adjust section banner comments.
5213         (AT_CHECK_AT): Accept STATUS and STDERR.
5214         (AT_CHECK_AT_TEST): Likewise.
5215         (Invalid brace-enclosed parameter expansion)
5216         (Multiline command from M4 expansion)
5217         (Double-M4-quoted command): New tests.
5219 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
5221         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
5223 2004-12-17  Akim Demaille  <akim@epita.fr>
5225         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
5226         m4_pattern_allow.
5227         Suggested by Alexandre Duret-Lutz.
5228         * doc/autoconf.texi (Setting Output Variables): Catch up.
5230 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5232         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
5234 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5236         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
5237           remove the comment which said we cannot.
5239 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5241         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
5242         Reini Urban and Paul Eggert for reporting the dependencies.
5244         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
5245         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
5246         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
5248 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5250         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
5251           so that eg. ``autoscan --help'' doesn't truncate it.
5253 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
5255         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
5256         generated conftest files.
5258 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
5260         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
5261         tracing on commands with possibly-escaped newlines.
5262         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
5263         discontinued behavior and its implications.
5264         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
5265         (BSx641-newline in command, BS-BS-newline in command)
5266         (BSx640-newline in command, Newline-CODE-BS-newline in command)
5267         (Single-quote-BS-newline in command)
5268         (Single-quote-newline-BS-newline in command): New tests.
5270 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
5272         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
5273           on platforms where it works.
5274         (_AS_TEST_PREPARE): Test for ``test -x''.
5275         (_AS_BROKEN_TEST_PREPARE): Nuke.
5277 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
5279         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
5280         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
5281           give only 4-letter prefix to AS_TMPDIR, comment fixed.
5282         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
5283           create the temporary directory.
5284         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
5286 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
5288         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
5289         (trivial change)
5291 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
5293         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
5295 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
5297         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
5298         to avoid using a negated character class.  Reported by Nicolas Joly.
5299         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
5301 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5303         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
5304         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
5305         Don't depend on .x file explicitly, since "make" does that for us.
5306         Suggested by Stepan Kasal.
5308         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
5309         Add *.tmp.
5310         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
5311         ifnames): Factor common code.  And they said it couldn't be done!
5313 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
5315         * bin/.cvsignore: Add autoconf.in.
5316         * tests/.cvsignore: Add wrapper.in.
5317         * lib/autotest/general.m4: Escape '$' in case pattern.
5319 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
5321         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
5323         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
5325         * tests/autotest.at: New file.
5326         * tests/suite.at: Include it.
5327         * tests/Makefile.am: Distribute it.
5329         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
5330           shell tracing on a command that could contain multiple lines.
5331         * doc/autoconf.text: Document that fact and its implications.
5332         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
5333         * tests/autotest.at (Multiline backquote command substitution,
5334           Multiline parameter expansion, Literal multiline command,
5335           Multiline parenthetical command substitution): Remove XFAIL.
5337 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
5339         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
5340         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
5342 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
5344         * configure.ac (test suite): Cease to generate wrapper scripts.
5345         * configure: Regenerate.
5346         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
5347         (m4f_dependencies): Adjust accordingly.
5348         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
5349         (wrapper.in): Generate it in the build directory.
5350         (MAINTAINERCLEANFILES): Delete wrapper.in.
5351         (CLEANFILES): Add wrapper.in.
5352         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
5353         the output.  Replace each $as_me with a @wrap_program@.
5354         * tests/wrapper.in: Delete it; we always build it.
5356         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
5357         (EXTRA_DIST): Remove autoconf.in.
5358         (CLEANFILES): Add autoconf.in.
5359         (autoconf): Find autoconf.in in the build directory.
5360         * bin/autoconf.in: Delete it; we always build it.
5362 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
5364         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
5365         PATH members so as to not prepend an empty element.  Move a comment.
5366         * Makefile.am (SUBDIRS): Build in `tests' last.
5367         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
5369 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
5371         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
5372         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
5373         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
5374         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
5376 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
5378         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
5379         patch: extra "-l"s.
5381 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
5383         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
5384         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
5385         * doc/autoconf.texi (Particular Functions): Mention new behavior.
5387 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
5389         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
5390           out the common code to ...
5391         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
5392           value of the #define--default to 1, iff the macro was called
5393           with exactly one parameter.
5395 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
5397         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
5398         "char c = '\200';" rather than "char c = 0x80;" as the
5399         latter doesn't conform to the strict C standard due to
5400         overflow on signed char hosts.
5402         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
5403         to -qlanglvl=ansi.  We don't want to disable extensions.
5405 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
5407         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
5408         (Using Autotest, testsuite Scripts, Writing testsuite.at):
5409         Reword slightly to avoid some English-language problems noted
5410         by Ralf Wildenhues in:
5411         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
5413 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
5415         * NEWS: Add ^L above each release.
5417 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
5419         Fix documentation problems reported by Russ Boylan in
5420         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
5421         along with some nearby cruft.
5422         * doc/autoconf.texi (Libtool): Libtool can be used without
5423         Automake (not without Autoconf).
5424         (Introduction): Mention lists.gnu.org.
5425         * BUGS: Don't mention bugs.gnu.org.
5426         Remove mention of ancient libtool compatibility problem.
5427         * NEWS: Mention that bugs.gnu.org is kaput.
5428         * README: Likewise.  Mention where mailing list archives can be found.
5430 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
5432         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
5434 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
5436         * doc/autoconf.texi (Pretty Help Strings): Go back to
5437         single-quoting assignments to cache variables.
5439 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
5441         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
5442         with the examples; fix the bug in MY_ARG_WITH example reported
5443         by Alexandre Duret-Lutz.
5444         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
5445         expansion of $1 in the comment emitted to configure.
5447 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
5449         * doc/autoconf.texi (Pretty Help Strings): Fix typo
5450         in my editing of the previous patch.  Problem reported
5451         by Alexandre Duret-Lutz.
5453 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
5455         * doc/autoconf.texi (Autoconf Language): Explain that
5456         ``descriptions'' may not be double quotes.
5457         (Quotation Rule Of Thumb): Likewise.
5458         (Pretty Help Strings): Likewise; remove the wrong comment;
5459         simplify the examples and improve their quoting.
5461 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
5463         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
5464         the $1_found variable, don't test whether the file is executable;
5465         Both things are checked ...
5466         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
5467         the former ``test -f''.
5468         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
5470 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
5472         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
5473         use cp -R instead.
5475 2004-11-10  Derek R. Price  <derek@ximbiot.com>
5477         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
5478         limitations.  Reorder paragraphs for clarity.
5480 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
5482         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
5483         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
5484         variants", "Unix", and some related minor wording fixups.
5486         (Shellology, Special Shell Variables): Document that the Zsh
5487         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
5488         to Alexandre Duret-Lutz for this info.
5490 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
5492         * doc/autoconf.texi (One-Shot Macros): New node.
5494 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
5496         * doc/autoconf.texi (Function Portability): Fix misdescription
5497         of putenv.  Problem reported by Michael Wardle.
5499 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
5501         * doc/autoconf.texi (auindex): New macro.
5502         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
5503         Problem reported by Stepan Kasal.
5505 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
5507         Fix problems reported by Andreas Buening in:
5508         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
5509         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
5510         in test makefile.
5511         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
5512         readable; it's not true in OS/2-emx.
5514 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
5516         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
5517         "/usr/include", clear ac_x_includes instead of leaving it as "no"
5518         (trivial change).  Problem and patch reported by Andrew Church in:
5519         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
5521 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
5523         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
5524         three args in examples.  Problem reported by Frederik Fouvry in:
5525         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
5526         Also, fix some minor spacing and punctuation bugs.
5528 2004-09-02  Akim Demaille  <akim@epita.fr>
5530         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
5531         "case" to restore ordering.
5532         Reported by Stepan Kasal.
5534 2004-08-26  Akim Demaille  <akim@epita.fr>
5536         * doc/autoconf.texi: Minor typos and stylos.
5538 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
5540         * configure.ac (AC_INIT): Bump to 2.59c.
5542 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
5544         Version 2.59b.
5546         * README: Add advice about m4 1.4.2.
5548         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
5549         texinfo.tex for now (done by hand now).
5550         * Makefile.maint (wget_files, cvs_files):
5551         Remove ansi2knr.c; nobody uses it.
5552         (ansi2knr.c-url_prefix): Remove.
5553         (cvs-update): Fix test for failure.  I don't know why it ever
5554         worked...
5556         * doc/autoconf.texi: Update URLs, some of which went stale.
5557         Use @uref rather than @href.
5559         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
5560         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
5562         * config/config.guess, config/config.sub, config/elisp-comp,
5563         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
5564         doc/fdl.texi, doc/standards.texi: Sync with master copy.
5566         * NEWS, TODO, configure.ac, bin/autoscan.in,
5567         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
5568         doc/install.texi, lib/Autom4te/Configure_ac.pm,
5569         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
5570         lib/autoconf/programs.m4, lib/autoconf/status.m4,
5571         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
5572         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
5573         tests/tools.at, tests/torture.at:
5574         Use "file name" rather than "filename" or "path",
5575         to be consistent with the terminology of the GNU coding standards.
5577 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
5579         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
5580         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
5581         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
5582         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
5584         More fixes to support spaces in the name of the build directory.
5585         This isn't a complete fix but it's an improvement.
5587         * bin/autoconf.as (autom4te_options): New var.
5588         Use it instead of appending to AUTOM4TE, so that we can allow
5589         spaces in the build directory's absolute name.
5590         * bin/autoheader.in ($autoconf): Allow spaces in file names.
5591         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
5592         AT_CHECK_NOESCAPE): Likewise.
5593         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
5594         main program): Likewise.
5596 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5598         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
5599         From Ralf Corsepius in:
5600         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
5602 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
5604         * doc/autoconf.texi (Function Portability): Document isinf and
5605         and isnan.  From a suggestion by Kevin Ryde.
5607         * lib/Autom4te/General.pm (END): Return correct exit status even
5608         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
5610 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
5612         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
5613         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
5614         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
5616 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
5618         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
5619         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
5620         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
5621         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
5622         * lib/autom4te.in (Automake-preselections): Preselect
5623         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
5625 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
5627         * lib/autom4te.in (Automake-preselections): Preselect
5628         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
5629         trace them.
5631 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
5633         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
5634         Tru64.
5635         * doc/autoconf.texi (Shellology): Mention BIN_SH.
5636         Document problem with "`""`" in pdksh POSIX mode.
5638 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
5640         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
5641         with pdksh, too.  Problem reported by Patrick Welche via
5642         Gary V. Vaughan.
5643         * doc/autoconf.texi (Shellology): Note that set -o posix is
5644         useful for pkdsh, too.
5646 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
5648         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
5649         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
5650         Don't fail if ENV or BASH_ENV is readonly.
5651         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
5652         etc. are read only.  Problem reported by Ludovic Courtes.
5654 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
5656         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
5657         zsh, disable GLOB_SUBST to avoid backslash handling problems.
5658         (trivial change)
5660 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
5662         * doc/autoconf.texi (File System Conventions): Warn about
5663         names like "aux".  Problem reported by Eric Blake.
5665         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
5666         by zero instead of array size, so that we can use any arithmetic
5667         constant expression (instead of requiring an integer constant
5668         expression).  This allows us to test expressions like DBL_MAX <
5669         LDBL_MAX, which didn't conform to the C standard using the old
5670         method.
5671         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
5672         now that we can do floating-point tests at compile time.
5674 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
5676         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
5677         and LDBL_EPSILON, as the resulting expression isn't an
5678         integer constant expression and violates the C standard.
5679         Problem reported by Nelson H. F. Beebe.  Also, check
5680         for "L" suffix, and check that long double doesn't have
5681         worse range or precision than double, that mixed-mode
5682         arithmetic doesn't generate a diagnostic, that double
5683         constants fit in long double.
5685 2004-06-03  Kevin Ryde  <user42@zip.com.au>
5687         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
5688         malloc(0) and realloc(NULL,size).
5690         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
5691         Bob Proulx.
5693 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
5695         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
5696         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
5697         by Jim Meyering.
5699 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
5701         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
5702         can be rewritten using if-then-else.  Suggested by Bruno Haible.
5704 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
5706         * doc/autoconf.texi (testsuite Scripts): Fix typo.
5707         Problem reported by Stepan Kasal.
5709 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
5711         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
5712         change).  Patch reported by Ralf Wildenhues in
5713         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
5715         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
5716         function F exists if the compiler and linker let you compile an
5717         expression like (F != 0).  Recent versions of GCC optimize away
5718         the reference to F in that case, since every function address must
5719         be nonzero, so the link succeeds even if F does not exist.
5720         Problem reported by Manu in
5721         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
5723         * doc/autoconf.texi (Systemology): Standardize on the spelling of
5724         "Unix".  Many uses changed.
5725         (Limitations of Builtins): Explain better why the ! command isn't
5726         portable.
5728 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
5730         * lib/autom4te.in (Automake-preselections): Preselect
5731         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
5733 2004-05-19  Kevin Ryde  <user42@zip.com.au>
5735         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
5736         referencing AC_FUNC_STRERROR_R.
5738         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
5739         note pessimistic assumption when cross compiling.
5741 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
5743         * doc/autoconf.texi (Limitations of Make): Note that BSD make
5744         (until 2004) invoked subcommands with sh -e, contra POSIX.
5745         Reported by Kevin Ryde.
5747 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
5749         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
5750         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
5751         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
5752         `test -f "        /usr/bin/grep"', which _always_ failed.
5753         (AC_PROG_SED): Ditto bogus PATH fix.
5754         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
5755         requires that grep correctly supports _multiple_ `-e' options, rather
5756         than stating only that grep should accept `-e'.
5758 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
5760         Port to C99, which requires that 'exit' be declared.
5762         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
5763         to ensure that stdlib.h is included.
5764         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
5765         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
5766         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
5767         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
5768         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
5769         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
5770         when using 'exit' in a test; C99 requires that 'exit' be declared.
5772 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
5774         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
5775         now prefers 'grep' implementations that accept -e.
5776         (Limitations of Usual Tools): Describe problems of traditional
5777         egrep and fgrep with long input lines, and of traditional grep
5778         with -e.
5779         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
5780         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
5781         All callers changed.  Append /usr/xpg4/bin to the PATH, for
5782         Solaris.
5783         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
5784         the user with complaints about multiple -e options.
5785         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
5786         Define it with AC_PROG_GREP.
5787         * configure.ac (AC_PROG_GREP): Add.
5788         * lib/freeze.mk (GREP): New macro.
5790 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
5792         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
5793         a possible candidate only after all others fail, rather than
5794         consulting it first.  This improves backward compatibility by
5795         better reflecting the way shell selection occurred in previous
5796         versions of Autoconf, and should help to avoid triggering latent
5797         problems in other packages, such as the one in Automake where zsh
5798         is not handled robustly:
5799         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
5800         Although it is not Autoconf's responsibility to work around
5801         problems in Automake, it nevertheless makes sense to avoid
5802         introducing unnecessary incompatibilites.
5804 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
5805             Gary V. Vaughan  <gary@gnu.org>
5807         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
5808         how deeply nested we are when a suitable tool is found, set the
5809         ac_path_TOOL_found flag.
5810         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
5811         nested we are in this macro.  Break out of all 3 nested loops if
5812         ac_path_TOOL_found is set.
5814 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
5816         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
5817         of the _AS_PATH_WALK loop too if GNU flavor is found.
5819 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
5821         * doc/autoconf.texi (Limitations of Make): Update documentation
5822         for `$<'.  New entry `Long lines', based on a report from Simon
5823         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
5824         paragraph about DJGPP, based on a mail from Richard Dawe.
5826 2004-04-20  Paul Eggert  <eggert@twinsun.com>
5828         * tests/c.at (C keywords): Don't assume that GCC supports
5829         "restrict" and "inline", as sufficiently-old GCC versions do not
5830         (also, GCC configured to be in pedantic C89 mode does not).
5831         Problem reported by Sumit Pandya in:
5832         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
5834         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
5835         consider -g to work if it generates warnings when plain compiles
5836         don't.  Problem reported by Braden McDaniel in:
5837         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
5839         * doc/autoconf.texi (Slashes): New section, to document a problem
5840         reported by Jim Meyering in:
5841         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
5843         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
5844         linker output files before linking, to work around IRIX 6 linker bug.
5845         Problem reported by Rainer Orth in:
5846         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
5848 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
5850         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
5851         best tool so far counter rely on the tool path variable name to
5852         avoid checks for one tool being affected by the results of running
5853         the length check on a previous tool.
5855         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
5856         match expression argument, as different greps have different
5857         regular expression flavours.
5858         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
5859         literals.
5860         (AC_PROG_EGREP): Pass 'EGREP$'.
5861         (AC_PROG_GREP): Pass 'GREP$'.
5863 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
5865         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
5866         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
5868 2004-03-29  Paul Eggert  <eggert@twinsun.com>
5870         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
5871         Types, Specific Compiler Characteristics, System Services,
5872         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
5873         etc. consistently instead of 'long', 'short', 'unsigned' etc.
5874         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
5875         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
5876         Likewise.
5877         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
5878         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
5879         AC_TYPE_OFF_T): Likewise.
5880         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
5881         Likewise.
5883         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
5884         pacify libtool 1.5.2.  Fix quoting problems in sed command.
5886 2004-03-28  Paul Eggert  <eggert@twinsun.com>
5888         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
5889         now defines HAVE_DECL_TZNAME if it is declared, when
5890         HAVE_STRUCT_TM_TM_ZONE is not defined.
5891         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
5892         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
5893         for HAVE_TZNAME.
5895 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
5897         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
5898         superfluous backslashing of quotes (") in sed expressions;
5899         thanks to Paul Eggert.
5901 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
5903         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
5904         Fortran compiler is ifort, also added pghpf; thanks to Nelson
5905         H. F. Beebe for the bug report.
5907 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
5909         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
5910         quoted -cmdline argument in Portland Group compiler (bug
5911         reported by Jeffrey J. Barteet).
5913 2004-03-25  Kevin Ryde  <user42@zip.com.au>
5915         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
5916         (Run Time): ... here, where it's now mentioned.
5918 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
5920         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
5921         inherits from language Autoconf-without-aclocal-m4.
5922         (Customizing autom4te): Adjust example; the cache must now be
5923         disabled for language Autoconf-without-aclocal-m4.
5925 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
5926             Nathanael Nerode  <neroden@twcny.rr.com>
5928         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
5929         AC_CHECK_TOOLS): Warn if a cross-tool is found without
5930         a prefix.
5931         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5932         AC_CHECK_TARGET_TOOLS): New macros.
5933         * doc/autoconf.texi (Generic Programs): Document
5934         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5935         AC_CHECK_TARGET_TOOLS, and warn for future changes
5936         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
5937         AC_CHECK_TOOLS.
5938         (Specifying Names): Document the reason for these future
5939         behavioral changes.
5940         * tests/mktests.sh: Do not generate tests for the
5941         new macros.
5942         * NEWS: Document these changes.
5944         * doc/autoconf.texi: Avoid macros with unbraced arguments,
5945         they make TeX hang up.
5947 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
5949         * NEWS: New macro AC_CHECK_ALIGNOF.
5950         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
5951         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
5952         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
5953         vowel.
5954         (AC_CHECK_ALIGNOF): New macro.
5955         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
5956         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
5957         those for sizeof.
5959 2004-03-03  Paul Eggert  <eggert@twinsun.com>
5961         * bin/Makefile.am (edit): Don't use $< in a context where
5962         POSIX doesn't require support for it.  Use $@.in instead.
5963         Problem reported by Anthony N. Frasso in
5964         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
5965         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
5967 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
5969         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
5970         from the next generation of Libtool.
5971         * lib/autom4te.in (Autoreconf-preselections): Ditto.
5973 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
5975         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
5976         is not always thread-safe.  Report from Nathanael Nerode.
5978 2004-02-18  Paul Eggert  <eggert@twinsun.com>
5980         Fix a dependencies problem, stemming from a Autoconf 2.59 build
5981         problem on QNX reported by Stephen Rasku in
5982         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
5984         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
5985         $(m4sh_m4f_dependencies); this removes a FIXME.
5986         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
5987         (MAINTAINERCLEANFILES): Split into pieces,
5988         one per related section.  Add $(srcdir)/wrapper.in.
5990 2004-02-09  Paul Eggert  <eggert@twinsun.com>
5992         * doc/autoconf.texi (Setting Output Variables): Emphasize that
5993         AC_SUBST provides no portable way to escape literal newlines.
5995         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
5996         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
5997         Darwin uses -lcrt2.o and there's little point to cataloging all
5998         the system variants.  Partial fix reported by Andreas Waechter in:
5999         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
6000         for bug reported by Nelson H. F. Beebe in:
6001         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
6003 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
6005         * doc/autoconf.texi (AU_DEFUN): Fix English,
6006         suggested by Paul Eggert.
6007         * lib/autoconf/autoupdate.m4: Correct reference to
6008         acobsolete.m4, suggested by Alexandre Duret-Lutz.
6010 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
6012         * bin/autoupdate.in: Define __file__ so that warnings
6013         refer to the correct file.
6014         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
6015         the behavior of the third argument.
6016         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
6017         correctly the behavior of the third argument.  Document
6018         what the three macros that AU_DEFUN defines do.  Fix
6019         warning message when the third argument includes $0
6020         (reported by Alexandre Duret-Lutz).
6022 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
6023             Eric Sunshine  <sunshine@sunshineco.com>
6024             Paul Eggert  <eggert@twinsun.com>
6026         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
6027         (AS_INIT): Output shell initialization there. Removed optional
6028         parameter. Expand _AS_SHELL_FN_SPY.
6029         (AS_INIT_WITH_SHELL_FN): Removed.
6030         (_AS_SHELL_FN_SPY): New macro.
6031         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
6032         macros.
6033         (AS_SHELL_SANITIZE): Remove loop to find better shell
6034         and documentation for the parameter.
6035         (_AS_DETECT_BETTER_SHELL): Move it here.
6036         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
6037         (_AS_RUN): Move it here, support testing with eval.
6038         (AS_REQUIRE_SHELL_FN): Require shell functions when
6039         it is used.
6040         (_AS_LINENO_WORKS): Put around braces, we do not
6041         trigger the bash bug anymore.
6042         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
6043         use AS_INIT_WITH_SHELL_FN.
6044         * bin/autoconf.in, tests/wrapper.in: Regenerated.
6046 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
6048         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
6049         * doc/autoconf.texi: Don't say that the third parameter
6050         is broken.
6051         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
6052         (AU_DEFUN): Honor the third parameter, create autoupdate
6053         macros with AU_DEFINE.
6054         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
6055         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
6056         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
6057         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
6058         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
6059         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
6060         AC_XENIX_DIR): Likewise.
6061         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
6062         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
6063         * lib/autoconf/status.m4: Remove FIXME.
6064         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
6065         that the macro is not present anymore in the updated
6066         configure.ac.
6067         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
6068         of autoupdate.
6070 2004-01-28  Paul Eggert  <eggert@twinsun.com>
6072         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
6073         copyright years.
6074         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
6075         2003 (except 1997) to the list of copyright years.  This undoes
6076         the 2003-05-22 change, which removed the older years from the list.
6077         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
6079 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
6080             Albert Chin-A-Young  <china@thewrittenword.com>
6082         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
6083         grep or ggrep program in PATH that accepts as long lines as
6084         possible.
6085         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
6086         AC_PROG_GREP.
6087         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
6088         egrep and fgrep respectively if $GREP -E/-F don't work.
6089         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
6090         _AC_PROG_GREP, and AC_PROG_SED.
6091         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
6092         longest input length accepted by a command.
6093         (AC_PROG_SED): Use it.
6094         * doc/autoconf.texi (Particular Programs): Document the changes.
6095         * NEWS: Updated.
6097 2004-01-27  Paul Eggert  <eggert@twinsun.com>
6099         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
6100         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6101         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
6102         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
6104         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
6105         bin/autoconf.in, config/Makefile.in, config/config.guess,
6106         config/config.sub, config/install-sh, config/mdate-sh,
6107         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
6108         lib/Makefile.in, lib/Autom4te/Makefile.in,
6109         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
6110         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
6111         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
6112         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
6113         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
6114         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
6115         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
6116         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
6117         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
6118         tests/actypes.at: Regenerate and/or sync with original
6119         sources.
6121 2004-01-26  Paul Eggert  <eggert@twinsun.com>
6123         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
6124         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
6125         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
6126         not <inttypes.h>.  Problem reported by Tim Mooney in
6127         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
6128         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
6129         Likewise.
6131         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
6132         otherwise "make check" fails because it forbids cmp (I guess
6133         because cmp treats files as binary on DOS-like systems).
6135         * tests/mktests.sh: Update copyright date to 2004, since some tests
6136         have changed in 2004.
6138 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
6140         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
6141         non-truncating sed or gsed program in PATH.
6142         * tests/acprograms.at: Add it.
6143         * doc/autoconf.texi (Particular Programs): Document it.
6144         * NEWS: Updated.
6146 2004-01-15  Paul Eggert  <eggert@twinsun.com>
6148         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
6149         -std1 disables some useful extensions on Tru64.  Problem reported
6150         by N. Lichtmaier in
6151         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
6153 2004-01-14  Paul Eggert  <eggert@twinsun.com>
6155         * doc/autoconf.texi (Programming in M4sh): Document that
6156         AS_MKDIR_P succeeds if the destination is a symbolic link
6157         to an existing directory.
6158         (Limitations of Usual Tools): Note that mkdir -p might not
6159         succeed on symlinks to directories.
6161 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
6163         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
6164         * bin/autoheader.in: Grammar fix in message.
6165         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
6166         Test for dir before calling mkdir -p.  (trivial changes)
6168 2004-01-13  Eric Blake  <ebb9@byu.net>
6170         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
6171         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
6173 2004-01-10  Jim Meyering  <jim@meyering.net>
6175         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
6177 2004-01-09  Paul Eggert  <eggert@twinsun.com>
6179         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
6180         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
6181         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
6182         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
6183         AC_COMPILE_IFELSE, since we now assume our caller invokes
6184         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
6185         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
6186         of AC_RUN_IFELSE; this avoids the warning mentioned above.
6187         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
6189 2004-01-07  Paul Eggert  <eggert@twinsun.com>
6191         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
6192         `"'...'"`, as it's confusing (and I suspect it may not work on
6193         some platforms).  The code was incorrect anyway, as it assumed
6194         that \$ evaluated to itself in that context.  Reported by
6195         Alexandre Duret-Lutz.
6197 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
6199         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
6200         and _LT_AC_TAGCONFIG.
6202 2004-01-06  Paul Eggert  <eggert@twinsun.com>
6204         * doc/autoconf.texi (One Macro Call): Fix an incorrect
6205         example, and add more examples.  Reported by Eric Sunshine.
6207 2004-01-05  Paul Eggert  <eggert@twinsun.com>
6209         * doc/autoconf.texi (Limitations of Usual Tools):
6210         Remove warning against "rm -fr" introduced yesterday; it
6211         was a false alarm.
6213         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
6214         autoscan, autoupdate, ifnames): Don't use chmod -w.
6215         * lib/Makefile.am (autom4te.cfg): Likewise.
6216         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
6217         "chmod -w".
6219 2004-01-04  Paul Eggert  <eggert@twinsun.com>
6220             Paolo Bonzini  <bonzini@gnu.org>
6222         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
6223         by doing lineno substitution only on lines containing "$LINENO".
6225 2004-01-04  Paul Eggert  <eggert@twinsun.com>
6227         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
6228         Use "rm -f" to remove conftest.sed, not plain "rm".
6229         Bug reported by David Relson in
6230         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
6232         * Makefile.am (autom4te-update):
6233         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
6234         * Makefile.maint (my-distcheck, do-po-update): Likewise.
6235         * doc/autoconf.texi (Guidelines): Likewise.
6236         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
6237         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
6238         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6239         * lib/autotest/general.m4 (AT_INIT): Likewise.
6240         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
6241         * tests/Makefile.am (clean-local): Likewise.
6242         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
6243         srcdir): Likewise.
6244         * doc/autoconf.texi (Limitations of Usual Tools):
6245         Warn against "rm -fr".
6247 2004-01-03  Paul Eggert  <eggert@twinsun.com>
6249         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
6250         -c -o might not work.  From a suggestion by Kevin Ryde.
6251         (C Compiler, Generating Sources, Limitations
6252         of Usual Tools, Limitations of Make, Making testsuite Scripts):
6253         Don't put '-o' after non-options, as POSIX doesn't allow this.
6254         Mention that cc's name might be gcc or c89 or whatever.
6256 2004-01-04  Kevin Ryde  <user42@zip.com.au>
6258         * doc/autoconf.texi: Add various further index entries.
6260 2003-12-29  Paul Eggert  <eggert@twinsun.com>
6262         * bin/autoreconf.in (autoreconf_current_directory):
6263         Fix typo: mkdir without umask arg.
6265 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
6267         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
6268         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
6269         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
6270         explanation clearer.
6272 2003-12-24  Andreas Schwab  <schwab@suse.de>
6274         * doc/autoconf.texi (Default Includes): Fix misspelling of
6275         AC_INCLUDES_DEFAULT.
6277 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
6279         * configure.ac: Test if sh -n works.
6280         * configure: Regenerate.
6281         * tests/atlocal.in: Store the result here.
6282         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
6283         tools.at, looking in atlocal's ac_cv_sh_n_works instead
6284         of explicitly testing.
6285         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
6286         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
6287         * tests/tools.at (Syntax of the shell scripts): Simplify
6288         using AT_CHECK_SHELL_SYNTAX.
6289         (Syntax of the Perl scripts): Remove definition of
6290         AT_CHECK_PERL_SYNTAX.
6292 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
6294         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
6295         stderr to /dev/null.
6296         * bin/autoconf.in: Regenerate.
6297         * bin/wrapper.in: Regenerate.
6299 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
6301         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
6302         Extracted from AS_SHELL_SANITIZE.
6303         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
6304         macros.
6305         (AS_SHELL_SANITIZE): Move reinvocation code from
6306         _AS_LINENO_WORKS, use it to find out if shell
6307         functions work.
6308         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
6309         does not work.
6310         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
6311         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
6312         was called.
6313         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
6314         * bin/autoconf.in: Regenerate.
6315         * tests/wrapper.in: Regenerate.
6316         * tests/tools.at: Test the syntax of tests/autoconf
6317         and tests/testsuite.
6319 2003-11-24  Akim Demaille  <akim@epita.fr>
6321         * config/announce-gen (&print_locations, &print_signatures)
6322         (&sizes): New.
6323         Use them.
6324         No longer rely on Gnus to inline the list of signatures: compute
6325         them on the fly.
6327 2003-11-24  Akim Demaille  <akim@epita.fr>
6329         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
6330         override some files.
6331         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
6332         From Debian Autoconf 2.58.
6334 2003-11-24  Akim Demaille  <akim@epita.fr>
6336         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
6337         uses.
6338         From Debian Autoconf 2.58.
6340 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
6342         * TODO: Remove already done things.  Update the part about finding
6343         tools for the target.
6345 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
6347         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
6348         Make wording more consistent.
6349         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6350         Explain the transition better.
6351         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
6352         the transition better.
6354 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
6356         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
6357         parameter of AU_DEFUN.
6358         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
6359         (AU_DEFUN): Remove the third parameter, it was not used.
6360         Use AC_DEFUN directly, not AU_DEFINE.
6361         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
6362         the expanded body, consistently with other macros such as AC_USG.
6364 2003-11-17  Paul Eggert  <eggert@twinsun.com>
6366         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
6367         into the initial confdefs.h, to work around a bug in NextStep 3.3
6368         patch 3 reported by Eric Sunshine.
6370 2003-11-15  Kevin Ryde  <user42@zip.com.au>
6372         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
6373         than $target since the latter is not usual, add guidelines on when to
6374         use or not use the system type.
6376 2003-11-12  Derek Price  <derek@ximbiot.com>
6378         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
6379         typo misrepaired by an auto-spellcheck.
6381 2003-11-12  Akim Demaille  <akim@epita.fr>
6383         * bin/autoreconf.in (&parse_args): Don't call automake with
6384         --force-missing unless it actually supports it.
6385         From Debian #219336.
6387 2003-11-12  Akim Demaille  <akim@epita.fr>
6389         * configure.ac: Bump to 2.59a.
6390         Require 2.59.
6392 2003-11-06  Akim Demaille  <akim@epita.fr>
6394         Version 2.59.
6396 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
6398         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
6399         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
6400         and ac_abs_top_srcdir are absolute paths.
6401         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
6403 2003-11-05  Akim Demaille  <akim@epita.fr>
6405         * configure.ac: Bump to 2.58a.
6407 2003-11-05  Kevin Ryde  <user42@zip.com.au>
6409         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
6410         it provokes a warning from makeinfo about looking like a cross
6411         reference in info output.
6413         * doc/autoconf.texi (Function Portability): Add notes on signal
6414         handler return type, as per AC_TYPE_SIGNAL.
6416 2003-11-04  Akim Demaille  <akim@epita.fr>
6418         Version 2.58.
6419         * doc/standards.texi: Update from master.
6421         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
6423 2003-11-04  Akim Demaille  <akim@epita.fr>
6425         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
6426         computing the absolute path to d1 in the source hierarchy: it may
6427         not exist at all.  So don't cd into it.
6428         From Alexandre Duret-Lutz.
6429         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
6431         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
6432         From Paul Eggert, but named after Perl's IO::Spec->catfile.
6433         * doc/autoconf.texi (Programming in M4sh): Document.
6434         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
6436 2003-11-03  Pavel Roskin  <proski@gnu.org>
6438         * doc/autoconf.texi (Generic Structure Checks): Describe
6439         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
6441 2003-10-31  Akim Demaille  <akim@epita.fr>
6443         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
6444         (GNU Fortran): New.
6445         * doc/autoconf.texi (Language Choice): Document.
6446         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
6447         the current language is Fortran.
6449 2003-10-31  Akim Demaille  <akim@epita.fr>
6451         * bin/autom4te.in (&freeze): Use a less likely warning separator
6452         than `\n\n', so that `\n\n\n' is valid in warnings.
6453         Reported by Steve Huston.
6455 2003-10-28  Akim Demaille  <akim@epita.fr>
6457         * Makefile.cfg (local_updates, executable-update): Tweak to be
6458         robust to parallel makes.
6459         Suggested by Alexandre Duret-Lutz.
6461 2003-10-27  Akim Demaille  <akim@epita.fr>
6463         * Makefile.cfg (executable-update): New.
6464         (local_updates): Call it.
6466 2003-10-27  Akim Demaille  <akim@epita.fr>
6468         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
6469         Don't remove core.* as it may remove valid user files.
6470         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
6471         (AC_FUNC_UTIME_NULL): Likewise.
6473 2003-10-23  Akim Demaille  <akim@epita.fr>
6475         Version 2.57g.
6476         * config/config.guess, config/config.sub: Upgrade from masters.
6478 2003-10-23  Akim Demaille  <akim@epita.fr>
6480         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
6481         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
6482         hand...
6484 2003-10-23  Akim Demaille  <akim@epita.fr>
6486         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
6487         Don't forget to remove conftest.err.
6489 2003-10-23  Akim Demaille  <akim@epita.fr>
6491         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
6492         same object file in $LIBOBJS.
6493         Reported by Alexandre Duret-Lutz & Derek Robert Price.
6494         * doc/autoconf.texi (Generic Functions): Adjust.
6496 2003-10-20  Paul Eggert  <eggert@twinsun.com>
6498         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
6499         Use 'eval', so that the resulting configure scripts work even if
6500         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
6502 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
6504         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
6505         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
6506         (_AC_LINK_IFELSE): Check the werror flag.
6507         * doc/autoconf.texi (Generic Compiler Characteristics): Document
6508         AC_LANG_WERROR.
6509         * NEWS: Mention it.
6511 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
6513         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
6514         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
6515         override AC_LINK_IFELSE.
6517 2003-10-15  Paul Eggert  <eggert@twinsun.com>
6519         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
6520         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
6521         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
6522         Mention /usr/dt/bin/dtksh on Solaris.
6523         (Shell Substitutions): Warn about $((...)).
6524         (Parentheses): New section.
6526 2003-10-15  Kevin Ryde  <user42@zip.com.au>
6528         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
6529         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
6531 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
6533         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
6534         cross test.
6536 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
6538         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
6539         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
6541 2003-10-10  Andreas Schwab  <schwab@suse.de>
6543         * bin/autoheader.in: Avoid empty first line in --version and
6544         --help output.
6545         * bin/ifnames.in: Likewise.
6547 2003-10-09  Paul Eggert  <eggert@twinsun.com>
6549         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
6550         Issue a more-informative diagnostic.
6551         Problems reported by Eric Sunshine.
6553 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
6555         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
6556         -mGLOB_options_string stuff for Intel ifc, which can cause
6557         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
6558         pattern-matching instead of grep.
6560 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
6562         * doc/autoconf.texi: Document new FC Fortran macros.
6564 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
6566         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
6567         that future autopoint/aclocal/automake/autoreconf will be able
6568         to trace to find where to install local m4 macros.
6569         * doc/autoconf.texi (Input): Document it.
6570         * NEWS: Updated.
6572 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
6574         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
6575         -lcrtbegin.o to list of ignored flags and fix underquoting of
6576         -lcrt[01].o.
6578 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
6580         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
6581         cache variable instead of $G77 to decide whether to include -O2,
6582         since $G77 is specific to Fortran 77.
6584 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
6586         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
6587         free" flag.  Re-order flags tested into rough order of popularity.
6589 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
6591         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
6592         arguments so that it can be used with syntax identical to
6593         AC_PROG_F77, and so that we can more easily decide to
6594         remove/deprecate the DIALECT optional argument in the future if it
6595         proves troublesome.
6596         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
6597         non-freeform-supporting compilers.  Document freeform flags.
6599 2003-10-03  Akim Demaille  <akim@epita.fr>
6601         * configure.ac: Look for emacs, not macs.
6602         Reported by Eric Sunshine.
6604 2003-10-03  Akim Demaille  <akim@epita.fr>
6606         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
6607         * bin/autoreconf.in (autoreconf_current_directory): Create the
6608         AUX_DIR if needed, for sake of automake --add-missing etc.
6609         Suggested by Alexandre Duret-Lutz.
6611 2003-10-03  Akim Demaille  <akim@epita.fr>
6613         * configure.ac: Quotation and formatting changes.
6614         (EMACS): Don't set it if it is not recent enough to support
6615         autoconf-mode.el.
6616         From Eric Sunshine.
6618 2003-10-02  Akim Demaille  <akim@epita.fr>
6620         * bin/ifnames.in (&scan_file): Skip C++ comments.
6621         From Jeremy Yallop.
6623 2003-10-01  Pavel Roskin  <proski@gnu.org>
6625         * doc/autoconf.texi (Particular Structure Checks):
6626         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
6628 2003-10-01  Akim Demaille  <akim@epita.fr>
6630         Version 2.57f.
6632 2003-09-30  Paul Eggert  <eggert@twinsun.com>
6634         * lib/Autom4te/XFile.pm: Use Errno.
6635         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
6636         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
6638 2003-09-30  Akim Demaille  <akim@epita.fr>
6640         * config/announce-gen (&print_news_deltas): Extracted from...
6641         (&print_changelog_deltas): here.
6642         (&news_file): Rename as...
6643         (@news_file): this.
6645 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
6647         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
6648         have been created when invoking the compiler.
6649         * tests/fortran.at (GNU Fortran 77): Quote $G77.
6651 2003-09-29  Akim Demaille  <akim@epita.fr>
6653         Version 2.57e.
6655         * config/mkinstalldirs: Upgrade.
6657 2003-09-28  Paul Eggert  <eggert@twinsun.com>
6659         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
6660         Problem reported by Lars J. Aas in
6661         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
6662         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
6663         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
6664         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
6666 2003-09-26  Akim Demaille  <akim@epita.fr>
6668         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
6669         directory for AC_CONFIG_COMMANDS' first argument exists.
6670         This makes valid the invocation of _AC_SRCPATH that follows.
6671         Reported by Eric Sunshine.
6672         * doc/autoconf.texi (Configuration Commands): Adjust.
6674 2003-09-26  Akim Demaille  <akim@epita.fr>
6676         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
6677         Reported by Ralf Corsepius.
6679 2003-09-26  Akim Demaille  <akim@epita.fr>
6681         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
6682         arguments.
6683         Actually, use AU_ALIAS.
6684         From Bruno Haible.
6686 2003-09-26  Paul Eggert  <eggert@twinsun.com>
6688         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
6689         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
6690         Problem reported by Eric Sunshine in:
6691         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
6693 2003-09-26  Akim Demaille  <akim@epita.fr>
6695         The test suite are sometimes assigning timings incorrectly.
6696         Reported by Henk Krus.
6697         Diagnosed by Nicolas Joly.
6699         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
6700         AT_help_all.
6701         Instead of making AT_help a sequence of assignments to grow
6702         $at_help_all, just make AT_help_all be the growing contents of
6703         $at_help_all, and make a single assignment in...
6704         (AT_INIT): here.
6705         (at_times_skip): Flip the meaning and rename as...
6706         (at_times_p): this.
6707         (AT_INIT): When summarizing the test that ran, remove
6708         $at_times_file after use, and check it is present before trying to
6709         use it.
6711 2003-09-25  Akim Demaille  <akim@epita.fr>
6713         Version 2.57d.
6715         * bin/Makefile.am (edit): Handle '@configure_input@'.
6716         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
6717         (ifnames): chmod -w.
6718         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
6719         executables, not bin/ executables!  Otherwise all the magic needed
6720         to find non installed files is turned off.  This caused a failure
6721         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
6722         as found in its environment (sent by tests/autoreconf): pointing
6723         to bin/autom4te that could not find its files.
6724         * tests/mktests.sh: Force the replacement of generated files, for
6725         the sake of "mv" program that are interactive when overwriting a
6726         -w file.
6727         * config/install-sh: Upgrade from CVS Automake.
6729 2003-09-23  Paul Eggert  <eggert@twinsun.com>
6731         * doc/autoconf.texi (Limitations of Builtins): Document test -h
6732         versus test -L issues.
6734 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
6735             Paul Eggert  <eggert@twinsun.com>
6737         Trivial change to support GCC's configuration procedure.
6738         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
6739         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
6740         about inconsistency if the preprocessor is set to give errors for
6741         any warning.
6742         * doc/autoconf.texi (C Compiler Characteristics): Document this.
6744 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
6746         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
6747         and XFile.pm from Automake.
6748         * lib/Autom4te/XFile.pm: Update from Automake.
6750 2003-09-12  Akim Demaille  <akim@epita.fr>
6752         Version 2.57c.
6754 2003-09-12  Akim Demaille  <akim@epita.fr>
6756         * config/config.guess, config/config.sub, config/missing,
6757         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
6758         from masters.
6760 2003-09-12  Akim Demaille  <akim@epita.fr>
6762         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
6763         not asm/types.h.
6765 2003-09-11  Akim Demaille  <akim@epita.fr>
6767         * doc/autoconf.texi (Header Portability): linux/random.h.
6768         From Peter Hendrickson.
6770 2003-09-10  Akim Demaille  <akim@epita.fr>
6772         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
6773         willing to edit the output files.
6775 2003-09-10  Akim Demaille  <akim@epita.fr>
6777         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
6778         and AC_FC_FREEFORM.
6779         * tests/mktests.sh: Skip AC_FC_SRCEXT.
6780         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
6782 2003-09-09  Akim Demaille  <akim@epita.fr>
6784         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
6785         Reported by Gary Vaughan.
6786         * bin/autom4te.in (handle_m4): Likewise.
6788 2003-09-09  Akim Demaille  <akim@epita.fr>
6790         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
6791         trailing files.
6793 2003-09-07  Paul Eggert  <eggert@twinsun.com>
6795         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
6796         Improve the accuracy of the wording about obsolescence.
6797         From a suggestion by Ian Lance Taylor in
6798         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
6800 2003-09-05  Paul Eggert  <eggert@twinsun.com>
6802         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
6803         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
6805 2003-09-04  Akim Demaille  <akim@epita.fr>
6807         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
6808         AC_FUNC_WAIT3.
6810 2003-09-04  Akim Demaille  <akim@epita.fr>
6812         * bin/autom4te.in: Use &fatal where more appropriate than &error.
6813         (freeze): When exiting, use $exit_code.
6814         * lib/autoconf/fortran.m4: Comment changes.
6816 2003-09-04  Akim Demaille  <akim@epita.fr>
6818         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
6820 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
6822         Add support for newer Fortran dialects.  The F77 interface is
6823         unchanged, and continues to support Fortran 77.  New FC macros
6824         correspond to all the old F77 macros, with output variables FC,
6825         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
6826         available dialect, but older dialects can be specified.  There are
6827         new macros AC_FC_SRCEXT to set the source extension, and
6828         AC_FC_FREEFORM to accept free-form source files.
6830         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
6831         New macros.
6832         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
6833         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
6834         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
6835         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
6836         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
6837         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
6838         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
6839         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
6840         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
6841         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
6842         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
6843         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
6844         AC_FC_SRCEXT, AC_FC_FREEFORM):
6845         New macros.
6846         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
6847         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
6848         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
6849         Rewrite in terms of the above.
6850         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
6851         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
6852         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
6853         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
6855 2003-09-02  Paul Eggert  <eggert@twinsun.com>
6857         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
6858         Document problems with timestamp resolution that 'make', 'cp -p', and
6859         'touch -r' have.
6861 2003-08-27  Akim Demaille  <akim@epita.fr>
6863         * tests/m4sugar.at (cross_warning): Make sure to enable the
6864         output, so that we can track spurious m4sugar output.
6865         * tests/local.at: Require 2.57.
6866         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
6867         are defaulted by AT_CHECK anyway.
6868         Use AT_CHECK_AUTOM4TE.
6869         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
6870         missing dnl.
6872 2003-08-27  Akim Demaille  <akim@epita.fr>
6874         * bin/autoheader.in: Issue the "Using auxiliary..." message only
6875         when -Wobsolete is set.
6876         Set it on by default.
6877         Suggested by Klee Dienes.
6879 2003-08-27  Akim Demaille  <akim@epita.fr>
6881         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
6882         documentation.
6883         From Guido Draheim.
6885 2003-08-26  Akim Demaille  <akim@epita.fr>
6887         * doc/autoconf.texi (Output): Make clear that one can run code
6888         after AC_OUTPUT.
6890 2003-08-25  Akim Demaille  <akim@epita.fr>
6892         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
6893         CVS Bison.
6895 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
6897         * bin/autoreconf.in (parse_args): Do not pass --no-force to
6898         Automake versions prior to 1.8.
6900 2003-08-25  Akim Demaille  <akim@epita.fr>
6902         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
6903         From Ville Karaila.
6905 2003-08-24  Akim Demaille  <akim@epita.fr>
6907         * configure.ac: Bump to 2.57c.
6909 2003-08-22  Akim Demaille  <akim@epita.fr>
6911         Version 2.57b.
6913         * Makefile.cfg (local-checks-to-skip): New.
6914         * Makefile.maint (local-check): Rename as...
6915         (local-checks-available): this.
6916         (local-check): New.
6918         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
6919         * configure.ac: Require Automake 1.7.6.
6921 2003-08-22  Akim Demaille  <akim@epita.fr>
6923         Output stack traces in warnings.
6925         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
6926         Replace the former...
6927         (m4_warn): Pass the call stack to _m4_warn.
6928         * bin/autom4te.in: Adjust to output the call stack.
6929         * tests/m4sugar.at (m4@&t@_warn): Adjust.
6931 2003-08-22  Akim Demaille  <akim@epita.fr>
6933         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
6934         * bin/autom4te.in: Adjust.
6936 2003-08-21  Akim Demaille  <akim@epita.fr>
6938         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
6939         (&verbose): Remove.
6940         (&getopt): Adjust the note and verb channels, depending upon
6941         --verbose.
6942         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
6943         * bin/autoupdate.in: Adjust.
6944         Use &verb, not &verbose.
6946 2003-08-21  Akim Demaille  <akim@epita.fr>
6948         * bin/autoheader.in (&parse_args): Use &parse_warnings and
6949         &parse_WARNINGS.
6950         ($help): Use Autom4te::ChannelDefs::usage.
6951         * bin/autoscan.in: Use Autom4te::ChannelDefs.
6952         * lib/Autom4te/General.pm: Don't export error: you don't own it.
6954 2003-08-21  Akim Demaille  <akim@epita.fr>
6956         First stab at preserving warnings between calls to autom4te,
6957         including when the cache is used.
6959         There are still several issues: (i) there are too many runs of m4
6960         (one for include, one for warnings, and some more), (ii) warnings
6961         spreading on several lines are not handled gracefully, (iii) the
6962         code meant to have the call stack display for errors does not work
6963         (its handling should move from m4 to autom4te).
6965         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
6966         Use them.
6967         (@preselect): Add m4_warn.
6968         ($exit_status): Remove, use $exit_code.
6969         ($help): Use Autom4te::ChannelDefs::usage.
6970         (&handle_m4): No longer define the m4_warnings.
6971         At each run, extract and report the warnings.
6972         Always cache the result, including if the exit status is on
6973         failure, since if nothing changes, we should result in the same
6974         failure, hence we can use the cache.
6975         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
6976         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
6977         Remove.
6978         (m4_warn): Redefine as a do-nothing: it is its invocation that
6979         matters, as warnings are now reported via traces.
6980         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
6981         the contents of m4_warn: make it _call_ m4_warn, so that tracing
6982         the latter reveals calls to the former.
6984         Adjust the tests.
6986         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
6988 2003-08-21  Akim Demaille  <akim@epita.fr>
6990         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
6991         Use them.
6993 2003-08-21  Akim Demaille  <akim@epita.fr>
6995         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
6996         forward order.
6997         * lib/Autom4te/ChannelDefs.pm: Doc typos.
6998         (&parse_warnings): Accept a list of warning requests.
6999         (&usage): Return a string, not a side effect.
7000         (cross): New warning category.
7002 2003-08-21  Akim Demaille  <akim@epita.fr>
7004         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
7005         (&require_configure_ac): Accept an optional directory argument.
7006         ($configure_ac): Remove.
7007         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
7008         (&catfile): Remove.
7009         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
7010         * bin/autoscan.in: Adjust.
7012 2003-08-20  Akim Demaille  <akim@epita.fr>
7014         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
7015         Reported by Alexandre Duret-Lutz.
7017 2003-08-20  Akim Demaille  <akim@epita.fr>
7019         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
7020         * bin/autom4te: Adjust.
7021         In particular, be Autoconf tools are really silent when properly
7022         working, bind the verbosity of the 'note' channel to $verbose.
7023         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
7024         (&xsystem, &contents): Remove, since they are exported by...
7025         * lib/Autom4te/FileUtils.pm: this.
7026         More perldoc.
7027         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
7028         * lib/Autom4te/FileUtils.pm: here.
7030 2003-08-20  Akim Demaille  <akim@epita.fr>
7032         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
7033         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
7034         from CVS Automake.
7036 2003-08-20  Akim Demaille  <akim@epita.fr>
7038         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
7039         (autom4te-update): New.
7040         * Makefile.cfg (update): Bind autom4te-update.
7042 2003-08-19  Derek Price  <derek@ximbiot.com>
7044         * lib/autotest/general.m4: Comment various HELP_* diversions.
7045         (PARSE_ARGS_BEGIN): New section for option parsing related
7046         initialization.
7047         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
7048         package specific options and associated help.
7050 2003-08-19  Akim Demaille  <akim@epita.fr>
7052         * config/announce-gen, Makefile.cfg: New.
7053         * Makefile.am: Adjust.
7054         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
7056 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
7058         * lib/autom4te.in (Automake-preselections): Preselect
7059         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
7060         and m4_sinclude.
7062 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
7064         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
7065         (Autoconf-without-aclocal-m4): ... this new language.
7066         * doc/autoconf.texi (autom4te Invocation): Mention
7067         Autoconf-without-aclocal-m4.
7069 2003-08-18  Derek Price  <derek@ximbiot.com>
7071         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
7072         RUN-IF-PASS optional arguments.
7074 2003-08-18  Derek Price  <derek@ximbiot.com>
7076         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
7078 2003-08-16  Derek Price  <derek@ximbiot.com>
7080         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
7081         STDOUT & STDERR arguments.
7083 2003-08-14  Derek Price  <derek@ximbiot.com>
7085         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
7086         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
7087         shorter column three.  Add DESCRIPTION to log file content.
7089 2003-08-13  Derek Price  <derek@ximbiot.com>
7091         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
7092         output.
7094 2003-08-12  Derek Price  <derek@ximbiot.com>
7096         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
7097         (AT_CHECK_NOESCAPE): Move core functionality to...
7098         (_AT_CHECK): ...this new macro.
7100 2003-08-07  Derek Price  <derek@ximbiot.com>
7102         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
7103         (AT_CHECK_NOESCAPE): ...to this new macro.
7105 2003-07-31  Paul Eggert  <eggert@twinsun.com>
7107         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
7108         in Bash 2.01.  Problem reported by Brian Gough in
7109         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
7111 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
7113         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
7114         -lcrt1.o, for OS X.  (trivial change)
7116 2003-07-07  Paul Eggert  <eggert@twinsun.com>
7118         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
7119         inside '#ifndef __cplusplus'.  Problem reported by
7120         Bob Friesenhahn.
7122 2003-07-06  Bill Clarke  <llib@computer.org>
7124         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
7125         'long', not 'int', for benefit of Sun's recent C++ compilers
7126         (trivial change).  See:
7127         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
7128         (This really should be 'intptr_t', not 'long', but that would
7129         take more work.)
7131 2003-06-25  Akim Demaille  <akim@epita.fr>
7133         * lib/Makefile.am (autom4te.cfg): Make it read only.
7134         Depend on Makefile since it contains substitutions.
7135         From Paolo Bonzini.
7136         * lib/autom4te.in (args): Add local.at? for Autotest args.
7137         This change was made on autom4te.cfg which is generated.
7138         Reported by Raja R. Harinath.
7140 2003-06-25  Akim Demaille  <akim@epita.fr>
7142         * doc/autoconf.texi (Header Portability): sys/mount.h.
7143         From Gareth McCaughan.
7145 2003-06-23  Akim Demaille  <akim@epita.fr>
7147         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
7148         not all of them.  This fixes 1. the fact that when testing
7149         Autoconf there are many many config.log, 2. the incorrect use of
7150         top_srcdir to find config.log.
7151         Don't mix the detailed output of failed test with the summary of
7152         failures.  Rather, append detailed log afterwards.
7154 2003-06-23  Akim Demaille  <akim@epita.fr>
7156         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
7157         always run: output config.log on $at_group_log.
7159 2003-06-23  Akim Demaille  <akim@epita.fr>
7161         * tests/torture.at (#define header templates): Don't use quotes in
7162         C++ comments as it puzzles Emacs' sh font-lock-mode.
7164 2003-06-23  Akim Demaille  <akim@epita.fr>
7166         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
7167         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
7168         * tests/atspecific.m4: Rename as...
7169         * tests/local.at: This.
7170         * tests/suite.at: Move the globals into...
7171         * tests/local.at: here.
7172         * tests/Makefile.am: Adjust.
7173         * doc/autoconf.texi (testsuite Scripts): Adjust.
7175 2003-06-21  Kevin Ryde  <user42@zip.com.au>
7177         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
7178         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
7179         ensuring we add -std1 for full-ANSI.
7181         * doc/autoconf.texi (hdrindex): New macro.
7182         Add index entries for portability of various standard header files.
7184 2003-06-20  Akim Demaille  <akim@epita.fr>
7186         * configure.ac: Bump to 2.57b.
7188 2003-06-20  Akim Demaille  <akim@epita.fr>
7190         Version 2.57a.
7192 2003-06-20  Akim Demaille  <akim@epita.fr>
7194         * bin/autom4te.in: Don't rely on $HOME being defined.
7195         Reported by Marc Espie as PR/233.
7197 2003-06-20  Akim Demaille  <akim@epita.fr>
7199         * lib/autotest/general.m4: Use at_times_file only if used.
7200         From Nicolas Joly.
7202 2003-06-20  Akim Demaille  <akim@epita.fr>
7204         * config/config.guess, config/config.sub, config/elisp-comp,
7205         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
7206         Update from masters.
7208 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
7210         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
7211         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
7212         (TEST_SCRIPT): New diversion.
7213         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
7214         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
7215         (AT_INIT): Support for expected failures.
7217 2003-06-02  Akim Demaille  <akim@epita.fr>
7219         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
7220         changes.
7221         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
7222         Autoconf nor Automake.
7223         (&contents): New, from Automake.
7224         PODify.
7226 2003-05-28  Paul Eggert  <eggert@twinsun.com>
7228         * NEWS, doc/autoconf.texi (Particular Functions),
7229         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
7230         is the inverse of localtime.
7232 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
7234         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
7235         (handle_exec_errors): New function.  Work around $! being
7236         altered by WEXITSTATUS.
7237         (xqx, xsystem): Use handle_exec_errors.
7239 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
7241         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
7242         Do not call `_exit()', simply modify `$?'.
7243         (xsystem): Reset $! before running system, and check it afterward.
7244         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
7245         63 for version mismatches.
7247 2003-05-23  Akim Demaille  <akim@epita.fr>
7249         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
7250         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
7251         the middle of a line).
7252         * lib/m4sugar/m4sugar.m4: Likewise.
7253         Remove useless spaces in comments.
7255 2003-05-23  Akim Demaille  <akim@epita.fr>
7257         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
7258         exit 63, so that we (or Automake's "missing") can tell the
7259         difference with a plain failure.
7260         * doc/autoconf.texi (Notices): Adjust.
7262 2003-05-23  Akim Demaille  <akim@epita.fr>
7264         * Makefile.am, bin/Makefile.am, config/Makefile.am,
7265         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
7266         White spaces cleanup.
7268 2003-05-22  Jim Meyering  <jim@meyering.net>
7269             Paul Eggert  <eggert@twinsun.com>
7271         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
7272         Remove `#include <stdlib.h>' from the list; we should never
7273         make confdefs.h include <stdlib.h> or <cstdlib>, because the
7274         resulting namespace pollution would cause other tests to fail.
7275         Configure scripts run with some older versions of g++ and HP's
7276         aCC would fail due to such an #include.  Problems reported by
7277         Matthew Mueller in <http://bugs.debian.org/120704> and by
7278         Keith Bostic in
7279         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
7280         In the test, use the test declaration before including <stdlib.h>,
7281         as that's closer to how it'll be used.
7283 2003-05-23  Akim Demaille  <akim@epita.fr>
7285         * doc/autoconf.texi (Header Portability): ucred.h.
7286         From Ian Redfern.
7288 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
7290         Overhaul Autotest's logging: generate separate log files
7291         in testsuite.dir/NNN/testsuite.log, and append them to
7292         testsuite.log instead of re-running the test verbosely.
7294         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
7295         file descriptor, write 0 to at_status_file instead of setting
7296         at_status=0, initialize some new variables (at_status_file,
7297         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
7298         to rerun the tests, instead append the at_group_log to the
7299         at_suite_log when a test fails.
7300         (AT_SETUP): pipe the test case's output into at_tee_pipe,
7301         with the AS_MESSAGE_LOG_FD redirected to stdout.
7302         (AT_CLEANUP): save the output status in $at_status_file
7303         and restore it, redirect the AS_MESSAGE_LOG_FD back to
7304         its original place.
7305         (AT_CHECK): since tests are run with a redirected stdout,
7306         and used to be re-run in verbose mode, turn some $at_verbose
7307         into echo, and don't redirect the output of testing stdout
7308         and stderr.
7310         * lib/autotest/autoconf.texi (testsuite Scripts): Update
7311         the name of the debugging directory and information about
7312         its contents.
7314 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
7316         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
7317         parameter.
7319 2003-05-22  Akim Demaille  <akim@epita.fr>
7321         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
7322         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
7323         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
7324         * lib/autoconf/status.m4: Fix and adjust copyright notices.
7326 2003-05-22  Akim Demaille  <akim@epita.fr>
7328         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
7329         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
7330         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7331         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
7332         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7333         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7334         * lib/autoconf/status.m4, lib/autoconf/types.m4,
7335         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
7336         * tests/atspecific.m4, tests/base.at, tests/compile.at,
7337         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
7338         * tests/tools.at, tests/torture.at:
7339         Whitespace clean up.
7340         Suggested by Jim Meyering.
7342 2003-05-22  Akim Demaille  <akim@epita.fr>
7344         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
7345         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
7346         Reported by Jim Meyering.
7348 2003-05-22  Akim Demaille  <akim@epita.fr>
7350         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
7351         Add AC_HELP_STRING  to the obsolete macros section.
7352         Typos.
7353         Use '@.' for sentences that ended in a capital letter.
7354         From Art Haas.
7356 2003-05-22  Akim Demaille  <akim@epita.fr>
7358         * config/config.guess, config/config.sub, config/elisp-comp,
7359         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
7360         * config/texinfo.tex, doc/standards.texi: Update from masters.
7362 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
7364         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
7365         it to eval.
7367 2003-05-21  Akim Demaille  <akim@epita.fr>
7369         * bin/autoupdate.in ($m4): Fix quotation.
7370         Reported by Martin Mokrejs.
7372 2003-05-19  Paul Eggert  <eggert@twinsun.com>
7374         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
7375         Remove non-ASCII characters.
7377 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
7379         * tests/semantics.at (AC_SEARCH_LIBS): New test.
7380         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
7381         AC_CHECK_HEADERS_NEW): New tests.
7383 2003-05-17  Akim Demaille  <akim@epita.fr>
7385         * lib/autoconf/functions.m4: Use the default includes so that
7386         memcmp be declared before being tested.
7387         Reported by Sander Niemeijer.
7388         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
7389         * doc/autoconf.texi (Default Includes): Document
7390         AC_INCLUDES_DEFAULT.
7392 2003-05-17  Akim Demaille  <akim@epita.fr>
7394         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
7395         * doc/autoconf.texi (Obsolete Macros): Adjust.
7396         Reported by Werner LEMBERG and Debian Bug 190886.
7398 2003-05-16  Akim Demaille  <akim@epita.fr>
7400         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
7401         user name space clashes.
7402         Reported by Bruno Haible.
7404 2003-05-16  Akim Demaille  <akim@epita.fr>
7406         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7407         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
7408         them uniform, and more robust to Perl special characters.
7409         Reported by Martin Mokrejs.
7411 2003-05-14  Akim Demaille  <akim@epita.fr>
7413         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
7415 2003-05-14  Akim Demaille  <akim@epita.fr>
7417         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
7418         linux/irda.h.
7420 2003-05-12  Akim Demaille  <akim@epita.fr>
7422         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
7423         message.
7424         From Matthias Andree.
7426 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
7428         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
7429         and truncate.
7431 2003-05-06  Akim Demaille  <akim@epita.fr>
7433         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
7434         longer updates aclocal.m4 if useless, (ii) if a file m4_included
7435         by aclocal.m4 is changed it might require the importing of another
7436         m4 extension file, i.e., aclocal must be run.
7438         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
7439         (&parse_args): Use --force with aclocal if required and supported.
7440         (&autoreconf_current_directory): Use &run_aclocal.
7442 2003-05-06  Akim Demaille  <akim@epita.fr>
7444         Lock autom4te's cache.
7446         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
7447         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
7448         argument instead of a file name, so that the request file remains
7449         open during the whole autom4te run.
7450         ($icache_file): New.
7451         (&freeze): Lock the $icache_file.
7453 2003-04-29  Derek Price  <derek@ximbiot.com>
7455         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
7456         seperator with m4_append_uniq().  It doesn't work.
7457         (AT_CLEANUP): Add `;' to end of at_help_all.
7458         (AT_INIT): Allow --keywords to be specified more than once.  When
7459         grepping $at_help_all for keywords, use the field and keyword
7460         seperators to ensure a complete keyword match.  Alter at_prev handling
7461         to support the new --keywords behavior.
7463 2003-04-27  Karl Berry  <karl@freefriends.org>
7465         * doc/autoconf.texi: Make the dir entries in the autoconf manual
7466         align better with others.  I also made some of the individual
7467         entries on one line, for brevity and to make it easier for me to
7468         sort my dir-example file in the Texinfo distribution :).
7470 2003-04-12  Jim Meyering  <jim@meyering.net>
7472         * NEWS: Mention the new macro.
7473         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
7474         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
7475         * tests/c.at: Test AC_C_RESTRICT.
7476         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
7478 2003-04-08  Akim Demaille  <akim@epita.fr>
7480         * bin/ifnames.in: Skip C++ comments.
7481         From Jeremy Yallop.
7483 2003-04-08  Akim Demaille  <akim@epita.fr>
7485         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
7486         From Ilya Zakharevich.
7488 2003-04-08  Akim Demaille  <akim@epita.fr>
7490         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
7491         net/if.h, stdlib.h.
7493 2003-04-01  Derek Price  <derek@ximbiot.com>
7495         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
7496         from Akim's checkin of 2003-03-29.
7498 2003-04-01  Derek Price  <derek@ximbiot.com>
7500         * tests/torture.at (Configuring subdirectories): Add missing
7501         close-quote for Akim's change from 2003-03-28.
7503 2003-04-01  Akim Demaille  <akim@epita.fr>
7505         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
7506         (AC, AT, MS): these.
7507         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
7508         New.
7509         Use them.
7510         * doc/Makefile.am (CLEANFILES): Adjust.
7511         (TEXI2DVI): Make it --batch.
7513 2003-03-31  Derek Price  <derek@ximbiot.com>
7515         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
7516         which removed the main loop.
7517         Thanks to Akim Demaille.
7519 2003-03-29  Akim Demaille  <akim@epita.fr>
7521         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
7522         that starts a GUI.
7523         From Ilya Zakharevich.
7525 2003-03-29  Akim Demaille  <akim@epita.fr>
7527         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
7528         documentation to read is Autoconf's.
7529         Suggested by Paul Eggert.
7531 2003-03-28  Akim Demaille  <akim@epita.fr>
7533         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
7534         reading the section "Present But Cannot Be Compiled" when the
7535         header causes problems.
7537 2003-03-28  Akim Demaille  <akim@epita.fr>
7539         * tests/torture.at (Configuring subdirectories): Require aclocal
7540         1.4, otherwise the test fails, as it does support configure.ac.
7541         This fixes the "test 40 failed" bug reports.
7543 2003-03-28  Akim Demaille  <akim@epita.fr>
7545         * doc/autoconf.texi (C Compiler): `#line' portability.
7546         From Paul Eggert and Nelson H. F. Beebe.
7548 2003-03-27  Derek Price  <derek@ximbiot.com>
7550         * lib/autotest/general.m4: Eliminate main loop and reorganize test
7551         layout in order to allow scripting around test groups.
7553 2003-03-27  Derek Price  <derek@ximbiot.com>
7555         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
7556         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
7557         use new diversions in preparation for accepting new arguments and
7558         allowing scripting around tests.
7559         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
7561 2003-03-26  Derek Price  <derek@ximbiot.com>
7563         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
7564         obsolete AC_HELP_STRING.
7565         (AC_HELP_STRING): AU_DEFUN to...
7566         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
7567         * tests/m4sh.at (AS_HELP_STRING): New test.
7569         * tests/acgeneral.at: Regenerated.
7571 2003-03-26  Derek Price  <derek@ximbiot.com>
7573         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
7574         sense.  Verbosify the diversion definitions comment.
7576 2003-03-26  Derek Price  <derek@ximbiot.com>
7578         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
7579         AS_PREPARE.
7581 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
7583         * doc/autoconf.texi (Present But Cannot Be Compiled):
7584         Grammar fixes and minor rewording. (trivial change)
7586 2003-03-06  Paul Eggert  <eggert@twinsun.com>
7588         Work around a problem noted by Nelson H. F. Beebe with coreutils
7589         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
7590         2002/05/09) rejects '#line 32768 "configure"' because the line
7591         number overflows.
7592         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
7593         #line directives.
7594         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
7595         * doc/autoconf.texi (Generating Sources): Document this.
7597 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
7599         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
7600         file name for the m4 program, when it has an "exe" file extension.
7601         DJGPP's error messages include the error code in brackets -
7602         remove the error code during normalization.
7604 2003-02-28  Akim Demaille  <akim@epita.fr>
7606         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
7608 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
7610         * doc/autoconf.texi (Limitations of Make): Remove the section
7611         about `$<' in inference rules, it was a bogus interpretation of
7612         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
7613         Tru64 make in the "target lookup" section.
7614         (Automake): Automake 1.5+ no longer requires special tools to be
7615         present on the developer's host.
7617 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
7619         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
7620         to a shell that can handle redirection or quoting correctly.
7621         Override SHELL with the shell detected by configure.
7622         Use of $^O suggested by Tim van Holder.
7623         * bin/autom4te.in (BEGIN): Likewise.
7624         * bin/autoreconf.in (BEGIN): Likewise.
7625         * bin/autoscan.in (BEGIN): Likewise.
7626         * bin/autoupdate.in (BEGIN): Likewise.
7627         * bin/ifnames.in (BEGIN): Likewise.
7629         * bin/ifnames.in: Add final newline to help and version messages.
7631         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
7632         to cope with DOS-style absolute paths, when constructing
7633         ${ac_make}.
7635         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
7636         When constructing paths with IFS=:, quote the path. If we're
7637         constructing a DOS-style absolute path, we don't want to split it
7638         on the colon.
7640         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
7641         in description.
7643 2003-02-25  Pavel Roskin  <proski@gnu.org>
7645         * bin/autoheader.in: Add missing newline when printing
7646         suggestion how change AC_DEFINE call.
7648 2003-02-24  Paul Eggert  <eggert@twinsun.com>
7650         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
7651         2002-09-01 patch by replacing "test -n" with "test -z".
7652         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
7653         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
7655         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
7656         to fix a mismatch between example and discussion.
7658 2003-02-24  Kevin Ryde  <user42@zip.com.au>
7660         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
7661         format starting with "-".
7663 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
7665         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
7666         is not portable inside Makefile.
7668 2003-02-20  Akim Demaille  <akim@epita.fr>
7670         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
7671         compiler says yeah, but preproc says nope, compiler is right.
7672         Conversely, prompt the reader to send a bug report to the
7673         maintainers of the package, not of Autoconf.
7675 2003-02-20  Klee Dienes  <kdienes@apple.com>
7677         * bin/autoreconf.in (autoreconf_current_directory): Properly
7678         handle an empty aclocal.m4.
7680 2003-02-20  Akim Demaille  <akim@epita.fr>
7682         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
7683         $ac_prefix_program.
7684         From Larry Jones.
7686 2002-12-23  Paul Eggert  <eggert@twinsun.com>
7688         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
7689         innocuous variant befor including <limits.h> or <assert.h>.  This
7690         works around a bug reported by Albert Chin: HP-UX 11i
7691         (and earlier versions) have a <limits.h> that declares
7692         gettimeofday and many other functions.
7694 2002-12-03  Paul Eggert  <eggert@twinsun.com>
7696         Version 2.57.
7698         * NEWS, configure.ac: Update version.
7700         * doc/fdl.texi: Upgrade to FDL version 1.2.
7702         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
7703         nontrivially in main's body, so that f's external declaration is
7704         not optimized away in AIX.  This should fix the bug reported by
7705         Martin Frydl in
7706         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
7708         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
7709         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
7710         defined, to support freestanding compilers.  This should fix the
7711         bug reported by Momchil Velkov in
7712         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
7714         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
7715         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
7716         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
7717         by Simon Josefsson in
7718         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
7720         * Makefile.maint (www-gnu): New macro.
7721         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
7722         the location has moved.
7724 2002-12-02  Martin Frydl  <martin@systinet.com>
7726         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
7727         \(.*\) match is too long and there is something more to be checked.
7728         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
7730 2002-11-15  Akim Demaille  <akim@epita.fr>
7732         Version 2.56.
7734         * config/install-sh: chmod +x.
7735         From Paul Eggert.
7736         * config/move-if-change: Indenting changes.
7737         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
7738         * configure.ac (AM_INIT_AUTOMAKE): here.
7739         Require 1.7.1.
7741 2002-11-14  Akim Demaille  <akim@epita.fr>
7743         Version 2.55.
7745         * config/config.guess, config/config.sub, config/install-sh:
7746         Update from masters.
7748 2002-11-14  Akim Demaille  <akim@epita.fr>
7750         * Makefile.maint: Sync with Bison, i.e.:
7751         (po-check): Scan .l and .y files instead of the
7752         .c and the .h files that they generate.  This fixes the bug
7753         reported by Tim Van Holder in:
7754         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
7755         Look for N_ as well as for _.  Try to avoid matching #define for
7756         N_ and _.
7757         From Paul Eggert.
7759 2002-11-14  Akim Demaille  <akim@epita.fr>
7761         * doc/autoconf.texi (C Compiler): Compiling several files at once.
7762         From Paul Eggert and Albert Chin-A-Young.
7764 2002-11-14  Akim Demaille  <akim@epita.fr>
7766         * doc/autoconf.texi (C Compiler): Solitary backslashes.
7767         From Paul Eggert and Albert Chin-A-Young.
7769 2002-11-14  Kevin Ryde  <user42@zip.com.au>
7771         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
7772         than assigning in main, to avoid HP cc +O3 optimizing it away.
7774 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
7776         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
7777         option.  Process --recheck after parsing all options.  Pass -q
7778         option to configure on --recheck.
7779         (AC_OUTPUT): Pass -q from configure to config.status.
7780         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
7781         arguments to record.
7782         * doc/autoconf.texi (config.status Invocation): Document
7783         config.status -q option.
7785 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
7787         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
7788         Makefile.in if Makefile.am exists.
7789         (output): Strip `.am' from Makefiles.  Don't
7790         output AC_CONFIG_FILES if no Makefiles were found.
7792 2002-11-07  Akim Demaille  <akim@epita.fr>
7794         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
7795         (local_updates): New.
7796         * Makefile.maint: Update, from CVS Bison.
7797         (local_updates): New.
7799 2002-11-06  Akim Demaille  <akim@epita.fr>
7801         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
7802         declaration in extern "C" too.
7803         Reported by Roberto Bagnara.
7805 2002-11-06  Akim Demaille  <akim@epita.fr>
7807         * tests/torture.at (Configuring subdirectories): Don't use grep
7808         -w.
7809         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
7810         Reported by Ezra Peisach.
7812 2002-11-05  Akim Demaille  <akim@epita.fr>
7814         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
7815         Remove.
7816         We _have_ to stop using the old compatibility scheme that tried to
7817         avoid useless backslashes because Libtool 1.4.3 contains a
7818         AC_DEFINE([error_t], [int],
7819         [Define to a type to use for \`error_t' if it is not
7820         otherwise available.])
7821         We _have_ to quote the single quote and backslashes with \.  The
7822         old compatibility scheme saw that ` was backslashed, and therefore
7823         did not quote the single quote.  Hence before this patch, Autoconf
7824         was not compatible with Libtool.
7826 2002-11-04  Paul Eggert  <eggert@twinsun.com>
7828         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
7829         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
7830         LC_NAME, LC_PAPER, LC_TELEPHONE.
7831         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
7833 2002-11-04  Akim Demaille  <akim@epita.fr>
7835         Version 2.54c.
7837         * Makefile.maint (update, cvs-update, po-update, do-po-update):
7838         New.
7839         * config/texinfo.tex: Update.
7841 2002-11-03  Akim Demaille  <akim@epita.fr>
7843         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
7844         from...
7845         (&autoreconf): here.
7846         ($help, $make, &parse_args, &autoreconf_current_directory):
7847         Support -m/--make.
7848         * doc/autoconf.texi (autoreconf Invocation): Adjust.
7850 2002-10-31  Bruno Haible  <bruno@clisp.org>
7852         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
7853         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
7854         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
7855         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
7856         to ac_cv_func_realloc_0_nonnull.
7857         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
7859 2002-10-31  Akim Demaille  <akim@epita.fr>
7861         The test suite was no longer checking for trailing envvars and files.
7863         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
7864         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
7866 2002-10-31  Akim Demaille  <akim@epita.fr>
7868         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
7869         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
7870         Make variable, not a shell variable.
7871         Suggested by Bruno Haible.
7873 2002-10-31  Akim Demaille  <akim@epita.fr>
7875         * bin/autom4te.in (load_configuration): Reject #args out of any
7876         language.
7878 2002-10-31  Akim Demaille  <akim@epita.fr>
7880         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
7881         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
7882         (_AC_RUN_IFELSE): Use it.
7883         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
7884         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
7885         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
7886         inline it.
7888 2002-10-30  Akim Demaille  <akim@epita.fr>
7890         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
7891         * doc/autoconf.texi (autom4te Invocation): Adjust.
7892         Suggested by Tim van Holder.
7894 2002-10-29  Paul Eggert  <eggert@twinsun.com>
7896         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
7897         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
7898         Problem reported by Bruno Haible.
7900 2002-10-29  Akim Demaille  <akim@epita.fr>
7902         * doc/autoconf.texi (Header Templates): Put also in words what the
7903         pictures says to assist free style readers.
7904         (Customizing autom4te): s/--cache=/--cache /.
7906 2002-10-29  Akim Demaille  <akim@epita.fr>
7908         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
7909         sys/wait.h.
7910         sparc_address_test returns void.
7911         Use it with an argument, as prototyped.
7912         From Bruno Haible.
7914 2002-10-29  Akim Demaille  <akim@epita.fr>
7916         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
7917         configure.in, not configure.ac.
7918         Reported by Bruno Haible.
7920 2002-10-29  Akim Demaille  <akim@epita.fr>
7922         * tests/torture.at (Deep Package): New test.
7923         (Configuring subdirectories): Don't use a testSubDir as Autotest
7924         now does it itself.
7926 2002-10-29  Akim Demaille  <akim@epita.fr>
7928         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
7929         * doc/autoconf.texi (Invoking autom4te): Rename as...
7930         (autom4te Invocation): this, for consistency with the other nodes.
7932 2002-10-29  Akim Demaille  <akim@epita.fr>
7934         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
7935         Reported by Ralf Corsepius.
7937 2002-10-29  Akim Demaille  <akim@epita.fr>
7939         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
7940         characters is a back as an `obsolete' warning now.
7941         Reported by Ralf Corsepius.
7943 2002-10-28  Akim Demaille  <akim@epita.fr>
7945         * configure.ac: Bump to 2.54c.
7947 2002-10-28  Akim Demaille  <akim@epita.fr>
7949         Version 2.54b.
7951         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
7953 2002-10-28  Akim Demaille  <akim@epita.fr>
7955         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
7956         m4 executable names, and different GNU M4 version.
7957         Reported by Ezra Peisach and Paul Jarc.
7959 2002-10-27  Akim Demaille  <akim@epita.fr>
7961         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
7962         AC_RUN_IFELSE.
7964 2002-10-27  Akim Demaille  <akim@epita.fr>
7966         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
7967         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
7968         Die when a simple Fortran program cannot be compiled.
7969         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
7970         Issue a warning if no function is given.
7972 2002-10-27  Akim Demaille  <akim@epita.fr>
7974         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
7975         Move the documentation of AC_TRY_RUN to...
7976         (Obsolete Macros): here.
7977         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
7978         (autoconf Invocation): Remove the duplicates with `invoking
7979         autom4te'.
7980         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
7981         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
7983 2002-10-27  Akim Demaille  <akim@epita.fr>
7985         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
7986         and AC_LANG_FUNC_LINK_TRY.
7987         (Examining Libraries): Rename as...
7988         (Running the Linker): this.
7989         Document AC_LINK_IFELSE.
7990         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
7991         (Obsolete Macros): here.
7992         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
7993         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
7994         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
7995         * lib/autoconf/headers.m4 (AC_USG): Likewise.
7997 2002-10-27  Akim Demaille  <akim@epita.fr>
7999         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
8001         More `check config.log' messages.
8003         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
8004         * doc/autoconf.texi (Printing Messages): Document it.
8005         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
8006         appropriate.
8007         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
8008         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
8009         (_AC_COMPILER_OBJEXT): Likewise.
8010         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
8011         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
8012         Likewise.
8013         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
8014         Likewise.
8016         Deprecate macros with unusual interfaces.
8018         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
8019         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
8021         Document the new ones, and proper style.
8023         * doc/autoconf.texi (Generating Sources): New.
8024         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
8025         (Examining Declarations): Rename as...
8026         (Running the Preprocessor): this.
8027         Document AC_PREPROC_IFELSE.
8028         (Examining Syntax): Rename as...
8029         (Running the Compiler): this.
8030         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
8031         (Obsolete Macros): Move the definition of AC_TRY_CPP and
8032         AC_TRY_COMPILE here.
8034 2002-10-27  Akim Demaille  <akim@epita.fr>
8036         Move sections around.
8038         * doc/autoconf.texi (Customizing autom4te): Remove a lost
8039         sentence.
8040         Reported by Burno Haible.
8041         (Language Choice): Now the first section of...
8042         (Writing Tests): this section.
8043         Make the introduction less C-centric.
8044         (Guidelines, Test Functions): Move to...
8045         (Writing Test Programs): this new section.
8046         (Test Programs): Merge into...
8047         (Run Time): this.
8049 2002-10-27  Akim Demaille  <akim@epita.fr>
8051         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
8052         autom4te.in that resulted in the need for two `make' runs.
8054 2002-10-27  Akim Demaille  <akim@epita.fr>
8056         * configure.ac: Bump to 2.54b.
8058 2002-10-25  Akim Demaille  <akim@epita.fr>
8060         Version 2.54a.
8062         * Makefile.maint: Update from the Coreutils.
8063         (AMTAR): Remove, obsolete.
8064         (automake_repo): Update to redhat.com.
8065         (cvs_file): New.
8066         Adjust to the fact that ansi2knr is now hosted by Automake.
8067         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
8068         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
8069         Update from masters.
8070         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
8071         autoscan.pre is not to be installed, and autoscan.list is not to
8072         be shipped.
8073         (CLEANFILES): Add autoscan.list.
8074         (autoscan.list): Disable the cache.
8075         * bin/Makefile.am: Include freeze.mk.
8077 2002-10-25  Akim Demaille  <akim@epita.fr>
8079         * bin/autom4te.in (&load_configuration): Take the file as
8080         argument.
8081         (&parse_args): Handle -C, --cache.
8082         ($help): Adjust.
8083         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
8084         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
8085         * doc/autoconf.texi (Invoking autom4te): Document --cache.
8086         Now a subsection of...
8087         (Using autom4te): This new section.
8088         (Customizing autom4te): New.
8089         (autom4te.cache): Adjust.
8091 2002-10-25  Akim Demaille  <akim@epita.fr>
8093         * doc/autoconf.texi (Generic Headers): More information on how to
8094         use AC_CHECK_HEADERS.
8096 2002-10-25  Akim Demaille  <akim@epita.fr>
8098         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
8099         Space changes.
8101 2002-10-25  Akim Demaille  <akim@epita.fr>
8103         * bin/autoscan.in (output): Output AC_PREREQ.
8104         (%needed_macros): Add AC_PREREQ so that configure.ac without one
8105         be reported.
8107 2002-10-23  Akim Demaille  <akim@epita.fr>
8109         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
8110         document _Bool.
8112 2002-10-23  Akim Demaille  <akim@epita.fr>
8114         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
8115         Reported by Peter Eisentraut.
8117 2002-10-23  Akim Demaille  <akim@epita.fr>
8119         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
8120         type _Bool.
8121         Fix a typo.
8122         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
8123         Eggert's recommandations.
8125 2002-10-22  Akim Demaille  <akim@epita.fr>
8127         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
8128         Bison, by Paul Eggert.
8129         * doc/autoconf.texi (Particular Headers): Document it.
8131 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
8133         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
8134         `$ac_configure_args'.
8136 2002-10-22  Akim Demaille  <akim@epita.fr>
8138         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
8139         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
8140         From Art Haas.
8142 2002-10-22  Akim Demaille  <akim@epita.fr>
8144         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
8146         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8147         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
8148         (_AC_CHECK_HEADER_NEW): Rename as...
8149         (AC_CHECK_HEADER): this.
8151 2002-10-22  Akim Demaille  <akim@epita.fr>
8153         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
8154         words about HP-UX cmp: it was actually a user-written cmp.
8156 2002-10-22  Akim Demaille  <akim@epita.fr>
8158         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
8159         are a few warnings.
8160         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8161         Quote for Perl '' strings, not "".
8162         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
8163         strings.
8165 2002-10-22  Akim Demaille  <akim@epita.fr>
8167         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8168         characters is a syntax warning now.
8169         (_AS_QUOTE): Accept $2 as list of characters to quote.
8170         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8171         Quote for Perl, not sh.
8172         * bin/autoheader.in: When $debug, report the file which is
8173         `do'ne.
8174         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
8175         `@', to tickle Perl's lists.
8176         Reported by Carlos Velasco.
8178 2002-10-18  Akim Demaille  <akim@epita.fr>
8180         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
8181         missing included files _are_ errors.
8182         Thanks to Alexandre Duret-Lutz.
8183         * tests/tools.at (autom4te cache): Adjust.
8184         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
8185         (AT_CHECK_M4SUGAR): Use it.
8186         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8187         Adjust.
8188         * tests/tools.at (autom4te): Now it does exit 1.
8190 2002-10-17  Akim Demaille  <akim@epita.fr>
8192         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
8193         Fixes the `AC_ARG_VAR' test failures.
8194         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
8195         * lib/freeze.mk (check-forbidden-patterns): New.
8196         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
8197         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
8198         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
8199         /dev/null.
8200         Reported months ago by H. Merijn Brand.
8202 2002-10-17  Akim Demaille  <akim@epita.fr>
8204         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
8206 2002-10-16  Paul Eggert  <eggert@twinsun.com>
8208         * Makefile.maint (wget_files): Remove ansi2knr.c.
8209         (ansi2knr.c-url_prefix): Remove.
8211 2002-10-16  Akim Demaille  <akim@epita.fr>
8213         Because of caching, some files that no longer exist and are no
8214         longer required can still cause errors.
8215         Reported by Alexandre Duret-Lutz.
8217         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
8218         to frozen files in @ARGV, as @ARGV must remain being a list of
8219         files.  Rather, at M4 call sites, use this...
8220         (&files_to_options): New function.
8221         (&freeze): Use &error.
8222         (&up_to_date): If a file that was included according to the cache
8223         is no longer there, then the output is out dated.
8224         (&main): Don't even check whether a file is up to date is anyway
8225         --force is given.
8226         * tests/tools.at (autom4te cache): New.
8228 2002-10-16  Akim Demaille  <akim@epita.fr>
8230         * bin/autoconf.as: Kill dead options.
8231         * bin/autoupdate.in (&parse_args): Kill old options.
8232         * bin/autoreconf.in (&parse_args): Remove dead options.
8233         Factor some code.
8234         (&autoreconf): Report the directories we enter *and leave*, so
8235         that error messages can be easily located, and use GNU Make
8236         format, so that Emacs' compile mode understands us.
8237         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
8238         if some file was changed instead of `print'.
8239         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
8240         (&parse_args): Remove the dead options.
8241         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
8242         autoheader's quiet mode.
8243         (AT_CHECK_AUTOUPDATE): Likewise.
8244         * tests/tools.at (autoupdate): Adjust.
8245         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8247 2002-10-11  Akim Demaille  <akim@epita.fr>
8249         No longer use CPP to check for the existing of headers: use CC to
8250         check for compilability.
8252         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8253         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
8254         (_AC_CHECK_HEADER_NEW): Rename as...
8255         (AC_CHECK_HEADER): this.
8257         * lib/autotest/general.m4 (AT_INIT): Include the failed test
8258         numbers in the Subject suggestion.
8260 2002-10-11  Akim Demaille  <akim@epita.fr>
8262         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
8263         Suggest using AC_CHECK_DECLS instead.
8265 2002-10-11  Akim Demaille  <akim@epita.fr>
8267         * tests/torture.at (AC_ARG_VAR): Have configure report the value
8268         of `precious'.
8270 2002-10-11  Akim Demaille  <akim@epita.fr>
8272         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
8273         file name to enable parallel executions.
8274         From Sam Varshavchik.
8276 2002-10-08  Akim Demaille  <akim@epita.fr>
8278         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
8279         aclocal invocation, as Gettext macros might not be visible to
8280         aclocal.
8281         Instead of blindly running autopoint, scan configure.ac (not the
8282         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
8283         Reported by Paul D. Smith.
8285 2002-10-08  Paul Eggert  <eggert@twinsun.com>
8287         Work around problems found when POSIXLY_CORRECT=1 is set.
8288         None of this seems to have anything to do with POSIX, really,
8289         but it's how Perl getopt works.
8290         * bin/autom4te.in (parse_args): Configure GetOpt with
8291         "permute", too.
8292         * doc/autoconf.texi (Invoking autom4te):
8293         --warning -> --warnings.
8294         * lib/autom4te.in: --warning -> --warnings.
8296 2002-09-28  Akim Demaille  <akim@epita.fr>
8298         * doc/autoconf.texi (autom4te.cache): New section.
8300 2002-09-28  Akim Demaille  <akim@epita.fr>
8302         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
8303         (Automake-preselections): Update.
8304         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
8306 2002-09-28  Akim Demaille  <akim@epita.fr>
8308         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
8309         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
8310         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8311         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
8313 2002-09-28  Akim Demaille  <akim@epita.fr>
8315         * tests/torture.at (Configuring subdirectories): Be robust to
8316         users who use config.site to require for a cache: in this case,
8317         the two last configure runs, using two different sets of
8318         arguments, trigger a legitimate error.
8320 2002-09-28  Akim Demaille  <akim@epita.fr>
8322         * tests/m4sh.at (Functions Support, Functions and return Support):
8323         New.
8325 2002-09-28  Akim Demaille  <akim@epita.fr>
8327         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
8328         autoheader are Perl programs.
8329         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
8330         (autom4te): Specify that the sources are in the $srcdir.
8331         * doc/autoconf.texi (Installation Directory Variables): Adjust.
8333 2002-09-28  Akim Demaille  <akim@epita.fr>
8335         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
8336         (tm_zone): Move their rules to...
8337         * lib/autoconf/types.m4: here, using AN_ macros.
8338         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
8339         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
8340         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
8341         * lib/autoconf/programs.m4: here.
8342         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
8343         (ETAGS_FOR_AUTOCONF): New.
8344         Use it.
8346 2002-09-28  Akim Demaille  <akim@epita.fr>
8348         * lib/autoconf/autoscan.m4: New file.
8349         * lib/autoconf/autoconf.m4: Include it.
8350         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
8351         that were listed in the original autoscan.list.
8352         * lib/autoconf/headers.m4: Similarly with headers.
8353         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
8354         (.m4.m4f): Don't pass --prepend-include, since that's done by
8355         tests/autom4te itself.
8356         * lib/autoscan/Makefile.am: Include freeze.mk.
8357         (autoscan.list): New target --this file is no longer a source.
8358         (autoscan.pre): New file.
8360 2002-09-28  Akim Demaille  <akim@epita.fr>
8362         * bin/autoscan.in (@kinds): Make them singular.
8363         Adjust all uses.
8364         (&init_tables): When --debug, report the list of rules to ease
8365         tracking changes in autoscan.list.
8366         * lib/autoscan/autoscan.list (function): Strip comments, sort.
8368 2002-09-28  Akim Demaille  <akim@epita.fr>
8370         * lib/autoscan/functions, lib/autoscan/headers,
8371         * lib/autoscan/identifiers, lib/autoscan/makevars,
8372         * lib/autoscan/programs: Merge into...
8373         * lib/autoscan/autoscan.list: this.
8374         * bin/autoscan.in (&init_tables): Adjust.
8376 2002-09-28  Akim Demaille  <akim@epita.fr>
8378         * lib/autoscan/functions, lib/autoscan/headers,
8379         * lib/autoscan/identifiers, lib/autoscan/makevars,
8380         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
8381         `functions' line is now prefixed with `function:'.
8382         * bin/autoscan.in (&init_tables): Adjust.
8384 2002-09-28  Akim Demaille  <akim@epita.fr>
8386         From now on, autoscan files must always map a macro name to a
8387         word: there is no `default' macro for autoscan.
8389         * bin/autoscan.in (&init_tables): Reject entries with no macro at
8390         all.
8391         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
8392         explicit.
8394 2002-09-28  Akim Demaille  <akim@epita.fr>
8396         * bin/autoscan.in (%c_keywords): Remove.
8397         (&used): Keep only track of the words we might be interested in.
8398         (&output_kind): It is no longer needed to look for non active
8399         checks.
8401 2002-09-27  Akim Demaille  <akim@epita.fr>
8403         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
8404         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
8405         * lib/autoscan/functions: Adjust.
8406         * doc/autoconf.texi (Particular Functions): Adjust.
8408 2002-09-27  Akim Demaille  <akim@epita.fr>
8410         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
8411         from /tmp.
8412         Thanks to Bill Moseley and Paul Eggert.
8413         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
8414         the tmpdir must be created.
8415         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
8416         dir be in the build tree, instead of $TMPDIR.
8418 2002-09-27  Akim Demaille  <akim@epita.fr>
8420         * bin/autoscan.in: Improve the comments.
8421         (&parse_args): Drop obsolete undocumented options.
8422         (&output_kind): Output warnings.
8423         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
8424         (getwd): Trigger a warning.
8426 2002-09-26  Akim Demaille  <akim@epita.fr>
8428         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
8429         Reported by Ralf Corsepius.
8430         * doc/autoconf.texi (autoreconf Invocation): Likewise.
8432 2002-09-26  Akim Demaille  <akim@epita.fr>
8434         Single suffix rules and seperated dependencies are not portable.
8436         * doc/autoconf.texi (Installation Directory Variables): Update.
8437         (Limitations of Make): Some about `Single Suffix Rules and
8438         Separated Dependencies'.
8439         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8440         (ifnames, autoscan, autom4te): Un-factor into several rules.
8442 2002-09-25  Paul Eggert  <eggert@twinsun.com>
8444         * BUGS (Interoperability bugs): New section.  Mention libtool
8445         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
8447 2002-09-24  Paul Eggert  <eggert@twinsun.com>
8449         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
8450         make handles suffix-rules differently from GNU make.
8452         * bin/Makefile.am (SUFFIXES, .in): Remove.
8453         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
8454         Move the body of the old .in rule here.
8456 2002-09-16  Akim Demaille  <akim@epita.fr>
8458         i960 compilers create `b.out' files by default.
8459         Reported by Ralf Corsepius.
8461         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
8462         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
8464 2002-09-13  Paul Eggert  <eggert@twinsun.com>
8466         * doc/autoconf.texi (Particular Headers): Remove obsolete
8467         reference to `struct timezone' in the description of
8468         AC_HEADER_TIME.
8470 2002-09-13  Akim Demaille  <akim@epita.fr>
8472         Version 2.54.
8474         * config/config.sub, config/config.guess: Update.
8475         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
8476         * Makefile.am: Adjust.
8478 2002-09-13  Akim Demaille  <akim@epita.fr>
8480         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
8481         reading config.log when the compiler is rejected.
8482         Suggested by Guido Draheim.
8484 2002-09-13  Akim Demaille  <akim@epita.fr>
8486         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
8487         (chdir_init) might hang when stat'ing mounted directories.
8488         Reported by Vance Shipley.
8490 2002-09-12  Akim Demaille  <akim@epita.fr>
8492         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
8493         the lists.
8495 2002-09-12  Akim Demaille  <akim@epita.fr>
8497         * doc/autoconf.texi (Defining Symbols): Present two different
8498         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
8499         difference between 1 argument calls, and 2-3 argument calls.
8501 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
8503         * doc/autoconf.texi: Review grammar and punctuation.
8505 2002-09-11  Paul Eggert  <eggert@twinsun.com>
8507         * doc/autoconf.texi: Fix minor formatting, spelling, and
8508         grammatical typos.
8509         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
8510         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
8511         is obsolescent.
8513 2002-09-11  Akim Demaille  <akim@epita.fr>
8515         * doc/autoconf.texi (Questions): Rename as...
8516         (FAQ): this.
8517         (Defining Directories): New.
8519 2002-09-09  Akim Demaille  <akim@epita.fr>
8521         * doc/autoconf.texi (Making testsuite Scripts): Update.
8522         Suggested by Nishio Futoshi.
8524 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
8526         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
8527         plain `@' is wanted.
8529 2002-09-09  Akim Demaille  <akim@epita.fr>
8531         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
8532         `duplicates', since the algorithm was too naive and could keep
8533         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
8534         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
8535         Reported by Ralf Corsepius.
8536         * tests/torture.at (Configuring subdirectories): Exercise these
8537         cases.
8539 2002-09-09  Akim Demaille  <akim@epita.fr>
8541         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
8542         looking for a replacement file.
8543         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
8544         directory is relative.
8545         * doc/autoconf.texi (Generic Functions): Clarify the replacement
8546         directory definition.
8547         Reported by Andreas Schwab and Jim Meyering.
8549 2002-09-06  Akim Demaille  <akim@epita.fr>
8551         * doc/autoconf.texi (Setting Output Variables): Clarify what
8552         precious variables are.
8553         Suggested by Pontus Skoeld.
8555 2002-09-05  Akim Demaille  <akim@epita.fr>
8557         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8558         (ifnames, autoscan, autom4te): Since we don't only depend on
8559         configure.ac variables (such as VERSION etc.), but also on prefix
8560         and so forth, depend on Makefile, not configure.ac.
8561         Reported by Alexandre Duret-Lutz.
8562         * doc/autoconf.texi (Installation Directory Variables): Adjust.
8564 2002-09-05  Kevin Ryde  <user42@zip.com.au>
8566         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
8567         doesn't seem to be confined to ia64, just say "some versions".
8569 2002-09-04  Akim Demaille  <akim@epita.fr>
8571         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
8572         Automake 1.6c.
8573         * Makefile.am (maintainer-clean-local): Remove.
8574         (MAINTAINERCLEANFILES): Remove COPYING.
8576 2002-09-03  Paul Eggert  <eggert@twinsun.com>
8578         * doc/autoconf.texi (Configuration Commands): Remove obsolete
8579         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
8580         Brinkmann.
8582 2002-09-03  Akim Demaille  <akim@epita.fr>
8584         * configure.ac: Bump to 2.53d.
8585         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
8586         as of today, on Automake's team suggestion.
8588 2002-09-03  Akim Demaille  <akim@epita.fr>
8590         Version 2.53c.
8592 2002-09-02  Akim Demaille  <akim@epita.fr>
8594         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
8595         SITE_MACRO_DIR.
8596         * configure.ac: Disable SITE_MACRO_DIR.
8598 2002-09-02  Jim Meyering  <meyering@lucent.com>
8600         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
8601         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
8602         Also, tweak grammar: s/make sure to/be sure to/.
8604 2002-09-02  Paul Eggert  <eggert@twinsun.com>
8606         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
8607         directory names are generally preferable to physical names.
8609 2002-09-02  Akim Demaille  <akim@epita.fr>
8611         * lib/Autom4te/General.pm (&update_file): s/die/error/.
8612         Reported by Raja R. Harinath.
8613         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
8614         * bin/autoupdate.in: Use error instead of die.
8616 2002-09-01  Paul Eggert  <eggert@twinsun.com>
8618         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
8619         ordinary shell concatenation rather than echo+tr+sed command that
8620         runs afoul of a long-line-related sed bug in Solaris 8.
8622         * bin/autoheader.in (parse_args): --warning -> --warnings.
8624         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
8625         stdout, as traditional "ls" does.
8626         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
8627         _AC_COMPILER_EXEEXT_O): Likewise.
8628         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
8630         * bin/autoconf.as: Add --prepend-include option.  This patch was
8631         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
8632         but bin/autoconf.in is generated automatically from bin/autoconf.as.
8634         * bin/autoconf.in, configure: Regenerate.
8636         * doc/autoconf.texi (Special Shell Variables): Mention
8637         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
8639         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
8640         MAILPATH and set PS1, PS2, PS4 to default values, to work
8641         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
8642         For LC_ALL etc, first try to set to "C" as POSIX requires and as
8643         the Autoconf documentation specifies; fall back to "unset" only if
8644         this fails.  Use a shell for-loop for this rather than an m4 loop,
8645         to shorten the output script.
8647 2002-08-30  Paul Eggert  <eggert@twinsun.com>
8649         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
8650         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
8651         for the CDPATH problem.  Document PWD.
8652         (Limitations of Builtins): Document the problem that "cd $foo" and
8653         "ls $foo" may refer to different directories in shells conforming
8654         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
8655         example, since the old example is now out of date.
8657         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
8658         FOO" and "ls FOO" talk about different directories; this catches
8659         problems when POSIX 1003.1-2001 "cd" fails due to symlink
8660         spaghetti.
8662         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
8663         of rolling our own unset.
8664         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
8665         in practice we needn't worry about CDPATH if unset doesn't work.
8667         * Makefile.in, aclocal.m4, bin/Makefile.in,
8668         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
8669         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
8670         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
8671         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
8672         tests/Makefile.in: Regenerate with Automake 1.6.3.
8674         * config/config.guess, config/config.sub, config/mkinstalldirs:
8675         Update.
8677         * configure: Regenerate with self.
8679 2002-08-30  Kevin Ryde  <user42@zip.com.au>
8681         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
8682         default output.
8684 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8686         * bin/autom4te.in (Request::load): Correctly test for "do" read
8687         failure.
8689 2002-08-29  Akim Demaille  <akim@epita.fr>
8691         * lib/Autom4te/General.pm (&xqx): New.
8692         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
8693         hand, which is not portable.
8694         (&error): New.
8695         * bin/autom4te.in: Use them.
8696         Use &error instead of die.
8697         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8698         Adjust.
8700 2002-08-17  Paul Eggert  <eggert@twinsun.com>
8702         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
8703         default list of compilers to try, since it was long ago superseded
8704         by the ksh fc builtin.  Suggested by Steven G. Johnson.
8706 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
8708         * doc/autoconf.texi (Invoking autom4te): End the option table,
8709         fixing a bug introduced by the previous patch.
8710         (Limitations of Make): Add a 'target lookup' subentry in the
8711         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
8713 2002-07-29  Mark D. Roth  <roth@feep.net>
8715         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
8716         options and use $AUTOM4TE_PATH.
8717         * doc/autoconf.texi: Remove documentation of autom4te
8718         --include-envvar and --site-macro-subdir options and document
8719         use of $AUTOM4TE_PATH.
8720         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
8721         arguments from each language section.
8723 2002-07-29  Paul Eggert  <eggert@twinsun.com>
8725         * doc/install.texi: Include copyright symbol in copyright notice.
8727         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
8728         Replace with:
8729         (AM_MAKEINFOFLAGS): New macro.
8730         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
8731         * Makefile.am (INSTALL): Use the new macros.
8732         Use -o rather than --output, since "missing" does not grok --output.
8734 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
8736         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
8737         comments do not always work. Never trust the exit status of
8738         `make -k'.
8740 2002-07-24  Kevin Ryde  <user42@zip.com.au>
8742         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
8743         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
8745 2002-07-23  Paul Eggert  <eggert@twinsun.com>
8747         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
8748         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
8749         apparently treats PATH="nonexistent" as if it contained ".".
8750         Bug reported by Stefan `Sec' Zehl.
8752 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
8754         * doc/autoconf.texi (Limitations of Make): Mention the special
8755         handling of the obj/ directory by BSD make.
8757 2002-07-20  Kevin Ryde  <user42@zip.com.au>
8759         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
8760         backslashes.
8762 2002-07-19  Akim Demaille  <akim@epita.fr>
8764         * doc/autoconf.texi (Function Portability): `exit'.
8765         (Programming in M4sh): Ethymology of M4sh.
8767 2002-07-19  Akim Demaille  <akim@epita.fr>
8769         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
8771 2002-07-18  Akim Demaille  <akim@epita.fr>
8773         Version 2.53b.
8775 2002-07-18  Akim Demaille  <akim@epita.fr>
8777         * config/config.guess, config/config.sub: Update.
8779 2002-07-18  Akim Demaille  <akim@epita.fr>
8781         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
8782         Automake's parts.
8784         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
8785         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
8786         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
8788 2002-07-18  Akim Demaille  <akim@epita.fr>,
8789             Alexandre Duret-Lutz  <duret_g@epita.fr>
8791         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
8792         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
8794 2002-07-17  Russ Allbery  <rra@stanford.edu>
8796         * doc/autoconf.texi (Initializing configure): Clarify the
8797         description of the tarname default.
8799 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
8801         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
8802         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
8803         latter was not run.
8805 2002-07-17  Akim Demaille  <akim@epita.fr>
8807         * lib/Autom4te/General.pm (find_file): Browse the directories in
8808         the order they are given.
8810 2002-07-17  Akim Demaille  <akim@epita.fr>
8812         * tests/wrapsh.as, tests/wrappl.as: Merge into...
8813         * tests/wrapper.as: this.
8814         * tests/Makefile.am, configure.ac: Adjust.
8816 2002-07-17  Mark D. Roth  <roth@feep.net>
8818         * configure.ac: Add --enable-site-macro-dir option.
8819         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
8820         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
8821         --site-macro-subdir options.
8822         * bin/autoconf.in: Add --prepend-include option.
8823         * bin/autoheader.in: Add --prepend-include option.
8824         * bin/autoreconf.in: Add --prepend-include option.
8825         * bin/autoscan.in: Add --prepend-include option.
8826         * bin/autoupdate.in: Add --prepend-include option.
8827         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
8828         macro directory, remove note that include path directories are
8829         used in reverse order, and document --prepend-include option.
8830         * lib/autom4te.in: Use --prepend-include instead of --include.
8831         * tests/wrapsh.in: Use --prepend-include instead of --include.
8833 2002-07-17  Akim Demaille  <akim@epita.fr>
8835         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
8836         tarnames.
8837         * doc/autoconf.texi (Initializing configure): Adjust.
8839 2002-07-17  Akim Demaille  <akim@epita.fr>
8841         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
8842         (_AC_FUNC_MALLOC): New.
8843         (AC_FUNC_MALLOC): Use the latter.
8844         Define HAVE_MALLOC to 0 if broken.
8845         * doc/autoconf.texi (Particular Functions): Adjust.
8847 2002-07-16  Akim Demaille  <akim@epita.fr>
8849         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
8850         * doc/autoconf.texi (C Compiler): Adjust.
8852 2002-07-09  Akim Demaille  <akim@epita.fr>
8854         * doc/autoconf.texi: Properly set the ``header'' part.
8856 2002-07-09  Akim Demaille  <akim@epita.fr>
8858         * doc/autoconf.texi (Systemology): Some about Darwin.
8860 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
8862         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
8863         Don't use AC_REQUIRE in AU_DEFUN.
8865 2002-07-09  Art Haas  <ahaas@neosoft.com>
8867         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
8869 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
8871         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8872         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
8873         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
8874         so that Emacs setups GNU style for perl-mode and cperl-mode.
8876 2002-06-27  Paul Eggert  <eggert@twinsun.com>
8878         * config/install-sh: Quote $src.  Prefer || to test's -o option,
8879         as per "Limitations of Builtins".
8880         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
8881         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8883         * tests/mktests.sh: Use grep instead of fgrep, as per
8884         "Limitations of Builtins".
8886 2002-06-15  Paul Eggert  <eggert@twinsun.com>
8888         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
8889         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
8890         so that we consistently test the just-built programs.
8891         * tests/wrappl.as: Likewise.
8893 2002-06-12  Paul Eggert  <eggert@twinsun.com>
8895         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
8896         name, so that symlinks to 'autoconf' work properly.  Bug reported
8897         by Bruno Haible.
8898         * bin/autoheader.in (AUTOM4TE): Likewise.
8899         * bin/autoreconf.in (autoconf, autoheader): Likewise.
8900         * bin/autoscan.in (autom4te): Likewise.
8901         * bin/autoupdate.in (autom4te): Likewise.
8903         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
8904         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
8905         on Solaris 2.5.1.
8907 2002-06-11  Andreas Schwab  <schwab@suse.de>
8909         * doc/autoconf.texi: Add more dir entries.
8911 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
8913         * bin/autom4te.in ($cache): Don't define using `$me', the name
8914         of the cache should not depend on the name under which autom4te
8915         was installed.
8917 2002-06-07  Akim Demaille  <akim@epita.fr>
8919         * tests/tools.at (autoconf: forbidden tokens, basic)
8920         (autoconf: forbidden tokens, exceptions): Adjust to the change of
8921         words in autom4te.in.
8923 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
8925         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
8926         _AC_LANG_PROGRAM_C_F77_HOOKS.
8928 2002-06-07  Akim Demaille  <akim@epita.fr>
8930         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
8931         rename as...
8932         (AC_REPLACE_FNMATCH): this.
8933         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
8934         AC_FUNC_FNMATCH_GNU.
8936 2002-06-07  Akim Demaille  <akim@epita.fr>
8938         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
8939         Rosetta Stone for Unix.
8941 2002-06-07  Akim Demaille  <akim@epita.fr>
8943         * bin/autom4te.in (warn_forbidden): When rejecting a token,
8944         suggest m4_pattern_allow.
8945         Suggested by Adam J. Richter.
8947 2002-06-07  Akim Demaille  <akim@epita.fr>
8949         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
8950         ac_config_libobj_dir.
8951         (AC_CONFIG_LIBOBJ_DIR): New.
8952         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
8953         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
8954         Use ac_config_libobj_dir to find the replacement files.
8955         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
8956         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
8957         (AC_REPLACE_FNMATCH_GNU): these.
8958         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
8959         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
8960         * tests/mktests.sh (ac_exclude_list): Don't check
8961         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
8963 2002-06-06  Paul Eggert  <eggert@twinsun.com>
8965         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
8966         if ln doesn't work.
8967         * NEWS: Likewise.
8968         * doc/autoconf.texi (Configuration Links): Likewise.
8969         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
8971 2002-06-05  Paul Eggert  <eggert@twinsun.com>
8973         * config/config.guess, config/config.sub, config/texinfo.tex:
8974         Update from masters.
8976 2002-05-29  Paul Eggert  <eggert@twinsun.com>
8978         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
8979         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
8980         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
8981         Likewise.
8982         * lib/autoconf/Makefile.am (check-local): Likewise.
8983         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
8984         * lib/autoconf/types.m4 (commentary only): Likewise.
8985         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
8986         * lib/autotest/Makefile.am (check-local): Likewise.
8987         * lib/m4sugar/Makefile.am (check-local): Likewise.
8988         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
8989         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
8991         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
8992         * doc/autoconf.texi (Particular Programs): Document them.
8993         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
8994         * NEWS: Likewise.
8996 2002-05-27  Paul Eggert  <eggert@twinsun.com>
8998         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
8999         * NEWS, doc/autoconf.texi (Particular Types): Document it.
9000         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
9001         instead of AC_MBSTATE_T, which never existed.
9003 2002-05-23  Akim Demaille  <akim@epita.fr>
9005         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
9006         version of Autoconf that is discussed.
9008 2002-05-22  Paul Eggert  <eggert@twinsun.com>
9010         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
9011         from the default list of compilers to try.  Suggested by
9012         Kate Hedstrom.
9013         * NEWS: Document the above.
9014         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
9016 2002-05-17  Paul Eggert  <eggert@twinsun.com>
9018         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
9019         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
9020         This improves on an earlier suggestion by H. Peter Anvin.
9022 2002-05-16  Paul Eggert  <eggert@twinsun.com>
9024         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
9025         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
9026         Both macros now accept an optional source-dir arg.
9027         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
9029         * NEWS: Document this.
9030         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
9032         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
9033         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
9034         not for GNU extensions; this undoes part of the 2000-11-03 change,
9035         reverting to 2.13-compatible behavior.
9036         Add new optional argument DIR.
9037         (AC_FUNC_FNMATCH_GNU): New macro.
9039         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
9041 2002-05-08  Paul Eggert  <eggert@twinsun.com>
9043         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
9044         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
9045         and it causes a 'test' syntax error if it fails.
9046         Bug reported by Stephen Gildea.
9048         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
9049         If prototypes are supported, use them to check this at compile-time,
9050         instead of trying to check it at run-time.  If we must do a run-time
9051         check, assume that setvbuf is standard when cross-compiling, as
9052         nonstandard setvbuf occurs only on ancient and unlikely hosts.
9053         Bug reported by Paul D. Smith.
9055         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
9056         argument specifying location of getloadavg.c.  This removes a
9057         FIXME.  This idea was taken from Jim Meyering's implementation in
9058         textutils.
9059         * doc/autoconf.texi (Particular Functions): Document this.
9060         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
9061         that's what the code does; this fixes a bug reported by
9062         Paul D. Smith.
9064 2002-05-03  Akim Demaille  <akim@epita.fr>
9066         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
9067         autopoint instead of gettextize.
9068         ($uses_alocal): Rename as...
9069         ($uses_aclocal): this.
9070         * doc/autoconf.texi (autoreconf Invocation): Adjust.
9071         Suggested by Bruno Haible.
9073 2002-05-03  Akim Demaille  <akim@epita.fr>
9075         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
9077 2002-04-29  Paul Eggert  <eggert@twinsun.com>
9079         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
9080         files to be 1 second older; just set them to be the same time.
9081         Also, sleep 1 second after the first aclocal, to work around
9082         problems with sub-second time stamps on the input files.
9084 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
9086         * doc/autoconf.texi: Mention "set -e -x" lossage
9087         under node "Limitations of Builtins".
9089 2002-04-29  Akim Demaille  <akim@epita.fr>
9091         * doc/install.texi: Better wording for setting variables when
9092         running configure.
9093         From Christian Cornelssen.
9095 2002-04-29  Akim Demaille  <akim@epita.fr>
9097         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
9098         of lack of $LINENO support, then the test will compare the $LINENO
9099         in testsuite vs. the lineno in the test file.  This is wrong, of
9100         course.
9101         Be sure to protect it.
9102         Reported by Patrick Welche.
9104 2002-04-25  Akim Demaille  <akim@epita.fr>
9106         * doc/autoconf.texi (Obsolete Macros): Typo.
9107         Reported by Vladimir Volovich.
9109 2002-04-25  Akim Demaille  <akim@epita.fr>
9111         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
9112         than some of the input files, hence, on the second run of aclocal,
9113         if some of its input are younger, make them older.
9114         Suggested by Paul Eggert.
9116 2002-04-25  Akim Demaille  <akim@epita.fr>
9118         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
9119         Thanks to Paul Eggert.
9121 2002-04-25  Akim Demaille  <akim@epita.fr>
9123         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
9124         and ac_subst_vars be sh variables containing the list of
9125         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
9126         DEFAULT diversion.
9127         (_AC_INIT_PREPARE): Use them to log them.
9128         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
9129         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
9130         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
9131         _AC_SUBST_FILES and _AC_SUBST_VARS.
9132         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
9134 2002-04-24  Akim Demaille  <akim@epita.fr>
9136         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
9137         autoheader, so that automake does not complain about a missing
9138         config.h.in that was to be created.
9140 2002-04-23  Akim Demaille  <akim@epita.fr>
9142         * bin/autoheader.in (parse_args): --warning takes an argument.
9143         Fixes PR/220.
9145 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
9147         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
9148         and bb.out when cleaning up.
9150 2002-04-22  Akim Demaille  <akim@epita.fr>
9152         Version 2.53a.
9154 2002-04-22  Akim Demaille  <akim@epita.fr>
9156         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
9158 2002-04-22  Akim Demaille  <akim@epita.fr>
9160         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
9161         comma.
9162         Reported by Gregory Giannoni.
9164 2002-04-22  Akim Demaille  <akim@epita.fr>
9166         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
9167         Fixes false failures on Darwin.
9169 2002-04-21  Paul Eggert  <eggert@twinsun.com>
9171         * TODO, bin/autoupdate.in, doc/autoconf.texi,
9172         lib/autoconf/general.m4, lib/autoconf/libs.m4,
9173         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
9174         tests/tools.at: Minor spelling and grammar fixes.
9176 2002-04-20  Paul Eggert  <eggert@twinsun.com>
9178         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
9179         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
9180         * lib/autotest/general.m4 (AT_INIT): Likewise.
9181         * tests/atgeneral.m4 (AT_INIT): Likewise.
9183 2002-04-19  Paul Eggert  <eggert@twinsun.com>
9185         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
9186         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
9187         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
9188         lib/autoconf/functions.m4, lib/autoconf/general.m4,
9189         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
9190         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
9191         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
9192         Minor spelling and grammar fixes.
9194         * doc/autoconf.texi: Follow the outline suggested in the GNU
9195         Sample Texts sections of the Texinfo 4.2 manual.  Most
9196         importantly, this makes sure that the copyright notices appear in
9197         all output formats.  You probably need Texinfo 4.2 to generate
9198         the manual now.
9200         Fix some bugs when using "$@" when there might be zero positional
9201         arguments in cases where this matters.
9203         * bin/autoconf.as: Rewrite so that the problem does not come up.
9204         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
9205         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
9206         * lib/autotest/general.m4 (AT_INIT): Likewise.
9208         * bin/autoheader.in: Use 'case' statement to work around problem.
9209         * bin/auto4mte.in: Likewise.
9210         * bin/autoreconf.in: Likewise.
9211         * bin/autoscan.in: Likewise.
9212         * bin/autoupdate.in: Likewise.
9213         * bin/ifnames.in: Likewise.
9215         * doc/autoconf.texi (Shell Substitutions): Document the problem.
9217         * lib/autotest/general.m4 (AT_INIT):
9218         Use Zsh alias to work around problem.
9219         * tests/atgeneral.m4 (AT_INIT): Likewise.
9221         * tests/c.at: We can't have zero arguments, so remove workaround
9222         that is not portable to Zsh.
9224 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
9226         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
9227         from aclocal.m4 too.
9229 2002-04-12  Akim Demaille  <akim@epita.fr>
9231         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
9233 2002-04-10  Akim Demaille  <akim@epita.fr>
9235         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
9236         workaround for ${1+"$@"}.
9237         * doc/autoconf.texi (Shell Substitutions): Explain it.
9238         From Oliver Kiddle and Peter Stephenson.
9240         Have M4sh perform minimal shell sanitizing.
9242         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
9243         part into...
9244         (_AS_PREPARE): this new macro.
9245         (AS_PREPARE): New.
9246         (AS_INIT): Invoke AS_SHELL_SANITIZE.
9247         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
9249         Adjust Autoconf and Autotest.
9251         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
9252         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
9253         * lib/autotest/general.m4 (AT_INIT): Likewise.
9254         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
9255         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
9256         AS_SHELL_SANITIZE.
9258         Use this M4sh to generate Autoconf's shell scripts.
9260         * tests/wrapsh.as: New, precursor of wrapsh.in.
9261         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
9262         on Autotest and M4sh.
9263         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
9264         (wrapsh.in): New target.
9265         * bin/autoconf.as: New, precursor of autoconf.in.
9266         (autoconf.in): New target.
9268 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
9270         * doc/autoconf.texi (Limitations of Make): Mention the issue
9271         with indented comments in rules.
9273 2002-04-09  Andreas Schwab  <schwab@suse.de>
9275         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
9276         ac_top_builddir when setting ac_abs_top_builddir.
9278 2002-04-06  Kevin Ryde  <user42@zip.com.au>
9280         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
9281         (Portable Shell): Cross reference to Systemology.
9283 2002-04-05  Akim Demaille  <akim@epita.fr>
9285         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
9286         directories when descending in a SUBDIRS.
9287         Reported by Ezra Peisach.
9289 2002-04-04  Andreas Schwab  <schwab@suse.de>
9291         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
9292         contains no literal separators.
9294 2002-04-03  Akim Demaille  <akim@epita.fr>
9296         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
9297         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
9298         Use dnl, not the KILL diversion.
9299         Extracted from...
9300         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
9301         (AC_CONFIG_LINKS): here.
9302         Adjust.
9303         Don't use the KILL diversion, as it kills spurious output, which
9304         results in failures being hidden.
9305         Use m4_defn where appropriate.
9306         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
9307         after the second argument.
9308         Use m4_defn.
9309         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
9310         syntax, as it is provided by M4sugar.
9311         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
9313 2002-04-03  Andreas Schwab  <schwab@suse.de>
9315         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
9316         expanded if $# <= 2.
9318         * bin/autoreconf.in (autoreconf): Run automake after rerunning
9319         aclocal.
9321 2002-04-03  Akim Demaille  <akim@epita.fr>
9323         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
9324         (_AC_COMPILER_EXEEXT_REJECT): New.
9325         Also recognize *.bb and *.bbg as compilation byproducts.
9326         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
9327         (_AC_COMPILER_OBJEXT): Use them.
9328         Fixes Debian #138666.
9330 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
9332         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
9334         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
9335         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
9336         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
9337         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
9338         (AC_C_CONST): Same.
9339         (AC_C_INLINE): Same.
9340         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
9341         * doc/autoconf.texi, NEWS: Document.
9342         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
9343         AC_C_CROSS.
9345 2002-04-02  Akim Demaille  <akim@epita.fr>
9347         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
9348         _AS_MKDIR_P_PREPARE.
9350 2002-03-28  Kevin Ryde  <user42@zip.com.au>
9352         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
9353         to avoid versions of HP C which don't allow that.
9355 2002-03-27  Paul Eggert  <eggert@twinsun.com>
9357         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
9358         (AS_SHELL_SANITIZE): Invoke it.
9359         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
9361 2002-03-26  Akim Demaille  <akim@epita.fr>
9363         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
9365 2002-03-26  Akim Demaille  <akim@epita.fr>
9367         * doc/autoconf.texi (Introduction): The GNATS base moved.
9369 2002-03-25  Paul Eggert  <eggert@twinsun.com>
9371         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
9372         as POSIX requires, as it doesn't work with Zsh.
9373         * doc/autoconf.texi (Assignments): Document the problem.
9375 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
9377         * doc/autoconf.texi (Limitations of Make): Mention more issue
9378         about VPATH, overriding of macros in sub-makes, and handling of
9379         SHELL.
9381 2002-03-21  Paul Eggert  <eggert@twinsun.com>
9383         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
9384         problem with here-document buffer boundaries.
9386         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
9387         when reinvoking the shell, to work around problems with installers
9388         who put strange things like "cd" commands in their environments.
9390 2002-03-19  Akim Demaille  <akim@epita.fr>
9392         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
9393         From Aaron Ucko.
9395 2002-03-19  Akim Demaille  <akim@epita.fr>
9397         * bin/autoscan.in (scan_file): Specify the location in `&used'
9398         invocations.
9399         From Nicolas Joly.
9401 2002-03-19  Akim Demaille  <akim@epita.fr>
9403         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
9404         From Nishio Futoshi.
9406 2002-03-19  Akim Demaille  <akim@epita.fr>
9408         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
9410 2002-03-18  Paul Eggert  <eggert@twinsun.com>
9412         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
9413         (Limitations of Usual Tools): Add mkdir section.
9415         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
9416         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
9417         back on AS_DIRNAME to compute prefixes otherwise; this is
9418         roughly what mkinstalldirs does.  That way, we need not have
9419         our own filename disassembler.  The old disassembler did not
9420         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
9422         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
9423         Create at_test_all by a series of assignments,
9424         not by a single assignment of a long string.  The latter causes ksh
9425         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
9426         presumably because of a buffer overrun.
9428 2002-03-14  Paul Eggert  <eggert@twinsun.com>
9430         * lib/autotest/general.m4 (at_times_skip):
9431         Renamed from at_times.  Now a boolean.
9432         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
9433         says 'times: not found'.
9435 2002-03-14  Akim Demaille  <akim@epita.fr>
9437         * bin/autoreconf.in (&study_gettextize): New.
9438         (&autoreconf): Handle newest gettextize.
9439         Rerun aclocal if needed.
9440         Suggested by Andreas Schwab.
9442 2002-03-13  Akim Demaille  <akim@epita.fr>
9444         * doc/autoconf.texi (Special Shell Variables): More about IFS.
9446 2002-03-13  Akim Demaille  <akim@epita.fr>
9448         * doc/autoconf.texi (Header Portability): New.
9449         Add information about stdint.h and inttypes.h from Paul Eggert.
9451 2002-03-13  Akim Demaille  <akim@epita.fr>
9453         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
9454         -p'.
9455         From Bob Proulx.
9457 2002-03-12  Akim Demaille  <akim@epita.fr>
9459         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
9460         m4_require.
9462 2002-03-11  Andreas Schwab  <schwab@suse.de>
9464         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
9465         does not do it if --with-lispdir is given.
9467 2002-03-08  Akim Demaille  <akim@epita.fr>
9469         Version 2.53.
9471 2002-03-08  Akim Demaille  <akim@epita.fr>
9473         * doc/autoconf.texi (Subdirectories): Clarify that the
9474         subdirectory should exist.
9476 2002-03-08  Akim Demaille  <akim@epita.fr>
9478         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
9480 2002-03-08  Akim Demaille  <akim@epita.fr>
9482         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
9483         aliases the actual variables, and modifications of the former
9484         affect the latter.
9486 2002-03-08  Akim Demaille  <akim@epita.fr>
9488         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
9489         because of C-c: have m4 output in tmp files, then mv them.
9491 2002-03-08  Akim Demaille  <akim@epita.fr>
9493         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
9494         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
9495         * bin/ifnames.in: Copyright update.
9497 2002-03-08  Akim Demaille  <akim@epita.fr>
9499         * doc/autoconf.texi (Invoking autom4te): New.
9501 2002-03-05  Akim Demaille  <akim@epita.fr>
9503         * doc/autoconf.texi (Specifying Names): Clarification suggested by
9504         Kevin Ryde.
9506 2002-03-05  Akim Demaille  <akim@epita.fr>
9508         Version 2.52i.
9510 2002-03-04  Akim Demaille  <akim@epita.fr>
9512         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
9513         * lib/autoconf/general.m4 (AC_INIT): More informative error
9514         message for LIBOBJ.
9516 2002-03-04  Akim Demaille  <akim@epita.fr>
9518         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
9519         parallel builds.
9521 2002-03-04  Akim Demaille  <akim@epita.fr>
9523         * doc/autoconf.texi (Transforming Names): Equality between target
9524         and host is irrelevant.
9525         (Specifying Names, Canonicalizing): Remove all references to the
9526         backward compatibility hooks.  Rather, collect them all into...
9527         (Hosts and Cross-Compilation): this new section.
9528         * doc/install.texi (System Type): Ditto.
9529         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
9530         that `--host' implies cross-compilation.
9532 2002-03-04  Akim Demaille  <akim@epita.fr>
9534         * doc/autoconf.texi (Evaluation Macros): New.
9535         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
9536         useless.
9537         (_m4_foreach): Define the variant with immediate evaluation so
9538         that it contains exactly the items, not an expression which
9539         evaluation is the current item.
9540         (m4_re_string, m4_re_word): Don't over quote them.
9542 2002-03-04  Akim Demaille  <akim@epita.fr>
9544         Instead of having stacking `shift's evaluated at the end, let
9545         `foreach' loops immediately evaluate them.
9547         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
9548         $*.  This is the n-th time I change my mind, but hopefully this is
9549         the last...
9550         (m4_lquote): New.
9551         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
9552         efficient.
9553         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
9554         it was only a hack for m4_text_wrap.
9555         (m4_car2): Remove, replaced by...
9556         (m4_cdr): New.
9557         (_m4_foreach): Adjust.
9558         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
9559         m4_bpatsubst for clarification.
9561 2002-03-04  Akim Demaille  <akim@epita.fr>
9563         * doc/autoconf.texi (Changequote is Evil): New.
9565 2002-03-03  Kevin Ryde  <user42@zip.com.au>
9567         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
9568         on old systems like SunOS.
9570 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
9572         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9573         lib/autoconf/functions.m4, lib/autoconf/general.m4,
9574         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
9575         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
9576         of messages.
9578 2002-02-28  Akim Demaille  <akim@epita.fr>
9580         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
9581         message to be sent.
9583 2002-02-28  Kevin Ryde  <user42@zip.com.au>
9585         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
9587 2002-02-25  Akim Demaille  <akim@epita.fr>
9589         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
9590         From Akinori Musha.
9592 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
9594         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
9595         translate \r\n to \n.
9597 2002-02-07  Akim Demaille  <akim@epita.fr>
9599         Version 2.52h.
9601 2002-02-07  Akim Demaille  <akim@epita.fr>
9603         Fix Autoconf PR/209.
9604         Also reported by Frank Denis.
9606         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
9608 2002-02-07  Akim Demaille  <akim@epita.fr>
9610         Fix Autoconf PR/207:
9611         AC_PREFIX_PROGRAM fails with dashed program names
9613         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
9614         variable when looking for the prefix program.
9615         Now it also works for shell variables.
9617 2002-02-07  Akim Demaille  <akim@epita.fr>
9619         * doc/autoconf.texi (Limitations of Builtins): More about
9620         case/esac.
9622 2002-02-06  Akim Demaille  <akim@epita.fr>
9624         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
9625         case/esac, some shells don't support it.
9626         Reported by Zack Weinberg.
9627         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
9629 2002-02-06  Akim Demaille  <akim@epita.fr>
9631         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
9632         sure not to introduce newlines in at_groups.
9633         * lib/autotest/Makefile.am (autotest.m4f): Typo.
9635 2002-02-06  Akim Demaille  <akim@epita.fr>
9637         * tests/torture.at (Configuring subdirectories): Skip if aclocal
9638         is not available.
9640 2002-02-05  Paul Eggert  <eggert@twinsun.com>
9642         * doc/autoconf.texi (Specific Compiler Characteristics):
9643         Describe HP-UX cc bug workaround more accurately.
9644         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
9645         not unsigned long.
9646         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
9647         cross-compilers, too.  This undoes some of the most recent change
9648         to this file.
9650 2002-02-05  Akim Demaille  <akim@epita.fr>
9652         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
9653         to make sure they are up to date when `check' is run.
9655 2002-02-05  Akim Demaille  <akim@epita.fr>
9657         * doc/autoconf.texi (Making testsuite Scripts): Document
9658         package.m4.
9660 2002-02-05  Akim Demaille  <akim@epita.fr>
9662         * lib/freeze.mk: New.
9664 2002-02-05  Akim Demaille  <akim@epita.fr>
9666         Implement `autom4te --freeze'.
9668         * bin/autom4te.in (&freeze): New.
9669         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
9670         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
9672 2002-02-05  Akim Demaille  <akim@epita.fr>
9674         * bin/autom4te.in (&parse_args): Implement `frozen files are
9675         optional are the sum of the previous files on the command line'.
9676         Also, pass `--reload-state=' on them, so...
9677         (handle_m4): don't.
9678         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
9679         (M4sh): Rely on M4sugar.
9680         (Autotest, M4sh, M4sugar): Use frozen files.
9682 2002-01-31  Akim Demaille  <akim@epita.fr>
9684         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
9685         * doc/autoconf.texi (Initializing configure): Adjust.
9687 2002-01-30  Akim Demaille  <akim@epita.fr>
9689         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
9690         alphanumeric to `-' instead of `_'.
9692 2002-01-30  Akim Demaille  <akim@epita.fr>
9694         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
9695         for plain code, the other for cross-compilation code.  The latter
9696         is now run with GCC only.
9697         * doc/autoconf.texi (Compilers and Preprocessors): New.
9699 2002-01-30  Akim Demaille  <akim@epita.fr>
9701         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
9702         values.
9703         * doc/autoconf.texi (Initializing configure): Explain how to
9704         change AC_INIT default values.
9706 2002-01-29  Akim Demaille  <akim@epita.fr>
9708         * tests/torture.at (Configuring subdirectories): Use configure.in,
9709         so that aclocal 1.4 works.
9710         Reported by Alexandre Duret-Lutz and Larry Schmitt.
9712 2002-01-28  Akim Demaille  <akim@epita.fr>
9714         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
9715         needs an argument.
9717 2002-01-28  Akim Demaille  <akim@epita.fr>
9719         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
9720         AUTOTEST_PATH *after* it was set.
9721         Don't put `.' in the PATH: the user should be precise and `./' if
9722         needed.  In addition, given that the test suite does some `cd', if
9723         `.' is in the path, the `tested programs' sections will report
9724         programs found in the test suite's directory, while during the
9725         tests (performed in their own directory), these programs are no
9726         longer visible.  In other words, the results is confusing and
9727         useless.
9728         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
9730 2002-01-24  Akim Demaille  <akim@epita.fr>
9732         Version 2.52g.
9734 2002-01-24  Akim Demaille  <akim@epita.fr>
9736         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
9737         * doc/autoconf.texi: Finally add Akim as an author.
9739 2002-01-24  Akim Demaille  <akim@epita.fr>
9741         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
9742         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
9743         Bourne. Use /bin/sh.
9744         From Andreas Buening.
9746 2002-01-24  Akim Demaille  <akim@epita.fr>
9748         * config/config.guess, config/config.sub, config/texinfo.tex:
9749         Update from masters.
9751 2002-01-24  Akim Demaille  <akim@epita.fr>
9753         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
9754         * config/auxdir.m4, config/cond.m4, config/depend.m4,
9755         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
9756         * config/missing.m4, config/sanity.m4, config/select.m4,
9757         * config/strip.m4: Remove, to ease sync'ing with any version of
9758         Automake.
9760 2002-01-24  Akim Demaille  <akim@epita.fr>
9762         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
9763         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
9764         Reported by Geir Ove Myhr.
9766 2002-01-21  Akim Demaille  <akim@epita.fr>
9768         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
9770 2002-01-21  Akim Demaille  <akim@epita.fr>
9772         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
9773         message on invalid options.
9774         * bin/autom4te.in (parse_args): Don't use
9775         Autoconf::General::getopt with non valid options.
9777 2002-01-17  Jim Meyering  <meyering@lucent.com>
9779         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
9780         $ac_cv_exeext so we don't use an old, invalid, cached value.
9782 2002-01-11  Akim Demaille  <akim@epita.fr>
9784         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
9785         Meyering.
9786         * doc/autoconf.texi (Function Portability): Document the strnlen
9787         limitation.
9788         (Particular Functions): Document AC_FUNC_STRNLEN.
9789         * lib/autoscan/functions: Adjust.
9791 2002-01-06  Akim Demaille  <akim@epita.fr>
9793         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
9794         package.m4, since is really depends upon configure.ac, not
9795         configure.
9796         * doc/autoconf.texi (testsuite Scripts): Adjust.
9797         * tests/Makefile.am (package.m4): New.
9798         EXTRA_DIST it since its a source.
9800 2002-01-06  Akim Demaille  <akim@epita.fr>
9802         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
9803         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
9804         and PACKAGE_BUGREPORT from here...
9805         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
9806         arguments.
9807         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
9808         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
9809         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
9810         * tests/tools.at (autoheader): Adjust.
9811         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
9813 2002-01-06  Akim Demaille  <akim@epita.fr>
9815         * bin/autoscan.in (scan_file): Use `&used'.
9817 2002-01-03  Akim Demaille  <akim@epita.fr>
9819         * doc/autoconf.texi (Output): Improved wording regarding use of
9820         AC_OUTPUT.
9821         From Olly Betts.
9823 2001-12-18  Kevin Ryde  <user42@zip.com.au>
9825         * doc/autoconf.texi (Function Portability): Add notes on sscanf
9826         sometimes needing writable input.
9828 2001-12-17  Jim Meyering  <meyering@lucent.com>
9830         * doc/autoconf.texi (New Macros): Tweak wording.
9832 2001-12-14  Akim Demaille  <akim@epita.fr>
9834         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
9835         trailing files, don't apply `-rf' to files which might not be
9836         created by configure (core, core.*, and *.core), but just `rm -f'.
9837         Suggested by Jonathan Kamens.
9839 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
9841         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
9843 2001-12-14  Akim Demaille  <akim@epita.fr>
9845         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
9847 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
9849         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
9850         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
9851         abs_srcdir, top_srcpath to abs_top_srcdir.
9852         (_AC_OUTPUT_FILES): Adjust.
9853         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
9854         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
9855         * tests/wrappl.in, tests/wrapsh.in: Adjust.
9857 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
9859         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
9860         C/Fortran linking on HP/UX, by extracting the Fortran library
9861         search path from the LPATH line in the $F77 -v output.
9863 2001-12-12  Kevin Ryde  <user42@zip.com.au>
9865         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
9866         forbidden file descriptors table.
9868 2001-11-26  Akim Demaille  <akim@epita.fr>
9870         * bin/autoscan.in (%c_keywords): Build it at top level.
9871         Map to 1 in order to simplify its uses.
9873 2001-11-26  Akim Demaille  <akim@epita.fr>
9875         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
9876         Remove $filepath, useless.
9877         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
9878         variables, they are really part of the tokens.
9879         Split the input line on spaces and then look for tokens.
9880         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
9881         because of `lex$U.$(OBJEXT)'.
9882         (&scan_files): Use "@list" instead of join.
9883         * doc/Makefile.am (CLEANFILES): Add *.fns.
9885 2001-11-26  Akim Demaille  <akim@epita.fr>
9887         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
9888         Remove, replaced by...
9889         * tests/wrappl.in: Be common for all the Perl executables.
9890         In particular autoscan and autoheader want -I.
9891         * configure.ac: Adjust.
9892         * lib/autoscan/headers: errno.h is portable.
9894 2001-11-26  Akim Demaille  <akim@epita.fr>
9896         * bin/autoscan.in (used): New.
9897         Use it.
9899 2001-11-26  Akim Demaille  <akim@epita.fr>
9901         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
9902         directives.
9903         (&scan_sh_file): Remove a duplicate pattern.
9904         (&check_configure_ac): Use long options.
9905         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
9907 2001-11-26  Akim Demaille  <akim@epita.fr>
9909         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
9910         Before, having a line containing the opening of a multi line
9911         comment made the whole line be ignored.
9913 2001-11-26  Akim Demaille  <akim@epita.fr>
9915         * doc/autoconf.texi (Using an Autotest Test Suite): New.
9916         (testsuite Scripts): Be one of its subsection.
9917         (Autotest Logs): New.
9919 2001-11-26  Akim Demaille  <akim@epita.fr>
9921         Test groups are now run two directories deeper.
9923         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
9924         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
9925         at_top_builddir.
9926         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
9927         top_srcdir, builddir and top_builddir.
9928         Use `at_*dir' relatively to the directory containing the
9929         suite, use `*dir' when relatively to the current group dir.
9931 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
9933         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
9934         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
9935         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
9936         spelling errors.
9938 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
9940         * doc/autoconf.texi (Using System Type): Add an example of `case
9941         $host' usage so people quit using `case $target' everywhere.
9943 2001-11-22  Akim Demaille  <akim@epita.fr>
9945         * doc/autoconf.texi (Installation Directory Variables): Englishoes
9946         spotted by Jim Meyering.
9948 2001-11-16  Paul Eggert  <eggert@twinsun.com>
9950         This patch implements a `long double' suggestion by Oliver Kiddle.
9952         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
9953         static, to catch errors if the value isn't known at compile-time
9954         and the compiler supports dynamic arrays.  Change its name from
9955         `_array_' to `test_array' to avoid potential name clashes.
9956         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
9957         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
9958         better than double.  Catch a bug in GCC 2.95.2 x86.
9959         * doc/autoconf.texi (C Compiler): Document the above.
9960         * NEWS: Likewise.
9962 2001-11-13  Akim Demaille  <akim@epita.fr>
9964         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
9965         hand.
9966         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
9968 2001-11-13  Akim Demaille  <akim@epita.fr>
9970         * lib/autotest/general.m4 (AT_INIT): After having run the test
9971         group, go back to the initial directory, not to at_suite_dir.
9973 2001-11-13  Akim Demaille  <akim@epita.fr>
9975         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
9976         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
9977         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
9978         option.
9979         (AT_CHECK_CONFIGURE): Use absolute paths.
9980         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
9981         The problem is still the old one: there is no means in M4 (that I
9982         know about) to create a defining macro, because there is no means
9983         to create `$1' etc., therefore, the defining macro ``swallows''
9984         all the arguments meant to the defined macro.
9986 2001-11-13  Akim Demaille  <akim@epita.fr>
9988         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
9989         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
9990         configure.ac.
9991         * tests/aclocal.m4: Remove, as it is no longer used.
9993 2001-11-13  Akim Demaille  <akim@epita.fr>
9995         * lib/autotest/general.m4: Change `tests?' into `groups?' in
9996         variable names when referring to a single test group, or to
9997         `suite' when referring to the whole test suite.
9998         `at_last_test' is removed: m4 compute at_format itself.
9999         (at_stdout, at_stder1, at_stderr): New variables.
10000         (AT_CHECK): Use them.
10002 2001-11-13  Akim Demaille  <akim@epita.fr>
10004         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
10005         in PATH.
10006         Create `testsuite.dir/003/run' instead of `testsuite.003'.
10007         Do it as soon as a test fails, don't wait till the end of the test
10008         suite.
10009         Don't remove $as_me.[0-9]*, since these files no longer exist.
10011 2001-11-13  Akim Demaille  <akim@epita.fr>
10013         * tests/tools.at: Use absolute paths, since we are no longer run
10014         in place.
10016 2001-11-13  Akim Demaille  <akim@epita.fr>
10018         Now that tests are running in their own private dir, there is no
10019         need to list the files to remove at the end of tests groups.
10021         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
10022         (AT_data_files, at_data_files): Remove.
10023         (AT_CLEANUP, AT_DATA): Simplify.
10024         (AT_INIT): Adjust.
10025         Remove the group dir if !debug && !failed.
10026         * tests/atspecific.m4: Adjust.
10028 2001-11-13  Akim Demaille  <akim@epita.fr>
10030         Start a new layout for Autotest: `testsuite' creates
10031         `testsuite.dir' in which the at-check-line etc. files are to be
10032         found, and `testsuite.dir/003' where the test group 3 is run.
10034         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
10035         at_check_line_file, at_format, at_test_normalized, at_group_dir
10036         are new variables.
10037         Create the directories.
10038         Use absolute paths for at- files.
10039         (AT_CHECK): Adjust.
10041 2001-11-11  Michael Matz  <matz@kde.org>
10043         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
10044         (m4_car2): New.
10045         (m4_car): Properly quote arguments.
10047 2001-11-13  Akim Demaille  <akim@epita.fr>
10049         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
10050         with stricter rules on LIBOBJS.
10052 2001-11-12  Paul Eggert  <eggert@twinsun.com>
10054         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
10055         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
10056         __PROTOTYPES too.
10058 2001-11-12  Akim Demaille  <akim@epita.fr>
10060         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
10062 2001-11-12  Akim Demaille  <akim@epita.fr>
10064         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10065         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
10066         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10067         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
10068         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
10069         specify to what the macro should be defined (typically to 1).
10071 2001-11-12  Akim Demaille  <akim@epita.fr>
10073         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
10074         From Jim Meyering.
10076 2001-11-12  Akim Demaille  <akim@epita.fr>
10078         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10079         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
10080         definition used by Automake where LEX is +/- "${missing} lex" and
10081         `missing' itself contains variables.
10083 2001-11-12  Akim Demaille  <akim@epita.fr>
10085         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
10086         Now that M4sh pushes BODY, the comments were output at the end of
10087         the test suites.
10089 2001-11-08  Akim Demaille  <akim@epita.fr>
10091         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
10092         that we can trace macros from aclocal.m4.
10093         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
10094         obsoleted, and redirect to the former anyway.
10095         Reported by Ralf Corsepius.
10097 2001-11-08  Akim Demaille  <akim@epita.fr>
10099         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
10100         processed only if present.
10101         * tests/torture.at (Configuring subdirectories): Use autoreconf
10102         instead of successive calls to autoconf.
10103         Add a nonexistent subdirectory to exercise the patch above.
10104         Reported by Ralf Corsepius.
10106 2001-11-08  Kevin Ryde  <user42@zip.com.au>
10108         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
10109         doesn't accept .S files.
10111 2001-11-07  Akim Demaille  <akim@epita.fr>
10113         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
10114         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
10115         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
10116         * bin/autom4te.in (warn_forbidden): New.
10117         (handle_output): Use it.
10118         Read m4_pattern_forbid with messages.
10120 2001-11-05  Akim Demaille  <akim@epita.fr>
10122         * bin/autom4te.in (--normalize): Remove.
10123         * lib/autom4te.in: Adjust.
10125 2001-11-05  Akim Demaille  <akim@epita.fr>
10127         * tests/Makefile.am (testsuite): Rename this target as...
10128         ($(TESTSUITE)): this.
10129         From Nicolas Joly.
10131 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
10133         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
10134         the --prefix option, also remove it's argument.
10136 2001-11-05  Akim Demaille  <akim@epita.fr>
10138         * doc/autoconf.texi (testsuite Invocation): Update.
10139         (Writing testsuite.at): Update.
10141 2001-11-03  Akim Demaille  <akim@epita.fr>
10143         * doc/autoconf.texi: s/@code/@command/ where appropriate.
10145 2001-11-03  Akim Demaille  <akim@epita.fr>
10147         * lib/Autom4te/General.pm: (&catfile, &canonfile)
10148         (&file_name_is_absolute): New, wrappers around routines from
10149         File::Spec.
10150         Use and export them.
10151         (&find_configure_ac): Optionally take a directory where to look at.
10152         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
10153         the arguments.
10154         Default @ARGV to `.', not find_configure_ac.
10155         (&autoreconf): Argument is a directory.
10156         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
10157         * doc/autoconf.texi (autoreconf Invocation): Update.
10159 2001-11-03  Akim Demaille  <akim@epita.fr>
10161         * lib/Autom4te/General.pm (@export_vars, @export_subs)
10162         (@export_forward_subs): New.
10163         Add basename, dirname, and fileparse.
10164         (@EXPORT): Adjust.
10165         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
10166         Don't look for aclocal flags if we already know aclocal is not
10167         used.
10168         Move aclocal.m4t only if it exists.
10169         Reported by Ezra Peisach.
10171 2001-11-03  Akim Demaille  <akim@epita.fr>
10173         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
10174         passed on command line, defaulting to ./configure.ac if present.
10175         (&maybe_autoreconf, File::Find): Remove, unused.
10176         (&autoreconf): If autoconf is not used, don't try to trace.
10178 2001-11-02  Akim Demaille  <akim@epita.fr>
10180         * configure.ac: Bump to 2.52g.
10182 2001-11-02  Akim Demaille  <akim@epita.fr>
10184         Version 2.52f.
10186 2001-11-02  Akim Demaille  <akim@epita.fr>
10188         * config/config.guess, config/config.sub, doc/standards.texi:
10189         * config/lispdir.m4: Update from masters.
10190         * configure.ac: Bump to 2.52f.
10192 2001-11-02  Akim Demaille  <akim@epita.fr>
10194         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
10195         Don't run aclocal when aclocal.m4 is not from aclocal.
10196         From Ezra Peisach.
10197         Don't run libtoolize and gettextize if --install is not given.
10199 2001-11-01  Paul Eggert  <eggert@twinsun.com>
10201         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
10202         be invoked before _AS_LINENO_PREPARE.
10203         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
10204         than character ranges.
10206         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
10207         invoking AS_BASENAME.  Set the locale variables to 'C' if
10208         possible, as POSIX requires this to get the traditional
10209         behavior.
10210         * doc/autoconf.texi (Special Shell Variables): Describe the above.
10212 2001-10-31  Paul Eggert  <eggert@twinsun.com>
10214         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
10215         with {}, as that triggers a bug in Bash 2.05.
10217         (_AS_LINENO_PREPARE): Use Sed rather than
10218         Awk.  Fix the sed prepass to work even if there are multiple
10219         instances of $LINENO on the same line.  Do not substitute for
10220         other variables like $LINENOT.  Do not check file dates; such a
10221         check is unreliable on sufficiently fast machines, and removing
10222         the check makes the code simpler and more reliable.  Check for
10223         output and chmod failures.
10225         * doc/autoconf.texi (Special Shell Variables): Document
10226         the above.
10228 2001-10-31  Akim Demaille  <akim@epita.fr>
10230         * tests/Makefile.am (atconfig): Remove this target, Automake
10231         handles it now.
10233 2001-10-31  Akim Demaille  <akim@epita.fr>
10235         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
10236         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
10237         provided, while it is optional.
10238         * configure.ac: Adjust.
10240 2001-10-26  Paul Eggert  <eggert@twinsun.com>
10242         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
10243           lib/Autom4te/Struct.pm:
10244         Require Perl 5.005_03 instead of just 5.005, as some tests fail
10245         with 5.005_02.
10247         * doc/autoconf.texi (Special Shell Variables): Document some
10248         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
10250         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
10251         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
10252         eval $LINENO is not portable in practice.
10254 2001-10-24  Akim Demaille  <akim@epita.fr>
10256         * lib/Autom4te/General.pm (backname): New.
10258 2001-10-24  Akim Demaille  <akim@epita.fr>
10260         * m4/: Remove, merged into...
10261         * config/: here.
10263 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
10265         * doc/autoconf.texi (Shellology): Mention the problems with bash
10266         2.05's use of ANSI quoting in its `set' builtin.
10268 2001-10-22  Paul Eggert  <eggert@twinsun.com>
10270         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
10271         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
10272         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
10273         POSIX decided to standardize on the int flavor of strerror_r.
10274         Always do char* test, as there's no reason not to.
10275         Assign to a char* var, to catch strerror_r that returns int*.
10277         * doc/autoconf.texi (Particular Functions):
10278         Document the above changes.  Also, document the fact that
10279         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
10281         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
10283 2001-10-20  Akim Demaille  <akim@epita.fr>
10285         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
10286         the executable was missing from the log.
10288 2001-10-20  Akim Demaille  <akim@epita.fr>
10290         * lib/Autom4te/General.pm (&update_file): If destination is
10291         unchanged, remove the source.
10292         (&up_to_date_p): Don't be verbose, be debug.
10293         * bin/autoreconf.in: No longer support --m4dir.
10294         (&autoreconf): Display the full path of the configure.ac we are
10295         studying.
10296         Trace it only once.
10297         Be sure to honor --force with gettextize.
10298         Always run aclocal.
10299         * doc/autoconf.texi: Adjust.
10301 2001-10-20  Akim Demaille  <akim@epita.fr>
10303         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
10304         Remove, dead.
10305         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
10306         `intl' is already present, as it refuses unless --force.
10307         (&parse_args): Use -I, --include instead of the old Autoconf
10308         options.
10309         ($localdir, $autoconf_dir): Remove.
10310         (@include): New.
10311         (&maybe_autoreconf): New, to preserve $_ for File::Find.
10313 2001-10-19  Jens Petersen  <petersen@redhat.com>
10315         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
10316         * doc/autoconf.texi (Particular Programs): Likewise.
10318 2001-10-19  Akim Demaille  <akim@epita.fr>
10320         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
10321         file in @configure_input@.
10322         Don't mention `automatically' in addition to `generated'.
10323         * tests/torture.at (#define header templates): Adjust.
10325 2001-10-19  Akim Demaille  <akim@epita.fr>
10327         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
10328         comment, explain how to install automatic mode selection.
10329         From Russ Allbery.
10331 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
10333         * bin/autoreconf.in (autoreconf): Display the path to the
10334         configure.ac being studied.
10336 2001-10-18  Paul Eggert  <eggert@twinsun.com>
10338         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
10339         long, to work around a bug in the HP C compiler version HP92453-01
10340         B.11.11.23709.GP.
10342         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
10343         (AS_BASENAME_EXPR): New macro.
10344         (AS_BASENAME_SED): Do not assume GNU sed semantics.
10345         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
10346         and fall back on 'sed' only if the other two fail.  This makes
10347         AS_BASENAME act more like AS_DIRNAME.
10348         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
10349         contains white space.
10350         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
10351         Use AS_DIRNAME, since I think it's now DOS-friendly.
10352         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
10353         Allow "dirname //FOO" to return either / or //, as POSIX allows
10354         either behavior.
10356 2001-10-10  Akim Demaille  <akim@epita.fr>
10358         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
10359         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
10360         From Eric Sharkey.
10362 2001-10-10  Akim Demaille  <akim@epita.fr>
10364         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
10365         m4_define, since...
10366         (_AS_ECHO_N): AS_REQUIREs it.
10368 2001-10-10  Akim Demaille  <akim@epita.fr>
10370         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
10371         (AC_INCLUDES_DEFAULT): Move to...
10372         * lib/autoconf/headers.m4: here.
10373         * lib/autoconf/types.m4: Comment changes.
10374         * doc/autoconf.texi: Specify where the default includes are used
10375         in the macro prototypes.
10377 2001-10-09  Akim Demaille  <akim@epita.fr>
10379         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
10380         transition code.
10382 2001-10-08  Akim Demaille  <akim@epita.fr>
10384         * bin/autoreconf.in (&autoreconf): Remove debugging code.
10385         (&parse_args): Pass verbosity/debugging options to subtools when
10386         --debug, not when --verbose.
10387         * lib/autom4te.in (Autoreconf-preselections): New.
10388         (Autoconf): Use it.
10390 2001-10-08  Akim Demaille  <akim@epita.fr>
10392         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
10394 2001-10-08  Akim Demaille  <akim@epita.fr>
10396         * doc/autoconf.texi (autoreconf Invocation): Adjust.
10397         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
10399 2001-10-08  Akim Demaille  <akim@epita.fr>
10401         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
10402         (Syntax of the shell scripts): Don't.
10403         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
10404         bother with $force since...
10405         * lib/Autom4te/General.pm: does.
10407 2001-10-08  Akim Demaille  <akim@epita.fr>
10409         * bin/autoreconf.in: Rewrite in Perl.
10410         * configure.ac: Adjust.
10411         * lib/Autom4te/General.pm (&up_to_date_p): New.
10412         * bin/autom4te.in (&up_to_date_p): Use it.
10413         Rename as...
10414         (&up_to_date): this.
10416 2001-10-08  Akim Demaille  <akim@epita.fr>
10418         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
10419         (m4_list_cmp): Use $0 to reinvoke yourself.
10420         (m4_patsubsts): New.
10421         (m4_strip, m4_version_unletter): Use it.
10422         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
10424 2001-10-08  Akim Demaille  <akim@epita.fr>
10426         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
10427         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
10428         * lib/autoconf/types.m4, lib/autotest/general.m4,
10429         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
10430         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
10431         m4_bregexp, m4_bpatsubst, and m4_bmatch.
10432         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
10434 2001-10-08  Akim Demaille  <akim@epita.fr>
10436         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
10438 2001-10-08  Akim Demaille  <akim@epita.fr>
10440         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
10441         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
10442         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
10443         * tests/tools.at, tests/m4sh.at: Use it.
10444         * tests/m4sh.at: Don't rely on Autoconf macros.
10445         (DIRNAME_TEST): Also exercise the expr variant.
10446         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
10447         preferred M4sugar extension is now `.4s'.
10448         * tests/README: Remove.
10450 2001-10-08  Akim Demaille  <akim@epita.fr>
10452         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
10453         (m4_provide_if): this.
10454         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
10455         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
10456         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
10457         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
10459 2001-10-08  Akim Demaille  <akim@epita.fr>
10461         Use `add-log-current-defun-function' for ChangeLog creation.
10462         Suggested by Tom Tromey.
10464         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
10465         (autotest-mode): Adjust.
10466         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
10467         'comment-region onto `C-c ;'.
10468         Comments are `#', not `dnl'.
10469         (autoconf-current-defun): New.
10470         (autoconf-font-lock-keywords): Recognize `m4_defun'.
10472 2001-10-08  Akim Demaille  <akim@epita.fr>
10474         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
10475         * lib/m4sugar/m4sh.m4: here.
10476         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
10477         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
10478         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
10479         include handle the m4_pattern_*, no longer push the
10480         BODY diversion nor set the /bin/sh line, AS_INIT does it.
10481         * lib/autotest/general.m4 (AT_INIT): Likewise.
10482         * tests/base.at: Adjust the tests to use AS_INIT.
10483         * tests/tools.at (AT_DATA_FORBIDDEN): New.
10484         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
10485         Autoconf.
10487 2001-10-07  Paul Eggert  <eggert@twinsun.com>
10489         * doc/autoconf.texi (config.status Invocation):
10490         CONFIG_SHELL defaults to a shell that supports LINENO if available.
10492         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
10493         shell does not support LINENO, and if CONFIG_SHELL is unset or
10494         empty, and if we can find a shell that does support LINENO,
10495         then set CONFIG_SHELL to that shell and then re-execute
10496         ourselves with CONFIG_SHELL.
10498 2001-10-05  Paul Eggert  <eggert@twinsun.com>
10500         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
10501         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
10502         build of $(TESTSUITE).
10504 2001-10-05  Akim Demaille  <akim@epita.fr>
10506         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
10507         iff we are a bareword.
10508         Reported by Raja R Harinath.
10510 2001-10-05  Akim Demaille  <akim@epita.fr>
10512         * tests/m4sh.at (LINENO): New.
10513         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
10514         PATH_SEPARATOR before using it.
10515         Fix the absolute path case/esac pattern.
10516         Provide $0 as fallback for as_myself.
10517         Reported by Raja R Harinath.
10519 2001-10-05  Akim Demaille  <akim@epita.fr>
10521         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
10522         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
10524 2001-10-05  Akim Demaille  <akim@epita.fr>
10526         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
10527         (AS_SHELL_SANITIZE): here.  Use it.
10528         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
10529         From Paul Eggert.
10531 2001-10-04  Akim Demaille  <akim@epita.fr>
10533         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
10534         combination of Awk and sed to replace $LINENO.
10536 2001-10-02  Paul Eggert  <eggert@twinsun.com>
10538         * doc/autoconf.texi (Limitations of Builtins): You can't use
10539         "source"; it's not portable.  Remove confusing and
10540         somewhat-incorrect example involving "." and "/".
10542         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
10543         compatibility with POSIX shells.
10545 2001-10-02  Akim Demaille  <akim@epita.fr>
10547         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
10548         instead of exec'ing to preserve $0 and $@.
10550 2001-10-01  Akim Demaille  <akim@epita.fr>
10552         * tests/testsuite (AT_INIT) <at_pass_list>: New.
10553         Don't run twice the same test.
10555 2001-10-01  Akim Demaille  <akim@epita.fr>
10557         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
10558         No longer output the list of tests.
10559         <--list>: New option.
10560         <--full-help>: Remove.
10561         Complete the short/long options duality.
10562         Various small adjustments.
10564 2001-10-01  Akim Demaille  <akim@epita.fr>
10566         * doc/autoconf.texi: Use @kbd for user input.
10567         Always use `$' as shell prompt.
10569 2001-09-30  Paul Eggert  <eggert@twinsun.com>
10571         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
10572         Don't use nested parenthesization.  This patch was originally
10573         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
10574         but somehow it didn't get incorporated then.
10575         * doc/autoconf.texi (Limitations of Usual Tools):
10576         Clarify remark about sed and nested parenthesization.
10578         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
10579         Report an error if the size cannot be determined even though
10580         the type exists.
10581         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10582         Check for `expr' arithmetic overflow, and for compilation failure,
10583         and invoke a new argument $4 if either is discovered.
10584         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
10585         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
10587 2001-09-28  Akim Demaille  <akim@epita.fr>
10589         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
10590         * m4/lispdir.m4: New.
10591         * aclocal.m4, configure.ac: Adjust.
10593 2001-09-28  Akim Demaille  <akim@epita.fr>
10595         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
10596         (AT_TESTED): this.
10597         (AT_INIT): More the wrapped section to where it will be expanded.
10598         Output `AT_tested' only when existing.
10599         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
10601 2001-09-27  Akim Demaille  <akim@epita.fr>
10603         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
10604         generates too many bug reports.
10606         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
10607         status when executing the ACTION-IF-FALSE.
10608         * tests/base.at (AC_TRY_*): Rename as...
10609         (AC_TRY_COMMAND): this.
10610         (AC_RUN_IFELSE): New.
10611         * tests/compile.at (Extensions, C keywords)
10612         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
10613         (Broken/missing compilers, AC_PROG_CPP with warnings)
10614         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
10615         * tests/c.at (Extensions, C keywords)
10616         (Broken/missing compilers, AC_PROG_CPP with warnings)
10617         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
10618         (AC_PROG_CPP requires AC_PROG_CC): here and...
10619         * tests/fortran.at (GNU Fortran 77): there.
10620         * doc/autoconf.texi (autoconf Invocation): Fix the example:
10621         AC_TRY_RUN is about compilation, not shell commands.
10622         (Test Programs): AC_TRY_RUN works as used to be advertised.
10624 2001-09-27  Akim Demaille  <akim@epita.fr>
10626         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
10627         Raja R Harinath:
10628         Be sure to detect when $LINENO always returns the same value.
10629         Look for the original script, basename($0) is certainly not
10630         enough.
10631         Pass the CLI arguments to `$as_me.lineno'.
10633 2001-09-25  Akim Demaille  <akim@epita.fr>
10635         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
10636         Be sure the close and reopen the LOG fd before and after using tee
10637         to extend the log.
10638         <at_tests_pattern>: Adjust to the new format of at_help_all.
10640 2001-09-23  Akim Demaille  <akim@epita.fr>
10642         * bin/autom4te.in (parse_args): There can be several invocations
10643         of --language now.
10645 2001-09-23  Akim Demaille  <akim@epita.fr>
10647         * doc/autoconf.texi (Top): Wrap in @ifnottex.
10649 2001-09-23  Akim Demaille  <akim@epita.fr>
10651         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
10652         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
10653         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
10654         builddir, buildpath, top_builddir, and top_buildpath.
10655         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
10656         the current directory.
10657         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
10658         variables *before* changing the current directory.
10659         Skip nonexistent dirs.
10660         * doc/autoconf.texi (Preset Output Variables): Document these
10661         variables.
10663         * lib/autotest/general.m4: Do not reset AT_victims.
10664         Don't compute at_srcdir nor at_top_srcdir.
10666         * tests/tools.at: Hence use top_srcdir.
10668         * tests/Makefile.am, tests/autoconf, tests/autoheader,
10669         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
10670         Remove.
10671         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
10672         * tests/wrapsh.in, tests/autoupdate.in: New.
10673         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
10674         * configure.ac: Build the position independent wrappers.
10676         * man/Makefile.am: Now that test wrappers are position
10677         independent, use them and drop dark envvar magic.
10679 2001-09-23  Akim Demaille  <akim@epita.fr>
10681         * doc/autoconf.texi (Common Shell Constructs): Rename as...
10682         (Programming in M4sh): this.
10683         Promote to @section.
10685 2001-09-23  Akim Demaille  <akim@epita.fr>
10687         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
10688         Pass $at_debug_args to the rerun test suite.
10689         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
10690         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
10691         From Paul Eggert.
10693 2001-09-23  Akim Demaille  <akim@epita.fr>
10695         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
10697 2001-09-23  Akim Demaille  <akim@epita.fr>
10699         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
10700         over-escaping.
10702 2001-09-23  Akim Demaille  <akim@epita.fr>
10704         * lib/Autom4te/General.pm (&debug): New.
10705         * bin/autom4te.in ($language): Move to...
10706         (parse_args): here.
10707         Handle --language in languages.
10708         * lib/autom4te.in (Automake-selections, Autoheader-selections)
10709         (Autoscan-selections): New.
10710         (Autoconf): Adjust.
10712 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
10714         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
10715         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
10716         to match current versions from CVS Automake.
10718 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
10720         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
10721         for $LINENO.
10723 2001-09-22  Akim Demaille  <akim@epita.fr>
10725         * lib/autoconf/autotest.m4: Create `package.m4'.
10726         * tests/Makefile.am (package.m4): Remove.
10728 2001-09-22  Akim Demaille  <akim@epita.fr>
10730         Rely on `$LINENO' when possible instead of `__oline__'.
10732         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
10733         `$LINENO' support replacement when not supported.
10734         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
10735         them explicitly to be sure they are not output before this section
10736         (via m4_require).  Cosmetic only.
10737         * lib/autoconf/c.m4, lib/autoconf/general.m4,
10738         * lib/autoconf/programs.m4: Replace all the occurrences of
10739         `__oline__' with `$LINENO'.
10740         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
10742 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
10744         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
10745         character (u: -> ue) in a code comment.
10746         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
10747         it works.
10749 2001-09-21  Akim Demaille  <akim@epita.fr>
10751         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
10752         Suggested by Jim Meyering.
10754 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10756         * lib/autoconf/programs.m4: Use extensions listed in
10757         $ac_executable_extensions when looking for programs.
10759 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10761         * lib/autoconf/general.m4: Fix a small Englisho.
10762         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
10763         setting up ac_dir_suffix and ac_top_builddir.
10764         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
10766 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10768         * doc/autoconf.texi (File System Conventions): Clarify the use of
10769         PATH_SEPARATOR.
10770         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
10771         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
10772         be used instead of ':'.
10773         * lib/autotest/general.m4: Replace occurrences of ':' in
10774         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
10776 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10778         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
10779         arguments.  Fixed a typo.
10781 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10783         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
10784         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
10786 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10788         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
10789         * bin/autoupdate.in: Ditto.
10790         * bin/autoheader.in: Reworded a few comments.
10791         * bin/autoconf.in: Reworded help text for a few options.
10792         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10793         * bin/autoscan.in, bin/autoupdate.in: Ditto.
10795 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10797         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
10798         already have $file).  Set output files to binary mode (helps avoid
10799         CR issues on DOSish systems).
10801 2001-09-19  Akim Demaille  <akim@epita.fr>
10803         * lib/autotest/general.m4: Englishoes.
10804         From Tim Van Holder and Alexey Mahotkin.
10806 2001-09-18  Paul Eggert  <eggert@twinsun.com>
10808         * doc/autoconf.texi (Common Shell Constructs): New node,
10809         documenting AS_DIRNAME.
10810         (Limitations of Usual Tools): Refer to it when discussing dirname.
10811         Also, update discussion of POSIX standard to reflect latest draft.
10813         * lib/autoconf/c.m4:
10814         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
10816         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10817         Do not pass a first argument with leading '-'
10818         to expr, by parenthesizing initial integers that might be negative.
10820         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
10821         now merely checks whether it is an error to pass an argument
10822         to getpgrp.
10824         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
10825         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
10826         whether it is a (compile-time) error to pass an argument to
10827         getpgrp.  This simpler test supports the revised documentation,
10828         and is all that AC_FUNC_GETPGRP's users really need.
10830 2001-09-18  Akim Demaille  <akim@epita.fr>
10832         * doc/autoconf.texi (Limitations of Make) <$<>: New.
10834 2001-09-18  Akim Demaille  <akim@epita.fr>
10836         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
10837         `{}'.
10838         * lib/autotest/general.m4 (AT_INIT): Adjust.
10840 2001-09-18  Paul Wagland  <paul@wagland.net>
10842         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
10843         correctly.
10844         Add test for AS_BASENAME.
10845         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
10846         added test. It now correctly handles /1/2/3/, returning '3' not ''.
10847         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
10848         * tests/base.at: Fixed the expected responses. The old ones were
10849         one line out...
10850         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
10851         the documentation claims it should (and how it behaved in 2.13).
10853 2001-09-18  Akim Demaille  <akim@epita.fr>
10855         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
10856         the AC_CONFIG_COMMANDS invocation.
10857         This also solves the name clash problems.
10858         Don't set the package's ID.
10859         * lib/m4sugar/Makefile.am (version.m4): Revamp.
10860         No longer to be shipped.
10861         (version.in): Remove.
10862         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
10863         * lib/autoconf/status.m4: Adjust.
10864         Use `m4_PACKAGE_STRING'.
10865         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
10866         the only optional argument is the name of the test suite.
10867         Expect `package.m4' to define the package signature.
10868         * lib/autom4te.in (Autotest): Add `package.m4?'.
10869         * tests/Makefile.am (package.m4): New.
10870         * tests/suite.at: ifnames is a victim.
10872 2001-09-18  Akim Demaille  <akim@epita.fr>
10874         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
10875         AC_LIBSOURCE, AC_CONFIG_FILES.
10876         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
10877         program version string doesn't match the package's.
10878         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
10879         after `(cached)'.
10881 2001-09-17  Paul Eggert  <eggert@twinsun.com>
10883         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10884         Allow expression to return any value that can fit into unsigned long
10885         (not int, as before).  Check for output errors.
10887 2001-09-17  Bruno Haible  <haible@ilog.fr>
10889         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10890         Always include <stdio.h> and <stdlib.h>. Evaluate
10891         the expression in an extra function before these includes. Call
10892         fprintf "%d" only after ensuring the argument is of type 'int'.
10893         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
10895 2001-09-17  Paul Eggert  <eggert@twinsun.com>
10897         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
10898         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
10899         fatal errors, and AC_CHECK_LIB causes it to include libraries even
10900         when they don't exist.
10902         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
10903         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
10904         need it.
10906         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
10907         version with the version used by fileutils 4.1, except use
10908         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
10909         we don't need it.
10911         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
10913 2001-09-13  Akim Demaille  <akim@epita.fr>
10915         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
10916         _first_.
10917         Reported by Gerrit P. Haase.
10919 2001-09-13  Akim Demaille  <akim@epita.fr>
10921         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
10922         m4_defn'ing is valid.
10924 2001-09-13  Akim Demaille  <akim@epita.fr>
10926         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
10927         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
10928         Use it.
10930 2001-09-13  Akim Demaille  <akim@epita.fr>
10932         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
10933         m4_match.
10934         (m4_re_escape): New.
10935         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
10936         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
10937         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
10938         Likewise.
10939         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
10940         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
10941         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
10942         AT_tests_all for consistency.
10943         Set at_victims.
10944         (AT_VICTIMS): Similar to AT_KEYWORDS.
10945         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
10947 2001-09-13  Akim Demaille  <akim@epita.fr>
10949         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
10951 2001-09-13  Akim Demaille  <akim@epita.fr>
10953         * lib/autotest/general.m4 (AT_INIT): Create and remove
10954         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
10955         test suites can cohabit.
10957 2001-09-13  Akim Demaille  <akim@epita.fr>
10959         * tests/mktests.sh: Don't output banners for empty test files.
10961 2001-09-13  Akim Demaille  <akim@epita.fr>
10963         Test suites can be run independently of configure.
10965         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
10966         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
10967         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
10968         ECHO_N etc.
10969         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
10970         and at_c.
10971         * lib/autotest/general.m4: Use ECHO_*.
10973 2001-09-13  Akim Demaille  <akim@epita.fr>
10975         * bin/ifnames.in: Rewrite in Perl.
10976         * configure.ac: Don't look for AWK.
10977         * tests/tools.at (AWK portability): Remove.
10978         (Syntax of the shell scripts): Don't check ifnames.
10979         (AT_CHECK_PERL_SYNTAX): New.
10980         (Syntax of the Perl scripts): Check ifnames.
10981         * tests/ifnames: New.
10983 2001-09-13  Akim Demaille  <akim@epita.fr>
10985         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
10986         test group titles.
10987         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
10988         Remove all the other keywords.
10990 2001-09-10  Akim Demaille  <akim@epita.fr>
10992         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
10993         SETUP: no longer used.
10994         Support -k, --keywords.
10995         <at_help>: Be `no', `short', or `long'.
10996         <at_help_all>: New variable.
10997         (AT_KEYWORDS): New.
10998         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
10999         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
11000         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
11001         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
11002         No longer fill the HELP diversion.
11003         (AT_CLEANUP): Use them.
11004         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
11005         (m4_list_append): Remove.
11007         Spread a few keywords in the Autoconf test suite.
11009 2001-09-10  Akim Demaille  <akim@epita.fr>
11011         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
11012         PATH_SEPARATOR, let M4sh compute it.
11013         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
11014         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
11015         Move to...
11016         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
11017         Simplify when the path is not a literal.
11018         (AS_UNAME): Use it to report PATH.
11019         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
11020         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
11021         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
11022         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
11023         normalize the path, and to look for victims.
11024         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
11025         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
11027 2001-09-07  Akim Demaille  <akim@epita.fr>
11029         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
11030         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
11031         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
11032         related variables into `at_package_*'.
11033         * lib/autotest/general.m4 (AT_VICTIMS): New.
11034         (AT_INIT): Adjust for stand-alone/embedded test suites.
11035         (AS_MESSAGE_LOG_FD): Define and use it.
11036         * tests/suite.at (AT_VICTIMS): Use it.
11037         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
11038         at_version.
11040 2001-09-07  Akim Demaille  <akim@epita.fr>
11042         Move toward possibly stand-alone test suites.
11044         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
11045         in addition, it introduces useless differences in logs.
11046         (AT_INIT): Let atconfig and atlocal be both optional.
11047         Adjust PATH computation.
11048         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
11050 2001-09-07  Akim Demaille  <akim@epita.fr>
11052         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
11053         m4sugar/version.m4.
11055 2001-09-05  Akim Demaille  <akim@epita.fr>
11057         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
11058         to avoid GCC warnings.
11059         From Uwe Seimet.
11061 2001-09-05  Akim Demaille  <akim@epita.fr>
11063         * bin/autom4te.in: --language is -l, not -s.
11065 2001-09-05  Akim Demaille  <akim@epita.fr>
11067         Be ready to handle filenames as stupid as `dnl.at', for if even
11068         the maintainer is dumb enough to do that...
11070         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
11071         excellence in M4 quotation: consider `__file__' is active.
11073         And BTW, when invoking m4, pass the --include in the right order:
11074         the wrong one.
11076         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
11077         4m.
11079 2001-09-05  Akim Demaille  <akim@epita.fr>
11081         * lib/Autom4te/XFile.pm: New lib file.
11082         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
11083         * bin/autoheader.in: Use it.
11085 2001-09-05  Akim Demaille  <akim@epita.fr>
11087         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
11088         defined.
11090 2001-09-05  Akim Demaille  <akim@epita.fr>
11092         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
11093         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
11095         * bin/autoscan.in: Use `getopt' and `find_files' etc.
11096         Add -I, --include support.
11097         * doc/autoconf.texi (autoscan Invocation): Adjust.
11099 2001-09-05  Akim Demaille  <akim@epita.fr>
11101         CVS GNU M4 doesn't like `undefine(undefined)'.
11103         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
11104         New, extracted from main.
11105         Use IO::File wherever possible.
11106         (input.m4): Be constant, use -I instead of hard coding $tmp.
11107         Therefore be a quoted heredoc.
11108         Don't invoke `_au_disable', since ac was not loaded, but just
11109         `unm4.m4'.
11111 2001-08-31  Akim Demaille  <akim@epita.fr>
11113         Version 2.52d.
11115 2001-08-31  Akim Demaille  <akim@epita.fr>
11117         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
11118         previous patch.
11119         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
11121 2001-08-31  Akim Demaille  <akim@epita.fr>
11123         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
11124         serious problems handling heredocs in heredocs.
11125         Reported by Nicolas Joly.
11127 2001-08-31  Akim Demaille  <akim@epita.fr>
11129         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
11130         (Making testsuite Scripts): Update.
11132 2001-08-31  Akim Demaille  <akim@epita.fr>
11134         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
11136 2001-08-31  Akim Demaille  <akim@epita.fr>
11138         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
11139         (testsuite Scripts): There is no such thing as `atconfig.in'.
11140         And actually one diagram is missing: test suite runtime.
11142 2001-08-31  Akim Demaille  <akim@epita.fr>
11144         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
11145         inverse order.
11147 2001-08-31  Akim Demaille  <akim@epita.fr>
11149         * bin/autoupdate.in (@include): `installcheck' revealed the path
11150         to m4sugar was lacking!
11152 2001-08-31  Akim Demaille  <akim@epita.fr>
11154         * man/Makefile.am (.x.1): We really have to pass
11155         autom4te_perllibdir.
11157 2001-08-31  Akim Demaille  <akim@epita.fr>
11159         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
11160         debug scripts, in particular passing explicitly listed tests to
11161         run is stupid.
11163 2001-08-31  Akim Demaille  <akim@epita.fr>
11165         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
11166         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
11167         Use directly autom4te, not autoconf.
11168         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
11170 2001-08-31  Akim Demaille  <akim@epita.fr>
11172         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
11173         * bin/autoheader.in (%symbol): Strip arguments of macros.
11175 2001-08-31  Akim Demaille  <akim@epita.fr>
11177         * doc/autoconf.texi: Catch up -I, --include changes.
11179 2001-08-31  Akim Demaille  <akim@epita.fr>
11181         * bin/autom4te.in (&parse_args): Die on unknown languages.
11182         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
11183         need for autoconf.
11184         Promote --include over --macrodir and other obsolete options.
11186 2001-08-31  Akim Demaille  <akim@epita.fr>
11188         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
11189         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
11190         * bin/autom4te.in ($autoconf): Pass --force.
11191         `print $out' doesn't print `$_' but `$out'.
11192         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
11193         (autoheader): Pass --force since the test suite goes too fast for
11194         the time stamps.
11195         Adjust to the new autoheader messages.
11197 2001-08-31  Akim Demaille  <akim@epita.fr>
11199         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
11200         Check the completeness of the #template.
11201         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
11202         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
11203         invocation.
11205 2001-08-31  Akim Demaille  <akim@epita.fr>
11207         * lib/Autom4te/General.pm (&find_file, &update_file): New.
11208         * bin/autoupdate.in, bin/autoheader.in: Adjust.
11209         Drop AC_MACRODIR dead for real.
11210         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
11211         `autoheader: `config.hin' is created'.
11212         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
11214 2001-08-31  Akim Demaille  <akim@epita.fr>
11216         * bin/autoheader.in: Rewrite in Perl.
11217         * tests/autoheader: Adjust.
11219 2001-08-31  Akim Demaille  <akim@epita.fr>
11221         * bin/autoconf.in (--include, -I): New option.
11222         Map --localdir, --autoconf-dir onto it.
11223         Forward autom4te's options instead of interpreting them.
11224         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
11225         There is no such envvar since the inception of autom4te.cfg.
11226         * bin/autom4te.in (&parse_args): Uniquify `@include'.
11227         * bin/autoupdate.in: Adjust, and perform more control.
11228         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
11229         * tests/autoconf: Dittowise.
11231 2001-08-31  Akim Demaille  <akim@epita.fr>
11233         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
11234         * bin/autom4te.in (&find_file): Support `FILE?' standing for
11235         optionally `FILE'.
11236         Use -e, not -f, since /dev/null for instance is OK.
11237         (&parse_args): Adjust.
11238         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
11240 2001-08-31  Akim Demaille  <akim@epita.fr>
11242         * configure.ac: Also find tested executables in bin.
11243         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
11244         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
11245         installed peer executables, only PATH is allowed to resolve it.
11246         Pass `autoconf_dir' via options, not via invisible envvars.
11247         * lib/Autom4te/General.pm (&find_peer): Remove.
11248         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
11249         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
11250         * man/Makefile.am: Let help2man rely on PATH instead of trying to
11251         find the executables for it.
11252         * tests/Makefile.am: Major cleanup.  Too lazy to document...
11253         * tests/atlocal.in: Remove all the obscure envvar manipulations.
11254         We only need PERL.
11255         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
11256         indeed related to running the test suite, while passing
11257         --autoconf-dir and others is related to running non installed
11258         Autoconf executables.  So don't do that, leave it to...
11259         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
11260         * tests/autoscan: New.
11261         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
11262         refer to library files: rely on --language.
11264 2001-08-29  Akim Demaille  <akim@epita.fr>
11266         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
11267         s/--set/--language/.
11269 2001-08-29  Akim Demaille  <akim@epita.fr>
11271         * doc/autoconf.texi: Strip the @nodes.
11272         Suggested by Paul Eggert.
11273         (Initializing configure): Typo.
11275 2001-08-29  Akim Demaille  <akim@epita.fr>
11277         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
11278         Suggested by Paul Eggert.
11280 2001-08-29  Akim Demaille  <akim@epita.fr>
11282         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
11283         download in a tmp dir.
11285 2001-08-29  Akim Demaille  <akim@epita.fr>
11287         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
11288         case insensitive OSes out there :(
11289         From Tim Van Holder.
11291 2001-08-29  Akim Demaille  <akim@epita.fr>
11293         * lib/autom4te.in: New.
11294         * lib/Makefile.am (edit, autom4te.cfg): New.
11295         * bin/autom4te.in (BEGIN): Simplify.
11296         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
11297         (&load_configuration): New.  Use it.
11298         (&parse_args): Support --mode, --set, and --melt.
11299         * bin/autoconf.in: Simplify and adjust.
11300         * tests/Makefile.am (AUTOMAKE): Use --set.
11301         * tests/atlocal.in: Adjust.
11302         * BUGS: distcheck and check are weak.
11304 2001-08-29  Akim Demaille  <akim@epita.fr>
11306         * lib/autotest/general.m4: Use
11307                 foo=`(command) 2>/dev/null`
11308         not
11309                 foo=`command` 2>/dev/null
11310         (at-devnull): Rename as...
11311         (AT-devnull): this.
11312         (--clean): Remove AT-* files too.
11313         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
11314         Reported by Nicolas Joly.
11316 2001-08-28  Akim Demaille  <akim@epita.fr>
11318         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
11319         quotes inside single quotes.
11320         Reported by Nicolas Joly.
11322 2001-08-28  Kevin Ryde  <user42@zip.com.au>
11324         * doc/autoconf.texi (Function Portability): Mention C right shifts.
11326 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
11328         * lib/autotest/general.m4: Reword some messages.
11329         (AT_INIT): Check for the `times' builtin before using it.
11330         Support test ranges as arguments to the testsuite.
11331         Have -e imply -d as the help text suggested.
11333 2001-08-27  Akim Demaille  <akim@epita.fr>
11335         * Makefile.maint: Formatting changes.
11336         (do-po-update, po-update, cvs-update, update): New targets.
11337         (AMTAR): Remove.
11339 2001-08-27  Akim Demaille  <akim@epita.fr>
11341         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
11342         <at_cmd_line>: New.
11343         Pass it to debug-*.sh scripts.
11344         <AUTOTEST_PATH>: May contain absolute dir names.
11346 2001-08-27  Akim Demaille  <akim@epita.fr>
11348         * lib/autotest/general.m4 (AT_INIT): Log the command line.
11349         Support `VAR=VAL' as arguments.
11350         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
11351         may be set via the command line.
11353 2001-08-27  Akim Demaille  <akim@epita.fr>
11355         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
11356         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
11357         first the build dirs, then the src dirs.
11358         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
11360 2001-08-27  Akim Demaille  <akim@epita.fr>
11362         * lib/autotest/general.m4 (AT_INIT): Output the definition of
11363         at_data_files earlier.
11364         (--clean, -c): New option.
11365         * tests/Makefile.am: Use this option.
11367 2001-08-27  Akim Demaille  <akim@epita.fr>
11369         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
11370         `ac_top_builddir' to mimic Automake's vocabulary, which much more
11371         readable.
11372         Adjust callers.
11373         * doc/autoconf.texi (Configuration Actions): Document the vars
11374         available in commands.
11375         Emphasize the risks of collisions in init-cmds.
11377 2001-08-27  Akim Demaille  <akim@epita.fr>
11379         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
11380         (Initializing configure): this new node.
11382 2001-08-27  Akim Demaille  <akim@epita.fr>
11384         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
11386 2001-08-27  Akim Demaille  <akim@epita.fr>
11388         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
11389         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
11390         New file.
11391         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
11393 2001-08-27  Akim Demaille  <akim@epita.fr>
11395         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
11396         to...
11397         * lib/autoconf/autoheader.m4: this new file.
11398         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
11399         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
11400         Move to...
11401         * lib/autoconf/autoupdate.m4: this new file.
11403 2001-08-27  Akim Demaille  <akim@epita.fr>
11405         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
11406         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
11407         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
11408         -> ac_dir).
11409         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
11410         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
11412 2001-08-27  Akim Demaille  <akim@epita.fr>
11414         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
11415         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
11416         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
11417         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
11418         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
11419         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
11420         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
11421         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
11422         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
11423         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
11424         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
11425         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
11426         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
11427         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
11428         (_AC_OUTPUT_SUBDIRS): Move to...
11429         * lib/autoconf/status.m4: this new file.
11430         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
11431         * tests/Makefile.am, tests/suite.at: Adjust.
11433 2001-08-27  Akim Demaille  <akim@epita.fr>
11435         Automake 1.5.
11437         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
11438         (AMTAR): Help automake define it.
11439         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
11440         needed, 1.5 can have a macro and a target with the same name.
11441         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
11442         * m4/strip.m4: New.
11443         * m4/init.m4, m4/sanity.m4: Update.
11444         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
11445         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
11446         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
11447         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
11449 2001-08-27  Akim Demaille  <akim@epita.fr>
11451         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
11453         * lib/autoconf/version.in: Remove.
11454         * lib/m4sugar/version.in: New.
11455         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
11456         Adjust callers.
11457         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
11458         the name of the directory they're in, instead of the filename,
11459         since version.m4 is now in m4sugar, but m4_acversion must not be
11460         classified as an Autoconf macro.
11461         ($input_m4): Don't qualify the path to m4sugar.
11462         Rather, pass autoconf_dir to m4.
11463         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
11464         * tests/suite.at: Require 2.52c.
11466 2001-08-27  Akim Demaille  <akim@epita.fr>
11468         testsuite.log should include config.log.
11470         * lib/autotest/autotest.m4: New.
11471         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
11472         * tests/suite.at : Adjust.
11473         (AT_INIT): Log config.log.
11474         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
11475         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
11476         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
11477         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
11478         of config.log on traps.
11479         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
11480         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
11481         for config.status'.
11482         Open the log as soon as possible.
11483         Use the same log introduction as configure's.
11485 2001-08-22  Paul Eggert  <eggert@twinsun.com>
11487         * doc/autoconf.texi (Indices): New node.
11488         Move indices out of the top level menu and into this submenu.
11490 2001-08-22  Akim Demaille  <akim@epita.fr>
11492         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11493         AC_TRY_COMMAND.
11494         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
11496 2001-08-22  Akim Demaille  <akim@epita.fr>
11498         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
11499         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
11500         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
11501         * lib/autoconf/programs.m4: here.
11502         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
11503         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
11504         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
11505         * lib/autoconf/programs.m4: here.
11506         (_AC_DECL_YYTEXT): Rename as...
11507         (_AC_PROG_LEX_YYTEXT_DECL): this.
11508         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
11509         * tests/Makefile.am, tests/suite.am: Adjust.
11511 2001-08-22  Akim Demaille  <akim@epita.fr>
11513         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
11514         Move to...
11515         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
11516         here.
11517         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
11518         * lib/autoconf/functions.m4: here.
11519         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
11520         (AH_CHECK_LIB): Move to...
11521         * lib/autoconf/libs: this new file.
11522         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
11523         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
11524         * lib/autoconf/libs.m4: here.
11525         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
11527 2001-08-22  Akim Demaille  <akim@epita.fr>
11529         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
11530         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
11531         (AC_SITE_LOAD): Better logging of config.site.
11533 2001-08-20  Akim Demaille  <akim@epita.fr>
11535         * configure.ac (AT_CONFIG): Fix the path.
11536         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
11537         can be used.
11539 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
11541         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
11542         program with AC_LANG_PROGRAM before feeding it to
11543         AC_COMPILE_IFELSE.  Cleanup grep usage.
11545 2001-08-20  Akim Demaille  <akim@epita.fr>
11547         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
11548         * NEWS, README, README-alpha, TODO, tests/README: This package is
11549         `Autoconf', not `autoconf' (the executable).
11551 2001-08-20  Akim Demaille  <akim@epita.fr>
11553         Info readers seem to need `Index' in the index node title :(
11555         * doc/autoconf.texi: Reverse the 2001-08-15 change which
11556         simplified index node names.
11558 2001-08-20  Akim Demaille  <akim@epita.fr>
11560         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
11561         arguments are not literals.
11562         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
11563         Specify the output variables, and macros defined.
11565 2001-08-20  Akim Demaille  <akim@epita.fr>
11567         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
11568         (Examining Syntax) <AC_TRY_COMPILE>
11569         (Examining Libraries) <AC_TRY_LINK>
11570         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
11571         their arguments.
11572         Reported by Werner Lemberg.
11574 2001-08-20  Akim Demaille  <akim@epita.fr>
11576         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
11577         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
11578         Load atlocal late enough to dump it in the log.
11579         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
11581 2001-08-20  Akim Demaille  <akim@epita.fr>
11583         * tests/torture.at (Configuring subdirectories): New test.
11584         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
11585         looking for.
11586         * m4/atconfig.m4: Be sure the let $[0] be expandable.
11587         (top_srcdir): Fix its computation.
11589 2001-08-20  Akim Demaille  <akim@epita.fr>
11591         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
11592         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
11593         test suite lives.
11594         Create `atconfig' automagically.
11595         Configure atlocal.in if present.
11596         * tests/atconfig.in: Remove.
11597         * tests/atlocal.in: New.
11598         * tests/Makefile.am: Adjust.
11600 2001-08-20  Akim Demaille  <akim@epita.fr>
11602         Huh!?!?!  There are still some user EOF tags used, which prevents
11603         their use in AC_CONFIG_COMMANDS for instance...
11605         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
11606         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
11607         `_CSEOF', or `_ATEOF', as appropriate.
11608         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
11609         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
11611 2001-08-20  Akim Demaille  <akim@epita.fr>
11613         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
11614         * tests/semantics.at, tests/tools.at, tests/torture.at:
11615         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
11617 2001-08-20  Akim Demaille  <akim@epita.fr>
11619         Autotest invokes M4sh's initialization.
11621         * lib/autotest/general.m4: Adjust the diversion names.
11622         (AT_INIT): Run AS_INIT.
11623         Use the BINSH diversion to invoke /bin/sh.
11624         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
11625         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
11627 2001-08-20  Akim Demaille  <akim@epita.fr>
11629         Let M4sh have its own diversions.
11631         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
11632         (_m4_divert(NOTICE)): Rename as...
11633         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
11634         (_m4_divert(HEADER-COMMENT)): these.
11635         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
11636         (_m4_divert(NOTICE)): New, for Libtool.
11637         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
11638         long ago with `_m4_divert(GROW)'.
11639         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
11641 2001-08-20  Akim Demaille  <akim@epita.fr>
11643         * tests/base.at, tests/compile.at, tests/foreign.at,
11644         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
11645         * tests/semantics.at, tests/suite.at, tests/tools.at,
11646         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
11648 2001-08-20  Akim Demaille  <akim@epita.fr>
11650         * bin/autom4te.in (handle_output): Handle @__@.
11652 2001-08-20  Akim Demaille  <akim@epita.fr>
11654         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
11655         * lib/autotest/general.m4: Adjust the license.
11657 2001-08-17  Paul Eggert  <eggert@twinsun.com>
11659         * doc/autoconf.texi (Function Portability): Mention snprintf,
11660         following up on a suggestion by Kevin Ryde.
11662 2001-08-17  Akim Demaille  <akim@epita.fr>
11664         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
11665         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
11667 2001-08-17  Akim Demaille  <akim@epita.fr>
11669         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
11670         `$0.log' as for projects where testsuite is in src, we'd have
11671         testsuite.log created in src.
11673 2001-08-17  Akim Demaille  <akim@epita.fr>
11675         * bin/autom4te.in (&parse_args): Recognize --normalize.
11677 2001-08-17  Akim Demaille  <akim@epita.fr>
11679         Start implementing the AC_CHECK_HEADER transition scheme.
11681         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
11682         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
11683         (AC_CHECK_HEADER): Use them.
11685 2001-08-17  Akim Demaille  <akim@epita.fr>
11687         * doc/autoconf.texi: Work around Texinfo buglets.
11688         (Transformation Rules): One example is enough, users are expected
11689         to have their brains on. And BTW, use DESTDIR.
11690         (dvar): New macro.  Use it.
11692 2001-08-17  Akim Demaille  <akim@epita.fr>
11694         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
11695         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
11696         looking for ChangeLogs.
11698 2001-08-17  Akim Demaille  <akim@epita.fr>
11700         * bin/autom4te.in: --normalize is a new option.
11701         * bin/autoconf.in: Use it.
11703 2001-08-17  Akim Demaille  <akim@epita.fr>
11705         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
11706         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
11708 2001-08-16  Paul Eggert  <eggert@twinsun.com>
11710         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
11711         start, not at end.
11713 2001-08-15  Akim Demaille  <akim@epita.fr>
11715         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
11716         Use it.
11718 2001-08-15  Akim Demaille  <akim@epita.fr>
11720         * doc/autoconf.texi (pr): New index.
11721         (prindex, findex): Use, merge, and output them.
11722         (Environment Variable Index, Output Variable Index)
11723         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
11724         (Autotest Macro Index): Rename as...
11725         (Environment Variables, Output Variables,Preprocessor Symbols)
11726         (Autoconf Macros, M4 Macros, Autotest Macros): these.
11727         * doc/install.texi: Use @command.
11728         (Environment Variables): Rename as...
11729         (Defining Variables): this.
11731 2001-08-15  Akim Demaille  <akim@epita.fr>
11733         * doc/autoconf.texi (Function Portability): sprintf's return
11734         value.
11735         From Kevin Ryde.
11737 2001-08-15  Akim Demaille  <akim@epita.fr>
11739         * Makefile.maint (CVS): New.
11740         (local-check): Run changelog-check. last.
11741         (alpha): Don't depend upon local-check, since...
11742         (cvs-dist): depends upon it.
11744 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
11746         * tests/Makefile.am: Use a clean-local rule to remove
11747         autom4te.cache (it's a directory, not a file.
11748         * Makefile.am: Ditto (but maintainer-clean-local).
11750 2001-08-15  Akim Demaille  <akim@epita.fr>
11752         * bin/autom4te.in (@m4_warning): New.
11753         (&handle_m4): Use it.
11754         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
11755         warnings are issued at each run.
11756         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
11757         is in the src tree.
11759 2001-08-15  Akim Demaille  <akim@epita.fr>
11761         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
11762         don't waste time running `autoupdate --version' works.
11763         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
11765 2001-08-13  Akim Demaille  <akim@epita.fr>
11767         * doc/autoconf.texi (ma): Rename this index as...
11768         (ac): this.
11770 2001-08-13  Akim Demaille  <akim@epita.fr>
11772         * Makefile.am: Remove dead code and dead comments.
11773         (pdf, html): New targets.
11774         * doc/autoconf.texi (Using Autotest): New chapter.
11775         * doc/Makefile.am (pdf): New targets.
11776         (CLEANFILES): Adjust.
11778 2001-08-13  Akim Demaille  <akim@epita.fr>
11780         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
11781         duration of the test suite.
11783 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
11785         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
11786         endianness for comparison instead of relying on AT_CHECK_ENV.
11788 2001-08-11  Paul Eggert  <eggert@twinsun.com>
11790         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
11791         to the INSTALL file.
11793 2001-08-11  Paul Eggert  <eggert@twinsun.com>
11795         * NEWS: The autoconf manual now is distributed under the terms
11796         of the GNU Free Documentation License.
11798         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
11799         Add an appendix "Copying This Manual" for the FDL.
11801         * doc/fdl.texi: New file, from
11802         <http://www.gnu.org/licenses/fdl.texi>.
11804         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
11806 2001-08-10  Paul Eggert  <eggert@twinsun.com>
11808         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
11809         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
11810         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
11811         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
11812         m4/sanity.m4, tests/README, tests/aclocal.m4,
11813         tests/atspecific.m4, tests/base.at, tests/compile.at,
11814         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
11815         tests/semantics.at, tests/suite.at, tests/tools.at,
11816         tests/torture.at: Add copyright notice.
11818         * tests/mktests.sh: Update year in copyright notice.
11820 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
11822         * tests/semantics.at (AC_C_BIGENDIAN): New test.
11824 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
11826         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
11827         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
11828         * doc/autoconf.texi (C Compiler Characteristics): Update
11829         documentation for AC_C_BIGENDIAN.
11831 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
11833         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
11834         magic values from an object file when cross-compiling.
11835         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
11837 2001-08-10  Akim Demaille  <akim@epita.fr>
11839         * bin/autom4te.in (&handle_output): Don't use `grep' with side
11840         effects.
11841         Suggested by Russ Allbery.
11843 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
11845         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
11846         current $prefix to the sub-configures.
11848 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
11850         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
11851         extension (needed on BeOS).  Reported by Guido van Rossum.
11853 2001-08-09  Akim Demaille  <akim@epita.fr>
11855         * bin/autom4te.in ($icache): Load it only if older than autom4te.
11857 2001-08-07  Akim Demaille  <akim@epita.fr>
11859         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
11860         removed.
11861         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
11862         No need to remove the files before and after the each test, before
11863         each test and at the end of the suite is enough.
11864         Display only the children `times', not the shell's.
11865         If the test failed or was skipped, at-times is not available.
11867 2001-08-07  Akim Demaille  <akim@epita.fr>
11869         Always produce testsuite.log, including when there are no
11870         failures.  This helps getting information on skipped tests, and
11871         duration of the tests.  Err, implement the latter btw.
11873         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
11874         Dump information on the first run of each test.
11875         (AT_CLEANUP): Create `at-times' containing the duration of the
11876         test group.
11878 2001-08-07  Akim Demaille  <akim@epita.fr>
11880         The use of `dumpstat' revealed that `len' was used although it
11881         should not.  m4_text_wrap was using it, but in the Autoconf world
11882         where it is legal.  Hence (i) test M4sh in its own world, not
11883         Autoconf's, and (ii), ahem, fix the bug :)
11885         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
11886         does not like `' instead of [].
11887         (AT_INIT): Forbid `^_?AT_'.
11888         And don't output such tokens.
11889         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
11890         `script.as', and `autom4te.cache'.
11891         Remove `empty' and `macro' which are no longer used.
11892         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
11893         * tests/m4sugar.at: Use it.
11894         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
11896 2001-08-07  Akim Demaille  <akim@epita.fr>
11898         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
11900 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
11902         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
11904 2001-08-04  Akim Demaille  <akim@epita.fr>
11906         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
11907         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
11908         AC_TRY_LINK.
11909         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
11910         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
11911         (AC_F77_MAIN): Likewise.
11913 2001-08-04  Akim Demaille  <akim@epita.fr>
11915         Don't rely on M4sugar outputting the patterns in files, since we
11916         might process the output _without_ running m4, hence without these
11917         files.
11919         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
11920         * bin/autom4te.in (@Request::includes): Remove, unused.
11921         (@Request::source): Rename as...
11922         (@Request::input): this.
11923         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
11924         (&handle_output): Fetch the patterns from the traces.
11925         `$forbidden' and `$allowed' are constant: use m//o.
11926         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
11927         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
11929 2001-08-04  Akim Demaille  <akim@epita.fr>
11931         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
11932         autoconf', i.e., in addition to caching traces, cache the output.
11934         * bin/autom4te.in (Request::cache): Rename as...
11935         (Request::id): this.
11936         ($cache, $icache, $tcache, $ocache): New.
11937         (&handle_m4): Save M4 output in the cache instead of $tmp.
11938         (&handle_output): Adjust.
11939         (&up_to_date_p): Check that the output cache is up to date too.
11940         (top level): Run `&handle_m4' iff force or the cache is invalid.
11941         Run `&handle_output' if the output cache is more recent.
11943 2001-08-04  Akim Demaille  <akim@epita.fr>
11945         * bin/autom4te.in ($force): New.
11946         (&parse_args, &print_usage): -f, --force is a new option.
11947         (&handle_output): CPP directives might have spaces after `#'.
11948         (&parse_args): The first file only can be frozen.
11950 2001-08-04  Akim Demaille  <akim@epita.fr>
11952         Don't let autom4te compute the `include' traces several times:
11953         first check that the trace cache file is up to date, and then
11954         compare its timestamp with that of the output.
11956         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
11957         the preamble.  Don't require 5.005 as Autom4te::General does it,
11958         and better yet (use `use', not `require'!).
11959         * lib/Autom4te/Struct.pm: Rename the last occurrences of
11960         Class::Struct as Autom4te::Struct.
11961         * lib/Autom4te/General.pm (File::stat): Use it.
11962         (&mtime): New, export it.
11963         * bin/autom4te.in: Use it.
11964         Declare `$req' is invalid if it is outdated.
11965         Don't declare it valid before saving it if something went wrong.
11967 2001-08-04  Akim Demaille  <akim@epita.fr>
11969         Autom4te shall not encode Autoconf data, and preselecting traces
11970         must be proposed to the users.
11972         * bin/autom4te.in (@required_trace): Remove.
11973         (@preselect): New.
11974         (&parse_args, &print_usage): -p, --preselect is a new option.
11975         (&up_to_date_p): Adjust.
11976         * bin/autoconf.in: Preselect some Autoconf macros.
11978 2001-08-04  Akim Demaille  <akim@epita.fr>
11980         * tests/tools.at (autoconf --trace: user macros): Check traces on
11981         macros invoked without arguments, and macros invoked with multiple
11982         lines arguments.
11984 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
11986         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
11987         arguments.
11989 2001-08-03  Akim Demaille  <akim@epita.fr>
11991         * bin/autoconf.in ($@): Work around the usual sh bug.
11992         From Nicolas Joly.
11994 2001-08-03  Akim Demaille  <akim@epita.fr>
11996         Clean up the handling of the M4 builtins tracing exception.
11998         * bin/autom4te.in (Request::request): Don't complete M4 builtins
11999         trace requests.
12000         (@m4_builtins): Rename as...
12001         (@m4_builtin): this.
12002         (%m4_builtin_alternate_name): New.
12003         (&parse_args): Complete the trace requests with alternate names.
12004         (&handle_traces): Hence no longer do it here.
12005         (&trace_requests): Remove, unused.
12007 2001-08-03  Akim Demaille  <akim@epita.fr>
12009         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
12010         m4_if, and m4_wrap.
12012 2001-08-03  Akim Demaille  <akim@epita.fr>
12014         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
12015         (m4_divert_pop): Dump the whole diversion stack when a diversion
12016         mismatch happens.
12017         * bin/autom4te.in (&handle_output): Remember of the first
12018         occurrence of a possibly undefined macro, not the last.
12019         Complain about the possibly undefined macros in the same order as
12020         the appear in the output.
12021         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
12022         * tests/tools.at (autoconf: forbidden tokens, basic)
12023         (autoconf: forbidden tokens, exceptions): No longer sort
12024         autoconf's stderr, as it is now deterministic.
12025         Check that `dnl' is caught.
12027 2001-08-01  Akim Demaille  <akim@epita.fr>
12029         * configure.ac: Bump to 2.52c.
12031 2001-08-01  Akim Demaille  <akim@epita.fr>
12033         Version 2.52b.
12035         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
12037 2001-08-01  Akim Demaille  <akim@epita.fr>
12039         Version 2.52a.
12041 2001-08-01  Akim Demaille  <akim@epita.fr>
12043         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
12044         `die'.
12045         (&END): New.
12046         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
12047         `END', as `Autom4te::General::END' will be triggered.
12048         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
12049         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
12050         system to run `mv', `rm', and `cmp'.
12052 2001-08-01  Akim Demaille  <akim@epita.fr>
12054         * lib/Autom4te/General.pm (&unique): New.
12055         * bin/autoscan.in (&output): Use it to issue trace requests once.
12057 2001-08-01  Akim Demaille  <akim@epita.fr>
12059         * lib/Autom4te/General.pm: New.
12060         * bin/autom4te.in (Autom4te::General): Use it.
12061         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
12062         (&find_configure_ac, &find_slave): Remove.
12063         * bin/autoscan.in: Likewise.
12064         * bin/autoupdate.in: Likewise.
12066 2001-08-01  Akim Demaille  <akim@epita.fr>
12068         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
12069         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
12070         * bin: here, new directory.
12071         * lib/Autoconf: Rename as...
12072         * lib/Autom4te: this, to please case insensitive junkie OSes.
12074 2001-08-01  Akim Demaille  <akim@epita.fr>
12076         * autom4te.in ($m4): Handle the --nesting-limit.
12077         * autoconf.in (M4): Remove.
12079 2001-08-01  Akim Demaille  <akim@epita.fr>
12081         * autoconf.in ($AWK): Remove, no longer used.
12082         * test/tools.at: Use AT_CHECK_AUTOCONF.
12083         (AWK portability): Remove, for autoconf no longer uses AWK.
12084         (Syntax of the Perl scripts): New.
12085         * configure.ac: autoconf no longer needs an AWK with a good
12086         regexp engine.
12087         Use a static test on AC_PACKAGE_VERSION.
12088         * autom4te.in (&up_to_date_p): Output depends on the arguments.
12089         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
12090         * tests/atconfig.in (PERL): New.
12092 2001-08-01  Akim Demaille  <akim@epita.fr>
12094         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
12095         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
12096         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
12097         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
12098         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
12099         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
12100         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
12101         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
12102         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
12103         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
12104         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
12105         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
12106         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
12107         * lib/autoconf/c.m4: here, new file.
12109         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
12110         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
12111         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
12112         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
12113         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
12114         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
12115         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
12116         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
12117         (AC_F77_FUNC): Move to...
12118         * lib/autoconf/fortran.m4: here, new file.
12120 2001-08-01  Akim Demaille  <akim@epita.fr>
12122         * acfunctions.m4: Rename as...
12123         * lib/autoconf/functions.m4: this.
12124         * acgeneral.m4: Rename as...
12125         * lib/autoconf/general.m4: this.
12126         * acheaders.m4: Rename as...
12127         * lib/autoconf/headers.m4: this.
12128         * aclang.m4: Rename as...
12129         * lib/autoconf/lang.m4: this.
12130         * acoldnames.m4: Rename as...
12131         * lib/autoconf/oldnames.m4: this.
12132         * acspecific.m4: Rename as...
12133         * lib/autoconf/specific.m4: this.
12134         * actypes.m4: Rename as...
12135         * lib/autoconf/types.m4: this.
12136         * autoconf.m4: Rename as...
12137         * lib/autoconf/autoconf.m4: this.
12139         * m4sugar.m4: Rename as...
12140         * lib/m4sugar/m4sugar.m4: this.
12141         * m4sh.m4: Rename as...
12142         * lib/m4sugar/m4sh.m4: this.
12144         * tests/atgeneral.m4: Rename as...
12145         * lib/autotest/general.m4: this.
12147         * acfunctions: Rename as...
12148         * lib/autoscan/functions: this.
12149         * acheaders: Rename as...
12150         * lib/autoscan/headers: this.
12151         * acidentifiers: Rename as...
12152         * lib/autoscan/identifiers: this.
12153         * aclibraries: Rename as...
12154         * lib/autoscan/libraries: this.
12155         * acmakevars: Rename as...
12156         * lib/autoscan/makevars: this.
12157         * acprograms: Rename as...
12158         * lib/autoscan/programs: this.
12160 2001-08-01  Akim Demaille  <akim@epita.fr>
12162         * doc/autoconf.texi: Moving/deleting open files is not portable.
12163         Portability issues for `.' (source), and more information about sed.
12165 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
12167         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
12168         which has a special meaning and is not a reference to libibmil.a.
12169         Reported by Matteo Frigo.
12171 2001-07-25  Pavel Roskin  <proski@gnu.org>
12173         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
12174         output.
12176 2001-07-25  Akim Demaille  <akim@epita.fr>
12178         * autoconf.in: Try to define the variables before using them.
12179         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
12180         instead of `$perllibdir'.
12181         * tests/atconfig.in ($autom4te_perllibdir): Export it.
12183 2001-07-25  Akim Demaille  <akim@epita.fr>
12185         * autoconf.in (ac_LF_and_DOT): Remove, unused.
12187 2001-07-24  Akim Demaille  <akim@epita.fr>
12189         Let autoconf use autom4te for traces.
12191         * autoconf.in ($task, task trace): Remove, merely pass --trace to
12192         autom4te.
12193         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
12194         (Because I found no way for autom4te to accept `-').
12195         * autom4te.in (&Request::request): Beware of M4 builtins.
12196         (END): Don't try to remove the content of an empty dir.
12197         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
12198         (&handle_output): Set a default value to `$forbidden'.
12199         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
12200         ($autoconf): Pass --debug and --verbose.
12201         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
12202         cache.
12204 2001-07-24  Akim Demaille  <akim@epita.fr>
12206         Let autoconf use autom4te to create configure.
12208         * autoconf.in ($automate): New var.
12209         (task script): Use autom4te.
12210         * autom4te.in (File::Spec): Use it.
12211         (&find_file): New.
12212         (&parse_args): --warning is -W, not -w.
12213         Find the top level files.
12214         (&handle_m4): Pass the warnings flags.
12215         Don't report verbosely m4's failures, unless requested.
12216         (&handle_output): Don't complain for forbidden tokens in comments.
12217         Be sure to report all the forbidden tokens within a single line.
12218         (&trace_format_to_m4): Preserve `$_'.
12219         (&handle_traces): Sort the output macros.
12220         (&up_to_date_p): Find the files before trying to get its time stamp.
12222 2001-07-24  Akim Demaille  <akim@epita.fr>
12224         * Makefile.am: Ship, build and install Autom4te.
12225         (SUBDIRS): Add lib.
12226         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
12227         * configure.in: Require Perl.
12228         * man/autom4te.in: New.
12230 2001-07-19  Paul Eggert  <eggert@twinsun.com>
12232         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
12233         example, rather than (exit 1); exit (which isn't portable).
12235 2001-07-18  Akim Demaille  <akim@epita.fr>
12237         Version 2.52.
12239 2001-07-18  Akim Demaille  <akim@epita.fr>
12241         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
12242         was run, while they are needed also when it is expanded.
12243         Reported by Nicolas Joly.
12245         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
12246         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
12247         AC_F77_DUMMY_MAIN being expanded.
12249 2001-07-18  Akim Demaille  <akim@epita.fr>
12251         * configure.in: Bump to 2.51a.
12253 2001-07-17  Akim Demaille  <akim@epita.fr>
12255         Version 2.51.
12257 2001-07-17  Akim Demaille  <akim@epita.fr>
12259         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
12260         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
12262 2001-07-17  Akim Demaille  <akim@epita.fr>
12264         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
12265         used.  Well, then use the prototypes when you can, and runtime as
12266         a last resort.
12267         Reported by Artur Frysiak
12269         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
12270         (AC_FUNC_GETPGRP): Use it.
12271         First try to compile with 0-ary or 1-ary calls.
12273 2001-07-17  Akim Demaille  <akim@epita.fr>
12275         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
12276         replacement type.
12277         From Paul Eggert.
12279 2001-07-17  Akim Demaille  <akim@epita.fr>
12281         * Makefile.maint: Sync. with cppi 1.10.
12283 2001-07-17  Akim Demaille  <akim@epita.fr>
12285         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
12286         AC_F77_DUMMY_MAIN has been run.
12287         From Pavel Roskin and Steven G. Johnson.
12289 2001-07-17  Akim Demaille  <akim@epita.fr>
12291         * configure.in: Rename as...
12292         * configure.ac: this.
12294 2001-07-17  Akim Demaille  <akim@epita.fr>
12296         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
12297         rules.
12298         From Marc Espie.
12299         * Makefile.maint (release-archive-dir): Rename as...
12300         (release_archive_dir): this, so that it can be specialized in
12301         Makefile.
12303 2001-07-14  Akim Demaille  <akim@epita.fr>
12305         * configure.in: Bump to 2.50d.
12307 2001-07-14  Akim Demaille  <akim@epita.fr>
12309         Version 2.50c.
12310         * Makefile.maint (alpha): Typo.
12312 2001-07-14  Akim Demaille  <akim@epita.fr>
12314         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
12316 2001-07-14  Akim Demaille  <akim@epita.fr>
12318         * config/config.guess, config/config.sub, config/texinfo.tex
12319         * doc/standards.texi, doc/make-stds.texi: Update.
12321 2001-07-14  Akim Demaille  <akim@epita.fr>
12323         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
12325 2001-07-14  Akim Demaille  <akim@epita.fr>
12327         * Makefile.maint (maintainer-check): Rename as...
12328         (maintainer-distcheck): this.
12329         (changelog-check, static-check): New.
12330         Use them.
12332 2001-07-14  Kevin Ryde  <user42@zip.com.au>
12334         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
12335         for CXX is g++, not gcc.
12337 2001-07-14  Akim Demaille  <akim@epita.fr>
12339         * doc/autoconf.texi (Files): New subsection.
12341 2001-07-14  Akim Demaille  <akim@epita.fr>
12343         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
12344         of...
12345         (Generic Compiler Characteristics): this.
12346         (C++ Compiler): New subsection.
12348 2001-07-14  Akim Demaille  <akim@epita.fr>
12350         * autoscan.in: Use IO::File.
12351         Adjust all the routines to use it.
12352         ($log): New file (autoscan.log).
12353         (output): Dump detailed logs into $log, and a shortened version to
12354         stderr.
12355         (&scan_makefile): Refine the regexp catching tokens in the code.
12356         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
12357         and the `configure.ac' checking feature.
12359 2001-07-12  Akim Demaille  <akim@epita.fr>
12361         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
12362         Reported by Michael Elizabeth Chastain.
12364         * autoconf.in: Refuse such AWK.
12365         * configure.in: Likewise.
12366         * Makefile.am (acversion.m4): Do not use move-if-change this file
12367         has dependencies.
12368         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
12370 2001-07-10  Jens Petersen  <petersen@redhat.com>
12372         * autoscan.in (&scan_makefile): Improve programs regexp to parse
12373         things like "g++", "file.c" and "some-conf" as tokens.
12374         (&scan_file): Match C++ files extensions.
12375         If the filename extension is C++ then ask for c++.
12377 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
12379         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
12380         AC_TRY_LINK_FUNC, to check whether defining a dummy
12381         main-like routine is needed for linking with F77 libs.
12383 2001-07-05  Pavel Roskin  <proski@gnu.org>
12385         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
12386         after using break.
12387         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
12388         linking.
12390 2001-07-05  Akim Demaille  <akim@epita.fr>
12392         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
12393         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
12394         Makes' lives.
12395         Reported by Nicolas Joly.
12397 2001-07-04  Akim Demaille  <akim@epita.fr>
12399         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
12400         up.
12401         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
12402         warnings from compilers.
12403         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
12404         for all the compilers, not only GNU.  Hence move from here...
12405         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
12407 2001-07-04  Akim Demaille  <akim@epita.fr>
12409         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
12410         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
12411         AC_COMPILE_IFELSE.
12413 2001-07-04  Akim Demaille  <akim@epita.fr>
12415         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
12416         the ``strings.h'' change claimed below.
12418 2001-07-04  Akim Demaille  <akim@epita.fr>
12420         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
12422 2001-07-04  Akim Demaille  <akim@epita.fr>
12424         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12425         strings.h if usable with string.h.
12426         Suggested by Paul Eggert.
12428 2001-07-04  Akim Demaille  <akim@epita.fr>
12430         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
12431         From Jens Petersen.
12433 2001-07-03  Akim Demaille  <akim@epita.fr>
12435         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
12436         etc. in the log.
12438 2001-07-03  Akim Demaille  <akim@epita.fr>
12440         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
12441         compiler, not the preprocessor.
12442         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
12443         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
12444         the right thing.
12445         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
12446         earlier if there are.
12448 2001-07-03  Akim Demaille  <akim@epita.fr>
12450         * autoscan.in ($initfile): Remove.
12451         (&find_file): Rename as...
12452         (&scan_file): this.
12453         Immediately scan the current file, instead of gathering them, and
12454         later having them handled by &scan_files.
12455         (&scan_files): Merely invoke Find::File.
12456         Adjust.
12458 2001-07-02  Akim Demaille  <akim@epita.fr>
12460         * autoscan.in: Formatting changes, matching the invocation order.
12461         (File::Find): Use it instead of Perl 4's `find.pl'.
12462         (&wanted): Rename as...
12463         (&find_file): this.
12465 2001-07-01  Pavel Roskin  <proski@gnu.org>
12467         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
12468         break in the argument to AC_TRY_LINK_FUNC.
12469         (AC_F77_MAIN): Remove conftest* after using break in the
12470         argument to AC_TRY_LINK.
12472 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
12474         Add alternate 'main' routine detection for linking C/C++ with Fortran,
12475         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
12477         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
12478         dummy alternate main is required even if the user provides her own
12479         'main'.
12480         (AC_F77_MAIN): New macro to detect whether it is possible to
12481         provide an alternate 'main' function name, using the 'main' from
12482         the Fortran libraries.
12483         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
12484         cross-language link tests can be performed successfully.
12485         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
12486         after $LIBS, for consistency; this should be the general rule since
12487         the user may want to link to Fortran libraries that require $FLIBS.
12488         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
12490 2001-06-29  Pavel Roskin  <proski@gnu.org>
12492         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
12493         at-stdout and at-stderr instead of removing the newline
12494         from the echo output, which is not guaranteed to work.
12496 2001-06-28  Jens Petersen  <petersen@redhat.com>
12498         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
12499         confdefs.h when non-zero.
12501 2001-06-28  Akim Demaille  <akim@epita.fr>
12503         * configure.in: Bump to 2.50c.
12505 2001-06-26  Akim Demaille  <akim@epita.fr>
12507         Version 2.50b.
12509 2001-06-26  Akim Demaille  <akim@epita.fr>
12511         Version 2.50a.
12513 2001-06-25  Pavel Roskin  <proski@gnu.org>
12515         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
12516         argument, AUTOCONF-FLAGS.
12517         * tests/mktests.sh (update_exclude_list): Add
12518         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
12519         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
12520         AC_FUNC_WAIT3 with "-W no-obsolete".
12522 2001-06-25  Akim Demaille  <akim@epita.fr>
12524         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
12526 2001-06-25  Akim Demaille  <akim@epita.fr>
12528         * autoscan.in (%macro): Now maps from word to list of macros.
12529         (&init_tables): Die when a word which is already handled by
12530         explicit macros is mapped to the default macro.
12531         (&print_unique): Remove, inlined in...
12532         (&output_kind): here.
12533         (File::Basename): Use it.
12534         (&output): Sort the CONFIG_FILES.
12535         * acheaders: Normalize.
12536         * acfunctions: Likewise.
12538 2001-06-25  Akim Demaille  <akim@epita.fr>
12540         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
12541         characteristics in the logs.
12542         Suggested by Mo DeJong.
12544 2001-06-24  Akim Demaille  <akim@epita.fr>
12546         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
12547         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
12548         * doc/autoconf.texi (Autoconf 2.13): New section.
12550 2001-06-24  Akim Demaille  <akim@epita.fr>
12552         * autoconf.in (Task traces): Separate the error messages from the
12553         traces to improve robustness.
12555 2001-06-23  Akim Demaille  <akim@epita.fr>
12557         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
12558         three as failures are unlikely, and speed matters.
12560 2001-06-23  Akim Demaille  <akim@epita.fr>
12562         * doc/autoconf.texi (Redefined M4 Macros): New.
12564 2001-06-23  Akim Demaille  <akim@epita.fr>
12566         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
12567         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
12568         5.3.
12570 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
12572         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
12573         config.status targets to after the evaluation of the INIT-CMDS.
12574         Double quote config.status targets (used to be single quoted).
12576 2001-06-23  Akim Demaille  <akim@epita.fr>
12578         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
12579         Check the content of the created file.
12580         Check the ./config.status command line invocation.
12582 2001-06-23  Akim Demaille  <akim@epita.fr>
12584         * tests/foreign.at (Libtool): Reject prehistoric versions.
12586 2001-06-23  Akim Demaille  <akim@epita.fr>
12588         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
12589         preexisting files matching a.*.
12591 2001-06-23  Akim Demaille  <akim@epita.fr>
12593         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
12594         stderr.
12595         * doc/autoconf.texi (AC_ARG_VAR): Update.
12597 2001-06-21  Akim Demaille  <akim@epita.fr>
12599         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
12600         precious variables have changed.
12601         * tests/torture.at (AC_ARG_VAR): Adjust.
12603 2001-06-21  Akim Demaille  <akim@epita.fr>
12605         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
12606         but some sed choke on multiple `;', and other tools (e.g.,
12607         Automake), include the separator themselves.
12609         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
12611 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
12613         * doc/autoconf.texi (Functions Portability): Rename as...
12614         (Function Portability): this.
12615         (Function Portability): Document potential problems with unlink().
12617 2001-06-19  Paul Eggert  <eggert@twinsun.com>
12619         * NEWS, doc/autoconf.texi: Document quadrigraphs.
12621 2001-06-18  Akim Demaille  <akim@epita.fr>
12623         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
12625 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
12627         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
12628         (_AC_FUNC_VFORK): this.
12629         Remove AC_DEFINEs and don't guess cross-compilation values.
12630         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
12631         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
12632         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
12633         vfork doesn't work.
12634         Guess values if cross-compiling, but warn.
12635         * acfunctions: Add AC_FUNC_FORK.
12636         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
12637         and vfork appropriately.
12639 2001-06-18  Akim Demaille  <akim@epita.fr>
12641         * doc/autoconf.texi (Functions Portability): New section.
12643 2001-06-18  Akim Demaille  <akim@epita.fr>
12645         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
12646         in $M4.
12647         Suggested by Andreas Schwab.
12649 2001-06-18  Akim Demaille  <akim@epita.fr>
12651         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
12652         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
12653         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
12654         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
12655         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
12656         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
12657         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
12658         the converse).
12660 2001-06-18  Akim Demaille  <akim@epita.fr>
12662         * doc/autoconf.texi (ms): New index.
12663         (Macro Index): Rename as...
12664         (Autoconf Macro Index): this.
12665         (M4 Macro Index): New appendix.
12666         (Programming in M4): New chapter.
12667         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
12668         (Quoting): Rename as...
12669         (M$ Quotation): this.
12670         Be part of `Programming in M4).
12672 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
12674         * tests/torture.at (AC_ARG_VAR): Set variables and export them
12675         in separate statements for compatibility with Tru64 v5.1.
12677 2001-06-17  Akim Demaille  <akim@epita.fr>
12679         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
12680         current values of the precious variables, not the previously
12681         cached values.
12682         Pass precious variables which are set to config.status.
12683         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
12684         * tests/torture.at (AC_ARG_VAR): New.
12686 2001-06-15  Paul Eggert  <eggert@twinsun.com>
12688         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
12689         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
12690         and explain why and how to replace them.
12691         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
12692         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
12694 2001-06-15  Akim Demaille  <akim@epita.fr>
12696         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
12697         Reported by Bruno Haible.
12699         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
12700          (_AC_ARG_VAR_PRECIOUS): to here.
12702 2001-06-15  Pavel Roskin  <proski@gnu.org>
12704         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
12705         an unused pointer use cast to this type and `if' statement to
12706         avoid warnings from the compiler.
12707         (AC_HEADER_TIME): Likewise.
12708         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
12709         in `if' statement to avoid warnings from the compiler. Declare
12710         ac_aggr static to avoid the need to initialize it.
12712 2001-06-14  Akim Demaille  <akim@epita.fr>
12714         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
12715         Macros'.
12717 2001-06-13  Akim Demaille  <akim@epita.fr>
12719         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
12720         Suggested by Alexander Mai.
12722 2001-06-13  Akim Demaille  <akim@epita.fr>
12724         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
12725         sys/types.h and sys/stat.h, and check for them.
12727 2001-06-13  Akim Demaille  <akim@epita.fr>
12729         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
12730         INCLUDES.
12732 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
12734         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
12735         succeeds and only try adding libdnet upon a failure.
12737 2001-06-12  Akim Demaille  <akim@epita.fr>
12739         * autoscan.in (&output_kind): Output the comment only if it exists.
12740         (%kind_comment): Add entry for `programs'.
12741         (&output_programs): Use &output_kind.
12742         (&output_functions, &output_identifiers, &output_headers)
12743         (&output_programs): Inline, and remove.
12745 2001-06-12  Akim Demaille  <akim@epita.fr>
12747         * autoscan.in (%kind_comment): New.
12748         (output_kind): New.
12749         (output_functions, output_identifiers, output_headers): Use it.
12751 2001-06-12  Akim Demaille  <akim@epita.fr>
12753         * autoscan.in (&print_unique): Take `$kind' and `$word' as
12754         arguments, to factor indirections into `%macro' and `%used'.
12755         (%generic_macro): Fix a typo.
12757 2001-06-12  Akim Demaille  <akim@epita.fr>
12759         * aclibraries: New.
12760         * autoscan.in (@kinds): Add `libraries'.
12761         Use `@kinds' instead of hard coded lists.
12762         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
12763         Remove, replaced by...
12764         (%used): this.
12766 2001-06-12  Akim Demaille  <akim@epita.fr>
12768         * autoscan.in (%functions_macros %headers_macros)
12769         (%identifiers_macros %programs_macros %makevars_macros): Remove,
12770         replaced by...
12771         (%macro): New.
12773 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
12775         * aclang.m4 (AC_NO_EXECUTABLES): Override
12776         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
12778 2001-06-11  Akim Demaille  <akim@epita.fr>
12780         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
12781         trailing new line.
12782         Reported by Andreas Schwab.
12784 2001-06-11  Akim Demaille  <akim@epita.fr>
12786         * Makefile.am, Makefile.maint: Typos.
12788 2001-06-09  Akim Demaille  <akim@epita.fr>
12790         * doc/autoconf.texi (Here-Documents): New section, gathering
12791         documentation about here-documents.
12792         Use `href', not `uref', and other changes.
12794 2001-06-09  Akim Demaille  <akim@epita.fr>
12796         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
12797         chapter.
12799 2001-06-09  Akim Demaille  <akim@epita.fr>
12801         * doc/autoconf.texi (Limitations of Builtins): Complete the
12802         description of the here-docs penalties with Alexandre Oliva's
12803         explanations.
12805 2001-06-01  Paul Eggert  <eggert@twinsun.com>
12807         * doc/autoconf.texi: Talk about here documents and speedups.
12808         Do not use "echo" on arbitrary strings.
12809         Spell "here-documents" consistently with the standard.
12811 2001-06-09  Akim Demaille  <akim@epita.fr>
12813         * doc/autoconf.texi (Concept Index): Introduce it.
12814         Regenerate the menus.
12816 2001-06-09  Akim Demaille  <akim@epita.fr>
12818         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
12819         * config/prev-version.txt: New.
12820         * config/move-if-change: New, for GNU libc.
12822 2001-06-06  Pavel Roskin  <proski@gnu.org>
12824         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
12826 2001-06-06  Akim Demaille  <akim@epita.fr>
12828         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
12829         properly when $1 is not a literal.
12830         Fixes PR Autoconf/187, reported by Bram Moolenaar.
12832 2001-06-06  Akim Demaille  <akim@epita.fr>
12834         Invoking AC_COPYRIGHT before AC_INIT fails.
12836         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
12837         * acgeneral.m4 (_m4_divert(VERSION_FSF))
12838         (_m4_divert(VERSION_USER)): New.
12839         (AC_COPYRIGHT): $2 is the diversion to use.
12840         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
12841         (AC_INIT): Remove dead comments as now it's commutative.
12843 2001-06-06  Akim Demaille  <akim@epita.fr>
12845         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
12846         PR autoconf/187.
12848 2001-06-05  Akim Demaille  <akim@epita.fr>
12850         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
12851         can be empty.
12852         `*dir' variables cannot be NONE.
12853         Reported by Mark Kettenis.
12855 2001-06-05  Paul Eggert  <eggert@twinsun.com>
12857         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
12859 2001-06-04  Akim Demaille  <akim@epita.fr>
12861         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
12862         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
12863         (AC_TR_SH): Move as...
12864         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
12865         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
12866         (AS_TR_SH): these.
12867         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
12868         (_AS_TR_SH_PREPARE): New.
12869         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
12870         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
12872 2001-06-02  Akim Demaille  <akim@epita.fr>
12874         * Makefile.am (.m4.m4f): Pass the options first.
12875         Fixes PR autoconf/182.
12877 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
12879         GNU getopt, when POSIXLY_CORRECT does not permute options and
12880         arguments.  So pass the options first.
12881         Fixes PR autoconf/184.
12883         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
12884         (run_m4): Remove files.
12885         (run_m4f): Remove.
12886         Update remainder of script to use them.
12887         (for warning in): Do not use a literal comma as it will not be
12888         split by IFS.
12890 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
12892         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
12893         Fortran compilers to check.
12894         (_AC_PROG_F77_V): Add '-###' as a possible option to print
12895         information on library and object files.
12896         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
12897         to check.
12899 2001-06-02  Akim Demaille  <akim@epita.fr>
12901         * autom4te.in (Request::@request): Declare with `vars', not `my',
12902         as it prevents updates via `do FILENAME'.
12904 2001-06-02  Akim Demaille  <akim@epita.fr>
12906         * configure.in (standards_texi): Remove, dead code.
12908 2001-06-02  Akim Demaille  <akim@epita.fr>
12910         * autom4te.in: New.
12912 2001-06-02  Pavel Roskin  <proski@gnu.org>
12914         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
12915         for signals other than 0 - exit with code 1.
12916         * m4sh.m4 (AS_TMPDIR): Likewise.
12917         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
12918         * autoheader.in: Likewise.
12919         * autoreconf.in: Likewise.
12920         * tests/torture.at (Signal handling): New test for the above.
12922 2001-06-01  Akim Demaille  <akim@epita.fr>
12924         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
12925         message.
12927 2001-05-31  Akim Demaille  <akim@epita.fr>
12929         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
12930         Add copyright and comments.
12931         * acheaders: Add stdint.h.
12932         Suggested by Paul Eggert.
12934 2001-05-31  Akim Demaille  <akim@epita.fr>
12936         * atgeneral.m4 (AT_INIT): Use $SHELL.
12937         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
12939 2001-05-31  Akim Demaille  <akim@epita.fr>
12941         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12942         stdint.h.
12943         From Paul Eggert and Lars Hecking.
12945 2001-05-31  Akim Demaille  <akim@epita.fr>
12947         * tests/base.at: Adjust line numbers in error messages.
12949 2001-05-31  Akim Demaille  <akim@epita.fr>
12951         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
12952         to emit the bangshe line.
12953         Reported by David Carter.
12955 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
12957         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
12958         Fortran (95) compilers to check.
12960 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
12962         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
12963         Macro Archive URL.
12965 2001-05-23  Pavel Roskin  <proski@gnu.org>
12967         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
12968         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
12969         (AC_PROG_CXXCPP): Likewise.
12971 2001-05-22  Akim Demaille  <akim@epita.fr>
12973         * config: New directory.
12974         * configure.in: AC_CONFIG_AUX_DIR it.
12975         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
12977 2001-05-22  Akim Demaille  <akim@epita.fr>
12979         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
12980         * autoupdate.in: Specify the Emacs mode.
12981         * acversion.m4.in: Rename as...
12982         * acversion.m4: this.
12983         * tests/Makefile.am (CLEANFILES): More garbage.
12985 2001-05-22  Akim Demaille  <akim@epita.fr>
12987         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
12988         Rename as...
12989         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
12990         these.
12992 2001-05-21  Akim Demaille  <akim@epita.fr>
12994         * configure.in: Bump to 2.50a.
12997         -----
12999         Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
13000         Foundation, Inc.
13002         This file is part of GNU Autoconf.
13004         GNU Autoconf is free software; you can redistribute it and/or modify
13005         it under the terms of the GNU General Public License as published by
13006         the Free Software Foundation; either version 2, or (at your option)
13007         any later version.
13009         GNU Autoconf is distributed in the hope that it will be useful,
13010         but WITHOUT ANY WARRANTY; without even the implied warranty of
13011         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13012         GNU General Public License for more details.
13014         You should have received a copy of the GNU General Public License
13015         along with autoconf; see the file COPYING.  If not, write to
13016         the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
13017         Boston, MA 02110-1301, USA.