* doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
[autoconf.git] / ChangeLog
blobafe6e5c6ecc624b229966acb63c604e3dcfebe9f
1 2006-12-12  Paul Eggert  <eggert@cs.ucla.edu>
3         * doc/autoconf.texi: Undo some of the 2006-12-10 change.  It was
4         too drastic, even if Texinfo in theory requires it for info mode.
6         (config.status Invocation): Renamed back from Recreating a
7         Configuration).
8         (Obsolete config.status Use): Renamed back from Obsolete Recreation.
9         (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
11 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
13         * NEWS: Version 2.61a.
15 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
16         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
18         * NEWS: Document changes with echo and printf, and the lack
19         of limits on the total size of multi-line values of substituted
20         variables, and the AC_FUNC_FSEEKO fix.
22 2006-12-10  Paul Eggert  <eggert@cs.ucla.edu>
24         * doc/autoconf.texi (Writing Autoconf Input): Renamed from
25         Writing configure.ac.
26         (Autoconf Input Layout): Renamed from configure.ac Layout.
27         (Recreating a Configuration): Renamed from config.status Invocation.
28         (Obsolete Recreation): Renamed from Obsolete config.status Use.
29         (acconfig Header): Renamed from acconfig.h.
30         (20th-century Autoconf 2): Renamed from Autoconf 2.13.
31         (Writing Testsuites): Renamed from Writing testsuite.at.
32         (Autom4te Cache): Renamed from autom4te.cache.
34         * BUGS: Remove mention of VPATH problem, since it's now documented
35         not to be a bug in the Autoconf build procedure itself, but rather
36         a problem with the proprietary `make' programs.
38         * doc/autoconf.texi (Build Directories): Add a cross reference
39         to VPATH and Make.
41         * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
42         * doc/standards.texi: Sync from gnulib.
44         * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
45         * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
46         * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
47         generated automatically.
49 2006-12-06  Paul Eggert  <eggert@cs.ucla.edu>
51         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
52         C 5.8 on Solaris 10.  Using -xc99=all rather than -xc99 bypasses
53         the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
55 2006-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
57         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
58         `CEOF$ac_eof' special marker, the awk script cannot contain a
59         line matching `^CEOF', so this is not needed any more.
60         * tests/torture.at (Substitute a newline): Expose the `%!_!# '
61         special marker in the test.
63 2006-12-06  Stepan Kasal  <kasal@ucw.cz>
65         * tests/tools.at (autom4te preselections): Use `find -newer';
66         remove one of the sleeps.
68         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
69         more readable, using ...
70         (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
72         * doc/autoconf.texi (autoheader Invocation): Do not double-
73         quote the parameter of `AH_BOTTOM' in the example.
75 2006-12-05  Stepan Kasal  <kasal@ucw.cz>
77         * doc/autoconf.texi (Configuration Headers): Remove the
78         example with multiple input files.
79         (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
80         multiple input files.
82 2006-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
84         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
85         creating the awk substitution script, handle one input line at a
86         time, so that the maximum length of a substituted (multi-line)
87         value is not limited by the size of the sed pattern space.
88         The trade-off is a slightly repetitive sed script.
89         * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
90         can only have up to 7 characters, due to Solaris 10 /bin/sed.
91         * tests/torture.at (Substitute a 2000-byte string): Increase the
92         test with several long lines, they should not be caught by sed
93         limits any more.
95         * tests/tools.at (autom4te preselections): New test, to flag
96         entries missing from autom4te.cfg.
97         Report by David Byron <dbyron@hheld.com>.
99         * tests/torture.at (Substitute a 2000-byte string): Actually use
100         AC_PROG_AWK, so the last change works as intended.
101         (Substitute and define special characters): Likewise.
102         (Substitute a newline): Likewise.
104         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
105         instead of `awk' consistently.
106         (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
107         * tests/torture.at (Torturing config.status): Test both the
108         result of AC_PROG_AWK and plain awk.
109         (Substitute a 2000-byte string): Likewise.
110         (Substitute and define special characters): Likewise.
111         (Substitute a newline): Likewise.
113 2006-12-04  Paul Eggert  <eggert@cs.ucla.edu>
115         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
116         can be assigned to a function pointer.  Problem reported by
117         Peter Palfrader in <http://bugs.debian.org/401377>.  Based on
118         part of a patch by Ralf Wildenhues in that same bug report.
120 2006-12-01  Paul Eggert  <eggert@cs.ucla.edu>
122         * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
123         * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
125 2006-12-01  Eric Blake  <ebb9@byu.net>
127         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
128         cross-compiling from cygwin to mingw.
129         Reported by Bob Rossi.  This resurrects the 2000-11-30 patch to
130         aclang.m4, which was mistakenly removed in the 2001-09-17 patch
131         to lib/autoconf/c.m4.
133 2006-12-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
135         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
136         string for more reliable failure.  Wrap the entire test that
137         causes the broken Solaris printf to dump core, in a subshell,
138         so the segmentation fault message is reliably suppressed.
139         Fix shell expansion errors by using /usr/ucb/echo always;
140         avoid an error on systems without it by another subshell.
141         Avoid m4 expansion of `$1'.  Set the zeroth argument of the
142         subshell-$as_echo to `as_echo', for better error message.
144 2006-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
146         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
147         `BASH_SOURCE' contain a newline, set them to empty, as they may
148         not be unset.
150 2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
152         Turn AC_FUNC_SETVBUF_REVERSED into a noop.  It's been obsolete for
153         years and is too hard to maintain now.  The last straw was
154         reported by Jerker Baeck in
155         <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
156         * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
157         * doc/autoconf.texi (Particular Functions): Move
158         AC_FUNC_SETVBUF_REVERSED from here...
159         (Obsolete Macros): ... to here.  Say that it does nothing now.
160         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
161         Turn into (almost) a no-op.
163         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
164         (AC_C_VOLATILE):
165         Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
166         These macros are obsolescent and new applications shouldn't need them.
167         * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
168         (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
169         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
170         (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
171         (AC_FUNC_VPRINTF): Likewise.
172         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
173         (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
174         * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
176         * doc/autoconf.texi (Setting Output Variables): Mention that
177         @VAR1@VAR2 has unspecified behavior.  Problem reported by
178         Ralf Wildenhues.
179         * NEWS: Mention this.
181         * Makefile.am: Put only a single '#' into the copyright notice,
182         so that it's also present in the output file.  Standardize wording
183         in makefile copyright notices to match GNU coding standards.
184         * bin/Makefile.am: Likewise.
185         * doc/Makefile.am: Likewise.
186         * lib/Makefile.am: Likewise.
187         * lib/freeze.mk: Likewise.
188         * lib/autoconf/Makefile.am: Likewise.
189         * lib/autoscan/Makefile.am: Likewise.
190         * lib/autotest/Makefile.am: Likewise.
191         * lib/m4sugar/Makefile.am: Likewise.
192         * man/Makefile.am: Likewise.
193         * tests/Makefile.am: Likewise.
194         * lib/emacs/Makefile.am: Remove copyright notice; it's just a
195         one-line file.
197 2006-11-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
199         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
200         in the sed script that mangles the awk script: delete up to the
201         first exclamation mark only.
202         * tests/torture.at (Substitute and define special characters):
203         Test '!' too.
205 2006-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
207         Rewrite config files generation: avoid quadratic growth in
208         the number of substituted variables by using awk instead of sed
209         for the bulk of the substitutions.
210         * NEWS: Mention this.
211         * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
212         forbidden in the output (and thus input) file.
213         * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
214         (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
215         generate just one large awk script for substitutions,
216         eliminating much of the earlier complexity, while adding some
217         new complexity.  Only expand the substitution templates at
218         configure time, for smaller configure script size.  If
219         _AC_SUBST_FILES are used, test 'awk' for working getline support
220         at config.status time.  If absent, interpolate through the
221         shell.  The awk script was written with much help
222         from Paolo Bonzini and Paul Eggert.
223         (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
224         (_AC_SED_FRAG_NUM): Likewise.
225         (_AC_SUBST_CMDS): Renamed from...
226         (_AC_SED_CMDS): ...this.
227         (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
228         * tests/torture.at (Substitute a 2000-byte string): Also
229         substitute a line with 1000 words, and a variable with several
230         long lines.
231         (Substitute and define special characters): Test awk special
232         characters, and put substitution input strings `@foo@' in the
233         output, to test that no recursion happens; test several other
234         combinations from Paolo Bonzini.
236 2006-11-25  Paul Eggert  <eggert@cs.ucla.edu>
238         * lib/autotest/general.m4 (AT_INIT): Undo recent changes
239         that replaced echo with AS_ECHO where this wasn't necessary.
240         Problem reportd by Ralf Wildenhues.
241         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
242         where "/usr/bin/printf '%s\n' S" dumps core if S is long.
243         This is Sun bug 4206210.  Problem reportd by Ralf Wildenhues.
245 2006-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
247         * lib/freeze.mk (GREP): Removed, no need to initialize this.
249 2006-11-21  Paul Eggert  <eggert@cs.ucla.edu>
251         * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
252         that traditional Awk lacks 3-arg "split".  It has it.
253         Mention that FS must be a single character, and a few other
254         99-byte limits of traditional Awk.
255         Mention that if (i in a) doesn't work with traditional Awk.
257 2006-11-18  Paul Eggert  <eggert@cs.ucla.edu>
259         * tests/autotest.at (BSx641-newline in command):
260         (BS-BS-newline in command, BSx640-newline in command):
261         (Newline-CODE-BS-newline in command):
262         (Single-quote-BS-newline in command):
263         (Single-quote-newline-BS-newline in command):
264         Use printf '%s\n' instead of echo, for portability to hosts
265         where echo interprets backslashes.  This will break on hosts
266         that lack printf, but for now let's assume all such hosts
267         are dead (if not, we should get reports of test failures).
269 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
271         'echo' has some portability problems, when given a first argument
272         with a leading '-', or when given any argument containing '\'.
273         Avoid using 'echo' in these cases.
274         * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
275         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
276         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
277         * lib/autotest/general.m4 (AT_INIT): Likewise.
278         * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
279         argument might be unportable.
280         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
281         * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
282         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
283         (_AC_FC_LIBRARY_LDFLAGS): Likewise.
284         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
285         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
286         (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
287         (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
288         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
289         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
290         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
291         (AC_PROG_MAKE_SET): Likewise.
292         * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
293         (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
294         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
295         (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
296         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
297         (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
298         (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
299         * bin/autoconf.as: Redo verbose flag implementation, as the old
300         scheme wouldn't work with AS_ECHO.
301         * lib/autotest/general.m4 (AT_INIT): Likewise.
302         * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
303         Don't use ECHO_T, since ECHO_N is now reliable.
304         * lib/autotest/general.m4 (AT_INIT): Likewise.
305         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
306         rather than using a here-document to put the script into a file.
307         (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
308         use AS_ECHO.
309         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
310         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
311         AS_ECHO_N rather than ECHO_N and ECHO_C.  This doesn't fix any
312         bug, but we might as well stop using ECHO_N and ECHO_C internally.
313         * lib/autotest/general.m4 (AT_SETUP): Likewise.
314         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
315         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
316         (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
317         operand, as AS_ECHO requires.  Avoid double file name expansion.
318         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
319         Don't set as_nl, since _AS_ECHO_PREPARE does that now.
320         (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
321         (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
322         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
323         Double-quote strings that would otherwise contain M4 comments.
324         * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
326         * configure.ac (AC_INIT): Bump to 2.61a.
327         * NEWS: Likewise.
329 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
331         Version 2.61.
333         * configure.ac (AC_INIT): Bump to 2.61.
334         * NEWS: Likewise.
336         * tests/autotest.at (Macro with backslash in a test title):
337         Comment out for now, as this tests neither fails nor passes
338         reliably.  Problem reported by Ralf Wildenhues.
340 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
342         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
343         in previous change, which caused test failures.
345 2006-11-16  Stepan Kasal  <kasal@ucw.cz>
347         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
348         code for --enable, --disable, --with, and --without to...
349         (_AC_INIT_PARSE_ENABLE): ... a new macro.
350         * doc/autoconf.texi (Package Options):
351         * NEWS: Document that AC_ARG_ENABLE allows dots, too.
353 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
355         Import these changes from config via gnulib:
357         2006-11-15  Ben Elliston  <bje@gnu.org>
359         From Josselin Mouette <joss@debian.org>:
360         * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
362         2006-11-08  Ben Elliston  <bje@gnu.org>
364         * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
366         2006-11-07  Steve Woodford  <scw@NetBSD.org>
367                     Ben Elliston  <bje@gnu.org>
369         * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
370         * build-aux/config.sub (sh5el): New basic_machine.
373         Import this change from coreutils:
375         2006-02-13  Jim Meyering  <jim@meyering.net>
377         * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
380         Import this change from gnustandards via gnulib:
382         2006-11-15  Karl Berry  <karl@gnu.org>
384         * standards.texi: core -> memory, throughout.
385         (CPU Portability): show correct example of calling write
386         on a char value; thanks to Paul Eggert for the code.
387         Both of these suggestions from Eugene Y. Vasserman.
390         Import these changes from texinfo via gnulib:
392         2006-11-08  Karl Berry  <karl@gnu.org>
394         * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
395           as well as pdf images, since they are supported in pdftex with
396           no further ado.
398         2006-11-05  Karl Berry  <karl@gnu.org>
400         * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
402 2006-11-13  Paul Eggert  <eggert@cs.ucla.edu>
404         * NEWS: Document the AC_ARG_WITH change.
406 2006-11-13  Bruno Haible  <bruno@clisp.org>
408         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
409         options, transliterate also dots to underscores.
410         (_AC_ENABLE_IF): Transliterate also dots to underscores.
411         * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
412         first argument may also contain dots.
414 2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
416         * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
417         benefit of platforms like Solaris+GCC where it is common to have a
418         non-working g++ installation.
420 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
421         and Joel E. Denny  <jdenny@ces.clemson.edu>
422         and Paul Eggert  <eggert@cs.ucla.edu>
424         * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
425         and non-portable sed scripts, and use $CONFIG_SHELL when invoking
426         ./micro-suite.
428 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
430         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
431         ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
432         Imported from a similar patch to gnulib by Bruno Haible.
434 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
436         * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
437         * doc/autoconf.texi (C Compiler): Document them.
438         * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
439         New macros, taken from gnulib.
441 2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
443         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
444         Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
445         Matthew Woehlke.
447 2006-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
449         * tests/torture.at (Configuring subdirectories): Do not skip
450         Automake 1.10 nor future Automake 11.1 (sic).
452 2006-10-26  Joel E. Denny  <jdenny@ces.clemson.edu>
453         and Stepan Kasal  <kasal@ucw.cz>
455         Handle special characters in test case titles correctly.
456         * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
457         properly.
458         (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
459         * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
460         argument.  Extend to check titles printed by ./micro-suite and
461         ./micro-suite -l and the title in micro-suite.log.
462         (Backquote in a test title,
463         Single-quote in a test title,
464         Double-quote in a test title): Don't expect failure anymore.
465         (Backslash in a test title): Put a non-whitespace character after the
466         backslash so that Bourne shells might actually see it as an escape
467         sequence.
468         (Brackets in a test title,
469         Pound in a test title,
470         Comma in a test title,
471         Quoted Macro in a test title,
472         Macro in a test title,
473         Macro with single-quote in a test title): New tests.
474         (Macro with backquote in a test title,
475         Macro with double-quote in a test title,
476         Macro with backslash in a test title): New tests expected to fail.
477         * tests/torture.at (#define header templates): M4-quote this title in
478         AT_SETUP call so that no M4 code is commented inadvertently somewhere.
479         The visible effect was a stray [] in the testsuite output.
481 2006-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
483         * doc/autoconf.texi (Limitations of Builtins): Do not invoke
484         `trap ... 0' inside a function, for AIX sh.
486 2006-10-26  Paul Eggert  <eggert@cs.ucla.edu>
488         * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
489         since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
490         5363) simply issues a warning when dividing by zero at compile
491         time.  Problem reported by Elias Pipping.
493 2006-10-26  Eric Blake  <ebb9@byu.net>
495         * THANKS: Update.
496         * doc/autoconf.texi (Evaluation Macros): Improve the example to
497         show effect on macros that expand with commas.
498         Reported by Joel E. Denny.
500         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
501         Also work with M4 1.4.8.
503 2006-10-25  Paul Eggert  <eggert@cs.ucla.edu>
505         * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
506         Jim Meyering.
508 2006-10-25  Stepan Kasal  <kasal@ucw.cz>
510         * tests/tools.at (autom4te --force): New test, verifies that
511         `--force' always rewrites the output file.
513 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
515         * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
516         needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.
518 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
520         * tools/trace.at (autoconf --trace: user macros): Test `$%'.
522 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
524         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
525         If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
526         AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
527         reported by Nelson H. F. Beebe for Coreutils 6.4.
529         * tests/tools.at (autoconf --trace: user macros): Remove test
530         for tracing multiline macros, since m4 1.4.7a uses a different
531         way to number lines.  Problem reported by Ralf Wildenhues.
533 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
535         * bin/autom4te.in (handle_m4): Do not redirect stdin to
536         /dev/null since the heuristics for interactive behaviour was
537         fixed in CVS m4.
539         * bin/autom4te.in: With --force, always refresh the output
540         file.  Problem reported by Greg Schafer <gschafer@zip.com.au>.
542         * bin/autoconf.as: Fix the verbose message at the end.
544 2006-10-23  Paul Eggert  <eggert@cs.ucla.edu>
546         * configure.ac (AC_INIT): Bump to 2.60c.
547         * NEWS: Likewise.
549 2006-10-22  Paul Eggert  <eggert@cs.ucla.edu>
551         * NEWS: Version 2.60b.
553         Import this change from Texinfo:
554         2006-10-15  Karl Berry  <karl@gnu.org>
555         * build-aux/texinfo.tex: automake 1.10
557         * NEWS: Remove AC_CACHE_CHECK_INT.
558         * doc/autoconf.texi (Caching Results): Likewise.
559         * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
560         AC_CACHE_CHECK_INT, since it's no longer public.
561         * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
562         * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
564 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
566         * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
568 2006-10-19  Eric Blake  <ebb9@byu.net>
570         * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
571         (m4_maketemp): Avoid warnings with M4 1.9a.
572         * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
573         m4_mkstemp.
574         * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
575         * NEWS: Likewise.
577 2006-10-16  Eric Blake  <ebb9@byu.net>
579         * doc/autoconf.texi (Setting Output Variables): Fix typo.
581         * bin/autoconf.as (version): Reword to match GNU Coding
582         Standards.
583         * bin/autoheader.in (version): Likewise.
584         * bin/autom4te.in (version): Likewise.
585         * bin/autoreconf.in (version): Likewise.
586         * bin/autoscan.in (version): Likewise.
587         * bin/autoupdate.in (version): Likewise.
588         * bin/ifnames.in (version): Likewise.
590 2006-10-14  Stepan Kasal  <kasal@ucw.cz>
592         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
593         looking for special shell characters.
594         * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
595         macro defined by AS_VAR_PUSHDEF before passing it as a
596         parameter.
597         * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
598         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
599         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
600         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
601         (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
602         Likewise.
603         * lib/autotest/general.m4 (AT_INIT): Quote parameters of
604         AS_VAR_* properly.
605         * tests/m4sh.at (AS_LITERAL_IF): New test.
607 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
609         (Imported from Automake.)
610         * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
611         which incorrectly sets the mode of an existing destination
612         directory.  In some cases the unpatched install-sh could do the
613         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
614         system.  We hope this is rare in practice, but it's clearly worth
615         fixing.  Problem reported by Alex Unleashed in
616         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
617         Also, don't bother to check for -m bugs unless we're using -m;
618         suggested by Stepan Kasal.
620 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
622         Import this change from Automake:
624         2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
625         * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
626         is enabled by default with gnu and gnits strictness.
627         Report from Bruno Haible.
629         2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
630         * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
631         gnu and gnits modes.
633         Import this change from Config:
635         2006-09-20  Ben Elliston  <bje@gnu.org>
636         * build-aux/config.sub (score, score-*): New.
638         Import this change from Gnulib:
640         2006-09-16  Karl Berry  <karl@gnu.org>
641         * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
642         to avoid sectioning errors.
644         Import these changes from Texinfo:
646         2006-10-04  Karl Berry  <karl@gnu.org>
647         * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
648         (\quoteexpand): rename to \rquoteexpand.
649         (\codequoteleft): new def, to look for @set codequotebacktick.
650         (\lquoteexpand, \quoteexpand): new defs.
651         (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
652         (\code): must use new \...Char values, since now ` is active.
654         2006-08-26  Karl Berry  <karl@gnu.org>
655         * build-aux/texinfo.tex (\textdegree): New command.
657         2006-08-12  Karl Berry  <karl@gnu.org>
658         * build-aux/texinfo.tex (error \box0): smaller font.
660 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
662         * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
664 2006-10-13  Stepan Kasal  <kasal@ucw.cz>
666         * doc/autoconf.texi (Autoheader Macros): Warn that the text
667         added to the template can get mangled.
669 2006-10-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
671         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
672         include the default headers, and redefine obstack_chunk_alloc
673         and obstack_chunk_free.  Fixes false failure with glibc.
675 2006-10-12  Paul Eggert  <eggert@cs.ucla.edu>
677         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
678         for backward compatibility with Libtool 1.5.22.  Problem reported
679         by Ralf Wildenhues.
681 2006-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
683         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
684         AC_PROG_CC.
685         Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
687 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
689         * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
690         the NonStop platform.
691         * doc/autoconf.texi (Posix Variants): Likewise.
692         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
694         * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
695         (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
696         (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
697         Use a better substitute, by inspecting the output of "ls"
698         rather than just using ":".
699         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
700         rather than AS_EXECUTABLE_P, since we needn't worry about
701         non-regular files here.
703         * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
704         due to configuration hassles with this.  See Tonya Underwood's report
705         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
706         * doc/autoconf.texi (Special Shell Variables): Likewise.
708 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
709             Stepan Kasal  <kasal@ucw.cz>
711         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
712         (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
714 2006-10-11  Stepan Kasal  <kasal@ucw.cz>
716         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
717           initialization which is not inherited through the environment
718         (_AS_BOURNE_COMPATIBLE): ... to this new macro.
719         (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
721 2006-10-09  Paul Eggert  <eggert@cs.ucla.edu>
723         * doc/autoconf.texi (Limitations of Usual Tools): Describe
724         problems with mkdir -p -m.
726 2006-10-06  Paul Eggert  <eggert@cs.ucla.edu>
728         * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
729         comment about ac_cpp_err; it was incorrect, and anyway
730         ac_cpp_err is being removed below.
731         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
732         set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
733         are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
734         nobody uses it.
735         (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
736         with werror_flag and conftest.err and so forth.  This is more
737         compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
738         and anyway the user shouldn't normally want to see this gorp logged.
739         Problem reported by Ralf Wildenhues.
740         * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
741         empty, not 'no', since the rest of the code uses 'test -z'.
743 2006-10-04  Paul Eggert  <eggert@cs.ucla.edu>
745         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
746         Use a single call to AC_DO_TOKENS rather than multiple, for
747         efficiency.
748         (_AC_LINK_IFELSE): Test that resulting file is executable.
749         Problem reported by mwoehlke in
750         <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
752         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
753         than creating a file to use with test -x; this is much faster.
755 2006-10-02  Bruno Haible  <bruno@clisp.org>
757         * lib/autom4te.in (Automake-preselections): Add
758         AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
760 2006-09-27  Stepan Kasal  <kasal@ucw.cz>
762         * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
763         standard error, `experr' should be used, not `expout'.
765 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
767         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
768         fseeko testing program twice; just use the earlier result.
769         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
770         Set cache var to 'unknown' (not 'no') if leaving the macro unset
771         still doesn't let the program compile.
772         (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
773         failed.
775         * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
776         (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
777         include it, without including anything else.
778         (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
779         expressions.
780         (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
782 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
784         * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
785         `error.h', and include it, for a `error_at_line' prototype.
786         Use a nonempty format string in the link test.
787         * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
788         for a declaration of wait3.
790 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
792         * NEWS: AC_CHECK_DECL now also works with aggregate objects.
793         * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
794         can apply to constants too, and that it checks for macro defns.
795         * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
796         and simply cast the identifier to void.  This handles structure
797         values.  Problem reported by Ralf Wildenhues.
798         * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
800 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
802         * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
803         structure, and function symbols.
805 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
807         * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
808         member.
810 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
812         * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
813         * README: Likewise.
814         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
816 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
817         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
819         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
820         warnings (uninitialized value).
821         (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
822         present.
823         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
824         parentheses.
825         (AC_STRUCT_TM): Likewise, avoid unused variables.
827 2006-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
829         * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
830         (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
831         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
832         * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
833         Report by Olly Betts.
835 2006-09-19  Eric Blake  <ebb9@byu.net>
837         * m4/m4.m4: Change copyright.
838         * configure: Regenerate.
839         * Makefile.in: Likewise.
840         * bin/Makefile.in: Likewise.
841         * doc/Makefile.in: Likewise.
842         * lib/Makefile.in: Likewise.
843         * lib/Autom4te/Makefile.in: Likewise.
844         * lib/autoconf/Makefile.in: Likewise.
845         * lib/autoscan/Makefile.in: Likewise.
846         * lib/autotest/Makefile.in: Likewise.
847         * lib/emacs/Makefile.in: Likewise.
848         * lib/m4sugar/Makefile.in: Likewise.
849         * man/Makefile.in: Likewise.
850         * tests/Makefile.in: Likewise.
852         * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
853         * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
854         * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
855         --error-output, to avoid warnings with M4 2.0.
857 2006-09-19  Stepan Kasal  <kasal@ucw.cz>
859         * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
860           consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
861         * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
863 2006-09-15  Stepan Kasal  <kasal@ucw.cz>
865         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
866         expansion of AC_CHECK_FUNCS.
868 2006-09-14  Stepan Kasal  <kasal@ucw.cz>
870         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
871         mistaken comment: the path has to be relative; do not use
872         the path at runtime.
874 2006-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
876         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
877         argument to `--prefix' for sub-configure scripts.
878         Pass `--silent' to sub-configure scripts.
879         * tests/torture.at (Configuring subdirectories): Add tests
880         for both changes.
881         * doc/autoconf.texi (Setting Output Variables): Fix example to
882         not show `--silent' being passed to a `configure' re-run.
884 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
886         * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
887         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
888         for the existence of the directory at configure-time.  That's
889         too late, anyway.  Problem reported by Stefan Seefeld.
891         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
892         7.1.4 /usr/bin/posix/sh described by Tim Rice in
893         <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
895 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
897         * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
898         works with GNU M4 1.4.3 again; make the normalized form
899         match the current m4 message; fix the description.
900         * test/tools.at (autom4te cache): Adapt to the change.
902 2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
904         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):  Add year_2050_test
905         to catch glibc bug 2821
906         <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
908         Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
909         AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
910         AC_CHECK_FUNCS.  Don't check for stdlib.h, since we now
911         assume C89.
913 2006-09-08  Stepan Kasal  <kasal@ucw.cz>
915         * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
916         preselections ...
917         (Autoconf): ... here.
918         (Autoscan-preselections): Delete.
920 2006-09-07  Stepan Kasal  <kasal@ucw.cz>
922         * lib/autom4te.in (Automake-preselections): Preselect
923         AM_ENABLE_MULTILIB.
925 2006-09-05  Paul Eggert  <eggert@cs.ucla.edu>
927         * doc/autoconf.texi (Preset Output Variables): srcdir and
928         top_srcdir are not necessarily relative.  Problem reported
929         by Dries Kimpe.
931 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
933         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
934         f90/f95 because the latter drivers of AIX Fortran 9.1 do not
935         accept files with extension `.f'.  For consistency, also prefer
936         xlf over f77.
937         * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
938         from last patch.
940 2006-09-05  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
942         * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
943         of ERLANG_LIB_VER_* variables.
944         * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
945         variables.
947 2006-09-03  Paul Eggert  <eggert@cs.ucla.edu>
948         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
950         * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
951         bugs of Bash 2.01 and 2.05a.
952         (Fortran Compiler): Document that AC_PROG_CC should be called
953         before AC_PROG_FC, due to a bug in Autoconf.
955 2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
957         * NEWS: New macro AC_CACHE_CHECK_INT.  It replaces the
958         old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
959         except the first two arguments are reversed.
960         * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
961         (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
962         caches nor outputs a diagnostic.  Suggested by Bruno Haible.
963         * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
964         equivalent to the old AC_COMPUTE_INT.
965         (AC_COMPUTE_INT): No longer caches or reports.  New signature.
966         All uses changed to AC_CACHE_CHECK_INT.
967         * tests/base.at (AC_CACHE_CHECK_INT): New test.
968         * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
970 2006-08-31  Paul Eggert  <eggert@cs.ucla.edu>
972         * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
973         and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
974         programs should use their Gnulib counterparts.
975         * doc/autoconf.texi (Particular Functions): Likewise.
976         (Macro Names, testsuite Invocation): Replace uses of these
977         obsolete macros with uses of non-obsolete macros.
979 2006-08-29  Eric Blake  <ebb9@byu.net>
981         * configure.ac (AC_INIT): Bump to 2.60b.
982         * NEWS: Update.
984 2006-08-28  Eric Blake  <ebb9@byu.net>
986         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
987         mistakenly swapped on 2006-08-15.
989 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
991         * NEWS: Version 2.60a.
993 2006-08-25  Stepan Kasal  <kasal@ucw.cz>
995         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
996         file created by the PGI compiler.
998 2006-08-25  Noah Misch  <noah@cs.caltech.edu>
1000         * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
1001         simplify the code.
1003 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
1005         Fix Lex library problem reported to us by Julio Garvia.
1006         * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
1007         for the default, which the user can override.
1008         * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
1009         deal with LEXLIB.
1010         (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
1011         didn't work if some values were cached but not others.  Test for
1012         broken lex libraries like native ia64-hp-hpux11.22; see
1013         <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
1014         work around the problem by preferring an empty LEXLIB to -lfl or
1015         -ll.  Let the user set LEXLIB='' to indicate no library needed.
1017         * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
1018         * README: Likewise.
1019         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1021 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1023         Rework to use more-modern build style.
1024         Many files are renamed; all uses of their names were changed.
1025         * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
1026         * .x-sc_useless_cpp_parens: New file.
1027         * build-aux/config.guess: Renamed from config/config.guess.  Update.
1028         * build-aux/config.sub: Renamed from config/config.sub.  Update.
1029         * build-aux/elisp-comp: Renamed from config/elisp-comp.
1030         * build-aux/install-sh: Renamed from config/install-sh.  Update.
1031         * build-aux/mdate-sh: Renamed from config/mdate-sh.
1032         * build-aux/missing: Renamed from config/missing.
1033         * build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
1034         * build-aux/vc-list-files: Renamed from config/vc-list-files.
1035         * config/Makefile.am: Removed.
1036         * config/mkinstalldirs: Removed.
1037         * config/move-if-change: Removed.
1038         * m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
1039         * Makefile.am (SUBDIRS): Remove config.
1040         (ACLOCAL_AMFLAGS): Include from m4, not config.
1041         (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
1042         (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
1043         (autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
1044         Fail if there's an error.
1045         * Makefile.cfg (move_if_change): Remove.
1046         (wget_files): Remove.
1047         (cvs_executable_files): New macro.
1048         (cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
1049         (executable-update): Use $(cvs_executable_files).
1050         (local-checks-to-skip): Remove.
1051         * Makefile.maint: Merge from coreutils, plus add our own changes
1052         (gzip_rsyncable): New macro.
1053         (GZIP_ENV): Use it.
1054         (CVS_LIST): Use build-aux/vc-list-files.
1055         (VERSION_REGEXP): New macro.
1056         (local-checks-available): Add patch-check, $(syntax-check-rules),
1057         check-AUTHORS.
1058         (syntax-check-rules): Compute dynamically.
1059         (sc_cast_of_x_alloc_return_value): Work even if no source files.
1060         (sc_cast_of_alloca_return_value): Likewise.
1061         (sc_prohibit_atoi_atof): Simplify regexp.
1062         (sc_no_if_have_config_h, sc_require_config_h):
1063         (sc_prohibit_assert_without_use,
1064         (sc_obsolete_symbols): Check for O_NDELAY.
1065         (sc_texi_notab): Remove.
1066         (sc-changelog): Don't make an exception for '----' lines.
1067         (.re-list): Remove, so we don't have a junk file behind.
1068         (sc_system_h_headers): Remove the need for .re-list.
1069         (sc_the_the):  New rule.
1070         (sc_tight_scope): Simplify.
1071         (sc_trailing_blank): Renamed from sc_trailing_space.
1072         (longopt_re): New macro.
1073         (sc_two_space_separator_in_usage): New rule.
1074         (sc_unmarked_diagnostics): Look at all files under CVS.
1075         (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
1076         (news-date-check, changelog-check): Version is OK.
1077         (po-check): Look for lib files even if not in CVS.
1078         (copyright-check): Use $() not ``.
1079         (maintainer-distcheck): Do not depend on changelog-check.
1080         (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
1081         Also check for -Wpointer-arith.
1082         (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
1083         (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
1084         Remove.
1085         (announcement): Add --gpg-key-id arg.
1086         (cvs-sv): Remove.
1087         (move_if_change): Just use mv.
1088         (local_updates: Remove wget-update, po-update.
1089         (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
1090         (config.guess-url_prefix, config.sub-url_prefix): Remove.
1091         (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
1092         (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
1093         ($(get-targets)): Remove.
1094         (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
1095         (gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
1096         (cvs-update): Get from gnulib.
1097         (emut_upload_commands): gnupload is in build-aux now.
1098         (alpha beta major): Add changelog-check.  Check version.
1099         * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
1100         (AC_CONFIG_FILES): Remove.
1101         * bin/autoconf.as: Add spaces to avoid distcheck warning.
1102         * config/announce-gen: Sync from coreutils.
1103         * doc/make-stds.texi: Sync from gnulib.
1104         * doc/standards.texi: Likewise.
1105         * man/Makefile.am: Adjust for config -> build-aux renaming.
1106         * tests/Makefile.am: Prefer $(FOO) to @FOO@.
1107         * tests/local.at: Adjust from config -> build-aux renaming.
1108         * tests/tools.at: Likewise.
1109         * tests/torture.at: Likewise.
1111         * NEWS: The C99 check now tests for vararg macros and 64-bit
1112         preprocessor ints.
1113         * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
1114         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
1115         64-bit preprocessor ints.  Check for static initialization of
1116         long long.  Remove unnecessary casts.
1118 2006-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1120         * doc/autoconf.texi (Particular Programs): Mention that
1121         @INSTALL@ and @MKDIR_P@ may vary for different output files.
1122         Reported by Alexandre Duret-Lutz.
1124 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1126         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
1127         -lgcc?* and -lSystem, for Darwin/MacOS X.  Problem reported by
1128         Bill Northcott in
1129         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
1131 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
1133         * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
1134         pacify insanely picky compilers.  Problem reported by Eric Blake.
1136         * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
1137         longer supported by Sun.
1139 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
1141         * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
1142         rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
1143         -Wundef -Werror".  Problem reported by David Fang in
1144         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
1145         * doc/autoconf.texi (Header Templates, Default Includes):
1146         (Particular Functions, Generic Functions, Header Portability):
1147         (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
1148         (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
1149         (Present But Cannot Be Compiled, Preprocessor Symbol Index):
1150         Prefer #ifdef to #if.
1151         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
1152         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
1153         (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1154         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
1155         Likewise.
1156         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1157         (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
1158         * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
1159         (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1160         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
1161         S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
1162         this.
1164 2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
1166         * doc/autoconf.texi (Limitations of Usual Tools): Document sed
1167         problems with arg script text that doesn't end in newline, and
1168         with '-e a...'.  Problems reported by Ralf Wildenhues.
1170 2006-08-12  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
1172         * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
1173         check for libXt by a check for libX11.
1175 2006-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1177         * doc/autoconf.texi (config.status Invocation): Adjust according
1178         to last change.
1180 2006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1182         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
1183         --help' should mention that `--version' outputs configuration
1184         settings.  Report by Bruno Haible.
1186 2006-08-06  Paul Eggert  <eggert@cs.ucla.edu>
1188         Fix test suite failures reported by Pierre in
1189         <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
1190         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
1191         the compiler created a file "b.out" when it didn't create anything
1192         at all.
1193         * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
1194         Discard stderr too, when invoking the test script.
1196 2006-08-05  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
1198         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
1199         in the restoring of the werror flag.
1201 2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
1203         * doc/autoconf.texi (Volatile Objects): Be even a little
1204         less skeptical about "volatile", after discussion with
1205         Bruno Haible on bug-gnulib.
1206         (Limitations of Usual Tools): Warn about sed stripping
1207         leading white space from text.  From Bruno Haible.
1209 2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
1211         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
1212         compiler complains about it, even if things works after the
1213         complaint.  Problem reported by Peter O'Gorman.
1215         * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
1216         CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
1217         Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
1219 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
1221         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
1222         after -R regardless of host.  Patrick Welche reports that this
1223         fixes things on NetBSD 3.99.
1225         * NEWS: Recommend M4 1.4.5.
1226         * README: Likewise.
1227         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1228         * tests/tools.at (autom4te cache): Update wording of diagnostic
1229         to match M4 1.4.5.
1231 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
1233         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
1234         under AC_C_VOLATILE.
1235         (Volatile Objects): Be a little less skeptical about what
1236         "volatile" means.  Derived from thoughts by Ben Pfaff in
1237         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
1239 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1241         * doc/autoconf.texi: Fix some typos.
1243 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
1245         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1246         more globally, since the 2006-06-30 patch didn't suffice.  Problem
1247         reported by Keith Marshall.  Also, don't bother with builddir2,
1248         since it shouldn't be needed any more.
1250 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
1252         * doc/autoconf.texi (Generic compiler characteristics):
1253         Document AC_COMPUTE_INT.  Fix wrong statements on Default
1254         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
1256         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
1257         (_AC_COMPUTE_INT): Add obsoletion warnings.
1258         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
1259         AC_COMPUTE_INT.
1261         * NEWS: Document change.
1263 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
1265         * doc/autoconf.texi (Volatile Objects): New section.
1267         * NEWS: Document previous change.
1269 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
1271         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1272         Require that long long int be at least 64 bits wide.  C99 requires
1273         this and enough programs depend on it so we should check for it.
1274         Bruno Haible reports in
1275         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
1276         that long long int is 32 bits wide with some nonstandard compilers.
1277         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
1279 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
1281         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1282         to a nonexistent file, so that we don't have to worry about
1283         a local site configuration that doesn't use /usr/local.
1284         Problem reported by Keith Marshall in
1285         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
1287 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1289         * doc/autoconf.texi: Be more consistent about using @acronym with
1290         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
1291         quite right (it talked about "OSF/Tru64", even though the
1292         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
1293         and it even mentioned "OSF 4"!) and at this point there's little
1294         reason to talk about OSF any more, since it died in 1994.
1295         (Specific Compiler Characteristics): Simplify example of
1296         negative-size array.
1297         (File Descriptors): Reorder to make the text flow better.
1298         Remove joke about "appreciate the various levels"; I didn't get it.
1299         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
1300         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
1301         (File Descriptors, Limitations of Usual Tools):
1302         Tone down the advice against renaming or removing open files.
1303         (Limitations of Usual Tools): Add a new section, on 'rm'.
1305 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
1307         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
1308         -lXt in LIBS, idea from Karsten Hopp; this was due since
1309         this change:
1311         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
1312         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1313         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1314         (which belong to Xt, not X itself).  See Debian bug 327655.
1316 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1318         * configure.ac (AC_INIT): Bump to 2.60a.
1319         * NEWS: Update.
1321 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1323         Version 2.60.
1325         * configure.ac, NEWS: Update.
1327 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1329         * config/texinfo.tex: Sync from upstream.
1331         * bin/autom4te.in (handle_traces): Transform the `@S|@'
1332         quadrigraph correctly in traces.
1334         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
1335         Fix typos.
1337         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
1338         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
1339         not defined.
1340         * doc/autoconf.texi (Changed Directory Variables): New node,
1341         to document the whole `datarootdir' business a bit better.
1342         * NEWS: Update.
1343         * tests/torture.at (datarootdir workaround): Extend test.
1344         Prompted by report by Alexandre Julliard.
1346 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
1348         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
1349         when using default mode of IBM C 6 for AIX.  Problem and two-line
1350         fix reported by Larry Jones.
1352 2006-06-22  Alexandre Julliard <julliard@winehq.org>
1354         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
1355         about literal '${datarootdir}' if a definition is found in the
1356         output file.
1358 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
1360         * NEWS: Use "M4" rather than "m4" when appropriate.
1361         Problem reported by Eric Blake.
1362         * doc/autoconf.texi: Likewise.
1363         Use @acronym around BSD, GCC, and GNU when appropriate.
1364         (Why GNU M4): Renamed from "Why GNU m4".
1365         (Redefined M4 Macros): Mention that Posix
1366         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
1367         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
1368         to int.
1370 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1372         * bin/autom4te.in (handle_output): Do not forbid the empty
1373         pattern.
1374         * tests/tools.at (autoconf: the empty token): New test.
1376 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
1378         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
1379         calls, so that we do not care whether they are LIFO or FIFO;
1380         in the m4_wrap, do not check which diversion is the topmost
1381         one, just check that the stack is balanced at the end.
1382         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
1383         base diversion forever--pop the previous diversion before
1384         opening the new one; consequently, remove the m4_wrap call.
1385         * lib/autotest/general.m4 (AT_INIT): Likewise.
1386         * tests/m4sugar.at: Do not use
1387         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
1389 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1390         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1392         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
1393         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
1394         Rework example of m4wrap token-pasting trouble so that it doesn't
1395         care whether it's LIFO or FIFO.
1396         Fix some "contrary to"s that are awkward in English.
1398 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1400         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
1401         to `yes' instead of `int$1_t' if the type is found, for more
1402         consistent configure output (where $1 is the number of bits).
1403         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
1404         Suggested by Bruno Haible.
1406         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
1407         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
1408         with system headers.  Report by Bruno Haible.
1410 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1412         * config/config.guess, config/config.sub: Sync from upstream.
1414         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
1415         in order to avoid picking up an older installed frozen m4sh.m4f.
1416         Besides an outdated shell startup, this could have been created
1417         by an earlier M4 version with incompatible frozen file format.
1419 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
1421         * README: Recommend m4 1.4.4 instead of 1.4.3..
1422         * doc/autoconf.texi: Likewise.
1423         (Special Chars in Names): Say that $(.FOO) is portable, as
1424         suggested by Stepan Kasal.
1425         (Installation Directory Variables, Build Directories):
1426         (Automatic Remaking, Subdirectories, Fortran Compiler):
1427         (Making testsuite Scripts, Defining Directories):
1428         Quote variable usages better.
1429         (Making testsuite Scripts): Add clean-local rule to makefile
1430         snippet, by Eric Blake.
1431         (Installation Directory Variables): Fix table item font.
1432         Reword slightly to clarify.  Generalize advice about
1433         not using special characters to include all file-related
1434         vars, not just VPATH.
1435         (Special Chars in Variables): Warn about special characters in
1436         $(srcdir) too.
1437         (Assignments): Clarify default-value example as suggested by
1438         Ralf Wildenhues in
1439         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
1440         (Special Shell Variables): Note leading ./ or ../, as suggested
1441         by Eric Blake.
1442         (Limitations of Builtins): Under cd, warn about CDPATH.
1443         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
1444         Ralf Wildenhues.
1446 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1448         * doc/autoconf.texi (Configuration Actions): Remove duplicate
1449         `@var', for texi2html.
1450         (Systemology): Some more word wrapping, for DVI output.
1451         (autom4te Invocation): The short option for `--melt' is `-M',
1452         not `-m'.
1454 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
1456         * doc/autoconf.texi: More formatting and English tweaks,
1457         many suggested by Ralf Wildenhues.
1458         Reword to avoid "@code{...}'s" and the like, since it's ugly
1459         with Emacs info mode.  discontents -> woes.
1460         Put a few "will"s back.  time stamp -> timestamp.
1461         side-effect -> side effect.
1463 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
1465         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
1466         Warn about $@ not persisting.  Problem reported by Julien Danjou in
1467         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
1468         (Special Chars in Names): Renamed from Leading _ in Macro Names.
1469         Mention other special chars, too.
1471 2006-06-14  Eric Blake  <ebb9@byu.net>
1473         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
1475 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
1477         * doc/autoconf.texi: Some systematic minor improvements, as
1478         follows.  Use "makefile" when talking about makefiles
1479         generally (which might be named "makefile" or "Makefile" or even
1480         "foo.mk"), "Makefile" when talking about a specific makefile
1481         called "Makefile".  This unclutters the text from weird quotes
1482         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
1483         values" rather than "@var{foo}s" and similar constructs containing
1484         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
1485         English-language improvements.  Change the prefix "sub-" to "sub"
1486         and "re-" to "re".
1487         Put blank lines around examples more consistently.
1488         Avoid "rather" and "very" as intensifiers.
1489         Avoid "will" as an auxiliary.
1490         (Limitations of Make): Split this node into....
1491         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
1492         (Leading _ in Macro Names, Backslash-Newline-Newline):
1493         (Backslash-Newline Comments, Long Lines in Makefiles):
1494         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
1495         (obj/ and Make, make -k Status, VPATH and Make):
1496         (VPATH and Double-colon, $< in Explicit Rules):
1497         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
1498         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
1499         New nodes, resulting from splitup of Limitations of Make.
1500         All cross-references changed.  Raise the top node from
1501         a section to a chapter, and all subnodes accordingly.
1502         Redo the introductory wording to match the new organization.
1503         (Installation Directory Variables): Use an example that is
1504         closer to what Autoconf actually does.  Mention that VPATH's
1505         value should not contain metacharacters or white space.
1506         (Fortran Compiler): Fix a VPATH bug in an example.
1507         (Leading _ in Macro Names): Mention that this problem is no longer
1508         of practical concern.
1509         (VPATH and Make): Reword the advice to make it clearer
1510         that Autoconf and Automake support VPATH in non-GNU make, but
1511         many packages have bugs in this area.
1512         ($< in Explicit Rules): Refer to Build Directories rather
1513         than using a (non-VPATH-safe) example.
1514         (Automatic Rule Rewriting): Mention the sort of disaster that
1515         can ensue with Solaris-style rule rewriting with VPATH.
1517 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1519         * doc/install.texi (Compilers and Options): Weaken the
1520         suggestion to use GNU make for VPATH builds.
1522         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
1523         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
1525         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
1526         in regular expression.
1528 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1530         * doc/autoconf.texi (Installation Directory Variables):
1531         Drop extra @samp from `@table @samp' item.
1532         (Limitations of Usual Tools): Comment fix.
1533         Do not nest @samp just to point to other table items.
1534         (Writing testsuite.at) <AT_CHECK>: The second argument to
1535         `@dvar' is already @samp'ed.
1536         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
1537         do not use @var in the second argument.
1539 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
1541         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
1542         $as_shell.exe too.  Problem reported by Andreas Buening in
1543         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
1545 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1547         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
1548         `unused variable' compiler warning, for `-Wall -Werror'.
1549         Reported by Jaap Haitsma in
1550         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
1552 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
1554         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
1555         case the compiler dumps core.  Problem reported for
1556         OpenServer 5.0.7 by Tim Rice in
1557         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
1558         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
1559         Likewise.
1561 2006-06-06  Tim Rice <tim@multitalents.net>.
1563         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
1564         "ERROR" only shows up in "make check" output if there is an
1565         error.
1567 2006-06-06  Eric Blake  <ebb9@byu.net>
1569         * tests/tools.at (automatically allowed tokens): Fix typo.
1571 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
1573         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
1575         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
1576         typically overflows on x86 CPUs, even though the C standard
1577         requires otherwise.
1579 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1581         * configure.ac (AC_INIT): Bump to 2.59e.
1582         * NEWS: Update.
1584 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1586         Version 2.59d.
1588         * config/texinfo.tex: Sync from upstream.
1590         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
1591         seen, invoke libtoolize with `--ltdl' argument.
1592         * lib/autom4te.in (Autoreconf-preselections): Adjust.
1593         * NEWS: Update.
1594         Suggested by Eric Blake.
1596 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
1598         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
1599         reported by Ralf Wildenhues.
1600         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
1602 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1604         * THANKS: Update.
1606 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
1608         * doc/autoconf.texi: Modernize some of the references to Solaris.
1610 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
1612         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
1613         message issued by AC_REQUIRE.
1614         * tests/m4sugar.at: Check m4_require's error message.
1615         * tests/base.at: Check AC_REQUIRE's error message.
1616         * tests/local.at (AT_CHECK_M4): New macro, almost identical
1617         to...
1618         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
1619         AT_CHECK_M4.
1620         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
1621         `expout' as the last parameter.
1622         * tests/tools.at: Adapt to the above change.
1624 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
1626         * doc/autoconf.texi (Limitations of Usual Tools): Correct
1627         information about race-free implementations of mkdir.
1629 2006-06-04  Eric Blake  <ebb9@byu.net>
1631         * bin/autoreconf.in (help): Document M4 environment variable.
1632         * bin/autoconf.as (Usage): Likewise.
1633         * bin/autom4te.in (help): Likewise.
1634         * doc/autoconf.texi (autom4te Invocation): Likewise.
1636 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
1638         * NEWS: GNU make now recommended for VPATH builds.
1639         Mention that some macros are now documented to be obsolescent.
1640         * doc/autoconf.texi:
1641         Prefer "current" to "modern" to describe
1642         currently-used (albeit perhaps old-fashioned) hosts.
1643         Mention which ancient features no longer need to be worried about.
1644         setgid -> set-group-ID
1645         setuid -> set-user-ID (these are the Posix terms)
1646         Fix some misuses of "only".
1647         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
1648         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
1649         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
1650         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
1651         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
1652         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
1653         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
1654         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
1655         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
1656         Mention that these macros are obsolescent.
1657         (Installation Directory Variables): shall -> should
1658         (File Descriptors): Mention that 0, 1, 2 might get reopened.
1659         Mention that it's now safe to use 3 and 4.
1660         (Limitations of Usual Tools): cp -r is now specified by Posix.
1661         Omit longwinded and obsolescent discussion of cp -f.
1662         Modernize discussion of expr, ls.
1663         (Limitations of Make): Modernize discussion of VPATH builds.
1664         Mention $? as a workaround in some cases.
1665         * doc/install.texi (Basic Installation):
1666         Mention "./configure; make; make install" first.  Be more
1667         specific about why this file is generic.  Remove unnecessary
1668         parens.  Remove misleading "only".  Remove obsolete advice
1669         about csh.  Don't say "configure" takes awhile; say it
1670         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
1671         and CC=c99 rather than CC=c89, as these are blessed by current
1672         Posix.  Recommend GNU make if doing a VPATH build.
1674 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
1676         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
1677         examples involving shell prompts.
1679 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
1680         and Paul Eggert  <eggert@cs.ucla.edu>
1682         * doc/autoconf.texi (Here-Documents): Add details about the
1683         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
1684         use "here-documents" instead of "here documents".
1686 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1688         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
1690 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
1692         * doc/autoconf.texi (File System Conventions): Warn about ":"
1693         anywhere in directory names.
1695 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
1697         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
1698         about quoting the case statement, just in case.
1699         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
1700         was fixed in ksh93g; reported by Ralf Wildenhues.
1702 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
1704         * doc/autoconf.texi (System Services): Do not document
1705         overriding EXEEXT via ac_cv_exeext=ext.
1706         (Particular Programs) <AC_PROG_MKDIR_P>:
1707         Document that ${MKDIR_P} understands --.
1708         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
1709         comment.
1711 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1713         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
1714         argument with leading hyphen.  Problem reported by Paul Eggert.
1716 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
1718         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
1719         about quoting ac_try: quote all of it, if any of it seems suspicious.
1720         This means we don't have to worry about ${ or sed any more.
1721         Also, double-quote the case statement, to work around misuses via
1722         underquoting as reported by Ralf Wildenhues in
1723         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
1724         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
1725         undocumented and dangerous macro.
1726         Problem reported by Ralf Wildenhues in
1727         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
1729 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1731         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
1732         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
1733         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
1735 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
1737         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
1738         since evidently some packages rely on the old, broken behavior.
1739         Problem reported by Ralf Wildenhues in
1740         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
1741         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
1742         pre-2006-05-26 definitions, but leave in the comments that
1743         these macros are dangerous and should not be used.
1744         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
1745         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
1746         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
1747         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
1748         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
1750 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
1752         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
1753         the use of 'tr', since this is our only use of 'tr'.
1755 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1756         and Paul Eggert  <eggert@cs.ucla.edu>
1758         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
1759         Don't assume 'grep' works on long lines, since AIX grep doesn't.
1761 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1763         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
1764         the output file in the `${datarootdir}' test.
1766 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
1767         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1769         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
1770         mention of `datarootdir' in the input file(s), but literal
1771         `${datarootdir}' in the output file, and we haven't warned yet,
1772         then warn as well: the user may have (erroneously) used
1773         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
1774         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
1775         * tests/torture.at (datarootdir workaround): Extend this test.
1776         * NEWS: Update.
1778 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1779         and Paul Eggert  <eggert@cs.ucla.edu>
1781         * doc/autoconf.texi (autoheader Invocation): The first argument to
1782         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
1783         alternatives and clear up the language a bit.
1785 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
1787         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
1788         ac_config_guess, ac_config_sub, ac_configure.
1789         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1790         Fix typo that prevented an unnecessary space from being removed.
1791         Problems reported by Ralf Wildenhues in:
1792         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
1794 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1796         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
1797         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
1798         Don't use the term "thread-safe" to talk about mkdir race
1799         conditions, since the problem is more a process than a thread
1800         issue.  Problem reported by Stepan Kasal in:
1801         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
1802         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
1803         the test for 'install' more closely.  Look at MKDIR_P first.
1804         Look in the PATH, and at /opt/sfw/bin.
1805         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
1806         Don't bother to try mkdir -p, since we already check mkdir --version;
1807         just look at the version number.  (There's no easy way to check
1808         for race-free implementations.)
1809         * tests/tools.at (autoconf: subdirectories): Adjust to above
1810         changes, since MKDIR_P now might end in "/mkdir -p".
1812         * doc/autoconf.texi (autoheader Invocation): Mention that the
1813         first arg of AC_DEFINE_UNQUOTED must be a literal.
1814         Problem reported by Ben Pfaff in
1815         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
1817         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
1818         * doc/autoconf.texi (Special Chars in Variables): New section.
1819         (Preset Output Variables): Warn about special chars in CPPFLAGS.
1820         (Installation Directory Variables): Quote $(datadir) better.
1821         (Limitations of Builtins): Describe some of eval's trickiness.
1823         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
1824         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
1825         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
1826         in front of every arg, not just trailing args.  Quote apostrophes.
1827         (_AC_EVAL_ECHO): New macro.
1828         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
1829         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
1830         removed.
1831         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
1832         exposed by quoting of eval argument.  Put the command on line line
1833         so it logs better.
1834         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
1835         (_AC_PATH_X, AC_PATH_X): Quote more safely.
1836         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
1837         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
1838         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
1839         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
1840         Use eval more safely.
1841         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
1842         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
1843         to be replaced.
1844         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
1845         lines, exposed by quoting of eval argument.
1847 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
1848         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1850         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
1851         initialization of `ac_cv_exeext', do not override it if it was
1852         already set, unless it was set to `no', for compatibility with
1853         Autoconf-2.13, and comment this.
1854         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
1855         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
1856         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
1857         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
1858         Document that this test may be overridden by setting
1859         `ac_cv_exeext'.
1861 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1863         Revert these two patches:
1865         2006-04-06  Eric Blake  <ebb9@byu.net>
1866         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1867         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
1868         2006-04-01.
1870         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1871         Clean up _AC_COMPILER_EXEEXT* macros.
1872         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
1873           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
1874           ac_file to the name of the default output file and call
1875           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
1876           initial `rm' of the candidate files...
1877         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
1878           the same list in subsequent `rm' calls, and for the temporary
1879           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
1880           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
1881         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
1882         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
1883           no longer needed) by libtool.  Make it a cache check.
1884         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
1885           copied here by mistake.
1886         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
1887           _AC_COMPILER_EXEEXT.
1888         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
1889           _AC_COMPILER_OBJEXT directly.
1890         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1892 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1894         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
1895         Fix description of how the buggy `sed' works.
1897 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
1899         Sync from Automake:
1901         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
1902         ENOLCK.  Only mention `make -j' when applicable.  Only raise
1903         fatal errors when `make -j' is involved.  Improve error message.
1905 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1907         * doc/autoconf.texi (Here-Documents): We now know more about
1908         the variable expansion in here documents bug.
1909         Thanks to Tim Rice and Stepan Kasal.
1911         * doc/autoconf.texi (Making testsuite Scripts): Add an example
1912         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
1914 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1916         * tests/autotest.at (Multiline command from M4 expansion):
1917         No failure to be expected if the shell quotes newlines in
1918         commands in the `set -x' output.  Report by Tim Rice.
1919         * THANKS: Update.
1921 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
1923         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
1924         expansion in the here-documents used by config.status, as that
1925         runs afoul of the Korn shell version M-12/28/93d bug described in
1926         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
1927         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
1928         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
1930 2006-05-23  Jim Meyering  <jim@meyering.net>
1932         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
1933         Fix typo introduced with 2006-04-02 change.  It reversed the sense
1934         of the test.
1936 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
1938         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
1939         ac_dB slightly, to save bytes in the script.
1940         Max out at 50 lines, rather than 96; this is more likely
1941         (though not guaranteed) to avoid obscure 'sed' failures.
1943 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1945         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
1946         `tr -d -' as bad option argument.  Work around this by deleting
1947         an unrelated character.
1948         Report by Tim Rice <tim@multitalents.net>.
1950 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
1951             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
1952             Stepan Kasal  <kasal@ucw.cz>
1954         * doc/autoconf.texi (Particular Programs): Do not promise that
1955         we always prefer the GNU version of the program, and that we
1956         search according to PATH; both rules can have exceptions.
1957         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
1958         AC_PROG_SED.  Move descriptions of limitations
1959         to the Limitations of Usual Tools section.
1960         (Limitations of Usual Tools) <sed>: Mention script length
1961         limitations with Solaris /usr/ucb/sed.
1962         <grep>: Fix wording for empty alternative.  Mention that -c and
1963         -l should not be combined, and that -E and -F should not be
1964         combined.
1966 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
1967         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1969         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
1970         limits in Solaris 8 /usr/ucb/sed by testing a long script.
1972 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
1974         * doc/autoconf.texi (Defining Symbols): Literal parameter of
1975         AC_DEFINE is now passed to m4_pattern_allow.
1976         * NEWS: Mention that; likewise for AC_SUBST.
1977         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
1978         the parameter to m4_pattern_allow.
1979         * tests/tools.at: Add a check for that.
1981 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
1983         * lib/autoconf/status.m4: Fix typos.
1985 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1987         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
1988         only the files that this macro generates.
1990 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
1992         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
1993         the HP-UX sed limitation of 99 commands, labels do not count.
1994         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
1995         in the comment.
1996         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
1998 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
2000         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
2001         Import the following fix from coreutils:
2003         2006-01-13  Jim Meyering  <jim@meyering.net>
2005         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
2006         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
2007         not double-quote uses of that variable, to accommodate the rare
2008         case in which getmntent is available in none of the libraries
2009         checked.  This happens at least on FreeBSD 5.0.
2011 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
2013         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
2014         ac_config_guess, ac_config_sub, and ac_configure, since evidently
2015         some other programs unwisely rely on these undocumented vars.
2016         But put in warning comments about them.
2017         Problem reported by Ralf Wildenhues in
2018         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
2019         * NEWS: Document that these variables are intended to go away.
2021 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2023         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
2024         and set the language to C++ (analogous to the equivalent Fortran
2025         tests).
2027         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
2028         * doc/autoconf.texi (C++ Compiler): Document it.
2029         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
2030         * NEWS: Update.
2032 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2034         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
2035         that caused config.status to generate 100-command sed scripts; the
2036         portable limit is 99.
2038 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2040         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
2041         variable `ac_d' instead of `d' to avoid infringing namespace.
2042         Report by Ralf Menzel.
2044 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
2046         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
2047         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
2048         * tests/tools.at (autoconf: subdirectories): New test, taken from
2049         the corresponding problem report by Ralf Wildenhues in:
2050         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
2052         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
2053         Quote some uses of shell variables if they might suffer unexpected
2054         globbing.  This doesn't fix all instances of quoting problems that
2055         I found, just the easy ones that look safe.
2056         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
2057         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
2058         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
2059         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
2060         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
2061         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2062         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
2063         Likewise.
2064         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
2065         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
2067 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2069         * bin/autoreconf.in ($help): Reword according to the manual.
2070         Suggested by Olly Betts.
2072 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
2073         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2075         * bin/autoreconf.in: Pass the directory argument to
2076         `require_configure_ac'.  Fix comment.
2077         * tests/torture.at (Configuring subdirectories): Expose this.
2078         Reported by Olly Betts.
2080 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2082         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
2083         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
2084         Automake as follows:
2086         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
2087         `$configure_in' instead of `configure.in', to preserve
2088         directory component.
2090 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2092         * config/config.guess, config/config.sub, config/texinfo.tex,
2093         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
2095 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
2097         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
2098         test for C99 conformance; (bool) 0.5 is an integer constant
2099         expression, but (bool) -0.5 is not.  Problem reported by Fedor
2100         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
2102 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
2104         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
2105         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
2106         Warn about obsolete install-sh files.  Remove stray sentence
2107         fragment and fix cross reference.
2108         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
2109         install -d; this undoes the 2006-05-10 change.
2110         (MKDIR_P): Mark with AN_MAKEVAR.
2111         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
2112         that we don't require $INSTALL to be thread-safe.  Move comments
2113         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
2114         of AC_PROG_INSTALL.  Output a message saying that we're checking
2115         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
2116         MKDIR_P instead of AC_SUBST.
2117         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
2118         Special magic for MKDIR_P, too.
2119         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
2120         a dnl.
2121         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
2123 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
2125         Sync from Automake, as follows:
2127         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2128         * config/install-sh: Initialize IFS, so field splitting isn't
2129         turned off later.
2130         * config/mkinstalldirs: Likewise.
2131         * config/missing: Remove superfluous quotes.  Replace all uses of
2132         `[' by `test', for consistency, and for..
2133         * config/missing (sed_minuso, sed_output): New variables.
2134         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
2135         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
2136         Fixes `missing' to detect `--output' for help2man.  Fixes
2137         PR automake/483.  Report by Dennis J. Linse.
2138         (autom4te): Document in `missing --help'.
2140 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
2142         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
2143         * config/install-sh: Don't use 'path' to talk about file names,
2144         as per GNU coding standards.  Close a race condition reported by Ralf
2145         Wildenhues and Stepan Kasal.  There is still a race condition
2146         on hosts that predate Posix 1003.1-1992, but we can't help this.
2147         Don't mishandle weird characters like space on pre-Posix hosts.
2148         Invoke mkdir at most once per dir arg on pre-Posix hosts.
2149         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
2150         AC_PROG_MKDIR_P from AS_MKDIR_P.
2151         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
2152         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
2153         earlier editions are not (including Automake 1.8.3).
2154         Do not suggest mkinstalldirs for thread-safety.
2155         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
2156         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
2157         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
2158         presence of special characters and race conditions.
2159         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
2160         in Autoconf's name space.
2162 2006-05-10  Bruno Haible  <bruno@clisp.org>
2163         and Paul Eggert  <eggert@cs.ucla.edu>
2165         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
2166         from Automake with minor changes.
2167         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
2169 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
2171         * config/install-sh: Update to Automake CVS version, as follows:
2172         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
2173         * lib/install-sh: Simplify the expr implementation of dirname.
2174         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
2175         * lib/install-sh: Handle --, and diagnose unknown options.
2177 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2179         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
2180         `./autom4te' to create `./testsuite', since the `all' target
2181         will ensure its presence, but `installcheck' should not create
2182         the uninstalled wrappers.
2184         * tests/torture.at (Unusual Automake input files): Skip if we
2185         detect automake < 1.8.
2187 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2189         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
2190         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
2191         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
2192         * NEWS: Update.
2194 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2196         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
2197         munge (multiple) white space and other oddities.
2198         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
2199         single quotes in variable assignment.
2200         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
2201         and similar failures by adding multiple spaces, tabs, and other
2202         special characters.
2203         Report and different test suggested by Francesco Romani
2204         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
2206         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
2207         single quotes, we only need to search for single quotes; this
2208         both simplifies the search pattern, and makes us less
2209         susceptible to `echo' variations for arguments not containing
2210         single quotes.
2211         (_AC_ARG_VAR_VALIDATE): Likewise.
2213 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2215         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
2216         `$*' and IFS concatenation issue with traditional shells and
2217         bash-2.04.  Report by Seanster@Seanster.com.
2219 2006-05-03  Bruno Haible  <bruno@clisp.org>
2221         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
2222         precisely which Mac OS X versions have the od problem.
2224 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
2226         * doc/autoconf.texi: Use @option systematically.
2228 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
2229         and Bruno Haible  <bruno@clisp.org>
2231         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
2232         about 'od'.
2233         (Integer Overflow): Mention the special case of integer division
2234         overflow.
2236 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2238         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
2239         traditional shells like the Solaris one that do not use the
2240         first IFS character for assembling `$*'.
2241         Prompted by a related report from autoconf_bug@nro.ca.
2243 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
2244         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2246         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
2247         Mention more problems with the -e option.
2249 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2251         * NEWS: Typo.
2252         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
2254         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
2255         in URLs to improve DVI formatted output (requires texinfo 4.6).
2256         (System Services, Systemology, Shellology): Likewise.
2257         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
2258         output.
2260         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
2261         continuous text.
2262         (Runtime): Fix macro argument names to match description:
2263         `action-if-found' -> `action-if-true' and similarly.
2264         (Obsolete Macros): Likewise.
2265         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
2266         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
2267         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
2269 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2271         * doc/autoconf.texi (Limitations of Make): Clean up markup.
2273         * ChangeLog: Typo.
2274         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
2275         DVI output.
2277 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2279         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
2280         /bin/sh set unsorted output.
2281         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
2282         * tests/local.at: Likewise.
2284 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
2286         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
2287         (Integer Overflow, Null Pointers, Buffer Overruns):
2288         (Floating Point Portability, Exiting Portably): New sections.
2289         (Writing Test Programs): Fix some langauge.  Recommend exiting
2290         with status 1, not merely nonzero.  Clarify exit declaration.
2291         (Run Time): Move C exit status stuff to new Exiting Portably section.
2292         (Systemology): Mention Posix and levenez.  Update v7 reference.
2293         (Portable Shell): Mention the Posix shell.
2295 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
2297         * bin/autoconf.as (me): Replace by as_me.
2299 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
2301         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
2302         since as_me isn't set yet.
2304 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
2306         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
2307         a few minor bugs in this area.
2309         * doc/autoconf.texi (Programming in M4sh): Comment out the
2310         documentation of AS_BASENAME, for now.
2311         (Shell Substitutions): Do not use AS_DIRNAME in an example.
2312         (Limitations of Builtins) <basename>: Do not refer to
2313         AS_BASENAME.
2314         * bin/autoconf.as (me): Don't use AS_BASENAME.
2315         (dir): Remove the unused variable.
2316         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
2317         AS_DETECT_REQUIRED.  All uses changed.
2318         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
2319         All uses changed.
2320         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
2321         (AS_BASENAME): Use "basename --" to protect against leading "-".
2322         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
2323         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
2324         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
2325         (_AS_DIRNAME_PREPARE): Likewise.
2326         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
2327         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
2328         (AS_DIRNAME): Use "dirname --".
2330 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
2332         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
2333         of "run time" and "run-time" changed to "runtime", for consistency.
2334         * lib/autoconf/fortran.m4: Likewise (in comment).
2335         * lib/autoconf/functions.m4: Likewise.
2336         * lib/autoconf/general.m4: Likewise.
2337         * lib/autoconf/headers.m4: Likewise.
2339         * doc/autoconf.texi (Run Time): Document the exit status situation
2340         with more accuracy and detail.
2342 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2344         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
2345         Archive is not officially `GNU' any more.  Update URL.
2346         (Defining Directories): Likewise
2347         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
2349 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2351         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
2352         newline from the `trap' code to finish `config.log'; the NetBSD
2353         /bin/sh resets the exit status after an empty command, as
2354         documented in doc/autoconf.texi.
2355         Reported by Dalibor Topic <robilad@kaffe.org>.
2357 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2359         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
2360         Suggested by Bruno Haible.
2362 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
2364         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
2365         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
2366         Instead, just list the shells that we know work.
2367         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
2368         changed.  Be more cautious about the _cv_ variable.
2369         * tests/tools.at (Syntax of the shell scripts): Check the
2370         _cv_ variable once, at first, to avoid an internal autoconf error
2371         when sh -n does not work.
2373 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2375         * lib/Autom4te/FileUtils.pm: Sync from Automake.
2377 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
2379         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
2380         use ">&-" since we're only 99.999% sure that this is portable,
2381         and since the MinGW bug is fixed in a different way.
2382         * lib/autotest/general.m4 (AT_INIT): Likewise.
2384 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
2386         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
2387         before opening config.log, to avoid hitting a bug on MinGW.
2389 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
2391         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
2392         AS_MESSAGE_LOG_FD before reopening it onto the log file.
2393         This works around a MinGW bug reported by Eric Paire.
2394         Make sure that all writes to the log file append to it,
2395         rather than possibly losing data.
2396         * lib/autotest/general.m4 (AT_INIT): Likewise.
2398 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
2400         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
2401         description.
2403 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2405         * NEWS: Update.
2407         * configure.ac (AC_INIT): Bump to 2.59d.
2409 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2411         Version 2.59c.
2413         * Makefile.maint (news-date-check): Do not require a leading `*'
2414         before the release date in NEWS.
2416 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
2417         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2419         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
2420         the instantiated file do not contain the string 'datarootdir'
2421         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
2422         @mandir@, replace the reference '${datarootdir}' by the value.
2423         * tests/torture.at (datarootdir workaround): New test.
2424         * NEWS: Advertise this temporary fixup.
2425         Based on a patch by Bruno Haible, reported and analyzed by
2426         Paul Eggert and Noah Misch.
2428 2006-04-12  Eric Blake  <ebb9@byu.net>
2430         * tests/autotest.at (Debugging a failed test): Fix comment.
2432 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
2434         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
2435         all the changes since 2006-04-07.
2437 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2439         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
2440         succeeded, but `ln -s file dir' failed, take care to remove the
2441         leftover target before the next test, to prevent its spurious
2442         failure; also make sure `ln file dir' works before selecting it.
2443         Thanks to Keith Marshall for pointing this out.
2444         * THANKS: Update.
2446         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
2447         assignments in `at_debug_args', so that we put them correctly
2448         in the `run' script.
2449         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
2450         Reported by Eric Blake.
2452 2006-04-11  Eric Blake  <ebb9@byu.net>
2454         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
2455         top-level tests after micro-suite has been run.   Used in...
2456         (Debugging a successful test, Debugging script and environment),
2457         (Debugging a failed test): ...these new tests.  The first of these
2458         is fixed by...
2459         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
2460         macro, split out from...
2461         (AT_INIT): ...here, so that using -d also generates a run script.
2462         Document that -d inhibits top-level logging.
2463         * doc/autoconf.texi (testsuite Invocation): Document that -d only
2464         inhibits top-level logging; debug scripts are created.
2466         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
2467         check.
2468         * tests/autotest.at (Empty test, Empty check): New test to check it.
2470         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
2471         from gcc.
2473 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
2475         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
2476         the files if a problem appears.  Make the empty *.at files
2477         read-only, too.  Proposed by Ralf Wildenhues.
2479 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2481         * config/Makefile.am: Add comment to force updated Makefile.in.
2483         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
2484         space only patch to this file, this patch causes the Makefile.in
2485         files that include freeze.mk to be updated, and thus have a
2486         newer time stamp again, which in turn makes a pristine CVS
2487         checkout have correct time stamps.
2489         * Makefile.maint (cvs-sv): New macro, to be used..
2490         (config.guess-url_prefix, config.sub-url_prefix)
2491         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
2492         point to CVS text checkout of Gnulib files.
2493         (copyright-check): Bump current year.
2494         (announcement): Do not hard-wire `./announce-gen'.
2495         (cvs-update): Propagate failures of `cvs' and `move-if-change'
2496         correctly.
2497         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
2498         `chmod +x'.
2499         (wget_files): Update config.guess, config.sub, texinfo.tex by
2500         `wget-update', now that their URLs work again.
2502 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
2504         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
2505         Problem noted by Paul D. Smith.
2507 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2509         * doc/autoconf.texi: Remove unused words from word list.
2510         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
2511         .x-sc_trailing_space: New files.
2513         * doc/standards.texi: Sync from gnulib.
2515         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
2516         `LIBOBJDIR' as experimental.
2518         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
2519         with a target directory; it's internally implemented as `cp'
2520         anyway, but since Autoconf advertises the possibility to use
2521         a target directory when LN_S is `ln -s', we need to find out.
2522         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
2523         analyzed by Keith Marshall <keith.marshall@total.com>.
2525         * THANKS: Update.
2527 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
2529         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
2530         confdefs.h as-is.  In general, if it has backslash-newline or the
2531         like, then it doesn't work either to sort or to remove empty
2532         lines.
2534 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
2536         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
2538 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
2540         * lib/autom4te.in (Automake-preselections): Preselect
2541         _AM_SUBST_NOTMAKE.
2543 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
2545         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
2546         apostrophe within a single-quoted string, as this is the usual
2547         tradition and is easier to read than '"'"'.  Don't rely on the
2548         shell treating "$/" like '$/'.  Use a more-consistent indenting
2549         style for the trap.
2551 2006-04-09  Eric Blake  <ebb9@byu.net>
2553         * tests/autotest.at (Backquote command substitution),
2554         (Multiline backquote command substitution): Remove mistaken
2555         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
2556         applied...
2557         (Parenthetical command substitution, Multiline parenthetical
2558         command substitution): here.
2560 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
2562         Import macros from gnulib (often changing their name).
2564         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
2565         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
2566         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
2567         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
2568         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
2569         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2570         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
2571         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
2572         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
2573         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
2574         The manual mentions Gnulib more prominently.
2575         * doc/autoconf.texi (Gnulib): New node.
2576         (Pointers): Add Gnulib URL.
2577         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
2578         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
2579         Gnulib section.
2580         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
2581         suggest a #define rather than a typedef for _Bool, and mention
2582         Gnulib rather than trying to substitute stdbool code.
2583         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
2584         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
2585         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
2586         AC_STRUCT_DIRENT_D_TYPE.
2587         (Particular Types): Mention stdint.h and inttypes.h as standard
2588         headers too.
2589         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2590         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
2591         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
2592         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
2593         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
2594         (C Compiler): Move AC_C_LONG_DOUBLE to ...
2595         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
2596         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
2597         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
2598         (Coding Style).  Don't mention m4_expand_once.
2599         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
2600         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
2601         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
2602         (AC_CHECK_FUNCS): Use it.
2603         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
2604         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
2605         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
2606         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
2607         (AC_HEADER_ASSERT): New macro.
2608         (AC_HEADER_STDBOOL): Don't assume "#error" works.
2609         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
2610         Catch a bug in an HP-UX C compiler.
2611         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
2612         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
2613         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
2614         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
2615         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
2616         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
2617         New macros.
2619         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
2620         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
2622 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
2624         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
2625         of the warning introduced by the 2001-08-28 change.
2627 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
2628             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2630         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
2631         variables shall be overriden by the cache.
2632         * tests/torture.at (AC_ARG_VAR): Test also with a first value
2633         that contains braces.
2635 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
2637         Revert the patch from 2006-04-01 and only improve
2638         _AS_DETECT_BETTER_SHELL:
2640         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
2641         skip nonexistent directories.
2642         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
2643         only shell candidates which exist.
2644         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
2645         * lib/autotest/general.m4 (AT_INIT): No need to give three
2646         parameters to _AS_PATH_WALK.
2648 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
2649             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2651         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
2652         distinguish m4sugar macros.
2653         * tests/tools.at (autoupdating with aclocal and m4_include):
2654         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
2655         test case by Noah Misch <noah@cs.caltech.edu>.
2657 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
2659         Revert my change from 2006-03-17, in other words:
2660         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
2661           and DUALCASE=1.
2662         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
2663         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
2664           it is set.
2666 2006-04-07  Eric Blake  <ebb9@byu.net>
2668         * doc/autoconf.texi (Programming in M4sh): Document that
2669         AS_MKDIR_P exits the script on failure.
2670         * lib/autotest/general.m4: Remove redundant AS_ERROR.
2672 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2674         * config/elisp-comp, config/install-sh, config/mdate-sh,
2675         config/missing, config/mkinstalldirs: Sync from Automake.
2677         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
2678         from Automake.
2680         * doc/make-stds.texi: Sync from gnulib.
2682 2006-04-06  Eric Blake  <ebb9@byu.net>
2684         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
2685         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
2686         2006-04-01.
2688 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
2689             Eric Blake  <ebb9@byu.net>,
2690             Paul Eggert  <eggert@cs.ucla.edu>,
2691             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2693         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
2694         whether `set' quotes correctly: redirect stderr of the tested
2695         `set', and use a subshell, for Ultrix; use `sed' instead of
2696         `grep' for zsh `set' which may write binary output; match only
2697         at the beginning of a line, to avoid false positives.
2698         In order to avoid false positives by unrelated variables with
2699         multiline content, put the dump algorithm in a subshell and
2700         unset all variables containing newlines (except some which are
2701         special to the shell).  Warn about cache variables that are
2702         unset.
2704 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2706         * config/config.guess, config/config.sub, config/texinfo.tex:
2707         Sync from upstream.
2709         * tests/mktests.sh: Reword comments.
2711         * tests/mktests.sh: Only skip internal macros starting with
2712         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
2713         Update exclusion lists for the test suite to this end:
2714         (AC_ARG_VAR): Do test this now.
2715         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
2716         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
2717         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
2718         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
2720         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
2721         shell issue with double-quoted command substitutions of native
2722         commands.
2723         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
2724         Marshall.
2726         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
2727         no file matches the glob, discard the warning, set `nullglob'.
2728         (syntax-check): Likewise.
2729         (sc_cast_of_x_alloc_return_value): Likewise.
2730         (sc_cast_of_alloca_return_value, sc_error_exit_success)
2731         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
2732         (m4-check): Likewise.
2733         (sc_system_h_headers): Do not print rule on execution.
2734         (sc_tight_scope): Do not fail for non-existing `src' directory.
2735         (sc_changelog): Skip the Copyright footer.
2736         * lib/autoconf/lang.m4: Remove trailing space.
2738         * lib/autoconf/status.m4: More replacements to
2739         <tab><space> where this makes sense.
2741 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
2743         * tests/Makefile.am (maintainer-check-posix):
2744           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
2746         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
2747           ac_config_<foo>s again, sometimes normalized, sometimes not.
2748         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
2749         (AC_CONFIG_COMMANDS): Do not do so here.
2750         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
2751           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
2752           2005-07-25 rewrite.  Noticed by Noah Misch.
2754         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
2755           _AC_PRESERVE_HELP_ORDER, ...
2756         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
2758         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
2759           inside m4_expand_once; it is redundant.
2761         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
2762           for --help from Cygnus `configure.'
2764 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
2766         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
2767         on a patch proposed by Ralf Wildenhues.
2769 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
2771         * lib/autoconf/status.m4: Replace <space>''<tab> with
2772         <tab><space> where this makes sense.
2774 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
2775             Noah Misch  <noah@cs.caltech.edu>
2777         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
2778         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
2779         * doc/autoconf.texi (Help Formatting): New node.
2780         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
2782 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2784         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
2785         lib/autoconf/specific.m4, lib/autoconf/status.m4,
2786         lib/autoconf/types.m4, lib/autotest/general.m4,
2787         tests/mktests.sh, tests/torture.at: White space cleanup:
2788         remove some SPACE before TAB, or add quoting ('' or @&t@).
2790         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
2792         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
2794 2006-04-05  Eric Blake  <ebb9@byu.net>
2796         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
2797         empty test suite works.
2798         * tests/autotest.at (Empty test suite): Remove xfail.
2800 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
2802         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
2803         TAGS to ac_config_<foo>s.
2804         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
2805         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
2806         normalizing it, consistent it with previous releases.
2807         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
2809 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
2811         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
2812         Use simplified args that Eric Blake originally suggested.
2814 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
2816         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
2817         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
2818         Use 'comm' rather than N instances of grep; this also fixes a bug
2819         whereby substrings were incorrectly matched, causing us to not
2820         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
2821         (exclude_list): Exclude empty macros.
2822         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
2824         Use awk rather than grep -E or egrep, to avoid
2825         portability problems with regular expressions containing newlines.
2826         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
2827         Switch from grep to awk syntax.
2828         (ac_exclude_script): Renamed from ac_exclude_egrep.
2829         (au_exclude_script): Renamed from au_exclude_egrep.
2831 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
2833         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
2834         a subdirectory subject to Cygnus `configure'.
2835         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
2837         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
2838         report request when we have no AC_PACKAGE_BUGREPORT.
2840 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2842         * THANKS: Update.
2844         * tests/mktests.sh: Update copyright year in the header of the
2845         generated files.
2847         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
2848         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
2849         typedef'ed restricted pointer, to catch a compiler bug on
2850         HP-UX 11.x, and fix warnings so it passes with -Werror.
2851         (_AC_PROG_CC_C99): Likewise.
2852         Reported by Albert Chin <china@thewrittenword.com>.
2853         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
2855 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
2857         * bin/autoscan.in (subdirs): New global.
2858         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
2859         (output): Emit AC_CONFIG_SUBDIRS as needed.
2860         * tests/autoscan.at (autoscan): Remove XFAIL.
2862 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
2864         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
2866 2006-04-03  Eric Blake  <ebb9@byu.net>
2868         * THANKS: Add myself.
2870 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2872         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
2873         to log, point to testsuite output tree.
2875 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
2877         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
2878         * doc/autoconf.texi (Function Portability): Mention that C++
2879         has trouble with 'exit'.
2880         (Guidelines): Test programs shouldn't use 'exit'.
2881         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
2882         Remove; all uses removed.
2883         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
2884         Return from 'main' instead of calling 'exit'.
2885         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
2886         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
2887         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
2888         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2889         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
2890         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2891         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
2892         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
2893         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2894         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
2895         * tests/compile.at: Likewise.
2897 2006-04-02  Pavel Roskin  <proski@gnu.org>
2899         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
2901 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2903         Clean up _AC_COMPILER_EXEEXT* macros.
2905         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
2906           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
2907           ac_file to the name of the default output file and call
2908           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
2909           initial `rm' of the candidate files...
2910         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
2911           the same list in subsequent `rm' calls, and for the temporary
2912           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
2913           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
2914         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
2915         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
2916           no longer needed) by libtool.  Make it a cache check.
2917         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
2918           copied here by mistake.
2919         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
2920           _AC_COMPILER_EXEEXT.
2921         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
2922           _AC_COMPILER_OBJEXT directly.
2923         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2925 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2927         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
2928         (AS_DIRNAME): Use it.
2929         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
2931         * tests/*.at: Remove the generated ones.
2933 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2935         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
2937 2006-04-01  Eric Blake  <ebb9@byu.net>
2939         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
2940         directories, unless optional third argument supplied.
2941         (AS_UNAME): Don't optimize PATH walk.
2943         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
2945 2006-04-01  Eric Blake  <ebb9@byu.net>
2946         and Stepan Kasal  <kasal@ucw.cz>
2948         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
2949         and fix some typos.
2951 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
2953         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
2954         Autoconf version number despite a zero- or one-argument AC_INIT.
2956         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
2957         subordinate tools.
2958         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
2959         * doc/autoconf.texi (autoreconf Invocation): Document it.
2961         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
2962         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
2964 2006-04-01  Eric Blake  <ebb9@byu.net>
2966         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
2967         * lib/autotest/general.m4: Be tolerant of existing directory when
2968           rm failed to remove it.
2970 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2972         * bin/autoupdate.in: Redefine m4_location so that warnings print
2973         the correct lines of the input file by subtracting..
2974         (_au__first_line): ..this new definition.
2976         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
2977         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
2978         Remove stray newline in output.
2979         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
2980         AC_DEFUN this for autoconf, including the obsoletion diagnose.
2981         Fixes autoupdating of code where the replacement output contains
2982         m4sugar macros.
2983         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
2984         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
2985          (au_exclude_list): Add AC_LANG_SAVE.
2986         * tests/tools.at: Several new tests for all of this.
2987         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
2988         hairy details.
2989         The AC_LANG_SAVE issue was reported against Libtool by
2990         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
2991         Kristian Kvilekval <kris@cs.ucsb.edu>.
2993 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2995         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
2996           switch all of them on and of when necessary.  Fixes the bug when
2997           m4sugar macros (e.g., m4_define) were expanded after the first
2998           automatic update (e.g., after AC_PREREQ or AC_INIT).
3000 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
3002         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
3003         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
3005         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
3006         correctly.  Problem reported by Eric Blake.
3007         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
3008         Ralf Wildenhues.
3010 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
3012         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
3013         Tighten up the basename/dirname wording.
3015 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3017         * Makefile.maint (sc_texi_notab): New check: do not use TABs
3018         in texinfo files outside of verbatim environments.
3019         (syntax-check-rules): Update.
3020         * doc/autoconf.texi (Configuration Headers): Conform to it.
3022 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
3024         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
3025           aclocal cannot be given on the command line.
3027 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
3029         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
3030         Give an example for AS_DIRNAME instead of referring to Posix..
3031         (File System Conventions): Put discussion of // versus / here, and
3032         modernize it a bit.
3033         (Limitations of Usual Tools): Add basename.  Remove verbiage
3034         after dirname, since it got moved to the above sections.
3035         All this was inspired by a patch proposed earlier by Eric Blake.
3037 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3039         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
3040         `$0' to protect against spaces.
3041         * lib/autotest/general.m4 (AT_INIT): Likewise.
3042         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
3043         `$0', $as_me.
3045 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3047         * bin/autoscan.in: The value of find_configure_ac should be
3048         checked for existence, so we don't barf over a nonexisting
3049         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
3051 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3053         * bin/autoupdate.in: Fix some typos.
3055 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
3057         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
3059         * lib/autoscan/autoscan.list: Refreshed.
3061 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3063         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
3064         and Erlang related variables.
3066         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
3067         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
3068         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
3069         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
3070         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
3071         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
3072         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
3073         (_AC_PROG_OBJC_G): New macros.
3074         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
3075         * doc/autoconf.texi (Objective C Compiler): New node.
3076         (Preset Output Variables): Document OBJCFLAGS.
3077         (Language Choice): Document `Objective C' language.
3078         (Fortran Compiler): Fix typo.
3079         * NEWS: Updated.
3080         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
3082 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
3084         * doc/autoconf.texi (Default Includes): Fix typo
3085           s/AC_HEADERS_STDC/AC_HEADER_STDC/
3086         (Limitations of Usual Tools): s/unwriteable/unwritable/
3087         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
3088           Fix typos in the comments.
3090 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
3092         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
3093           Factor out the warning to...
3094         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
3095         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
3096         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3098         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
3099           case `ac_delim' when writing the sed script.
3101         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
3102           moved DUALCASE=1 ...
3103         (AS_SHELL_SANITIZE): ... here.
3104         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
3105           that it is set.
3107         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
3108           AC_SUBST.
3109         (_AC_PATH_PROG): Store the result to VARIABLE.
3110         (AC_PATH_PROG): No need to set VARIABLE again.
3112         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
3113           the first one is usual AT_CHECK_MACRO test, the second one checks
3114           that the same works when cross-compiling.
3115         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
3116         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
3118 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3120         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
3121         the directory `/usr/bin/posix' in the shell search, to prefer
3122         the Posix shell not only in subsequent spawns as with `$BIN_SH'
3123         on Tru64.
3125         * doc/autoconf.texi (contents): To fix texi2html output, hide
3126         `@setcontentsaftertitlepage' for HTML.
3127         (Writing Autoconf Macros): Likewise, insert space after `@c'.
3128         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
3129         `@,{c}'.
3131 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
3133         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
3134           sanitizing...
3135         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
3136         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
3137           why IFS is restored so late; thank you, Ralf, for reminding us.
3139 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
3141         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
3142           variables in the examples.
3144 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
3146         * doc/autoconf.texi (several sections): Cleaned up documentation for
3147         macros in erlang.m4.
3149 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3151         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
3152         failure condition for `$(cmd)' style command substitutions.
3153         (Parenthetical command substition, Multiline parenthetical
3154         command substition): Use it.
3156         * doc/autoconf.texi (Special Shell Variables): Missing word.
3157         Reported by Keith Marshall <keith.marshall@total.com>.
3159         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
3160         IFS even in case of empty `$PATH'.
3162 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3164         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
3165         `expr' away if there is nothing to do.
3166         < --keywords >: Simplify and robustify argument handling.
3167         Revert erroneous comment from 2005-08-23.  Extend to allow
3168         keyword negation with `!'.
3169         Update help message.  Remove broken code to prevent running
3170         tests multiple times.
3171         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
3172         Update and fix the documentation accordingly.
3173         * tests/autotest.at (Keywords): Renamed to..
3174         (Keywords and ranges): .. this.  Extended to make sure negated
3175         keywords, keywords taken from AT_SETUP arguments, and numeric
3176         test ranges work, and that matching is case-insensitive.
3178 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3180         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
3181         allow to pass unnamed structs even in C++.
3182         (AC_CHECK_SIZEOF):  Likewise.
3183         Also fix quoting error in `AC_MSG_FAILURE' arguments.
3184         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
3185         struct): New tests for unnamed structs, each both native and
3186         cross-compiling.
3188         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
3189         a structure inside a cast, for C++ conformance.
3190         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
3191         Also fix quoting error in `AC_MSG_FAILURE' arguments.
3193         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
3194         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
3195         trying to execute the command `no'.
3197         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
3198         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
3199         expanded outside.
3201         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
3202         example.  Do not emphasize `$%', it is hardly new and special.
3203         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
3205         * doc/autoconf.texi (Limitations of Usual Tools): Document
3206         OpenBSD and traditional `grep' failure to handle multiple
3207         patterns separated by newlines.
3209 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
3211         * doc/autoconf.texi (several sections): Add documentation for macros
3212         in erlang.m4.
3214 2006-03-10  Eric Blake  <ebb9@byu.net>
3216         * doc/autoconf.texi (Obsolete Macros): Fix wording of
3217         AC_TRY_LINK_FUNC.
3219 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
3221         * doc/autoconf.texi: Use @acronym more consistently for acronyms
3222         like BSD, GPL, LGPL.  Fix minor English typos.
3223         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
3224         Mention that these macros are becoming obsolete.
3225         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
3226         Use more modern terminology for which standard is what.
3227         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
3228         and to ansi2knr.
3229         (AC_PROG_CXX): Likewise.
3230         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
3231         Remove obsolete discussion about how to port to K&R.
3232         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
3233         the obsolescent AC_HEADER_STDC.
3234         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
3235         can't rely on it.
3237 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3239         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3240         Remove stdin redirection from /dev/null to allow pipe to work.
3242 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
3244         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3245         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
3246         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
3247         Ralf Wildenhues.
3249 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3251         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
3252         HP-UX sed is 99 commands, not 100.
3253         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
3254         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
3255         newline for portability.
3256         * tests/torture.at (Torturing config.status): Also test 100
3257         AC_SUBST_FILE invocations.  Fix test to actually verify the
3258         AC_CONFIG_FILES output.
3259         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
3260         command, label, and read-file `r' limits.  Unify HP-UX spelling.
3262         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
3263         non-suffix rule.
3264         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
3265         non-GNU make.
3266         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
3267         * tests/mktests.sh: Small shell portability fixes.
3269 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3271         * doc/autoconf.texi (Caching Results): Fix the examples to use a
3272         recommended quoting style and discard unwanted output.
3274 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
3276         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
3277         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
3278         cases, and to work around Tru64 expr bug.
3280 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3282         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
3283         expr bug that turns the result of a regex match into a number if
3284         possible.
3286 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3288         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
3289         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
3290         in section `Specific Compiler Characteristics'.
3292 2006-03-04  Eric Blake  <ebb9@byu.net>
3294         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
3295         variable warning.
3297 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3299         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
3300         order of variable initialization, so even the Solaris 2.6 shell
3301         can create a config header correctly.  Fixes lots of test suite
3302         failures.
3304 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3306         * doc/autoconf.texi (Text processing Macros): New node to
3307         document the m4sugar macros m4_re_escape, m4_tolower,
3308         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
3310 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
3312         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
3313         XrmInitialize (0) -> XrmInitialize ().
3314         Reported by Toshio Kuratomi.
3316 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3318         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
3319         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
3320         * doc/autoconf.texi (Programming in M4sh): Adjusted.
3321         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
3322         both macros are defun'ed so that required macros are evaluated
3323         outside.
3325         * doc/autoconf.texi (Prerequisite Macros): State more precisely
3326         where a required macro will be expanded.
3327         (Coding Style): Another reason not to use `m4_define'.
3329 2006-02-21  Eric Blake  <ebb9@byu.net>
3331         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
3333 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3335         * doc/autoconf.texi (Looping constructs): New node, to
3336         document m4_for, m4_foreach, m4_foreach_w, and mention
3337         obsolete AC_FOREACH.
3338         (Obsolete Macros): Document AC_FOREACH.
3339         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
3340         (m4_for): Fix to never loop (almost) endlessly, work correctly
3341         with arithmetic expressions in arguments, a step of zero or
3342         non-integer multiple of the interval, and avoid integer
3343         overflow.
3344         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
3345         m4_foreach_w.
3347 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
3349         Add basic support for Erlang, both for configuring Erlang/OTP
3350         tools, and Erlang as a conf test language.
3351         * lib/autoconf/erlang.m4: New file.
3352         * lib/autoconf/autoconf.m4: Add erlang.m4.
3353         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
3354         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
3355         * NEWS: Add short description of new macros.
3356         * THANKS: Add Romain Lenglet.
3358 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3360         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
3361         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
3363 2006-02-15  Eric Blake  <ebb9@byu.net>
3365         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
3366         warning.
3368 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3370         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
3371         (_AS_CASE): Private helper macro.
3372         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
3373         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
3374         Fix syntax of AS_IF description
3375         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
3376         for the AC_REQUIRE mess.
3377         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
3378         AS_SHELL_SANITIZE.
3380 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
3382         * doc/autoconf.texi: Minor style cleanup.
3383         Be consistent about spaces after commas.
3384         Insert [] where empty args look a bit funny.
3385         Fix some "i.e." and "e.g." usages.
3386         Try to avoid "X/Y" usages.
3387         Don't be pedantic about "ISO C99"; just say C99.
3388         Prefer GNU style for spaces in front of parens.
3389         (Function Portability): Comment about C89 versus C99
3390         signed integer division.
3391         (Particular Headers): Use current gnulib style for dirent
3392         includes.
3394 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
3395         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3397         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
3398         macros without parameters.
3399         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
3400         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
3401         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
3402         `$#' bug.
3403         (autoupdate): Updated to match AU_ALIAS fix.
3405 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3406         and Paul Eggert  <eggert@cs.ucla.edu>
3408         * doc/autoconf.texi (Programming in M4sh): Document
3409         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
3411 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3413         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
3414         (AS_BOURNE_COMPATIBLE): ..this.
3415         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
3417 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
3419         * doc/install.texi (Defining Variables): Tighten up the
3420         CONFIG_SHELL wording.
3422 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
3423         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3425         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
3426         of (set -o) rather than testing whether (set -o posix) succeeds,
3427         to work around a bug in the AIX 5.3 shell.  Problem originally
3428         reportd by Howard Chu for libtool.
3430 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
3432         * doc/autoconf.texi (Running the Compiler, Running the Linker):
3433         Changes the macro arguments in summaries to match the
3434         descriptions.
3436 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
3438         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
3439         hint as ``a workaround for a bug.''
3441 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3443         * bin/autoreconf.in: New option `--no-recursive'.
3444         Improve wording for subpackages a bit.
3445         * doc/autoconf.texi (autoreconf Invocation): Updated.
3446         * NEWS: Updated.
3448         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
3449         in environment of `configure', not the command line.
3450         Reported by Howard Chu <hyc@highlandsun.com>.
3452 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
3454         * doc/autoconf.texi (Limitations of Builtins): Document the
3455         problem with "trap -".
3457 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
3459         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
3460         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
3461         messages to differentiate Fortran and Fortran 77 tests.
3462         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
3463         AC_LANG_ASSERT, to allow use in mixed-language projects.
3465 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
3467         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
3468         FOO" to "defined (FOO)".
3469         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
3470         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
3471         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
3472         * tests/tools.at (ifnames): Likewise.
3474 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3476         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
3477         * lib/Autom4te/General.pm (mktmpdir): Likewise.
3478         (END): Improve error message a bit.
3479         Reported by Bruce Korb <bkorb@gnu.org>.
3481 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3483         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3484         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
3486 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
3488         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
3489         requires sys/stream.h.  Reported by Oliver Kiddle.
3491 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3492             Stepan Kasal  <kasal@ucw.cz>
3494         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
3495         before the removals of test dirs, use `find' to avoid modification
3496         of symlinked directories.
3498 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
3500         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
3501         Don't ignore the macro arguments.
3503 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
3505         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
3506         declaration that works for MSVC.
3508 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3510         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
3511         Add `*.map' and `.inf' for Green Hills compiler.
3512         Reported by Stefan Seefeld <stefan@codesourcery.com>.
3514         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
3515         correctly: pad with spaces after FIRST_PREFIX if necessary,
3516         and compute string lenghts with `m4_qlen' instead of `m4_len'.
3517         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
3518         * tests/m4sh.at (AS_HELP_STRING): Test extended.
3519         * NEWS: Updated.
3520         Reported by numerous people, numerous times.
3522 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
3524         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
3525         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
3526         * lib/autoconf/general.m4, lib/autoconf/status.m4:
3527         * lib/autotest/general.m4, tests/local.at:
3528         Update copyright year to 2006.
3530         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
3531         sed substitutions.
3532         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
3533         for file names, again.  Reported by Noah Misch.
3534         (Coding Style): Explain that s|a|b| is preferred for file names.
3535         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
3536         (AC_OUTPUT_MAKE_DEFS): Likewise.
3537         * lib/autotest/general.m4 (AT_INIT): Likewise.
3538         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
3539         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
3541         Fix Posix-conformance bugs re use of { command in sed scripts,
3542         and improve the sed-related documentation a bit.
3543         * doc/autoconf.texi (Installation Directory Variables): Use
3544         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
3545         rather than "sed" when talking about Sed in general.
3546         (Particular Programs): Likewise.
3547         (Coding Style): y is like s with respect to / and ,.
3548         (Limitations of Usual Tools): Document the weird restrictions
3549         that Posix has about { }.  Use better quoting.
3550         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
3551         Rewrite to conform to Posix rules about { } in sed scripts.
3552         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
3553         * tests/foreign.at (Libtool): Likewise.
3554         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
3555         Use our own style advice re 's,a,b,' versus 's|a|b|'.
3557 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3559         * lib/autoconf/status.m4: Fix typo.
3561         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3562         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
3563         `-def', for the benefit of Portland `pgf90 -Mipa'.
3564         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
3566 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
3568         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
3569         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
3570         shell from zsh to bash.
3572 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
3574         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
3575           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
3577 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
3579         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
3580         parentheses in $(...).  Problem reported by Eric Blake.
3582 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
3584         * doc/autoconf.texi (Limitations of Usual Tools):
3585         Mention which characters can be escaped with \ in portable regular
3586         expressions used in grep, sed, expr.  Mention the leading ^ problem
3587         with expr.  Clean up some confusing wording.  Mention which
3588         grep options are portable.
3590 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
3592         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
3594 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
3596         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
3597         patch, noted by Ralf Wildenhues.
3599 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3601         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
3602         posix' unconditionally, for pdksh in `native sh' emulation.
3604 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
3606         * doc/autoconf.texi (Shellology): Document eval $? problem
3607         with ash.
3608         (Limitations of Builtins): Likewise.
3610 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3612         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
3613         CONFIG_SHELL in the environment of the configure rerun.
3614         * doc/autoconf.texi (Here-Documents, config.status Invocation):
3615         Suggest passing CONFIG_SHELL absolute, and in the environment
3616         rather than as option.
3618 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3620         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3621         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
3622         Fix macro quoting.  Fix output for n * 98 substituted variables.
3624 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3626         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
3627         `tmp' to avoid file removal race.
3629 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3631         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
3632         ac_clean_files and LIBOBJS.
3634 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3636         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
3637         Factor functionality to..
3638         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
3639         `AC_SUBST($1)' in the public version.
3640         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
3641         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
3642         ac_pt_* variables.
3644 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
3646         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
3647         filesystems.
3649 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3651         * NEWS: Move AH_HEADER mention to right place.
3653 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
3655         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
3656         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3658 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
3660         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
3661         conftst2.$ac_objext.
3662         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3664 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
3666         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
3667         conftest.o, to see whether the compiler really obeys; rm the object
3668         file before and after the test and register it with ac_clean_files.
3669         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3671 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
3673         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
3674         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
3675         code so that the most common case requires less forks.
3677 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
3679         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
3680         not portable; thanks to Paul Eggert and Alexandre.
3682         * NEWS: Fix an old typo.
3684 2005-10-20  Jim Meyering  <jim@meyering.net>
3686         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
3687         the latter'', in two places.
3689 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
3691         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
3692         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
3693         the inner workings of AC_LANG_FUNC_LINK_TRY.
3694         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
3695         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
3696         by the function rather than ignoring it.
3697         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
3698         comparing its address.  Intel's interprocedural optimization was
3699         outsmarting the old heuristic.  Problem reported by
3700         Mikulas Patocka.
3702 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
3704         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
3706 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
3708         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
3709         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
3711 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
3713         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
3714         before removing it (chmod -R u+rwx); there are three instances of this.
3716 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3717             Stepan Kasal  <kasal@ucw.cz>
3719         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
3720         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
3721         make its content writable before removing it.  Remove an errorneous
3722         comment from the end, where the logs of the failed tests are copied
3723         to the main log file.
3725 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
3727         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
3728           in case the computer is too quick.  Double quote the configure.ac
3729           snippets.
3731         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
3732           problems if the testsuite were running too fast.
3734 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
3736         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
3737         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
3738         (which belong to Xt, not X itself).  See Debian bug 327655.
3739         * NEWS: Mention this.
3741 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
3743         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
3745 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
3747         * config/move-if-change: Don't output "$2 is unchanged";
3748         suggested by Ben Elliston.  Handle weird characters correctly.
3750 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
3752         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
3753           calls, so that the final expansion of this macro is shorter.
3754           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
3755           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
3756           the cleanup there.  Use AS_VAR_* macros, to be more general.
3757         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
3759         * lib/autoconf/general.m4: Use AS_IF where appropriate.
3761         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
3763 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
3765         * doc/autoconf.texi (Configuration Headers): Add an index entry
3766           for AH_HEADER.
3768 2005-08-26  Pavel Roskin  <proski@gnu.org>
3770         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
3771         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
3772         running xmkmf.
3774 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
3776         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3777         The previous patch didn't work, so try a better one.
3779 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
3781         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
3782         in the example.  Reported by Bruno Haible.
3783         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
3784         "if $undefined_var;" succeeds with my shell.
3786         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
3787         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
3788         but change the m4_divert_text to m4_divert_once.
3790 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
3792         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3793         Work around bug in Solaris /usr/xpg4/bin/awk.
3794         The bug is present in at least Solaris 8 through 10.
3796 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
3798         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
3799         some evil values and relying on the fact that $* concatenates the
3800         parameters by the first character from IFS.
3802 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
3803             Stepan Kasal  <kasal@ucw.cz>
3805         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
3806         first header appears, define AH_HEADER.
3807         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
3808         Update limitations about when to call AC_CONFIG_HEADERS.
3809         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
3810         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
3811         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
3812         ``Configuration Actions''; fix their index entries.
3814         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
3815         options correctly.  Process N-M as M-N if M is smaller than N.
3816         Process ranges correctly so that N-N will run only N.
3817         Sort and uniquify the tests that will be run.  If there is more
3818         than one test, reinsert the banners for the tests.
3819         * tests/autotest.at (Keywords): Unmark XFAIL.
3821 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
3823         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
3824           before passing the macro name to AH_TEMPLATE.
3826         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
3827           now opens log after option processing; in particular, --version
3828           and --help do not touch config.log.
3830         * Makefile.maint: Revert the change from 2005-08-12.
3832 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
3834         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
3835           common code to...
3836         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
3838 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3840         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
3841         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
3842         Language cleanup.
3844         * doc/autoconf.texi (Defining Symbols, Changed Results):
3845         Prepend to LIBS, not append, in examples.
3847 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
3849         When building in place, set srcdir="."; suggested by Tim Van Holder.
3851         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
3852           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
3853         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
3854         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
3855           does not mean "no --srcdir option".
3857 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3859         * tests/autoscan.at (autoscan): New file.
3860         * tests/suite.at: Use it.
3861         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
3862         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
3864         * tests/autotest.at (Keywords): Test keywords combinations.
3866 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
3868         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
3869           add "2>&1"; gzip 1.2.4 prints help on stderr.
3871 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
3873         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
3874         was pushdef'ed twice while popped only once.  Push it only once.
3875         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
3877 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
3879         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
3880         prefixed by mere "===", not "configure: === ".
3882 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
3884         * Makefile.maint: Update from Bison.
3886         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
3887         "<tab>" in comment, so that the point is understandable.
3889 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
3891         Rewrite substantial part of lib/autoconf/status.m4.
3892         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
3893         and CONFIG_COMMANDS are not processed in four separate loops.
3894         Instead, there is one main loop.  This alows that the common code
3895         is expanded only once, thus config.status (and configure) is smaller.
3897         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
3898         the AC_LIST_FILES and cousins macros are no longer used.
3900         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
3901         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
3902         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
3903         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
3904         contain the initialization, nor the for loop, nor the associated
3905         commands; all these go to ...
3906         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
3907         _AC_OUTPUT_CONFIG_STATUS.
3908         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
3909         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
3910         (_AC_OUTPUT_FILE): The creation of the sed script ...
3911         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
3912         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
3913         _AC_OUTPUT_MAIN_LOOP.
3914         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
3915         _AC_CONFIG_COMMANDS): Use ...
3916         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
3917         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
3918         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
3919         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
3920         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
3921         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
3922         ... new macros.
3923         (_AC_CONFIG_UNIQUE): Update.
3924         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
3925         Replaced by this ...
3926         (_AC_LIST_TAGS): ... new common macro.
3927         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
3928         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
3929         (_AC_LIST_TAG_COMMANDS): ... new common macro.
3930         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
3931         this didn't belong to the `config commands' section.
3932         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
3933         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
3934         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
3935         to the `config commands' section either.
3936         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
3937         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
3939         ... and many changes to the comments nearby.
3941         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
3942         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
3943         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
3944         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
3945         (#define header templates): The comment at the top of the generated
3946         header now includes the name(s) of the source file(s).
3948         Several unrelated small changes:
3950         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
3951         parameter to AC_DIAGNOSE.
3952         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
3953         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
3954         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
3955         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
3956         with AU::AC_OUTPUT.
3957         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
3958         in AC_OUTPUT doesn't double-quote it either.
3959         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
3960         parameters.
3962 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
3964         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
3965         versions of Portland Group compiler produce single- and double-quoted
3966         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
3967         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
3969 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
3971         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
3972         This is a corrected version of yesterday's patch.
3974 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
3976         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
3977         path, too; insert a "===" to emphasize the line.
3979         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
3980           ac_cv_build_alias to ac_build_alias.
3981         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
3983         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
3984         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
3985         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
3986         (AC_ARG_VAR): ... here.
3987         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
3988           target_alias.
3990         Keep a list of all precious variables and process them with one simple
3991         for loop, instead of expanding all commands, or, OTOH, complicated
3992         processing of output of "set".
3993         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
3994         variable names in new macro...
3995         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
3996         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
3997           a loop to assign all ac_env_* and ac_cv_env_* variables.
3998         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
3999           to INIT_PREPARE.
4000         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
4001           its value to shell variable ac_precious_vars and call
4002           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
4003         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
4004           _AC_ARG_VAR_VALIDATE.
4006         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
4007           and the AC_SUBSTs ...
4008         (AC_INIT): ... here.
4010         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
4011           the ac_subst_files section in config.log.
4013         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
4015 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
4017         * NEWS: New macro AC_C_TYPEOF.
4018         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
4019         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
4020         * tests/c.at (C keywords): Test AC_C_TYPEOF.
4022         Fix problems reported by Nicolas Joly.
4023         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
4024         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4025         They are generated by the Tru64 v5.1B shell.
4027 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
4029         Fix my changes from 2005-07-01; reported by Noah Misch.
4030         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
4031         description, the macro now accepts only a single tag.
4032         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
4034         Fix cases when the varsions of Autoconf and Autotest don't match.
4035         Reported by Noah Misch.
4036         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
4037         at_top_builddir, for compatibility with older autotest.
4038         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
4039         is not set, use at_top_builddir, for compatibility with older
4040         versions of autoconf.
4042 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
4044         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
4045         Problem reported by Patrick Welche.
4047 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
4049         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
4050         sed substitution command, so that we allow | in program prefixes
4051         and program suffixes.  (& is a problem anyway; we're not fixing
4052         that here.)
4053         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
4054         configure_input, top_builddir, srcdir, etc.
4055         * lib/autotest/general.m4 (AT_INIT): Likewise, for
4056         PATH_SEPARATOR in AUTOTEST_PATH.
4058 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
4060         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
4061         for loop over config.site files using `set', to allow
4062         directory names containing IFS characters.
4064 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
4066         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
4067         directories with weird names.  Apparently some people like living
4068         on the edge.  However, improve the test that "pwd" actually does
4069         report a name for the working directory.
4070         * NEWS: Remove the claim that we test for funny chars in dir names.
4072 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
4074         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
4075         replaced ...
4076         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
4077         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
4078         Now accept a single tag, not whitespace separated list.
4079         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
4081 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
4083         * doc/autoconf.texi (Configuration Headers): Change the explanation
4084         about #include <config.h>.
4085         (Generic Functions): Mention the Gnulib project.
4086         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
4088         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
4089         document to output the default config_* lists to config.status.
4090         Don't recognize option --file, if the functionality is not there.
4091         Likewise for --header; moreover, recognize --he and --h as shortcuts
4092         for --help in that case.
4094         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
4095         matches the order of execution.  No code changed.
4097 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4099         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
4100         single-quoted -cmdline argument in Portland Group compiler.
4101         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4103 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
4105         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
4107 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
4109         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
4110         descriptors to child processes; reported by Norman Gray.
4112 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
4114         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
4116         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
4117         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
4118         (AC_SUBST): Call it.
4119         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
4120         the directory specific variables; but don't call it for configure_input.
4122 2005-06-28  Derek Price  <derek@ximbiot.com>
4124         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
4125         addition.
4127 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
4129         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
4130         directory have inherent problems with special characters like spaces,
4131         due to limitations in Make syntax.  Problem reported by Alexandre
4132         Duret-Lutz.
4133         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
4134         Also, fix Tru64 porting problem with shell patterns,
4135         reported by Ralf Wildenhues.
4137 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4139         * doc/autoconf.texi (Subdirectories): Fix markup typos.
4141 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
4143         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
4145         Fix some more shell quoting problems.  Prompted by a bug report
4146         from Justace Clutter.
4147         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
4148         variable into diagnostic.  Make the diagnostic an error, not a warning,
4149         because we really don't support spaces and suchlike in dir names.
4150         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
4151         Don't worry about backslashes in srcdir; it can't happen now.
4152         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
4153         Simplify ac_optarg handling.
4154         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
4156 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
4158         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
4159         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
4160         * tests/atlocal.in: Propagate $EGREP and $SED.
4161         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
4162         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
4164         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
4165         that '\|' is not allowed in BREs; recommend using newline separated
4166         list of patterns instead of multiple -e options.
4168         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
4170         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
4172 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4174         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
4176 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
4178         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
4179         b, t, r, w commands require single space, while : cannot have any.
4180         (Special Shell Variables): Fix sed code this in the example.
4181         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
4182         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
4184         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
4185         expand to the empty list.  Don't use two pairs of m4_changequote,
4186         it's not necessary.
4188 2005-06-20  Derek Price  <derek@ximbiot.com>
4190         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
4192 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
4194         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
4195         * doc/autoconf.texi:
4196         Don't mention Solaris versions so much, if a
4197         problem is common to all extant versions of Solaris.  Say "SunOS
4198         4" instead of "SunOS" for SunOS 4.
4199         (awk): Mention more of the limitations of traditional Awk.
4200         (cat): Don't talk about cat -v.
4202 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
4204         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
4205         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
4206         but the implementation is entirely different and is designed
4207         to be compatible with glibc strverscmp.
4208         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
4210         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
4211         on Mac OS X 10.4 reported by Peter O'Gorman in:
4212         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
4213         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
4214         Use shell builtins rather than 'expr', to work around expr bug.
4216 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
4218         * doc/autoconf.texi: "filesystem" -> "file system".
4219         "behaviour" -> "behavior".
4220         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
4221         * lib/autoconf/general.m4: Omit blank after ":" sed command,
4222         as per POSIX.
4223         * lib/m4sugar/m4sh.m4: Likewise.
4224         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
4225         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
4227         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
4228         (.x.1): Ignore the time stamp in the .TH line when deciding whether
4229         to update the man page.  That way, we don't have to check in new
4230         man pages every month.
4232         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
4233         quotes and backslashes.  Patch from Derek Price.
4235 2005-06-10  Derek Price  <derek@ximbiot.com>
4237         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
4238         AS_TR_SH.
4240 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
4242         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
4243         -u, since it outputs chatter if the input files are the same.
4244         Problem reported by Ralf Menzel.
4246 2005-06-08  Derek Price  <derek@ximbiot.com>
4248         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
4249         renaming them since they are about to be redefined anyhow.
4251 2005-06-08  Derek Price  <derek@ximbiot.com>
4253         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
4254         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
4255         Move m4_undefine to alphabetical order.
4257 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
4259         * README: Recommend GNU M4 1.4.3 or later.
4260         * doc/autoconf.texi (Introduction): Likewise.
4261         Reword to avoid some formatting glitches.
4262         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
4263         Clarify explanation of HP compiler bug.
4264         Redo example output tp match current CVS snapshot.
4265         Use @example.org in email addresses when the examples
4266         might get inadvertently cut-and-pasted into user code.
4267         Remove example of autom4te usage that doesn't seem to work now.
4268         Use modern AC_INIT (except when the example is meant to be
4269         shown with Autoconf 2.13).
4270         Update ksh info for Solaris 9 and later.
4271         KB -> kB.
4272         Modernize description of Automake versions a bit.
4273         Don't claim a future version of Autoconf is near.
4274         * doc/install.texi: Reword to avoid some formatting glitches.
4276 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4278         * doc/autoconf.texi: Add [] to examples, so that the manual
4279         follows its own advice about quoting better.
4280         Reword to avoid some formatting glitches.
4281         * doc/installt.exi: Reword to avoid some formatting glitches.
4283         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
4284         Tru64 ksh pattern matching bug.  Reported against Libtool by
4285         Albert Chin <libtool@mlists.thewrittenword.com> and
4286         Nicolas Joly <njoly@pasteur.fr>.
4288 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
4290         m4_cdr of one-member list was [[]] (one-member list containing an
4291         empty string) instead of [] (an empty list.  Callers were skewed to
4292         match this misbehaviour.  As a consequence of this:
4293          - m4_foreach([x], [], [foo]) expanded to `foo', while
4294          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
4295         This bug has been fixed:
4297         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
4298           expand to an empty string; print error msg if called without
4299           an argument list.
4300         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
4301           misbehaviour; handle [] and [[]] correctly.
4303 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
4305         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
4306         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
4307           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
4309 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
4311         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
4312           swallow records with more than 99 fields.
4313         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
4314           parse the long line.
4316 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
4318         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
4319           swallow literals longer than 399.  Reported by Ralf Wildenhues.
4320         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
4321           to workaround this limitation.
4323 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
4325         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
4326         to gfortran, and make these the first two compiler names
4327         checked (following the general autoconf preference for gcc).
4329 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
4331         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
4332         (DISTCLEANFILES): Remove $(check_SCRIPTS).
4333         (testsuite): Make sure autotest.m4f is up-to-date before using it.
4335 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
4337         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
4338         expression of unbounded size when processing the --list
4339         option.  This runs afoul of a limit of 399 bytes per regular
4340         expression on AIX.  Problem reported by Ralf Wildenhues.
4342 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
4344         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
4345         * doc/autoconf.texi (Particular Headers): Reword example
4346         for multiline stdbool replacement.
4347         (Setting Output Variables): Reword text a bit.  Don't
4348         give all the details about |#_!!_#|.
4349         Reword description of line replacement.
4351 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
4353         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
4354         now contain newlines, and substituted files must be referenced on
4355         a line alone; the sed scripts to substitute them are now very
4356         different.
4357         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
4358         commands can be put in a sed script portably.
4359         * doc/autoconf.texi (Setting Output Variables): Document above
4360         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
4361         use of multiline substitution.
4362         * tests/torture.at: No longer expect substitution of newline to fail.
4364 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
4366         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
4367         From Ralf Menzel (trivial change).
4369 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
4371         * tests/local.at: Don't attempt to check for negated character
4372         classes in shell scripts.  The test was too brittle.
4374 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
4376         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
4377         * doc/autoconf.texi (Limitations of Builtins): Document this
4378           limitation.
4380 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
4382         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
4383           common code; used in many places in the tree.
4384         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
4385         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
4387         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
4389         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
4390           messages when ac_unique_file is not found.
4391         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
4392         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
4393           commands, for consistency with AC_MSG_ERROR and such.
4395         * bin/autoconf.as: Make more use of "shift 2" in option processing.
4397         * bin/Makefile.am: Merge the two rules for creating scripts.
4399 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
4401         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
4402         obsolete; it was never documented.
4403         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
4405 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
4407         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
4408         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
4409         (ac_top_builddir): ... this ...
4410         (ac_top_build_prefix): ... to this; the old name is also kept, for
4411           backward compatibility.
4412         (ac_top_builddir_sub): New variable, without the trailing slash,
4413           always nonempty.
4414         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
4415         * doc/autoconf.texi (Configuration Actions): Rename
4416           ac_top_builddir to ac_top_build_prefix.
4417         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
4418           at_top_builddir to at_top_build_prefix.
4419         * lib/autotest/general.m4 (AT_INIT): Likewise.
4421 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
4423         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
4424           of confdefs.h .
4426 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
4428         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
4429           argument to m4_foreach.  I guess it was necessary in the past,
4430           but I think it's a no-op now.
4432 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
4434         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
4435           ``cat <<_ACEOF'' commands to one.
4436         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
4437         * lib/autoconf/status.m4: On various places, use expr instead of
4438           ``echo|sed.''
4439         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
4440         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
4441         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
4442           a range.
4443         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
4444           the wrong patterns between ``case'' and ``esac.''  The previous
4445           code had false positives.
4447 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
4449         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
4450         as on 2005-05-02.
4451         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
4452         Mention LIBOBJDIR.
4454 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
4456         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
4457         ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
4458         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
4459         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
4460         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
4461         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
4462         config/config.guess, config/config.sub, config/elisp-comp,
4463         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
4464         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
4465         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
4466         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
4467         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
4468         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
4469         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
4470         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
4471         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
4472         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
4473         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
4474         lib/autoconf/general.m4, lib/autoconf/headers.m4,
4475         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
4476         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
4477         lib/autoconf/specific.m4, lib/autoconf/status.m4,
4478         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
4479         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
4480         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
4481         lib/autotest/general.m4, lib/emacs/Makefile.am,
4482         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
4483         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
4484         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
4485         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
4486         tests/compile.at, tests/foreign.at, tests/fortran.at,
4487         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
4488         tests/semantics.at, tests/suite.at, tests/tools.at,
4489         tests/torture.at, tests/wrapper.as:
4490         Update FSF postal mail address.
4492 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
4494         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
4495           check.
4496         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
4497           enough arguments, similarly as in m4_bpatsubsts.
4499 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
4501         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
4502           of absolute paths.
4504 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
4506         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
4507           for absolute directory names in one loop.
4508         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
4509           abbreviations of --version and --debug.
4511 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
4513         * doc/autoconf.texi (Autoconf Language): Be more precise about
4514         quoting rules.  Problems noted by Stepan Kasal.
4515         Also, throughout this document, be more careful about white space.
4516         "blank", "white space", and "space" all have different meanings
4517         and we should be careful to say what we mean.
4519 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
4521         Fix C++ related problems reported by Werner Lemberg.
4522         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
4523         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
4524         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
4525         avoid problems with C++ and throw.
4526         * tests/compile.at: .cpp, not .cc.
4528         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
4530 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4532         * doc/autoconf.texi (Generic Functions): Typos.
4534 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
4536         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
4537         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
4538         set by latest automake.
4540 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
4542         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
4543         outputs 0 on GNU/Linux these days.
4545 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
4547         * doc/autoconf.texi (Autoconf Language): Add more description
4548         about quoting heuristics.
4549         (Limitations of Builtins): Describe "set -" problems.
4551 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4553         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
4554         not newline.
4556         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
4557         by AC_DEFINE; it was a mistake.
4558         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
4560 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
4562         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
4564 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
4566         * doc/autoconf.texi (External Software): Quadrigraphs are not
4567           processed correctly in AS_HELP_STRING; avoid this in the examples.
4568         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
4569         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
4570           comment and reduce m4_default([foo], []) to [foo].
4571         (m4_strip): Update the explanation.
4573 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4575         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
4576         Remove core.conftest.* too; it's generated by Tru64 5.1.
4577         Problem reported by Jennis Pruett.
4578         * lib/autoconf/functions.m4
4579         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4580         Don't bother to remove core files; AC_RUN_IFELSE should do that
4581         for you.
4583 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
4585         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
4587 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
4589         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
4590         Report from Horst Wente.
4592 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
4594         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
4595           the comment.
4597 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
4599         * doc/autoconf.texi (External Software, Package Options): Add
4600           examples showing how to implement --with-* and --enable-* options.
4602 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
4604         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
4605         as well as configure.in.  Problem reported by Gregorio Guidi.
4607 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
4609         * doc/autoconf.texi (Particular Functions): Use gnulib's current
4610         pattern for alloca snippet.
4612 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
4614         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
4616 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
4618         * doc/autoconf.texi (Generic Programs): Fix a typo.
4620 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
4622         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
4623         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
4625 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4627         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
4628         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
4629         whole-archive (-zallextract, -zdefaultextract) options in the hope of
4630         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
4631         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
4633 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
4635         * NEWS: The configure command now warns you if you attempt to use
4636         a directory whose name contains a special character like space,
4637         newline, or "\".
4638         * doc/autoconf.texi (Installation Directory Variables): Allow
4639         "," in file names.  Do not use \@; it's not a portable regexp.
4640         * bin/Makefile.am (edit): Likewise.
4641         * lib/Makefile.am (edit): Likewise.
4642         * tests/Makefile.am (edit): Likewise.
4643         * tests/semantics.at: Likewise.
4644         * tests/torture.at: Likewise.
4645         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
4646         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
4647         * doc/autoconf.texi (File System Conventions): Warn about
4648         unportable file names.
4649         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
4650         (AC_INIT): Use it.
4651         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
4652         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
4653         ac_pwd, and quote srcdir.
4654         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
4656         * doc/autoconf.texi: Fix some systematic formatting problems.
4657         ".)"  needs a following @: if not at the end of a sentence, and
4658         similarly for "!)".  "etc." should be preceded by a comma.
4659         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
4661 2005-03-22  Bruno Haible  <bruno@clisp.org>
4663         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
4664         argument is often called 'build-aux'.
4666 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
4668         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
4669           macro AC_TRY_LINK is obsolete.
4670         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
4671           `AC_CONFIG_FILES'.
4673 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
4675         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
4676           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
4677           from a Common Lisp's `cl'.
4678         (AC_PROG_CXX): Behave according to the documentation: don't
4679           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
4680           make the variable CCC precious; use `cl.exe', not `cl'.
4682 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
4683             Alexandre Duret-Lutz  <adl@gnu.org>
4685         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
4686         /dev/null, as "configure" shouldn't read stdin, and this insulates
4687         us from problems (e.g., when testing for "cl").  Also, do this
4688         redirection before invoking "hostname" or "uname", and keep the
4689         original input stream available via...
4690         (AS_ORIGINAL_STDIN_FD): ... this new macro.
4691         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
4692         bother with "</dev/null" since it's now done at the top of
4693         'configure'.
4694         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
4695         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4696         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4697         * doc/autoconf.texi (File Descriptor Macros): New section.
4698         (Printing Messages): Mention it.
4699         * tests/base.at (Input/Output): New test.
4701 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
4703         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
4704         newline if neither \c nor -n work, as that would output two
4705         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
4707 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
4709         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
4710         This causes that any required macros inside will get before the if.
4711         * doc/autoconf.texi (autom4te.cache): A typo.
4713 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
4715         Undo previous change, except keep the change to
4716         lib/autoconf/programs.m4 that replaced grep with shell
4717         pattern-matching.  This is because net-snmp configure reads stdin.
4718         Reported by Noah Misch.
4720 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
4722         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
4723         from /dev/null, as "configure" shouldn't read stdin, and this
4724         insulates us from problems (e.g., when testing for "cl").
4725         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
4726         before invoking "hostname" or "uname".
4727         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4728         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
4729         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
4730         "</dev/null" since it's now done at the top of 'configure'.
4731         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4732         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4733         Also, replace grep with shell pattern-matching, to save a process.
4735 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
4737         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4738         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
4739         avoid thinking that Allegro Common Lisp's "cl" command is a C++
4740         compiler.
4742 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4744         * doc/autoconf.texi (Limitations of Usual Tools): Document that
4745         grep -q isn't portable.  Improve grep -s explanation.
4746         Problem reported by Dan Manthey.
4748 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
4750         * doc/autoconf.texi (Special Shell Variables): Clarify
4751         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
4753 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4755         * doc/autoconf.texi: Use @acronym for DJGPP.
4756         Fix some @code's that should have been @env's, and vice versa.
4757         Sort environment variable names.
4758         Mention that shells no longer inherit IFS.
4759         Don't recommend PATH_SEPARATOR=';' so strongly.
4760         Mention that $RANDOM might expand to the empty string.
4761         "symlink" and "soft link" -> "symbolic link".
4762         Improve mktemp description (reported by Bruno Haible).
4764 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
4766         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
4767         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
4768         Likewise.
4769         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
4770         Likewise.
4772 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
4774         * NEWS: Mention AT_COPYRIGHT.
4776         * tests/local.at (AT_CMP): Use diff directly on input files rather
4777         than copying them.
4779         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
4780         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
4782 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
4783         and Paul Eggert  <eggert@cs.ucla.edu>
4785         * tests/autotest.at (Empty test suite): New test.
4786         * tests/torture.at (Substitute and define special characters)
4787         (Substitute a 2000-byte string, Define to a 2000-byte string)
4788         (Substitute a newline, Define a newline): New tests.
4790 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
4792         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
4793         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
4794         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
4795         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
4796         (Standard regular expressions): New test.
4797         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
4798         excess test name quoting.
4799         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
4800         CPPFLAGS to `configure' instead of setting it in `configure'.
4802         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
4803         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
4804         on some platforms.
4806         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
4807         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
4809         * tests/local.at (AT_CMP): New macro.
4810         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
4811         (AC_SAVE_STATE): Move environment grep...
4812         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
4813         (AT_CONFIG_CMP): New macro.
4814         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
4815         * tests/c.at (Extensions): Do not exit early.
4816         * tests/atlocal.in: Inherit $GREP.
4818         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
4819         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
4821         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
4822         (AC_COPYRIGHT): Factor header comment portion out and move into...
4823         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
4824         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
4825         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
4826         --version output.
4827         * tests/local.at: Add Autoconf test suite copyright notice.
4828         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
4830 2005-02-04  Bruno Haible  <bruno@clisp.org>
4831         and Paul Eggert  <eggert@cs.ucla.edu>
4833         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
4835 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
4837         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
4838         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
4840         Try not to generated lines of unlimited length, as POSIX places a
4841         2047-byte limit on line length of portable text files.
4842         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
4843         Use newline as a separator, not space.
4844         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
4845         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
4846         space.
4848 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4850         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
4851         as_func_*.  Add test to check whether positional parameters
4852         are restored after function return.
4854 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
4856         * doc/autoconf.texi (Special Shell Variables): Mention _,
4857         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
4858         if they contain a lower-case letter.  The DUALCASE problem was
4859         reported by Ralf Wildenhues.
4861         * bin/autoconf.as: Don't exit with status 0 after write failure
4862         with --help or --version.
4863         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
4864         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
4866 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4868         * doc/autoconf.texi (Limitations of Usual Tools):
4869         Unicos 9 sed limitations.
4870         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
4871         to get the option-enhanced interface on older Crays.  Try ftn for
4872         Fortran 95 (newer Crays).
4874 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
4876         * man/Makefile.am (.x.1): Go back to the simple solution, but take
4877         care to echo the commands, so the user knows what's going on.
4878         Modified from a suggestion by Stepan Kasal.
4880         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
4881         with a cross reference.  Derived from a suggestion by Bruce Korb.
4883 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
4885         * doc/autoconf.texi (config.status Invocation): Warn about
4886         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
4887         * doc/install.texi (Defining Variables): Likewise.
4888         Based on a proposed patch by Ralf Wildenhues.
4890         * man/Makefile.am (.x.1): Make sure the required generated files
4891         are up to date.  Problem and original solution proposed by Stepan Kasal.
4892         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
4893         implicit-man-prerequisites): New rules, used by the above.
4895         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
4896         * config/config.guess, config/config.sub, config/install-sh: Likewise.
4897         * config/missing, config/texinfo.tex: Likewise.
4899 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
4901         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
4902         Update the long comment explaining it.
4904         m4_require no longer writes an ``is required by'' line to the
4905         execution stack.  It contains only one bit of non-redundant
4906         information: that the macro was required, not called.  And even
4907         this bit is useless in most situations: have you ever met a macro
4908         which both calls and requires the same macro?
4910         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
4911         (_m4_defun_pro_outer): ... only via this macro, for the outermost
4912           macro.
4913         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
4914         (m4_expansion_stack_pop): Remove the misplaced comment.
4915         (m4_require): Don't put the ``is required by'' line to the
4916           execution stack; slightly improve the out-of-a-defun error message.
4917         (_m4_divert_grow): New macro, counter for the temporary diversions.
4918         (_m4_require_call): Use it.
4919         * tests/m4sugar.at (m4_require): Expect output without the
4920           ``is required by'' messages.
4922 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
4924         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
4925         rather than x for expr.
4927         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
4928         this is safe.
4929         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
4930         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4931         * lib/autotest/general.m4 (AT_INIT): Likewise.
4932         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
4933         * tests/mktests.sh: Likewise.
4935 2005-01-27  Akim Demaille  <akim@epita.fr>
4937         Have autoheader honor --force.
4939         * doc/make-stds.texi, doc/standards.texi: Update from masters.
4940         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
4941         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
4942         from masters, so that FileUtils.pm's update_file provide --force
4943         support.
4944         * bin/autoheader.in: Pass $force to update_file so that
4945         config.h.in is always recreated when --force.
4947 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
4949         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
4951 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
4953         * doc/autoconf.texi (Limitations of Builtins): Clarify that
4954         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
4956 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
4958         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
4959         Warn about newline stripping in `` and $().  Update Solaris
4960         version to 9.
4961         (Limitations of Builtins): Use expr "X...", not expr "x...", as
4962         X insulates us from future changes to Posix.
4963         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
4964         stripping.
4966 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
4968         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
4969           you cannot use AC_DEFINE to define macros containing `[' or `]'.
4971 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
4973         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
4974         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
4975         bug-tar mailing list.
4977 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
4979         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
4981 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
4983         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
4984         ulongval to be static, to avoid unwanted GCC warning.  Problem
4985         reported by Michael Jennings via Daniel Reed; see
4986         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
4988 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
4990         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
4991         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
4992         datadir, infodir, and mandir.  Adjust argument parsing code.
4993         (_AC_INIT_HELP): Update help text.
4994         * doc/autoconf.texi (Installation Directory Variables): Document
4995         new variables.
4997 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
4999         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
5000         not seem to work, assume it does set $(MAKE).
5001         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
5003 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
5005         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
5007 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
5009         A cleanup of the diversion support in m4sugar.
5011         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
5012         (_m4_divert_n_stack): New macro; the expansion is
5013           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
5014           otherwise.
5015         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
5016         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
5017           stored in _m4_divert_diversion or _m4_divert_dump.
5018         (m4_divert_pop): When the parameter is given, compare the symbolic
5019           name with the last diversion pushed on the stack.  Previously, the
5020           current diversion was compared with the numeric value of the
5021           diversion given as the parameter.
5022         (m4_require): If the macro hasn't been expanded yet, call ...
5023         (_m4_require_call): this new macro.
5025 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5027         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
5028         Workarounds for documented `case' limitations.
5030 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
5032         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
5033         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
5035 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
5037         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
5038         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5039         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
5041         Patch from Roger Leigh (with some minor changes) as follows:
5042         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
5043         Resurrect AC_PROG_CC_STDC.
5044         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
5045         AC_PROG_CC_C89, AC_PROG_CC_C99.
5046         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
5047         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
5048         AC_PROG_CC_C99): New macros.
5049         (AC_PROG_CC_STDC): Use them.
5050         (_AC_PROG_CC_STDC): Remove.
5051         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
5052         * THANKS: Add Roger Leigh.
5054 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
5056         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
5057         signals that the package uses Automake; a `Makefile.am' is typical but
5058         not essential.  Reported by Magnus Therning.
5059         * tests/torture.at (autoreconf.): New banner.
5060         (autoreconf and non-AC configure): Rename to `Non-Autoconf
5061         AC_CONFIG_SUBDIRS'.
5062         (autoreconf an empty directory): Rename to `Empty directory'.
5063         (Unusual Automake input files): New test.
5065 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
5067         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
5068         (AT_SETUP): Clear AT_capture_files.
5069         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
5070         (AT_KEYWORDS): Fix comment typo.
5071         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
5072         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
5073         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
5075 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
5077         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
5078         If the variable to set is already set, set ac_cv_path_$1
5079         to the preset value so caller can assume ac_cv_path_$1
5080         is available.  (trivial change)
5082 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
5084         * BUGS (Minor Problems): Warn about makefile limitations.
5085         * Makefile.am: Find and update `INSTALL' in $(srcdir).
5086         * man/Makefile.am: Find and update manual pages in $(srcdir).
5088 2004-12-24  Eric Blake  <ebb9@byu.net>
5090         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
5091         shells in subshell, to avoid noise from ash.  (trivial change)
5093 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5095         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5096         problems with SunOS ksh and backslash escaping, Bourne shells and
5097         closing brackets (both within character classes).  Bug reported
5098         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
5099         <read>: New entry.  Mention non-availability of -r.
5101 2004-12-21  Akim Demaille  <akim@epita.fr>
5103         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
5104         avoid cluttering displayed messages.  Rather, prepend srcdir where
5105         AT_LINE is used for log files.
5107 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
5109         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
5110         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
5111           no longer part of the macro, quote the occurrence of ``$tmp''.
5112         * doc/autoconf.texi (Forbidden Patterns): Typo.
5114 2004-12-21  Akim Demaille  <akim@epita.fr>
5116         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
5117         separated from the test title by forcing a white space.
5119 2004-12-21  Akim Demaille  <akim@epita.fr>
5121         Enable Emacs navigation within testsuite.log files.
5123         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
5124         use the compilation mode.
5125         (AT_LINE): Point to the srcdir.
5127 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
5129         * tests/Makefile.am (installcheck-local): Use $(bindir).
5130         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
5131         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
5132         Makefile.am scheme Autoconf now uses.
5134 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
5136         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
5137         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
5139 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
5141         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
5142         (_AT_CHECK): Use it.
5143         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
5144         (AS_ESCAPE): Fix comment.
5145         * tests/autotest.at: Adjust section banner comments.
5146         (AT_CHECK_AT): Accept STATUS and STDERR.
5147         (AT_CHECK_AT_TEST): Likewise.
5148         (Invalid brace-enclosed parameter expansion)
5149         (Multiline command from M4 expansion)
5150         (Double-M4-quoted command): New tests.
5152 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
5154         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
5156 2004-12-17  Akim Demaille  <akim@epita.fr>
5158         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
5159         m4_pattern_allow.
5160         Suggested by Alexandre Duret-Lutz.
5161         * doc/autoconf.texi (Setting Output Variables): Catch up.
5163 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5165         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
5167 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5169         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
5170           remove the comment which said we cannot.
5172 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5174         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
5175         Reini Urban and Paul Eggert for reporting the dependencies.
5177         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
5178         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
5179         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
5181 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
5183         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
5184           so that eg. ``autoscan --help'' doesn't truncate it.
5186 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
5188         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
5189         generated conftest files.
5191 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
5193         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
5194         tracing on commands with possibly-escaped newlines.
5195         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
5196         discontinued behavior and its implications.
5197         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
5198         (BSx641-newline in command, BS-BS-newline in command)
5199         (BSx640-newline in command, Newline-CODE-BS-newline in command)
5200         (Single-quote-BS-newline in command)
5201         (Single-quote-newline-BS-newline in command): New tests.
5203 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
5205         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
5206           on platforms where it works.
5207         (_AS_TEST_PREPARE): Test for ``test -x''.
5208         (_AS_BROKEN_TEST_PREPARE): Nuke.
5210 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
5212         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
5213         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
5214           give only 4-letter prefix to AS_TMPDIR, comment fixed.
5215         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
5216           create the temporary directory.
5217         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
5219 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
5221         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
5222         (trivial change)
5224 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
5226         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
5228 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
5230         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
5231         to avoid using a negated character class.  Reported by Nicolas Joly.
5232         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
5234 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5236         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
5237         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
5238         Don't depend on .x file explicitly, since "make" does that for us.
5239         Suggested by Stepan Kasal.
5241         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
5242         Add *.tmp.
5243         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
5244         ifnames): Factor common code.  And they said it couldn't be done!
5246 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
5248         * bin/.cvsignore: Add autoconf.in.
5249         * tests/.cvsignore: Add wrapper.in.
5250         * lib/autotest/general.m4: Escape '$' in case pattern.
5252 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
5254         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
5256         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
5258         * tests/autotest.at: New file.
5259         * tests/suite.at: Include it.
5260         * tests/Makefile.am: Distribute it.
5262         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
5263           shell tracing on a command that could contain multiple lines.
5264         * doc/autoconf.text: Document that fact and its implications.
5265         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
5266         * tests/autotest.at (Multiline backquote command substitution,
5267           Multiline parameter expansion, Literal multiline command,
5268           Multiline parenthetical command substitution): Remove XFAIL.
5270 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
5272         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
5273         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
5275 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
5277         * configure.ac (test suite): Cease to generate wrapper scripts.
5278         * configure: Regenerate.
5279         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
5280         (m4f_dependencies): Adjust accordingly.
5281         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
5282         (wrapper.in): Generate it in the build directory.
5283         (MAINTAINERCLEANFILES): Delete wrapper.in.
5284         (CLEANFILES): Add wrapper.in.
5285         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
5286         the output.  Replace each $as_me with a @wrap_program@.
5287         * tests/wrapper.in: Delete it; we always build it.
5289         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
5290         (EXTRA_DIST): Remove autoconf.in.
5291         (CLEANFILES): Add autoconf.in.
5292         (autoconf): Find autoconf.in in the build directory.
5293         * bin/autoconf.in: Delete it; we always build it.
5295 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
5297         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
5298         PATH members so as to not prepend an empty element.  Move a comment.
5299         * Makefile.am (SUBDIRS): Build in `tests' last.
5300         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
5302 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
5304         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
5305         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
5306         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
5307         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
5309 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
5311         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
5312         patch: extra "-l"s.
5314 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
5316         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
5317         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
5318         * doc/autoconf.texi (Particular Functions): Mention new behavior.
5320 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
5322         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
5323           out the common code to ...
5324         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
5325           value of the #define--default to 1, iff the macro was called
5326           with exactly one parameter.
5328 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
5330         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
5331         "char c = '\200';" rather than "char c = 0x80;" as the
5332         latter doesn't conform to the strict C standard due to
5333         overflow on signed char hosts.
5335         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
5336         to -qlanglvl=ansi.  We don't want to disable extensions.
5338 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
5340         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
5341         (Using Autotest, testsuite Scripts, Writing testsuite.at):
5342         Reword slightly to avoid some English-language problems noted
5343         by Ralf Wildenhues in:
5344         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
5346 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
5348         * NEWS: Add ^L above each release.
5350 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
5352         Fix documentation problems reported by Russ Boylan in
5353         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
5354         along with some nearby cruft.
5355         * doc/autoconf.texi (Libtool): Libtool can be used without
5356         Automake (not without Autoconf).
5357         (Introduction): Mention lists.gnu.org.
5358         * BUGS: Don't mention bugs.gnu.org.
5359         Remove mention of ancient libtool compatibility problem.
5360         * NEWS: Mention that bugs.gnu.org is kaput.
5361         * README: Likewise.  Mention where mailing list archives can be found.
5363 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
5365         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
5367 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
5369         * doc/autoconf.texi (Pretty Help Strings): Go back to
5370         single-quoting assignments to cache variables.
5372 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
5374         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
5375         with the examples; fix the bug in MY_ARG_WITH example reported
5376         by Alexandre Duret-Lutz.
5377         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
5378         expansion of $1 in the comment emitted to configure.
5380 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
5382         * doc/autoconf.texi (Pretty Help Strings): Fix typo
5383         in my editing of the previous patch.  Problem reported
5384         by Alexandre Duret-Lutz.
5386 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
5388         * doc/autoconf.texi (Autoconf Language): Explain that
5389         ``descriptions'' may not be double quotes.
5390         (Quotation Rule Of Thumb): Likewise.
5391         (Pretty Help Strings): Likewise; remove the wrong comment;
5392         simplify the examples and improve their quoting.
5394 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
5396         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
5397         the $1_found variable, don't test whether the file is executable;
5398         Both things are checked ...
5399         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
5400         the former ``test -f''.
5401         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
5403 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
5405         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
5406         use cp -R instead.
5408 2004-11-10  Derek R. Price  <derek@ximbiot.com>
5410         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
5411         limitations.  Reorder paragraphs for clarity.
5413 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
5415         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
5416         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
5417         variants", "Unix", and some related minor wording fixups.
5419         (Shellology, Special Shell Variables): Document that the Zsh
5420         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
5421         to Alexandre Duret-Lutz for this info.
5423 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
5425         * doc/autoconf.texi (One-Shot Macros): New node.
5427 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
5429         * doc/autoconf.texi (Function Portability): Fix misdescription
5430         of putenv.  Problem reported by Michael Wardle.
5432 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
5434         * doc/autoconf.texi (auindex): New macro.
5435         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
5436         Problem reported by Stepan Kasal.
5438 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
5440         Fix problems reported by Andreas Buening in:
5441         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
5442         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
5443         in test makefile.
5444         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
5445         readable; it's not true in OS/2-emx.
5447 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
5449         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
5450         "/usr/include", clear ac_x_includes instead of leaving it as "no"
5451         (trivial change).  Problem and patch reported by Andrew Church in:
5452         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
5454 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
5456         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
5457         three args in examples.  Problem reported by Frederik Fouvry in:
5458         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
5459         Also, fix some minor spacing and punctuation bugs.
5461 2004-09-02  Akim Demaille  <akim@epita.fr>
5463         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
5464         "case" to restore ordering.
5465         Reported by Stepan Kasal.
5467 2004-08-26  Akim Demaille  <akim@epita.fr>
5469         * doc/autoconf.texi: Minor typos and stylos.
5471 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
5473         * configure.ac (AC_INIT): Bump to 2.59c.
5475 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
5477         Version 2.59b.
5479         * README: Add advice about m4 1.4.2.
5481         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
5482         texinfo.tex for now (done by hand now).
5483         * Makefile.maint (wget_files, cvs_files):
5484         Remove ansi2knr.c; nobody uses it.
5485         (ansi2knr.c-url_prefix): Remove.
5486         (cvs-update): Fix test for failure.  I don't know why it ever
5487         worked...
5489         * doc/autoconf.texi: Update URLs, some of which went stale.
5490         Use @uref rather than @href.
5492         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
5493         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
5495         * config/config.guess, config/config.sub, config/elisp-comp,
5496         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
5497         doc/fdl.texi, doc/standards.texi: Sync with master copy.
5499         * NEWS, TODO, configure.ac, bin/autoscan.in,
5500         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
5501         doc/install.texi, lib/Autom4te/Configure_ac.pm,
5502         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
5503         lib/autoconf/programs.m4, lib/autoconf/status.m4,
5504         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
5505         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
5506         tests/tools.at, tests/torture.at:
5507         Use "file name" rather than "filename" or "path",
5508         to be consistent with the terminology of the GNU coding standards.
5510 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
5512         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
5513         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
5514         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
5515         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
5517         More fixes to support spaces in the name of the build directory.
5518         This isn't a complete fix but it's an improvement.
5520         * bin/autoconf.as (autom4te_options): New var.
5521         Use it instead of appending to AUTOM4TE, so that we can allow
5522         spaces in the build directory's absolute name.
5523         * bin/autoheader.in ($autoconf): Allow spaces in file names.
5524         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
5525         AT_CHECK_NOESCAPE): Likewise.
5526         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
5527         main program): Likewise.
5529 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5531         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
5532         From Ralf Corsepius in:
5533         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
5535 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
5537         * doc/autoconf.texi (Function Portability): Document isinf and
5538         and isnan.  From a suggestion by Kevin Ryde.
5540         * lib/Autom4te/General.pm (END): Return correct exit status even
5541         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
5543 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
5545         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
5546         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
5547         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
5549 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
5551         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
5552         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
5553         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
5554         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
5555         * lib/autom4te.in (Automake-preselections): Preselect
5556         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
5558 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
5560         * lib/autom4te.in (Automake-preselections): Preselect
5561         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
5562         trace them.
5564 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
5566         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
5567         Tru64.
5568         * doc/autoconf.texi (Shellology): Mention BIN_SH.
5569         Document problem with "`""`" in pdksh POSIX mode.
5571 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
5573         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
5574         with pdksh, too.  Problem reported by Patrick Welche via
5575         Gary V. Vaughan.
5576         * doc/autoconf.texi (Shellology): Note that set -o posix is
5577         useful for pkdsh, too.
5579 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
5581         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
5582         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
5583         Don't fail if ENV or BASH_ENV is readonly.
5584         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
5585         etc. are read only.  Problem reported by Ludovic Courtes.
5587 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
5589         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
5590         zsh, disable GLOB_SUBST to avoid backslash handling problems.
5591         (trivial change)
5593 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
5595         * doc/autoconf.texi (File System Conventions): Warn about
5596         names like "aux".  Problem reported by Eric Blake.
5598         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
5599         by zero instead of array size, so that we can use any arithmetic
5600         constant expression (instead of requiring an integer constant
5601         expression).  This allows us to test expressions like DBL_MAX <
5602         LDBL_MAX, which didn't conform to the C standard using the old
5603         method.
5604         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
5605         now that we can do floating-point tests at compile time.
5607 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
5609         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
5610         and LDBL_EPSILON, as the resulting expression isn't an
5611         integer constant expression and violates the C standard.
5612         Problem reported by Nelson H. F. Beebe.  Also, check
5613         for "L" suffix, and check that long double doesn't have
5614         worse range or precision than double, that mixed-mode
5615         arithmetic doesn't generate a diagnostic, that double
5616         constants fit in long double.
5618 2004-06-03  Kevin Ryde  <user42@zip.com.au>
5620         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
5621         malloc(0) and realloc(NULL,size).
5623         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
5624         Bob Proulx.
5626 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
5628         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
5629         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
5630         by Jim Meyering.
5632 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
5634         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
5635         can be rewritten using if-then-else.  Suggested by Bruno Haible.
5637 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
5639         * doc/autoconf.texi (testsuite Scripts): Fix typo.
5640         Problem reported by Stepan Kasal.
5642 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
5644         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
5645         change).  Patch reported by Ralf Wildenhues in
5646         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
5648         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
5649         function F exists if the compiler and linker let you compile an
5650         expression like (F != 0).  Recent versions of GCC optimize away
5651         the reference to F in that case, since every function address must
5652         be nonzero, so the link succeeds even if F does not exist.
5653         Problem reported by Manu in
5654         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
5656         * doc/autoconf.texi (Systemology): Standardize on the spelling of
5657         "Unix".  Many uses changed.
5658         (Limitations of Builtins): Explain better why the ! command isn't
5659         portable.
5661 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
5663         * lib/autom4te.in (Automake-preselections): Preselect
5664         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
5666 2004-05-19  Kevin Ryde  <user42@zip.com.au>
5668         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
5669         referencing AC_FUNC_STRERROR_R.
5671         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
5672         note pessimistic assumption when cross compiling.
5674 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
5676         * doc/autoconf.texi (Limitations of Make): Note that BSD make
5677         (until 2004) invoked subcommands with sh -e, contra POSIX.
5678         Reported by Kevin Ryde.
5680 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
5682         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
5683         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
5684         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
5685         `test -f "        /usr/bin/grep"', which _always_ failed.
5686         (AC_PROG_SED): Ditto bogus PATH fix.
5687         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
5688         requires that grep correctly supports _multiple_ `-e' options, rather
5689         than stating only that grep should accept `-e'.
5691 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
5693         Port to C99, which requires that 'exit' be declared.
5695         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
5696         to ensure that stdlib.h is included.
5697         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
5698         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
5699         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
5700         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
5701         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
5702         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
5703         when using 'exit' in a test; C99 requires that 'exit' be declared.
5705 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
5707         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
5708         now prefers 'grep' implementations that accept -e.
5709         (Limitations of Usual Tools): Describe problems of traditional
5710         egrep and fgrep with long input lines, and of traditional grep
5711         with -e.
5712         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
5713         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
5714         All callers changed.  Append /usr/xpg4/bin to the PATH, for
5715         Solaris.
5716         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
5717         the user with complaints about multiple -e options.
5718         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
5719         Define it with AC_PROG_GREP.
5720         * configure.ac (AC_PROG_GREP): Add.
5721         * lib/freeze.mk (GREP): New macro.
5723 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
5725         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
5726         a possible candidate only after all others fail, rather than
5727         consulting it first.  This improves backward compatibility by
5728         better reflecting the way shell selection occurred in previous
5729         versions of Autoconf, and should help to avoid triggering latent
5730         problems in other packages, such as the one in Automake where zsh
5731         is not handled robustly:
5732         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
5733         Although it is not Autoconf's responsibility to work around
5734         problems in Automake, it nevertheless makes sense to avoid
5735         introducing unnecessary incompatibilites.
5737 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
5738             Gary V. Vaughan  <gary@gnu.org>
5740         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
5741         how deeply nested we are when a suitable tool is found, set the
5742         ac_path_TOOL_found flag.
5743         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
5744         nested we are in this macro.  Break out of all 3 nested loops if
5745         ac_path_TOOL_found is set.
5747 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
5749         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
5750         of the _AS_PATH_WALK loop too if GNU flavor is found.
5752 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
5754         * doc/autoconf.texi (Limitations of Make): Update documentation
5755         for `$<'.  New entry `Long lines', based on a report from Simon
5756         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
5757         paragraph about DJGPP, based on a mail from Richard Dawe.
5759 2004-04-20  Paul Eggert  <eggert@twinsun.com>
5761         * tests/c.at (C keywords): Don't assume that GCC supports
5762         "restrict" and "inline", as sufficiently-old GCC versions do not
5763         (also, GCC configured to be in pedantic C89 mode does not).
5764         Problem reported by Sumit Pandya in:
5765         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
5767         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
5768         consider -g to work if it generates warnings when plain compiles
5769         don't.  Problem reported by Braden McDaniel in:
5770         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
5772         * doc/autoconf.texi (Slashes): New section, to document a problem
5773         reported by Jim Meyering in:
5774         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
5776         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
5777         linker output files before linking, to work around IRIX 6 linker bug.
5778         Problem reported by Rainer Orth in:
5779         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
5781 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
5783         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
5784         best tool so far counter rely on the tool path variable name to
5785         avoid checks for one tool being affected by the results of running
5786         the length check on a previous tool.
5788         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
5789         match expression argument, as different greps have different
5790         regular expression flavours.
5791         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
5792         literals.
5793         (AC_PROG_EGREP): Pass 'EGREP$'.
5794         (AC_PROG_GREP): Pass 'GREP$'.
5796 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
5798         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
5799         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
5801 2004-03-29  Paul Eggert  <eggert@twinsun.com>
5803         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
5804         Types, Specific Compiler Characteristics, System Services,
5805         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
5806         etc. consistently instead of 'long', 'short', 'unsigned' etc.
5807         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
5808         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
5809         Likewise.
5810         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
5811         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
5812         AC_TYPE_OFF_T): Likewise.
5813         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
5814         Likewise.
5816         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
5817         pacify libtool 1.5.2.  Fix quoting problems in sed command.
5819 2004-03-28  Paul Eggert  <eggert@twinsun.com>
5821         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
5822         now defines HAVE_DECL_TZNAME if it is declared, when
5823         HAVE_STRUCT_TM_TM_ZONE is not defined.
5824         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
5825         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
5826         for HAVE_TZNAME.
5828 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
5830         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
5831         superfluous backslashing of quotes (") in sed expressions;
5832         thanks to Paul Eggert.
5834 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
5836         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
5837         Fortran compiler is ifort, also added pghpf; thanks to Nelson
5838         H. F. Beebe for the bug report.
5840 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
5842         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
5843         quoted -cmdline argument in Portland Group compiler (bug
5844         reported by Jeffrey J. Barteet).
5846 2004-03-25  Kevin Ryde  <user42@zip.com.au>
5848         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
5849         (Run Time): ... here, where it's now mentioned.
5851 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
5853         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
5854         inherits from language Autoconf-without-aclocal-m4.
5855         (Customizing autom4te): Adjust example; the cache must now be
5856         disabled for language Autoconf-without-aclocal-m4.
5858 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
5859             Nathanael Nerode  <neroden@twcny.rr.com>
5861         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
5862         AC_CHECK_TOOLS): Warn if a cross-tool is found without
5863         a prefix.
5864         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5865         AC_CHECK_TARGET_TOOLS): New macros.
5866         * doc/autoconf.texi (Generic Programs): Document
5867         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5868         AC_CHECK_TARGET_TOOLS, and warn for future changes
5869         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
5870         AC_CHECK_TOOLS.
5871         (Specifying Names): Document the reason for these future
5872         behavioral changes.
5873         * tests/mktests.sh: Do not generate tests for the
5874         new macros.
5875         * NEWS: Document these changes.
5877         * doc/autoconf.texi: Avoid macros with unbraced arguments,
5878         they make TeX hang up.
5880 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
5882         * NEWS: New macro AC_CHECK_ALIGNOF.
5883         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
5884         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
5885         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
5886         vowel.
5887         (AC_CHECK_ALIGNOF): New macro.
5888         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
5889         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
5890         those for sizeof.
5892 2004-03-03  Paul Eggert  <eggert@twinsun.com>
5894         * bin/Makefile.am (edit): Don't use $< in a context where
5895         POSIX doesn't require support for it.  Use $@.in instead.
5896         Problem reported by Anthony N. Frasso in
5897         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
5898         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
5900 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
5902         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
5903         from the next generation of Libtool.
5904         * lib/autom4te.in (Autoreconf-preselections): Ditto.
5906 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
5908         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
5909         is not always thread-safe.  Report from Nathanael Nerode.
5911 2004-02-18  Paul Eggert  <eggert@twinsun.com>
5913         Fix a dependencies problem, stemming from a Autoconf 2.59 build
5914         problem on QNX reported by Stephen Rasku in
5915         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
5917         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
5918         $(m4sh_m4f_dependencies); this removes a FIXME.
5919         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
5920         (MAINTAINERCLEANFILES): Split into pieces,
5921         one per related section.  Add $(srcdir)/wrapper.in.
5923 2004-02-09  Paul Eggert  <eggert@twinsun.com>
5925         * doc/autoconf.texi (Setting Output Variables): Emphasize that
5926         AC_SUBST provides no portable way to escape literal newlines.
5928         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
5929         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
5930         Darwin uses -lcrt2.o and there's little point to cataloging all
5931         the system variants.  Partial fix reported by Andreas Waechter in:
5932         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
5933         for bug reported by Nelson H. F. Beebe in:
5934         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
5936 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
5938         * doc/autoconf.texi (AU_DEFUN): Fix English,
5939         suggested by Paul Eggert.
5940         * lib/autoconf/autoupdate.m4: Correct reference to
5941         acobsolete.m4, suggested by Alexandre Duret-Lutz.
5943 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
5945         * bin/autoupdate.in: Define __file__ so that warnings
5946         refer to the correct file.
5947         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
5948         the behavior of the third argument.
5949         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
5950         correctly the behavior of the third argument.  Document
5951         what the three macros that AU_DEFUN defines do.  Fix
5952         warning message when the third argument includes $0
5953         (reported by Alexandre Duret-Lutz).
5955 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
5956             Eric Sunshine  <sunshine@sunshineco.com>
5957             Paul Eggert  <eggert@twinsun.com>
5959         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
5960         (AS_INIT): Output shell initialization there. Removed optional
5961         parameter. Expand _AS_SHELL_FN_SPY.
5962         (AS_INIT_WITH_SHELL_FN): Removed.
5963         (_AS_SHELL_FN_SPY): New macro.
5964         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
5965         macros.
5966         (AS_SHELL_SANITIZE): Remove loop to find better shell
5967         and documentation for the parameter.
5968         (_AS_DETECT_BETTER_SHELL): Move it here.
5969         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
5970         (_AS_RUN): Move it here, support testing with eval.
5971         (AS_REQUIRE_SHELL_FN): Require shell functions when
5972         it is used.
5973         (_AS_LINENO_WORKS): Put around braces, we do not
5974         trigger the bash bug anymore.
5975         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
5976         use AS_INIT_WITH_SHELL_FN.
5977         * bin/autoconf.in, tests/wrapper.in: Regenerated.
5979 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
5981         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
5982         * doc/autoconf.texi: Don't say that the third parameter
5983         is broken.
5984         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
5985         (AU_DEFUN): Honor the third parameter, create autoupdate
5986         macros with AU_DEFINE.
5987         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
5988         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
5989         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
5990         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
5991         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
5992         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
5993         AC_XENIX_DIR): Likewise.
5994         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
5995         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
5996         * lib/autoconf/status.m4: Remove FIXME.
5997         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
5998         that the macro is not present anymore in the updated
5999         configure.ac.
6000         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
6001         of autoupdate.
6003 2004-01-28  Paul Eggert  <eggert@twinsun.com>
6005         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
6006         copyright years.
6007         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
6008         2003 (except 1997) to the list of copyright years.  This undoes
6009         the 2003-05-22 change, which removed the older years from the list.
6010         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
6012 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
6013             Albert Chin-A-Young  <china@thewrittenword.com>
6015         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
6016         grep or ggrep program in PATH that accepts as long lines as
6017         possible.
6018         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
6019         AC_PROG_GREP.
6020         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
6021         egrep and fgrep respectively if $GREP -E/-F don't work.
6022         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
6023         _AC_PROG_GREP, and AC_PROG_SED.
6024         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
6025         longest input length accepted by a command.
6026         (AC_PROG_SED): Use it.
6027         * doc/autoconf.texi (Particular Programs): Document the changes.
6028         * NEWS: Updated.
6030 2004-01-27  Paul Eggert  <eggert@twinsun.com>
6032         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
6033         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6034         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
6035         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
6037         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
6038         bin/autoconf.in, config/Makefile.in, config/config.guess,
6039         config/config.sub, config/install-sh, config/mdate-sh,
6040         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
6041         lib/Makefile.in, lib/Autom4te/Makefile.in,
6042         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
6043         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
6044         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
6045         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
6046         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
6047         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
6048         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
6049         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
6050         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
6051         tests/actypes.at: Regenerate and/or sync with original
6052         sources.
6054 2004-01-26  Paul Eggert  <eggert@twinsun.com>
6056         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
6057         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
6058         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
6059         not <inttypes.h>.  Problem reported by Tim Mooney in
6060         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
6061         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
6062         Likewise.
6064         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
6065         otherwise "make check" fails because it forbids cmp (I guess
6066         because cmp treats files as binary on DOS-like systems).
6068         * tests/mktests.sh: Update copyright date to 2004, since some tests
6069         have changed in 2004.
6071 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
6073         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
6074         non-truncating sed or gsed program in PATH.
6075         * tests/acprograms.at: Add it.
6076         * doc/autoconf.texi (Particular Programs): Document it.
6077         * NEWS: Updated.
6079 2004-01-15  Paul Eggert  <eggert@twinsun.com>
6081         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
6082         -std1 disables some useful extensions on Tru64.  Problem reported
6083         by N. Lichtmaier in
6084         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
6086 2004-01-14  Paul Eggert  <eggert@twinsun.com>
6088         * doc/autoconf.texi (Programming in M4sh): Document that
6089         AS_MKDIR_P succeeds if the destination is a symbolic link
6090         to an existing directory.
6091         (Limitations of Usual Tools): Note that mkdir -p might not
6092         succeed on symlinks to directories.
6094 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
6096         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
6097         * bin/autoheader.in: Grammar fix in message.
6098         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
6099         Test for dir before calling mkdir -p.  (trivial changes)
6101 2004-01-13  Eric Blake  <ebb9@byu.net>
6103         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
6104         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
6106 2004-01-10  Jim Meyering  <jim@meyering.net>
6108         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
6110 2004-01-09  Paul Eggert  <eggert@twinsun.com>
6112         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
6113         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
6114         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
6115         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
6116         AC_COMPILE_IFELSE, since we now assume our caller invokes
6117         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
6118         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
6119         of AC_RUN_IFELSE; this avoids the warning mentioned above.
6120         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
6122 2004-01-07  Paul Eggert  <eggert@twinsun.com>
6124         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
6125         `"'...'"`, as it's confusing (and I suspect it may not work on
6126         some platforms).  The code was incorrect anyway, as it assumed
6127         that \$ evaluated to itself in that context.  Reported by
6128         Alexandre Duret-Lutz.
6130 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
6132         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
6133         and _LT_AC_TAGCONFIG.
6135 2004-01-06  Paul Eggert  <eggert@twinsun.com>
6137         * doc/autoconf.texi (One Macro Call): Fix an incorrect
6138         example, and add more examples.  Reported by Eric Sunshine.
6140 2004-01-05  Paul Eggert  <eggert@twinsun.com>
6142         * doc/autoconf.texi (Limitations of Usual Tools):
6143         Remove warning against "rm -fr" introduced yesterday; it
6144         was a false alarm.
6146         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
6147         autoscan, autoupdate, ifnames): Don't use chmod -w.
6148         * lib/Makefile.am (autom4te.cfg): Likewise.
6149         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
6150         "chmod -w".
6152 2004-01-04  Paul Eggert  <eggert@twinsun.com>
6153             Paolo Bonzini  <bonzini@gnu.org>
6155         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
6156         by doing lineno substitution only on lines containing "$LINENO".
6158 2004-01-04  Paul Eggert  <eggert@twinsun.com>
6160         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
6161         Use "rm -f" to remove conftest.sed, not plain "rm".
6162         Bug reported by David Relson in
6163         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
6165         * Makefile.am (autom4te-update):
6166         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
6167         * Makefile.maint (my-distcheck, do-po-update): Likewise.
6168         * doc/autoconf.texi (Guidelines): Likewise.
6169         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
6170         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
6171         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6172         * lib/autotest/general.m4 (AT_INIT): Likewise.
6173         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
6174         * tests/Makefile.am (clean-local): Likewise.
6175         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
6176         srcdir): Likewise.
6177         * doc/autoconf.texi (Limitations of Usual Tools):
6178         Warn against "rm -fr".
6180 2004-01-03  Paul Eggert  <eggert@twinsun.com>
6182         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
6183         -c -o might not work.  From a suggestion by Kevin Ryde.
6184         (C Compiler, Generating Sources, Limitations
6185         of Usual Tools, Limitations of Make, Making testsuite Scripts):
6186         Don't put '-o' after non-options, as POSIX doesn't allow this.
6187         Mention that cc's name might be gcc or c89 or whatever.
6189 2004-01-04  Kevin Ryde  <user42@zip.com.au>
6191         * doc/autoconf.texi: Add various further index entries.
6193 2003-12-29  Paul Eggert  <eggert@twinsun.com>
6195         * bin/autoreconf.in (autoreconf_current_directory):
6196         Fix typo: mkdir without umask arg.
6198 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
6200         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
6201         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
6202         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
6203         explanation clearer.
6205 2003-12-24  Andreas Schwab  <schwab@suse.de>
6207         * doc/autoconf.texi (Default Includes): Fix misspelling of
6208         AC_INCLUDES_DEFAULT.
6210 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
6212         * configure.ac: Test if sh -n works.
6213         * configure: Regenerate.
6214         * tests/atlocal.in: Store the result here.
6215         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
6216         tools.at, looking in atlocal's ac_cv_sh_n_works instead
6217         of explicitly testing.
6218         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
6219         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
6220         * tests/tools.at (Syntax of the shell scripts): Simplify
6221         using AT_CHECK_SHELL_SYNTAX.
6222         (Syntax of the Perl scripts): Remove definition of
6223         AT_CHECK_PERL_SYNTAX.
6225 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
6227         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
6228         stderr to /dev/null.
6229         * bin/autoconf.in: Regenerate.
6230         * bin/wrapper.in: Regenerate.
6232 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
6234         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
6235         Extracted from AS_SHELL_SANITIZE.
6236         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
6237         macros.
6238         (AS_SHELL_SANITIZE): Move reinvocation code from
6239         _AS_LINENO_WORKS, use it to find out if shell
6240         functions work.
6241         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
6242         does not work.
6243         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
6244         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
6245         was called.
6246         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
6247         * bin/autoconf.in: Regenerate.
6248         * tests/wrapper.in: Regenerate.
6249         * tests/tools.at: Test the syntax of tests/autoconf
6250         and tests/testsuite.
6252 2003-11-24  Akim Demaille  <akim@epita.fr>
6254         * config/announce-gen (&print_locations, &print_signatures)
6255         (&sizes): New.
6256         Use them.
6257         No longer rely on Gnus to inline the list of signatures: compute
6258         them on the fly.
6260 2003-11-24  Akim Demaille  <akim@epita.fr>
6262         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
6263         override some files.
6264         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
6265         From Debian Autoconf 2.58.
6267 2003-11-24  Akim Demaille  <akim@epita.fr>
6269         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
6270         uses.
6271         From Debian Autoconf 2.58.
6273 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
6275         * TODO: Remove already done things.  Update the part about finding
6276         tools for the target.
6278 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
6280         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
6281         Make wording more consistent.
6282         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6283         Explain the transition better.
6284         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
6285         the transition better.
6287 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
6289         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
6290         parameter of AU_DEFUN.
6291         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
6292         (AU_DEFUN): Remove the third parameter, it was not used.
6293         Use AC_DEFUN directly, not AU_DEFINE.
6294         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
6295         the expanded body, consistently with other macros such as AC_USG.
6297 2003-11-17  Paul Eggert  <eggert@twinsun.com>
6299         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
6300         into the initial confdefs.h, to work around a bug in NextStep 3.3
6301         patch 3 reported by Eric Sunshine.
6303 2003-11-15  Kevin Ryde  <user42@zip.com.au>
6305         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
6306         than $target since the latter is not usual, add guidelines on when to
6307         use or not use the system type.
6309 2003-11-12  Derek Price  <derek@ximbiot.com>
6311         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
6312         typo misrepaired by an auto-spellcheck.
6314 2003-11-12  Akim Demaille  <akim@epita.fr>
6316         * bin/autoreconf.in (&parse_args): Don't call automake with
6317         --force-missing unless it actually supports it.
6318         From Debian #219336.
6320 2003-11-12  Akim Demaille  <akim@epita.fr>
6322         * configure.ac: Bump to 2.59a.
6323         Require 2.59.
6325 2003-11-06  Akim Demaille  <akim@epita.fr>
6327         Version 2.59.
6329 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
6331         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
6332         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
6333         and ac_abs_top_srcdir are absolute paths.
6334         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
6336 2003-11-05  Akim Demaille  <akim@epita.fr>
6338         * configure.ac: Bump to 2.58a.
6340 2003-11-05  Kevin Ryde  <user42@zip.com.au>
6342         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
6343         it provokes a warning from makeinfo about looking like a cross
6344         reference in info output.
6346         * doc/autoconf.texi (Function Portability): Add notes on signal
6347         handler return type, as per AC_TYPE_SIGNAL.
6349 2003-11-04  Akim Demaille  <akim@epita.fr>
6351         Version 2.58.
6352         * doc/standards.texi: Update from master.
6354         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
6356 2003-11-04  Akim Demaille  <akim@epita.fr>
6358         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
6359         computing the absolute path to d1 in the source hierarchy: it may
6360         not exist at all.  So don't cd into it.
6361         From Alexandre Duret-Lutz.
6362         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
6364         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
6365         From Paul Eggert, but named after Perl's IO::Spec->catfile.
6366         * doc/autoconf.texi (Programming in M4sh): Document.
6367         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
6369 2003-11-03  Pavel Roskin  <proski@gnu.org>
6371         * doc/autoconf.texi (Generic Structure Checks): Describe
6372         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
6374 2003-10-31  Akim Demaille  <akim@epita.fr>
6376         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
6377         (GNU Fortran): New.
6378         * doc/autoconf.texi (Language Choice): Document.
6379         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
6380         the current language is Fortran.
6382 2003-10-31  Akim Demaille  <akim@epita.fr>
6384         * bin/autom4te.in (&freeze): Use a less likely warning separator
6385         than `\n\n', so that `\n\n\n' is valid in warnings.
6386         Reported by Steve Huston.
6388 2003-10-28  Akim Demaille  <akim@epita.fr>
6390         * Makefile.cfg (local_updates, executable-update): Tweak to be
6391         robust to parallel makes.
6392         Suggested by Alexandre Duret-Lutz.
6394 2003-10-27  Akim Demaille  <akim@epita.fr>
6396         * Makefile.cfg (executable-update): New.
6397         (local_updates): Call it.
6399 2003-10-27  Akim Demaille  <akim@epita.fr>
6401         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
6402         Don't remove core.* as it may remove valid user files.
6403         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
6404         (AC_FUNC_UTIME_NULL): Likewise.
6406 2003-10-23  Akim Demaille  <akim@epita.fr>
6408         Version 2.57g.
6409         * config/config.guess, config/config.sub: Upgrade from masters.
6411 2003-10-23  Akim Demaille  <akim@epita.fr>
6413         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
6414         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
6415         hand...
6417 2003-10-23  Akim Demaille  <akim@epita.fr>
6419         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
6420         Don't forget to remove conftest.err.
6422 2003-10-23  Akim Demaille  <akim@epita.fr>
6424         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
6425         same object file in $LIBOBJS.
6426         Reported by Alexandre Duret-Lutz & Derek Robert Price.
6427         * doc/autoconf.texi (Generic Functions): Adjust.
6429 2003-10-20  Paul Eggert  <eggert@twinsun.com>
6431         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
6432         Use 'eval', so that the resulting configure scripts work even if
6433         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
6435 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
6437         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
6438         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
6439         (_AC_LINK_IFELSE): Check the werror flag.
6440         * doc/autoconf.texi (Generic Compiler Characteristics): Document
6441         AC_LANG_WERROR.
6442         * NEWS: Mention it.
6444 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
6446         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
6447         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
6448         override AC_LINK_IFELSE.
6450 2003-10-15  Paul Eggert  <eggert@twinsun.com>
6452         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
6453         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
6454         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
6455         Mention /usr/dt/bin/dtksh on Solaris.
6456         (Shell Substitutions): Warn about $((...)).
6457         (Parentheses): New section.
6459 2003-10-15  Kevin Ryde  <user42@zip.com.au>
6461         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
6462         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
6464 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
6466         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
6467         cross test.
6469 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
6471         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
6472         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
6474 2003-10-10  Andreas Schwab  <schwab@suse.de>
6476         * bin/autoheader.in: Avoid empty first line in --version and
6477         --help output.
6478         * bin/ifnames.in: Likewise.
6480 2003-10-09  Paul Eggert  <eggert@twinsun.com>
6482         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
6483         Issue a more-informative diagnostic.
6484         Problems reported by Eric Sunshine.
6486 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
6488         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
6489         -mGLOB_options_string stuff for Intel ifc, which can cause
6490         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
6491         pattern-matching instead of grep.
6493 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
6495         * doc/autoconf.texi: Document new FC Fortran macros.
6497 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
6499         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
6500         that future autopoint/aclocal/automake/autoreconf will be able
6501         to trace to find where to install local m4 macros.
6502         * doc/autoconf.texi (Input): Document it.
6503         * NEWS: Updated.
6505 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
6507         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
6508         -lcrtbegin.o to list of ignored flags and fix underquoting of
6509         -lcrt[01].o.
6511 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
6513         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
6514         cache variable instead of $G77 to decide whether to include -O2,
6515         since $G77 is specific to Fortran 77.
6517 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
6519         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
6520         free" flag.  Re-order flags tested into rough order of popularity.
6522 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
6524         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
6525         arguments so that it can be used with syntax identical to
6526         AC_PROG_F77, and so that we can more easily decide to
6527         remove/deprecate the DIALECT optional argument in the future if it
6528         proves troublesome.
6529         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
6530         non-freeform-supporting compilers.  Document freeform flags.
6532 2003-10-03  Akim Demaille  <akim@epita.fr>
6534         * configure.ac: Look for emacs, not macs.
6535         Reported by Eric Sunshine.
6537 2003-10-03  Akim Demaille  <akim@epita.fr>
6539         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
6540         * bin/autoreconf.in (autoreconf_current_directory): Create the
6541         AUX_DIR if needed, for sake of automake --add-missing etc.
6542         Suggested by Alexandre Duret-Lutz.
6544 2003-10-03  Akim Demaille  <akim@epita.fr>
6546         * configure.ac: Quotation and formatting changes.
6547         (EMACS): Don't set it if it is not recent enough to support
6548         autoconf-mode.el.
6549         From Eric Sunshine.
6551 2003-10-02  Akim Demaille  <akim@epita.fr>
6553         * bin/ifnames.in (&scan_file): Skip C++ comments.
6554         From Jeremy Yallop.
6556 2003-10-01  Pavel Roskin  <proski@gnu.org>
6558         * doc/autoconf.texi (Particular Structure Checks):
6559         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
6561 2003-10-01  Akim Demaille  <akim@epita.fr>
6563         Version 2.57f.
6565 2003-09-30  Paul Eggert  <eggert@twinsun.com>
6567         * lib/Autom4te/XFile.pm: Use Errno.
6568         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
6569         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
6571 2003-09-30  Akim Demaille  <akim@epita.fr>
6573         * config/announce-gen (&print_news_deltas): Extracted from...
6574         (&print_changelog_deltas): here.
6575         (&news_file): Rename as...
6576         (@news_file): this.
6578 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
6580         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
6581         have been created when invoking the compiler.
6582         * tests/fortran.at (GNU Fortran 77): Quote $G77.
6584 2003-09-29  Akim Demaille  <akim@epita.fr>
6586         Version 2.57e.
6588         * config/mkinstalldirs: Upgrade.
6590 2003-09-28  Paul Eggert  <eggert@twinsun.com>
6592         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
6593         Problem reported by Lars J. Aas in
6594         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
6595         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
6596         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
6597         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
6599 2003-09-26  Akim Demaille  <akim@epita.fr>
6601         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
6602         directory for AC_CONFIG_COMMANDS' first argument exists.
6603         This makes valid the invocation of _AC_SRCPATH that follows.
6604         Reported by Eric Sunshine.
6605         * doc/autoconf.texi (Configuration Commands): Adjust.
6607 2003-09-26  Akim Demaille  <akim@epita.fr>
6609         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
6610         Reported by Ralf Corsepius.
6612 2003-09-26  Akim Demaille  <akim@epita.fr>
6614         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
6615         arguments.
6616         Actually, use AU_ALIAS.
6617         From Bruno Haible.
6619 2003-09-26  Paul Eggert  <eggert@twinsun.com>
6621         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
6622         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
6623         Problem reported by Eric Sunshine in:
6624         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
6626 2003-09-26  Akim Demaille  <akim@epita.fr>
6628         The test suite are sometimes assigning timings incorrectly.
6629         Reported by Henk Krus.
6630         Diagnosed by Nicolas Joly.
6632         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
6633         AT_help_all.
6634         Instead of making AT_help a sequence of assignments to grow
6635         $at_help_all, just make AT_help_all be the growing contents of
6636         $at_help_all, and make a single assignment in...
6637         (AT_INIT): here.
6638         (at_times_skip): Flip the meaning and rename as...
6639         (at_times_p): this.
6640         (AT_INIT): When summarizing the test that ran, remove
6641         $at_times_file after use, and check it is present before trying to
6642         use it.
6644 2003-09-25  Akim Demaille  <akim@epita.fr>
6646         Version 2.57d.
6648         * bin/Makefile.am (edit): Handle '@configure_input@'.
6649         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
6650         (ifnames): chmod -w.
6651         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
6652         executables, not bin/ executables!  Otherwise all the magic needed
6653         to find non installed files is turned off.  This caused a failure
6654         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
6655         as found in its environment (sent by tests/autoreconf): pointing
6656         to bin/autom4te that could not find its files.
6657         * tests/mktests.sh: Force the replacement of generated files, for
6658         the sake of "mv" program that are interactive when overwriting a
6659         -w file.
6660         * config/install-sh: Upgrade from CVS Automake.
6662 2003-09-23  Paul Eggert  <eggert@twinsun.com>
6664         * doc/autoconf.texi (Limitations of Builtins): Document test -h
6665         versus test -L issues.
6667 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
6668             Paul Eggert  <eggert@twinsun.com>
6670         Trivial change to support GCC's configuration procedure.
6671         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
6672         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
6673         about inconsistency if the preprocessor is set to give errors for
6674         any warning.
6675         * doc/autoconf.texi (C Compiler Characteristics): Document this.
6677 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
6679         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
6680         and XFile.pm from Automake.
6681         * lib/Autom4te/XFile.pm: Update from Automake.
6683 2003-09-12  Akim Demaille  <akim@epita.fr>
6685         Version 2.57c.
6687 2003-09-12  Akim Demaille  <akim@epita.fr>
6689         * config/config.guess, config/config.sub, config/missing,
6690         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
6691         from masters.
6693 2003-09-12  Akim Demaille  <akim@epita.fr>
6695         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
6696         not asm/types.h.
6698 2003-09-11  Akim Demaille  <akim@epita.fr>
6700         * doc/autoconf.texi (Header Portability): linux/random.h.
6701         From Peter Hendrickson.
6703 2003-09-10  Akim Demaille  <akim@epita.fr>
6705         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
6706         willing to edit the output files.
6708 2003-09-10  Akim Demaille  <akim@epita.fr>
6710         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
6711         and AC_FC_FREEFORM.
6712         * tests/mktests.sh: Skip AC_FC_SRCEXT.
6713         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
6715 2003-09-09  Akim Demaille  <akim@epita.fr>
6717         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
6718         Reported by Gary Vaughan.
6719         * bin/autom4te.in (handle_m4): Likewise.
6721 2003-09-09  Akim Demaille  <akim@epita.fr>
6723         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
6724         trailing files.
6726 2003-09-07  Paul Eggert  <eggert@twinsun.com>
6728         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
6729         Improve the accuracy of the wording about obsolescence.
6730         From a suggestion by Ian Lance Taylor in
6731         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
6733 2003-09-05  Paul Eggert  <eggert@twinsun.com>
6735         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
6736         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
6738 2003-09-04  Akim Demaille  <akim@epita.fr>
6740         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
6741         AC_FUNC_WAIT3.
6743 2003-09-04  Akim Demaille  <akim@epita.fr>
6745         * bin/autom4te.in: Use &fatal where more appropriate than &error.
6746         (freeze): When exiting, use $exit_code.
6747         * lib/autoconf/fortran.m4: Comment changes.
6749 2003-09-04  Akim Demaille  <akim@epita.fr>
6751         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
6753 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
6755         Add support for newer Fortran dialects.  The F77 interface is
6756         unchanged, and continues to support Fortran 77.  New FC macros
6757         correspond to all the old F77 macros, with output variables FC,
6758         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
6759         available dialect, but older dialects can be specified.  There are
6760         new macros AC_FC_SRCEXT to set the source extension, and
6761         AC_FC_FREEFORM to accept free-form source files.
6763         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
6764         New macros.
6765         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
6766         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
6767         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
6768         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
6769         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
6770         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
6771         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
6772         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
6773         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
6774         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
6775         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
6776         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
6777         AC_FC_SRCEXT, AC_FC_FREEFORM):
6778         New macros.
6779         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
6780         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
6781         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
6782         Rewrite in terms of the above.
6783         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
6784         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
6785         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
6786         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
6788 2003-09-02  Paul Eggert  <eggert@twinsun.com>
6790         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
6791         Document problems with timestamp resolution that 'make', 'cp -p', and
6792         'touch -r' have.
6794 2003-08-27  Akim Demaille  <akim@epita.fr>
6796         * tests/m4sugar.at (cross_warning): Make sure to enable the
6797         output, so that we can track spurious m4sugar output.
6798         * tests/local.at: Require 2.57.
6799         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
6800         are defaulted by AT_CHECK anyway.
6801         Use AT_CHECK_AUTOM4TE.
6802         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
6803         missing dnl.
6805 2003-08-27  Akim Demaille  <akim@epita.fr>
6807         * bin/autoheader.in: Issue the "Using auxiliary..." message only
6808         when -Wobsolete is set.
6809         Set it on by default.
6810         Suggested by Klee Dienes.
6812 2003-08-27  Akim Demaille  <akim@epita.fr>
6814         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
6815         documentation.
6816         From Guido Draheim.
6818 2003-08-26  Akim Demaille  <akim@epita.fr>
6820         * doc/autoconf.texi (Output): Make clear that one can run code
6821         after AC_OUTPUT.
6823 2003-08-25  Akim Demaille  <akim@epita.fr>
6825         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
6826         CVS Bison.
6828 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
6830         * bin/autoreconf.in (parse_args): Do not pass --no-force to
6831         Automake versions prior to 1.8.
6833 2003-08-25  Akim Demaille  <akim@epita.fr>
6835         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
6836         From Ville Karaila.
6838 2003-08-24  Akim Demaille  <akim@epita.fr>
6840         * configure.ac: Bump to 2.57c.
6842 2003-08-22  Akim Demaille  <akim@epita.fr>
6844         Version 2.57b.
6846         * Makefile.cfg (local-checks-to-skip): New.
6847         * Makefile.maint (local-check): Rename as...
6848         (local-checks-available): this.
6849         (local-check): New.
6851         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
6852         * configure.ac: Require Automake 1.7.6.
6854 2003-08-22  Akim Demaille  <akim@epita.fr>
6856         Output stack traces in warnings.
6858         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
6859         Replace the former...
6860         (m4_warn): Pass the call stack to _m4_warn.
6861         * bin/autom4te.in: Adjust to output the call stack.
6862         * tests/m4sugar.at (m4@&t@_warn): Adjust.
6864 2003-08-22  Akim Demaille  <akim@epita.fr>
6866         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
6867         * bin/autom4te.in: Adjust.
6869 2003-08-21  Akim Demaille  <akim@epita.fr>
6871         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
6872         (&verbose): Remove.
6873         (&getopt): Adjust the note and verb channels, depending upon
6874         --verbose.
6875         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
6876         * bin/autoupdate.in: Adjust.
6877         Use &verb, not &verbose.
6879 2003-08-21  Akim Demaille  <akim@epita.fr>
6881         * bin/autoheader.in (&parse_args): Use &parse_warnings and
6882         &parse_WARNINGS.
6883         ($help): Use Autom4te::ChannelDefs::usage.
6884         * bin/autoscan.in: Use Autom4te::ChannelDefs.
6885         * lib/Autom4te/General.pm: Don't export error: you don't own it.
6887 2003-08-21  Akim Demaille  <akim@epita.fr>
6889         First stab at preserving warnings between calls to autom4te,
6890         including when the cache is used.
6892         There are still several issues: (i) there are too many runs of m4
6893         (one for include, one for warnings, and some more), (ii) warnings
6894         spreading on several lines are not handled gracefully, (iii) the
6895         code meant to have the call stack display for errors does not work
6896         (its handling should move from m4 to autom4te).
6898         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
6899         Use them.
6900         (@preselect): Add m4_warn.
6901         ($exit_status): Remove, use $exit_code.
6902         ($help): Use Autom4te::ChannelDefs::usage.
6903         (&handle_m4): No longer define the m4_warnings.
6904         At each run, extract and report the warnings.
6905         Always cache the result, including if the exit status is on
6906         failure, since if nothing changes, we should result in the same
6907         failure, hence we can use the cache.
6908         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
6909         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
6910         Remove.
6911         (m4_warn): Redefine as a do-nothing: it is its invocation that
6912         matters, as warnings are now reported via traces.
6913         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
6914         the contents of m4_warn: make it _call_ m4_warn, so that tracing
6915         the latter reveals calls to the former.
6917         Adjust the tests.
6919         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
6921 2003-08-21  Akim Demaille  <akim@epita.fr>
6923         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
6924         Use them.
6926 2003-08-21  Akim Demaille  <akim@epita.fr>
6928         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
6929         forward order.
6930         * lib/Autom4te/ChannelDefs.pm: Doc typos.
6931         (&parse_warnings): Accept a list of warning requests.
6932         (&usage): Return a string, not a side effect.
6933         (cross): New warning category.
6935 2003-08-21  Akim Demaille  <akim@epita.fr>
6937         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
6938         (&require_configure_ac): Accept an optional directory argument.
6939         ($configure_ac): Remove.
6940         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
6941         (&catfile): Remove.
6942         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
6943         * bin/autoscan.in: Adjust.
6945 2003-08-20  Akim Demaille  <akim@epita.fr>
6947         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
6948         Reported by Alexandre Duret-Lutz.
6950 2003-08-20  Akim Demaille  <akim@epita.fr>
6952         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
6953         * bin/autom4te: Adjust.
6954         In particular, be Autoconf tools are really silent when properly
6955         working, bind the verbosity of the 'note' channel to $verbose.
6956         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
6957         (&xsystem, &contents): Remove, since they are exported by...
6958         * lib/Autom4te/FileUtils.pm: this.
6959         More perldoc.
6960         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
6961         * lib/Autom4te/FileUtils.pm: here.
6963 2003-08-20  Akim Demaille  <akim@epita.fr>
6965         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
6966         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
6967         from CVS Automake.
6969 2003-08-20  Akim Demaille  <akim@epita.fr>
6971         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
6972         (autom4te-update): New.
6973         * Makefile.cfg (update): Bind autom4te-update.
6975 2003-08-19  Derek Price  <derek@ximbiot.com>
6977         * lib/autotest/general.m4: Comment various HELP_* diversions.
6978         (PARSE_ARGS_BEGIN): New section for option parsing related
6979         initialization.
6980         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
6981         package specific options and associated help.
6983 2003-08-19  Akim Demaille  <akim@epita.fr>
6985         * config/announce-gen, Makefile.cfg: New.
6986         * Makefile.am: Adjust.
6987         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
6989 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
6991         * lib/autom4te.in (Automake-preselections): Preselect
6992         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
6993         and m4_sinclude.
6995 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
6997         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
6998         (Autoconf-without-aclocal-m4): ... this new language.
6999         * doc/autoconf.texi (autom4te Invocation): Mention
7000         Autoconf-without-aclocal-m4.
7002 2003-08-18  Derek Price  <derek@ximbiot.com>
7004         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
7005         RUN-IF-PASS optional arguments.
7007 2003-08-18  Derek Price  <derek@ximbiot.com>
7009         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
7011 2003-08-16  Derek Price  <derek@ximbiot.com>
7013         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
7014         STDOUT & STDERR arguments.
7016 2003-08-14  Derek Price  <derek@ximbiot.com>
7018         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
7019         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
7020         shorter column three.  Add DESCRIPTION to log file content.
7022 2003-08-13  Derek Price  <derek@ximbiot.com>
7024         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
7025         output.
7027 2003-08-12  Derek Price  <derek@ximbiot.com>
7029         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
7030         (AT_CHECK_NOESCAPE): Move core functionality to...
7031         (_AT_CHECK): ...this new macro.
7033 2003-08-07  Derek Price  <derek@ximbiot.com>
7035         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
7036         (AT_CHECK_NOESCAPE): ...to this new macro.
7038 2003-07-31  Paul Eggert  <eggert@twinsun.com>
7040         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
7041         in Bash 2.01.  Problem reported by Brian Gough in
7042         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
7044 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
7046         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
7047         -lcrt1.o, for OS X.  (trivial change)
7049 2003-07-07  Paul Eggert  <eggert@twinsun.com>
7051         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
7052         inside '#ifndef __cplusplus'.  Problem reported by
7053         Bob Friesenhahn.
7055 2003-07-06  Bill Clarke  <llib@computer.org>
7057         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
7058         'long', not 'int', for benefit of Sun's recent C++ compilers
7059         (trivial change).  See:
7060         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
7061         (This really should be 'intptr_t', not 'long', but that would
7062         take more work.)
7064 2003-06-25  Akim Demaille  <akim@epita.fr>
7066         * lib/Makefile.am (autom4te.cfg): Make it read only.
7067         Depend on Makefile since it contains substitutions.
7068         From Paolo Bonzini.
7069         * lib/autom4te.in (args): Add local.at? for Autotest args.
7070         This change was made on autom4te.cfg which is generated.
7071         Reported by Raja R. Harinath.
7073 2003-06-25  Akim Demaille  <akim@epita.fr>
7075         * doc/autoconf.texi (Header Portability): sys/mount.h.
7076         From Gareth McCaughan.
7078 2003-06-23  Akim Demaille  <akim@epita.fr>
7080         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
7081         not all of them.  This fixes 1. the fact that when testing
7082         Autoconf there are many many config.log, 2. the incorrect use of
7083         top_srcdir to find config.log.
7084         Don't mix the detailed output of failed test with the summary of
7085         failures.  Rather, append detailed log afterwards.
7087 2003-06-23  Akim Demaille  <akim@epita.fr>
7089         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
7090         always run: output config.log on $at_group_log.
7092 2003-06-23  Akim Demaille  <akim@epita.fr>
7094         * tests/torture.at (#define header templates): Don't use quotes in
7095         C++ comments as it puzzles Emacs' sh font-lock-mode.
7097 2003-06-23  Akim Demaille  <akim@epita.fr>
7099         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
7100         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
7101         * tests/atspecific.m4: Rename as...
7102         * tests/local.at: This.
7103         * tests/suite.at: Move the globals into...
7104         * tests/local.at: here.
7105         * tests/Makefile.am: Adjust.
7106         * doc/autoconf.texi (testsuite Scripts): Adjust.
7108 2003-06-21  Kevin Ryde  <user42@zip.com.au>
7110         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
7111         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
7112         ensuring we add -std1 for full-ANSI.
7114         * doc/autoconf.texi (hdrindex): New macro.
7115         Add index entries for portability of various standard header files.
7117 2003-06-20  Akim Demaille  <akim@epita.fr>
7119         * configure.ac: Bump to 2.57b.
7121 2003-06-20  Akim Demaille  <akim@epita.fr>
7123         Version 2.57a.
7125 2003-06-20  Akim Demaille  <akim@epita.fr>
7127         * bin/autom4te.in: Don't rely on $HOME being defined.
7128         Reported by Marc Espie as PR/233.
7130 2003-06-20  Akim Demaille  <akim@epita.fr>
7132         * lib/autotest/general.m4: Use at_times_file only if used.
7133         From Nicolas Joly.
7135 2003-06-20  Akim Demaille  <akim@epita.fr>
7137         * config/config.guess, config/config.sub, config/elisp-comp,
7138         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
7139         Update from masters.
7141 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
7143         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
7144         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
7145         (TEST_SCRIPT): New diversion.
7146         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
7147         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
7148         (AT_INIT): Support for expected failures.
7150 2003-06-02  Akim Demaille  <akim@epita.fr>
7152         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
7153         changes.
7154         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
7155         Autoconf nor Automake.
7156         (&contents): New, from Automake.
7157         PODify.
7159 2003-05-28  Paul Eggert  <eggert@twinsun.com>
7161         * NEWS, doc/autoconf.texi (Particular Functions),
7162         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
7163         is the inverse of localtime.
7165 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
7167         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
7168         (handle_exec_errors): New function.  Work around $! being
7169         altered by WEXITSTATUS.
7170         (xqx, xsystem): Use handle_exec_errors.
7172 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
7174         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
7175         Do not call `_exit()', simply modify `$?'.
7176         (xsystem): Reset $! before running system, and check it afterward.
7177         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
7178         63 for version mismatches.
7180 2003-05-23  Akim Demaille  <akim@epita.fr>
7182         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
7183         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
7184         the middle of a line).
7185         * lib/m4sugar/m4sugar.m4: Likewise.
7186         Remove useless spaces in comments.
7188 2003-05-23  Akim Demaille  <akim@epita.fr>
7190         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
7191         exit 63, so that we (or Automake's "missing") can tell the
7192         difference with a plain failure.
7193         * doc/autoconf.texi (Notices): Adjust.
7195 2003-05-23  Akim Demaille  <akim@epita.fr>
7197         * Makefile.am, bin/Makefile.am, config/Makefile.am,
7198         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
7199         White spaces cleanup.
7201 2003-05-22  Jim Meyering  <jim@meyering.net>
7202             Paul Eggert  <eggert@twinsun.com>
7204         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
7205         Remove `#include <stdlib.h>' from the list; we should never
7206         make confdefs.h include <stdlib.h> or <cstdlib>, because the
7207         resulting namespace pollution would cause other tests to fail.
7208         Configure scripts run with some older versions of g++ and HP's
7209         aCC would fail due to such an #include.  Problems reported by
7210         Matthew Mueller in <http://bugs.debian.org/120704> and by
7211         Keith Bostic in
7212         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
7213         In the test, use the test declaration before including <stdlib.h>,
7214         as that's closer to how it'll be used.
7216 2003-05-23  Akim Demaille  <akim@epita.fr>
7218         * doc/autoconf.texi (Header Portability): ucred.h.
7219         From Ian Redfern.
7221 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
7223         Overhaul Autotest's logging: generate separate log files
7224         in testsuite.dir/NNN/testsuite.log, and append them to
7225         testsuite.log instead of re-running the test verbosely.
7227         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
7228         file descriptor, write 0 to at_status_file instead of setting
7229         at_status=0, initialize some new variables (at_status_file,
7230         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
7231         to rerun the tests, instead append the at_group_log to the
7232         at_suite_log when a test fails.
7233         (AT_SETUP): pipe the test case's output into at_tee_pipe,
7234         with the AS_MESSAGE_LOG_FD redirected to stdout.
7235         (AT_CLEANUP): save the output status in $at_status_file
7236         and restore it, redirect the AS_MESSAGE_LOG_FD back to
7237         its original place.
7238         (AT_CHECK): since tests are run with a redirected stdout,
7239         and used to be re-run in verbose mode, turn some $at_verbose
7240         into echo, and don't redirect the output of testing stdout
7241         and stderr.
7243         * lib/autotest/autoconf.texi (testsuite Scripts): Update
7244         the name of the debugging directory and information about
7245         its contents.
7247 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
7249         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
7250         parameter.
7252 2003-05-22  Akim Demaille  <akim@epita.fr>
7254         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
7255         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
7256         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
7257         * lib/autoconf/status.m4: Fix and adjust copyright notices.
7259 2003-05-22  Akim Demaille  <akim@epita.fr>
7261         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
7262         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
7263         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7264         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
7265         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7266         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7267         * lib/autoconf/status.m4, lib/autoconf/types.m4,
7268         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
7269         * tests/atspecific.m4, tests/base.at, tests/compile.at,
7270         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
7271         * tests/tools.at, tests/torture.at:
7272         Whitespace clean up.
7273         Suggested by Jim Meyering.
7275 2003-05-22  Akim Demaille  <akim@epita.fr>
7277         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
7278         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
7279         Reported by Jim Meyering.
7281 2003-05-22  Akim Demaille  <akim@epita.fr>
7283         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
7284         Add AC_HELP_STRING  to the obsolete macros section.
7285         Typos.
7286         Use '@.' for sentences that ended in a capital letter.
7287         From Art Haas.
7289 2003-05-22  Akim Demaille  <akim@epita.fr>
7291         * config/config.guess, config/config.sub, config/elisp-comp,
7292         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
7293         * config/texinfo.tex, doc/standards.texi: Update from masters.
7295 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
7297         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
7298         it to eval.
7300 2003-05-21  Akim Demaille  <akim@epita.fr>
7302         * bin/autoupdate.in ($m4): Fix quotation.
7303         Reported by Martin Mokrejs.
7305 2003-05-19  Paul Eggert  <eggert@twinsun.com>
7307         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
7308         Remove non-ASCII characters.
7310 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
7312         * tests/semantics.at (AC_SEARCH_LIBS): New test.
7313         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
7314         AC_CHECK_HEADERS_NEW): New tests.
7316 2003-05-17  Akim Demaille  <akim@epita.fr>
7318         * lib/autoconf/functions.m4: Use the default includes so that
7319         memcmp be declared before being tested.
7320         Reported by Sander Niemeijer.
7321         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
7322         * doc/autoconf.texi (Default Includes): Document
7323         AC_INCLUDES_DEFAULT.
7325 2003-05-17  Akim Demaille  <akim@epita.fr>
7327         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
7328         * doc/autoconf.texi (Obsolete Macros): Adjust.
7329         Reported by Werner LEMBERG and Debian Bug 190886.
7331 2003-05-16  Akim Demaille  <akim@epita.fr>
7333         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
7334         user name space clashes.
7335         Reported by Bruno Haible.
7337 2003-05-16  Akim Demaille  <akim@epita.fr>
7339         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7340         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
7341         them uniform, and more robust to Perl special characters.
7342         Reported by Martin Mokrejs.
7344 2003-05-14  Akim Demaille  <akim@epita.fr>
7346         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
7348 2003-05-14  Akim Demaille  <akim@epita.fr>
7350         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
7351         linux/irda.h.
7353 2003-05-12  Akim Demaille  <akim@epita.fr>
7355         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
7356         message.
7357         From Matthias Andree.
7359 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
7361         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
7362         and truncate.
7364 2003-05-06  Akim Demaille  <akim@epita.fr>
7366         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
7367         longer updates aclocal.m4 if useless, (ii) if a file m4_included
7368         by aclocal.m4 is changed it might require the importing of another
7369         m4 extension file, i.e., aclocal must be run.
7371         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
7372         (&parse_args): Use --force with aclocal if required and supported.
7373         (&autoreconf_current_directory): Use &run_aclocal.
7375 2003-05-06  Akim Demaille  <akim@epita.fr>
7377         Lock autom4te's cache.
7379         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
7380         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
7381         argument instead of a file name, so that the request file remains
7382         open during the whole autom4te run.
7383         ($icache_file): New.
7384         (&freeze): Lock the $icache_file.
7386 2003-04-29  Derek Price  <derek@ximbiot.com>
7388         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
7389         seperator with m4_append_uniq().  It doesn't work.
7390         (AT_CLEANUP): Add `;' to end of at_help_all.
7391         (AT_INIT): Allow --keywords to be specified more than once.  When
7392         grepping $at_help_all for keywords, use the field and keyword
7393         seperators to ensure a complete keyword match.  Alter at_prev handling
7394         to support the new --keywords behavior.
7396 2003-04-27  Karl Berry  <karl@freefriends.org>
7398         * doc/autoconf.texi: Make the dir entries in the autoconf manual
7399         align better with others.  I also made some of the individual
7400         entries on one line, for brevity and to make it easier for me to
7401         sort my dir-example file in the Texinfo distribution :).
7403 2003-04-12  Jim Meyering  <jim@meyering.net>
7405         * NEWS: Mention the new macro.
7406         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
7407         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
7408         * tests/c.at: Test AC_C_RESTRICT.
7409         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
7411 2003-04-08  Akim Demaille  <akim@epita.fr>
7413         * bin/ifnames.in: Skip C++ comments.
7414         From Jeremy Yallop.
7416 2003-04-08  Akim Demaille  <akim@epita.fr>
7418         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
7419         From Ilya Zakharevich.
7421 2003-04-08  Akim Demaille  <akim@epita.fr>
7423         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
7424         net/if.h, stdlib.h.
7426 2003-04-01  Derek Price  <derek@ximbiot.com>
7428         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
7429         from Akim's checkin of 2003-03-29.
7431 2003-04-01  Derek Price  <derek@ximbiot.com>
7433         * tests/torture.at (Configuring subdirectories): Add missing
7434         close-quote for Akim's change from 2003-03-28.
7436 2003-04-01  Akim Demaille  <akim@epita.fr>
7438         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
7439         (AC, AT, MS): these.
7440         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
7441         New.
7442         Use them.
7443         * doc/Makefile.am (CLEANFILES): Adjust.
7444         (TEXI2DVI): Make it --batch.
7446 2003-03-31  Derek Price  <derek@ximbiot.com>
7448         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
7449         which removed the main loop.
7450         Thanks to Akim Demaille.
7452 2003-03-29  Akim Demaille  <akim@epita.fr>
7454         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
7455         that starts a GUI.
7456         From Ilya Zakharevich.
7458 2003-03-29  Akim Demaille  <akim@epita.fr>
7460         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
7461         documentation to read is Autoconf's.
7462         Suggested by Paul Eggert.
7464 2003-03-28  Akim Demaille  <akim@epita.fr>
7466         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
7467         reading the section "Present But Cannot Be Compiled" when the
7468         header causes problems.
7470 2003-03-28  Akim Demaille  <akim@epita.fr>
7472         * tests/torture.at (Configuring subdirectories): Require aclocal
7473         1.4, otherwise the test fails, as it does support configure.ac.
7474         This fixes the "test 40 failed" bug reports.
7476 2003-03-28  Akim Demaille  <akim@epita.fr>
7478         * doc/autoconf.texi (C Compiler): `#line' portability.
7479         From Paul Eggert and Nelson H. F. Beebe.
7481 2003-03-27  Derek Price  <derek@ximbiot.com>
7483         * lib/autotest/general.m4: Eliminate main loop and reorganize test
7484         layout in order to allow scripting around test groups.
7486 2003-03-27  Derek Price  <derek@ximbiot.com>
7488         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
7489         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
7490         use new diversions in preparation for accepting new arguments and
7491         allowing scripting around tests.
7492         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
7494 2003-03-26  Derek Price  <derek@ximbiot.com>
7496         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
7497         obsolete AC_HELP_STRING.
7498         (AC_HELP_STRING): AU_DEFUN to...
7499         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
7500         * tests/m4sh.at (AS_HELP_STRING): New test.
7502         * tests/acgeneral.at: Regenerated.
7504 2003-03-26  Derek Price  <derek@ximbiot.com>
7506         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
7507         sense.  Verbosify the diversion definitions comment.
7509 2003-03-26  Derek Price  <derek@ximbiot.com>
7511         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
7512         AS_PREPARE.
7514 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
7516         * doc/autoconf.texi (Present But Cannot Be Compiled):
7517         Grammar fixes and minor rewording. (trivial change)
7519 2003-03-06  Paul Eggert  <eggert@twinsun.com>
7521         Work around a problem noted by Nelson H. F. Beebe with coreutils
7522         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
7523         2002/05/09) rejects '#line 32768 "configure"' because the line
7524         number overflows.
7525         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
7526         #line directives.
7527         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
7528         * doc/autoconf.texi (Generating Sources): Document this.
7530 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
7532         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
7533         file name for the m4 program, when it has an "exe" file extension.
7534         DJGPP's error messages include the error code in brackets -
7535         remove the error code during normalization.
7537 2003-02-28  Akim Demaille  <akim@epita.fr>
7539         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
7541 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
7543         * doc/autoconf.texi (Limitations of Make): Remove the section
7544         about `$<' in inference rules, it was a bogus interpretation of
7545         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
7546         Tru64 make in the "target lookup" section.
7547         (Automake): Automake 1.5+ no longer requires special tools to be
7548         present on the developer's host.
7550 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
7552         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
7553         to a shell that can handle redirection or quoting correctly.
7554         Override SHELL with the shell detected by configure.
7555         Use of $^O suggested by Tim van Holder.
7556         * bin/autom4te.in (BEGIN): Likewise.
7557         * bin/autoreconf.in (BEGIN): Likewise.
7558         * bin/autoscan.in (BEGIN): Likewise.
7559         * bin/autoupdate.in (BEGIN): Likewise.
7560         * bin/ifnames.in (BEGIN): Likewise.
7562         * bin/ifnames.in: Add final newline to help and version messages.
7564         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
7565         to cope with DOS-style absolute paths, when constructing
7566         ${ac_make}.
7568         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
7569         When constructing paths with IFS=:, quote the path. If we're
7570         constructing a DOS-style absolute path, we don't want to split it
7571         on the colon.
7573         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
7574         in description.
7576 2003-02-25  Pavel Roskin  <proski@gnu.org>
7578         * bin/autoheader.in: Add missing newline when printing
7579         suggestion how change AC_DEFINE call.
7581 2003-02-24  Paul Eggert  <eggert@twinsun.com>
7583         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
7584         2002-09-01 patch by replacing "test -n" with "test -z".
7585         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
7586         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
7588         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
7589         to fix a mismatch between example and discussion.
7591 2003-02-24  Kevin Ryde  <user42@zip.com.au>
7593         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
7594         format starting with "-".
7596 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
7598         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
7599         is not portable inside Makefile.
7601 2003-02-20  Akim Demaille  <akim@epita.fr>
7603         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
7604         compiler says yeah, but preproc says nope, compiler is right.
7605         Conversely, prompt the reader to send a bug report to the
7606         maintainers of the package, not of Autoconf.
7608 2003-02-20  Klee Dienes  <kdienes@apple.com>
7610         * bin/autoreconf.in (autoreconf_current_directory): Properly
7611         handle an empty aclocal.m4.
7613 2003-02-20  Akim Demaille  <akim@epita.fr>
7615         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
7616         $ac_prefix_program.
7617         From Larry Jones.
7619 2002-12-23  Paul Eggert  <eggert@twinsun.com>
7621         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
7622         innocuous variant befor including <limits.h> or <assert.h>.  This
7623         works around a bug reported by Albert Chin: HP-UX 11i
7624         (and earlier versions) have a <limits.h> that declares
7625         gettimeofday and many other functions.
7627 2002-12-03  Paul Eggert  <eggert@twinsun.com>
7629         Version 2.57.
7631         * NEWS, configure.ac: Update version.
7633         * doc/fdl.texi: Upgrade to FDL version 1.2.
7635         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
7636         nontrivially in main's body, so that f's external declaration is
7637         not optimized away in AIX.  This should fix the bug reported by
7638         Martin Frydl in
7639         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
7641         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
7642         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
7643         defined, to support freestanding compilers.  This should fix the
7644         bug reported by Momchil Velkov in
7645         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
7647         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
7648         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
7649         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
7650         by Simon Josefsson in
7651         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
7653         * Makefile.maint (www-gnu): New macro.
7654         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
7655         the location has moved.
7657 2002-12-02  Martin Frydl  <martin@systinet.com>
7659         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
7660         \(.*\) match is too long and there is something more to be checked.
7661         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
7663 2002-11-15  Akim Demaille  <akim@epita.fr>
7665         Version 2.56.
7667         * config/install-sh: chmod +x.
7668         From Paul Eggert.
7669         * config/move-if-change: Indenting changes.
7670         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
7671         * configure.ac (AM_INIT_AUTOMAKE): here.
7672         Require 1.7.1.
7674 2002-11-14  Akim Demaille  <akim@epita.fr>
7676         Version 2.55.
7678         * config/config.guess, config/config.sub, config/install-sh:
7679         Update from masters.
7681 2002-11-14  Akim Demaille  <akim@epita.fr>
7683         * Makefile.maint: Sync with Bison, i.e.:
7684         (po-check): Scan .l and .y files instead of the
7685         .c and the .h files that they generate.  This fixes the bug
7686         reported by Tim Van Holder in:
7687         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
7688         Look for N_ as well as for _.  Try to avoid matching #define for
7689         N_ and _.
7690         From Paul Eggert.
7692 2002-11-14  Akim Demaille  <akim@epita.fr>
7694         * doc/autoconf.texi (C Compiler): Compiling several files at once.
7695         From Paul Eggert and Albert Chin-A-Young.
7697 2002-11-14  Akim Demaille  <akim@epita.fr>
7699         * doc/autoconf.texi (C Compiler): Solitary backslashes.
7700         From Paul Eggert and Albert Chin-A-Young.
7702 2002-11-14  Kevin Ryde  <user42@zip.com.au>
7704         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
7705         than assigning in main, to avoid HP cc +O3 optimizing it away.
7707 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
7709         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
7710         option.  Process --recheck after parsing all options.  Pass -q
7711         option to configure on --recheck.
7712         (AC_OUTPUT): Pass -q from configure to config.status.
7713         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
7714         arguments to record.
7715         * doc/autoconf.texi (config.status Invocation): Document
7716         config.status -q option.
7718 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
7720         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
7721         Makefile.in if Makefile.am exists.
7722         (output): Strip `.am' from Makefiles.  Don't
7723         output AC_CONFIG_FILES if no Makefiles were found.
7725 2002-11-07  Akim Demaille  <akim@epita.fr>
7727         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
7728         (local_updates): New.
7729         * Makefile.maint: Update, from CVS Bison.
7730         (local_updates): New.
7732 2002-11-06  Akim Demaille  <akim@epita.fr>
7734         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
7735         declaration in extern "C" too.
7736         Reported by Roberto Bagnara.
7738 2002-11-06  Akim Demaille  <akim@epita.fr>
7740         * tests/torture.at (Configuring subdirectories): Don't use grep
7741         -w.
7742         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
7743         Reported by Ezra Peisach.
7745 2002-11-05  Akim Demaille  <akim@epita.fr>
7747         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
7748         Remove.
7749         We _have_ to stop using the old compatibility scheme that tried to
7750         avoid useless backslashes because Libtool 1.4.3 contains a
7751         AC_DEFINE([error_t], [int],
7752         [Define to a type to use for \`error_t' if it is not
7753         otherwise available.])
7754         We _have_ to quote the single quote and backslashes with \.  The
7755         old compatibility scheme saw that ` was backslashed, and therefore
7756         did not quote the single quote.  Hence before this patch, Autoconf
7757         was not compatible with Libtool.
7759 2002-11-04  Paul Eggert  <eggert@twinsun.com>
7761         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
7762         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
7763         LC_NAME, LC_PAPER, LC_TELEPHONE.
7764         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
7766 2002-11-04  Akim Demaille  <akim@epita.fr>
7768         Version 2.54c.
7770         * Makefile.maint (update, cvs-update, po-update, do-po-update):
7771         New.
7772         * config/texinfo.tex: Update.
7774 2002-11-03  Akim Demaille  <akim@epita.fr>
7776         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
7777         from...
7778         (&autoreconf): here.
7779         ($help, $make, &parse_args, &autoreconf_current_directory):
7780         Support -m/--make.
7781         * doc/autoconf.texi (autoreconf Invocation): Adjust.
7783 2002-10-31  Bruno Haible  <bruno@clisp.org>
7785         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
7786         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
7787         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
7788         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
7789         to ac_cv_func_realloc_0_nonnull.
7790         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
7792 2002-10-31  Akim Demaille  <akim@epita.fr>
7794         The test suite was no longer checking for trailing envvars and files.
7796         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
7797         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
7799 2002-10-31  Akim Demaille  <akim@epita.fr>
7801         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
7802         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
7803         Make variable, not a shell variable.
7804         Suggested by Bruno Haible.
7806 2002-10-31  Akim Demaille  <akim@epita.fr>
7808         * bin/autom4te.in (load_configuration): Reject #args out of any
7809         language.
7811 2002-10-31  Akim Demaille  <akim@epita.fr>
7813         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
7814         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
7815         (_AC_RUN_IFELSE): Use it.
7816         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
7817         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
7818         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
7819         inline it.
7821 2002-10-30  Akim Demaille  <akim@epita.fr>
7823         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
7824         * doc/autoconf.texi (autom4te Invocation): Adjust.
7825         Suggested by Tim van Holder.
7827 2002-10-29  Paul Eggert  <eggert@twinsun.com>
7829         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
7830         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
7831         Problem reported by Bruno Haible.
7833 2002-10-29  Akim Demaille  <akim@epita.fr>
7835         * doc/autoconf.texi (Header Templates): Put also in words what the
7836         pictures says to assist free style readers.
7837         (Customizing autom4te): s/--cache=/--cache /.
7839 2002-10-29  Akim Demaille  <akim@epita.fr>
7841         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
7842         sys/wait.h.
7843         sparc_address_test returns void.
7844         Use it with an argument, as prototyped.
7845         From Bruno Haible.
7847 2002-10-29  Akim Demaille  <akim@epita.fr>
7849         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
7850         configure.in, not configure.ac.
7851         Reported by Bruno Haible.
7853 2002-10-29  Akim Demaille  <akim@epita.fr>
7855         * tests/torture.at (Deep Package): New test.
7856         (Configuring subdirectories): Don't use a testSubDir as Autotest
7857         now does it itself.
7859 2002-10-29  Akim Demaille  <akim@epita.fr>
7861         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
7862         * doc/autoconf.texi (Invoking autom4te): Rename as...
7863         (autom4te Invocation): this, for consistency with the other nodes.
7865 2002-10-29  Akim Demaille  <akim@epita.fr>
7867         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
7868         Reported by Ralf Corsepius.
7870 2002-10-29  Akim Demaille  <akim@epita.fr>
7872         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
7873         characters is a back as an `obsolete' warning now.
7874         Reported by Ralf Corsepius.
7876 2002-10-28  Akim Demaille  <akim@epita.fr>
7878         * configure.ac: Bump to 2.54c.
7880 2002-10-28  Akim Demaille  <akim@epita.fr>
7882         Version 2.54b.
7884         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
7886 2002-10-28  Akim Demaille  <akim@epita.fr>
7888         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
7889         m4 executable names, and different GNU M4 version.
7890         Reported by Ezra Peisach and Paul Jarc.
7892 2002-10-27  Akim Demaille  <akim@epita.fr>
7894         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
7895         AC_RUN_IFELSE.
7897 2002-10-27  Akim Demaille  <akim@epita.fr>
7899         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
7900         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
7901         Die when a simple Fortran program cannot be compiled.
7902         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
7903         Issue a warning if no function is given.
7905 2002-10-27  Akim Demaille  <akim@epita.fr>
7907         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
7908         Move the documentation of AC_TRY_RUN to...
7909         (Obsolete Macros): here.
7910         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
7911         (autoconf Invocation): Remove the duplicates with `invoking
7912         autom4te'.
7913         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
7914         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
7916 2002-10-27  Akim Demaille  <akim@epita.fr>
7918         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
7919         and AC_LANG_FUNC_LINK_TRY.
7920         (Examining Libraries): Rename as...
7921         (Running the Linker): this.
7922         Document AC_LINK_IFELSE.
7923         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
7924         (Obsolete Macros): here.
7925         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
7926         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
7927         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
7928         * lib/autoconf/headers.m4 (AC_USG): Likewise.
7930 2002-10-27  Akim Demaille  <akim@epita.fr>
7932         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
7934         More `check config.log' messages.
7936         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
7937         * doc/autoconf.texi (Printing Messages): Document it.
7938         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
7939         appropriate.
7940         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
7941         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
7942         (_AC_COMPILER_OBJEXT): Likewise.
7943         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
7944         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
7945         Likewise.
7946         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
7947         Likewise.
7949         Deprecate macros with unusual interfaces.
7951         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
7952         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
7954         Document the new ones, and proper style.
7956         * doc/autoconf.texi (Generating Sources): New.
7957         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
7958         (Examining Declarations): Rename as...
7959         (Running the Preprocessor): this.
7960         Document AC_PREPROC_IFELSE.
7961         (Examining Syntax): Rename as...
7962         (Running the Compiler): this.
7963         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
7964         (Obsolete Macros): Move the definition of AC_TRY_CPP and
7965         AC_TRY_COMPILE here.
7967 2002-10-27  Akim Demaille  <akim@epita.fr>
7969         Move sections around.
7971         * doc/autoconf.texi (Customizing autom4te): Remove a lost
7972         sentence.
7973         Reported by Burno Haible.
7974         (Language Choice): Now the first section of...
7975         (Writing Tests): this section.
7976         Make the introduction less C-centric.
7977         (Guidelines, Test Functions): Move to...
7978         (Writing Test Programs): this new section.
7979         (Test Programs): Merge into...
7980         (Run Time): this.
7982 2002-10-27  Akim Demaille  <akim@epita.fr>
7984         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
7985         autom4te.in that resulted in the need for two `make' runs.
7987 2002-10-27  Akim Demaille  <akim@epita.fr>
7989         * configure.ac: Bump to 2.54b.
7991 2002-10-25  Akim Demaille  <akim@epita.fr>
7993         Version 2.54a.
7995         * Makefile.maint: Update from the Coreutils.
7996         (AMTAR): Remove, obsolete.
7997         (automake_repo): Update to redhat.com.
7998         (cvs_file): New.
7999         Adjust to the fact that ansi2knr is now hosted by Automake.
8000         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
8001         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
8002         Update from masters.
8003         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
8004         autoscan.pre is not to be installed, and autoscan.list is not to
8005         be shipped.
8006         (CLEANFILES): Add autoscan.list.
8007         (autoscan.list): Disable the cache.
8008         * bin/Makefile.am: Include freeze.mk.
8010 2002-10-25  Akim Demaille  <akim@epita.fr>
8012         * bin/autom4te.in (&load_configuration): Take the file as
8013         argument.
8014         (&parse_args): Handle -C, --cache.
8015         ($help): Adjust.
8016         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
8017         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
8018         * doc/autoconf.texi (Invoking autom4te): Document --cache.
8019         Now a subsection of...
8020         (Using autom4te): This new section.
8021         (Customizing autom4te): New.
8022         (autom4te.cache): Adjust.
8024 2002-10-25  Akim Demaille  <akim@epita.fr>
8026         * doc/autoconf.texi (Generic Headers): More information on how to
8027         use AC_CHECK_HEADERS.
8029 2002-10-25  Akim Demaille  <akim@epita.fr>
8031         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
8032         Space changes.
8034 2002-10-25  Akim Demaille  <akim@epita.fr>
8036         * bin/autoscan.in (output): Output AC_PREREQ.
8037         (%needed_macros): Add AC_PREREQ so that configure.ac without one
8038         be reported.
8040 2002-10-23  Akim Demaille  <akim@epita.fr>
8042         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
8043         document _Bool.
8045 2002-10-23  Akim Demaille  <akim@epita.fr>
8047         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
8048         Reported by Peter Eisentraut.
8050 2002-10-23  Akim Demaille  <akim@epita.fr>
8052         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
8053         type _Bool.
8054         Fix a typo.
8055         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
8056         Eggert's recommandations.
8058 2002-10-22  Akim Demaille  <akim@epita.fr>
8060         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
8061         Bison, by Paul Eggert.
8062         * doc/autoconf.texi (Particular Headers): Document it.
8064 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
8066         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
8067         `$ac_configure_args'.
8069 2002-10-22  Akim Demaille  <akim@epita.fr>
8071         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
8072         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
8073         From Art Haas.
8075 2002-10-22  Akim Demaille  <akim@epita.fr>
8077         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
8079         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8080         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
8081         (_AC_CHECK_HEADER_NEW): Rename as...
8082         (AC_CHECK_HEADER): this.
8084 2002-10-22  Akim Demaille  <akim@epita.fr>
8086         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
8087         words about HP-UX cmp: it was actually a user-written cmp.
8089 2002-10-22  Akim Demaille  <akim@epita.fr>
8091         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
8092         are a few warnings.
8093         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8094         Quote for Perl '' strings, not "".
8095         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
8096         strings.
8098 2002-10-22  Akim Demaille  <akim@epita.fr>
8100         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8101         characters is a syntax warning now.
8102         (_AS_QUOTE): Accept $2 as list of characters to quote.
8103         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8104         Quote for Perl, not sh.
8105         * bin/autoheader.in: When $debug, report the file which is
8106         `do'ne.
8107         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
8108         `@', to tickle Perl's lists.
8109         Reported by Carlos Velasco.
8111 2002-10-18  Akim Demaille  <akim@epita.fr>
8113         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
8114         missing included files _are_ errors.
8115         Thanks to Alexandre Duret-Lutz.
8116         * tests/tools.at (autom4te cache): Adjust.
8117         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
8118         (AT_CHECK_M4SUGAR): Use it.
8119         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8120         Adjust.
8121         * tests/tools.at (autom4te): Now it does exit 1.
8123 2002-10-17  Akim Demaille  <akim@epita.fr>
8125         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
8126         Fixes the `AC_ARG_VAR' test failures.
8127         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
8128         * lib/freeze.mk (check-forbidden-patterns): New.
8129         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
8130         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
8131         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
8132         /dev/null.
8133         Reported months ago by H. Merijn Brand.
8135 2002-10-17  Akim Demaille  <akim@epita.fr>
8137         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
8139 2002-10-16  Paul Eggert  <eggert@twinsun.com>
8141         * Makefile.maint (wget_files): Remove ansi2knr.c.
8142         (ansi2knr.c-url_prefix): Remove.
8144 2002-10-16  Akim Demaille  <akim@epita.fr>
8146         Because of caching, some files that no longer exist and are no
8147         longer required can still cause errors.
8148         Reported by Alexandre Duret-Lutz.
8150         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
8151         to frozen files in @ARGV, as @ARGV must remain being a list of
8152         files.  Rather, at M4 call sites, use this...
8153         (&files_to_options): New function.
8154         (&freeze): Use &error.
8155         (&up_to_date): If a file that was included according to the cache
8156         is no longer there, then the output is out dated.
8157         (&main): Don't even check whether a file is up to date is anyway
8158         --force is given.
8159         * tests/tools.at (autom4te cache): New.
8161 2002-10-16  Akim Demaille  <akim@epita.fr>
8163         * bin/autoconf.as: Kill dead options.
8164         * bin/autoupdate.in (&parse_args): Kill old options.
8165         * bin/autoreconf.in (&parse_args): Remove dead options.
8166         Factor some code.
8167         (&autoreconf): Report the directories we enter *and leave*, so
8168         that error messages can be easily located, and use GNU Make
8169         format, so that Emacs' compile mode understands us.
8170         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
8171         if some file was changed instead of `print'.
8172         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
8173         (&parse_args): Remove the dead options.
8174         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
8175         autoheader's quiet mode.
8176         (AT_CHECK_AUTOUPDATE): Likewise.
8177         * tests/tools.at (autoupdate): Adjust.
8178         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8180 2002-10-11  Akim Demaille  <akim@epita.fr>
8182         No longer use CPP to check for the existing of headers: use CC to
8183         check for compilability.
8185         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8186         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
8187         (_AC_CHECK_HEADER_NEW): Rename as...
8188         (AC_CHECK_HEADER): this.
8190         * lib/autotest/general.m4 (AT_INIT): Include the failed test
8191         numbers in the Subject suggestion.
8193 2002-10-11  Akim Demaille  <akim@epita.fr>
8195         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
8196         Suggest using AC_CHECK_DECLS instead.
8198 2002-10-11  Akim Demaille  <akim@epita.fr>
8200         * tests/torture.at (AC_ARG_VAR): Have configure report the value
8201         of `precious'.
8203 2002-10-11  Akim Demaille  <akim@epita.fr>
8205         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
8206         file name to enable parallel executions.
8207         From Sam Varshavchik.
8209 2002-10-08  Akim Demaille  <akim@epita.fr>
8211         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
8212         aclocal invocation, as Gettext macros might not be visible to
8213         aclocal.
8214         Instead of blindly running autopoint, scan configure.ac (not the
8215         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
8216         Reported by Paul D. Smith.
8218 2002-10-08  Paul Eggert  <eggert@twinsun.com>
8220         Work around problems found when POSIXLY_CORRECT=1 is set.
8221         None of this seems to have anything to do with POSIX, really,
8222         but it's how Perl getopt works.
8223         * bin/autom4te.in (parse_args): Configure GetOpt with
8224         "permute", too.
8225         * doc/autoconf.texi (Invoking autom4te):
8226         --warning -> --warnings.
8227         * lib/autom4te.in: --warning -> --warnings.
8229 2002-09-28  Akim Demaille  <akim@epita.fr>
8231         * doc/autoconf.texi (autom4te.cache): New section.
8233 2002-09-28  Akim Demaille  <akim@epita.fr>
8235         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
8236         (Automake-preselections): Update.
8237         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
8239 2002-09-28  Akim Demaille  <akim@epita.fr>
8241         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
8242         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
8243         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8244         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
8246 2002-09-28  Akim Demaille  <akim@epita.fr>
8248         * tests/torture.at (Configuring subdirectories): Be robust to
8249         users who use config.site to require for a cache: in this case,
8250         the two last configure runs, using two different sets of
8251         arguments, trigger a legitimate error.
8253 2002-09-28  Akim Demaille  <akim@epita.fr>
8255         * tests/m4sh.at (Functions Support, Functions and return Support):
8256         New.
8258 2002-09-28  Akim Demaille  <akim@epita.fr>
8260         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
8261         autoheader are Perl programs.
8262         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
8263         (autom4te): Specify that the sources are in the $srcdir.
8264         * doc/autoconf.texi (Installation Directory Variables): Adjust.
8266 2002-09-28  Akim Demaille  <akim@epita.fr>
8268         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
8269         (tm_zone): Move their rules to...
8270         * lib/autoconf/types.m4: here, using AN_ macros.
8271         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
8272         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
8273         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
8274         * lib/autoconf/programs.m4: here.
8275         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
8276         (ETAGS_FOR_AUTOCONF): New.
8277         Use it.
8279 2002-09-28  Akim Demaille  <akim@epita.fr>
8281         * lib/autoconf/autoscan.m4: New file.
8282         * lib/autoconf/autoconf.m4: Include it.
8283         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
8284         that were listed in the original autoscan.list.
8285         * lib/autoconf/headers.m4: Similarly with headers.
8286         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
8287         (.m4.m4f): Don't pass --prepend-include, since that's done by
8288         tests/autom4te itself.
8289         * lib/autoscan/Makefile.am: Include freeze.mk.
8290         (autoscan.list): New target --this file is no longer a source.
8291         (autoscan.pre): New file.
8293 2002-09-28  Akim Demaille  <akim@epita.fr>
8295         * bin/autoscan.in (@kinds): Make them singular.
8296         Adjust all uses.
8297         (&init_tables): When --debug, report the list of rules to ease
8298         tracking changes in autoscan.list.
8299         * lib/autoscan/autoscan.list (function): Strip comments, sort.
8301 2002-09-28  Akim Demaille  <akim@epita.fr>
8303         * lib/autoscan/functions, lib/autoscan/headers,
8304         * lib/autoscan/identifiers, lib/autoscan/makevars,
8305         * lib/autoscan/programs: Merge into...
8306         * lib/autoscan/autoscan.list: this.
8307         * bin/autoscan.in (&init_tables): Adjust.
8309 2002-09-28  Akim Demaille  <akim@epita.fr>
8311         * lib/autoscan/functions, lib/autoscan/headers,
8312         * lib/autoscan/identifiers, lib/autoscan/makevars,
8313         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
8314         `functions' line is now prefixed with `function:'.
8315         * bin/autoscan.in (&init_tables): Adjust.
8317 2002-09-28  Akim Demaille  <akim@epita.fr>
8319         From now on, autoscan files must always map a macro name to a
8320         word: there is no `default' macro for autoscan.
8322         * bin/autoscan.in (&init_tables): Reject entries with no macro at
8323         all.
8324         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
8325         explicit.
8327 2002-09-28  Akim Demaille  <akim@epita.fr>
8329         * bin/autoscan.in (%c_keywords): Remove.
8330         (&used): Keep only track of the words we might be interested in.
8331         (&output_kind): It is no longer needed to look for non active
8332         checks.
8334 2002-09-27  Akim Demaille  <akim@epita.fr>
8336         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
8337         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
8338         * lib/autoscan/functions: Adjust.
8339         * doc/autoconf.texi (Particular Functions): Adjust.
8341 2002-09-27  Akim Demaille  <akim@epita.fr>
8343         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
8344         from /tmp.
8345         Thanks to Bill Moseley and Paul Eggert.
8346         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
8347         the tmpdir must be created.
8348         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
8349         dir be in the build tree, instead of $TMPDIR.
8351 2002-09-27  Akim Demaille  <akim@epita.fr>
8353         * bin/autoscan.in: Improve the comments.
8354         (&parse_args): Drop obsolete undocumented options.
8355         (&output_kind): Output warnings.
8356         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
8357         (getwd): Trigger a warning.
8359 2002-09-26  Akim Demaille  <akim@epita.fr>
8361         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
8362         Reported by Ralf Corsepius.
8363         * doc/autoconf.texi (autoreconf Invocation): Likewise.
8365 2002-09-26  Akim Demaille  <akim@epita.fr>
8367         Single suffix rules and seperated dependencies are not portable.
8369         * doc/autoconf.texi (Installation Directory Variables): Update.
8370         (Limitations of Make): Some about `Single Suffix Rules and
8371         Separated Dependencies'.
8372         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8373         (ifnames, autoscan, autom4te): Un-factor into several rules.
8375 2002-09-25  Paul Eggert  <eggert@twinsun.com>
8377         * BUGS (Interoperability bugs): New section.  Mention libtool
8378         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
8380 2002-09-24  Paul Eggert  <eggert@twinsun.com>
8382         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
8383         make handles suffix-rules differently from GNU make.
8385         * bin/Makefile.am (SUFFIXES, .in): Remove.
8386         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
8387         Move the body of the old .in rule here.
8389 2002-09-16  Akim Demaille  <akim@epita.fr>
8391         i960 compilers create `b.out' files by default.
8392         Reported by Ralf Corsepius.
8394         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
8395         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
8397 2002-09-13  Paul Eggert  <eggert@twinsun.com>
8399         * doc/autoconf.texi (Particular Headers): Remove obsolete
8400         reference to `struct timezone' in the description of
8401         AC_HEADER_TIME.
8403 2002-09-13  Akim Demaille  <akim@epita.fr>
8405         Version 2.54.
8407         * config/config.sub, config/config.guess: Update.
8408         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
8409         * Makefile.am: Adjust.
8411 2002-09-13  Akim Demaille  <akim@epita.fr>
8413         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
8414         reading config.log when the compiler is rejected.
8415         Suggested by Guido Draheim.
8417 2002-09-13  Akim Demaille  <akim@epita.fr>
8419         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
8420         (chdir_init) might hang when stat'ing mounted directories.
8421         Reported by Vance Shipley.
8423 2002-09-12  Akim Demaille  <akim@epita.fr>
8425         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
8426         the lists.
8428 2002-09-12  Akim Demaille  <akim@epita.fr>
8430         * doc/autoconf.texi (Defining Symbols): Present two different
8431         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
8432         difference between 1 argument calls, and 2-3 argument calls.
8434 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
8436         * doc/autoconf.texi: Review grammar and punctuation.
8438 2002-09-11  Paul Eggert  <eggert@twinsun.com>
8440         * doc/autoconf.texi: Fix minor formatting, spelling, and
8441         grammatical typos.
8442         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
8443         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
8444         is obsolescent.
8446 2002-09-11  Akim Demaille  <akim@epita.fr>
8448         * doc/autoconf.texi (Questions): Rename as...
8449         (FAQ): this.
8450         (Defining Directories): New.
8452 2002-09-09  Akim Demaille  <akim@epita.fr>
8454         * doc/autoconf.texi (Making testsuite Scripts): Update.
8455         Suggested by Nishio Futoshi.
8457 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
8459         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
8460         plain `@' is wanted.
8462 2002-09-09  Akim Demaille  <akim@epita.fr>
8464         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
8465         `duplicates', since the algorithm was too naive and could keep
8466         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
8467         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
8468         Reported by Ralf Corsepius.
8469         * tests/torture.at (Configuring subdirectories): Exercise these
8470         cases.
8472 2002-09-09  Akim Demaille  <akim@epita.fr>
8474         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
8475         looking for a replacement file.
8476         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
8477         directory is relative.
8478         * doc/autoconf.texi (Generic Functions): Clarify the replacement
8479         directory definition.
8480         Reported by Andreas Schwab and Jim Meyering.
8482 2002-09-06  Akim Demaille  <akim@epita.fr>
8484         * doc/autoconf.texi (Setting Output Variables): Clarify what
8485         precious variables are.
8486         Suggested by Pontus Skoeld.
8488 2002-09-05  Akim Demaille  <akim@epita.fr>
8490         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8491         (ifnames, autoscan, autom4te): Since we don't only depend on
8492         configure.ac variables (such as VERSION etc.), but also on prefix
8493         and so forth, depend on Makefile, not configure.ac.
8494         Reported by Alexandre Duret-Lutz.
8495         * doc/autoconf.texi (Installation Directory Variables): Adjust.
8497 2002-09-05  Kevin Ryde  <user42@zip.com.au>
8499         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
8500         doesn't seem to be confined to ia64, just say "some versions".
8502 2002-09-04  Akim Demaille  <akim@epita.fr>
8504         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
8505         Automake 1.6c.
8506         * Makefile.am (maintainer-clean-local): Remove.
8507         (MAINTAINERCLEANFILES): Remove COPYING.
8509 2002-09-03  Paul Eggert  <eggert@twinsun.com>
8511         * doc/autoconf.texi (Configuration Commands): Remove obsolete
8512         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
8513         Brinkmann.
8515 2002-09-03  Akim Demaille  <akim@epita.fr>
8517         * configure.ac: Bump to 2.53d.
8518         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
8519         as of today, on Automake's team suggestion.
8521 2002-09-03  Akim Demaille  <akim@epita.fr>
8523         Version 2.53c.
8525 2002-09-02  Akim Demaille  <akim@epita.fr>
8527         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
8528         SITE_MACRO_DIR.
8529         * configure.ac: Disable SITE_MACRO_DIR.
8531 2002-09-02  Jim Meyering  <meyering@lucent.com>
8533         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
8534         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
8535         Also, tweak grammar: s/make sure to/be sure to/.
8537 2002-09-02  Paul Eggert  <eggert@twinsun.com>
8539         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
8540         directory names are generally preferable to physical names.
8542 2002-09-02  Akim Demaille  <akim@epita.fr>
8544         * lib/Autom4te/General.pm (&update_file): s/die/error/.
8545         Reported by Raja R. Harinath.
8546         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
8547         * bin/autoupdate.in: Use error instead of die.
8549 2002-09-01  Paul Eggert  <eggert@twinsun.com>
8551         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
8552         ordinary shell concatenation rather than echo+tr+sed command that
8553         runs afoul of a long-line-related sed bug in Solaris 8.
8555         * bin/autoheader.in (parse_args): --warning -> --warnings.
8557         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
8558         stdout, as traditional "ls" does.
8559         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
8560         _AC_COMPILER_EXEEXT_O): Likewise.
8561         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
8563         * bin/autoconf.as: Add --prepend-include option.  This patch was
8564         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
8565         but bin/autoconf.in is generated automatically from bin/autoconf.as.
8567         * bin/autoconf.in, configure: Regenerate.
8569         * doc/autoconf.texi (Special Shell Variables): Mention
8570         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
8572         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
8573         MAILPATH and set PS1, PS2, PS4 to default values, to work
8574         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
8575         For LC_ALL etc, first try to set to "C" as POSIX requires and as
8576         the Autoconf documentation specifies; fall back to "unset" only if
8577         this fails.  Use a shell for-loop for this rather than an m4 loop,
8578         to shorten the output script.
8580 2002-08-30  Paul Eggert  <eggert@twinsun.com>
8582         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
8583         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
8584         for the CDPATH problem.  Document PWD.
8585         (Limitations of Builtins): Document the problem that "cd $foo" and
8586         "ls $foo" may refer to different directories in shells conforming
8587         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
8588         example, since the old example is now out of date.
8590         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
8591         FOO" and "ls FOO" talk about different directories; this catches
8592         problems when POSIX 1003.1-2001 "cd" fails due to symlink
8593         spaghetti.
8595         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
8596         of rolling our own unset.
8597         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
8598         in practice we needn't worry about CDPATH if unset doesn't work.
8600         * Makefile.in, aclocal.m4, bin/Makefile.in,
8601         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
8602         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
8603         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
8604         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
8605         tests/Makefile.in: Regenerate with Automake 1.6.3.
8607         * config/config.guess, config/config.sub, config/mkinstalldirs:
8608         Update.
8610         * configure: Regenerate with self.
8612 2002-08-30  Kevin Ryde  <user42@zip.com.au>
8614         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
8615         default output.
8617 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8619         * bin/autom4te.in (Request::load): Correctly test for "do" read
8620         failure.
8622 2002-08-29  Akim Demaille  <akim@epita.fr>
8624         * lib/Autom4te/General.pm (&xqx): New.
8625         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
8626         hand, which is not portable.
8627         (&error): New.
8628         * bin/autom4te.in: Use them.
8629         Use &error instead of die.
8630         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8631         Adjust.
8633 2002-08-17  Paul Eggert  <eggert@twinsun.com>
8635         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
8636         default list of compilers to try, since it was long ago superseded
8637         by the ksh fc builtin.  Suggested by Steven G. Johnson.
8639 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
8641         * doc/autoconf.texi (Invoking autom4te): End the option table,
8642         fixing a bug introduced by the previous patch.
8643         (Limitations of Make): Add a 'target lookup' subentry in the
8644         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
8646 2002-07-29  Mark D. Roth  <roth@feep.net>
8648         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
8649         options and use $AUTOM4TE_PATH.
8650         * doc/autoconf.texi: Remove documentation of autom4te
8651         --include-envvar and --site-macro-subdir options and document
8652         use of $AUTOM4TE_PATH.
8653         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
8654         arguments from each language section.
8656 2002-07-29  Paul Eggert  <eggert@twinsun.com>
8658         * doc/install.texi: Include copyright symbol in copyright notice.
8660         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
8661         Replace with:
8662         (AM_MAKEINFOFLAGS): New macro.
8663         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
8664         * Makefile.am (INSTALL): Use the new macros.
8665         Use -o rather than --output, since "missing" does not grok --output.
8667 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
8669         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
8670         comments do not always work. Never trust the exit status of
8671         `make -k'.
8673 2002-07-24  Kevin Ryde  <user42@zip.com.au>
8675         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
8676         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
8678 2002-07-23  Paul Eggert  <eggert@twinsun.com>
8680         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
8681         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
8682         apparently treats PATH="nonexistent" as if it contained ".".
8683         Bug reported by Stefan `Sec' Zehl.
8685 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
8687         * doc/autoconf.texi (Limitations of Make): Mention the special
8688         handling of the obj/ directory by BSD make.
8690 2002-07-20  Kevin Ryde  <user42@zip.com.au>
8692         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
8693         backslashes.
8695 2002-07-19  Akim Demaille  <akim@epita.fr>
8697         * doc/autoconf.texi (Function Portability): `exit'.
8698         (Programming in M4sh): Ethymology of M4sh.
8700 2002-07-19  Akim Demaille  <akim@epita.fr>
8702         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
8704 2002-07-18  Akim Demaille  <akim@epita.fr>
8706         Version 2.53b.
8708 2002-07-18  Akim Demaille  <akim@epita.fr>
8710         * config/config.guess, config/config.sub: Update.
8712 2002-07-18  Akim Demaille  <akim@epita.fr>
8714         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
8715         Automake's parts.
8717         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
8718         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
8719         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
8721 2002-07-18  Akim Demaille  <akim@epita.fr>,
8722             Alexandre Duret-Lutz  <duret_g@epita.fr>
8724         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
8725         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
8727 2002-07-17  Russ Allbery  <rra@stanford.edu>
8729         * doc/autoconf.texi (Initializing configure): Clarify the
8730         description of the tarname default.
8732 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
8734         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
8735         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
8736         latter was not run.
8738 2002-07-17  Akim Demaille  <akim@epita.fr>
8740         * lib/Autom4te/General.pm (find_file): Browse the directories in
8741         the order they are given.
8743 2002-07-17  Akim Demaille  <akim@epita.fr>
8745         * tests/wrapsh.as, tests/wrappl.as: Merge into...
8746         * tests/wrapper.as: this.
8747         * tests/Makefile.am, configure.ac: Adjust.
8749 2002-07-17  Mark D. Roth  <roth@feep.net>
8751         * configure.ac: Add --enable-site-macro-dir option.
8752         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
8753         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
8754         --site-macro-subdir options.
8755         * bin/autoconf.in: Add --prepend-include option.
8756         * bin/autoheader.in: Add --prepend-include option.
8757         * bin/autoreconf.in: Add --prepend-include option.
8758         * bin/autoscan.in: Add --prepend-include option.
8759         * bin/autoupdate.in: Add --prepend-include option.
8760         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
8761         macro directory, remove note that include path directories are
8762         used in reverse order, and document --prepend-include option.
8763         * lib/autom4te.in: Use --prepend-include instead of --include.
8764         * tests/wrapsh.in: Use --prepend-include instead of --include.
8766 2002-07-17  Akim Demaille  <akim@epita.fr>
8768         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
8769         tarnames.
8770         * doc/autoconf.texi (Initializing configure): Adjust.
8772 2002-07-17  Akim Demaille  <akim@epita.fr>
8774         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
8775         (_AC_FUNC_MALLOC): New.
8776         (AC_FUNC_MALLOC): Use the latter.
8777         Define HAVE_MALLOC to 0 if broken.
8778         * doc/autoconf.texi (Particular Functions): Adjust.
8780 2002-07-16  Akim Demaille  <akim@epita.fr>
8782         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
8783         * doc/autoconf.texi (C Compiler): Adjust.
8785 2002-07-09  Akim Demaille  <akim@epita.fr>
8787         * doc/autoconf.texi: Properly set the ``header'' part.
8789 2002-07-09  Akim Demaille  <akim@epita.fr>
8791         * doc/autoconf.texi (Systemology): Some about Darwin.
8793 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
8795         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
8796         Don't use AC_REQUIRE in AU_DEFUN.
8798 2002-07-09  Art Haas  <ahaas@neosoft.com>
8800         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
8802 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
8804         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8805         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
8806         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
8807         so that Emacs setups GNU style for perl-mode and cperl-mode.
8809 2002-06-27  Paul Eggert  <eggert@twinsun.com>
8811         * config/install-sh: Quote $src.  Prefer || to test's -o option,
8812         as per "Limitations of Builtins".
8813         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
8814         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8816         * tests/mktests.sh: Use grep instead of fgrep, as per
8817         "Limitations of Builtins".
8819 2002-06-15  Paul Eggert  <eggert@twinsun.com>
8821         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
8822         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
8823         so that we consistently test the just-built programs.
8824         * tests/wrappl.as: Likewise.
8826 2002-06-12  Paul Eggert  <eggert@twinsun.com>
8828         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
8829         name, so that symlinks to 'autoconf' work properly.  Bug reported
8830         by Bruno Haible.
8831         * bin/autoheader.in (AUTOM4TE): Likewise.
8832         * bin/autoreconf.in (autoconf, autoheader): Likewise.
8833         * bin/autoscan.in (autom4te): Likewise.
8834         * bin/autoupdate.in (autom4te): Likewise.
8836         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
8837         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
8838         on Solaris 2.5.1.
8840 2002-06-11  Andreas Schwab  <schwab@suse.de>
8842         * doc/autoconf.texi: Add more dir entries.
8844 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
8846         * bin/autom4te.in ($cache): Don't define using `$me', the name
8847         of the cache should not depend on the name under which autom4te
8848         was installed.
8850 2002-06-07  Akim Demaille  <akim@epita.fr>
8852         * tests/tools.at (autoconf: forbidden tokens, basic)
8853         (autoconf: forbidden tokens, exceptions): Adjust to the change of
8854         words in autom4te.in.
8856 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
8858         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
8859         _AC_LANG_PROGRAM_C_F77_HOOKS.
8861 2002-06-07  Akim Demaille  <akim@epita.fr>
8863         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
8864         rename as...
8865         (AC_REPLACE_FNMATCH): this.
8866         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
8867         AC_FUNC_FNMATCH_GNU.
8869 2002-06-07  Akim Demaille  <akim@epita.fr>
8871         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
8872         Rosetta Stone for Unix.
8874 2002-06-07  Akim Demaille  <akim@epita.fr>
8876         * bin/autom4te.in (warn_forbidden): When rejecting a token,
8877         suggest m4_pattern_allow.
8878         Suggested by Adam J. Richter.
8880 2002-06-07  Akim Demaille  <akim@epita.fr>
8882         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
8883         ac_config_libobj_dir.
8884         (AC_CONFIG_LIBOBJ_DIR): New.
8885         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
8886         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
8887         Use ac_config_libobj_dir to find the replacement files.
8888         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
8889         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
8890         (AC_REPLACE_FNMATCH_GNU): these.
8891         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
8892         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
8893         * tests/mktests.sh (ac_exclude_list): Don't check
8894         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
8896 2002-06-06  Paul Eggert  <eggert@twinsun.com>
8898         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
8899         if ln doesn't work.
8900         * NEWS: Likewise.
8901         * doc/autoconf.texi (Configuration Links): Likewise.
8902         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
8904 2002-06-05  Paul Eggert  <eggert@twinsun.com>
8906         * config/config.guess, config/config.sub, config/texinfo.tex:
8907         Update from masters.
8909 2002-05-29  Paul Eggert  <eggert@twinsun.com>
8911         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
8912         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
8913         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
8914         Likewise.
8915         * lib/autoconf/Makefile.am (check-local): Likewise.
8916         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
8917         * lib/autoconf/types.m4 (commentary only): Likewise.
8918         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
8919         * lib/autotest/Makefile.am (check-local): Likewise.
8920         * lib/m4sugar/Makefile.am (check-local): Likewise.
8921         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
8922         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
8924         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
8925         * doc/autoconf.texi (Particular Programs): Document them.
8926         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
8927         * NEWS: Likewise.
8929 2002-05-27  Paul Eggert  <eggert@twinsun.com>
8931         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
8932         * NEWS, doc/autoconf.texi (Particular Types): Document it.
8933         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
8934         instead of AC_MBSTATE_T, which never existed.
8936 2002-05-23  Akim Demaille  <akim@epita.fr>
8938         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
8939         version of Autoconf that is discussed.
8941 2002-05-22  Paul Eggert  <eggert@twinsun.com>
8943         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
8944         from the default list of compilers to try.  Suggested by
8945         Kate Hedstrom.
8946         * NEWS: Document the above.
8947         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
8949 2002-05-17  Paul Eggert  <eggert@twinsun.com>
8951         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
8952         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
8953         This improves on an earlier suggestion by H. Peter Anvin.
8955 2002-05-16  Paul Eggert  <eggert@twinsun.com>
8957         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
8958         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
8959         Both macros now accept an optional source-dir arg.
8960         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
8962         * NEWS: Document this.
8963         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
8965         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
8966         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
8967         not for GNU extensions; this undoes part of the 2000-11-03 change,
8968         reverting to 2.13-compatible behavior.
8969         Add new optional argument DIR.
8970         (AC_FUNC_FNMATCH_GNU): New macro.
8972         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
8974 2002-05-08  Paul Eggert  <eggert@twinsun.com>
8976         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
8977         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
8978         and it causes a 'test' syntax error if it fails.
8979         Bug reported by Stephen Gildea.
8981         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
8982         If prototypes are supported, use them to check this at compile-time,
8983         instead of trying to check it at run-time.  If we must do a run-time
8984         check, assume that setvbuf is standard when cross-compiling, as
8985         nonstandard setvbuf occurs only on ancient and unlikely hosts.
8986         Bug reported by Paul D. Smith.
8988         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
8989         argument specifying location of getloadavg.c.  This removes a
8990         FIXME.  This idea was taken from Jim Meyering's implementation in
8991         textutils.
8992         * doc/autoconf.texi (Particular Functions): Document this.
8993         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
8994         that's what the code does; this fixes a bug reported by
8995         Paul D. Smith.
8997 2002-05-03  Akim Demaille  <akim@epita.fr>
8999         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
9000         autopoint instead of gettextize.
9001         ($uses_alocal): Rename as...
9002         ($uses_aclocal): this.
9003         * doc/autoconf.texi (autoreconf Invocation): Adjust.
9004         Suggested by Bruno Haible.
9006 2002-05-03  Akim Demaille  <akim@epita.fr>
9008         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
9010 2002-04-29  Paul Eggert  <eggert@twinsun.com>
9012         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
9013         files to be 1 second older; just set them to be the same time.
9014         Also, sleep 1 second after the first aclocal, to work around
9015         problems with sub-second time stamps on the input files.
9017 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
9019         * doc/autoconf.texi: Mention "set -e -x" lossage
9020         under node "Limitations of Builtins".
9022 2002-04-29  Akim Demaille  <akim@epita.fr>
9024         * doc/install.texi: Better wording for setting variables when
9025         running configure.
9026         From Christian Cornelssen.
9028 2002-04-29  Akim Demaille  <akim@epita.fr>
9030         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
9031         of lack of $LINENO support, then the test will compare the $LINENO
9032         in testsuite vs. the lineno in the test file.  This is wrong, of
9033         course.
9034         Be sure to protect it.
9035         Reported by Patrick Welche.
9037 2002-04-25  Akim Demaille  <akim@epita.fr>
9039         * doc/autoconf.texi (Obsolete Macros): Typo.
9040         Reported by Vladimir Volovich.
9042 2002-04-25  Akim Demaille  <akim@epita.fr>
9044         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
9045         than some of the input files, hence, on the second run of aclocal,
9046         if some of its input are younger, make them older.
9047         Suggested by Paul Eggert.
9049 2002-04-25  Akim Demaille  <akim@epita.fr>
9051         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
9052         Thanks to Paul Eggert.
9054 2002-04-25  Akim Demaille  <akim@epita.fr>
9056         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
9057         and ac_subst_vars be sh variables containing the list of
9058         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
9059         DEFAULT diversion.
9060         (_AC_INIT_PREPARE): Use them to log them.
9061         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
9062         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
9063         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
9064         _AC_SUBST_FILES and _AC_SUBST_VARS.
9065         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
9067 2002-04-24  Akim Demaille  <akim@epita.fr>
9069         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
9070         autoheader, so that automake does not complain about a missing
9071         config.h.in that was to be created.
9073 2002-04-23  Akim Demaille  <akim@epita.fr>
9075         * bin/autoheader.in (parse_args): --warning takes an argument.
9076         Fixes PR/220.
9078 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
9080         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
9081         and bb.out when cleaning up.
9083 2002-04-22  Akim Demaille  <akim@epita.fr>
9085         Version 2.53a.
9087 2002-04-22  Akim Demaille  <akim@epita.fr>
9089         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
9091 2002-04-22  Akim Demaille  <akim@epita.fr>
9093         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
9094         comma.
9095         Reported by Gregory Giannoni.
9097 2002-04-22  Akim Demaille  <akim@epita.fr>
9099         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
9100         Fixes false failures on Darwin.
9102 2002-04-21  Paul Eggert  <eggert@twinsun.com>
9104         * TODO, bin/autoupdate.in, doc/autoconf.texi,
9105         lib/autoconf/general.m4, lib/autoconf/libs.m4,
9106         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
9107         tests/tools.at: Minor spelling and grammar fixes.
9109 2002-04-20  Paul Eggert  <eggert@twinsun.com>
9111         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
9112         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
9113         * lib/autotest/general.m4 (AT_INIT): Likewise.
9114         * tests/atgeneral.m4 (AT_INIT): Likewise.
9116 2002-04-19  Paul Eggert  <eggert@twinsun.com>
9118         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
9119         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
9120         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
9121         lib/autoconf/functions.m4, lib/autoconf/general.m4,
9122         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
9123         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
9124         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
9125         Minor spelling and grammar fixes.
9127         * doc/autoconf.texi: Follow the outline suggested in the GNU
9128         Sample Texts sections of the Texinfo 4.2 manual.  Most
9129         importantly, this makes sure that the copyright notices appear in
9130         all output formats.  You probably need Texinfo 4.2 to generate
9131         the manual now.
9133         Fix some bugs when using "$@" when there might be zero positional
9134         arguments in cases where this matters.
9136         * bin/autoconf.as: Rewrite so that the problem does not come up.
9137         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
9138         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
9139         * lib/autotest/general.m4 (AT_INIT): Likewise.
9141         * bin/autoheader.in: Use 'case' statement to work around problem.
9142         * bin/auto4mte.in: Likewise.
9143         * bin/autoreconf.in: Likewise.
9144         * bin/autoscan.in: Likewise.
9145         * bin/autoupdate.in: Likewise.
9146         * bin/ifnames.in: Likewise.
9148         * doc/autoconf.texi (Shell Substitutions): Document the problem.
9150         * lib/autotest/general.m4 (AT_INIT):
9151         Use Zsh alias to work around problem.
9152         * tests/atgeneral.m4 (AT_INIT): Likewise.
9154         * tests/c.at: We can't have zero arguments, so remove workaround
9155         that is not portable to Zsh.
9157 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
9159         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
9160         from aclocal.m4 too.
9162 2002-04-12  Akim Demaille  <akim@epita.fr>
9164         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
9166 2002-04-10  Akim Demaille  <akim@epita.fr>
9168         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
9169         workaround for ${1+"$@"}.
9170         * doc/autoconf.texi (Shell Substitutions): Explain it.
9171         From Oliver Kiddle and Peter Stephenson.
9173         Have M4sh perform minimal shell sanitizing.
9175         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
9176         part into...
9177         (_AS_PREPARE): this new macro.
9178         (AS_PREPARE): New.
9179         (AS_INIT): Invoke AS_SHELL_SANITIZE.
9180         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
9182         Adjust Autoconf and Autotest.
9184         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
9185         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
9186         * lib/autotest/general.m4 (AT_INIT): Likewise.
9187         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
9188         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
9189         AS_SHELL_SANITIZE.
9191         Use this M4sh to generate Autoconf's shell scripts.
9193         * tests/wrapsh.as: New, precursor of wrapsh.in.
9194         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
9195         on Autotest and M4sh.
9196         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
9197         (wrapsh.in): New target.
9198         * bin/autoconf.as: New, precursor of autoconf.in.
9199         (autoconf.in): New target.
9201 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
9203         * doc/autoconf.texi (Limitations of Make): Mention the issue
9204         with indented comments in rules.
9206 2002-04-09  Andreas Schwab  <schwab@suse.de>
9208         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
9209         ac_top_builddir when setting ac_abs_top_builddir.
9211 2002-04-06  Kevin Ryde  <user42@zip.com.au>
9213         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
9214         (Portable Shell): Cross reference to Systemology.
9216 2002-04-05  Akim Demaille  <akim@epita.fr>
9218         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
9219         directories when descending in a SUBDIRS.
9220         Reported by Ezra Peisach.
9222 2002-04-04  Andreas Schwab  <schwab@suse.de>
9224         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
9225         contains no literal separators.
9227 2002-04-03  Akim Demaille  <akim@epita.fr>
9229         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
9230         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
9231         Use dnl, not the KILL diversion.
9232         Extracted from...
9233         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
9234         (AC_CONFIG_LINKS): here.
9235         Adjust.
9236         Don't use the KILL diversion, as it kills spurious output, which
9237         results in failures being hidden.
9238         Use m4_defn where appropriate.
9239         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
9240         after the second argument.
9241         Use m4_defn.
9242         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
9243         syntax, as it is provided by M4sugar.
9244         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
9246 2002-04-03  Andreas Schwab  <schwab@suse.de>
9248         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
9249         expanded if $# <= 2.
9251         * bin/autoreconf.in (autoreconf): Run automake after rerunning
9252         aclocal.
9254 2002-04-03  Akim Demaille  <akim@epita.fr>
9256         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
9257         (_AC_COMPILER_EXEEXT_REJECT): New.
9258         Also recognize *.bb and *.bbg as compilation byproducts.
9259         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
9260         (_AC_COMPILER_OBJEXT): Use them.
9261         Fixes Debian #138666.
9263 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
9265         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
9267         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
9268         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
9269         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
9270         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
9271         (AC_C_CONST): Same.
9272         (AC_C_INLINE): Same.
9273         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
9274         * doc/autoconf.texi, NEWS: Document.
9275         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
9276         AC_C_CROSS.
9278 2002-04-02  Akim Demaille  <akim@epita.fr>
9280         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
9281         _AS_MKDIR_P_PREPARE.
9283 2002-03-28  Kevin Ryde  <user42@zip.com.au>
9285         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
9286         to avoid versions of HP C which don't allow that.
9288 2002-03-27  Paul Eggert  <eggert@twinsun.com>
9290         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
9291         (AS_SHELL_SANITIZE): Invoke it.
9292         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
9294 2002-03-26  Akim Demaille  <akim@epita.fr>
9296         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
9298 2002-03-26  Akim Demaille  <akim@epita.fr>
9300         * doc/autoconf.texi (Introduction): The GNATS base moved.
9302 2002-03-25  Paul Eggert  <eggert@twinsun.com>
9304         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
9305         as POSIX requires, as it doesn't work with Zsh.
9306         * doc/autoconf.texi (Assignments): Document the problem.
9308 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
9310         * doc/autoconf.texi (Limitations of Make): Mention more issue
9311         about VPATH, overriding of macros in sub-makes, and handling of
9312         SHELL.
9314 2002-03-21  Paul Eggert  <eggert@twinsun.com>
9316         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
9317         problem with here-document buffer boundaries.
9319         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
9320         when reinvoking the shell, to work around problems with installers
9321         who put strange things like "cd" commands in their environments.
9323 2002-03-19  Akim Demaille  <akim@epita.fr>
9325         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
9326         From Aaron Ucko.
9328 2002-03-19  Akim Demaille  <akim@epita.fr>
9330         * bin/autoscan.in (scan_file): Specify the location in `&used'
9331         invocations.
9332         From Nicolas Joly.
9334 2002-03-19  Akim Demaille  <akim@epita.fr>
9336         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
9337         From Nishio Futoshi.
9339 2002-03-19  Akim Demaille  <akim@epita.fr>
9341         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
9343 2002-03-18  Paul Eggert  <eggert@twinsun.com>
9345         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
9346         (Limitations of Usual Tools): Add mkdir section.
9348         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
9349         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
9350         back on AS_DIRNAME to compute prefixes otherwise; this is
9351         roughly what mkinstalldirs does.  That way, we need not have
9352         our own filename disassembler.  The old disassembler did not
9353         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
9355         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
9356         Create at_test_all by a series of assignments,
9357         not by a single assignment of a long string.  The latter causes ksh
9358         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
9359         presumably because of a buffer overrun.
9361 2002-03-14  Paul Eggert  <eggert@twinsun.com>
9363         * lib/autotest/general.m4 (at_times_skip):
9364         Renamed from at_times.  Now a boolean.
9365         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
9366         says 'times: not found'.
9368 2002-03-14  Akim Demaille  <akim@epita.fr>
9370         * bin/autoreconf.in (&study_gettextize): New.
9371         (&autoreconf): Handle newest gettextize.
9372         Rerun aclocal if needed.
9373         Suggested by Andreas Schwab.
9375 2002-03-13  Akim Demaille  <akim@epita.fr>
9377         * doc/autoconf.texi (Special Shell Variables): More about IFS.
9379 2002-03-13  Akim Demaille  <akim@epita.fr>
9381         * doc/autoconf.texi (Header Portability): New.
9382         Add information about stdint.h and inttypes.h from Paul Eggert.
9384 2002-03-13  Akim Demaille  <akim@epita.fr>
9386         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
9387         -p'.
9388         From Bob Proulx.
9390 2002-03-12  Akim Demaille  <akim@epita.fr>
9392         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
9393         m4_require.
9395 2002-03-11  Andreas Schwab  <schwab@suse.de>
9397         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
9398         does not do it if --with-lispdir is given.
9400 2002-03-08  Akim Demaille  <akim@epita.fr>
9402         Version 2.53.
9404 2002-03-08  Akim Demaille  <akim@epita.fr>
9406         * doc/autoconf.texi (Subdirectories): Clarify that the
9407         subdirectory should exist.
9409 2002-03-08  Akim Demaille  <akim@epita.fr>
9411         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
9413 2002-03-08  Akim Demaille  <akim@epita.fr>
9415         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
9416         aliases the actual variables, and modifications of the former
9417         affect the latter.
9419 2002-03-08  Akim Demaille  <akim@epita.fr>
9421         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
9422         because of C-c: have m4 output in tmp files, then mv them.
9424 2002-03-08  Akim Demaille  <akim@epita.fr>
9426         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
9427         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
9428         * bin/ifnames.in: Copyright update.
9430 2002-03-08  Akim Demaille  <akim@epita.fr>
9432         * doc/autoconf.texi (Invoking autom4te): New.
9434 2002-03-05  Akim Demaille  <akim@epita.fr>
9436         * doc/autoconf.texi (Specifying Names): Clarification suggested by
9437         Kevin Ryde.
9439 2002-03-05  Akim Demaille  <akim@epita.fr>
9441         Version 2.52i.
9443 2002-03-04  Akim Demaille  <akim@epita.fr>
9445         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
9446         * lib/autoconf/general.m4 (AC_INIT): More informative error
9447         message for LIBOBJ.
9449 2002-03-04  Akim Demaille  <akim@epita.fr>
9451         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
9452         parallel builds.
9454 2002-03-04  Akim Demaille  <akim@epita.fr>
9456         * doc/autoconf.texi (Transforming Names): Equality between target
9457         and host is irrelevant.
9458         (Specifying Names, Canonicalizing): Remove all references to the
9459         backward compatibility hooks.  Rather, collect them all into...
9460         (Hosts and Cross-Compilation): this new section.
9461         * doc/install.texi (System Type): Ditto.
9462         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
9463         that `--host' implies cross-compilation.
9465 2002-03-04  Akim Demaille  <akim@epita.fr>
9467         * doc/autoconf.texi (Evaluation Macros): New.
9468         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
9469         useless.
9470         (_m4_foreach): Define the variant with immediate evaluation so
9471         that it contains exactly the items, not an expression which
9472         evaluation is the current item.
9473         (m4_re_string, m4_re_word): Don't over quote them.
9475 2002-03-04  Akim Demaille  <akim@epita.fr>
9477         Instead of having stacking `shift's evaluated at the end, let
9478         `foreach' loops immediately evaluate them.
9480         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
9481         $*.  This is the n-th time I change my mind, but hopefully this is
9482         the last...
9483         (m4_lquote): New.
9484         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
9485         efficient.
9486         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
9487         it was only a hack for m4_text_wrap.
9488         (m4_car2): Remove, replaced by...
9489         (m4_cdr): New.
9490         (_m4_foreach): Adjust.
9491         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
9492         m4_bpatsubst for clarification.
9494 2002-03-04  Akim Demaille  <akim@epita.fr>
9496         * doc/autoconf.texi (Changequote is Evil): New.
9498 2002-03-03  Kevin Ryde  <user42@zip.com.au>
9500         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
9501         on old systems like SunOS.
9503 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
9505         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9506         lib/autoconf/functions.m4, lib/autoconf/general.m4,
9507         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
9508         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
9509         of messages.
9511 2002-02-28  Akim Demaille  <akim@epita.fr>
9513         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
9514         message to be sent.
9516 2002-02-28  Kevin Ryde  <user42@zip.com.au>
9518         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
9520 2002-02-25  Akim Demaille  <akim@epita.fr>
9522         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
9523         From Akinori Musha.
9525 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
9527         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
9528         translate \r\n to \n.
9530 2002-02-07  Akim Demaille  <akim@epita.fr>
9532         Version 2.52h.
9534 2002-02-07  Akim Demaille  <akim@epita.fr>
9536         Fix Autoconf PR/209.
9537         Also reported by Frank Denis.
9539         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
9541 2002-02-07  Akim Demaille  <akim@epita.fr>
9543         Fix Autoconf PR/207:
9544         AC_PREFIX_PROGRAM fails with dashed program names
9546         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
9547         variable when looking for the prefix program.
9548         Now it also works for shell variables.
9550 2002-02-07  Akim Demaille  <akim@epita.fr>
9552         * doc/autoconf.texi (Limitations of Builtins): More about
9553         case/esac.
9555 2002-02-06  Akim Demaille  <akim@epita.fr>
9557         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
9558         case/esac, some shells don't support it.
9559         Reported by Zack Weinberg.
9560         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
9562 2002-02-06  Akim Demaille  <akim@epita.fr>
9564         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
9565         sure not to introduce newlines in at_groups.
9566         * lib/autotest/Makefile.am (autotest.m4f): Typo.
9568 2002-02-06  Akim Demaille  <akim@epita.fr>
9570         * tests/torture.at (Configuring subdirectories): Skip if aclocal
9571         is not available.
9573 2002-02-05  Paul Eggert  <eggert@twinsun.com>
9575         * doc/autoconf.texi (Specific Compiler Characteristics):
9576         Describe HP-UX cc bug workaround more accurately.
9577         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
9578         not unsigned long.
9579         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
9580         cross-compilers, too.  This undoes some of the most recent change
9581         to this file.
9583 2002-02-05  Akim Demaille  <akim@epita.fr>
9585         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
9586         to make sure they are up to date when `check' is run.
9588 2002-02-05  Akim Demaille  <akim@epita.fr>
9590         * doc/autoconf.texi (Making testsuite Scripts): Document
9591         package.m4.
9593 2002-02-05  Akim Demaille  <akim@epita.fr>
9595         * lib/freeze.mk: New.
9597 2002-02-05  Akim Demaille  <akim@epita.fr>
9599         Implement `autom4te --freeze'.
9601         * bin/autom4te.in (&freeze): New.
9602         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
9603         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
9605 2002-02-05  Akim Demaille  <akim@epita.fr>
9607         * bin/autom4te.in (&parse_args): Implement `frozen files are
9608         optional are the sum of the previous files on the command line'.
9609         Also, pass `--reload-state=' on them, so...
9610         (handle_m4): don't.
9611         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
9612         (M4sh): Rely on M4sugar.
9613         (Autotest, M4sh, M4sugar): Use frozen files.
9615 2002-01-31  Akim Demaille  <akim@epita.fr>
9617         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
9618         * doc/autoconf.texi (Initializing configure): Adjust.
9620 2002-01-30  Akim Demaille  <akim@epita.fr>
9622         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
9623         alphanumeric to `-' instead of `_'.
9625 2002-01-30  Akim Demaille  <akim@epita.fr>
9627         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
9628         for plain code, the other for cross-compilation code.  The latter
9629         is now run with GCC only.
9630         * doc/autoconf.texi (Compilers and Preprocessors): New.
9632 2002-01-30  Akim Demaille  <akim@epita.fr>
9634         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
9635         values.
9636         * doc/autoconf.texi (Initializing configure): Explain how to
9637         change AC_INIT default values.
9639 2002-01-29  Akim Demaille  <akim@epita.fr>
9641         * tests/torture.at (Configuring subdirectories): Use configure.in,
9642         so that aclocal 1.4 works.
9643         Reported by Alexandre Duret-Lutz and Larry Schmitt.
9645 2002-01-28  Akim Demaille  <akim@epita.fr>
9647         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
9648         needs an argument.
9650 2002-01-28  Akim Demaille  <akim@epita.fr>
9652         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
9653         AUTOTEST_PATH *after* it was set.
9654         Don't put `.' in the PATH: the user should be precise and `./' if
9655         needed.  In addition, given that the test suite does some `cd', if
9656         `.' is in the path, the `tested programs' sections will report
9657         programs found in the test suite's directory, while during the
9658         tests (performed in their own directory), these programs are no
9659         longer visible.  In other words, the results is confusing and
9660         useless.
9661         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
9663 2002-01-24  Akim Demaille  <akim@epita.fr>
9665         Version 2.52g.
9667 2002-01-24  Akim Demaille  <akim@epita.fr>
9669         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
9670         * doc/autoconf.texi: Finally add Akim as an author.
9672 2002-01-24  Akim Demaille  <akim@epita.fr>
9674         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
9675         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
9676         Bourne. Use /bin/sh.
9677         From Andreas Buening.
9679 2002-01-24  Akim Demaille  <akim@epita.fr>
9681         * config/config.guess, config/config.sub, config/texinfo.tex:
9682         Update from masters.
9684 2002-01-24  Akim Demaille  <akim@epita.fr>
9686         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
9687         * config/auxdir.m4, config/cond.m4, config/depend.m4,
9688         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
9689         * config/missing.m4, config/sanity.m4, config/select.m4,
9690         * config/strip.m4: Remove, to ease sync'ing with any version of
9691         Automake.
9693 2002-01-24  Akim Demaille  <akim@epita.fr>
9695         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
9696         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
9697         Reported by Geir Ove Myhr.
9699 2002-01-21  Akim Demaille  <akim@epita.fr>
9701         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
9703 2002-01-21  Akim Demaille  <akim@epita.fr>
9705         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
9706         message on invalid options.
9707         * bin/autom4te.in (parse_args): Don't use
9708         Autoconf::General::getopt with non valid options.
9710 2002-01-17  Jim Meyering  <meyering@lucent.com>
9712         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
9713         $ac_cv_exeext so we don't use an old, invalid, cached value.
9715 2002-01-11  Akim Demaille  <akim@epita.fr>
9717         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
9718         Meyering.
9719         * doc/autoconf.texi (Function Portability): Document the strnlen
9720         limitation.
9721         (Particular Functions): Document AC_FUNC_STRNLEN.
9722         * lib/autoscan/functions: Adjust.
9724 2002-01-06  Akim Demaille  <akim@epita.fr>
9726         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
9727         package.m4, since is really depends upon configure.ac, not
9728         configure.
9729         * doc/autoconf.texi (testsuite Scripts): Adjust.
9730         * tests/Makefile.am (package.m4): New.
9731         EXTRA_DIST it since its a source.
9733 2002-01-06  Akim Demaille  <akim@epita.fr>
9735         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
9736         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
9737         and PACKAGE_BUGREPORT from here...
9738         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
9739         arguments.
9740         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
9741         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
9742         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
9743         * tests/tools.at (autoheader): Adjust.
9744         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
9746 2002-01-06  Akim Demaille  <akim@epita.fr>
9748         * bin/autoscan.in (scan_file): Use `&used'.
9750 2002-01-03  Akim Demaille  <akim@epita.fr>
9752         * doc/autoconf.texi (Output): Improved wording regarding use of
9753         AC_OUTPUT.
9754         From Olly Betts.
9756 2001-12-18  Kevin Ryde  <user42@zip.com.au>
9758         * doc/autoconf.texi (Function Portability): Add notes on sscanf
9759         sometimes needing writable input.
9761 2001-12-17  Jim Meyering  <meyering@lucent.com>
9763         * doc/autoconf.texi (New Macros): Tweak wording.
9765 2001-12-14  Akim Demaille  <akim@epita.fr>
9767         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
9768         trailing files, don't apply `-rf' to files which might not be
9769         created by configure (core, core.*, and *.core), but just `rm -f'.
9770         Suggested by Jonathan Kamens.
9772 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
9774         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
9776 2001-12-14  Akim Demaille  <akim@epita.fr>
9778         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
9780 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
9782         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
9783         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
9784         abs_srcdir, top_srcpath to abs_top_srcdir.
9785         (_AC_OUTPUT_FILES): Adjust.
9786         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
9787         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
9788         * tests/wrappl.in, tests/wrapsh.in: Adjust.
9790 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
9792         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
9793         C/Fortran linking on HP/UX, by extracting the Fortran library
9794         search path from the LPATH line in the $F77 -v output.
9796 2001-12-12  Kevin Ryde  <user42@zip.com.au>
9798         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
9799         forbidden file descriptors table.
9801 2001-11-26  Akim Demaille  <akim@epita.fr>
9803         * bin/autoscan.in (%c_keywords): Build it at top level.
9804         Map to 1 in order to simplify its uses.
9806 2001-11-26  Akim Demaille  <akim@epita.fr>
9808         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
9809         Remove $filepath, useless.
9810         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
9811         variables, they are really part of the tokens.
9812         Split the input line on spaces and then look for tokens.
9813         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
9814         because of `lex$U.$(OBJEXT)'.
9815         (&scan_files): Use "@list" instead of join.
9816         * doc/Makefile.am (CLEANFILES): Add *.fns.
9818 2001-11-26  Akim Demaille  <akim@epita.fr>
9820         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
9821         Remove, replaced by...
9822         * tests/wrappl.in: Be common for all the Perl executables.
9823         In particular autoscan and autoheader want -I.
9824         * configure.ac: Adjust.
9825         * lib/autoscan/headers: errno.h is portable.
9827 2001-11-26  Akim Demaille  <akim@epita.fr>
9829         * bin/autoscan.in (used): New.
9830         Use it.
9832 2001-11-26  Akim Demaille  <akim@epita.fr>
9834         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
9835         directives.
9836         (&scan_sh_file): Remove a duplicate pattern.
9837         (&check_configure_ac): Use long options.
9838         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
9840 2001-11-26  Akim Demaille  <akim@epita.fr>
9842         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
9843         Before, having a line containing the opening of a multi line
9844         comment made the whole line be ignored.
9846 2001-11-26  Akim Demaille  <akim@epita.fr>
9848         * doc/autoconf.texi (Using an Autotest Test Suite): New.
9849         (testsuite Scripts): Be one of its subsection.
9850         (Autotest Logs): New.
9852 2001-11-26  Akim Demaille  <akim@epita.fr>
9854         Test groups are now run two directories deeper.
9856         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
9857         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
9858         at_top_builddir.
9859         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
9860         top_srcdir, builddir and top_builddir.
9861         Use `at_*dir' relatively to the directory containing the
9862         suite, use `*dir' when relatively to the current group dir.
9864 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
9866         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
9867         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
9868         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
9869         spelling errors.
9871 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
9873         * doc/autoconf.texi (Using System Type): Add an example of `case
9874         $host' usage so people quit using `case $target' everywhere.
9876 2001-11-22  Akim Demaille  <akim@epita.fr>
9878         * doc/autoconf.texi (Installation Directory Variables): Englishoes
9879         spotted by Jim Meyering.
9881 2001-11-16  Paul Eggert  <eggert@twinsun.com>
9883         This patch implements a `long double' suggestion by Oliver Kiddle.
9885         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
9886         static, to catch errors if the value isn't known at compile-time
9887         and the compiler supports dynamic arrays.  Change its name from
9888         `_array_' to `test_array' to avoid potential name clashes.
9889         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
9890         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
9891         better than double.  Catch a bug in GCC 2.95.2 x86.
9892         * doc/autoconf.texi (C Compiler): Document the above.
9893         * NEWS: Likewise.
9895 2001-11-13  Akim Demaille  <akim@epita.fr>
9897         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
9898         hand.
9899         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
9901 2001-11-13  Akim Demaille  <akim@epita.fr>
9903         * lib/autotest/general.m4 (AT_INIT): After having run the test
9904         group, go back to the initial directory, not to at_suite_dir.
9906 2001-11-13  Akim Demaille  <akim@epita.fr>
9908         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
9909         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
9910         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
9911         option.
9912         (AT_CHECK_CONFIGURE): Use absolute paths.
9913         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
9914         The problem is still the old one: there is no means in M4 (that I
9915         know about) to create a defining macro, because there is no means
9916         to create `$1' etc., therefore, the defining macro ``swallows''
9917         all the arguments meant to the defined macro.
9919 2001-11-13  Akim Demaille  <akim@epita.fr>
9921         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
9922         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
9923         configure.ac.
9924         * tests/aclocal.m4: Remove, as it is no longer used.
9926 2001-11-13  Akim Demaille  <akim@epita.fr>
9928         * lib/autotest/general.m4: Change `tests?' into `groups?' in
9929         variable names when referring to a single test group, or to
9930         `suite' when referring to the whole test suite.
9931         `at_last_test' is removed: m4 compute at_format itself.
9932         (at_stdout, at_stder1, at_stderr): New variables.
9933         (AT_CHECK): Use them.
9935 2001-11-13  Akim Demaille  <akim@epita.fr>
9937         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
9938         in PATH.
9939         Create `testsuite.dir/003/run' instead of `testsuite.003'.
9940         Do it as soon as a test fails, don't wait till the end of the test
9941         suite.
9942         Don't remove $as_me.[0-9]*, since these files no longer exist.
9944 2001-11-13  Akim Demaille  <akim@epita.fr>
9946         * tests/tools.at: Use absolute paths, since we are no longer run
9947         in place.
9949 2001-11-13  Akim Demaille  <akim@epita.fr>
9951         Now that tests are running in their own private dir, there is no
9952         need to list the files to remove at the end of tests groups.
9954         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
9955         (AT_data_files, at_data_files): Remove.
9956         (AT_CLEANUP, AT_DATA): Simplify.
9957         (AT_INIT): Adjust.
9958         Remove the group dir if !debug && !failed.
9959         * tests/atspecific.m4: Adjust.
9961 2001-11-13  Akim Demaille  <akim@epita.fr>
9963         Start a new layout for Autotest: `testsuite' creates
9964         `testsuite.dir' in which the at-check-line etc. files are to be
9965         found, and `testsuite.dir/003' where the test group 3 is run.
9967         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
9968         at_check_line_file, at_format, at_test_normalized, at_group_dir
9969         are new variables.
9970         Create the directories.
9971         Use absolute paths for at- files.
9972         (AT_CHECK): Adjust.
9974 2001-11-11  Michael Matz  <matz@kde.org>
9976         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
9977         (m4_car2): New.
9978         (m4_car): Properly quote arguments.
9980 2001-11-13  Akim Demaille  <akim@epita.fr>
9982         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
9983         with stricter rules on LIBOBJS.
9985 2001-11-12  Paul Eggert  <eggert@twinsun.com>
9987         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
9988         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
9989         __PROTOTYPES too.
9991 2001-11-12  Akim Demaille  <akim@epita.fr>
9993         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
9995 2001-11-12  Akim Demaille  <akim@epita.fr>
9997         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9998         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
9999         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10000         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
10001         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
10002         specify to what the macro should be defined (typically to 1).
10004 2001-11-12  Akim Demaille  <akim@epita.fr>
10006         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
10007         From Jim Meyering.
10009 2001-11-12  Akim Demaille  <akim@epita.fr>
10011         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10012         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
10013         definition used by Automake where LEX is +/- "${missing} lex" and
10014         `missing' itself contains variables.
10016 2001-11-12  Akim Demaille  <akim@epita.fr>
10018         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
10019         Now that M4sh pushes BODY, the comments were output at the end of
10020         the test suites.
10022 2001-11-08  Akim Demaille  <akim@epita.fr>
10024         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
10025         that we can trace macros from aclocal.m4.
10026         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
10027         obsoleted, and redirect to the former anyway.
10028         Reported by Ralf Corsepius.
10030 2001-11-08  Akim Demaille  <akim@epita.fr>
10032         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
10033         processed only if present.
10034         * tests/torture.at (Configuring subdirectories): Use autoreconf
10035         instead of successive calls to autoconf.
10036         Add a nonexistent subdirectory to exercise the patch above.
10037         Reported by Ralf Corsepius.
10039 2001-11-08  Kevin Ryde  <user42@zip.com.au>
10041         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
10042         doesn't accept .S files.
10044 2001-11-07  Akim Demaille  <akim@epita.fr>
10046         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
10047         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
10048         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
10049         * bin/autom4te.in (warn_forbidden): New.
10050         (handle_output): Use it.
10051         Read m4_pattern_forbid with messages.
10053 2001-11-05  Akim Demaille  <akim@epita.fr>
10055         * bin/autom4te.in (--normalize): Remove.
10056         * lib/autom4te.in: Adjust.
10058 2001-11-05  Akim Demaille  <akim@epita.fr>
10060         * tests/Makefile.am (testsuite): Rename this target as...
10061         ($(TESTSUITE)): this.
10062         From Nicolas Joly.
10064 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
10066         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
10067         the --prefix option, also remove it's argument.
10069 2001-11-05  Akim Demaille  <akim@epita.fr>
10071         * doc/autoconf.texi (testsuite Invocation): Update.
10072         (Writing testsuite.at): Update.
10074 2001-11-03  Akim Demaille  <akim@epita.fr>
10076         * doc/autoconf.texi: s/@code/@command/ where appropriate.
10078 2001-11-03  Akim Demaille  <akim@epita.fr>
10080         * lib/Autom4te/General.pm: (&catfile, &canonfile)
10081         (&file_name_is_absolute): New, wrappers around routines from
10082         File::Spec.
10083         Use and export them.
10084         (&find_configure_ac): Optionally take a directory where to look at.
10085         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
10086         the arguments.
10087         Default @ARGV to `.', not find_configure_ac.
10088         (&autoreconf): Argument is a directory.
10089         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
10090         * doc/autoconf.texi (autoreconf Invocation): Update.
10092 2001-11-03  Akim Demaille  <akim@epita.fr>
10094         * lib/Autom4te/General.pm (@export_vars, @export_subs)
10095         (@export_forward_subs): New.
10096         Add basename, dirname, and fileparse.
10097         (@EXPORT): Adjust.
10098         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
10099         Don't look for aclocal flags if we already know aclocal is not
10100         used.
10101         Move aclocal.m4t only if it exists.
10102         Reported by Ezra Peisach.
10104 2001-11-03  Akim Demaille  <akim@epita.fr>
10106         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
10107         passed on command line, defaulting to ./configure.ac if present.
10108         (&maybe_autoreconf, File::Find): Remove, unused.
10109         (&autoreconf): If autoconf is not used, don't try to trace.
10111 2001-11-02  Akim Demaille  <akim@epita.fr>
10113         * configure.ac: Bump to 2.52g.
10115 2001-11-02  Akim Demaille  <akim@epita.fr>
10117         Version 2.52f.
10119 2001-11-02  Akim Demaille  <akim@epita.fr>
10121         * config/config.guess, config/config.sub, doc/standards.texi:
10122         * config/lispdir.m4: Update from masters.
10123         * configure.ac: Bump to 2.52f.
10125 2001-11-02  Akim Demaille  <akim@epita.fr>
10127         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
10128         Don't run aclocal when aclocal.m4 is not from aclocal.
10129         From Ezra Peisach.
10130         Don't run libtoolize and gettextize if --install is not given.
10132 2001-11-01  Paul Eggert  <eggert@twinsun.com>
10134         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
10135         be invoked before _AS_LINENO_PREPARE.
10136         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
10137         than character ranges.
10139         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
10140         invoking AS_BASENAME.  Set the locale variables to 'C' if
10141         possible, as POSIX requires this to get the traditional
10142         behavior.
10143         * doc/autoconf.texi (Special Shell Variables): Describe the above.
10145 2001-10-31  Paul Eggert  <eggert@twinsun.com>
10147         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
10148         with {}, as that triggers a bug in Bash 2.05.
10150         (_AS_LINENO_PREPARE): Use Sed rather than
10151         Awk.  Fix the sed prepass to work even if there are multiple
10152         instances of $LINENO on the same line.  Do not substitute for
10153         other variables like $LINENOT.  Do not check file dates; such a
10154         check is unreliable on sufficiently fast machines, and removing
10155         the check makes the code simpler and more reliable.  Check for
10156         output and chmod failures.
10158         * doc/autoconf.texi (Special Shell Variables): Document
10159         the above.
10161 2001-10-31  Akim Demaille  <akim@epita.fr>
10163         * tests/Makefile.am (atconfig): Remove this target, Automake
10164         handles it now.
10166 2001-10-31  Akim Demaille  <akim@epita.fr>
10168         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
10169         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
10170         provided, while it is optional.
10171         * configure.ac: Adjust.
10173 2001-10-26  Paul Eggert  <eggert@twinsun.com>
10175         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
10176           lib/Autom4te/Struct.pm:
10177         Require Perl 5.005_03 instead of just 5.005, as some tests fail
10178         with 5.005_02.
10180         * doc/autoconf.texi (Special Shell Variables): Document some
10181         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
10183         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
10184         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
10185         eval $LINENO is not portable in practice.
10187 2001-10-24  Akim Demaille  <akim@epita.fr>
10189         * lib/Autom4te/General.pm (backname): New.
10191 2001-10-24  Akim Demaille  <akim@epita.fr>
10193         * m4/: Remove, merged into...
10194         * config/: here.
10196 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
10198         * doc/autoconf.texi (Shellology): Mention the problems with bash
10199         2.05's use of ANSI quoting in its `set' builtin.
10201 2001-10-22  Paul Eggert  <eggert@twinsun.com>
10203         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
10204         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
10205         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
10206         POSIX decided to standardize on the int flavor of strerror_r.
10207         Always do char* test, as there's no reason not to.
10208         Assign to a char* var, to catch strerror_r that returns int*.
10210         * doc/autoconf.texi (Particular Functions):
10211         Document the above changes.  Also, document the fact that
10212         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
10214         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
10216 2001-10-20  Akim Demaille  <akim@epita.fr>
10218         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
10219         the executable was missing from the log.
10221 2001-10-20  Akim Demaille  <akim@epita.fr>
10223         * lib/Autom4te/General.pm (&update_file): If destination is
10224         unchanged, remove the source.
10225         (&up_to_date_p): Don't be verbose, be debug.
10226         * bin/autoreconf.in: No longer support --m4dir.
10227         (&autoreconf): Display the full path of the configure.ac we are
10228         studying.
10229         Trace it only once.
10230         Be sure to honor --force with gettextize.
10231         Always run aclocal.
10232         * doc/autoconf.texi: Adjust.
10234 2001-10-20  Akim Demaille  <akim@epita.fr>
10236         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
10237         Remove, dead.
10238         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
10239         `intl' is already present, as it refuses unless --force.
10240         (&parse_args): Use -I, --include instead of the old Autoconf
10241         options.
10242         ($localdir, $autoconf_dir): Remove.
10243         (@include): New.
10244         (&maybe_autoreconf): New, to preserve $_ for File::Find.
10246 2001-10-19  Jens Petersen  <petersen@redhat.com>
10248         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
10249         * doc/autoconf.texi (Particular Programs): Likewise.
10251 2001-10-19  Akim Demaille  <akim@epita.fr>
10253         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
10254         file in @configure_input@.
10255         Don't mention `automatically' in addition to `generated'.
10256         * tests/torture.at (#define header templates): Adjust.
10258 2001-10-19  Akim Demaille  <akim@epita.fr>
10260         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
10261         comment, explain how to install automatic mode selection.
10262         From Russ Allbery.
10264 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
10266         * bin/autoreconf.in (autoreconf): Display the path to the
10267         configure.ac being studied.
10269 2001-10-18  Paul Eggert  <eggert@twinsun.com>
10271         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
10272         long, to work around a bug in the HP C compiler version HP92453-01
10273         B.11.11.23709.GP.
10275         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
10276         (AS_BASENAME_EXPR): New macro.
10277         (AS_BASENAME_SED): Do not assume GNU sed semantics.
10278         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
10279         and fall back on 'sed' only if the other two fail.  This makes
10280         AS_BASENAME act more like AS_DIRNAME.
10281         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
10282         contains white space.
10283         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
10284         Use AS_DIRNAME, since I think it's now DOS-friendly.
10285         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
10286         Allow "dirname //FOO" to return either / or //, as POSIX allows
10287         either behavior.
10289 2001-10-10  Akim Demaille  <akim@epita.fr>
10291         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
10292         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
10293         From Eric Sharkey.
10295 2001-10-10  Akim Demaille  <akim@epita.fr>
10297         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
10298         m4_define, since...
10299         (_AS_ECHO_N): AS_REQUIREs it.
10301 2001-10-10  Akim Demaille  <akim@epita.fr>
10303         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
10304         (AC_INCLUDES_DEFAULT): Move to...
10305         * lib/autoconf/headers.m4: here.
10306         * lib/autoconf/types.m4: Comment changes.
10307         * doc/autoconf.texi: Specify where the default includes are used
10308         in the macro prototypes.
10310 2001-10-09  Akim Demaille  <akim@epita.fr>
10312         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
10313         transition code.
10315 2001-10-08  Akim Demaille  <akim@epita.fr>
10317         * bin/autoreconf.in (&autoreconf): Remove debugging code.
10318         (&parse_args): Pass verbosity/debugging options to subtools when
10319         --debug, not when --verbose.
10320         * lib/autom4te.in (Autoreconf-preselections): New.
10321         (Autoconf): Use it.
10323 2001-10-08  Akim Demaille  <akim@epita.fr>
10325         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
10327 2001-10-08  Akim Demaille  <akim@epita.fr>
10329         * doc/autoconf.texi (autoreconf Invocation): Adjust.
10330         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
10332 2001-10-08  Akim Demaille  <akim@epita.fr>
10334         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
10335         (Syntax of the shell scripts): Don't.
10336         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
10337         bother with $force since...
10338         * lib/Autom4te/General.pm: does.
10340 2001-10-08  Akim Demaille  <akim@epita.fr>
10342         * bin/autoreconf.in: Rewrite in Perl.
10343         * configure.ac: Adjust.
10344         * lib/Autom4te/General.pm (&up_to_date_p): New.
10345         * bin/autom4te.in (&up_to_date_p): Use it.
10346         Rename as...
10347         (&up_to_date): this.
10349 2001-10-08  Akim Demaille  <akim@epita.fr>
10351         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
10352         (m4_list_cmp): Use $0 to reinvoke yourself.
10353         (m4_patsubsts): New.
10354         (m4_strip, m4_version_unletter): Use it.
10355         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
10357 2001-10-08  Akim Demaille  <akim@epita.fr>
10359         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
10360         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
10361         * lib/autoconf/types.m4, lib/autotest/general.m4,
10362         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
10363         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
10364         m4_bregexp, m4_bpatsubst, and m4_bmatch.
10365         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
10367 2001-10-08  Akim Demaille  <akim@epita.fr>
10369         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
10371 2001-10-08  Akim Demaille  <akim@epita.fr>
10373         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
10374         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
10375         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
10376         * tests/tools.at, tests/m4sh.at: Use it.
10377         * tests/m4sh.at: Don't rely on Autoconf macros.
10378         (DIRNAME_TEST): Also exercise the expr variant.
10379         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
10380         preferred M4sugar extension is now `.4s'.
10381         * tests/README: Remove.
10383 2001-10-08  Akim Demaille  <akim@epita.fr>
10385         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
10386         (m4_provide_if): this.
10387         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
10388         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
10389         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
10390         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
10392 2001-10-08  Akim Demaille  <akim@epita.fr>
10394         Use `add-log-current-defun-function' for ChangeLog creation.
10395         Suggested by Tom Tromey.
10397         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
10398         (autotest-mode): Adjust.
10399         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
10400         'comment-region onto `C-c ;'.
10401         Comments are `#', not `dnl'.
10402         (autoconf-current-defun): New.
10403         (autoconf-font-lock-keywords): Recognize `m4_defun'.
10405 2001-10-08  Akim Demaille  <akim@epita.fr>
10407         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
10408         * lib/m4sugar/m4sh.m4: here.
10409         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
10410         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
10411         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
10412         include handle the m4_pattern_*, no longer push the
10413         BODY diversion nor set the /bin/sh line, AS_INIT does it.
10414         * lib/autotest/general.m4 (AT_INIT): Likewise.
10415         * tests/base.at: Adjust the tests to use AS_INIT.
10416         * tests/tools.at (AT_DATA_FORBIDDEN): New.
10417         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
10418         Autoconf.
10420 2001-10-07  Paul Eggert  <eggert@twinsun.com>
10422         * doc/autoconf.texi (config.status Invocation):
10423         CONFIG_SHELL defaults to a shell that supports LINENO if available.
10425         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
10426         shell does not support LINENO, and if CONFIG_SHELL is unset or
10427         empty, and if we can find a shell that does support LINENO,
10428         then set CONFIG_SHELL to that shell and then re-execute
10429         ourselves with CONFIG_SHELL.
10431 2001-10-05  Paul Eggert  <eggert@twinsun.com>
10433         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
10434         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
10435         build of $(TESTSUITE).
10437 2001-10-05  Akim Demaille  <akim@epita.fr>
10439         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
10440         iff we are a bareword.
10441         Reported by Raja R Harinath.
10443 2001-10-05  Akim Demaille  <akim@epita.fr>
10445         * tests/m4sh.at (LINENO): New.
10446         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
10447         PATH_SEPARATOR before using it.
10448         Fix the absolute path case/esac pattern.
10449         Provide $0 as fallback for as_myself.
10450         Reported by Raja R Harinath.
10452 2001-10-05  Akim Demaille  <akim@epita.fr>
10454         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
10455         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
10457 2001-10-05  Akim Demaille  <akim@epita.fr>
10459         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
10460         (AS_SHELL_SANITIZE): here.  Use it.
10461         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
10462         From Paul Eggert.
10464 2001-10-04  Akim Demaille  <akim@epita.fr>
10466         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
10467         combination of Awk and sed to replace $LINENO.
10469 2001-10-02  Paul Eggert  <eggert@twinsun.com>
10471         * doc/autoconf.texi (Limitations of Builtins): You can't use
10472         "source"; it's not portable.  Remove confusing and
10473         somewhat-incorrect example involving "." and "/".
10475         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
10476         compatibility with POSIX shells.
10478 2001-10-02  Akim Demaille  <akim@epita.fr>
10480         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
10481         instead of exec'ing to preserve $0 and $@.
10483 2001-10-01  Akim Demaille  <akim@epita.fr>
10485         * tests/testsuite (AT_INIT) <at_pass_list>: New.
10486         Don't run twice the same test.
10488 2001-10-01  Akim Demaille  <akim@epita.fr>
10490         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
10491         No longer output the list of tests.
10492         <--list>: New option.
10493         <--full-help>: Remove.
10494         Complete the short/long options duality.
10495         Various small adjustments.
10497 2001-10-01  Akim Demaille  <akim@epita.fr>
10499         * doc/autoconf.texi: Use @kbd for user input.
10500         Always use `$' as shell prompt.
10502 2001-09-30  Paul Eggert  <eggert@twinsun.com>
10504         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
10505         Don't use nested parenthesization.  This patch was originally
10506         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
10507         but somehow it didn't get incorporated then.
10508         * doc/autoconf.texi (Limitations of Usual Tools):
10509         Clarify remark about sed and nested parenthesization.
10511         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
10512         Report an error if the size cannot be determined even though
10513         the type exists.
10514         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10515         Check for `expr' arithmetic overflow, and for compilation failure,
10516         and invoke a new argument $4 if either is discovered.
10517         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
10518         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
10520 2001-09-28  Akim Demaille  <akim@epita.fr>
10522         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
10523         * m4/lispdir.m4: New.
10524         * aclocal.m4, configure.ac: Adjust.
10526 2001-09-28  Akim Demaille  <akim@epita.fr>
10528         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
10529         (AT_TESTED): this.
10530         (AT_INIT): More the wrapped section to where it will be expanded.
10531         Output `AT_tested' only when existing.
10532         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
10534 2001-09-27  Akim Demaille  <akim@epita.fr>
10536         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
10537         generates too many bug reports.
10539         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
10540         status when executing the ACTION-IF-FALSE.
10541         * tests/base.at (AC_TRY_*): Rename as...
10542         (AC_TRY_COMMAND): this.
10543         (AC_RUN_IFELSE): New.
10544         * tests/compile.at (Extensions, C keywords)
10545         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
10546         (Broken/missing compilers, AC_PROG_CPP with warnings)
10547         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
10548         * tests/c.at (Extensions, C keywords)
10549         (Broken/missing compilers, AC_PROG_CPP with warnings)
10550         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
10551         (AC_PROG_CPP requires AC_PROG_CC): here and...
10552         * tests/fortran.at (GNU Fortran 77): there.
10553         * doc/autoconf.texi (autoconf Invocation): Fix the example:
10554         AC_TRY_RUN is about compilation, not shell commands.
10555         (Test Programs): AC_TRY_RUN works as used to be advertised.
10557 2001-09-27  Akim Demaille  <akim@epita.fr>
10559         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
10560         Raja R Harinath:
10561         Be sure to detect when $LINENO always returns the same value.
10562         Look for the original script, basename($0) is certainly not
10563         enough.
10564         Pass the CLI arguments to `$as_me.lineno'.
10566 2001-09-25  Akim Demaille  <akim@epita.fr>
10568         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
10569         Be sure the close and reopen the LOG fd before and after using tee
10570         to extend the log.
10571         <at_tests_pattern>: Adjust to the new format of at_help_all.
10573 2001-09-23  Akim Demaille  <akim@epita.fr>
10575         * bin/autom4te.in (parse_args): There can be several invocations
10576         of --language now.
10578 2001-09-23  Akim Demaille  <akim@epita.fr>
10580         * doc/autoconf.texi (Top): Wrap in @ifnottex.
10582 2001-09-23  Akim Demaille  <akim@epita.fr>
10584         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
10585         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
10586         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
10587         builddir, buildpath, top_builddir, and top_buildpath.
10588         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
10589         the current directory.
10590         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
10591         variables *before* changing the current directory.
10592         Skip nonexistent dirs.
10593         * doc/autoconf.texi (Preset Output Variables): Document these
10594         variables.
10596         * lib/autotest/general.m4: Do not reset AT_victims.
10597         Don't compute at_srcdir nor at_top_srcdir.
10599         * tests/tools.at: Hence use top_srcdir.
10601         * tests/Makefile.am, tests/autoconf, tests/autoheader,
10602         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
10603         Remove.
10604         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
10605         * tests/wrapsh.in, tests/autoupdate.in: New.
10606         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
10607         * configure.ac: Build the position independent wrappers.
10609         * man/Makefile.am: Now that test wrappers are position
10610         independent, use them and drop dark envvar magic.
10612 2001-09-23  Akim Demaille  <akim@epita.fr>
10614         * doc/autoconf.texi (Common Shell Constructs): Rename as...
10615         (Programming in M4sh): this.
10616         Promote to @section.
10618 2001-09-23  Akim Demaille  <akim@epita.fr>
10620         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
10621         Pass $at_debug_args to the rerun test suite.
10622         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
10623         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
10624         From Paul Eggert.
10626 2001-09-23  Akim Demaille  <akim@epita.fr>
10628         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
10630 2001-09-23  Akim Demaille  <akim@epita.fr>
10632         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
10633         over-escaping.
10635 2001-09-23  Akim Demaille  <akim@epita.fr>
10637         * lib/Autom4te/General.pm (&debug): New.
10638         * bin/autom4te.in ($language): Move to...
10639         (parse_args): here.
10640         Handle --language in languages.
10641         * lib/autom4te.in (Automake-selections, Autoheader-selections)
10642         (Autoscan-selections): New.
10643         (Autoconf): Adjust.
10645 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
10647         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
10648         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
10649         to match current versions from CVS Automake.
10651 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
10653         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
10654         for $LINENO.
10656 2001-09-22  Akim Demaille  <akim@epita.fr>
10658         * lib/autoconf/autotest.m4: Create `package.m4'.
10659         * tests/Makefile.am (package.m4): Remove.
10661 2001-09-22  Akim Demaille  <akim@epita.fr>
10663         Rely on `$LINENO' when possible instead of `__oline__'.
10665         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
10666         `$LINENO' support replacement when not supported.
10667         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
10668         them explicitly to be sure they are not output before this section
10669         (via m4_require).  Cosmetic only.
10670         * lib/autoconf/c.m4, lib/autoconf/general.m4,
10671         * lib/autoconf/programs.m4: Replace all the occurrences of
10672         `__oline__' with `$LINENO'.
10673         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
10675 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
10677         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
10678         character (u: -> ue) in a code comment.
10679         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
10680         it works.
10682 2001-09-21  Akim Demaille  <akim@epita.fr>
10684         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
10685         Suggested by Jim Meyering.
10687 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10689         * lib/autoconf/programs.m4: Use extensions listed in
10690         $ac_executable_extensions when looking for programs.
10692 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10694         * lib/autoconf/general.m4: Fix a small Englisho.
10695         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
10696         setting up ac_dir_suffix and ac_top_builddir.
10697         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
10699 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10701         * doc/autoconf.texi (File System Conventions): Clarify the use of
10702         PATH_SEPARATOR.
10703         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
10704         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
10705         be used instead of ':'.
10706         * lib/autotest/general.m4: Replace occurrences of ':' in
10707         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
10709 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10711         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
10712         arguments.  Fixed a typo.
10714 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10716         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
10717         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
10719 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10721         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
10722         * bin/autoupdate.in: Ditto.
10723         * bin/autoheader.in: Reworded a few comments.
10724         * bin/autoconf.in: Reworded help text for a few options.
10725         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10726         * bin/autoscan.in, bin/autoupdate.in: Ditto.
10728 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10730         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
10731         already have $file).  Set output files to binary mode (helps avoid
10732         CR issues on DOSish systems).
10734 2001-09-19  Akim Demaille  <akim@epita.fr>
10736         * lib/autotest/general.m4: Englishoes.
10737         From Tim Van Holder and Alexey Mahotkin.
10739 2001-09-18  Paul Eggert  <eggert@twinsun.com>
10741         * doc/autoconf.texi (Common Shell Constructs): New node,
10742         documenting AS_DIRNAME.
10743         (Limitations of Usual Tools): Refer to it when discussing dirname.
10744         Also, update discussion of POSIX standard to reflect latest draft.
10746         * lib/autoconf/c.m4:
10747         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
10749         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10750         Do not pass a first argument with leading '-'
10751         to expr, by parenthesizing initial integers that might be negative.
10753         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
10754         now merely checks whether it is an error to pass an argument
10755         to getpgrp.
10757         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
10758         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
10759         whether it is a (compile-time) error to pass an argument to
10760         getpgrp.  This simpler test supports the revised documentation,
10761         and is all that AC_FUNC_GETPGRP's users really need.
10763 2001-09-18  Akim Demaille  <akim@epita.fr>
10765         * doc/autoconf.texi (Limitations of Make) <$<>: New.
10767 2001-09-18  Akim Demaille  <akim@epita.fr>
10769         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
10770         `{}'.
10771         * lib/autotest/general.m4 (AT_INIT): Adjust.
10773 2001-09-18  Paul Wagland  <paul@wagland.net>
10775         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
10776         correctly.
10777         Add test for AS_BASENAME.
10778         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
10779         added test. It now correctly handles /1/2/3/, returning '3' not ''.
10780         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
10781         * tests/base.at: Fixed the expected responses. The old ones were
10782         one line out...
10783         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
10784         the documentation claims it should (and how it behaved in 2.13).
10786 2001-09-18  Akim Demaille  <akim@epita.fr>
10788         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
10789         the AC_CONFIG_COMMANDS invocation.
10790         This also solves the name clash problems.
10791         Don't set the package's ID.
10792         * lib/m4sugar/Makefile.am (version.m4): Revamp.
10793         No longer to be shipped.
10794         (version.in): Remove.
10795         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
10796         * lib/autoconf/status.m4: Adjust.
10797         Use `m4_PACKAGE_STRING'.
10798         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
10799         the only optional argument is the name of the test suite.
10800         Expect `package.m4' to define the package signature.
10801         * lib/autom4te.in (Autotest): Add `package.m4?'.
10802         * tests/Makefile.am (package.m4): New.
10803         * tests/suite.at: ifnames is a victim.
10805 2001-09-18  Akim Demaille  <akim@epita.fr>
10807         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
10808         AC_LIBSOURCE, AC_CONFIG_FILES.
10809         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
10810         program version string doesn't match the package's.
10811         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
10812         after `(cached)'.
10814 2001-09-17  Paul Eggert  <eggert@twinsun.com>
10816         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10817         Allow expression to return any value that can fit into unsigned long
10818         (not int, as before).  Check for output errors.
10820 2001-09-17  Bruno Haible  <haible@ilog.fr>
10822         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10823         Always include <stdio.h> and <stdlib.h>. Evaluate
10824         the expression in an extra function before these includes. Call
10825         fprintf "%d" only after ensuring the argument is of type 'int'.
10826         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
10828 2001-09-17  Paul Eggert  <eggert@twinsun.com>
10830         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
10831         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
10832         fatal errors, and AC_CHECK_LIB causes it to include libraries even
10833         when they don't exist.
10835         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
10836         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
10837         need it.
10839         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
10840         version with the version used by fileutils 4.1, except use
10841         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
10842         we don't need it.
10844         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
10846 2001-09-13  Akim Demaille  <akim@epita.fr>
10848         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
10849         _first_.
10850         Reported by Gerrit P. Haase.
10852 2001-09-13  Akim Demaille  <akim@epita.fr>
10854         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
10855         m4_defn'ing is valid.
10857 2001-09-13  Akim Demaille  <akim@epita.fr>
10859         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
10860         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
10861         Use it.
10863 2001-09-13  Akim Demaille  <akim@epita.fr>
10865         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
10866         m4_match.
10867         (m4_re_escape): New.
10868         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
10869         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
10870         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
10871         Likewise.
10872         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
10873         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
10874         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
10875         AT_tests_all for consistency.
10876         Set at_victims.
10877         (AT_VICTIMS): Similar to AT_KEYWORDS.
10878         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
10880 2001-09-13  Akim Demaille  <akim@epita.fr>
10882         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
10884 2001-09-13  Akim Demaille  <akim@epita.fr>
10886         * lib/autotest/general.m4 (AT_INIT): Create and remove
10887         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
10888         test suites can cohabit.
10890 2001-09-13  Akim Demaille  <akim@epita.fr>
10892         * tests/mktests.sh: Don't output banners for empty test files.
10894 2001-09-13  Akim Demaille  <akim@epita.fr>
10896         Test suites can be run independently of configure.
10898         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
10899         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
10900         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
10901         ECHO_N etc.
10902         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
10903         and at_c.
10904         * lib/autotest/general.m4: Use ECHO_*.
10906 2001-09-13  Akim Demaille  <akim@epita.fr>
10908         * bin/ifnames.in: Rewrite in Perl.
10909         * configure.ac: Don't look for AWK.
10910         * tests/tools.at (AWK portability): Remove.
10911         (Syntax of the shell scripts): Don't check ifnames.
10912         (AT_CHECK_PERL_SYNTAX): New.
10913         (Syntax of the Perl scripts): Check ifnames.
10914         * tests/ifnames: New.
10916 2001-09-13  Akim Demaille  <akim@epita.fr>
10918         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
10919         test group titles.
10920         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
10921         Remove all the other keywords.
10923 2001-09-10  Akim Demaille  <akim@epita.fr>
10925         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
10926         SETUP: no longer used.
10927         Support -k, --keywords.
10928         <at_help>: Be `no', `short', or `long'.
10929         <at_help_all>: New variable.
10930         (AT_KEYWORDS): New.
10931         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
10932         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
10933         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
10934         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
10935         No longer fill the HELP diversion.
10936         (AT_CLEANUP): Use them.
10937         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
10938         (m4_list_append): Remove.
10940         Spread a few keywords in the Autoconf test suite.
10942 2001-09-10  Akim Demaille  <akim@epita.fr>
10944         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
10945         PATH_SEPARATOR, let M4sh compute it.
10946         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
10947         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
10948         Move to...
10949         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
10950         Simplify when the path is not a literal.
10951         (AS_UNAME): Use it to report PATH.
10952         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
10953         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
10954         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
10955         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
10956         normalize the path, and to look for victims.
10957         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
10958         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
10960 2001-09-07  Akim Demaille  <akim@epita.fr>
10962         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
10963         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
10964         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
10965         related variables into `at_package_*'.
10966         * lib/autotest/general.m4 (AT_VICTIMS): New.
10967         (AT_INIT): Adjust for stand-alone/embedded test suites.
10968         (AS_MESSAGE_LOG_FD): Define and use it.
10969         * tests/suite.at (AT_VICTIMS): Use it.
10970         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
10971         at_version.
10973 2001-09-07  Akim Demaille  <akim@epita.fr>
10975         Move toward possibly stand-alone test suites.
10977         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
10978         in addition, it introduces useless differences in logs.
10979         (AT_INIT): Let atconfig and atlocal be both optional.
10980         Adjust PATH computation.
10981         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
10983 2001-09-07  Akim Demaille  <akim@epita.fr>
10985         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
10986         m4sugar/version.m4.
10988 2001-09-05  Akim Demaille  <akim@epita.fr>
10990         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
10991         to avoid GCC warnings.
10992         From Uwe Seimet.
10994 2001-09-05  Akim Demaille  <akim@epita.fr>
10996         * bin/autom4te.in: --language is -l, not -s.
10998 2001-09-05  Akim Demaille  <akim@epita.fr>
11000         Be ready to handle filenames as stupid as `dnl.at', for if even
11001         the maintainer is dumb enough to do that...
11003         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
11004         excellence in M4 quotation: consider `__file__' is active.
11006         And BTW, when invoking m4, pass the --include in the right order:
11007         the wrong one.
11009         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
11010         4m.
11012 2001-09-05  Akim Demaille  <akim@epita.fr>
11014         * lib/Autom4te/XFile.pm: New lib file.
11015         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
11016         * bin/autoheader.in: Use it.
11018 2001-09-05  Akim Demaille  <akim@epita.fr>
11020         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
11021         defined.
11023 2001-09-05  Akim Demaille  <akim@epita.fr>
11025         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
11026         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
11028         * bin/autoscan.in: Use `getopt' and `find_files' etc.
11029         Add -I, --include support.
11030         * doc/autoconf.texi (autoscan Invocation): Adjust.
11032 2001-09-05  Akim Demaille  <akim@epita.fr>
11034         CVS GNU M4 doesn't like `undefine(undefined)'.
11036         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
11037         New, extracted from main.
11038         Use IO::File wherever possible.
11039         (input.m4): Be constant, use -I instead of hard coding $tmp.
11040         Therefore be a quoted heredoc.
11041         Don't invoke `_au_disable', since ac was not loaded, but just
11042         `unm4.m4'.
11044 2001-08-31  Akim Demaille  <akim@epita.fr>
11046         Version 2.52d.
11048 2001-08-31  Akim Demaille  <akim@epita.fr>
11050         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
11051         previous patch.
11052         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
11054 2001-08-31  Akim Demaille  <akim@epita.fr>
11056         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
11057         serious problems handling heredocs in heredocs.
11058         Reported by Nicolas Joly.
11060 2001-08-31  Akim Demaille  <akim@epita.fr>
11062         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
11063         (Making testsuite Scripts): Update.
11065 2001-08-31  Akim Demaille  <akim@epita.fr>
11067         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
11069 2001-08-31  Akim Demaille  <akim@epita.fr>
11071         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
11072         (testsuite Scripts): There is no such thing as `atconfig.in'.
11073         And actually one diagram is missing: test suite runtime.
11075 2001-08-31  Akim Demaille  <akim@epita.fr>
11077         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
11078         inverse order.
11080 2001-08-31  Akim Demaille  <akim@epita.fr>
11082         * bin/autoupdate.in (@include): `installcheck' revealed the path
11083         to m4sugar was lacking!
11085 2001-08-31  Akim Demaille  <akim@epita.fr>
11087         * man/Makefile.am (.x.1): We really have to pass
11088         autom4te_perllibdir.
11090 2001-08-31  Akim Demaille  <akim@epita.fr>
11092         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
11093         debug scripts, in particular passing explicitly listed tests to
11094         run is stupid.
11096 2001-08-31  Akim Demaille  <akim@epita.fr>
11098         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
11099         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
11100         Use directly autom4te, not autoconf.
11101         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
11103 2001-08-31  Akim Demaille  <akim@epita.fr>
11105         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
11106         * bin/autoheader.in (%symbol): Strip arguments of macros.
11108 2001-08-31  Akim Demaille  <akim@epita.fr>
11110         * doc/autoconf.texi: Catch up -I, --include changes.
11112 2001-08-31  Akim Demaille  <akim@epita.fr>
11114         * bin/autom4te.in (&parse_args): Die on unknown languages.
11115         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
11116         need for autoconf.
11117         Promote --include over --macrodir and other obsolete options.
11119 2001-08-31  Akim Demaille  <akim@epita.fr>
11121         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
11122         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
11123         * bin/autom4te.in ($autoconf): Pass --force.
11124         `print $out' doesn't print `$_' but `$out'.
11125         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
11126         (autoheader): Pass --force since the test suite goes too fast for
11127         the time stamps.
11128         Adjust to the new autoheader messages.
11130 2001-08-31  Akim Demaille  <akim@epita.fr>
11132         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
11133         Check the completeness of the #template.
11134         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
11135         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
11136         invocation.
11138 2001-08-31  Akim Demaille  <akim@epita.fr>
11140         * lib/Autom4te/General.pm (&find_file, &update_file): New.
11141         * bin/autoupdate.in, bin/autoheader.in: Adjust.
11142         Drop AC_MACRODIR dead for real.
11143         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
11144         `autoheader: `config.hin' is created'.
11145         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
11147 2001-08-31  Akim Demaille  <akim@epita.fr>
11149         * bin/autoheader.in: Rewrite in Perl.
11150         * tests/autoheader: Adjust.
11152 2001-08-31  Akim Demaille  <akim@epita.fr>
11154         * bin/autoconf.in (--include, -I): New option.
11155         Map --localdir, --autoconf-dir onto it.
11156         Forward autom4te's options instead of interpreting them.
11157         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
11158         There is no such envvar since the inception of autom4te.cfg.
11159         * bin/autom4te.in (&parse_args): Uniquify `@include'.
11160         * bin/autoupdate.in: Adjust, and perform more control.
11161         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
11162         * tests/autoconf: Dittowise.
11164 2001-08-31  Akim Demaille  <akim@epita.fr>
11166         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
11167         * bin/autom4te.in (&find_file): Support `FILE?' standing for
11168         optionally `FILE'.
11169         Use -e, not -f, since /dev/null for instance is OK.
11170         (&parse_args): Adjust.
11171         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
11173 2001-08-31  Akim Demaille  <akim@epita.fr>
11175         * configure.ac: Also find tested executables in bin.
11176         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
11177         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
11178         installed peer executables, only PATH is allowed to resolve it.
11179         Pass `autoconf_dir' via options, not via invisible envvars.
11180         * lib/Autom4te/General.pm (&find_peer): Remove.
11181         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
11182         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
11183         * man/Makefile.am: Let help2man rely on PATH instead of trying to
11184         find the executables for it.
11185         * tests/Makefile.am: Major cleanup.  Too lazy to document...
11186         * tests/atlocal.in: Remove all the obscure envvar manipulations.
11187         We only need PERL.
11188         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
11189         indeed related to running the test suite, while passing
11190         --autoconf-dir and others is related to running non installed
11191         Autoconf executables.  So don't do that, leave it to...
11192         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
11193         * tests/autoscan: New.
11194         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
11195         refer to library files: rely on --language.
11197 2001-08-29  Akim Demaille  <akim@epita.fr>
11199         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
11200         s/--set/--language/.
11202 2001-08-29  Akim Demaille  <akim@epita.fr>
11204         * doc/autoconf.texi: Strip the @nodes.
11205         Suggested by Paul Eggert.
11206         (Initializing configure): Typo.
11208 2001-08-29  Akim Demaille  <akim@epita.fr>
11210         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
11211         Suggested by Paul Eggert.
11213 2001-08-29  Akim Demaille  <akim@epita.fr>
11215         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
11216         download in a tmp dir.
11218 2001-08-29  Akim Demaille  <akim@epita.fr>
11220         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
11221         case insensitive OSes out there :(
11222         From Tim Van Holder.
11224 2001-08-29  Akim Demaille  <akim@epita.fr>
11226         * lib/autom4te.in: New.
11227         * lib/Makefile.am (edit, autom4te.cfg): New.
11228         * bin/autom4te.in (BEGIN): Simplify.
11229         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
11230         (&load_configuration): New.  Use it.
11231         (&parse_args): Support --mode, --set, and --melt.
11232         * bin/autoconf.in: Simplify and adjust.
11233         * tests/Makefile.am (AUTOMAKE): Use --set.
11234         * tests/atlocal.in: Adjust.
11235         * BUGS: distcheck and check are weak.
11237 2001-08-29  Akim Demaille  <akim@epita.fr>
11239         * lib/autotest/general.m4: Use
11240                 foo=`(command) 2>/dev/null`
11241         not
11242                 foo=`command` 2>/dev/null
11243         (at-devnull): Rename as...
11244         (AT-devnull): this.
11245         (--clean): Remove AT-* files too.
11246         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
11247         Reported by Nicolas Joly.
11249 2001-08-28  Akim Demaille  <akim@epita.fr>
11251         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
11252         quotes inside single quotes.
11253         Reported by Nicolas Joly.
11255 2001-08-28  Kevin Ryde  <user42@zip.com.au>
11257         * doc/autoconf.texi (Function Portability): Mention C right shifts.
11259 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
11261         * lib/autotest/general.m4: Reword some messages.
11262         (AT_INIT): Check for the `times' builtin before using it.
11263         Support test ranges as arguments to the testsuite.
11264         Have -e imply -d as the help text suggested.
11266 2001-08-27  Akim Demaille  <akim@epita.fr>
11268         * Makefile.maint: Formatting changes.
11269         (do-po-update, po-update, cvs-update, update): New targets.
11270         (AMTAR): Remove.
11272 2001-08-27  Akim Demaille  <akim@epita.fr>
11274         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
11275         <at_cmd_line>: New.
11276         Pass it to debug-*.sh scripts.
11277         <AUTOTEST_PATH>: May contain absolute dir names.
11279 2001-08-27  Akim Demaille  <akim@epita.fr>
11281         * lib/autotest/general.m4 (AT_INIT): Log the command line.
11282         Support `VAR=VAL' as arguments.
11283         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
11284         may be set via the command line.
11286 2001-08-27  Akim Demaille  <akim@epita.fr>
11288         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
11289         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
11290         first the build dirs, then the src dirs.
11291         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
11293 2001-08-27  Akim Demaille  <akim@epita.fr>
11295         * lib/autotest/general.m4 (AT_INIT): Output the definition of
11296         at_data_files earlier.
11297         (--clean, -c): New option.
11298         * tests/Makefile.am: Use this option.
11300 2001-08-27  Akim Demaille  <akim@epita.fr>
11302         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
11303         `ac_top_builddir' to mimic Automake's vocabulary, which much more
11304         readable.
11305         Adjust callers.
11306         * doc/autoconf.texi (Configuration Actions): Document the vars
11307         available in commands.
11308         Emphasize the risks of collisions in init-cmds.
11310 2001-08-27  Akim Demaille  <akim@epita.fr>
11312         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
11313         (Initializing configure): this new node.
11315 2001-08-27  Akim Demaille  <akim@epita.fr>
11317         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
11319 2001-08-27  Akim Demaille  <akim@epita.fr>
11321         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
11322         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
11323         New file.
11324         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
11326 2001-08-27  Akim Demaille  <akim@epita.fr>
11328         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
11329         to...
11330         * lib/autoconf/autoheader.m4: this new file.
11331         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
11332         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
11333         Move to...
11334         * lib/autoconf/autoupdate.m4: this new file.
11336 2001-08-27  Akim Demaille  <akim@epita.fr>
11338         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
11339         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
11340         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
11341         -> ac_dir).
11342         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
11343         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
11345 2001-08-27  Akim Demaille  <akim@epita.fr>
11347         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
11348         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
11349         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
11350         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
11351         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
11352         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
11353         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
11354         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
11355         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
11356         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
11357         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
11358         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
11359         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
11360         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
11361         (_AC_OUTPUT_SUBDIRS): Move to...
11362         * lib/autoconf/status.m4: this new file.
11363         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
11364         * tests/Makefile.am, tests/suite.at: Adjust.
11366 2001-08-27  Akim Demaille  <akim@epita.fr>
11368         Automake 1.5.
11370         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
11371         (AMTAR): Help automake define it.
11372         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
11373         needed, 1.5 can have a macro and a target with the same name.
11374         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
11375         * m4/strip.m4: New.
11376         * m4/init.m4, m4/sanity.m4: Update.
11377         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
11378         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
11379         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
11380         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
11382 2001-08-27  Akim Demaille  <akim@epita.fr>
11384         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
11386         * lib/autoconf/version.in: Remove.
11387         * lib/m4sugar/version.in: New.
11388         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
11389         Adjust callers.
11390         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
11391         the name of the directory they're in, instead of the filename,
11392         since version.m4 is now in m4sugar, but m4_acversion must not be
11393         classified as an Autoconf macro.
11394         ($input_m4): Don't qualify the path to m4sugar.
11395         Rather, pass autoconf_dir to m4.
11396         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
11397         * tests/suite.at: Require 2.52c.
11399 2001-08-27  Akim Demaille  <akim@epita.fr>
11401         testsuite.log should include config.log.
11403         * lib/autotest/autotest.m4: New.
11404         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
11405         * tests/suite.at : Adjust.
11406         (AT_INIT): Log config.log.
11407         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
11408         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
11409         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
11410         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
11411         of config.log on traps.
11412         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
11413         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
11414         for config.status'.
11415         Open the log as soon as possible.
11416         Use the same log introduction as configure's.
11418 2001-08-22  Paul Eggert  <eggert@twinsun.com>
11420         * doc/autoconf.texi (Indices): New node.
11421         Move indices out of the top level menu and into this submenu.
11423 2001-08-22  Akim Demaille  <akim@epita.fr>
11425         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11426         AC_TRY_COMMAND.
11427         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
11429 2001-08-22  Akim Demaille  <akim@epita.fr>
11431         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
11432         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
11433         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
11434         * lib/autoconf/programs.m4: here.
11435         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
11436         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
11437         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
11438         * lib/autoconf/programs.m4: here.
11439         (_AC_DECL_YYTEXT): Rename as...
11440         (_AC_PROG_LEX_YYTEXT_DECL): this.
11441         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
11442         * tests/Makefile.am, tests/suite.am: Adjust.
11444 2001-08-22  Akim Demaille  <akim@epita.fr>
11446         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
11447         Move to...
11448         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
11449         here.
11450         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
11451         * lib/autoconf/functions.m4: here.
11452         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
11453         (AH_CHECK_LIB): Move to...
11454         * lib/autoconf/libs: this new file.
11455         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
11456         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
11457         * lib/autoconf/libs.m4: here.
11458         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
11460 2001-08-22  Akim Demaille  <akim@epita.fr>
11462         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
11463         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
11464         (AC_SITE_LOAD): Better logging of config.site.
11466 2001-08-20  Akim Demaille  <akim@epita.fr>
11468         * configure.ac (AT_CONFIG): Fix the path.
11469         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
11470         can be used.
11472 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
11474         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
11475         program with AC_LANG_PROGRAM before feeding it to
11476         AC_COMPILE_IFELSE.  Cleanup grep usage.
11478 2001-08-20  Akim Demaille  <akim@epita.fr>
11480         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
11481         * NEWS, README, README-alpha, TODO, tests/README: This package is
11482         `Autoconf', not `autoconf' (the executable).
11484 2001-08-20  Akim Demaille  <akim@epita.fr>
11486         Info readers seem to need `Index' in the index node title :(
11488         * doc/autoconf.texi: Reverse the 2001-08-15 change which
11489         simplified index node names.
11491 2001-08-20  Akim Demaille  <akim@epita.fr>
11493         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
11494         arguments are not literals.
11495         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
11496         Specify the output variables, and macros defined.
11498 2001-08-20  Akim Demaille  <akim@epita.fr>
11500         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
11501         (Examining Syntax) <AC_TRY_COMPILE>
11502         (Examining Libraries) <AC_TRY_LINK>
11503         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
11504         their arguments.
11505         Reported by Werner Lemberg.
11507 2001-08-20  Akim Demaille  <akim@epita.fr>
11509         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
11510         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
11511         Load atlocal late enough to dump it in the log.
11512         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
11514 2001-08-20  Akim Demaille  <akim@epita.fr>
11516         * tests/torture.at (Configuring subdirectories): New test.
11517         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
11518         looking for.
11519         * m4/atconfig.m4: Be sure the let $[0] be expandable.
11520         (top_srcdir): Fix its computation.
11522 2001-08-20  Akim Demaille  <akim@epita.fr>
11524         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
11525         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
11526         test suite lives.
11527         Create `atconfig' automagically.
11528         Configure atlocal.in if present.
11529         * tests/atconfig.in: Remove.
11530         * tests/atlocal.in: New.
11531         * tests/Makefile.am: Adjust.
11533 2001-08-20  Akim Demaille  <akim@epita.fr>
11535         Huh!?!?!  There are still some user EOF tags used, which prevents
11536         their use in AC_CONFIG_COMMANDS for instance...
11538         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
11539         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
11540         `_CSEOF', or `_ATEOF', as appropriate.
11541         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
11542         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
11544 2001-08-20  Akim Demaille  <akim@epita.fr>
11546         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
11547         * tests/semantics.at, tests/tools.at, tests/torture.at:
11548         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
11550 2001-08-20  Akim Demaille  <akim@epita.fr>
11552         Autotest invokes M4sh's initialization.
11554         * lib/autotest/general.m4: Adjust the diversion names.
11555         (AT_INIT): Run AS_INIT.
11556         Use the BINSH diversion to invoke /bin/sh.
11557         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
11558         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
11560 2001-08-20  Akim Demaille  <akim@epita.fr>
11562         Let M4sh have its own diversions.
11564         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
11565         (_m4_divert(NOTICE)): Rename as...
11566         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
11567         (_m4_divert(HEADER-COMMENT)): these.
11568         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
11569         (_m4_divert(NOTICE)): New, for Libtool.
11570         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
11571         long ago with `_m4_divert(GROW)'.
11572         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
11574 2001-08-20  Akim Demaille  <akim@epita.fr>
11576         * tests/base.at, tests/compile.at, tests/foreign.at,
11577         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
11578         * tests/semantics.at, tests/suite.at, tests/tools.at,
11579         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
11581 2001-08-20  Akim Demaille  <akim@epita.fr>
11583         * bin/autom4te.in (handle_output): Handle @__@.
11585 2001-08-20  Akim Demaille  <akim@epita.fr>
11587         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
11588         * lib/autotest/general.m4: Adjust the license.
11590 2001-08-17  Paul Eggert  <eggert@twinsun.com>
11592         * doc/autoconf.texi (Function Portability): Mention snprintf,
11593         following up on a suggestion by Kevin Ryde.
11595 2001-08-17  Akim Demaille  <akim@epita.fr>
11597         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
11598         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
11600 2001-08-17  Akim Demaille  <akim@epita.fr>
11602         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
11603         `$0.log' as for projects where testsuite is in src, we'd have
11604         testsuite.log created in src.
11606 2001-08-17  Akim Demaille  <akim@epita.fr>
11608         * bin/autom4te.in (&parse_args): Recognize --normalize.
11610 2001-08-17  Akim Demaille  <akim@epita.fr>
11612         Start implementing the AC_CHECK_HEADER transition scheme.
11614         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
11615         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
11616         (AC_CHECK_HEADER): Use them.
11618 2001-08-17  Akim Demaille  <akim@epita.fr>
11620         * doc/autoconf.texi: Work around Texinfo buglets.
11621         (Transformation Rules): One example is enough, users are expected
11622         to have their brains on. And BTW, use DESTDIR.
11623         (dvar): New macro.  Use it.
11625 2001-08-17  Akim Demaille  <akim@epita.fr>
11627         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
11628         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
11629         looking for ChangeLogs.
11631 2001-08-17  Akim Demaille  <akim@epita.fr>
11633         * bin/autom4te.in: --normalize is a new option.
11634         * bin/autoconf.in: Use it.
11636 2001-08-17  Akim Demaille  <akim@epita.fr>
11638         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
11639         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
11641 2001-08-16  Paul Eggert  <eggert@twinsun.com>
11643         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
11644         start, not at end.
11646 2001-08-15  Akim Demaille  <akim@epita.fr>
11648         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
11649         Use it.
11651 2001-08-15  Akim Demaille  <akim@epita.fr>
11653         * doc/autoconf.texi (pr): New index.
11654         (prindex, findex): Use, merge, and output them.
11655         (Environment Variable Index, Output Variable Index)
11656         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
11657         (Autotest Macro Index): Rename as...
11658         (Environment Variables, Output Variables,Preprocessor Symbols)
11659         (Autoconf Macros, M4 Macros, Autotest Macros): these.
11660         * doc/install.texi: Use @command.
11661         (Environment Variables): Rename as...
11662         (Defining Variables): this.
11664 2001-08-15  Akim Demaille  <akim@epita.fr>
11666         * doc/autoconf.texi (Function Portability): sprintf's return
11667         value.
11668         From Kevin Ryde.
11670 2001-08-15  Akim Demaille  <akim@epita.fr>
11672         * Makefile.maint (CVS): New.
11673         (local-check): Run changelog-check. last.
11674         (alpha): Don't depend upon local-check, since...
11675         (cvs-dist): depends upon it.
11677 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
11679         * tests/Makefile.am: Use a clean-local rule to remove
11680         autom4te.cache (it's a directory, not a file.
11681         * Makefile.am: Ditto (but maintainer-clean-local).
11683 2001-08-15  Akim Demaille  <akim@epita.fr>
11685         * bin/autom4te.in (@m4_warning): New.
11686         (&handle_m4): Use it.
11687         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
11688         warnings are issued at each run.
11689         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
11690         is in the src tree.
11692 2001-08-15  Akim Demaille  <akim@epita.fr>
11694         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
11695         don't waste time running `autoupdate --version' works.
11696         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
11698 2001-08-13  Akim Demaille  <akim@epita.fr>
11700         * doc/autoconf.texi (ma): Rename this index as...
11701         (ac): this.
11703 2001-08-13  Akim Demaille  <akim@epita.fr>
11705         * Makefile.am: Remove dead code and dead comments.
11706         (pdf, html): New targets.
11707         * doc/autoconf.texi (Using Autotest): New chapter.
11708         * doc/Makefile.am (pdf): New targets.
11709         (CLEANFILES): Adjust.
11711 2001-08-13  Akim Demaille  <akim@epita.fr>
11713         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
11714         duration of the test suite.
11716 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
11718         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
11719         endianness for comparison instead of relying on AT_CHECK_ENV.
11721 2001-08-11  Paul Eggert  <eggert@twinsun.com>
11723         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
11724         to the INSTALL file.
11726 2001-08-11  Paul Eggert  <eggert@twinsun.com>
11728         * NEWS: The autoconf manual now is distributed under the terms
11729         of the GNU Free Documentation License.
11731         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
11732         Add an appendix "Copying This Manual" for the FDL.
11734         * doc/fdl.texi: New file, from
11735         <http://www.gnu.org/licenses/fdl.texi>.
11737         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
11739 2001-08-10  Paul Eggert  <eggert@twinsun.com>
11741         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
11742         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
11743         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
11744         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
11745         m4/sanity.m4, tests/README, tests/aclocal.m4,
11746         tests/atspecific.m4, tests/base.at, tests/compile.at,
11747         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
11748         tests/semantics.at, tests/suite.at, tests/tools.at,
11749         tests/torture.at: Add copyright notice.
11751         * tests/mktests.sh: Update year in copyright notice.
11753 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
11755         * tests/semantics.at (AC_C_BIGENDIAN): New test.
11757 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
11759         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
11760         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
11761         * doc/autoconf.texi (C Compiler Characteristics): Update
11762         documentation for AC_C_BIGENDIAN.
11764 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
11766         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
11767         magic values from an object file when cross-compiling.
11768         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
11770 2001-08-10  Akim Demaille  <akim@epita.fr>
11772         * bin/autom4te.in (&handle_output): Don't use `grep' with side
11773         effects.
11774         Suggested by Russ Allbery.
11776 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
11778         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
11779         current $prefix to the sub-configures.
11781 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
11783         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
11784         extension (needed on BeOS).  Reported by Guido van Rossum.
11786 2001-08-09  Akim Demaille  <akim@epita.fr>
11788         * bin/autom4te.in ($icache): Load it only if older than autom4te.
11790 2001-08-07  Akim Demaille  <akim@epita.fr>
11792         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
11793         removed.
11794         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
11795         No need to remove the files before and after the each test, before
11796         each test and at the end of the suite is enough.
11797         Display only the children `times', not the shell's.
11798         If the test failed or was skipped, at-times is not available.
11800 2001-08-07  Akim Demaille  <akim@epita.fr>
11802         Always produce testsuite.log, including when there are no
11803         failures.  This helps getting information on skipped tests, and
11804         duration of the tests.  Err, implement the latter btw.
11806         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
11807         Dump information on the first run of each test.
11808         (AT_CLEANUP): Create `at-times' containing the duration of the
11809         test group.
11811 2001-08-07  Akim Demaille  <akim@epita.fr>
11813         The use of `dumpstat' revealed that `len' was used although it
11814         should not.  m4_text_wrap was using it, but in the Autoconf world
11815         where it is legal.  Hence (i) test M4sh in its own world, not
11816         Autoconf's, and (ii), ahem, fix the bug :)
11818         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
11819         does not like `' instead of [].
11820         (AT_INIT): Forbid `^_?AT_'.
11821         And don't output such tokens.
11822         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
11823         `script.as', and `autom4te.cache'.
11824         Remove `empty' and `macro' which are no longer used.
11825         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
11826         * tests/m4sugar.at: Use it.
11827         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
11829 2001-08-07  Akim Demaille  <akim@epita.fr>
11831         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
11833 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
11835         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
11837 2001-08-04  Akim Demaille  <akim@epita.fr>
11839         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
11840         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
11841         AC_TRY_LINK.
11842         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
11843         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
11844         (AC_F77_MAIN): Likewise.
11846 2001-08-04  Akim Demaille  <akim@epita.fr>
11848         Don't rely on M4sugar outputting the patterns in files, since we
11849         might process the output _without_ running m4, hence without these
11850         files.
11852         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
11853         * bin/autom4te.in (@Request::includes): Remove, unused.
11854         (@Request::source): Rename as...
11855         (@Request::input): this.
11856         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
11857         (&handle_output): Fetch the patterns from the traces.
11858         `$forbidden' and `$allowed' are constant: use m//o.
11859         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
11860         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
11862 2001-08-04  Akim Demaille  <akim@epita.fr>
11864         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
11865         autoconf', i.e., in addition to caching traces, cache the output.
11867         * bin/autom4te.in (Request::cache): Rename as...
11868         (Request::id): this.
11869         ($cache, $icache, $tcache, $ocache): New.
11870         (&handle_m4): Save M4 output in the cache instead of $tmp.
11871         (&handle_output): Adjust.
11872         (&up_to_date_p): Check that the output cache is up to date too.
11873         (top level): Run `&handle_m4' iff force or the cache is invalid.
11874         Run `&handle_output' if the output cache is more recent.
11876 2001-08-04  Akim Demaille  <akim@epita.fr>
11878         * bin/autom4te.in ($force): New.
11879         (&parse_args, &print_usage): -f, --force is a new option.
11880         (&handle_output): CPP directives might have spaces after `#'.
11881         (&parse_args): The first file only can be frozen.
11883 2001-08-04  Akim Demaille  <akim@epita.fr>
11885         Don't let autom4te compute the `include' traces several times:
11886         first check that the trace cache file is up to date, and then
11887         compare its timestamp with that of the output.
11889         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
11890         the preamble.  Don't require 5.005 as Autom4te::General does it,
11891         and better yet (use `use', not `require'!).
11892         * lib/Autom4te/Struct.pm: Rename the last occurrences of
11893         Class::Struct as Autom4te::Struct.
11894         * lib/Autom4te/General.pm (File::stat): Use it.
11895         (&mtime): New, export it.
11896         * bin/autom4te.in: Use it.
11897         Declare `$req' is invalid if it is outdated.
11898         Don't declare it valid before saving it if something went wrong.
11900 2001-08-04  Akim Demaille  <akim@epita.fr>
11902         Autom4te shall not encode Autoconf data, and preselecting traces
11903         must be proposed to the users.
11905         * bin/autom4te.in (@required_trace): Remove.
11906         (@preselect): New.
11907         (&parse_args, &print_usage): -p, --preselect is a new option.
11908         (&up_to_date_p): Adjust.
11909         * bin/autoconf.in: Preselect some Autoconf macros.
11911 2001-08-04  Akim Demaille  <akim@epita.fr>
11913         * tests/tools.at (autoconf --trace: user macros): Check traces on
11914         macros invoked without arguments, and macros invoked with multiple
11915         lines arguments.
11917 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
11919         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
11920         arguments.
11922 2001-08-03  Akim Demaille  <akim@epita.fr>
11924         * bin/autoconf.in ($@): Work around the usual sh bug.
11925         From Nicolas Joly.
11927 2001-08-03  Akim Demaille  <akim@epita.fr>
11929         Clean up the handling of the M4 builtins tracing exception.
11931         * bin/autom4te.in (Request::request): Don't complete M4 builtins
11932         trace requests.
11933         (@m4_builtins): Rename as...
11934         (@m4_builtin): this.
11935         (%m4_builtin_alternate_name): New.
11936         (&parse_args): Complete the trace requests with alternate names.
11937         (&handle_traces): Hence no longer do it here.
11938         (&trace_requests): Remove, unused.
11940 2001-08-03  Akim Demaille  <akim@epita.fr>
11942         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
11943         m4_if, and m4_wrap.
11945 2001-08-03  Akim Demaille  <akim@epita.fr>
11947         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
11948         (m4_divert_pop): Dump the whole diversion stack when a diversion
11949         mismatch happens.
11950         * bin/autom4te.in (&handle_output): Remember of the first
11951         occurrence of a possibly undefined macro, not the last.
11952         Complain about the possibly undefined macros in the same order as
11953         the appear in the output.
11954         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
11955         * tests/tools.at (autoconf: forbidden tokens, basic)
11956         (autoconf: forbidden tokens, exceptions): No longer sort
11957         autoconf's stderr, as it is now deterministic.
11958         Check that `dnl' is caught.
11960 2001-08-01  Akim Demaille  <akim@epita.fr>
11962         * configure.ac: Bump to 2.52c.
11964 2001-08-01  Akim Demaille  <akim@epita.fr>
11966         Version 2.52b.
11968         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
11970 2001-08-01  Akim Demaille  <akim@epita.fr>
11972         Version 2.52a.
11974 2001-08-01  Akim Demaille  <akim@epita.fr>
11976         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
11977         `die'.
11978         (&END): New.
11979         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
11980         `END', as `Autom4te::General::END' will be triggered.
11981         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
11982         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
11983         system to run `mv', `rm', and `cmp'.
11985 2001-08-01  Akim Demaille  <akim@epita.fr>
11987         * lib/Autom4te/General.pm (&unique): New.
11988         * bin/autoscan.in (&output): Use it to issue trace requests once.
11990 2001-08-01  Akim Demaille  <akim@epita.fr>
11992         * lib/Autom4te/General.pm: New.
11993         * bin/autom4te.in (Autom4te::General): Use it.
11994         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
11995         (&find_configure_ac, &find_slave): Remove.
11996         * bin/autoscan.in: Likewise.
11997         * bin/autoupdate.in: Likewise.
11999 2001-08-01  Akim Demaille  <akim@epita.fr>
12001         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
12002         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
12003         * bin: here, new directory.
12004         * lib/Autoconf: Rename as...
12005         * lib/Autom4te: this, to please case insensitive junkie OSes.
12007 2001-08-01  Akim Demaille  <akim@epita.fr>
12009         * autom4te.in ($m4): Handle the --nesting-limit.
12010         * autoconf.in (M4): Remove.
12012 2001-08-01  Akim Demaille  <akim@epita.fr>
12014         * autoconf.in ($AWK): Remove, no longer used.
12015         * test/tools.at: Use AT_CHECK_AUTOCONF.
12016         (AWK portability): Remove, for autoconf no longer uses AWK.
12017         (Syntax of the Perl scripts): New.
12018         * configure.ac: autoconf no longer needs an AWK with a good
12019         regexp engine.
12020         Use a static test on AC_PACKAGE_VERSION.
12021         * autom4te.in (&up_to_date_p): Output depends on the arguments.
12022         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
12023         * tests/atconfig.in (PERL): New.
12025 2001-08-01  Akim Demaille  <akim@epita.fr>
12027         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
12028         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
12029         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
12030         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
12031         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
12032         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
12033         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
12034         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
12035         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
12036         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
12037         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
12038         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
12039         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
12040         * lib/autoconf/c.m4: here, new file.
12042         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
12043         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
12044         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
12045         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
12046         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
12047         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
12048         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
12049         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
12050         (AC_F77_FUNC): Move to...
12051         * lib/autoconf/fortran.m4: here, new file.
12053 2001-08-01  Akim Demaille  <akim@epita.fr>
12055         * acfunctions.m4: Rename as...
12056         * lib/autoconf/functions.m4: this.
12057         * acgeneral.m4: Rename as...
12058         * lib/autoconf/general.m4: this.
12059         * acheaders.m4: Rename as...
12060         * lib/autoconf/headers.m4: this.
12061         * aclang.m4: Rename as...
12062         * lib/autoconf/lang.m4: this.
12063         * acoldnames.m4: Rename as...
12064         * lib/autoconf/oldnames.m4: this.
12065         * acspecific.m4: Rename as...
12066         * lib/autoconf/specific.m4: this.
12067         * actypes.m4: Rename as...
12068         * lib/autoconf/types.m4: this.
12069         * autoconf.m4: Rename as...
12070         * lib/autoconf/autoconf.m4: this.
12072         * m4sugar.m4: Rename as...
12073         * lib/m4sugar/m4sugar.m4: this.
12074         * m4sh.m4: Rename as...
12075         * lib/m4sugar/m4sh.m4: this.
12077         * tests/atgeneral.m4: Rename as...
12078         * lib/autotest/general.m4: this.
12080         * acfunctions: Rename as...
12081         * lib/autoscan/functions: this.
12082         * acheaders: Rename as...
12083         * lib/autoscan/headers: this.
12084         * acidentifiers: Rename as...
12085         * lib/autoscan/identifiers: this.
12086         * aclibraries: Rename as...
12087         * lib/autoscan/libraries: this.
12088         * acmakevars: Rename as...
12089         * lib/autoscan/makevars: this.
12090         * acprograms: Rename as...
12091         * lib/autoscan/programs: this.
12093 2001-08-01  Akim Demaille  <akim@epita.fr>
12095         * doc/autoconf.texi: Moving/deleting open files is not portable.
12096         Portability issues for `.' (source), and more information about sed.
12098 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
12100         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
12101         which has a special meaning and is not a reference to libibmil.a.
12102         Reported by Matteo Frigo.
12104 2001-07-25  Pavel Roskin  <proski@gnu.org>
12106         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
12107         output.
12109 2001-07-25  Akim Demaille  <akim@epita.fr>
12111         * autoconf.in: Try to define the variables before using them.
12112         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
12113         instead of `$perllibdir'.
12114         * tests/atconfig.in ($autom4te_perllibdir): Export it.
12116 2001-07-25  Akim Demaille  <akim@epita.fr>
12118         * autoconf.in (ac_LF_and_DOT): Remove, unused.
12120 2001-07-24  Akim Demaille  <akim@epita.fr>
12122         Let autoconf use autom4te for traces.
12124         * autoconf.in ($task, task trace): Remove, merely pass --trace to
12125         autom4te.
12126         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
12127         (Because I found no way for autom4te to accept `-').
12128         * autom4te.in (&Request::request): Beware of M4 builtins.
12129         (END): Don't try to remove the content of an empty dir.
12130         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
12131         (&handle_output): Set a default value to `$forbidden'.
12132         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
12133         ($autoconf): Pass --debug and --verbose.
12134         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
12135         cache.
12137 2001-07-24  Akim Demaille  <akim@epita.fr>
12139         Let autoconf use autom4te to create configure.
12141         * autoconf.in ($automate): New var.
12142         (task script): Use autom4te.
12143         * autom4te.in (File::Spec): Use it.
12144         (&find_file): New.
12145         (&parse_args): --warning is -W, not -w.
12146         Find the top level files.
12147         (&handle_m4): Pass the warnings flags.
12148         Don't report verbosely m4's failures, unless requested.
12149         (&handle_output): Don't complain for forbidden tokens in comments.
12150         Be sure to report all the forbidden tokens within a single line.
12151         (&trace_format_to_m4): Preserve `$_'.
12152         (&handle_traces): Sort the output macros.
12153         (&up_to_date_p): Find the files before trying to get its time stamp.
12155 2001-07-24  Akim Demaille  <akim@epita.fr>
12157         * Makefile.am: Ship, build and install Autom4te.
12158         (SUBDIRS): Add lib.
12159         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
12160         * configure.in: Require Perl.
12161         * man/autom4te.in: New.
12163 2001-07-19  Paul Eggert  <eggert@twinsun.com>
12165         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
12166         example, rather than (exit 1); exit (which isn't portable).
12168 2001-07-18  Akim Demaille  <akim@epita.fr>
12170         Version 2.52.
12172 2001-07-18  Akim Demaille  <akim@epita.fr>
12174         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
12175         was run, while they are needed also when it is expanded.
12176         Reported by Nicolas Joly.
12178         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
12179         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
12180         AC_F77_DUMMY_MAIN being expanded.
12182 2001-07-18  Akim Demaille  <akim@epita.fr>
12184         * configure.in: Bump to 2.51a.
12186 2001-07-17  Akim Demaille  <akim@epita.fr>
12188         Version 2.51.
12190 2001-07-17  Akim Demaille  <akim@epita.fr>
12192         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
12193         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
12195 2001-07-17  Akim Demaille  <akim@epita.fr>
12197         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
12198         used.  Well, then use the prototypes when you can, and runtime as
12199         a last resort.
12200         Reported by Artur Frysiak
12202         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
12203         (AC_FUNC_GETPGRP): Use it.
12204         First try to compile with 0-ary or 1-ary calls.
12206 2001-07-17  Akim Demaille  <akim@epita.fr>
12208         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
12209         replacement type.
12210         From Paul Eggert.
12212 2001-07-17  Akim Demaille  <akim@epita.fr>
12214         * Makefile.maint: Sync. with cppi 1.10.
12216 2001-07-17  Akim Demaille  <akim@epita.fr>
12218         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
12219         AC_F77_DUMMY_MAIN has been run.
12220         From Pavel Roskin and Steven G. Johnson.
12222 2001-07-17  Akim Demaille  <akim@epita.fr>
12224         * configure.in: Rename as...
12225         * configure.ac: this.
12227 2001-07-17  Akim Demaille  <akim@epita.fr>
12229         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
12230         rules.
12231         From Marc Espie.
12232         * Makefile.maint (release-archive-dir): Rename as...
12233         (release_archive_dir): this, so that it can be specialized in
12234         Makefile.
12236 2001-07-14  Akim Demaille  <akim@epita.fr>
12238         * configure.in: Bump to 2.50d.
12240 2001-07-14  Akim Demaille  <akim@epita.fr>
12242         Version 2.50c.
12243         * Makefile.maint (alpha): Typo.
12245 2001-07-14  Akim Demaille  <akim@epita.fr>
12247         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
12249 2001-07-14  Akim Demaille  <akim@epita.fr>
12251         * config/config.guess, config/config.sub, config/texinfo.tex
12252         * doc/standards.texi, doc/make-stds.texi: Update.
12254 2001-07-14  Akim Demaille  <akim@epita.fr>
12256         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
12258 2001-07-14  Akim Demaille  <akim@epita.fr>
12260         * Makefile.maint (maintainer-check): Rename as...
12261         (maintainer-distcheck): this.
12262         (changelog-check, static-check): New.
12263         Use them.
12265 2001-07-14  Kevin Ryde  <user42@zip.com.au>
12267         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
12268         for CXX is g++, not gcc.
12270 2001-07-14  Akim Demaille  <akim@epita.fr>
12272         * doc/autoconf.texi (Files): New subsection.
12274 2001-07-14  Akim Demaille  <akim@epita.fr>
12276         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
12277         of...
12278         (Generic Compiler Characteristics): this.
12279         (C++ Compiler): New subsection.
12281 2001-07-14  Akim Demaille  <akim@epita.fr>
12283         * autoscan.in: Use IO::File.
12284         Adjust all the routines to use it.
12285         ($log): New file (autoscan.log).
12286         (output): Dump detailed logs into $log, and a shortened version to
12287         stderr.
12288         (&scan_makefile): Refine the regexp catching tokens in the code.
12289         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
12290         and the `configure.ac' checking feature.
12292 2001-07-12  Akim Demaille  <akim@epita.fr>
12294         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
12295         Reported by Michael Elizabeth Chastain.
12297         * autoconf.in: Refuse such AWK.
12298         * configure.in: Likewise.
12299         * Makefile.am (acversion.m4): Do not use move-if-change this file
12300         has dependencies.
12301         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
12303 2001-07-10  Jens Petersen  <petersen@redhat.com>
12305         * autoscan.in (&scan_makefile): Improve programs regexp to parse
12306         things like "g++", "file.c" and "some-conf" as tokens.
12307         (&scan_file): Match C++ files extensions.
12308         If the filename extension is C++ then ask for c++.
12310 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
12312         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
12313         AC_TRY_LINK_FUNC, to check whether defining a dummy
12314         main-like routine is needed for linking with F77 libs.
12316 2001-07-05  Pavel Roskin  <proski@gnu.org>
12318         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
12319         after using break.
12320         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
12321         linking.
12323 2001-07-05  Akim Demaille  <akim@epita.fr>
12325         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
12326         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
12327         Makes' lives.
12328         Reported by Nicolas Joly.
12330 2001-07-04  Akim Demaille  <akim@epita.fr>
12332         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
12333         up.
12334         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
12335         warnings from compilers.
12336         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
12337         for all the compilers, not only GNU.  Hence move from here...
12338         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
12340 2001-07-04  Akim Demaille  <akim@epita.fr>
12342         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
12343         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
12344         AC_COMPILE_IFELSE.
12346 2001-07-04  Akim Demaille  <akim@epita.fr>
12348         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
12349         the ``strings.h'' change claimed below.
12351 2001-07-04  Akim Demaille  <akim@epita.fr>
12353         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
12355 2001-07-04  Akim Demaille  <akim@epita.fr>
12357         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12358         strings.h if usable with string.h.
12359         Suggested by Paul Eggert.
12361 2001-07-04  Akim Demaille  <akim@epita.fr>
12363         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
12364         From Jens Petersen.
12366 2001-07-03  Akim Demaille  <akim@epita.fr>
12368         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
12369         etc. in the log.
12371 2001-07-03  Akim Demaille  <akim@epita.fr>
12373         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
12374         compiler, not the preprocessor.
12375         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
12376         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
12377         the right thing.
12378         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
12379         earlier if there are.
12381 2001-07-03  Akim Demaille  <akim@epita.fr>
12383         * autoscan.in ($initfile): Remove.
12384         (&find_file): Rename as...
12385         (&scan_file): this.
12386         Immediately scan the current file, instead of gathering them, and
12387         later having them handled by &scan_files.
12388         (&scan_files): Merely invoke Find::File.
12389         Adjust.
12391 2001-07-02  Akim Demaille  <akim@epita.fr>
12393         * autoscan.in: Formatting changes, matching the invocation order.
12394         (File::Find): Use it instead of Perl 4's `find.pl'.
12395         (&wanted): Rename as...
12396         (&find_file): this.
12398 2001-07-01  Pavel Roskin  <proski@gnu.org>
12400         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
12401         break in the argument to AC_TRY_LINK_FUNC.
12402         (AC_F77_MAIN): Remove conftest* after using break in the
12403         argument to AC_TRY_LINK.
12405 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
12407         Add alternate 'main' routine detection for linking C/C++ with Fortran,
12408         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
12410         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
12411         dummy alternate main is required even if the user provides her own
12412         'main'.
12413         (AC_F77_MAIN): New macro to detect whether it is possible to
12414         provide an alternate 'main' function name, using the 'main' from
12415         the Fortran libraries.
12416         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
12417         cross-language link tests can be performed successfully.
12418         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
12419         after $LIBS, for consistency; this should be the general rule since
12420         the user may want to link to Fortran libraries that require $FLIBS.
12421         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
12423 2001-06-29  Pavel Roskin  <proski@gnu.org>
12425         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
12426         at-stdout and at-stderr instead of removing the newline
12427         from the echo output, which is not guaranteed to work.
12429 2001-06-28  Jens Petersen  <petersen@redhat.com>
12431         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
12432         confdefs.h when non-zero.
12434 2001-06-28  Akim Demaille  <akim@epita.fr>
12436         * configure.in: Bump to 2.50c.
12438 2001-06-26  Akim Demaille  <akim@epita.fr>
12440         Version 2.50b.
12442 2001-06-26  Akim Demaille  <akim@epita.fr>
12444         Version 2.50a.
12446 2001-06-25  Pavel Roskin  <proski@gnu.org>
12448         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
12449         argument, AUTOCONF-FLAGS.
12450         * tests/mktests.sh (update_exclude_list): Add
12451         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
12452         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
12453         AC_FUNC_WAIT3 with "-W no-obsolete".
12455 2001-06-25  Akim Demaille  <akim@epita.fr>
12457         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
12459 2001-06-25  Akim Demaille  <akim@epita.fr>
12461         * autoscan.in (%macro): Now maps from word to list of macros.
12462         (&init_tables): Die when a word which is already handled by
12463         explicit macros is mapped to the default macro.
12464         (&print_unique): Remove, inlined in...
12465         (&output_kind): here.
12466         (File::Basename): Use it.
12467         (&output): Sort the CONFIG_FILES.
12468         * acheaders: Normalize.
12469         * acfunctions: Likewise.
12471 2001-06-25  Akim Demaille  <akim@epita.fr>
12473         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
12474         characteristics in the logs.
12475         Suggested by Mo DeJong.
12477 2001-06-24  Akim Demaille  <akim@epita.fr>
12479         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
12480         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
12481         * doc/autoconf.texi (Autoconf 2.13): New section.
12483 2001-06-24  Akim Demaille  <akim@epita.fr>
12485         * autoconf.in (Task traces): Separate the error messages from the
12486         traces to improve robustness.
12488 2001-06-23  Akim Demaille  <akim@epita.fr>
12490         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
12491         three as failures are unlikely, and speed matters.
12493 2001-06-23  Akim Demaille  <akim@epita.fr>
12495         * doc/autoconf.texi (Redefined M4 Macros): New.
12497 2001-06-23  Akim Demaille  <akim@epita.fr>
12499         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
12500         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
12501         5.3.
12503 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
12505         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
12506         config.status targets to after the evaluation of the INIT-CMDS.
12507         Double quote config.status targets (used to be single quoted).
12509 2001-06-23  Akim Demaille  <akim@epita.fr>
12511         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
12512         Check the content of the created file.
12513         Check the ./config.status command line invocation.
12515 2001-06-23  Akim Demaille  <akim@epita.fr>
12517         * tests/foreign.at (Libtool): Reject prehistoric versions.
12519 2001-06-23  Akim Demaille  <akim@epita.fr>
12521         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
12522         preexisting files matching a.*.
12524 2001-06-23  Akim Demaille  <akim@epita.fr>
12526         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
12527         stderr.
12528         * doc/autoconf.texi (AC_ARG_VAR): Update.
12530 2001-06-21  Akim Demaille  <akim@epita.fr>
12532         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
12533         precious variables have changed.
12534         * tests/torture.at (AC_ARG_VAR): Adjust.
12536 2001-06-21  Akim Demaille  <akim@epita.fr>
12538         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
12539         but some sed choke on multiple `;', and other tools (e.g.,
12540         Automake), include the separator themselves.
12542         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
12544 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
12546         * doc/autoconf.texi (Functions Portability): Rename as...
12547         (Function Portability): this.
12548         (Function Portability): Document potential problems with unlink().
12550 2001-06-19  Paul Eggert  <eggert@twinsun.com>
12552         * NEWS, doc/autoconf.texi: Document quadrigraphs.
12554 2001-06-18  Akim Demaille  <akim@epita.fr>
12556         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
12558 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
12560         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
12561         (_AC_FUNC_VFORK): this.
12562         Remove AC_DEFINEs and don't guess cross-compilation values.
12563         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
12564         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
12565         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
12566         vfork doesn't work.
12567         Guess values if cross-compiling, but warn.
12568         * acfunctions: Add AC_FUNC_FORK.
12569         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
12570         and vfork appropriately.
12572 2001-06-18  Akim Demaille  <akim@epita.fr>
12574         * doc/autoconf.texi (Functions Portability): New section.
12576 2001-06-18  Akim Demaille  <akim@epita.fr>
12578         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
12579         in $M4.
12580         Suggested by Andreas Schwab.
12582 2001-06-18  Akim Demaille  <akim@epita.fr>
12584         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
12585         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
12586         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
12587         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
12588         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
12589         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
12590         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
12591         the converse).
12593 2001-06-18  Akim Demaille  <akim@epita.fr>
12595         * doc/autoconf.texi (ms): New index.
12596         (Macro Index): Rename as...
12597         (Autoconf Macro Index): this.
12598         (M4 Macro Index): New appendix.
12599         (Programming in M4): New chapter.
12600         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
12601         (Quoting): Rename as...
12602         (M$ Quotation): this.
12603         Be part of `Programming in M4).
12605 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
12607         * tests/torture.at (AC_ARG_VAR): Set variables and export them
12608         in separate statements for compatibility with Tru64 v5.1.
12610 2001-06-17  Akim Demaille  <akim@epita.fr>
12612         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
12613         current values of the precious variables, not the previously
12614         cached values.
12615         Pass precious variables which are set to config.status.
12616         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
12617         * tests/torture.at (AC_ARG_VAR): New.
12619 2001-06-15  Paul Eggert  <eggert@twinsun.com>
12621         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
12622         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
12623         and explain why and how to replace them.
12624         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
12625         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
12627 2001-06-15  Akim Demaille  <akim@epita.fr>
12629         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
12630         Reported by Bruno Haible.
12632         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
12633          (_AC_ARG_VAR_PRECIOUS): to here.
12635 2001-06-15  Pavel Roskin  <proski@gnu.org>
12637         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
12638         an unused pointer use cast to this type and `if' statement to
12639         avoid warnings from the compiler.
12640         (AC_HEADER_TIME): Likewise.
12641         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
12642         in `if' statement to avoid warnings from the compiler. Declare
12643         ac_aggr static to avoid the need to initialize it.
12645 2001-06-14  Akim Demaille  <akim@epita.fr>
12647         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
12648         Macros'.
12650 2001-06-13  Akim Demaille  <akim@epita.fr>
12652         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
12653         Suggested by Alexander Mai.
12655 2001-06-13  Akim Demaille  <akim@epita.fr>
12657         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
12658         sys/types.h and sys/stat.h, and check for them.
12660 2001-06-13  Akim Demaille  <akim@epita.fr>
12662         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
12663         INCLUDES.
12665 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
12667         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
12668         succeeds and only try adding libdnet upon a failure.
12670 2001-06-12  Akim Demaille  <akim@epita.fr>
12672         * autoscan.in (&output_kind): Output the comment only if it exists.
12673         (%kind_comment): Add entry for `programs'.
12674         (&output_programs): Use &output_kind.
12675         (&output_functions, &output_identifiers, &output_headers)
12676         (&output_programs): Inline, and remove.
12678 2001-06-12  Akim Demaille  <akim@epita.fr>
12680         * autoscan.in (%kind_comment): New.
12681         (output_kind): New.
12682         (output_functions, output_identifiers, output_headers): Use it.
12684 2001-06-12  Akim Demaille  <akim@epita.fr>
12686         * autoscan.in (&print_unique): Take `$kind' and `$word' as
12687         arguments, to factor indirections into `%macro' and `%used'.
12688         (%generic_macro): Fix a typo.
12690 2001-06-12  Akim Demaille  <akim@epita.fr>
12692         * aclibraries: New.
12693         * autoscan.in (@kinds): Add `libraries'.
12694         Use `@kinds' instead of hard coded lists.
12695         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
12696         Remove, replaced by...
12697         (%used): this.
12699 2001-06-12  Akim Demaille  <akim@epita.fr>
12701         * autoscan.in (%functions_macros %headers_macros)
12702         (%identifiers_macros %programs_macros %makevars_macros): Remove,
12703         replaced by...
12704         (%macro): New.
12706 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
12708         * aclang.m4 (AC_NO_EXECUTABLES): Override
12709         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
12711 2001-06-11  Akim Demaille  <akim@epita.fr>
12713         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
12714         trailing new line.
12715         Reported by Andreas Schwab.
12717 2001-06-11  Akim Demaille  <akim@epita.fr>
12719         * Makefile.am, Makefile.maint: Typos.
12721 2001-06-09  Akim Demaille  <akim@epita.fr>
12723         * doc/autoconf.texi (Here-Documents): New section, gathering
12724         documentation about here-documents.
12725         Use `href', not `uref', and other changes.
12727 2001-06-09  Akim Demaille  <akim@epita.fr>
12729         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
12730         chapter.
12732 2001-06-09  Akim Demaille  <akim@epita.fr>
12734         * doc/autoconf.texi (Limitations of Builtins): Complete the
12735         description of the here-docs penalties with Alexandre Oliva's
12736         explanations.
12738 2001-06-01  Paul Eggert  <eggert@twinsun.com>
12740         * doc/autoconf.texi: Talk about here documents and speedups.
12741         Do not use "echo" on arbitrary strings.
12742         Spell "here-documents" consistently with the standard.
12744 2001-06-09  Akim Demaille  <akim@epita.fr>
12746         * doc/autoconf.texi (Concept Index): Introduce it.
12747         Regenerate the menus.
12749 2001-06-09  Akim Demaille  <akim@epita.fr>
12751         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
12752         * config/prev-version.txt: New.
12753         * config/move-if-change: New, for GNU libc.
12755 2001-06-06  Pavel Roskin  <proski@gnu.org>
12757         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
12759 2001-06-06  Akim Demaille  <akim@epita.fr>
12761         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
12762         properly when $1 is not a literal.
12763         Fixes PR Autoconf/187, reported by Bram Moolenaar.
12765 2001-06-06  Akim Demaille  <akim@epita.fr>
12767         Invoking AC_COPYRIGHT before AC_INIT fails.
12769         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
12770         * acgeneral.m4 (_m4_divert(VERSION_FSF))
12771         (_m4_divert(VERSION_USER)): New.
12772         (AC_COPYRIGHT): $2 is the diversion to use.
12773         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
12774         (AC_INIT): Remove dead comments as now it's commutative.
12776 2001-06-06  Akim Demaille  <akim@epita.fr>
12778         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
12779         PR autoconf/187.
12781 2001-06-05  Akim Demaille  <akim@epita.fr>
12783         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
12784         can be empty.
12785         `*dir' variables cannot be NONE.
12786         Reported by Mark Kettenis.
12788 2001-06-05  Paul Eggert  <eggert@twinsun.com>
12790         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
12792 2001-06-04  Akim Demaille  <akim@epita.fr>
12794         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
12795         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
12796         (AC_TR_SH): Move as...
12797         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
12798         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
12799         (AS_TR_SH): these.
12800         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
12801         (_AS_TR_SH_PREPARE): New.
12802         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
12803         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
12805 2001-06-02  Akim Demaille  <akim@epita.fr>
12807         * Makefile.am (.m4.m4f): Pass the options first.
12808         Fixes PR autoconf/182.
12810 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
12812         GNU getopt, when POSIXLY_CORRECT does not permute options and
12813         arguments.  So pass the options first.
12814         Fixes PR autoconf/184.
12816         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
12817         (run_m4): Remove files.
12818         (run_m4f): Remove.
12819         Update remainder of script to use them.
12820         (for warning in): Do not use a literal comma as it will not be
12821         split by IFS.
12823 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
12825         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
12826         Fortran compilers to check.
12827         (_AC_PROG_F77_V): Add '-###' as a possible option to print
12828         information on library and object files.
12829         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
12830         to check.
12832 2001-06-02  Akim Demaille  <akim@epita.fr>
12834         * autom4te.in (Request::@request): Declare with `vars', not `my',
12835         as it prevents updates via `do FILENAME'.
12837 2001-06-02  Akim Demaille  <akim@epita.fr>
12839         * configure.in (standards_texi): Remove, dead code.
12841 2001-06-02  Akim Demaille  <akim@epita.fr>
12843         * autom4te.in: New.
12845 2001-06-02  Pavel Roskin  <proski@gnu.org>
12847         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
12848         for signals other than 0 - exit with code 1.
12849         * m4sh.m4 (AS_TMPDIR): Likewise.
12850         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
12851         * autoheader.in: Likewise.
12852         * autoreconf.in: Likewise.
12853         * tests/torture.at (Signal handling): New test for the above.
12855 2001-06-01  Akim Demaille  <akim@epita.fr>
12857         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
12858         message.
12860 2001-05-31  Akim Demaille  <akim@epita.fr>
12862         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
12863         Add copyright and comments.
12864         * acheaders: Add stdint.h.
12865         Suggested by Paul Eggert.
12867 2001-05-31  Akim Demaille  <akim@epita.fr>
12869         * atgeneral.m4 (AT_INIT): Use $SHELL.
12870         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
12872 2001-05-31  Akim Demaille  <akim@epita.fr>
12874         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12875         stdint.h.
12876         From Paul Eggert and Lars Hecking.
12878 2001-05-31  Akim Demaille  <akim@epita.fr>
12880         * tests/base.at: Adjust line numbers in error messages.
12882 2001-05-31  Akim Demaille  <akim@epita.fr>
12884         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
12885         to emit the bangshe line.
12886         Reported by David Carter.
12888 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
12890         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
12891         Fortran (95) compilers to check.
12893 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
12895         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
12896         Macro Archive URL.
12898 2001-05-23  Pavel Roskin  <proski@gnu.org>
12900         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
12901         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
12902         (AC_PROG_CXXCPP): Likewise.
12904 2001-05-22  Akim Demaille  <akim@epita.fr>
12906         * config: New directory.
12907         * configure.in: AC_CONFIG_AUX_DIR it.
12908         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
12910 2001-05-22  Akim Demaille  <akim@epita.fr>
12912         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
12913         * autoupdate.in: Specify the Emacs mode.
12914         * acversion.m4.in: Rename as...
12915         * acversion.m4: this.
12916         * tests/Makefile.am (CLEANFILES): More garbage.
12918 2001-05-22  Akim Demaille  <akim@epita.fr>
12920         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
12921         Rename as...
12922         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
12923         these.
12925 2001-05-21  Akim Demaille  <akim@epita.fr>
12927         * configure.in: Bump to 2.50a.
12930         -----
12932         Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
12933         Foundation, Inc.
12935         This file is part of GNU Autoconf.
12937         GNU Autoconf is free software; you can redistribute it and/or modify
12938         it under the terms of the GNU General Public License as published by
12939         the Free Software Foundation; either version 2, or (at your option)
12940         any later version.
12942         GNU Autoconf is distributed in the hope that it will be useful,
12943         but WITHOUT ANY WARRANTY; without even the implied warranty of
12944         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12945         GNU General Public License for more details.
12947         You should have received a copy of the GNU General Public License
12948         along with autoconf; see the file COPYING.  If not, write to
12949         the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12950         Boston, MA 02110-1301, USA.