Namespace cleanup.
[autoconf.git] / ChangeLog
blobc1d5c0dca7af9796ac6c0076fb0d53dbb0fffad8
1 2007-10-12  Eric Blake  <ebb9@byu.net>
3         Namespace cleanup.
4         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
5         (_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
6         autoconf namespace.
7         * doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
8         (Programming in M4sh, Macro Names): Beef up description of
9         namespaces reserved for autoconf.
10         * configure: Regenerate.
12 2007-10-12  Eric Blake  <ebb9@byu.net>
13         and Paolo Bonzini  <bonzini@gnu.org>
15         Speed up execution of subset of testsuite.
16         * lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
17         (AT_INIT) <at_func_test>: New shell function.
18         (AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
19         (AT_INIT) <at_test_source> New variable, names file that holds
20         current test function definition.
21         (AT_SETUP): Start the shell function at_func_test_#, into the
22         TEST_FUNCTIONS diversion.
23         (AT_CLEANUP): End the shell function.  Simplify the TESTS
24         diversion to invoke the function.
26 2007-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
28         * .gitignore: Ignore tags and TAGS files.
30 2007-10-11  Eric Blake  <ebb9@byu.net>
32         Config header generation followup.
33         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
34         which won't work with the preprocessor nor with the awk
35         implementation.
36         * tests/torture.at (Define a newline): Test raw newline detection,
37         removing the XFAIL.
38         * doc/autoconf.texi (Defining Symbols): Document recent change to
39         allow backslash-newline.
40         * THANKS: Update.
42 2007-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
44         * lib/autotest/general.m4: Put function braces in separate line.
46 2007-10-10  Eric Blake  <ebb9@byu.net>
48         Avoid some overhead from m4_defn and m4_popdef.
49         * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
50         pass on first argument, since we are documented that way.
51         (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
52         check where it is safe to do so.
53         (m4_append): Likewise, and quote the separator.
54         (m4_text_box): Likewise, and avoid regex, also be robust to
55         expansion and quadrigraphs.
57         Another AC_DEFINE speedup.
58         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
59         elision...
60         (_AC_DEFINE_Q): ...here, and only do it once.
61         * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
62         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
63         introduced 2007-10-05.
65         Whitespace cleanup.
66         * lib/autoconf/general.m4: Use consistent indentation.
67         * configure: Regenerate.
69         * NEWS: Announce recent round of speed optimizations.
71 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
73         * NEWS: Announce shell function usage in Autotest.
75 2007-10-10  Eric Blake  <ebb9@byu.net>
76         and Paul Eggert  <eggert@cs.ucla.edu>
78         Reduce number of forks at startup.
79         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
80         sanitization.
81         * configure: Regenerate.
83 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
84         and Paul Eggert  <eggert@cs.ucla.edu>
86         Use awk for config header generation.
87         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
88         (_AC_OUTPUT_HEADERS_PREPARE): New macro.  Rewrite of the config
89         header machinery for use with awk and placement outside the main
90         config.status instantiation loop.  Retain multi-line defines
91         through backslash-newline combinations, do not split the script
92         any more.
93         (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
94         (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
95         needed.
96         (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
97         from define values.
98         * NEWS: Update.
99         * tests/torture.at (#define header templates): Extend test by
100         several more cases: white space before and after `#', macros
101         with parameters in config.hin and as defines, multi-line macro
102         values.
103         (Torturing config.status): Use a define value twice the length
104         in order to exercise the awk literal string limit.
105         (Substitute and define special characters): Also try special
106         delimiter, to exercise the special-case code.
107         Suggestion by Eric Lemings.
109 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
111         * tests/local.at (AT_COPYRIGHT): Bump copyright years.
113 2007-10-09  Eric Blake  <ebb9@byu.net>
115         Improve header of bin/autoconf.
116         * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
117         * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
118         from M4sh.
119         * bin/autoconf.as: Put copyright up front in generated file.
121         * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
123 2007-10-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
125         * doc/install.texi (Basic Installation): Document `uninstall'.
126         * INSTALL: Regenerate.
127         Suggestion by Roberto Bagnara.
129 2007-10-08  Paul Eggert  <eggert@cs.ucla.edu>
131         * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
133         Adjust doc. to match latest gnulib.
134         * build-aux/texinfo.tex: Sync from gnulib.
135         * doc/standards.texi: Likewise.
136         * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
137         Documentation License" and remove the subsection.  This simplifies
138         the manual a bit and is more like what other GNU projects do
139         nowadays.
141 2007-10-08  Eric Blake  <ebb9@byu.net>
143         Use recent changes.
144         * configure: Regenerate.
146         Fix regression in m4_text_wrap from 2007-10-05.
147         * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
148         (m4_sign): Sort.
149         (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
150         m4_format.
151         * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
152         * tests/autotest.at (Long test title, Longer test title): Test
153         this fix, beyond what AS_HELP_STRING already tests.
155         Avoid m4 warnings on bad m4_format usage.
156         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
157         evaulates to 0.
158         * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
159         enough arguments are provided.
161 2007-10-06  Paolo Bonzini  <bonzini@gnu.org>
163         * doc/autoconf.texi (Shell portability): Document shell function
164         portability.
166 2007-10-06  Paolo Bonzini  <bonzini@gnu.org>
168         * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
169         at_func_check_skip, at_func_check_status, at_func_filter_trace,
170         at_func_log_failure shell functions.  Use test -s to avoid
171         useless diff invocations.
172         (at_func_check_newline): Renamed from at_check_newline.
173         (AT_SETUP): Define AT_captured_files to empty.
174         (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
175         (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir.  Use all
176         the shell functions.
178 2007-10-05  Paul Eggert  <eggert@cs.ucla.edu>
180         Don't assume "." is writeable, for commands like "autoconf --version".
181         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
182         different heuristic instead, one that doesn't rely on creating
183         files.
185         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
186         correctly.
188 2007-10-05  Jim Meyering  <meyering@redhat.com>
190         Avoid makeinfo warnings.
191         * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
192         (Looping constructs): Add ` ' after @defmac'd name, m4_do.
194 2007-10-05  Eric Blake  <ebb9@byu.net>
196         Resolve Python issue 1676135 regarding configure directory args.
197         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
198         slashes from directory arguments.
199         * tests/base.at (configure directories): New test.
200         * doc/autoconf.texi (Installation Directory Variables): Document
201         the change.
202         * NEWS: Likewise.
203         * THANKS: Update.
204         Reported by Björn Lindqvist.
206         Provide better short-circuiting operation.
207         * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
208         (m4_text_wrap): Use it.  Also avoid useless m4_for.
209         * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
210         new macro.
211         (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
212         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
213         to avoid regexps.
214         * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
215         documentation.  Sort m4_mkstemp, m4_undefine.  Move m4_ifndef...
216         (Conditional constructs): ...here, to new section.  Also document
217         m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
218         m4_bpatsubsts, and m4_default.
219         (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
220         m4_do.
222 2007-10-04  Eric Blake  <ebb9@byu.net>
224         Fix recent testsuite failures.
225         * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
226         that must not be re-expanded after AS_ESCAPE.
227         * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
228         checking if it is an identifier.
230         Whitespace cleanup.
231         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
232         leading whitespace, as it caused space-tab in testsuite.
233         (AT_INIT): Avoid trailing newlines in testsuite.
235         One more round of m4_foreach_w speedups.
236         * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
237         is present.
238         (_m4_split): Avoid useless expansions inside definition.  Move
239         argument defaulting...
240         (m4_split): ...here.  Change alternate quote to something less
241         likely to appear in $1.  Also, special case space as regexp...
242         (m4_foreach_w): ...to avoid regexp on single-term list.
243         (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
244         useless expansions inside definition.
245         * tests/m4sugar.at (m4@&t@_split): Add tests.
247 2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
249         * general.m4 (AT_INIT): Add at_check_newline function.
250         (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
251         (_AT_CHECK): Don't use at_trace_this.
253 2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
255         Fix previous commit.
256         * lib/autotest/general.m4 (AT_LINE): Fix regex.
258 2007-10-04  Eric Blake  <ebb9@byu.net>
260         Speed up building testsuites.
261         * lib/autotest/general.m4 (AT_LINE): Only use regex when file
262         changed since last time.  Use simpler regex.
264 2007-10-03  Eric Blake  <ebb9@byu.net>
266         Optimize checking for identifiers.
267         * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
268         macros, more efficient than regex on m4_re_word.
269         * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
270         Rewrite in terms of new macro.  As a side-effect, AC_DEFINE can
271         now use @&t@.
272         * configure: Regenerate.
274         Remove some XFAILs, and make AT_SETUP output line up.
275         * lib/autotest/general.m4 (AT_SETUP): Only expand description
276         once; thereafter, use its expansion, properly quoted.
277         * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
278         expansion with arguments, and check for aligned output.
279         (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
280         Add a test for macros with parameters.
281         * NEWS: Document the semantics change.
282         * tests/base.at: Fix test titles containing commas.
283         * tests/compile.at: Likewise.
284         * tests/tools.at: Likewise.
285         * tests/torture.at: Likewise.
287         Another round of regex avoidance.
288         * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
289         (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
290         (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
291         (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
292         character ranges useful in m4_translit.
293         (m4_toupper, m4_tolower): Optimize the constant portion of
294         definition.
295         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
296         creates $, and reject [] thanks to AS_TR_SH rewrite.
297         (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
298         (AS_ESCAPE): Factor...
299         (_AS_ESCAPE): ...into new macro, with second argument required.
300         Avoid regex in common case.
301         (_AS_QUOTE): Use new macro.
303         Whitespace cleanup.
304         * lib/autoconf/types.m4: Avoid space-tab.
305         * lib/m4sugar/m4sh.m4: Use tab consistently.
307 2007-10-03  Paul Eggert  <eggert@cs.ucla.edu>
309         * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
310         (m4_shiftn): Remove no-longer-needed optimization.  Perhaps we
311         should remove m4_shiftn entirely?
312         (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
313         Prefer m4_shift2 and m4_shift3 to m4_shiftn.
314         * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
315         * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
316         * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
318 2007-10-03  Eric Blake  <ebb9@byu.net>
320         Comment touchups.
321         * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
323 2007-10-02  Eric Blake  <ebb9@byu.net>
325         Optimize appending text.
326         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
327         expressions.
329         Optimize recursion.
330         * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
331         lot of hot spots; optimize it for 2 and 3 shifts.
333         Optimize AC_PREREQ and other m4sugar numerics.
334         * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
335         (m4_cmp): Compare arbitrary expressions, without overflow.
336         (m4_version_unletter): Also recognize capital letters.
337         (m4_version_compare): Avoid regex when splitting version number
338         string.
340 2007-10-01  Eric Blake  <ebb9@byu.net>
342         Once again, reject IRIX m4.
343         * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
344         implementations that ignore --trace.
345         * configure: Regenerate.
346         Reported by Ralf Wildenhues.
348         Fix regression in AC_DEFINE([macro(with_arg)]).
349         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
350         quotes with a careless m4_substr.
352 2007-09-30  Eric Blake  <ebb9@byu.net>
354         Allow nameless iteration.
355         * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
356         indirectly.
357         * tests/m4sugar.at (myvar): Test this.
359 2007-09-29  Eric Blake  <ebb9@byu.net>
361         Speed optimization: avoid m4 regex when other algorithms work.
362         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
363         (_AS_QUOTE_IFELSE): Likewise.
364         * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
365         (m4_bpatsubsts): Split...
366         (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
367         regex.
368         (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
369         (m4_qlen): Optimize on short strings, to avoid regex.
370         (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
371         * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
372         (AC_DEFINE_TRACE): Likewise.
374 2007-09-28  Eric Blake  <ebb9@byu.net>
376         Oops - my earlier 'optimization' caused a regression.
377         * tests/local.at (AT_CHECK_M4): Fix typo.
379 2007-09-27  Eric Blake  <ebb9@byu.net>
380         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
382         Catch even more common AC_CACHE_VAL mistakes.
383         * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
384         lacks '_cv_', or if AC_SUBST appears in body.
385         * tests/base.at (AC_CACHE_CHECK): Test this change.
387 2007-09-27  Stepan Kasal  <kasal@ucw.cz>
388         and Eric Blake  <ebb9@byu.net>
390         Autotest no longer caters to Ultrix redirection limitation.
391         * doc/autoconf.texi (Writing testsuite.at): Remove the
392         limitation that the first parameter of AT_CHECK cannot
393         contain redirection.
394         (File Descriptors): Mention that Ultrix limitation is no longer a
395         show-stopper in modern code.
396         * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
397         parameter is `stderr' or `experr'.  Optimize if it was `ignore'.
398         * lib/autotest/general.m4 (AT_CHECK): Update comment.
400 2007-09-27  Eric Blake  <ebb9@byu.net>
402         Squelch changeword in m4sugar.
403         * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
404         feature of m4 1.4.x.
406         Configure whitespace touchups.
407         * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
408         installation directories, and avoid TAB, in configure --help
409         output.
410         * configure.ac: Avoid extra trailing newline.
411         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
412         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
413         config.status --help output.
414         * configure: Regenerate.
416         Fix underquotation in AS_HELP_STRING.
417         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
418         argument.
419         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
420         first-prefix argument.
421         * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
422         * NEWS: Document AS_HELP_STRING fix.
424         Autotest formatting touchups.
425         * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
426         output.
427         (PATH): Simplify computation of new PATH.
429 2007-09-26  Eric Blake  <ebb9@byu.net>
431         Fix testsuite breakage in last patch.
432         * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
433         font-lock fix.
434         * tests/torture.at (@%:@define header templates): Rename, so that
435         output lines up correctly.
437         More font-lock happiness.
438         * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
439         confusion.
441 2007-09-25  Eric Blake  <ebb9@byu.net>
443         Typo fixes.
444         * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
445         * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
447         Improve documentation of M4 parameter expansion.
448         * doc/autoconf.texi (Quoting and Parameters): New section.
449         (Quotation and Nested Macros): Improve wording.
451         Improve C99 detection.
452         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
453         avoid deprecation warning with icc.
454         * THANKS: Update.
455         Reported by Ted Bullock.
457 2007-09-24  Jim Meyering  <jim@meyering.net>
459         Whenever possible, use the vertical bar as sed delimiter.
460         * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
461         Use "|", not "!".
462         * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
463         [ac_dir_suffix]: Use "|", not "," as sed delimiter.
464         * tests/mktests.sh (as_me): Likewise.
465         * lib/freeze.mk (check-forbidden-patterns): Likewise.
466         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
467         * configure: Regenerate.
468         * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
469         * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
470         in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
471         This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
473 2007-09-22  Jim Meyering  <jim@meyering.net>
475         Add a comment.
476         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
477         2004-05-31 change also with a comment in the code.
479 2007-09-20  Eric Blake  <ebb9@byu.net>
481         More contribution housekeeping.
482         * THANKS: Sort.
483         * AUTHORS: Sort, reflect recent assignment from Helge Deller.
485         Ignore additional files, when copying cross-repository.
486         * .gitignore: Ignore CVS directories, emacs edits.
487         * .cvsignore: Ignore .git directory, emacs edits.
489 2007-09-15  Eric Blake  <ebb9@byu.net>
491         Provide AC_VERSION, not m4_AUTOCONF_VERSION.
492         * doc/autoconf.texi (Text processing Macros): Remove mention of
493         m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
494         once again.
495         (Notices): Move AC_PREREQ...
496         (Versioning): ...to this new section, alongside the new AC_VERSION
497         alias for the undocumented m4_PACKAGE_VERSION.
498         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
499         * lib/autoconf/general.m4 (AC_VERSION): New macro.
500         * NEWS: Update to match this rename.
501         * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
502         m4_PACKAGE_VERSION.
503         * tests/tools.at (autoconf: AC_VERSION): New test.
504         Suggested by Paolo Bonzini and Benoit Sigoure.
506 2007-09-14  Eric Blake  <ebb9@byu.net>
508         Prepare for conversion to git.
509         * doc/.cvsignore: Avoid multiple listings on one line.
510         * bin/.cvsignore: Likewise.
511         * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
512         lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
513         lib/autoscan/.gitignore, lib/autotest/.gitignore,
514         lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
515         tests/.gitignore: New files, identical to .cvsignore counterpart.
517 2007-09-13  Eric Blake  <ebb9@byu.net>
519         Editing eye-candy.
520         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
521         font-lock balance.
522         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
523         * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
524         * configure: Regenerate.
526         Clean up 'make dist' of previous patch.
527         * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
528         (CLEANFILES): Don't clean the stamp, since we distribute the
529         generated files pre-built.
530         (MAINTAINERCLEANFILES): Clean it here instead.
531         * tests/Makefile.in: Regenerate.
533         Avoid parallel 'make check' issue.
534         * tests/Makefile.am (mktests.stamp): New witness.
535         (TESTSUITE_GENERATED_AT): Use it.
536         (CLEANFILES): Clean the witness.
537         * tests/.cvsignore (mktests.stamp): Ignore the witness.
539         Document another awk pitfall.
540         * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
541         limitation of field variables in END.
542         Reported by Gary V. Vaughan.
544         * AUTHORS: Add missing entries.
546 2007-09-12  Eric Blake  <ebb9@byu.net>
548         Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
549         * doc/autoconf.texi (Text processing Macros): Document
550         m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
551         (Redefined M4 Macros): Document m4_ifndef.
552         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
553         can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
554         used it while it was undocumented.
555         * NEWS: Document this change.
556         * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
557         * lib/m4sugar/Makefile.in: Regenerate.
558         * tests/m4sugar.at (m4@&t@_version_compare): New test.
559         Reported by Bruno Haible.
561         * doc/autoconf.texi (Generic Compiler Characteristics): Add
562         missing index entries.
564 2007-09-11  Eric Blake  <ebb9@byu.net>
566         Centralize all system extensions checks.
567         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
568         from AC_AIX, AC_GNU_SOURCE, AC_MINIX.  Add Interix support.
569         (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
570         AC_USE_SYSTEM_EXTENSIONS.
571         (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
572         (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
573         * doc/autoconf.texi (Posix Variants): Reword this section,
574         emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
575         rather than a series of system-specific checks.
576         (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
577         AC_MINIX.
578         * NEWS: Document this change.
579         * THANKS: Update.
580         Reported by Martin Koeppe.
582 2007-09-08  Eric Blake  <ebb9@byu.net>
584         Clean up obsolete macros references.
585         * doc/autoconf.texi: Add anchors to support better
586         cross-referencing.
587         (Particular Structures): Move obsolete macros descriptions...
588         (External Software): Likewise.
589         (Package Options): Likewise.
590         (Obsolete Macros): ...to here.  Add cross-references to
591         documentation on replacements.
592         * NEWS: Mention that these macros have been obsolete for a while
593         now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
595         Improve M4 path searching during configure.
596         * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
597         macro.
598         (_AC_PATH_PROG_FEATURE_CHECK): Rename...
599         (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
600         parameter, and kill side effects.
601         (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
602         (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
603         * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
604         is found.
605         (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
606         allow bootstrapping with autoconf 2.61.
607         * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
608         * configure: Regenerate.
609         * doc/autoconf.texi (Generic Programs): Document new macro.
610         * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
611         macro.
612         * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
613         * NEWS: Document the change.
614         * THANKS: Update.
615         Reported by Hans Aberg.
617         * doc/autoconf.texi (Generic Programs): Fix typo.
619 2007-09-06  Eric Blake  <ebb9@byu.net>
621         * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
622         :, and make it clear that optional @var{path} defaults to $PATH.
623         (Erlang Compiler and Interpreter): Likewise.
625         Texinfo cleanup.
626         * doc/autoconf.texi: Avoid lines > 80 columns when possible.
627         Reword some paragraphs to avoid overfull, underfull hbox
628         warnings.  Add index entries to avoid overfull vbox warnings.
630 2007-09-05  Eric Blake  <ebb9@byu.net>
632         * NEWS: Adjust wording for AC_CONFIG_LINKS.
633         Reported by Ralf Wildenhues.
635 2007-09-03  Eric Blake  <ebb9@byu.net>
637         * NEWS: Document fixes that have been applied since 2.61a.
639         Housekeeping.
640         * THANKS: Update, and convert to UTF-8 encoding.
641         * AUTHORS: Likewise.
643 2007-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
645         * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
646         names beginning with `-' again.
648 2007-08-22  Stepan Kasal  <kasal@ucw.cz>
649             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
651         * doc/autoconf.texi (Defining Directories): Mention
652         AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
654 2007-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
656         * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
657         here, this macro is expanded by AC_INIT.  Fixes 2.60 regression.
658         * tests/base.at (configure arguments): New test.
659         * THANKS: Update.
660         Report by Olaf Lenz.
662         * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
663         arguments in comment.
664         Report by Vincent Torri <vtorri at univ minus evry dot fr>.
666 2007-08-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
668         * doc/autoconf.texi (File System Conventions): Index the proper
669         way of detecting absolute file names.
671 2007-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
673         * build-aux/config.guess, build-aux/config.sub,
674         build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
675         build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
676         doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
677         * doc/autoconf.texi (GNU Free Documentation License): Adjust for
678         sectioning change in fdl.texi.
680         * bin/autoconf.as: Update --version output to match current GCS.
681         * bin/autoheader.in: Likewise.
682         * bin/autom4te.in: Likewise.
683         * bin/autoreconf.in: Likewise.
684         * bin/autoscan.in: Likewise.
685         * bin/autoupdate.in: Likewise.
686         * bin/ifnames.in: Likewise.
688 2007-08-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
690         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
691         file to itself if source and build trees coincide.
692         * tests/torture.at (AC_CONFIG_LINKS and identical files): New
693         test.
694         Report by Sebastian Freundt <hroptatyr@gna.org>.
696 2007-07-20  Paul Eggert  <eggert@cs.ucla.edu>
698         Reword the copyright notices to match what's suggested in GPLv3.
699         In ChangeLog files, use more-permissive notice rather than GPL, as
700         per usual GNU standards these days.
702 2007-07-13  Paul Eggert  <eggert@cs.ucla.edu>
704         * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
705         limitation reported by Leo Moisio in
706         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
708 2007-07-03  Paul Eggert  <eggert@cs.ucla.edu>
710         * COPYING: Update to GPLv3.  All uses changed.
712 2007-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
713         and Paul Eggert  <eggert@cs.ucla.edu>
715         * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
716         fails on AIX 5.3.
718 2007-06-17  Noah Misch  <noah@cs.caltech.edu>
720         * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
721         * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
722         `srcdir' as subdirectory of `builddir'.
724 2007-06-13  Noah Misch  <noah@cs.caltech.edu>
726         * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
727         * tests/autotest.at (srcdir propagation): New test.
728         * THANKS: Update.
729         Reported by Mike Frysinger.
731 2007-06-13  Paul Eggert  <eggert@cs.ucla.edu>
733         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
734         Problem reported by Fred Kreek in
735         <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
736         * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
737         (Macro Names, Defining Directories): Don't mention PATH as a name
738         for a fully qualified file name, as this usage violates the GNU
739         coding standards and we shouldn't recommend it.
741         * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
742         string and then assume shell builtins like "test" will work.
744 2007-06-12  Noah Misch  <noah@cs.caltech.edu>
746         * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
747         not a valid shell variable name.
748         * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
749         * tests/torture.at (AC_SUBST: variable name validation): New test.
750         Reported by Andreas Schwab.
752 2007-06-04  Noah Misch  <noah@cs.caltech.edu>
754         * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
755         works with both C and C++.
757 2007-06-03  Noah Misch  <noah@cs.caltech.edu>,
758             Bruno Haible  <bruno@clisp.org>
760         * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
761         brand tests.
763 2007-05-31  Paul Eggert  <eggert@cs.ucla.edu>
765         * doc/autoconf.texi (Particular Types): Give example of use for
766         AC_TYPE_INT8_T etc.
768 2007-05-29  Stepan Kasal  <kasal@ucw.cz>
770         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
772 2007-05-28  Paul Eggert  <eggert@cs.ucla.edu>
774         * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
775         define HAVE_INT8_T, and likewise for similar macros.
776         Problem reported by Patrick Welche in
777         <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
779 2007-05-25  Noah Misch  <noah@cs.caltech.edu>
781         * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
783 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
785         * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
786         choice, since that's what we do with --enable-largefile etc.
787         Redo indenting and assignments to simplify things a bit, and make
788         the parens work with Emacs.
790         * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
791         in my previous change: AC_C_OPENMP -> AC_OPENMP.  Reported by Bruno
792         Haible.
794 2007-05-21  Noah Misch  <noah@cs.caltech.edu>
796         * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
797         * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
799 2007-05-21  Bruno Haible  <bruno@clisp.org>
801         * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
802         * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
803         * doc/autoconf.texi (Generic Compiler Characteristics): Move
804         renamed AC_OPENMP documentation here, from "C compiler".
805         Mention C++ and Fortran.
807 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
809         * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
811 2007-05-21  Bruno Haible  <bruno@clisp.org>
813         * NEWS: Mention AC_C_OPENMP.
814         * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
815         * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
816         Based in part on Steven G. Johnson's investigations for the AX_OPENMP
817         macro in the Autoconf macro archive.
819 2007-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
821         * bin/autom4te.in: Fix typos.
823 2007-05-16  Noah Misch  <noah@cs.caltech.edu>
825         * bin/autoconf.as: Handle `-' just like other input files.
826         * bin/autom4te.in (parse_args): Pass `-' through.
827         (handle_output): Skip the forbidden token search if we read from stdin.
828         (up_to_date): Always treat stdin as out of date.
829         * tests/tools.at (autoconf: input from stdin): New test.
830         (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
832 2007-05-16  Stepan Kasal  <kasal@ucw.cz>
834         * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
835         parameters for AT_CLEANUP.
836         * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
838 2007-05-14  Paul Eggert  <eggert@cs.ucla.edu>
840         * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
841         * doc/autoconf.texi (C Compiler): Likewise.
843 2007-05-14  Noah Misch  <noah@cs.caltech.edu>
845         * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
847 2007-05-09  Stepan Kasal  <kasal@ucw.cz>
849         * doc/autoconf.texi: Direntry for "autoconf Invocation"
850         renamed to "autoconf-invocation"
852         * doc/autoconf.texi (Caching Results): The CACHE-ID variable
853         in the examples should not use the internal "ac_" prefix.
855 2007-05-05  Noah Misch  <noah@cs.caltech.edu>
857         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
858         * doc/autoconf.texi ($@, case): Document Zsh limitations.
860 2007-05-03  Stepan Kasal  <kasal@ucw.cz>
862         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
863         Reorganize the comments before and in the macro.
865 2007-05-02  Stepan Kasal  <kasal@ucw.cz>
867         * lib/autoconf/lang.m4, lib/autoconf/c.m4,
868         lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
869         section titles and other comments; no code change.
871 2007-05-01  Kevin Ryde  <user42@zip.com.au>
873         * doc/autoconf.texi (Particular Programs): Typo
874         @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
876 2007-04-30  Paul Eggert  <eggert@cs.ucla.edu>
878         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
879         'configure' will fail if the shell lacks proper support for shell
880         functions.  Suggested by RMS.
882 2007-04-29  Paul Eggert  <eggert@cs.ucla.edu>
884         * doc/autoconf.texi (Limitations of Builtins): Correct the warning
885         about Solaris /bin/printf '%010000x' 123.  Problem reported by
886         Bruno Haible.
888 2007-04-28  Paul Eggert  <eggert@cs.ucla.edu>
890         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
891         for a.* when searching for executables, as this prevents users
892         from having files like a.c.  Problem reported by Ralf Wildenhues in:
893         http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
894         This fixes a problem introduced on 2000-12-19.
896 2007-04-26  Paul Eggert  <eggert@cs.ucla.edu>
898         * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
899         /bin/printf '%010000x' 123.  Problem reported by Arto C. Nirkko
900         via Bruno Haible.
902 2007-04-12  Paul Eggert  <eggert@cs.ucla.edu>
904         * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
905         AC_CHECK_TYPE, AC_CHECK_TYPES.
906         * doc/autoconf.texi (Generic types): C types must be type-names
907         (the C terminology), not type-ids (the C++ term).  C++ types
908         must not be anonymous.
909         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
910         for C++; this drops support for anonymous struct and union types,
911         which were problematic anyway.
912         * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
913         for C++.
915 2007-04-12  Jim Meyering  <jim@meyering.net>
917         * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
919 2007-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
921         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
922         to prefer a link source from the build tree, if it exists.
923         Report by Pallav Gupta <pallavgupta@gmail.com>.
925 2007-04-11  Paul Eggert  <eggert@cs.ucla.edu>
927         * doc/autoconf.texi (Generic Types): Document the restrictions
928         on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
929         (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
930         with objects too.  Document the restrictions on its use.
931         Document the restrictions on AC_CHECK_ALIGNOF's type argument.
932         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
933         For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
934         works but the latter doesn't, then it's a valid type.
935         This lets people use function types and so forth.
936         For C++ there doesn't seem to be a simple solution, so leave it alone.
937         (AC_CHECK_SIZEOF): Allow argument to be a variable.
938         (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
939         AC_CHECK_TYPE; that wasn't documented or necessary.
941 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
943         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
944         when cross-compiling.
946 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
948         * doc/autoconf.texi (External Software): Fix a typo in the
949         previous change.
951 2007-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
953         * doc/autoconf.texi (External Software, Package Options):
954         Fix ambiguous wording.  Report by Reuben Thomas <rrt@sc3d.org>.
956 2007-04-06  Paul Eggert  <eggert@cs.ucla.edu>
958         * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
959         obsolescent.  Suggested by Bruno Haible.
960         * NEWS: Document this.
962 2007-03-29  Paul Eggert  <eggert@cs.ucla.edu>
964         * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
965         (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
966         default still has the problem.  Problem reported by Bruce Korb.
968 2007-03-28  Stepan Kasal  <kasal@ucw.cz>
969         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
971         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
972         comment in the generated config.status.
974 2007-03-27  Stepan Kasal  <kasal@ucw.cz>
976         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
978 2007-03-26  Paul Eggert  <eggert@cs.ucla.edu>
980         * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
981         command and case statements to make it a bit clearer and describe
982         more pitfalls.
984 2007-03-23  Paul Eggert  <eggert@cs.ucla.edu>
986         * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
987         checks for unsigned long long int.
989 2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
991         * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
992         nonstandard grep R.E. escape sequences.
994 2007-03-17  Jim Meyering  <jim@meyering.net>
996         * doc/autoconf.texi: Adjust grammar around use of "heuristics".
997         (Limitations of Usual Tools): Also list \< and \>, and mention that
998         HP-UX's grep, like the one from Solaris, does not support that syntax.
1000 2007-03-09  Stepan Kasal  <kasal@ucw.cz>
1002         * doc/autoconf.texi (Specifying Names): `--host' does not
1003         change the build type.
1005 2007-03-05  Paul Eggert  <eggert@cs.ucla.edu>
1007         * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
1008         suggests AC_CONFIG_HEADERS.
1009         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
1010         AC_CONFIG_HEADERS.  Problem reported by
1011         Peter O'Gorman.
1013 2007-02-28  Paul Eggert  <eggert@cs.ucla.edu>
1015         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
1016         Problem reported by Paolo Bonzini in:
1017         http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
1018         * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
1019         universal binaries.  Problem reported by Elias Pipping.
1021 2007-02-27  Paul Eggert  <eggert@cs.ucla.edu>
1023         * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
1024         * doc/autoconf.texi (C Compiler): Document this.  There is a new
1025         extra argument ACTION-IF-UNIVERSAL.
1026         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
1027         Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
1028         Reindent for sanity's sake.
1030 2007-02-24  Eric Blake  <ebb9@byu.net>
1032         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
1033         copyright.
1034         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1035         * lib/autotest/general.m4 (AT_INIT): Likewise.
1036         (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
1038 2007-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1040         * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
1041         status of rm so we know when it failed.
1042         If cleaning of test dir failed before running the test, warn.
1043         Output the line separator in verbose mode before the warning
1044         to make clear the warning belongs to the following test.
1046 2007-02-08  Paul Eggert  <eggert@cs.ucla.edu>
1048         * doc/autoconf.texi (Parentheses): Mention problem with (( in
1049         shells.
1051 2007-02-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1052         and Paul Eggert  <eggert@cs.ucla.edu>
1054         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
1055         errors introduced in last change.
1057 2007-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1059         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
1060         an actual carriage return.  Use "ac_cr" to contain the actual
1061         carriage return.
1062         * doc/autoconf.texi (Limitations of Usual Tools): Document problem
1063         with traditional Awk and begin.
1064         * tests/torture.at (Limitations of Builtins): Document the problem
1065         with Bash 2.03 printf.
1066         (Substitute and define special characters):
1067         Remove trailing white space.  Work around a bug in Solaris 8 /bin/bash.
1069 2007-02-06  Ralf Menzel  <menzel@ls6.cs.uni-dortmund.de>  (tiny change)
1071         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
1072         input from /dev/null in awk test, so even Solaris /usr/bin/awk
1073         will not wait for input with a script containing only a BEGIN
1074         rule.
1076 2007-02-03  Paul Eggert  <eggert@cs.ucla.edu>
1078         * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
1079         requirements.
1080         * README: Likewise.
1082 2007-02-02  Eric Blake  <ebb9@byu.net>
1084         * NEWS: Update copyright.
1086         * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
1087         broken.
1088         * configure.ac: Update error message.
1089         * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
1090         Reported by Gary Vaughan and Jim Meyering, and problem analyzed
1091         by Stepan Kasal:
1092         http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
1094 2007-01-31  Eric Blake  <ebb9@byu.net>
1096         * THANKS (people): Update.
1098 2007-01-28  Paul Eggert  <eggert@cs.ucla.edu>
1100         * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
1101         latest version.
1102         (Shell Substitutions): Note problems with @{var:=value} etc.
1103         Add a new section for problems with @{#var} etc.  Problem noted
1104         by Ralf Wildenhues.  See:
1105         http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
1107 2007-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1109         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
1110         AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
1111         trace, if a package uses AC_PROG_MKDIR_P explicitly.  The actual
1112         substitution will still be done by the special code.
1113         Report by Jim Meyering.
1115         * doc/autoconf.texi (File System Conventions): Mention that
1116         $PATH_SEPARATOR is for the build system only.
1117         Report by Keith Marshall.
1119 2007-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1121         * doc/autoconf.texi (Setting Output Variables): Mention that
1122         all non-NUL characters are ok in substituted values.
1123         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
1124         (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
1125         carriage return for $AWK, needed for BSD awk.
1126         * tests/torture.at (Substitute and define special characters):
1127         Test all 8 bit non-NUL characters.
1128         Report against Automake by Patrick Welche.
1130 2007-01-15  Stepan Kasal  <kasal@ucw.cz>
1132         * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
1134 2007-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1136         * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
1137         early on the reader side, drop stderr of the input to avoid
1138         `broken pipe' error output; this may happen even with shell
1139         builtin `echo' of some bash versions.  Reports by Ian Macdonald
1140         <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
1142 2007-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1144         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
1145         separate items of `ac_user_opts', to avoid long lines.
1146         (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
1148 2007-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1150         * doc/autoconf.texi: Fix some typos.
1152 2007-01-05  Paul Eggert  <eggert@cs.ucla.edu>
1154         Fix some wording problems noted by Paolo Bonzini in:
1155         http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
1156         * doc/autoconf.texi (Signed Overflow Examples): Give more
1157         discussion about the allow_superuser_privileges example,
1158         and change it a bit to make things clearer.
1159         (Optimization and Wraparound): Clarify whether the compiler
1160         will generate an infinite loop for the example derived from
1161         Autoconf's mktime test.
1162         (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
1163         Also, clarify unsigned multiplication overflow.
1165 2007-01-04  Eric Blake  <ebb9@byu.net>
1167         * bin/Makefile.am (RELEASE_YEAR): New macro.
1168         (edit): Use it to supply correct copyright year to scripts.
1169         * bin/autoconf.as (version): Use it.
1170         * bin/autoheader.in ($version): Likewise.
1171         * bin/autom4te.in ($version): Likewise.
1172         * bin/autoreconf.in ($version): Likewise.
1173         * bin/autoscan.in ($version): Likewise.
1174         * bin/autoupdate.in ($version): Likewise.
1175         * bin/ifnames.in ($version): Likewise.
1177 2007-01-02  Paul Eggert  <eggert@cs.ucla.edu>
1179         * doc/autoconf.texi (Integer Overflow): Revised based on today's
1180         feedback.  The most important changes document what happens when
1181         you convert an out-of-range value to a signed integer type, and
1182         say that (sum < a) != (b < 0) reliably detects overflow when sum =
1183         a + b.
1185         * doc/autoconf.texi (Integer Overflow): Greatly expand and
1186         rewrite, taking notions from the recent discussion on the gcc and
1187         autoconf mailing lists; please see
1188         http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
1189         and follow the many links.
1190         (Integer Overflow Basics, Signed Overflow Examples):
1191         (Optimization and Wraparound, Signed Overflow Advice):
1192         (Signed Integer Division): New sections.
1194 2006-12-28  Steven G. Johnson  <stevenj@alum.mit.edu>
1196         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
1197         preprocessor macro arguments in traced name.
1198         * doc/autoconf.texi (Defining symbols): Document longstanding
1199         support for AC_DEFINE-ing macros with arguments, and document
1200         behavior when the same variable has multiple AC_DEFINEs.
1201         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
1202         old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
1203         macros directly, giving much shorter and simpler code.
1205 2006-12-28  Malcolm Purvis <malcolmp@xemacs.org>  (trivial change)
1207         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
1208         space before "$ac_configure_args" to prevent a 'config.status
1209         --recheck' failure if ac_configure_args doesn't contain a leading
1210         space.  This works around a problem with the XEmacs configure.ac,
1211         which uses the (undocumented) ac_configure_args variable
1212         inconsistently with Autoconf.
1214 2006-12-22  Paul Eggert  <eggert@cs.ucla.edu>
1216         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
1217         Include <limits.h>, and use its INT_MAX to rewrite the
1218         j loop so that it does not overflow 'int'.  Problem reported by
1219         Ralf Wildenhues in
1220         <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
1221         Play it safe by shifting left by 1 rather than multiplying by 2,
1222         as GCC is less likely to optimize this away when the value
1223         is signed (when it assumes overflow leads to undefined behavior).
1224         Also, don't assume time_t uses two's complement.
1226 2006-12-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1228         * tests/torture.at (Substitute a 2000-byte string): Avoid using
1229         a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
1230         dumps core on it.  Report by Tim Rice.
1232 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
1234         * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
1235         --disable-option-checking to --help output even when
1236         AC_PRESERVE_HELP_ORDER is not used.
1237         (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
1238         --with argument, rather than argument with [-.] replaced by
1239         underscores.
1240         * NEWS: Fix typo in previous change; the news was in the
1241         wrong section.
1243 2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
1245         * NEWS: Warnings are now generated by default for unknown
1246         --enable-* and --with-* options.
1247         * doc/autoconf.texi (Option Checking): Renamed from
1248         (Configure Option Checking).  Tighten up the wording a bit.
1249         (External Software, Package Options): Cross-reference to Option
1250         Checking, and use this to shorten our section.
1251         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
1252         "$x" to test "x$foo" != x.
1253         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
1254         Don't warn if $enable_option_checking is "no".
1255         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
1256         ac_unrecognized_opts to the empty string.
1257         Don't echo the unrecognized opts, as this might mishandle
1258         backslashes or leading -.
1259         (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
1260         usage next to the other --disable-FEATURE options in the
1261         help string.
1263 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
1265         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
1266         (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
1267         Print warning for unrecognized --with and --enable options
1268         (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
1269         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
1270         Disable option checking when subdirs are configured.
1271         (AC_OUTPUT): If warnings are enabled, print warning about
1272         unrecognized --with and --enable options at the end of
1273         the configure output (as well as at the beginning).
1274         * doc/autoconf.texi (Option Checking): New node.
1275         Document new option warning functionality.
1277 2006-12-16  Eric Blake  <ebb9@byu.net>
1279         * configure.ac (AC_INIT): Bump version, since 2.61a is released.
1280         * NEWS: Start news for current version.
1282 2006-12-15  Paul Eggert  <eggert@cs.ucla.edu>
1284         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
1285         Define HAVE_GETMNTENT to 1, not to the empty string.
1286         Problem originally reported by Jochen Friedrich in
1287         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
1289         This change prompted by a problem report by Andrey Simonenko in
1290         <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
1291         * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
1292         object-like macros only, in the traditional portable character
1293         set.
1294         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
1295         Warn about attempts to define things that are not identifiers.
1296         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
1297         awful hack that AC_DEFINEd macro names containing parentheses.
1299 2006-12-12  Paul Eggert  <eggert@cs.ucla.edu>
1301         * doc/autoconf.texi: Undo some of the 2006-12-10 change.  It was
1302         too drastic, even if Texinfo in theory requires it for info mode.
1304         (config.status Invocation): Renamed back from Recreating a
1305         Configuration).
1306         (Obsolete config.status Use): Renamed back from Obsolete Recreation.
1307         (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
1309 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
1311         * NEWS: Version 2.61a.
1313 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
1314         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1316         * NEWS: Document changes with echo and printf, and the lack
1317         of limits on the total size of multi-line values of substituted
1318         variables, and the AC_FUNC_FSEEKO fix.
1320 2006-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1322         * doc/autoconf.texi (Writing Autoconf Input): Renamed from
1323         Writing configure.ac.
1324         (Autoconf Input Layout): Renamed from configure.ac Layout.
1325         (Recreating a Configuration): Renamed from config.status Invocation.
1326         (Obsolete Recreation): Renamed from Obsolete config.status Use.
1327         (acconfig Header): Renamed from acconfig.h.
1328         (20th-century Autoconf 2): Renamed from Autoconf 2.13.
1329         (Writing Testsuites): Renamed from Writing testsuite.at.
1330         (Autom4te Cache): Renamed from autom4te.cache.
1332         * BUGS: Remove mention of VPATH problem, since it's now documented
1333         not to be a bug in the Autoconf build procedure itself, but rather
1334         a problem with the proprietary `make' programs.
1336         * doc/autoconf.texi (Build Directories): Add a cross reference
1337         to VPATH and Make.
1339         * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
1340         * doc/standards.texi: Sync from gnulib.
1342         * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
1343         * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
1344         * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
1345         generated automatically.
1347 2006-12-06  Paul Eggert  <eggert@cs.ucla.edu>
1349         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
1350         C 5.8 on Solaris 10.  Using -xc99=all rather than -xc99 bypasses
1351         the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
1353 2006-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1355         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
1356         `CEOF$ac_eof' special marker, the awk script cannot contain a
1357         line matching `^CEOF', so this is not needed any more.
1358         * tests/torture.at (Substitute a newline): Expose the `%!_!# '
1359         special marker in the test.
1361 2006-12-06  Stepan Kasal  <kasal@ucw.cz>
1363         * tests/tools.at (autom4te preselections): Use `find -newer';
1364         remove one of the sleeps.
1366         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
1367         more readable, using ...
1368         (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
1370         * doc/autoconf.texi (autoheader Invocation): Do not double-
1371         quote the parameter of `AH_BOTTOM' in the example.
1373 2006-12-05  Stepan Kasal  <kasal@ucw.cz>
1375         * doc/autoconf.texi (Configuration Headers): Remove the
1376         example with multiple input files.
1377         (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
1378         multiple input files.
1380 2006-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1382         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
1383         creating the awk substitution script, handle one input line at a
1384         time, so that the maximum length of a substituted (multi-line)
1385         value is not limited by the size of the sed pattern space.
1386         The trade-off is a slightly repetitive sed script.
1387         * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
1388         can only have up to 7 characters, due to Solaris 10 /bin/sed.
1389         * tests/torture.at (Substitute a 2000-byte string): Increase the
1390         test with several long lines, they should not be caught by sed
1391         limits any more.
1393         * tests/tools.at (autom4te preselections): New test, to flag
1394         entries missing from autom4te.cfg.
1395         Report by David Byron <dbyron@hheld.com>.
1397         * tests/torture.at (Substitute a 2000-byte string): Actually use
1398         AC_PROG_AWK, so the last change works as intended.
1399         (Substitute and define special characters): Likewise.
1400         (Substitute a newline): Likewise.
1402         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
1403         instead of `awk' consistently.
1404         (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
1405         * tests/torture.at (Torturing config.status): Test both the
1406         result of AC_PROG_AWK and plain awk.
1407         (Substitute a 2000-byte string): Likewise.
1408         (Substitute and define special characters): Likewise.
1409         (Substitute a newline): Likewise.
1411 2006-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1413         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
1414         can be assigned to a function pointer.  Problem reported by
1415         Peter Palfrader in <http://bugs.debian.org/401377>.  Based on
1416         part of a patch by Ralf Wildenhues in that same bug report.
1418 2006-12-01  Paul Eggert  <eggert@cs.ucla.edu>
1420         * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
1421         * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
1423 2006-12-01  Eric Blake  <ebb9@byu.net>
1425         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
1426         cross-compiling from cygwin to mingw.
1427         Reported by Bob Rossi.  This resurrects the 2000-11-30 patch to
1428         aclang.m4, which was mistakenly removed in the 2001-09-17 patch
1429         to lib/autoconf/c.m4.
1431 2006-12-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1433         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
1434         string for more reliable failure.  Wrap the entire test that
1435         causes the broken Solaris printf to dump core, in a subshell,
1436         so the segmentation fault message is reliably suppressed.
1437         Fix shell expansion errors by using /usr/ucb/echo always;
1438         avoid an error on systems without it by another subshell.
1439         Avoid m4 expansion of `$1'.  Set the zeroth argument of the
1440         subshell-$as_echo to `as_echo', for better error message.
1442 2006-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1444         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
1445         `BASH_SOURCE' contain a newline, set them to empty, as they may
1446         not be unset.
1448 2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
1450         Turn AC_FUNC_SETVBUF_REVERSED into a noop.  It's been obsolete for
1451         years and is too hard to maintain now.  The last straw was
1452         reported by Jerker Baeck in
1453         <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
1454         * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
1455         * doc/autoconf.texi (Particular Functions): Move
1456         AC_FUNC_SETVBUF_REVERSED from here...
1457         (Obsolete Macros): ... to here.  Say that it does nothing now.
1458         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
1459         Turn into (almost) a no-op.
1461         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
1462         (AC_C_VOLATILE):
1463         Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
1464         These macros are obsolescent and new applications shouldn't need them.
1465         * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
1466         (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
1467         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
1468         (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1469         (AC_FUNC_VPRINTF): Likewise.
1470         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
1471         (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
1472         * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
1474         * doc/autoconf.texi (Setting Output Variables): Mention that
1475         @VAR1@VAR2 has unspecified behavior.  Problem reported by
1476         Ralf Wildenhues.
1477         * NEWS: Mention this.
1479         * Makefile.am: Put only a single '#' into the copyright notice,
1480         so that it's also present in the output file.  Standardize wording
1481         in makefile copyright notices to match GNU coding standards.
1482         * bin/Makefile.am: Likewise.
1483         * doc/Makefile.am: Likewise.
1484         * lib/Makefile.am: Likewise.
1485         * lib/freeze.mk: Likewise.
1486         * lib/autoconf/Makefile.am: Likewise.
1487         * lib/autoscan/Makefile.am: Likewise.
1488         * lib/autotest/Makefile.am: Likewise.
1489         * lib/m4sugar/Makefile.am: Likewise.
1490         * man/Makefile.am: Likewise.
1491         * tests/Makefile.am: Likewise.
1492         * lib/emacs/Makefile.am: Remove copyright notice; it's just a
1493         one-line file.
1495 2006-11-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1497         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
1498         in the sed script that mangles the awk script: delete up to the
1499         first exclamation mark only.
1500         * tests/torture.at (Substitute and define special characters):
1501         Test '!' too.
1503 2006-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1505         Rewrite config files generation: avoid quadratic growth in
1506         the number of substituted variables by using awk instead of sed
1507         for the bulk of the substitutions.
1508         * NEWS: Mention this.
1509         * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
1510         forbidden in the output (and thus input) file.
1511         * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
1512         (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
1513         generate just one large awk script for substitutions,
1514         eliminating much of the earlier complexity, while adding some
1515         new complexity.  Only expand the substitution templates at
1516         configure time, for smaller configure script size.  If
1517         _AC_SUBST_FILES are used, test 'awk' for working getline support
1518         at config.status time.  If absent, interpolate through the
1519         shell.  The awk script was written with much help
1520         from Paolo Bonzini and Paul Eggert.
1521         (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
1522         (_AC_SED_FRAG_NUM): Likewise.
1523         (_AC_SUBST_CMDS): Renamed from...
1524         (_AC_SED_CMDS): ...this.
1525         (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
1526         * tests/torture.at (Substitute a 2000-byte string): Also
1527         substitute a line with 1000 words, and a variable with several
1528         long lines.
1529         (Substitute and define special characters): Test awk special
1530         characters, and put substitution input strings `@foo@' in the
1531         output, to test that no recursion happens; test several other
1532         combinations from Paolo Bonzini.
1534 2006-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1536         * lib/autotest/general.m4 (AT_INIT): Undo recent changes
1537         that replaced echo with AS_ECHO where this wasn't necessary.
1538         Problem reportd by Ralf Wildenhues.
1539         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
1540         where "/usr/bin/printf '%s\n' S" dumps core if S is long.
1541         This is Sun bug 4206210.  Problem reportd by Ralf Wildenhues.
1543 2006-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1545         * lib/freeze.mk (GREP): Removed, no need to initialize this.
1547 2006-11-21  Paul Eggert  <eggert@cs.ucla.edu>
1549         * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
1550         that traditional Awk lacks 3-arg "split".  It has it.
1551         Mention that FS must be a single character, and a few other
1552         99-byte limits of traditional Awk.
1553         Mention that if (i in a) doesn't work with traditional Awk.
1555 2006-11-18  Paul Eggert  <eggert@cs.ucla.edu>
1557         * tests/autotest.at (BSx641-newline in command):
1558         (BS-BS-newline in command, BSx640-newline in command):
1559         (Newline-CODE-BS-newline in command):
1560         (Single-quote-BS-newline in command):
1561         (Single-quote-newline-BS-newline in command):
1562         Use printf '%s\n' instead of echo, for portability to hosts
1563         where echo interprets backslashes.  This will break on hosts
1564         that lack printf, but for now let's assume all such hosts
1565         are dead (if not, we should get reports of test failures).
1567 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1569         'echo' has some portability problems, when given a first argument
1570         with a leading '-', or when given any argument containing '\'.
1571         Avoid using 'echo' in these cases.
1572         * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
1573         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
1574         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1575         * lib/autotest/general.m4 (AT_INIT): Likewise.
1576         * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
1577         argument might be unportable.
1578         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
1579         * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
1580         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
1581         (_AC_FC_LIBRARY_LDFLAGS): Likewise.
1582         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
1583         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
1584         (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
1585         (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
1586         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1587         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
1588         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
1589         (AC_PROG_MAKE_SET): Likewise.
1590         * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
1591         (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
1592         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
1593         (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
1594         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
1595         (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
1596         (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
1597         * bin/autoconf.as: Redo verbose flag implementation, as the old
1598         scheme wouldn't work with AS_ECHO.
1599         * lib/autotest/general.m4 (AT_INIT): Likewise.
1600         * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
1601         Don't use ECHO_T, since ECHO_N is now reliable.
1602         * lib/autotest/general.m4 (AT_INIT): Likewise.
1603         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
1604         rather than using a here-document to put the script into a file.
1605         (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
1606         use AS_ECHO.
1607         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
1608         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
1609         AS_ECHO_N rather than ECHO_N and ECHO_C.  This doesn't fix any
1610         bug, but we might as well stop using ECHO_N and ECHO_C internally.
1611         * lib/autotest/general.m4 (AT_SETUP): Likewise.
1612         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
1613         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1614         (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
1615         operand, as AS_ECHO requires.  Avoid double file name expansion.
1616         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
1617         Don't set as_nl, since _AS_ECHO_PREPARE does that now.
1618         (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
1619         (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
1620         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1621         Double-quote strings that would otherwise contain M4 comments.
1622         * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
1624         * configure.ac (AC_INIT): Bump to 2.61a.
1625         * NEWS: Likewise.
1627 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1629         Version 2.61.
1631         * configure.ac (AC_INIT): Bump to 2.61.
1632         * NEWS: Likewise.
1634         * tests/autotest.at (Macro with backslash in a test title):
1635         Comment out for now, as this tests neither fails nor passes
1636         reliably.  Problem reported by Ralf Wildenhues.
1638 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
1640         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
1641         in previous change, which caused test failures.
1643 2006-11-16  Stepan Kasal  <kasal@ucw.cz>
1645         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
1646         code for --enable, --disable, --with, and --without to...
1647         (_AC_INIT_PARSE_ENABLE): ... a new macro.
1648         * doc/autoconf.texi (Package Options):
1649         * NEWS: Document that AC_ARG_ENABLE allows dots, too.
1651 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
1653         Import these changes from config via gnulib:
1655         2006-11-15  Ben Elliston  <bje@gnu.org>
1657         From Josselin Mouette <joss@debian.org>:
1658         * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
1660         2006-11-08  Ben Elliston  <bje@gnu.org>
1662         * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
1664         2006-11-07  Steve Woodford  <scw@NetBSD.org>
1665                     Ben Elliston  <bje@gnu.org>
1667         * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
1668         * build-aux/config.sub (sh5el): New basic_machine.
1671         Import this change from coreutils:
1673         2006-02-13  Jim Meyering  <jim@meyering.net>
1675         * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
1678         Import this change from gnustandards via gnulib:
1680         2006-11-15  Karl Berry  <karl@gnu.org>
1682         * standards.texi: core -> memory, throughout.
1683         (CPU Portability): show correct example of calling write
1684         on a char value; thanks to Paul Eggert for the code.
1685         Both of these suggestions from Eugene Y. Vasserman.
1688         Import these changes from texinfo via gnulib:
1690         2006-11-08  Karl Berry  <karl@gnu.org>
1692         * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
1693           as well as pdf images, since they are supported in pdftex with
1694           no further ado.
1696         2006-11-05  Karl Berry  <karl@gnu.org>
1698         * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
1700 2006-11-13  Paul Eggert  <eggert@cs.ucla.edu>
1702         * NEWS: Document the AC_ARG_WITH change.
1704 2006-11-13  Bruno Haible  <bruno@clisp.org>
1706         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
1707         options, transliterate also dots to underscores.
1708         (_AC_ENABLE_IF): Transliterate also dots to underscores.
1709         * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
1710         first argument may also contain dots.
1712 2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
1714         * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
1715         benefit of platforms like Solaris+GCC where it is common to have a
1716         non-working g++ installation.
1718 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1719         and Joel E. Denny  <jdenny@ces.clemson.edu>
1720         and Paul Eggert  <eggert@cs.ucla.edu>
1722         * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
1723         and non-portable sed scripts, and use $CONFIG_SHELL when invoking
1724         ./micro-suite.
1726 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
1728         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
1729         ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
1730         Imported from a similar patch to gnulib by Bruno Haible.
1732 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
1734         * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
1735         * doc/autoconf.texi (C Compiler): Document them.
1736         * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
1737         New macros, taken from gnulib.
1739 2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
1741         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
1742         Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
1743         Matthew Woehlke.
1745 2006-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1747         * tests/torture.at (Configuring subdirectories): Do not skip
1748         Automake 1.10 nor future Automake 11.1 (sic).
1750 2006-10-26  Joel E. Denny  <jdenny@ces.clemson.edu>
1751         and Stepan Kasal  <kasal@ucw.cz>
1753         Handle special characters in test case titles correctly.
1754         * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
1755         properly.
1756         (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
1757         * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
1758         argument.  Extend to check titles printed by ./micro-suite and
1759         ./micro-suite -l and the title in micro-suite.log.
1760         (Backquote in a test title,
1761         Single-quote in a test title,
1762         Double-quote in a test title): Don't expect failure anymore.
1763         (Backslash in a test title): Put a non-whitespace character after the
1764         backslash so that Bourne shells might actually see it as an escape
1765         sequence.
1766         (Brackets in a test title,
1767         Pound in a test title,
1768         Comma in a test title,
1769         Quoted Macro in a test title,
1770         Macro in a test title,
1771         Macro with single-quote in a test title): New tests.
1772         (Macro with backquote in a test title,
1773         Macro with double-quote in a test title,
1774         Macro with backslash in a test title): New tests expected to fail.
1775         * tests/torture.at (#define header templates): M4-quote this title in
1776         AT_SETUP call so that no M4 code is commented inadvertently somewhere.
1777         The visible effect was a stray [] in the testsuite output.
1779 2006-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1781         * doc/autoconf.texi (Limitations of Builtins): Do not invoke
1782         `trap ... 0' inside a function, for AIX sh.
1784 2006-10-26  Paul Eggert  <eggert@cs.ucla.edu>
1786         * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
1787         since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
1788         5363) simply issues a warning when dividing by zero at compile
1789         time.  Problem reported by Elias Pipping.
1791 2006-10-26  Eric Blake  <ebb9@byu.net>
1793         * THANKS: Update.
1794         * doc/autoconf.texi (Evaluation Macros): Improve the example to
1795         show effect on macros that expand with commas.
1796         Reported by Joel E. Denny.
1798         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1799         Also work with M4 1.4.8.
1801 2006-10-25  Paul Eggert  <eggert@cs.ucla.edu>
1803         * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
1804         Jim Meyering.
1806 2006-10-25  Stepan Kasal  <kasal@ucw.cz>
1808         * tests/tools.at (autom4te --force): New test, verifies that
1809         `--force' always rewrites the output file.
1811 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
1813         * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
1814         needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.
1816 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
1818         * tools/trace.at (autoconf --trace: user macros): Test `$%'.
1820 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
1822         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1823         If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
1824         AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
1825         reported by Nelson H. F. Beebe for Coreutils 6.4.
1827         * tests/tools.at (autoconf --trace: user macros): Remove test
1828         for tracing multiline macros, since m4 1.4.7a uses a different
1829         way to number lines.  Problem reported by Ralf Wildenhues.
1831 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
1833         * bin/autom4te.in (handle_m4): Do not redirect stdin to
1834         /dev/null since the heuristics for interactive behaviour was
1835         fixed in CVS m4.
1837         * bin/autom4te.in: With --force, always refresh the output
1838         file.  Problem reported by Greg Schafer <gschafer@zip.com.au>.
1840         * bin/autoconf.as: Fix the verbose message at the end.
1842 2006-10-23  Paul Eggert  <eggert@cs.ucla.edu>
1844         * configure.ac (AC_INIT): Bump to 2.60c.
1845         * NEWS: Likewise.
1847 2006-10-22  Paul Eggert  <eggert@cs.ucla.edu>
1849         * NEWS: Version 2.60b.
1851         Import this change from Texinfo:
1852         2006-10-15  Karl Berry  <karl@gnu.org>
1853         * build-aux/texinfo.tex: automake 1.10
1855         * NEWS: Remove AC_CACHE_CHECK_INT.
1856         * doc/autoconf.texi (Caching Results): Likewise.
1857         * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
1858         AC_CACHE_CHECK_INT, since it's no longer public.
1859         * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
1860         * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
1862 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1864         * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
1866 2006-10-19  Eric Blake  <ebb9@byu.net>
1868         * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
1869         (m4_maketemp): Avoid warnings with M4 1.9a.
1870         * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
1871         m4_mkstemp.
1872         * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
1873         * NEWS: Likewise.
1875 2006-10-16  Eric Blake  <ebb9@byu.net>
1877         * doc/autoconf.texi (Setting Output Variables): Fix typo.
1879         * bin/autoconf.as (version): Reword to match GNU Coding
1880         Standards.
1881         * bin/autoheader.in (version): Likewise.
1882         * bin/autom4te.in (version): Likewise.
1883         * bin/autoreconf.in (version): Likewise.
1884         * bin/autoscan.in (version): Likewise.
1885         * bin/autoupdate.in (version): Likewise.
1886         * bin/ifnames.in (version): Likewise.
1888 2006-10-14  Stepan Kasal  <kasal@ucw.cz>
1890         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
1891         looking for special shell characters.
1892         * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
1893         macro defined by AS_VAR_PUSHDEF before passing it as a
1894         parameter.
1895         * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
1896         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
1897         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
1898         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
1899         (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
1900         Likewise.
1901         * lib/autotest/general.m4 (AT_INIT): Quote parameters of
1902         AS_VAR_* properly.
1903         * tests/m4sh.at (AS_LITERAL_IF): New test.
1905 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
1907         (Imported from Automake.)
1908         * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
1909         which incorrectly sets the mode of an existing destination
1910         directory.  In some cases the unpatched install-sh could do the
1911         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
1912         system.  We hope this is rare in practice, but it's clearly worth
1913         fixing.  Problem reported by Alex Unleashed in
1914         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
1915         Also, don't bother to check for -m bugs unless we're using -m;
1916         suggested by Stepan Kasal.
1918 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
1920         Import this change from Automake:
1922         2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
1923         * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
1924         is enabled by default with gnu and gnits strictness.
1925         Report from Bruno Haible.
1927         2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
1928         * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
1929         gnu and gnits modes.
1931         Import this change from Config:
1933         2006-09-20  Ben Elliston  <bje@gnu.org>
1934         * build-aux/config.sub (score, score-*): New.
1936         Import this change from Gnulib:
1938         2006-09-16  Karl Berry  <karl@gnu.org>
1939         * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
1940         to avoid sectioning errors.
1942         Import these changes from Texinfo:
1944         2006-10-04  Karl Berry  <karl@gnu.org>
1945         * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
1946         (\quoteexpand): rename to \rquoteexpand.
1947         (\codequoteleft): new def, to look for @set codequotebacktick.
1948         (\lquoteexpand, \quoteexpand): new defs.
1949         (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
1950         (\code): must use new \...Char values, since now ` is active.
1952         2006-08-26  Karl Berry  <karl@gnu.org>
1953         * build-aux/texinfo.tex (\textdegree): New command.
1955         2006-08-12  Karl Berry  <karl@gnu.org>
1956         * build-aux/texinfo.tex (error \box0): smaller font.
1958 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1960         * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
1962 2006-10-13  Stepan Kasal  <kasal@ucw.cz>
1964         * doc/autoconf.texi (Autoheader Macros): Warn that the text
1965         added to the template can get mangled.
1967 2006-10-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1969         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
1970         include the default headers, and redefine obstack_chunk_alloc
1971         and obstack_chunk_free.  Fixes false failure with glibc.
1973 2006-10-12  Paul Eggert  <eggert@cs.ucla.edu>
1975         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
1976         for backward compatibility with Libtool 1.5.22.  Problem reported
1977         by Ralf Wildenhues.
1979 2006-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1981         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
1982         AC_PROG_CC.
1983         Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
1985 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
1987         * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
1988         the NonStop platform.
1989         * doc/autoconf.texi (Posix Variants): Likewise.
1990         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
1992         * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
1993         (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
1994         (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
1995         Use a better substitute, by inspecting the output of "ls"
1996         rather than just using ":".
1997         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
1998         rather than AS_EXECUTABLE_P, since we needn't worry about
1999         non-regular files here.
2001         * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
2002         due to configuration hassles with this.  See Tonya Underwood's report
2003         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
2004         * doc/autoconf.texi (Special Shell Variables): Likewise.
2006 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
2007             Stepan Kasal  <kasal@ucw.cz>
2009         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
2010         (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
2012 2006-10-11  Stepan Kasal  <kasal@ucw.cz>
2014         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
2015           initialization which is not inherited through the environment
2016         (_AS_BOURNE_COMPATIBLE): ... to this new macro.
2017         (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
2019 2006-10-09  Paul Eggert  <eggert@cs.ucla.edu>
2021         * doc/autoconf.texi (Limitations of Usual Tools): Describe
2022         problems with mkdir -p -m.
2024 2006-10-06  Paul Eggert  <eggert@cs.ucla.edu>
2026         * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
2027         comment about ac_cpp_err; it was incorrect, and anyway
2028         ac_cpp_err is being removed below.
2029         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
2030         set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
2031         are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
2032         nobody uses it.
2033         (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
2034         with werror_flag and conftest.err and so forth.  This is more
2035         compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
2036         and anyway the user shouldn't normally want to see this gorp logged.
2037         Problem reported by Ralf Wildenhues.
2038         * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
2039         empty, not 'no', since the rest of the code uses 'test -z'.
2041 2006-10-04  Paul Eggert  <eggert@cs.ucla.edu>
2043         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2044         Use a single call to AC_DO_TOKENS rather than multiple, for
2045         efficiency.
2046         (_AC_LINK_IFELSE): Test that resulting file is executable.
2047         Problem reported by mwoehlke in
2048         <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
2050         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
2051         than creating a file to use with test -x; this is much faster.
2053 2006-10-02  Bruno Haible  <bruno@clisp.org>
2055         * lib/autom4te.in (Automake-preselections): Add
2056         AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
2058 2006-09-27  Stepan Kasal  <kasal@ucw.cz>
2060         * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
2061         standard error, `experr' should be used, not `expout'.
2063 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
2065         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
2066         fseeko testing program twice; just use the earlier result.
2067         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2068         Set cache var to 'unknown' (not 'no') if leaving the macro unset
2069         still doesn't let the program compile.
2070         (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
2071         failed.
2073         * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
2074         (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
2075         include it, without including anything else.
2076         (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
2077         expressions.
2078         (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
2080 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2082         * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
2083         `error.h', and include it, for a `error_at_line' prototype.
2084         Use a nonempty format string in the link test.
2085         * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
2086         for a declaration of wait3.
2088 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
2090         * NEWS: AC_CHECK_DECL now also works with aggregate objects.
2091         * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
2092         can apply to constants too, and that it checks for macro defns.
2093         * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
2094         and simply cast the identifier to void.  This handles structure
2095         values.  Problem reported by Ralf Wildenhues.
2096         * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
2098 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2100         * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
2101         structure, and function symbols.
2103 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2105         * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
2106         member.
2108 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
2110         * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
2111         * README: Likewise.
2112         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2114 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
2115         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2117         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
2118         warnings (uninitialized value).
2119         (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
2120         present.
2121         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
2122         parentheses.
2123         (AC_STRUCT_TM): Likewise, avoid unused variables.
2125 2006-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2127         * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
2128         (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
2129         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
2130         * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
2131         Report by Olly Betts.
2133 2006-09-19  Eric Blake  <ebb9@byu.net>
2135         * m4/m4.m4: Change copyright.
2136         * configure: Regenerate.
2137         * Makefile.in: Likewise.
2138         * bin/Makefile.in: Likewise.
2139         * doc/Makefile.in: Likewise.
2140         * lib/Makefile.in: Likewise.
2141         * lib/Autom4te/Makefile.in: Likewise.
2142         * lib/autoconf/Makefile.in: Likewise.
2143         * lib/autoscan/Makefile.in: Likewise.
2144         * lib/autotest/Makefile.in: Likewise.
2145         * lib/emacs/Makefile.in: Likewise.
2146         * lib/m4sugar/Makefile.in: Likewise.
2147         * man/Makefile.in: Likewise.
2148         * tests/Makefile.in: Likewise.
2150         * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
2151         * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
2152         * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
2153         --error-output, to avoid warnings with M4 2.0.
2155 2006-09-19  Stepan Kasal  <kasal@ucw.cz>
2157         * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
2158           consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
2159         * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
2161 2006-09-15  Stepan Kasal  <kasal@ucw.cz>
2163         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
2164         expansion of AC_CHECK_FUNCS.
2166 2006-09-14  Stepan Kasal  <kasal@ucw.cz>
2168         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
2169         mistaken comment: the path has to be relative; do not use
2170         the path at runtime.
2172 2006-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2174         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
2175         argument to `--prefix' for sub-configure scripts.
2176         Pass `--silent' to sub-configure scripts.
2177         * tests/torture.at (Configuring subdirectories): Add tests
2178         for both changes.
2179         * doc/autoconf.texi (Setting Output Variables): Fix example to
2180         not show `--silent' being passed to a `configure' re-run.
2182 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
2184         * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
2185         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
2186         for the existence of the directory at configure-time.  That's
2187         too late, anyway.  Problem reported by Stefan Seefeld.
2189         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
2190         7.1.4 /usr/bin/posix/sh described by Tim Rice in
2191         <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
2193 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
2195         * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
2196         works with GNU M4 1.4.3 again; make the normalized form
2197         match the current m4 message; fix the description.
2198         * test/tools.at (autom4te cache): Adapt to the change.
2200 2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
2202         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):  Add year_2050_test
2203         to catch glibc bug 2821
2204         <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
2206         Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
2207         AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
2208         AC_CHECK_FUNCS.  Don't check for stdlib.h, since we now
2209         assume C89.
2211 2006-09-08  Stepan Kasal  <kasal@ucw.cz>
2213         * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
2214         preselections ...
2215         (Autoconf): ... here.
2216         (Autoscan-preselections): Delete.
2218 2006-09-07  Stepan Kasal  <kasal@ucw.cz>
2220         * lib/autom4te.in (Automake-preselections): Preselect
2221         AM_ENABLE_MULTILIB.
2223 2006-09-05  Paul Eggert  <eggert@cs.ucla.edu>
2225         * doc/autoconf.texi (Preset Output Variables): srcdir and
2226         top_srcdir are not necessarily relative.  Problem reported
2227         by Dries Kimpe.
2229 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2231         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
2232         f90/f95 because the latter drivers of AIX Fortran 9.1 do not
2233         accept files with extension `.f'.  For consistency, also prefer
2234         xlf over f77.
2235         * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
2236         from last patch.
2238 2006-09-05  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
2240         * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
2241         of ERLANG_LIB_VER_* variables.
2242         * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
2243         variables.
2245 2006-09-03  Paul Eggert  <eggert@cs.ucla.edu>
2246         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2248         * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
2249         bugs of Bash 2.01 and 2.05a.
2250         (Fortran Compiler): Document that AC_PROG_CC should be called
2251         before AC_PROG_FC, due to a bug in Autoconf.
2253 2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
2255         * NEWS: New macro AC_CACHE_CHECK_INT.  It replaces the
2256         old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
2257         except the first two arguments are reversed.
2258         * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
2259         (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
2260         caches nor outputs a diagnostic.  Suggested by Bruno Haible.
2261         * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
2262         equivalent to the old AC_COMPUTE_INT.
2263         (AC_COMPUTE_INT): No longer caches or reports.  New signature.
2264         All uses changed to AC_CACHE_CHECK_INT.
2265         * tests/base.at (AC_CACHE_CHECK_INT): New test.
2266         * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
2268 2006-08-31  Paul Eggert  <eggert@cs.ucla.edu>
2270         * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
2271         and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
2272         programs should use their Gnulib counterparts.
2273         * doc/autoconf.texi (Particular Functions): Likewise.
2274         (Macro Names, testsuite Invocation): Replace uses of these
2275         obsolete macros with uses of non-obsolete macros.
2277 2006-08-29  Eric Blake  <ebb9@byu.net>
2279         * configure.ac (AC_INIT): Bump to 2.60b.
2280         * NEWS: Update.
2282 2006-08-28  Eric Blake  <ebb9@byu.net>
2284         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
2285         mistakenly swapped on 2006-08-15.
2287 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
2289         * NEWS: Version 2.60a.
2291 2006-08-25  Stepan Kasal  <kasal@ucw.cz>
2293         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
2294         file created by the PGI compiler.
2296 2006-08-25  Noah Misch  <noah@cs.caltech.edu>
2298         * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
2299         simplify the code.
2301 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
2303         Fix Lex library problem reported to us by Julio Garvia.
2304         * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
2305         for the default, which the user can override.
2306         * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
2307         deal with LEXLIB.
2308         (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
2309         didn't work if some values were cached but not others.  Test for
2310         broken lex libraries like native ia64-hp-hpux11.22; see
2311         <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
2312         work around the problem by preferring an empty LEXLIB to -lfl or
2313         -ll.  Let the user set LEXLIB='' to indicate no library needed.
2315         * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
2316         * README: Likewise.
2317         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2319 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
2321         Rework to use more-modern build style.
2322         Many files are renamed; all uses of their names were changed.
2323         * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
2324         * .x-sc_useless_cpp_parens: New file.
2325         * build-aux/config.guess: Renamed from config/config.guess.  Update.
2326         * build-aux/config.sub: Renamed from config/config.sub.  Update.
2327         * build-aux/elisp-comp: Renamed from config/elisp-comp.
2328         * build-aux/install-sh: Renamed from config/install-sh.  Update.
2329         * build-aux/mdate-sh: Renamed from config/mdate-sh.
2330         * build-aux/missing: Renamed from config/missing.
2331         * build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
2332         * build-aux/vc-list-files: Renamed from config/vc-list-files.
2333         * config/Makefile.am: Removed.
2334         * config/mkinstalldirs: Removed.
2335         * config/move-if-change: Removed.
2336         * m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
2337         * Makefile.am (SUBDIRS): Remove config.
2338         (ACLOCAL_AMFLAGS): Include from m4, not config.
2339         (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
2340         (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
2341         (autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
2342         Fail if there's an error.
2343         * Makefile.cfg (move_if_change): Remove.
2344         (wget_files): Remove.
2345         (cvs_executable_files): New macro.
2346         (cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
2347         (executable-update): Use $(cvs_executable_files).
2348         (local-checks-to-skip): Remove.
2349         * Makefile.maint: Merge from coreutils, plus add our own changes
2350         (gzip_rsyncable): New macro.
2351         (GZIP_ENV): Use it.
2352         (CVS_LIST): Use build-aux/vc-list-files.
2353         (VERSION_REGEXP): New macro.
2354         (local-checks-available): Add patch-check, $(syntax-check-rules),
2355         check-AUTHORS.
2356         (syntax-check-rules): Compute dynamically.
2357         (sc_cast_of_x_alloc_return_value): Work even if no source files.
2358         (sc_cast_of_alloca_return_value): Likewise.
2359         (sc_prohibit_atoi_atof): Simplify regexp.
2360         (sc_no_if_have_config_h, sc_require_config_h):
2361         (sc_prohibit_assert_without_use,
2362         (sc_obsolete_symbols): Check for O_NDELAY.
2363         (sc_texi_notab): Remove.
2364         (sc-changelog): Don't make an exception for '----' lines.
2365         (.re-list): Remove, so we don't have a junk file behind.
2366         (sc_system_h_headers): Remove the need for .re-list.
2367         (sc_the_the):  New rule.
2368         (sc_tight_scope): Simplify.
2369         (sc_trailing_blank): Renamed from sc_trailing_space.
2370         (longopt_re): New macro.
2371         (sc_two_space_separator_in_usage): New rule.
2372         (sc_unmarked_diagnostics): Look at all files under CVS.
2373         (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
2374         (news-date-check, changelog-check): Version is OK.
2375         (po-check): Look for lib files even if not in CVS.
2376         (copyright-check): Use $() not ``.
2377         (maintainer-distcheck): Do not depend on changelog-check.
2378         (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
2379         Also check for -Wpointer-arith.
2380         (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
2381         (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
2382         Remove.
2383         (announcement): Add --gpg-key-id arg.
2384         (cvs-sv): Remove.
2385         (move_if_change): Just use mv.
2386         (local_updates: Remove wget-update, po-update.
2387         (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
2388         (config.guess-url_prefix, config.sub-url_prefix): Remove.
2389         (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
2390         (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
2391         ($(get-targets)): Remove.
2392         (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
2393         (gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
2394         (cvs-update): Get from gnulib.
2395         (emut_upload_commands): gnupload is in build-aux now.
2396         (alpha beta major): Add changelog-check.  Check version.
2397         * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
2398         (AC_CONFIG_FILES): Remove.
2399         * bin/autoconf.as: Add spaces to avoid distcheck warning.
2400         * config/announce-gen: Sync from coreutils.
2401         * doc/make-stds.texi: Sync from gnulib.
2402         * doc/standards.texi: Likewise.
2403         * man/Makefile.am: Adjust for config -> build-aux renaming.
2404         * tests/Makefile.am: Prefer $(FOO) to @FOO@.
2405         * tests/local.at: Adjust from config -> build-aux renaming.
2406         * tests/tools.at: Likewise.
2407         * tests/torture.at: Likewise.
2409         * NEWS: The C99 check now tests for vararg macros and 64-bit
2410         preprocessor ints.
2411         * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
2412         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
2413         64-bit preprocessor ints.  Check for static initialization of
2414         long long.  Remove unnecessary casts.
2416 2006-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2418         * doc/autoconf.texi (Particular Programs): Mention that
2419         @INSTALL@ and @MKDIR_P@ may vary for different output files.
2420         Reported by Alexandre Duret-Lutz.
2422 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
2424         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
2425         -lgcc?* and -lSystem, for Darwin/MacOS X.  Problem reported by
2426         Bill Northcott in
2427         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
2429 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
2431         * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
2432         pacify insanely picky compilers.  Problem reported by Eric Blake.
2434         * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
2435         longer supported by Sun.
2437 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
2439         * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
2440         rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
2441         -Wundef -Werror".  Problem reported by David Fang in
2442         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
2443         * doc/autoconf.texi (Header Templates, Default Includes):
2444         (Particular Functions, Generic Functions, Header Portability):
2445         (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
2446         (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
2447         (Present But Cannot Be Compiled, Preprocessor Symbol Index):
2448         Prefer #ifdef to #if.
2449         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
2450         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
2451         (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2452         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
2453         Likewise.
2454         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2455         (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
2456         * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
2457         (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2458         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
2459         S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
2460         this.
2462 2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
2464         * doc/autoconf.texi (Limitations of Usual Tools): Document sed
2465         problems with arg script text that doesn't end in newline, and
2466         with '-e a...'.  Problems reported by Ralf Wildenhues.
2468 2006-08-12  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
2470         * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
2471         check for libXt by a check for libX11.
2473 2006-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2475         * doc/autoconf.texi (config.status Invocation): Adjust according
2476         to last change.
2478 2006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2480         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
2481         --help' should mention that `--version' outputs configuration
2482         settings.  Report by Bruno Haible.
2484 2006-08-06  Paul Eggert  <eggert@cs.ucla.edu>
2486         Fix test suite failures reported by Pierre in
2487         <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
2488         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
2489         the compiler created a file "b.out" when it didn't create anything
2490         at all.
2491         * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
2492         Discard stderr too, when invoking the test script.
2494 2006-08-05  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
2496         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
2497         in the restoring of the werror flag.
2499 2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
2501         * doc/autoconf.texi (Volatile Objects): Be even a little
2502         less skeptical about "volatile", after discussion with
2503         Bruno Haible on bug-gnulib.
2504         (Limitations of Usual Tools): Warn about sed stripping
2505         leading white space from text.  From Bruno Haible.
2507 2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
2509         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
2510         compiler complains about it, even if things works after the
2511         complaint.  Problem reported by Peter O'Gorman.
2513         * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
2514         CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
2515         Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
2517 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
2519         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
2520         after -R regardless of host.  Patrick Welche reports that this
2521         fixes things on NetBSD 3.99.
2523         * NEWS: Recommend M4 1.4.5.
2524         * README: Likewise.
2525         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2526         * tests/tools.at (autom4te cache): Update wording of diagnostic
2527         to match M4 1.4.5.
2529 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
2531         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
2532         under AC_C_VOLATILE.
2533         (Volatile Objects): Be a little less skeptical about what
2534         "volatile" means.  Derived from thoughts by Ben Pfaff in
2535         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
2537 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2539         * doc/autoconf.texi: Fix some typos.
2541 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
2543         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2544         more globally, since the 2006-06-30 patch didn't suffice.  Problem
2545         reported by Keith Marshall.  Also, don't bother with builddir2,
2546         since it shouldn't be needed any more.
2548 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
2550         * doc/autoconf.texi (Generic compiler characteristics):
2551         Document AC_COMPUTE_INT.  Fix wrong statements on Default
2552         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
2554         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
2555         (_AC_COMPUTE_INT): Add obsoletion warnings.
2556         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
2557         AC_COMPUTE_INT.
2559         * NEWS: Document change.
2561 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
2563         * doc/autoconf.texi (Volatile Objects): New section.
2565         * NEWS: Document previous change.
2567 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
2569         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
2570         Require that long long int be at least 64 bits wide.  C99 requires
2571         this and enough programs depend on it so we should check for it.
2572         Bruno Haible reports in
2573         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
2574         that long long int is 32 bits wide with some nonstandard compilers.
2575         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
2577 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
2579         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2580         to a nonexistent file, so that we don't have to worry about
2581         a local site configuration that doesn't use /usr/local.
2582         Problem reported by Keith Marshall in
2583         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
2585 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2587         * doc/autoconf.texi: Be more consistent about using @acronym with
2588         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
2589         quite right (it talked about "OSF/Tru64", even though the
2590         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
2591         and it even mentioned "OSF 4"!) and at this point there's little
2592         reason to talk about OSF any more, since it died in 1994.
2593         (Specific Compiler Characteristics): Simplify example of
2594         negative-size array.
2595         (File Descriptors): Reorder to make the text flow better.
2596         Remove joke about "appreciate the various levels"; I didn't get it.
2597         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
2598         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
2599         (File Descriptors, Limitations of Usual Tools):
2600         Tone down the advice against renaming or removing open files.
2601         (Limitations of Usual Tools): Add a new section, on 'rm'.
2603 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
2605         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
2606         -lXt in LIBS, idea from Karsten Hopp; this was due since
2607         this change:
2609         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
2610         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2611         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2612         (which belong to Xt, not X itself).  See Debian bug 327655.
2614 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2616         * configure.ac (AC_INIT): Bump to 2.60a.
2617         * NEWS: Update.
2619 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2621         Version 2.60.
2623         * configure.ac, NEWS: Update.
2625 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2627         * config/texinfo.tex: Sync from upstream.
2629         * bin/autom4te.in (handle_traces): Transform the `@S|@'
2630         quadrigraph correctly in traces.
2632         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
2633         Fix typos.
2635         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
2636         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
2637         not defined.
2638         * doc/autoconf.texi (Changed Directory Variables): New node,
2639         to document the whole `datarootdir' business a bit better.
2640         * NEWS: Update.
2641         * tests/torture.at (datarootdir workaround): Extend test.
2642         Prompted by report by Alexandre Julliard.
2644 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
2646         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
2647         when using default mode of IBM C 6 for AIX.  Problem and two-line
2648         fix reported by Larry Jones.
2650 2006-06-22  Alexandre Julliard <julliard@winehq.org>
2652         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
2653         about literal '${datarootdir}' if a definition is found in the
2654         output file.
2656 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
2658         * NEWS: Use "M4" rather than "m4" when appropriate.
2659         Problem reported by Eric Blake.
2660         * doc/autoconf.texi: Likewise.
2661         Use @acronym around BSD, GCC, and GNU when appropriate.
2662         (Why GNU M4): Renamed from "Why GNU m4".
2663         (Redefined M4 Macros): Mention that Posix
2664         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
2665         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
2666         to int.
2668 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2670         * bin/autom4te.in (handle_output): Do not forbid the empty
2671         pattern.
2672         * tests/tools.at (autoconf: the empty token): New test.
2674 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
2676         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
2677         calls, so that we do not care whether they are LIFO or FIFO;
2678         in the m4_wrap, do not check which diversion is the topmost
2679         one, just check that the stack is balanced at the end.
2680         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
2681         base diversion forever--pop the previous diversion before
2682         opening the new one; consequently, remove the m4_wrap call.
2683         * lib/autotest/general.m4 (AT_INIT): Likewise.
2684         * tests/m4sugar.at: Do not use
2685         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
2687 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
2688         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2690         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
2691         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
2692         Rework example of m4wrap token-pasting trouble so that it doesn't
2693         care whether it's LIFO or FIFO.
2694         Fix some "contrary to"s that are awkward in English.
2696 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2698         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
2699         to `yes' instead of `int$1_t' if the type is found, for more
2700         consistent configure output (where $1 is the number of bits).
2701         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
2702         Suggested by Bruno Haible.
2704         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
2705         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
2706         with system headers.  Report by Bruno Haible.
2708 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2710         * config/config.guess, config/config.sub: Sync from upstream.
2712         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
2713         in order to avoid picking up an older installed frozen m4sh.m4f.
2714         Besides an outdated shell startup, this could have been created
2715         by an earlier M4 version with incompatible frozen file format.
2717 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
2719         * README: Recommend m4 1.4.4 instead of 1.4.3..
2720         * doc/autoconf.texi: Likewise.
2721         (Special Chars in Names): Say that $(.FOO) is portable, as
2722         suggested by Stepan Kasal.
2723         (Installation Directory Variables, Build Directories):
2724         (Automatic Remaking, Subdirectories, Fortran Compiler):
2725         (Making testsuite Scripts, Defining Directories):
2726         Quote variable usages better.
2727         (Making testsuite Scripts): Add clean-local rule to makefile
2728         snippet, by Eric Blake.
2729         (Installation Directory Variables): Fix table item font.
2730         Reword slightly to clarify.  Generalize advice about
2731         not using special characters to include all file-related
2732         vars, not just VPATH.
2733         (Special Chars in Variables): Warn about special characters in
2734         $(srcdir) too.
2735         (Assignments): Clarify default-value example as suggested by
2736         Ralf Wildenhues in
2737         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
2738         (Special Shell Variables): Note leading ./ or ../, as suggested
2739         by Eric Blake.
2740         (Limitations of Builtins): Under cd, warn about CDPATH.
2741         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
2742         Ralf Wildenhues.
2744 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2746         * doc/autoconf.texi (Configuration Actions): Remove duplicate
2747         `@var', for texi2html.
2748         (Systemology): Some more word wrapping, for DVI output.
2749         (autom4te Invocation): The short option for `--melt' is `-M',
2750         not `-m'.
2752 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
2754         * doc/autoconf.texi: More formatting and English tweaks,
2755         many suggested by Ralf Wildenhues.
2756         Reword to avoid "@code{...}'s" and the like, since it's ugly
2757         with Emacs info mode.  discontents -> woes.
2758         Put a few "will"s back.  time stamp -> timestamp.
2759         side-effect -> side effect.
2761 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
2763         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
2764         Warn about $@ not persisting.  Problem reported by Julien Danjou in
2765         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
2766         (Special Chars in Names): Renamed from Leading _ in Macro Names.
2767         Mention other special chars, too.
2769 2006-06-14  Eric Blake  <ebb9@byu.net>
2771         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
2773 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
2775         * doc/autoconf.texi: Some systematic minor improvements, as
2776         follows.  Use "makefile" when talking about makefiles
2777         generally (which might be named "makefile" or "Makefile" or even
2778         "foo.mk"), "Makefile" when talking about a specific makefile
2779         called "Makefile".  This unclutters the text from weird quotes
2780         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
2781         values" rather than "@var{foo}s" and similar constructs containing
2782         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
2783         English-language improvements.  Change the prefix "sub-" to "sub"
2784         and "re-" to "re".
2785         Put blank lines around examples more consistently.
2786         Avoid "rather" and "very" as intensifiers.
2787         Avoid "will" as an auxiliary.
2788         (Limitations of Make): Split this node into....
2789         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
2790         (Leading _ in Macro Names, Backslash-Newline-Newline):
2791         (Backslash-Newline Comments, Long Lines in Makefiles):
2792         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
2793         (obj/ and Make, make -k Status, VPATH and Make):
2794         (VPATH and Double-colon, $< in Explicit Rules):
2795         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
2796         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
2797         New nodes, resulting from splitup of Limitations of Make.
2798         All cross-references changed.  Raise the top node from
2799         a section to a chapter, and all subnodes accordingly.
2800         Redo the introductory wording to match the new organization.
2801         (Installation Directory Variables): Use an example that is
2802         closer to what Autoconf actually does.  Mention that VPATH's
2803         value should not contain metacharacters or white space.
2804         (Fortran Compiler): Fix a VPATH bug in an example.
2805         (Leading _ in Macro Names): Mention that this problem is no longer
2806         of practical concern.
2807         (VPATH and Make): Reword the advice to make it clearer
2808         that Autoconf and Automake support VPATH in non-GNU make, but
2809         many packages have bugs in this area.
2810         ($< in Explicit Rules): Refer to Build Directories rather
2811         than using a (non-VPATH-safe) example.
2812         (Automatic Rule Rewriting): Mention the sort of disaster that
2813         can ensue with Solaris-style rule rewriting with VPATH.
2815 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2817         * doc/install.texi (Compilers and Options): Weaken the
2818         suggestion to use GNU make for VPATH builds.
2820         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
2821         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
2823         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
2824         in regular expression.
2826 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2828         * doc/autoconf.texi (Installation Directory Variables):
2829         Drop extra @samp from `@table @samp' item.
2830         (Limitations of Usual Tools): Comment fix.
2831         Do not nest @samp just to point to other table items.
2832         (Writing testsuite.at) <AT_CHECK>: The second argument to
2833         `@dvar' is already @samp'ed.
2834         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
2835         do not use @var in the second argument.
2837 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
2839         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
2840         $as_shell.exe too.  Problem reported by Andreas Buening in
2841         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
2843 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2845         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
2846         `unused variable' compiler warning, for `-Wall -Werror'.
2847         Reported by Jaap Haitsma in
2848         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
2850 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
2852         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
2853         case the compiler dumps core.  Problem reported for
2854         OpenServer 5.0.7 by Tim Rice in
2855         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
2856         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2857         Likewise.
2859 2006-06-06  Tim Rice <tim@multitalents.net>.
2861         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
2862         "ERROR" only shows up in "make check" output if there is an
2863         error.
2865 2006-06-06  Eric Blake  <ebb9@byu.net>
2867         * tests/tools.at (automatically allowed tokens): Fix typo.
2869 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
2871         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
2873         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
2874         typically overflows on x86 CPUs, even though the C standard
2875         requires otherwise.
2877 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2879         * configure.ac (AC_INIT): Bump to 2.59e.
2880         * NEWS: Update.
2882 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2884         Version 2.59d.
2886         * config/texinfo.tex: Sync from upstream.
2888         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
2889         seen, invoke libtoolize with `--ltdl' argument.
2890         * lib/autom4te.in (Autoreconf-preselections): Adjust.
2891         * NEWS: Update.
2892         Suggested by Eric Blake.
2894 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
2896         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
2897         reported by Ralf Wildenhues.
2898         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
2900 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2902         * THANKS: Update.
2904 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
2906         * doc/autoconf.texi: Modernize some of the references to Solaris.
2908 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
2910         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
2911         message issued by AC_REQUIRE.
2912         * tests/m4sugar.at: Check m4_require's error message.
2913         * tests/base.at: Check AC_REQUIRE's error message.
2914         * tests/local.at (AT_CHECK_M4): New macro, almost identical
2915         to...
2916         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
2917         AT_CHECK_M4.
2918         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
2919         `expout' as the last parameter.
2920         * tests/tools.at: Adapt to the above change.
2922 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
2924         * doc/autoconf.texi (Limitations of Usual Tools): Correct
2925         information about race-free implementations of mkdir.
2927 2006-06-04  Eric Blake  <ebb9@byu.net>
2929         * bin/autoreconf.in (help): Document M4 environment variable.
2930         * bin/autoconf.as (Usage): Likewise.
2931         * bin/autom4te.in (help): Likewise.
2932         * doc/autoconf.texi (autom4te Invocation): Likewise.
2934 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
2936         * NEWS: GNU make now recommended for VPATH builds.
2937         Mention that some macros are now documented to be obsolescent.
2938         * doc/autoconf.texi:
2939         Prefer "current" to "modern" to describe
2940         currently-used (albeit perhaps old-fashioned) hosts.
2941         Mention which ancient features no longer need to be worried about.
2942         setgid -> set-group-ID
2943         setuid -> set-user-ID (these are the Posix terms)
2944         Fix some misuses of "only".
2945         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
2946         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
2947         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
2948         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
2949         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
2950         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
2951         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
2952         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
2953         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
2954         Mention that these macros are obsolescent.
2955         (Installation Directory Variables): shall -> should
2956         (File Descriptors): Mention that 0, 1, 2 might get reopened.
2957         Mention that it's now safe to use 3 and 4.
2958         (Limitations of Usual Tools): cp -r is now specified by Posix.
2959         Omit longwinded and obsolescent discussion of cp -f.
2960         Modernize discussion of expr, ls.
2961         (Limitations of Make): Modernize discussion of VPATH builds.
2962         Mention $? as a workaround in some cases.
2963         * doc/install.texi (Basic Installation):
2964         Mention "./configure; make; make install" first.  Be more
2965         specific about why this file is generic.  Remove unnecessary
2966         parens.  Remove misleading "only".  Remove obsolete advice
2967         about csh.  Don't say "configure" takes awhile; say it
2968         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
2969         and CC=c99 rather than CC=c89, as these are blessed by current
2970         Posix.  Recommend GNU make if doing a VPATH build.
2972 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
2974         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
2975         examples involving shell prompts.
2977 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
2978         and Paul Eggert  <eggert@cs.ucla.edu>
2980         * doc/autoconf.texi (Here-Documents): Add details about the
2981         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
2982         use "here-documents" instead of "here documents".
2984 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2986         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
2988 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
2990         * doc/autoconf.texi (File System Conventions): Warn about ":"
2991         anywhere in directory names.
2993 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
2995         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
2996         about quoting the case statement, just in case.
2997         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
2998         was fixed in ksh93g; reported by Ralf Wildenhues.
3000 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
3002         * doc/autoconf.texi (System Services): Do not document
3003         overriding EXEEXT via ac_cv_exeext=ext.
3004         (Particular Programs) <AC_PROG_MKDIR_P>:
3005         Document that ${MKDIR_P} understands --.
3006         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
3007         comment.
3009 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3011         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
3012         argument with leading hyphen.  Problem reported by Paul Eggert.
3014 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
3016         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
3017         about quoting ac_try: quote all of it, if any of it seems suspicious.
3018         This means we don't have to worry about ${ or sed any more.
3019         Also, double-quote the case statement, to work around misuses via
3020         underquoting as reported by Ralf Wildenhues in
3021         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
3022         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
3023         undocumented and dangerous macro.
3024         Problem reported by Ralf Wildenhues in
3025         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
3027 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3029         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
3030         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
3031         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
3033 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
3035         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
3036         since evidently some packages rely on the old, broken behavior.
3037         Problem reported by Ralf Wildenhues in
3038         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
3039         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
3040         pre-2006-05-26 definitions, but leave in the comments that
3041         these macros are dangerous and should not be used.
3042         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
3043         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
3044         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
3045         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
3046         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
3048 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
3050         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
3051         the use of 'tr', since this is our only use of 'tr'.
3053 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3054         and Paul Eggert  <eggert@cs.ucla.edu>
3056         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3057         Don't assume 'grep' works on long lines, since AIX grep doesn't.
3059 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3061         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
3062         the output file in the `${datarootdir}' test.
3064 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
3065         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3067         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
3068         mention of `datarootdir' in the input file(s), but literal
3069         `${datarootdir}' in the output file, and we haven't warned yet,
3070         then warn as well: the user may have (erroneously) used
3071         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
3072         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
3073         * tests/torture.at (datarootdir workaround): Extend this test.
3074         * NEWS: Update.
3076 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3077         and Paul Eggert  <eggert@cs.ucla.edu>
3079         * doc/autoconf.texi (autoheader Invocation): The first argument to
3080         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
3081         alternatives and clear up the language a bit.
3083 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
3085         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
3086         ac_config_guess, ac_config_sub, ac_configure.
3087         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3088         Fix typo that prevented an unnecessary space from being removed.
3089         Problems reported by Ralf Wildenhues in:
3090         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
3092 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
3094         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
3095         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
3096         Don't use the term "thread-safe" to talk about mkdir race
3097         conditions, since the problem is more a process than a thread
3098         issue.  Problem reported by Stepan Kasal in:
3099         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
3100         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
3101         the test for 'install' more closely.  Look at MKDIR_P first.
3102         Look in the PATH, and at /opt/sfw/bin.
3103         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
3104         Don't bother to try mkdir -p, since we already check mkdir --version;
3105         just look at the version number.  (There's no easy way to check
3106         for race-free implementations.)
3107         * tests/tools.at (autoconf: subdirectories): Adjust to above
3108         changes, since MKDIR_P now might end in "/mkdir -p".
3110         * doc/autoconf.texi (autoheader Invocation): Mention that the
3111         first arg of AC_DEFINE_UNQUOTED must be a literal.
3112         Problem reported by Ben Pfaff in
3113         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
3115         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
3116         * doc/autoconf.texi (Special Chars in Variables): New section.
3117         (Preset Output Variables): Warn about special chars in CPPFLAGS.
3118         (Installation Directory Variables): Quote $(datadir) better.
3119         (Limitations of Builtins): Describe some of eval's trickiness.
3121         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
3122         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
3123         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
3124         in front of every arg, not just trailing args.  Quote apostrophes.
3125         (_AC_EVAL_ECHO): New macro.
3126         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
3127         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
3128         removed.
3129         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
3130         exposed by quoting of eval argument.  Put the command on line line
3131         so it logs better.
3132         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
3133         (_AC_PATH_X, AC_PATH_X): Quote more safely.
3134         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
3135         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
3136         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
3137         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
3138         Use eval more safely.
3139         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
3140         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
3141         to be replaced.
3142         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
3143         lines, exposed by quoting of eval argument.
3145 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
3146         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3148         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
3149         initialization of `ac_cv_exeext', do not override it if it was
3150         already set, unless it was set to `no', for compatibility with
3151         Autoconf-2.13, and comment this.
3152         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
3153         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
3154         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
3155         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
3156         Document that this test may be overridden by setting
3157         `ac_cv_exeext'.
3159 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3161         Revert these two patches:
3163         2006-04-06  Eric Blake  <ebb9@byu.net>
3164         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3165         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
3166         2006-04-01.
3168         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3169         Clean up _AC_COMPILER_EXEEXT* macros.
3170         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3171           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3172           ac_file to the name of the default output file and call
3173           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
3174           initial `rm' of the candidate files...
3175         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
3176           the same list in subsequent `rm' calls, and for the temporary
3177           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3178           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3179         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3180         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3181           no longer needed) by libtool.  Make it a cache check.
3182         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3183           copied here by mistake.
3184         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3185           _AC_COMPILER_EXEEXT.
3186         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3187           _AC_COMPILER_OBJEXT directly.
3188         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3190 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3192         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
3193         Fix description of how the buggy `sed' works.
3195 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
3197         Sync from Automake:
3199         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
3200         ENOLCK.  Only mention `make -j' when applicable.  Only raise
3201         fatal errors when `make -j' is involved.  Improve error message.
3203 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3205         * doc/autoconf.texi (Here-Documents): We now know more about
3206         the variable expansion in here documents bug.
3207         Thanks to Tim Rice and Stepan Kasal.
3209         * doc/autoconf.texi (Making testsuite Scripts): Add an example
3210         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
3212 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3214         * tests/autotest.at (Multiline command from M4 expansion):
3215         No failure to be expected if the shell quotes newlines in
3216         commands in the `set -x' output.  Report by Tim Rice.
3217         * THANKS: Update.
3219 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
3221         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
3222         expansion in the here-documents used by config.status, as that
3223         runs afoul of the Korn shell version M-12/28/93d bug described in
3224         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
3225         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
3226         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
3228 2006-05-23  Jim Meyering  <jim@meyering.net>
3230         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
3231         Fix typo introduced with 2006-04-02 change.  It reversed the sense
3232         of the test.
3234 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
3236         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
3237         ac_dB slightly, to save bytes in the script.
3238         Max out at 50 lines, rather than 96; this is more likely
3239         (though not guaranteed) to avoid obscure 'sed' failures.
3241 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3243         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
3244         `tr -d -' as bad option argument.  Work around this by deleting
3245         an unrelated character.
3246         Report by Tim Rice <tim@multitalents.net>.
3248 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
3249             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
3250             Stepan Kasal  <kasal@ucw.cz>
3252         * doc/autoconf.texi (Particular Programs): Do not promise that
3253         we always prefer the GNU version of the program, and that we
3254         search according to PATH; both rules can have exceptions.
3255         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
3256         AC_PROG_SED.  Move descriptions of limitations
3257         to the Limitations of Usual Tools section.
3258         (Limitations of Usual Tools) <sed>: Mention script length
3259         limitations with Solaris /usr/ucb/sed.
3260         <grep>: Fix wording for empty alternative.  Mention that -c and
3261         -l should not be combined, and that -E and -F should not be
3262         combined.
3264 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3265         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3267         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
3268         limits in Solaris 8 /usr/ucb/sed by testing a long script.
3270 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
3272         * doc/autoconf.texi (Defining Symbols): Literal parameter of
3273         AC_DEFINE is now passed to m4_pattern_allow.
3274         * NEWS: Mention that; likewise for AC_SUBST.
3275         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
3276         the parameter to m4_pattern_allow.
3277         * tests/tools.at: Add a check for that.
3279 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
3281         * lib/autoconf/status.m4: Fix typos.
3283 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3285         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3286         only the files that this macro generates.
3288 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3290         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
3291         the HP-UX sed limitation of 99 commands, labels do not count.
3292         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
3293         in the comment.
3294         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
3296 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3298         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
3299         Import the following fix from coreutils:
3301         2006-01-13  Jim Meyering  <jim@meyering.net>
3303         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
3304         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
3305         not double-quote uses of that variable, to accommodate the rare
3306         case in which getmntent is available in none of the libraries
3307         checked.  This happens at least on FreeBSD 5.0.
3309 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
3311         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
3312         ac_config_guess, ac_config_sub, and ac_configure, since evidently
3313         some other programs unwisely rely on these undocumented vars.
3314         But put in warning comments about them.
3315         Problem reported by Ralf Wildenhues in
3316         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
3317         * NEWS: Document that these variables are intended to go away.
3319 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3321         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
3322         and set the language to C++ (analogous to the equivalent Fortran
3323         tests).
3325         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
3326         * doc/autoconf.texi (C++ Compiler): Document it.
3327         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
3328         * NEWS: Update.
3330 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3332         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
3333         that caused config.status to generate 100-command sed scripts; the
3334         portable limit is 99.
3336 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3338         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
3339         variable `ac_d' instead of `d' to avoid infringing namespace.
3340         Report by Ralf Menzel.
3342 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
3344         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
3345         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
3346         * tests/tools.at (autoconf: subdirectories): New test, taken from
3347         the corresponding problem report by Ralf Wildenhues in:
3348         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
3350         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
3351         Quote some uses of shell variables if they might suffer unexpected
3352         globbing.  This doesn't fix all instances of quoting problems that
3353         I found, just the easy ones that look safe.
3354         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
3355         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
3356         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
3357         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
3358         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
3359         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3360         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
3361         Likewise.
3362         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
3363         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
3365 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3367         * bin/autoreconf.in ($help): Reword according to the manual.
3368         Suggested by Olly Betts.
3370 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
3371         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3373         * bin/autoreconf.in: Pass the directory argument to
3374         `require_configure_ac'.  Fix comment.
3375         * tests/torture.at (Configuring subdirectories): Expose this.
3376         Reported by Olly Betts.
3378 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3380         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
3381         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
3382         Automake as follows:
3384         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
3385         `$configure_in' instead of `configure.in', to preserve
3386         directory component.
3388 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3390         * config/config.guess, config/config.sub, config/texinfo.tex,
3391         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
3393 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
3395         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
3396         test for C99 conformance; (bool) 0.5 is an integer constant
3397         expression, but (bool) -0.5 is not.  Problem reported by Fedor
3398         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
3400 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
3402         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
3403         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
3404         Warn about obsolete install-sh files.  Remove stray sentence
3405         fragment and fix cross reference.
3406         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
3407         install -d; this undoes the 2006-05-10 change.
3408         (MKDIR_P): Mark with AN_MAKEVAR.
3409         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
3410         that we don't require $INSTALL to be thread-safe.  Move comments
3411         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
3412         of AC_PROG_INSTALL.  Output a message saying that we're checking
3413         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
3414         MKDIR_P instead of AC_SUBST.
3415         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
3416         Special magic for MKDIR_P, too.
3417         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
3418         a dnl.
3419         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
3421 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
3423         Sync from Automake, as follows:
3425         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3426         * config/install-sh: Initialize IFS, so field splitting isn't
3427         turned off later.
3428         * config/mkinstalldirs: Likewise.
3429         * config/missing: Remove superfluous quotes.  Replace all uses of
3430         `[' by `test', for consistency, and for..
3431         * config/missing (sed_minuso, sed_output): New variables.
3432         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
3433         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
3434         Fixes `missing' to detect `--output' for help2man.  Fixes
3435         PR automake/483.  Report by Dennis J. Linse.
3436         (autom4te): Document in `missing --help'.
3438 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3440         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
3441         * config/install-sh: Don't use 'path' to talk about file names,
3442         as per GNU coding standards.  Close a race condition reported by Ralf
3443         Wildenhues and Stepan Kasal.  There is still a race condition
3444         on hosts that predate Posix 1003.1-1992, but we can't help this.
3445         Don't mishandle weird characters like space on pre-Posix hosts.
3446         Invoke mkdir at most once per dir arg on pre-Posix hosts.
3447         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
3448         AC_PROG_MKDIR_P from AS_MKDIR_P.
3449         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
3450         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
3451         earlier editions are not (including Automake 1.8.3).
3452         Do not suggest mkinstalldirs for thread-safety.
3453         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
3454         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
3455         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
3456         presence of special characters and race conditions.
3457         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
3458         in Autoconf's name space.
3460 2006-05-10  Bruno Haible  <bruno@clisp.org>
3461         and Paul Eggert  <eggert@cs.ucla.edu>
3463         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
3464         from Automake with minor changes.
3465         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
3467 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3469         * config/install-sh: Update to Automake CVS version, as follows:
3470         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
3471         * lib/install-sh: Simplify the expr implementation of dirname.
3472         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
3473         * lib/install-sh: Handle --, and diagnose unknown options.
3475 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3477         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
3478         `./autom4te' to create `./testsuite', since the `all' target
3479         will ensure its presence, but `installcheck' should not create
3480         the uninstalled wrappers.
3482         * tests/torture.at (Unusual Automake input files): Skip if we
3483         detect automake < 1.8.
3485 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3487         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
3488         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
3489         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
3490         * NEWS: Update.
3492 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3494         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
3495         munge (multiple) white space and other oddities.
3496         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
3497         single quotes in variable assignment.
3498         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
3499         and similar failures by adding multiple spaces, tabs, and other
3500         special characters.
3501         Report and different test suggested by Francesco Romani
3502         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
3504         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
3505         single quotes, we only need to search for single quotes; this
3506         both simplifies the search pattern, and makes us less
3507         susceptible to `echo' variations for arguments not containing
3508         single quotes.
3509         (_AC_ARG_VAR_VALIDATE): Likewise.
3511 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3513         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
3514         `$*' and IFS concatenation issue with traditional shells and
3515         bash-2.04.  Report by Seanster@Seanster.com.
3517 2006-05-03  Bruno Haible  <bruno@clisp.org>
3519         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
3520         precisely which Mac OS X versions have the od problem.
3522 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
3524         * doc/autoconf.texi: Use @option systematically.
3526 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
3527         and Bruno Haible  <bruno@clisp.org>
3529         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
3530         about 'od'.
3531         (Integer Overflow): Mention the special case of integer division
3532         overflow.
3534 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3536         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
3537         traditional shells like the Solaris one that do not use the
3538         first IFS character for assembling `$*'.
3539         Prompted by a related report from autoconf_bug@nro.ca.
3541 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
3542         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3544         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
3545         Mention more problems with the -e option.
3547 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3549         * NEWS: Typo.
3550         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
3552         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
3553         in URLs to improve DVI formatted output (requires texinfo 4.6).
3554         (System Services, Systemology, Shellology): Likewise.
3555         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
3556         output.
3558         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
3559         continuous text.
3560         (Runtime): Fix macro argument names to match description:
3561         `action-if-found' -> `action-if-true' and similarly.
3562         (Obsolete Macros): Likewise.
3563         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
3564         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
3565         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
3567 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3569         * doc/autoconf.texi (Limitations of Make): Clean up markup.
3571         * ChangeLog: Typo.
3572         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
3573         DVI output.
3575 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3577         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
3578         /bin/sh set unsorted output.
3579         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
3580         * tests/local.at: Likewise.
3582 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
3584         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
3585         (Integer Overflow, Null Pointers, Buffer Overruns):
3586         (Floating Point Portability, Exiting Portably): New sections.
3587         (Writing Test Programs): Fix some langauge.  Recommend exiting
3588         with status 1, not merely nonzero.  Clarify exit declaration.
3589         (Run Time): Move C exit status stuff to new Exiting Portably section.
3590         (Systemology): Mention Posix and levenez.  Update v7 reference.
3591         (Portable Shell): Mention the Posix shell.
3593 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
3595         * bin/autoconf.as (me): Replace by as_me.
3597 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
3599         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
3600         since as_me isn't set yet.
3602 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
3604         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
3605         a few minor bugs in this area.
3607         * doc/autoconf.texi (Programming in M4sh): Comment out the
3608         documentation of AS_BASENAME, for now.
3609         (Shell Substitutions): Do not use AS_DIRNAME in an example.
3610         (Limitations of Builtins) <basename>: Do not refer to
3611         AS_BASENAME.
3612         * bin/autoconf.as (me): Don't use AS_BASENAME.
3613         (dir): Remove the unused variable.
3614         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
3615         AS_DETECT_REQUIRED.  All uses changed.
3616         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
3617         All uses changed.
3618         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
3619         (AS_BASENAME): Use "basename --" to protect against leading "-".
3620         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
3621         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
3622         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
3623         (_AS_DIRNAME_PREPARE): Likewise.
3624         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
3625         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
3626         (AS_DIRNAME): Use "dirname --".
3628 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
3630         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
3631         of "run time" and "run-time" changed to "runtime", for consistency.
3632         * lib/autoconf/fortran.m4: Likewise (in comment).
3633         * lib/autoconf/functions.m4: Likewise.
3634         * lib/autoconf/general.m4: Likewise.
3635         * lib/autoconf/headers.m4: Likewise.
3637         * doc/autoconf.texi (Run Time): Document the exit status situation
3638         with more accuracy and detail.
3640 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3642         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
3643         Archive is not officially `GNU' any more.  Update URL.
3644         (Defining Directories): Likewise
3645         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
3647 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3649         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
3650         newline from the `trap' code to finish `config.log'; the NetBSD
3651         /bin/sh resets the exit status after an empty command, as
3652         documented in doc/autoconf.texi.
3653         Reported by Dalibor Topic <robilad@kaffe.org>.
3655 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3657         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
3658         Suggested by Bruno Haible.
3660 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
3662         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
3663         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
3664         Instead, just list the shells that we know work.
3665         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
3666         changed.  Be more cautious about the _cv_ variable.
3667         * tests/tools.at (Syntax of the shell scripts): Check the
3668         _cv_ variable once, at first, to avoid an internal autoconf error
3669         when sh -n does not work.
3671 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3673         * lib/Autom4te/FileUtils.pm: Sync from Automake.
3675 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
3677         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
3678         use ">&-" since we're only 99.999% sure that this is portable,
3679         and since the MinGW bug is fixed in a different way.
3680         * lib/autotest/general.m4 (AT_INIT): Likewise.
3682 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
3684         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
3685         before opening config.log, to avoid hitting a bug on MinGW.
3687 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
3689         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
3690         AS_MESSAGE_LOG_FD before reopening it onto the log file.
3691         This works around a MinGW bug reported by Eric Paire.
3692         Make sure that all writes to the log file append to it,
3693         rather than possibly losing data.
3694         * lib/autotest/general.m4 (AT_INIT): Likewise.
3696 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
3698         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
3699         description.
3701 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3703         * NEWS: Update.
3705         * configure.ac (AC_INIT): Bump to 2.59d.
3707 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3709         Version 2.59c.
3711         * Makefile.maint (news-date-check): Do not require a leading `*'
3712         before the release date in NEWS.
3714 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
3715         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3717         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
3718         the instantiated file do not contain the string 'datarootdir'
3719         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
3720         @mandir@, replace the reference '${datarootdir}' by the value.
3721         * tests/torture.at (datarootdir workaround): New test.
3722         * NEWS: Advertise this temporary fixup.
3723         Based on a patch by Bruno Haible, reported and analyzed by
3724         Paul Eggert and Noah Misch.
3726 2006-04-12  Eric Blake  <ebb9@byu.net>
3728         * tests/autotest.at (Debugging a failed test): Fix comment.
3730 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
3732         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
3733         all the changes since 2006-04-07.
3735 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3737         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
3738         succeeded, but `ln -s file dir' failed, take care to remove the
3739         leftover target before the next test, to prevent its spurious
3740         failure; also make sure `ln file dir' works before selecting it.
3741         Thanks to Keith Marshall for pointing this out.
3742         * THANKS: Update.
3744         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
3745         assignments in `at_debug_args', so that we put them correctly
3746         in the `run' script.
3747         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
3748         Reported by Eric Blake.
3750 2006-04-11  Eric Blake  <ebb9@byu.net>
3752         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
3753         top-level tests after micro-suite has been run.   Used in...
3754         (Debugging a successful test, Debugging script and environment),
3755         (Debugging a failed test): ...these new tests.  The first of these
3756         is fixed by...
3757         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
3758         macro, split out from...
3759         (AT_INIT): ...here, so that using -d also generates a run script.
3760         Document that -d inhibits top-level logging.
3761         * doc/autoconf.texi (testsuite Invocation): Document that -d only
3762         inhibits top-level logging; debug scripts are created.
3764         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
3765         check.
3766         * tests/autotest.at (Empty test, Empty check): New test to check it.
3768         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
3769         from gcc.
3771 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
3773         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
3774         the files if a problem appears.  Make the empty *.at files
3775         read-only, too.  Proposed by Ralf Wildenhues.
3777 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3779         * config/Makefile.am: Add comment to force updated Makefile.in.
3781         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
3782         space only patch to this file, this patch causes the Makefile.in
3783         files that include freeze.mk to be updated, and thus have a
3784         newer time stamp again, which in turn makes a pristine CVS
3785         checkout have correct time stamps.
3787         * Makefile.maint (cvs-sv): New macro, to be used..
3788         (config.guess-url_prefix, config.sub-url_prefix)
3789         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
3790         point to CVS text checkout of Gnulib files.
3791         (copyright-check): Bump current year.
3792         (announcement): Do not hard-wire `./announce-gen'.
3793         (cvs-update): Propagate failures of `cvs' and `move-if-change'
3794         correctly.
3795         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
3796         `chmod +x'.
3797         (wget_files): Update config.guess, config.sub, texinfo.tex by
3798         `wget-update', now that their URLs work again.
3800 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
3802         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
3803         Problem noted by Paul D. Smith.
3805 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3807         * doc/autoconf.texi: Remove unused words from word list.
3808         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
3809         .x-sc_trailing_space: New files.
3811         * doc/standards.texi: Sync from gnulib.
3813         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
3814         `LIBOBJDIR' as experimental.
3816         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
3817         with a target directory; it's internally implemented as `cp'
3818         anyway, but since Autoconf advertises the possibility to use
3819         a target directory when LN_S is `ln -s', we need to find out.
3820         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
3821         analyzed by Keith Marshall <keith.marshall@total.com>.
3823         * THANKS: Update.
3825 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
3827         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
3828         confdefs.h as-is.  In general, if it has backslash-newline or the
3829         like, then it doesn't work either to sort or to remove empty
3830         lines.
3832 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
3834         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
3836 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
3838         * lib/autom4te.in (Automake-preselections): Preselect
3839         _AM_SUBST_NOTMAKE.
3841 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
3843         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
3844         apostrophe within a single-quoted string, as this is the usual
3845         tradition and is easier to read than '"'"'.  Don't rely on the
3846         shell treating "$/" like '$/'.  Use a more-consistent indenting
3847         style for the trap.
3849 2006-04-09  Eric Blake  <ebb9@byu.net>
3851         * tests/autotest.at (Backquote command substitution),
3852         (Multiline backquote command substitution): Remove mistaken
3853         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
3854         applied...
3855         (Parenthetical command substitution, Multiline parenthetical
3856         command substitution): here.
3858 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
3860         Import macros from gnulib (often changing their name).
3862         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
3863         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
3864         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
3865         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
3866         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
3867         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3868         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
3869         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
3870         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
3871         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
3872         The manual mentions Gnulib more prominently.
3873         * doc/autoconf.texi (Gnulib): New node.
3874         (Pointers): Add Gnulib URL.
3875         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
3876         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
3877         Gnulib section.
3878         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
3879         suggest a #define rather than a typedef for _Bool, and mention
3880         Gnulib rather than trying to substitute stdbool code.
3881         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
3882         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
3883         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
3884         AC_STRUCT_DIRENT_D_TYPE.
3885         (Particular Types): Mention stdint.h and inttypes.h as standard
3886         headers too.
3887         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3888         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
3889         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
3890         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
3891         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
3892         (C Compiler): Move AC_C_LONG_DOUBLE to ...
3893         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
3894         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
3895         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
3896         (Coding Style).  Don't mention m4_expand_once.
3897         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
3898         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
3899         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
3900         (AC_CHECK_FUNCS): Use it.
3901         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
3902         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
3903         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
3904         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
3905         (AC_HEADER_ASSERT): New macro.
3906         (AC_HEADER_STDBOOL): Don't assume "#error" works.
3907         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
3908         Catch a bug in an HP-UX C compiler.
3909         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
3910         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
3911         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
3912         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
3913         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
3914         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
3915         New macros.
3917         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
3918         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
3920 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
3922         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
3923         of the warning introduced by the 2001-08-28 change.
3925 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
3926             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3928         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
3929         variables shall be overriden by the cache.
3930         * tests/torture.at (AC_ARG_VAR): Test also with a first value
3931         that contains braces.
3933 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
3935         Revert the patch from 2006-04-01 and only improve
3936         _AS_DETECT_BETTER_SHELL:
3938         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
3939         skip nonexistent directories.
3940         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
3941         only shell candidates which exist.
3942         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
3943         * lib/autotest/general.m4 (AT_INIT): No need to give three
3944         parameters to _AS_PATH_WALK.
3946 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
3947             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3949         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
3950         distinguish m4sugar macros.
3951         * tests/tools.at (autoupdating with aclocal and m4_include):
3952         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
3953         test case by Noah Misch <noah@cs.caltech.edu>.
3955 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
3957         Revert my change from 2006-03-17, in other words:
3958         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
3959           and DUALCASE=1.
3960         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
3961         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
3962           it is set.
3964 2006-04-07  Eric Blake  <ebb9@byu.net>
3966         * doc/autoconf.texi (Programming in M4sh): Document that
3967         AS_MKDIR_P exits the script on failure.
3968         * lib/autotest/general.m4: Remove redundant AS_ERROR.
3970 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3972         * config/elisp-comp, config/install-sh, config/mdate-sh,
3973         config/missing, config/mkinstalldirs: Sync from Automake.
3975         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
3976         from Automake.
3978         * doc/make-stds.texi: Sync from gnulib.
3980 2006-04-06  Eric Blake  <ebb9@byu.net>
3982         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3983         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
3984         2006-04-01.
3986 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
3987             Eric Blake  <ebb9@byu.net>,
3988             Paul Eggert  <eggert@cs.ucla.edu>,
3989             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3991         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
3992         whether `set' quotes correctly: redirect stderr of the tested
3993         `set', and use a subshell, for Ultrix; use `sed' instead of
3994         `grep' for zsh `set' which may write binary output; match only
3995         at the beginning of a line, to avoid false positives.
3996         In order to avoid false positives by unrelated variables with
3997         multiline content, put the dump algorithm in a subshell and
3998         unset all variables containing newlines (except some which are
3999         special to the shell).  Warn about cache variables that are
4000         unset.
4002 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4004         * config/config.guess, config/config.sub, config/texinfo.tex:
4005         Sync from upstream.
4007         * tests/mktests.sh: Reword comments.
4009         * tests/mktests.sh: Only skip internal macros starting with
4010         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
4011         Update exclusion lists for the test suite to this end:
4012         (AC_ARG_VAR): Do test this now.
4013         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
4014         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
4015         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
4016         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
4018         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
4019         shell issue with double-quoted command substitutions of native
4020         commands.
4021         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
4022         Marshall.
4024         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
4025         no file matches the glob, discard the warning, set `nullglob'.
4026         (syntax-check): Likewise.
4027         (sc_cast_of_x_alloc_return_value): Likewise.
4028         (sc_cast_of_alloca_return_value, sc_error_exit_success)
4029         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
4030         (m4-check): Likewise.
4031         (sc_system_h_headers): Do not print rule on execution.
4032         (sc_tight_scope): Do not fail for non-existing `src' directory.
4033         (sc_changelog): Skip the Copyright footer.
4034         * lib/autoconf/lang.m4: Remove trailing space.
4036         * lib/autoconf/status.m4: More replacements to
4037         <tab><space> where this makes sense.
4039 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
4041         * tests/Makefile.am (maintainer-check-posix):
4042           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
4044         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
4045           ac_config_<foo>s again, sometimes normalized, sometimes not.
4046         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
4047         (AC_CONFIG_COMMANDS): Do not do so here.
4048         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
4049           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
4050           2005-07-25 rewrite.  Noticed by Noah Misch.
4052         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
4053           _AC_PRESERVE_HELP_ORDER, ...
4054         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
4056         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
4057           inside m4_expand_once; it is redundant.
4059         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
4060           for --help from Cygnus `configure.'
4062 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
4064         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
4065         on a patch proposed by Ralf Wildenhues.
4067 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
4069         * lib/autoconf/status.m4: Replace <space>''<tab> with
4070         <tab><space> where this makes sense.
4072 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
4073             Noah Misch  <noah@cs.caltech.edu>
4075         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
4076         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
4077         * doc/autoconf.texi (Help Formatting): New node.
4078         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
4080 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4082         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
4083         lib/autoconf/specific.m4, lib/autoconf/status.m4,
4084         lib/autoconf/types.m4, lib/autotest/general.m4,
4085         tests/mktests.sh, tests/torture.at: White space cleanup:
4086         remove some SPACE before TAB, or add quoting ('' or @&t@).
4088         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
4090         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
4092 2006-04-05  Eric Blake  <ebb9@byu.net>
4094         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
4095         empty test suite works.
4096         * tests/autotest.at (Empty test suite): Remove xfail.
4098 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
4100         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
4101         TAGS to ac_config_<foo>s.
4102         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
4103         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
4104         normalizing it, consistent it with previous releases.
4105         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
4107 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
4109         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
4110         Use simplified args that Eric Blake originally suggested.
4112 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
4114         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
4115         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
4116         Use 'comm' rather than N instances of grep; this also fixes a bug
4117         whereby substrings were incorrectly matched, causing us to not
4118         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
4119         (exclude_list): Exclude empty macros.
4120         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
4122         Use awk rather than grep -E or egrep, to avoid
4123         portability problems with regular expressions containing newlines.
4124         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
4125         Switch from grep to awk syntax.
4126         (ac_exclude_script): Renamed from ac_exclude_egrep.
4127         (au_exclude_script): Renamed from au_exclude_egrep.
4129 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
4131         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
4132         a subdirectory subject to Cygnus `configure'.
4133         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
4135         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
4136         report request when we have no AC_PACKAGE_BUGREPORT.
4138 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4140         * THANKS: Update.
4142         * tests/mktests.sh: Update copyright year in the header of the
4143         generated files.
4145         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
4146         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
4147         typedef'ed restricted pointer, to catch a compiler bug on
4148         HP-UX 11.x, and fix warnings so it passes with -Werror.
4149         (_AC_PROG_CC_C99): Likewise.
4150         Reported by Albert Chin <china@thewrittenword.com>.
4151         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
4153 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
4155         * bin/autoscan.in (subdirs): New global.
4156         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
4157         (output): Emit AC_CONFIG_SUBDIRS as needed.
4158         * tests/autoscan.at (autoscan): Remove XFAIL.
4160 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
4162         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
4164 2006-04-03  Eric Blake  <ebb9@byu.net>
4166         * THANKS: Add myself.
4168 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4170         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
4171         to log, point to testsuite output tree.
4173 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
4175         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
4176         * doc/autoconf.texi (Function Portability): Mention that C++
4177         has trouble with 'exit'.
4178         (Guidelines): Test programs shouldn't use 'exit'.
4179         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4180         Remove; all uses removed.
4181         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
4182         Return from 'main' instead of calling 'exit'.
4183         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
4184         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
4185         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
4186         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
4187         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
4188         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4189         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4190         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
4191         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4192         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4193         * tests/compile.at: Likewise.
4195 2006-04-02  Pavel Roskin  <proski@gnu.org>
4197         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
4199 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4201         Clean up _AC_COMPILER_EXEEXT* macros.
4203         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
4204           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
4205           ac_file to the name of the default output file and call
4206           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
4207           initial `rm' of the candidate files...
4208         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
4209           the same list in subsequent `rm' calls, and for the temporary
4210           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
4211           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
4212         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
4213         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
4214           no longer needed) by libtool.  Make it a cache check.
4215         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
4216           copied here by mistake.
4217         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
4218           _AC_COMPILER_EXEEXT.
4219         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
4220           _AC_COMPILER_OBJEXT directly.
4221         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4223 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4225         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
4226         (AS_DIRNAME): Use it.
4227         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
4229         * tests/*.at: Remove the generated ones.
4231 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4233         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
4235 2006-04-01  Eric Blake  <ebb9@byu.net>
4237         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
4238         directories, unless optional third argument supplied.
4239         (AS_UNAME): Don't optimize PATH walk.
4241         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
4243 2006-04-01  Eric Blake  <ebb9@byu.net>
4244         and Stepan Kasal  <kasal@ucw.cz>
4246         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
4247         and fix some typos.
4249 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
4251         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
4252         Autoconf version number despite a zero- or one-argument AC_INIT.
4254         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
4255         subordinate tools.
4256         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
4257         * doc/autoconf.texi (autoreconf Invocation): Document it.
4259         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
4260         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
4262 2006-04-01  Eric Blake  <ebb9@byu.net>
4264         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
4265         * lib/autotest/general.m4: Be tolerant of existing directory when
4266           rm failed to remove it.
4268 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4270         * bin/autoupdate.in: Redefine m4_location so that warnings print
4271         the correct lines of the input file by subtracting..
4272         (_au__first_line): ..this new definition.
4274         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
4275         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
4276         Remove stray newline in output.
4277         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
4278         AC_DEFUN this for autoconf, including the obsoletion diagnose.
4279         Fixes autoupdating of code where the replacement output contains
4280         m4sugar macros.
4281         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4282         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
4283          (au_exclude_list): Add AC_LANG_SAVE.
4284         * tests/tools.at: Several new tests for all of this.
4285         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
4286         hairy details.
4287         The AC_LANG_SAVE issue was reported against Libtool by
4288         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
4289         Kristian Kvilekval <kris@cs.ucsb.edu>.
4291 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4293         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
4294           switch all of them on and of when necessary.  Fixes the bug when
4295           m4sugar macros (e.g., m4_define) were expanded after the first
4296           automatic update (e.g., after AC_PREREQ or AC_INIT).
4298 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
4300         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
4301         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
4303         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
4304         correctly.  Problem reported by Eric Blake.
4305         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
4306         Ralf Wildenhues.
4308 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
4310         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
4311         Tighten up the basename/dirname wording.
4313 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4315         * Makefile.maint (sc_texi_notab): New check: do not use TABs
4316         in texinfo files outside of verbatim environments.
4317         (syntax-check-rules): Update.
4318         * doc/autoconf.texi (Configuration Headers): Conform to it.
4320 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
4322         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
4323           aclocal cannot be given on the command line.
4325 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
4327         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
4328         Give an example for AS_DIRNAME instead of referring to Posix..
4329         (File System Conventions): Put discussion of // versus / here, and
4330         modernize it a bit.
4331         (Limitations of Usual Tools): Add basename.  Remove verbiage
4332         after dirname, since it got moved to the above sections.
4333         All this was inspired by a patch proposed earlier by Eric Blake.
4335 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4337         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
4338         `$0' to protect against spaces.
4339         * lib/autotest/general.m4 (AT_INIT): Likewise.
4340         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
4341         `$0', $as_me.
4343 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4345         * bin/autoscan.in: The value of find_configure_ac should be
4346         checked for existence, so we don't barf over a nonexisting
4347         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
4349 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4351         * bin/autoupdate.in: Fix some typos.
4353 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
4355         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
4357         * lib/autoscan/autoscan.list: Refreshed.
4359 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4361         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
4362         and Erlang related variables.
4364         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
4365         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
4366         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
4367         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
4368         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
4369         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
4370         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
4371         (_AC_PROG_OBJC_G): New macros.
4372         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
4373         * doc/autoconf.texi (Objective C Compiler): New node.
4374         (Preset Output Variables): Document OBJCFLAGS.
4375         (Language Choice): Document `Objective C' language.
4376         (Fortran Compiler): Fix typo.
4377         * NEWS: Updated.
4378         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
4380 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
4382         * doc/autoconf.texi (Default Includes): Fix typo
4383           s/AC_HEADERS_STDC/AC_HEADER_STDC/
4384         (Limitations of Usual Tools): s/unwriteable/unwritable/
4385         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
4386           Fix typos in the comments.
4388 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
4390         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
4391           Factor out the warning to...
4392         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
4393         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
4394         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4396         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
4397           case `ac_delim' when writing the sed script.
4399         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
4400           moved DUALCASE=1 ...
4401         (AS_SHELL_SANITIZE): ... here.
4402         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
4403           that it is set.
4405         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
4406           AC_SUBST.
4407         (_AC_PATH_PROG): Store the result to VARIABLE.
4408         (AC_PATH_PROG): No need to set VARIABLE again.
4410         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
4411           the first one is usual AT_CHECK_MACRO test, the second one checks
4412           that the same works when cross-compiling.
4413         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
4414         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
4416 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4418         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
4419         the directory `/usr/bin/posix' in the shell search, to prefer
4420         the Posix shell not only in subsequent spawns as with `$BIN_SH'
4421         on Tru64.
4423         * doc/autoconf.texi (contents): To fix texi2html output, hide
4424         `@setcontentsaftertitlepage' for HTML.
4425         (Writing Autoconf Macros): Likewise, insert space after `@c'.
4426         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
4427         `@,{c}'.
4429 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
4431         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
4432           sanitizing...
4433         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
4434         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
4435           why IFS is restored so late; thank you, Ralf, for reminding us.
4437 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
4439         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
4440           variables in the examples.
4442 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
4444         * doc/autoconf.texi (several sections): Cleaned up documentation for
4445         macros in erlang.m4.
4447 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4449         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
4450         failure condition for `$(cmd)' style command substitutions.
4451         (Parenthetical command substition, Multiline parenthetical
4452         command substition): Use it.
4454         * doc/autoconf.texi (Special Shell Variables): Missing word.
4455         Reported by Keith Marshall <keith.marshall@total.com>.
4457         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
4458         IFS even in case of empty `$PATH'.
4460 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4462         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
4463         `expr' away if there is nothing to do.
4464         < --keywords >: Simplify and robustify argument handling.
4465         Revert erroneous comment from 2005-08-23.  Extend to allow
4466         keyword negation with `!'.
4467         Update help message.  Remove broken code to prevent running
4468         tests multiple times.
4469         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
4470         Update and fix the documentation accordingly.
4471         * tests/autotest.at (Keywords): Renamed to..
4472         (Keywords and ranges): .. this.  Extended to make sure negated
4473         keywords, keywords taken from AT_SETUP arguments, and numeric
4474         test ranges work, and that matching is case-insensitive.
4476 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4478         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
4479         allow to pass unnamed structs even in C++.
4480         (AC_CHECK_SIZEOF):  Likewise.
4481         Also fix quoting error in `AC_MSG_FAILURE' arguments.
4482         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
4483         struct): New tests for unnamed structs, each both native and
4484         cross-compiling.
4486         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
4487         a structure inside a cast, for C++ conformance.
4488         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
4489         Also fix quoting error in `AC_MSG_FAILURE' arguments.
4491         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
4492         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
4493         trying to execute the command `no'.
4495         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
4496         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
4497         expanded outside.
4499         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
4500         example.  Do not emphasize `$%', it is hardly new and special.
4501         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
4503         * doc/autoconf.texi (Limitations of Usual Tools): Document
4504         OpenBSD and traditional `grep' failure to handle multiple
4505         patterns separated by newlines.
4507 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
4509         * doc/autoconf.texi (several sections): Add documentation for macros
4510         in erlang.m4.
4512 2006-03-10  Eric Blake  <ebb9@byu.net>
4514         * doc/autoconf.texi (Obsolete Macros): Fix wording of
4515         AC_TRY_LINK_FUNC.
4517 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
4519         * doc/autoconf.texi: Use @acronym more consistently for acronyms
4520         like BSD, GPL, LGPL.  Fix minor English typos.
4521         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
4522         Mention that these macros are becoming obsolete.
4523         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
4524         Use more modern terminology for which standard is what.
4525         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
4526         and to ansi2knr.
4527         (AC_PROG_CXX): Likewise.
4528         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
4529         Remove obsolete discussion about how to port to K&R.
4530         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
4531         the obsolescent AC_HEADER_STDC.
4532         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
4533         can't rely on it.
4535 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4537         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4538         Remove stdin redirection from /dev/null to allow pipe to work.
4540 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
4542         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4543         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
4544         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
4545         Ralf Wildenhues.
4547 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4549         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
4550         HP-UX sed is 99 commands, not 100.
4551         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
4552         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
4553         newline for portability.
4554         * tests/torture.at (Torturing config.status): Also test 100
4555         AC_SUBST_FILE invocations.  Fix test to actually verify the
4556         AC_CONFIG_FILES output.
4557         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
4558         command, label, and read-file `r' limits.  Unify HP-UX spelling.
4560         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
4561         non-suffix rule.
4562         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
4563         non-GNU make.
4564         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
4565         * tests/mktests.sh: Small shell portability fixes.
4567 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4569         * doc/autoconf.texi (Caching Results): Fix the examples to use a
4570         recommended quoting style and discard unwanted output.
4572 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
4574         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
4575         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
4576         cases, and to work around Tru64 expr bug.
4578 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4580         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
4581         expr bug that turns the result of a regex match into a number if
4582         possible.
4584 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4586         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
4587         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
4588         in section `Specific Compiler Characteristics'.
4590 2006-03-04  Eric Blake  <ebb9@byu.net>
4592         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
4593         variable warning.
4595 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4597         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
4598         order of variable initialization, so even the Solaris 2.6 shell
4599         can create a config header correctly.  Fixes lots of test suite
4600         failures.
4602 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4604         * doc/autoconf.texi (Text processing Macros): New node to
4605         document the m4sugar macros m4_re_escape, m4_tolower,
4606         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
4608 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
4610         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
4611         XrmInitialize (0) -> XrmInitialize ().
4612         Reported by Toshio Kuratomi.
4614 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4616         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
4617         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
4618         * doc/autoconf.texi (Programming in M4sh): Adjusted.
4619         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
4620         both macros are defun'ed so that required macros are evaluated
4621         outside.
4623         * doc/autoconf.texi (Prerequisite Macros): State more precisely
4624         where a required macro will be expanded.
4625         (Coding Style): Another reason not to use `m4_define'.
4627 2006-02-21  Eric Blake  <ebb9@byu.net>
4629         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
4631 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4633         * doc/autoconf.texi (Looping constructs): New node, to
4634         document m4_for, m4_foreach, m4_foreach_w, and mention
4635         obsolete AC_FOREACH.
4636         (Obsolete Macros): Document AC_FOREACH.
4637         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
4638         (m4_for): Fix to never loop (almost) endlessly, work correctly
4639         with arithmetic expressions in arguments, a step of zero or
4640         non-integer multiple of the interval, and avoid integer
4641         overflow.
4642         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
4643         m4_foreach_w.
4645 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
4647         Add basic support for Erlang, both for configuring Erlang/OTP
4648         tools, and Erlang as a conf test language.
4649         * lib/autoconf/erlang.m4: New file.
4650         * lib/autoconf/autoconf.m4: Add erlang.m4.
4651         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
4652         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
4653         * NEWS: Add short description of new macros.
4654         * THANKS: Add Romain Lenglet.
4656 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4658         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
4659         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
4661 2006-02-15  Eric Blake  <ebb9@byu.net>
4663         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
4664         warning.
4666 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4668         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
4669         (_AS_CASE): Private helper macro.
4670         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
4671         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
4672         Fix syntax of AS_IF description
4673         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
4674         for the AC_REQUIRE mess.
4675         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
4676         AS_SHELL_SANITIZE.
4678 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
4680         * doc/autoconf.texi: Minor style cleanup.
4681         Be consistent about spaces after commas.
4682         Insert [] where empty args look a bit funny.
4683         Fix some "i.e." and "e.g." usages.
4684         Try to avoid "X/Y" usages.
4685         Don't be pedantic about "ISO C99"; just say C99.
4686         Prefer GNU style for spaces in front of parens.
4687         (Function Portability): Comment about C89 versus C99
4688         signed integer division.
4689         (Particular Headers): Use current gnulib style for dirent
4690         includes.
4692 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
4693         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4695         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
4696         macros without parameters.
4697         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
4698         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
4699         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
4700         `$#' bug.
4701         (autoupdate): Updated to match AU_ALIAS fix.
4703 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4704         and Paul Eggert  <eggert@cs.ucla.edu>
4706         * doc/autoconf.texi (Programming in M4sh): Document
4707         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
4709 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4711         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
4712         (AS_BOURNE_COMPATIBLE): ..this.
4713         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
4715 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
4717         * doc/install.texi (Defining Variables): Tighten up the
4718         CONFIG_SHELL wording.
4720 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
4721         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4723         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
4724         of (set -o) rather than testing whether (set -o posix) succeeds,
4725         to work around a bug in the AIX 5.3 shell.  Problem originally
4726         reportd by Howard Chu for libtool.
4728 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
4730         * doc/autoconf.texi (Running the Compiler, Running the Linker):
4731         Changes the macro arguments in summaries to match the
4732         descriptions.
4734 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
4736         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
4737         hint as ``a workaround for a bug.''
4739 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4741         * bin/autoreconf.in: New option `--no-recursive'.
4742         Improve wording for subpackages a bit.
4743         * doc/autoconf.texi (autoreconf Invocation): Updated.
4744         * NEWS: Updated.
4746         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
4747         in environment of `configure', not the command line.
4748         Reported by Howard Chu <hyc@highlandsun.com>.
4750 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
4752         * doc/autoconf.texi (Limitations of Builtins): Document the
4753         problem with "trap -".
4755 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
4757         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
4758         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
4759         messages to differentiate Fortran and Fortran 77 tests.
4760         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
4761         AC_LANG_ASSERT, to allow use in mixed-language projects.
4763 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
4765         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
4766         FOO" to "defined (FOO)".
4767         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
4768         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
4769         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
4770         * tests/tools.at (ifnames): Likewise.
4772 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4774         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
4775         * lib/Autom4te/General.pm (mktmpdir): Likewise.
4776         (END): Improve error message a bit.
4777         Reported by Bruce Korb <bkorb@gnu.org>.
4779 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4781         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4782         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
4784 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
4786         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
4787         requires sys/stream.h.  Reported by Oliver Kiddle.
4789 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4790             Stepan Kasal  <kasal@ucw.cz>
4792         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
4793         before the removals of test dirs, use `find' to avoid modification
4794         of symlinked directories.
4796 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
4798         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
4799         Don't ignore the macro arguments.
4801 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
4803         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
4804         declaration that works for MSVC.
4806 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4808         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
4809         Add `*.map' and `.inf' for Green Hills compiler.
4810         Reported by Stefan Seefeld <stefan@codesourcery.com>.
4812         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
4813         correctly: pad with spaces after FIRST_PREFIX if necessary,
4814         and compute string lenghts with `m4_qlen' instead of `m4_len'.
4815         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
4816         * tests/m4sh.at (AS_HELP_STRING): Test extended.
4817         * NEWS: Updated.
4818         Reported by numerous people, numerous times.
4820 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
4822         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
4823         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
4824         * lib/autoconf/general.m4, lib/autoconf/status.m4:
4825         * lib/autotest/general.m4, tests/local.at:
4826         Update copyright year to 2006.
4828         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
4829         sed substitutions.
4830         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
4831         for file names, again.  Reported by Noah Misch.
4832         (Coding Style): Explain that s|a|b| is preferred for file names.
4833         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
4834         (AC_OUTPUT_MAKE_DEFS): Likewise.
4835         * lib/autotest/general.m4 (AT_INIT): Likewise.
4836         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
4837         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
4839         Fix Posix-conformance bugs re use of { command in sed scripts,
4840         and improve the sed-related documentation a bit.
4841         * doc/autoconf.texi (Installation Directory Variables): Use
4842         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
4843         rather than "sed" when talking about Sed in general.
4844         (Particular Programs): Likewise.
4845         (Coding Style): y is like s with respect to / and ,.
4846         (Limitations of Usual Tools): Document the weird restrictions
4847         that Posix has about { }.  Use better quoting.
4848         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
4849         Rewrite to conform to Posix rules about { } in sed scripts.
4850         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
4851         * tests/foreign.at (Libtool): Likewise.
4852         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
4853         Use our own style advice re 's,a,b,' versus 's|a|b|'.
4855 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4857         * lib/autoconf/status.m4: Fix typo.
4859         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4860         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
4861         `-def', for the benefit of Portland `pgf90 -Mipa'.
4862         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
4864 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
4866         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
4867         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
4868         shell from zsh to bash.
4870 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
4872         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
4873           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
4875 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
4877         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
4878         parentheses in $(...).  Problem reported by Eric Blake.
4880 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
4882         * doc/autoconf.texi (Limitations of Usual Tools):
4883         Mention which characters can be escaped with \ in portable regular
4884         expressions used in grep, sed, expr.  Mention the leading ^ problem
4885         with expr.  Clean up some confusing wording.  Mention which
4886         grep options are portable.
4888 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
4890         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
4892 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
4894         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
4895         patch, noted by Ralf Wildenhues.
4897 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4899         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
4900         posix' unconditionally, for pdksh in `native sh' emulation.
4902 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
4904         * doc/autoconf.texi (Shellology): Document eval $? problem
4905         with ash.
4906         (Limitations of Builtins): Likewise.
4908 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4910         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
4911         CONFIG_SHELL in the environment of the configure rerun.
4912         * doc/autoconf.texi (Here-Documents, config.status Invocation):
4913         Suggest passing CONFIG_SHELL absolute, and in the environment
4914         rather than as option.
4916 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4918         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
4919         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
4920         Fix macro quoting.  Fix output for n * 98 substituted variables.
4922 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4924         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
4925         `tmp' to avoid file removal race.
4927 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4929         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4930         ac_clean_files and LIBOBJS.
4932 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4934         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
4935         Factor functionality to..
4936         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
4937         `AC_SUBST($1)' in the public version.
4938         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
4939         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
4940         ac_pt_* variables.
4942 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
4944         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
4945         filesystems.
4947 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4949         * NEWS: Move AH_HEADER mention to right place.
4951 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
4953         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
4954         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4956 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
4958         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
4959         conftst2.$ac_objext.
4960         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4962 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
4964         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
4965         conftest.o, to see whether the compiler really obeys; rm the object
4966         file before and after the test and register it with ac_clean_files.
4967         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4969 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
4971         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
4972         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
4973         code so that the most common case requires less forks.
4975 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
4977         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
4978         not portable; thanks to Paul Eggert and Alexandre.
4980         * NEWS: Fix an old typo.
4982 2005-10-20  Jim Meyering  <jim@meyering.net>
4984         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
4985         the latter'', in two places.
4987 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
4989         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
4990         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
4991         the inner workings of AC_LANG_FUNC_LINK_TRY.
4992         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
4993         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
4994         by the function rather than ignoring it.
4995         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
4996         comparing its address.  Intel's interprocedural optimization was
4997         outsmarting the old heuristic.  Problem reported by
4998         Mikulas Patocka.
5000 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
5002         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
5004 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
5006         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
5007         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
5009 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
5011         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
5012         before removing it (chmod -R u+rwx); there are three instances of this.
5014 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5015             Stepan Kasal  <kasal@ucw.cz>
5017         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
5018         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
5019         make its content writable before removing it.  Remove an errorneous
5020         comment from the end, where the logs of the failed tests are copied
5021         to the main log file.
5023 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
5025         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
5026           in case the computer is too quick.  Double quote the configure.ac
5027           snippets.
5029         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
5030           problems if the testsuite were running too fast.
5032 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
5034         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
5035         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
5036         (which belong to Xt, not X itself).  See Debian bug 327655.
5037         * NEWS: Mention this.
5039 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
5041         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
5043 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
5045         * config/move-if-change: Don't output "$2 is unchanged";
5046         suggested by Ben Elliston.  Handle weird characters correctly.
5048 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
5050         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
5051           calls, so that the final expansion of this macro is shorter.
5052           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
5053           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
5054           the cleanup there.  Use AS_VAR_* macros, to be more general.
5055         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
5057         * lib/autoconf/general.m4: Use AS_IF where appropriate.
5059         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
5061 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
5063         * doc/autoconf.texi (Configuration Headers): Add an index entry
5064           for AH_HEADER.
5066 2005-08-26  Pavel Roskin  <proski@gnu.org>
5068         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
5069         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
5070         running xmkmf.
5072 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
5074         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5075         The previous patch didn't work, so try a better one.
5077 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
5079         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
5080         in the example.  Reported by Bruno Haible.
5081         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
5082         "if $undefined_var;" succeeds with my shell.
5084         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
5085         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
5086         but change the m4_divert_text to m4_divert_once.
5088 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
5090         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5091         Work around bug in Solaris /usr/xpg4/bin/awk.
5092         The bug is present in at least Solaris 8 through 10.
5094 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
5096         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
5097         some evil values and relying on the fact that $* concatenates the
5098         parameters by the first character from IFS.
5100 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
5101             Stepan Kasal  <kasal@ucw.cz>
5103         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
5104         first header appears, define AH_HEADER.
5105         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
5106         Update limitations about when to call AC_CONFIG_HEADERS.
5107         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
5108         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
5109         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
5110         ``Configuration Actions''; fix their index entries.
5112         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
5113         options correctly.  Process N-M as M-N if M is smaller than N.
5114         Process ranges correctly so that N-N will run only N.
5115         Sort and uniquify the tests that will be run.  If there is more
5116         than one test, reinsert the banners for the tests.
5117         * tests/autotest.at (Keywords): Unmark XFAIL.
5119 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
5121         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
5122           before passing the macro name to AH_TEMPLATE.
5124         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
5125           now opens log after option processing; in particular, --version
5126           and --help do not touch config.log.
5128         * Makefile.maint: Revert the change from 2005-08-12.
5130 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
5132         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
5133           common code to...
5134         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
5136 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5138         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
5139         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
5140         Language cleanup.
5142         * doc/autoconf.texi (Defining Symbols, Changed Results):
5143         Prepend to LIBS, not append, in examples.
5145 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
5147         When building in place, set srcdir="."; suggested by Tim Van Holder.
5149         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
5150           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
5151         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
5152         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
5153           does not mean "no --srcdir option".
5155 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5157         * tests/autoscan.at (autoscan): New file.
5158         * tests/suite.at: Use it.
5159         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
5160         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
5162         * tests/autotest.at (Keywords): Test keywords combinations.
5164 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
5166         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
5167           add "2>&1"; gzip 1.2.4 prints help on stderr.
5169 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
5171         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
5172         was pushdef'ed twice while popped only once.  Push it only once.
5173         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
5175 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
5177         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
5178         prefixed by mere "===", not "configure: === ".
5180 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
5182         * Makefile.maint: Update from Bison.
5184         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
5185         "<tab>" in comment, so that the point is understandable.
5187 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
5189         Rewrite substantial part of lib/autoconf/status.m4.
5190         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
5191         and CONFIG_COMMANDS are not processed in four separate loops.
5192         Instead, there is one main loop.  This alows that the common code
5193         is expanded only once, thus config.status (and configure) is smaller.
5195         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
5196         the AC_LIST_FILES and cousins macros are no longer used.
5198         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
5199         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
5200         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
5201         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
5202         contain the initialization, nor the for loop, nor the associated
5203         commands; all these go to ...
5204         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
5205         _AC_OUTPUT_CONFIG_STATUS.
5206         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
5207         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
5208         (_AC_OUTPUT_FILE): The creation of the sed script ...
5209         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
5210         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
5211         _AC_OUTPUT_MAIN_LOOP.
5212         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
5213         _AC_CONFIG_COMMANDS): Use ...
5214         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
5215         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
5216         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
5217         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
5218         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
5219         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
5220         ... new macros.
5221         (_AC_CONFIG_UNIQUE): Update.
5222         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
5223         Replaced by this ...
5224         (_AC_LIST_TAGS): ... new common macro.
5225         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
5226         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
5227         (_AC_LIST_TAG_COMMANDS): ... new common macro.
5228         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
5229         this didn't belong to the `config commands' section.
5230         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
5231         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
5232         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
5233         to the `config commands' section either.
5234         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
5235         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
5237         ... and many changes to the comments nearby.
5239         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
5240         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
5241         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
5242         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
5243         (#define header templates): The comment at the top of the generated
5244         header now includes the name(s) of the source file(s).
5246         Several unrelated small changes:
5248         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
5249         parameter to AC_DIAGNOSE.
5250         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
5251         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
5252         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
5253         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
5254         with AU::AC_OUTPUT.
5255         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
5256         in AC_OUTPUT doesn't double-quote it either.
5257         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
5258         parameters.
5260 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
5262         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
5263         versions of Portland Group compiler produce single- and double-quoted
5264         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
5265         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5267 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
5269         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5270         This is a corrected version of yesterday's patch.
5272 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
5274         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
5275         path, too; insert a "===" to emphasize the line.
5277         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
5278           ac_cv_build_alias to ac_build_alias.
5279         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
5281         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
5282         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
5283         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
5284         (AC_ARG_VAR): ... here.
5285         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
5286           target_alias.
5288         Keep a list of all precious variables and process them with one simple
5289         for loop, instead of expanding all commands, or, OTOH, complicated
5290         processing of output of "set".
5291         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
5292         variable names in new macro...
5293         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
5294         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
5295           a loop to assign all ac_env_* and ac_cv_env_* variables.
5296         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
5297           to INIT_PREPARE.
5298         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
5299           its value to shell variable ac_precious_vars and call
5300           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
5301         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
5302           _AC_ARG_VAR_VALIDATE.
5304         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
5305           and the AC_SUBSTs ...
5306         (AC_INIT): ... here.
5308         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
5309           the ac_subst_files section in config.log.
5311         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
5313 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
5315         * NEWS: New macro AC_C_TYPEOF.
5316         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
5317         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
5318         * tests/c.at (C keywords): Test AC_C_TYPEOF.
5320         Fix problems reported by Nicolas Joly.
5321         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
5322         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5323         They are generated by the Tru64 v5.1B shell.
5325 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
5327         Fix my changes from 2005-07-01; reported by Noah Misch.
5328         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
5329         description, the macro now accepts only a single tag.
5330         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
5332         Fix cases when the varsions of Autoconf and Autotest don't match.
5333         Reported by Noah Misch.
5334         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
5335         at_top_builddir, for compatibility with older autotest.
5336         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
5337         is not set, use at_top_builddir, for compatibility with older
5338         versions of autoconf.
5340 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
5342         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
5343         Problem reported by Patrick Welche.
5345 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
5347         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
5348         sed substitution command, so that we allow | in program prefixes
5349         and program suffixes.  (& is a problem anyway; we're not fixing
5350         that here.)
5351         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
5352         configure_input, top_builddir, srcdir, etc.
5353         * lib/autotest/general.m4 (AT_INIT): Likewise, for
5354         PATH_SEPARATOR in AUTOTEST_PATH.
5356 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
5358         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
5359         for loop over config.site files using `set', to allow
5360         directory names containing IFS characters.
5362 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
5364         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
5365         directories with weird names.  Apparently some people like living
5366         on the edge.  However, improve the test that "pwd" actually does
5367         report a name for the working directory.
5368         * NEWS: Remove the claim that we test for funny chars in dir names.
5370 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
5372         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
5373         replaced ...
5374         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
5375         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
5376         Now accept a single tag, not whitespace separated list.
5377         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
5379 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
5381         * doc/autoconf.texi (Configuration Headers): Change the explanation
5382         about #include <config.h>.
5383         (Generic Functions): Mention the Gnulib project.
5384         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
5386         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
5387         document to output the default config_* lists to config.status.
5388         Don't recognize option --file, if the functionality is not there.
5389         Likewise for --header; moreover, recognize --he and --h as shortcuts
5390         for --help in that case.
5392         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
5393         matches the order of execution.  No code changed.
5395 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5397         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
5398         single-quoted -cmdline argument in Portland Group compiler.
5399         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5401 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
5403         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
5405 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
5407         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
5408         descriptors to child processes; reported by Norman Gray.
5410 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
5412         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
5414         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
5415         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
5416         (AC_SUBST): Call it.
5417         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
5418         the directory specific variables; but don't call it for configure_input.
5420 2005-06-28  Derek Price  <derek@ximbiot.com>
5422         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
5423         addition.
5425 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
5427         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
5428         directory have inherent problems with special characters like spaces,
5429         due to limitations in Make syntax.  Problem reported by Alexandre
5430         Duret-Lutz.
5431         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
5432         Also, fix Tru64 porting problem with shell patterns,
5433         reported by Ralf Wildenhues.
5435 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5437         * doc/autoconf.texi (Subdirectories): Fix markup typos.
5439 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
5441         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
5443         Fix some more shell quoting problems.  Prompted by a bug report
5444         from Justace Clutter.
5445         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
5446         variable into diagnostic.  Make the diagnostic an error, not a warning,
5447         because we really don't support spaces and suchlike in dir names.
5448         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
5449         Don't worry about backslashes in srcdir; it can't happen now.
5450         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
5451         Simplify ac_optarg handling.
5452         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
5454 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
5456         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
5457         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
5458         * tests/atlocal.in: Propagate $EGREP and $SED.
5459         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
5460         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
5462         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
5463         that '\|' is not allowed in BREs; recommend using newline separated
5464         list of patterns instead of multiple -e options.
5466         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
5468         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
5470 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5472         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
5474 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
5476         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
5477         b, t, r, w commands require single space, while : cannot have any.
5478         (Special Shell Variables): Fix sed code this in the example.
5479         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
5480         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
5482         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
5483         expand to the empty list.  Don't use two pairs of m4_changequote,
5484         it's not necessary.
5486 2005-06-20  Derek Price  <derek@ximbiot.com>
5488         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
5490 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
5492         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
5493         * doc/autoconf.texi:
5494         Don't mention Solaris versions so much, if a
5495         problem is common to all extant versions of Solaris.  Say "SunOS
5496         4" instead of "SunOS" for SunOS 4.
5497         (awk): Mention more of the limitations of traditional Awk.
5498         (cat): Don't talk about cat -v.
5500 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
5502         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
5503         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
5504         but the implementation is entirely different and is designed
5505         to be compatible with glibc strverscmp.
5506         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
5508         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
5509         on Mac OS X 10.4 reported by Peter O'Gorman in:
5510         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
5511         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
5512         Use shell builtins rather than 'expr', to work around expr bug.
5514 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
5516         * doc/autoconf.texi: "filesystem" -> "file system".
5517         "behaviour" -> "behavior".
5518         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
5519         * lib/autoconf/general.m4: Omit blank after ":" sed command,
5520         as per POSIX.
5521         * lib/m4sugar/m4sh.m4: Likewise.
5522         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
5523         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
5525         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
5526         (.x.1): Ignore the time stamp in the .TH line when deciding whether
5527         to update the man page.  That way, we don't have to check in new
5528         man pages every month.
5530         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
5531         quotes and backslashes.  Patch from Derek Price.
5533 2005-06-10  Derek Price  <derek@ximbiot.com>
5535         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
5536         AS_TR_SH.
5538 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
5540         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
5541         -u, since it outputs chatter if the input files are the same.
5542         Problem reported by Ralf Menzel.
5544 2005-06-08  Derek Price  <derek@ximbiot.com>
5546         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
5547         renaming them since they are about to be redefined anyhow.
5549 2005-06-08  Derek Price  <derek@ximbiot.com>
5551         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
5552         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
5553         Move m4_undefine to alphabetical order.
5555 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
5557         * README: Recommend GNU M4 1.4.3 or later.
5558         * doc/autoconf.texi (Introduction): Likewise.
5559         Reword to avoid some formatting glitches.
5560         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
5561         Clarify explanation of HP compiler bug.
5562         Redo example output tp match current CVS snapshot.
5563         Use @example.org in email addresses when the examples
5564         might get inadvertently cut-and-pasted into user code.
5565         Remove example of autom4te usage that doesn't seem to work now.
5566         Use modern AC_INIT (except when the example is meant to be
5567         shown with Autoconf 2.13).
5568         Update ksh info for Solaris 9 and later.
5569         KB -> kB.
5570         Modernize description of Automake versions a bit.
5571         Don't claim a future version of Autoconf is near.
5572         * doc/install.texi: Reword to avoid some formatting glitches.
5574 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5576         * doc/autoconf.texi: Add [] to examples, so that the manual
5577         follows its own advice about quoting better.
5578         Reword to avoid some formatting glitches.
5579         * doc/installt.exi: Reword to avoid some formatting glitches.
5581         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5582         Tru64 ksh pattern matching bug.  Reported against Libtool by
5583         Albert Chin <libtool@mlists.thewrittenword.com> and
5584         Nicolas Joly <njoly@pasteur.fr>.
5586 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
5588         m4_cdr of one-member list was [[]] (one-member list containing an
5589         empty string) instead of [] (an empty list.  Callers were skewed to
5590         match this misbehaviour.  As a consequence of this:
5591          - m4_foreach([x], [], [foo]) expanded to `foo', while
5592          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
5593         This bug has been fixed:
5595         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
5596           expand to an empty string; print error msg if called without
5597           an argument list.
5598         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
5599           misbehaviour; handle [] and [[]] correctly.
5601 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
5603         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
5604         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
5605           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
5607 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
5609         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
5610           swallow records with more than 99 fields.
5611         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
5612           parse the long line.
5614 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
5616         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
5617           swallow literals longer than 399.  Reported by Ralf Wildenhues.
5618         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
5619           to workaround this limitation.
5621 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
5623         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
5624         to gfortran, and make these the first two compiler names
5625         checked (following the general autoconf preference for gcc).
5627 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
5629         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
5630         (DISTCLEANFILES): Remove $(check_SCRIPTS).
5631         (testsuite): Make sure autotest.m4f is up-to-date before using it.
5633 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
5635         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
5636         expression of unbounded size when processing the --list
5637         option.  This runs afoul of a limit of 399 bytes per regular
5638         expression on AIX.  Problem reported by Ralf Wildenhues.
5640 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
5642         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
5643         * doc/autoconf.texi (Particular Headers): Reword example
5644         for multiline stdbool replacement.
5645         (Setting Output Variables): Reword text a bit.  Don't
5646         give all the details about |#_!!_#|.
5647         Reword description of line replacement.
5649 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
5651         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
5652         now contain newlines, and substituted files must be referenced on
5653         a line alone; the sed scripts to substitute them are now very
5654         different.
5655         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
5656         commands can be put in a sed script portably.
5657         * doc/autoconf.texi (Setting Output Variables): Document above
5658         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
5659         use of multiline substitution.
5660         * tests/torture.at: No longer expect substitution of newline to fail.
5662 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
5664         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
5665         From Ralf Menzel (trivial change).
5667 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
5669         * tests/local.at: Don't attempt to check for negated character
5670         classes in shell scripts.  The test was too brittle.
5672 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
5674         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
5675         * doc/autoconf.texi (Limitations of Builtins): Document this
5676           limitation.
5678 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
5680         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
5681           common code; used in many places in the tree.
5682         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
5683         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
5685         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
5687         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
5688           messages when ac_unique_file is not found.
5689         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
5690         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
5691           commands, for consistency with AC_MSG_ERROR and such.
5693         * bin/autoconf.as: Make more use of "shift 2" in option processing.
5695         * bin/Makefile.am: Merge the two rules for creating scripts.
5697 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
5699         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
5700         obsolete; it was never documented.
5701         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
5703 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
5705         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
5706         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
5707         (ac_top_builddir): ... this ...
5708         (ac_top_build_prefix): ... to this; the old name is also kept, for
5709           backward compatibility.
5710         (ac_top_builddir_sub): New variable, without the trailing slash,
5711           always nonempty.
5712         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
5713         * doc/autoconf.texi (Configuration Actions): Rename
5714           ac_top_builddir to ac_top_build_prefix.
5715         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
5716           at_top_builddir to at_top_build_prefix.
5717         * lib/autotest/general.m4 (AT_INIT): Likewise.
5719 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
5721         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
5722           of confdefs.h .
5724 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
5726         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
5727           argument to m4_foreach.  I guess it was necessary in the past,
5728           but I think it's a no-op now.
5730 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
5732         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
5733           ``cat <<_ACEOF'' commands to one.
5734         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
5735         * lib/autoconf/status.m4: On various places, use expr instead of
5736           ``echo|sed.''
5737         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
5738         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
5739         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
5740           a range.
5741         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
5742           the wrong patterns between ``case'' and ``esac.''  The previous
5743           code had false positives.
5745 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
5747         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
5748         as on 2005-05-02.
5749         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
5750         Mention LIBOBJDIR.
5752 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
5754         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
5755         ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
5756         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
5757         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
5758         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
5759         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
5760         config/config.guess, config/config.sub, config/elisp-comp,
5761         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
5762         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
5763         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
5764         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
5765         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
5766         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
5767         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
5768         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
5769         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
5770         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
5771         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
5772         lib/autoconf/general.m4, lib/autoconf/headers.m4,
5773         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
5774         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
5775         lib/autoconf/specific.m4, lib/autoconf/status.m4,
5776         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
5777         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
5778         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
5779         lib/autotest/general.m4, lib/emacs/Makefile.am,
5780         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
5781         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
5782         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
5783         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
5784         tests/compile.at, tests/foreign.at, tests/fortran.at,
5785         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5786         tests/semantics.at, tests/suite.at, tests/tools.at,
5787         tests/torture.at, tests/wrapper.as:
5788         Update FSF postal mail address.
5790 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
5792         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
5793           check.
5794         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
5795           enough arguments, similarly as in m4_bpatsubsts.
5797 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
5799         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
5800           of absolute paths.
5802 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
5804         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
5805           for absolute directory names in one loop.
5806         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
5807           abbreviations of --version and --debug.
5809 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
5811         * doc/autoconf.texi (Autoconf Language): Be more precise about
5812         quoting rules.  Problems noted by Stepan Kasal.
5813         Also, throughout this document, be more careful about white space.
5814         "blank", "white space", and "space" all have different meanings
5815         and we should be careful to say what we mean.
5817 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
5819         Fix C++ related problems reported by Werner Lemberg.
5820         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
5821         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
5822         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
5823         avoid problems with C++ and throw.
5824         * tests/compile.at: .cpp, not .cc.
5826         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
5828 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5830         * doc/autoconf.texi (Generic Functions): Typos.
5832 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
5834         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
5835         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
5836         set by latest automake.
5838 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
5840         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
5841         outputs 0 on GNU/Linux these days.
5843 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
5845         * doc/autoconf.texi (Autoconf Language): Add more description
5846         about quoting heuristics.
5847         (Limitations of Builtins): Describe "set -" problems.
5849 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5851         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
5852         not newline.
5854         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
5855         by AC_DEFINE; it was a mistake.
5856         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
5858 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
5860         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
5862 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
5864         * doc/autoconf.texi (External Software): Quadrigraphs are not
5865           processed correctly in AS_HELP_STRING; avoid this in the examples.
5866         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
5867         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
5868           comment and reduce m4_default([foo], []) to [foo].
5869         (m4_strip): Update the explanation.
5871 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5873         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
5874         Remove core.conftest.* too; it's generated by Tru64 5.1.
5875         Problem reported by Jennis Pruett.
5876         * lib/autoconf/functions.m4
5877         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
5878         Don't bother to remove core files; AC_RUN_IFELSE should do that
5879         for you.
5881 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
5883         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
5885 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
5887         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
5888         Report from Horst Wente.
5890 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
5892         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
5893           the comment.
5895 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
5897         * doc/autoconf.texi (External Software, Package Options): Add
5898           examples showing how to implement --with-* and --enable-* options.
5900 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
5902         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
5903         as well as configure.in.  Problem reported by Gregorio Guidi.
5905 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
5907         * doc/autoconf.texi (Particular Functions): Use gnulib's current
5908         pattern for alloca snippet.
5910 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
5912         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
5914 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
5916         * doc/autoconf.texi (Generic Programs): Fix a typo.
5918 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
5920         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
5921         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
5923 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5925         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
5926         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
5927         whole-archive (-zallextract, -zdefaultextract) options in the hope of
5928         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
5929         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
5931 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
5933         * NEWS: The configure command now warns you if you attempt to use
5934         a directory whose name contains a special character like space,
5935         newline, or "\".
5936         * doc/autoconf.texi (Installation Directory Variables): Allow
5937         "," in file names.  Do not use \@; it's not a portable regexp.
5938         * bin/Makefile.am (edit): Likewise.
5939         * lib/Makefile.am (edit): Likewise.
5940         * tests/Makefile.am (edit): Likewise.
5941         * tests/semantics.at: Likewise.
5942         * tests/torture.at: Likewise.
5943         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
5944         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
5945         * doc/autoconf.texi (File System Conventions): Warn about
5946         unportable file names.
5947         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
5948         (AC_INIT): Use it.
5949         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
5950         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
5951         ac_pwd, and quote srcdir.
5952         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
5954         * doc/autoconf.texi: Fix some systematic formatting problems.
5955         ".)"  needs a following @: if not at the end of a sentence, and
5956         similarly for "!)".  "etc." should be preceded by a comma.
5957         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
5959 2005-03-22  Bruno Haible  <bruno@clisp.org>
5961         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
5962         argument is often called 'build-aux'.
5964 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
5966         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
5967           macro AC_TRY_LINK is obsolete.
5968         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
5969           `AC_CONFIG_FILES'.
5971 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
5973         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
5974           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
5975           from a Common Lisp's `cl'.
5976         (AC_PROG_CXX): Behave according to the documentation: don't
5977           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
5978           make the variable CCC precious; use `cl.exe', not `cl'.
5980 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
5981             Alexandre Duret-Lutz  <adl@gnu.org>
5983         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
5984         /dev/null, as "configure" shouldn't read stdin, and this insulates
5985         us from problems (e.g., when testing for "cl").  Also, do this
5986         redirection before invoking "hostname" or "uname", and keep the
5987         original input stream available via...
5988         (AS_ORIGINAL_STDIN_FD): ... this new macro.
5989         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
5990         bother with "</dev/null" since it's now done at the top of
5991         'configure'.
5992         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
5993         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5994         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5995         * doc/autoconf.texi (File Descriptor Macros): New section.
5996         (Printing Messages): Mention it.
5997         * tests/base.at (Input/Output): New test.
5999 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
6001         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
6002         newline if neither \c nor -n work, as that would output two
6003         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
6005 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
6007         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
6008         This causes that any required macros inside will get before the if.
6009         * doc/autoconf.texi (autom4te.cache): A typo.
6011 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
6013         Undo previous change, except keep the change to
6014         lib/autoconf/programs.m4 that replaced grep with shell
6015         pattern-matching.  This is because net-snmp configure reads stdin.
6016         Reported by Noah Misch.
6018 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
6020         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
6021         from /dev/null, as "configure" shouldn't read stdin, and this
6022         insulates us from problems (e.g., when testing for "cl").
6023         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
6024         before invoking "hostname" or "uname".
6025         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6026         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
6027         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
6028         "</dev/null" since it's now done at the top of 'configure'.
6029         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6030         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6031         Also, replace grep with shell pattern-matching, to save a process.
6033 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
6035         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6036         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
6037         avoid thinking that Allegro Common Lisp's "cl" command is a C++
6038         compiler.
6040 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
6042         * doc/autoconf.texi (Limitations of Usual Tools): Document that
6043         grep -q isn't portable.  Improve grep -s explanation.
6044         Problem reported by Dan Manthey.
6046 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
6048         * doc/autoconf.texi (Special Shell Variables): Clarify
6049         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
6051 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6053         * doc/autoconf.texi: Use @acronym for DJGPP.
6054         Fix some @code's that should have been @env's, and vice versa.
6055         Sort environment variable names.
6056         Mention that shells no longer inherit IFS.
6057         Don't recommend PATH_SEPARATOR=';' so strongly.
6058         Mention that $RANDOM might expand to the empty string.
6059         "symlink" and "soft link" -> "symbolic link".
6060         Improve mktemp description (reported by Bruno Haible).
6062 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
6064         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
6065         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
6066         Likewise.
6067         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
6068         Likewise.
6070 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
6072         * NEWS: Mention AT_COPYRIGHT.
6074         * tests/local.at (AT_CMP): Use diff directly on input files rather
6075         than copying them.
6077         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
6078         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
6080 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
6081         and Paul Eggert  <eggert@cs.ucla.edu>
6083         * tests/autotest.at (Empty test suite): New test.
6084         * tests/torture.at (Substitute and define special characters)
6085         (Substitute a 2000-byte string, Define to a 2000-byte string)
6086         (Substitute a newline, Define a newline): New tests.
6088 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
6090         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
6091         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
6092         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
6093         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
6094         (Standard regular expressions): New test.
6095         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
6096         excess test name quoting.
6097         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
6098         CPPFLAGS to `configure' instead of setting it in `configure'.
6100         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
6101         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
6102         on some platforms.
6104         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
6105         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
6107         * tests/local.at (AT_CMP): New macro.
6108         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
6109         (AC_SAVE_STATE): Move environment grep...
6110         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
6111         (AT_CONFIG_CMP): New macro.
6112         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
6113         * tests/c.at (Extensions): Do not exit early.
6114         * tests/atlocal.in: Inherit $GREP.
6116         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
6117         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
6119         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
6120         (AC_COPYRIGHT): Factor header comment portion out and move into...
6121         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
6122         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
6123         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
6124         --version output.
6125         * tests/local.at: Add Autoconf test suite copyright notice.
6126         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
6128 2005-02-04  Bruno Haible  <bruno@clisp.org>
6129         and Paul Eggert  <eggert@cs.ucla.edu>
6131         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
6133 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
6135         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
6136         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
6138         Try not to generated lines of unlimited length, as POSIX places a
6139         2047-byte limit on line length of portable text files.
6140         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
6141         Use newline as a separator, not space.
6142         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
6143         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
6144         space.
6146 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6148         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
6149         as_func_*.  Add test to check whether positional parameters
6150         are restored after function return.
6152 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
6154         * doc/autoconf.texi (Special Shell Variables): Mention _,
6155         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
6156         if they contain a lower-case letter.  The DUALCASE problem was
6157         reported by Ralf Wildenhues.
6159         * bin/autoconf.as: Don't exit with status 0 after write failure
6160         with --help or --version.
6161         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
6162         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
6164 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6166         * doc/autoconf.texi (Limitations of Usual Tools):
6167         Unicos 9 sed limitations.
6168         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
6169         to get the option-enhanced interface on older Crays.  Try ftn for
6170         Fortran 95 (newer Crays).
6172 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
6174         * man/Makefile.am (.x.1): Go back to the simple solution, but take
6175         care to echo the commands, so the user knows what's going on.
6176         Modified from a suggestion by Stepan Kasal.
6178         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
6179         with a cross reference.  Derived from a suggestion by Bruce Korb.
6181 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
6183         * doc/autoconf.texi (config.status Invocation): Warn about
6184         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
6185         * doc/install.texi (Defining Variables): Likewise.
6186         Based on a proposed patch by Ralf Wildenhues.
6188         * man/Makefile.am (.x.1): Make sure the required generated files
6189         are up to date.  Problem and original solution proposed by Stepan Kasal.
6190         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
6191         implicit-man-prerequisites): New rules, used by the above.
6193         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
6194         * config/config.guess, config/config.sub, config/install-sh: Likewise.
6195         * config/missing, config/texinfo.tex: Likewise.
6197 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
6199         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
6200         Update the long comment explaining it.
6202         m4_require no longer writes an ``is required by'' line to the
6203         execution stack.  It contains only one bit of non-redundant
6204         information: that the macro was required, not called.  And even
6205         this bit is useless in most situations: have you ever met a macro
6206         which both calls and requires the same macro?
6208         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
6209         (_m4_defun_pro_outer): ... only via this macro, for the outermost
6210           macro.
6211         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
6212         (m4_expansion_stack_pop): Remove the misplaced comment.
6213         (m4_require): Don't put the ``is required by'' line to the
6214           execution stack; slightly improve the out-of-a-defun error message.
6215         (_m4_divert_grow): New macro, counter for the temporary diversions.
6216         (_m4_require_call): Use it.
6217         * tests/m4sugar.at (m4_require): Expect output without the
6218           ``is required by'' messages.
6220 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
6222         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
6223         rather than x for expr.
6225         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
6226         this is safe.
6227         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
6228         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6229         * lib/autotest/general.m4 (AT_INIT): Likewise.
6230         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
6231         * tests/mktests.sh: Likewise.
6233 2005-01-27  Akim Demaille  <akim@epita.fr>
6235         Have autoheader honor --force.
6237         * doc/make-stds.texi, doc/standards.texi: Update from masters.
6238         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
6239         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
6240         from masters, so that FileUtils.pm's update_file provide --force
6241         support.
6242         * bin/autoheader.in: Pass $force to update_file so that
6243         config.h.in is always recreated when --force.
6245 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
6247         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
6249 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
6251         * doc/autoconf.texi (Limitations of Builtins): Clarify that
6252         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
6254 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
6256         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
6257         Warn about newline stripping in `` and $().  Update Solaris
6258         version to 9.
6259         (Limitations of Builtins): Use expr "X...", not expr "x...", as
6260         X insulates us from future changes to Posix.
6261         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
6262         stripping.
6264 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
6266         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
6267           you cannot use AC_DEFINE to define macros containing `[' or `]'.
6269 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
6271         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
6272         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
6273         bug-tar mailing list.
6275 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
6277         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
6279 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6281         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
6282         ulongval to be static, to avoid unwanted GCC warning.  Problem
6283         reported by Michael Jennings via Daniel Reed; see
6284         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
6286 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
6288         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
6289         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
6290         datadir, infodir, and mandir.  Adjust argument parsing code.
6291         (_AC_INIT_HELP): Update help text.
6292         * doc/autoconf.texi (Installation Directory Variables): Document
6293         new variables.
6295 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
6297         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
6298         not seem to work, assume it does set $(MAKE).
6299         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
6301 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
6303         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
6305 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
6307         A cleanup of the diversion support in m4sugar.
6309         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
6310         (_m4_divert_n_stack): New macro; the expansion is
6311           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
6312           otherwise.
6313         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
6314         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
6315           stored in _m4_divert_diversion or _m4_divert_dump.
6316         (m4_divert_pop): When the parameter is given, compare the symbolic
6317           name with the last diversion pushed on the stack.  Previously, the
6318           current diversion was compared with the numeric value of the
6319           diversion given as the parameter.
6320         (m4_require): If the macro hasn't been expanded yet, call ...
6321         (_m4_require_call): this new macro.
6323 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6325         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
6326         Workarounds for documented `case' limitations.
6328 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
6330         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
6331         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
6333 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
6335         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
6336         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6337         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
6339         Patch from Roger Leigh (with some minor changes) as follows:
6340         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
6341         Resurrect AC_PROG_CC_STDC.
6342         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
6343         AC_PROG_CC_C89, AC_PROG_CC_C99.
6344         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
6345         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
6346         AC_PROG_CC_C99): New macros.
6347         (AC_PROG_CC_STDC): Use them.
6348         (_AC_PROG_CC_STDC): Remove.
6349         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
6350         * THANKS: Add Roger Leigh.
6352 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
6354         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
6355         signals that the package uses Automake; a `Makefile.am' is typical but
6356         not essential.  Reported by Magnus Therning.
6357         * tests/torture.at (autoreconf.): New banner.
6358         (autoreconf and non-AC configure): Rename to `Non-Autoconf
6359         AC_CONFIG_SUBDIRS'.
6360         (autoreconf an empty directory): Rename to `Empty directory'.
6361         (Unusual Automake input files): New test.
6363 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
6365         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
6366         (AT_SETUP): Clear AT_capture_files.
6367         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
6368         (AT_KEYWORDS): Fix comment typo.
6369         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
6370         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
6371         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
6373 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
6375         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
6376         If the variable to set is already set, set ac_cv_path_$1
6377         to the preset value so caller can assume ac_cv_path_$1
6378         is available.  (trivial change)
6380 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
6382         * BUGS (Minor Problems): Warn about makefile limitations.
6383         * Makefile.am: Find and update `INSTALL' in $(srcdir).
6384         * man/Makefile.am: Find and update manual pages in $(srcdir).
6386 2004-12-24  Eric Blake  <ebb9@byu.net>
6388         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
6389         shells in subshell, to avoid noise from ash.  (trivial change)
6391 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6393         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
6394         problems with SunOS ksh and backslash escaping, Bourne shells and
6395         closing brackets (both within character classes).  Bug reported
6396         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
6397         <read>: New entry.  Mention non-availability of -r.
6399 2004-12-21  Akim Demaille  <akim@epita.fr>
6401         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
6402         avoid cluttering displayed messages.  Rather, prepend srcdir where
6403         AT_LINE is used for log files.
6405 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
6407         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
6408         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
6409           no longer part of the macro, quote the occurrence of ``$tmp''.
6410         * doc/autoconf.texi (Forbidden Patterns): Typo.
6412 2004-12-21  Akim Demaille  <akim@epita.fr>
6414         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
6415         separated from the test title by forcing a white space.
6417 2004-12-21  Akim Demaille  <akim@epita.fr>
6419         Enable Emacs navigation within testsuite.log files.
6421         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
6422         use the compilation mode.
6423         (AT_LINE): Point to the srcdir.
6425 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
6427         * tests/Makefile.am (installcheck-local): Use $(bindir).
6428         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
6429         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
6430         Makefile.am scheme Autoconf now uses.
6432 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
6434         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
6435         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
6437 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
6439         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
6440         (_AT_CHECK): Use it.
6441         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
6442         (AS_ESCAPE): Fix comment.
6443         * tests/autotest.at: Adjust section banner comments.
6444         (AT_CHECK_AT): Accept STATUS and STDERR.
6445         (AT_CHECK_AT_TEST): Likewise.
6446         (Invalid brace-enclosed parameter expansion)
6447         (Multiline command from M4 expansion)
6448         (Double-M4-quoted command): New tests.
6450 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
6452         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
6454 2004-12-17  Akim Demaille  <akim@epita.fr>
6456         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
6457         m4_pattern_allow.
6458         Suggested by Alexandre Duret-Lutz.
6459         * doc/autoconf.texi (Setting Output Variables): Catch up.
6461 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6463         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
6465 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6467         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
6468           remove the comment which said we cannot.
6470 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6472         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
6473         Reini Urban and Paul Eggert for reporting the dependencies.
6475         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
6476         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
6477         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
6479 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6481         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
6482           so that eg. ``autoscan --help'' doesn't truncate it.
6484 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
6486         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
6487         generated conftest files.
6489 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
6491         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
6492         tracing on commands with possibly-escaped newlines.
6493         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
6494         discontinued behavior and its implications.
6495         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
6496         (BSx641-newline in command, BS-BS-newline in command)
6497         (BSx640-newline in command, Newline-CODE-BS-newline in command)
6498         (Single-quote-BS-newline in command)
6499         (Single-quote-newline-BS-newline in command): New tests.
6501 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
6503         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
6504           on platforms where it works.
6505         (_AS_TEST_PREPARE): Test for ``test -x''.
6506         (_AS_BROKEN_TEST_PREPARE): Nuke.
6508 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
6510         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
6511         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
6512           give only 4-letter prefix to AS_TMPDIR, comment fixed.
6513         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
6514           create the temporary directory.
6515         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
6517 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
6519         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
6520         (trivial change)
6522 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
6524         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
6526 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
6528         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
6529         to avoid using a negated character class.  Reported by Nicolas Joly.
6530         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
6532 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6534         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
6535         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
6536         Don't depend on .x file explicitly, since "make" does that for us.
6537         Suggested by Stepan Kasal.
6539         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
6540         Add *.tmp.
6541         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
6542         ifnames): Factor common code.  And they said it couldn't be done!
6544 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
6546         * bin/.cvsignore: Add autoconf.in.
6547         * tests/.cvsignore: Add wrapper.in.
6548         * lib/autotest/general.m4: Escape '$' in case pattern.
6550 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
6552         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
6554         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
6556         * tests/autotest.at: New file.
6557         * tests/suite.at: Include it.
6558         * tests/Makefile.am: Distribute it.
6560         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
6561           shell tracing on a command that could contain multiple lines.
6562         * doc/autoconf.text: Document that fact and its implications.
6563         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
6564         * tests/autotest.at (Multiline backquote command substitution,
6565           Multiline parameter expansion, Literal multiline command,
6566           Multiline parenthetical command substitution): Remove XFAIL.
6568 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
6570         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
6571         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
6573 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
6575         * configure.ac (test suite): Cease to generate wrapper scripts.
6576         * configure: Regenerate.
6577         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
6578         (m4f_dependencies): Adjust accordingly.
6579         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
6580         (wrapper.in): Generate it in the build directory.
6581         (MAINTAINERCLEANFILES): Delete wrapper.in.
6582         (CLEANFILES): Add wrapper.in.
6583         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
6584         the output.  Replace each $as_me with a @wrap_program@.
6585         * tests/wrapper.in: Delete it; we always build it.
6587         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
6588         (EXTRA_DIST): Remove autoconf.in.
6589         (CLEANFILES): Add autoconf.in.
6590         (autoconf): Find autoconf.in in the build directory.
6591         * bin/autoconf.in: Delete it; we always build it.
6593 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
6595         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
6596         PATH members so as to not prepend an empty element.  Move a comment.
6597         * Makefile.am (SUBDIRS): Build in `tests' last.
6598         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
6600 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
6602         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
6603         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
6604         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
6605         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
6607 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
6609         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
6610         patch: extra "-l"s.
6612 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
6614         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
6615         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
6616         * doc/autoconf.texi (Particular Functions): Mention new behavior.
6618 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
6620         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
6621           out the common code to ...
6622         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
6623           value of the #define--default to 1, iff the macro was called
6624           with exactly one parameter.
6626 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
6628         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
6629         "char c = '\200';" rather than "char c = 0x80;" as the
6630         latter doesn't conform to the strict C standard due to
6631         overflow on signed char hosts.
6633         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
6634         to -qlanglvl=ansi.  We don't want to disable extensions.
6636 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
6638         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
6639         (Using Autotest, testsuite Scripts, Writing testsuite.at):
6640         Reword slightly to avoid some English-language problems noted
6641         by Ralf Wildenhues in:
6642         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
6644 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
6646         * NEWS: Add ^L above each release.
6648 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
6650         Fix documentation problems reported by Russ Boylan in
6651         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
6652         along with some nearby cruft.
6653         * doc/autoconf.texi (Libtool): Libtool can be used without
6654         Automake (not without Autoconf).
6655         (Introduction): Mention lists.gnu.org.
6656         * BUGS: Don't mention bugs.gnu.org.
6657         Remove mention of ancient libtool compatibility problem.
6658         * NEWS: Mention that bugs.gnu.org is kaput.
6659         * README: Likewise.  Mention where mailing list archives can be found.
6661 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
6663         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
6665 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
6667         * doc/autoconf.texi (Pretty Help Strings): Go back to
6668         single-quoting assignments to cache variables.
6670 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
6672         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
6673         with the examples; fix the bug in MY_ARG_WITH example reported
6674         by Alexandre Duret-Lutz.
6675         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
6676         expansion of $1 in the comment emitted to configure.
6678 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
6680         * doc/autoconf.texi (Pretty Help Strings): Fix typo
6681         in my editing of the previous patch.  Problem reported
6682         by Alexandre Duret-Lutz.
6684 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
6686         * doc/autoconf.texi (Autoconf Language): Explain that
6687         ``descriptions'' may not be double quotes.
6688         (Quotation Rule Of Thumb): Likewise.
6689         (Pretty Help Strings): Likewise; remove the wrong comment;
6690         simplify the examples and improve their quoting.
6692 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
6694         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
6695         the $1_found variable, don't test whether the file is executable;
6696         Both things are checked ...
6697         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
6698         the former ``test -f''.
6699         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
6701 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
6703         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
6704         use cp -R instead.
6706 2004-11-10  Derek R. Price  <derek@ximbiot.com>
6708         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
6709         limitations.  Reorder paragraphs for clarity.
6711 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
6713         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
6714         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
6715         variants", "Unix", and some related minor wording fixups.
6717         (Shellology, Special Shell Variables): Document that the Zsh
6718         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
6719         to Alexandre Duret-Lutz for this info.
6721 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
6723         * doc/autoconf.texi (One-Shot Macros): New node.
6725 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
6727         * doc/autoconf.texi (Function Portability): Fix misdescription
6728         of putenv.  Problem reported by Michael Wardle.
6730 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
6732         * doc/autoconf.texi (auindex): New macro.
6733         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
6734         Problem reported by Stepan Kasal.
6736 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
6738         Fix problems reported by Andreas Buening in:
6739         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
6740         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
6741         in test makefile.
6742         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
6743         readable; it's not true in OS/2-emx.
6745 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
6747         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
6748         "/usr/include", clear ac_x_includes instead of leaving it as "no"
6749         (trivial change).  Problem and patch reported by Andrew Church in:
6750         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
6752 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
6754         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
6755         three args in examples.  Problem reported by Frederik Fouvry in:
6756         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
6757         Also, fix some minor spacing and punctuation bugs.
6759 2004-09-02  Akim Demaille  <akim@epita.fr>
6761         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
6762         "case" to restore ordering.
6763         Reported by Stepan Kasal.
6765 2004-08-26  Akim Demaille  <akim@epita.fr>
6767         * doc/autoconf.texi: Minor typos and stylos.
6769 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
6771         * configure.ac (AC_INIT): Bump to 2.59c.
6773 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
6775         Version 2.59b.
6777         * README: Add advice about m4 1.4.2.
6779         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
6780         texinfo.tex for now (done by hand now).
6781         * Makefile.maint (wget_files, cvs_files):
6782         Remove ansi2knr.c; nobody uses it.
6783         (ansi2knr.c-url_prefix): Remove.
6784         (cvs-update): Fix test for failure.  I don't know why it ever
6785         worked...
6787         * doc/autoconf.texi: Update URLs, some of which went stale.
6788         Use @uref rather than @href.
6790         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
6791         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
6793         * config/config.guess, config/config.sub, config/elisp-comp,
6794         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
6795         doc/fdl.texi, doc/standards.texi: Sync with master copy.
6797         * NEWS, TODO, configure.ac, bin/autoscan.in,
6798         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
6799         doc/install.texi, lib/Autom4te/Configure_ac.pm,
6800         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
6801         lib/autoconf/programs.m4, lib/autoconf/status.m4,
6802         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
6803         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
6804         tests/tools.at, tests/torture.at:
6805         Use "file name" rather than "filename" or "path",
6806         to be consistent with the terminology of the GNU coding standards.
6808 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
6810         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
6811         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
6812         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
6813         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
6815         More fixes to support spaces in the name of the build directory.
6816         This isn't a complete fix but it's an improvement.
6818         * bin/autoconf.as (autom4te_options): New var.
6819         Use it instead of appending to AUTOM4TE, so that we can allow
6820         spaces in the build directory's absolute name.
6821         * bin/autoheader.in ($autoconf): Allow spaces in file names.
6822         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
6823         AT_CHECK_NOESCAPE): Likewise.
6824         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
6825         main program): Likewise.
6827 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6829         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
6830         From Ralf Corsepius in:
6831         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
6833 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
6835         * doc/autoconf.texi (Function Portability): Document isinf and
6836         and isnan.  From a suggestion by Kevin Ryde.
6838         * lib/Autom4te/General.pm (END): Return correct exit status even
6839         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
6841 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
6843         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
6844         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
6845         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
6847 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
6849         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
6850         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
6851         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
6852         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
6853         * lib/autom4te.in (Automake-preselections): Preselect
6854         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
6856 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
6858         * lib/autom4te.in (Automake-preselections): Preselect
6859         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
6860         trace them.
6862 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
6864         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
6865         Tru64.
6866         * doc/autoconf.texi (Shellology): Mention BIN_SH.
6867         Document problem with "`""`" in pdksh POSIX mode.
6869 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
6871         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
6872         with pdksh, too.  Problem reported by Patrick Welche via
6873         Gary V. Vaughan.
6874         * doc/autoconf.texi (Shellology): Note that set -o posix is
6875         useful for pkdsh, too.
6877 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
6879         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
6880         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
6881         Don't fail if ENV or BASH_ENV is readonly.
6882         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
6883         etc. are read only.  Problem reported by Ludovic Courtes.
6885 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
6887         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
6888         zsh, disable GLOB_SUBST to avoid backslash handling problems.
6889         (trivial change)
6891 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
6893         * doc/autoconf.texi (File System Conventions): Warn about
6894         names like "aux".  Problem reported by Eric Blake.
6896         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
6897         by zero instead of array size, so that we can use any arithmetic
6898         constant expression (instead of requiring an integer constant
6899         expression).  This allows us to test expressions like DBL_MAX <
6900         LDBL_MAX, which didn't conform to the C standard using the old
6901         method.
6902         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
6903         now that we can do floating-point tests at compile time.
6905 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
6907         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
6908         and LDBL_EPSILON, as the resulting expression isn't an
6909         integer constant expression and violates the C standard.
6910         Problem reported by Nelson H. F. Beebe.  Also, check
6911         for "L" suffix, and check that long double doesn't have
6912         worse range or precision than double, that mixed-mode
6913         arithmetic doesn't generate a diagnostic, that double
6914         constants fit in long double.
6916 2004-06-03  Kevin Ryde  <user42@zip.com.au>
6918         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
6919         malloc(0) and realloc(NULL,size).
6921         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
6922         Bob Proulx.
6924 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
6926         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
6927         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
6928         by Jim Meyering.
6930 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
6932         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
6933         can be rewritten using if-then-else.  Suggested by Bruno Haible.
6935 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
6937         * doc/autoconf.texi (testsuite Scripts): Fix typo.
6938         Problem reported by Stepan Kasal.
6940 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
6942         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
6943         change).  Patch reported by Ralf Wildenhues in
6944         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
6946         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
6947         function F exists if the compiler and linker let you compile an
6948         expression like (F != 0).  Recent versions of GCC optimize away
6949         the reference to F in that case, since every function address must
6950         be nonzero, so the link succeeds even if F does not exist.
6951         Problem reported by Manu in
6952         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
6954         * doc/autoconf.texi (Systemology): Standardize on the spelling of
6955         "Unix".  Many uses changed.
6956         (Limitations of Builtins): Explain better why the ! command isn't
6957         portable.
6959 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
6961         * lib/autom4te.in (Automake-preselections): Preselect
6962         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
6964 2004-05-19  Kevin Ryde  <user42@zip.com.au>
6966         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
6967         referencing AC_FUNC_STRERROR_R.
6969         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
6970         note pessimistic assumption when cross compiling.
6972 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
6974         * doc/autoconf.texi (Limitations of Make): Note that BSD make
6975         (until 2004) invoked subcommands with sh -e, contra POSIX.
6976         Reported by Kevin Ryde.
6978 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
6980         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
6981         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
6982         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
6983         `test -f "        /usr/bin/grep"', which _always_ failed.
6984         (AC_PROG_SED): Ditto bogus PATH fix.
6985         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
6986         requires that grep correctly supports _multiple_ `-e' options, rather
6987         than stating only that grep should accept `-e'.
6989 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
6991         Port to C99, which requires that 'exit' be declared.
6993         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
6994         to ensure that stdlib.h is included.
6995         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
6996         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
6997         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
6998         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6999         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
7000         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
7001         when using 'exit' in a test; C99 requires that 'exit' be declared.
7003 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
7005         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
7006         now prefers 'grep' implementations that accept -e.
7007         (Limitations of Usual Tools): Describe problems of traditional
7008         egrep and fgrep with long input lines, and of traditional grep
7009         with -e.
7010         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
7011         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
7012         All callers changed.  Append /usr/xpg4/bin to the PATH, for
7013         Solaris.
7014         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
7015         the user with complaints about multiple -e options.
7016         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
7017         Define it with AC_PROG_GREP.
7018         * configure.ac (AC_PROG_GREP): Add.
7019         * lib/freeze.mk (GREP): New macro.
7021 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
7023         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
7024         a possible candidate only after all others fail, rather than
7025         consulting it first.  This improves backward compatibility by
7026         better reflecting the way shell selection occurred in previous
7027         versions of Autoconf, and should help to avoid triggering latent
7028         problems in other packages, such as the one in Automake where zsh
7029         is not handled robustly:
7030         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
7031         Although it is not Autoconf's responsibility to work around
7032         problems in Automake, it nevertheless makes sense to avoid
7033         introducing unnecessary incompatibilites.
7035 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
7036             Gary V. Vaughan  <gary@gnu.org>
7038         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
7039         how deeply nested we are when a suitable tool is found, set the
7040         ac_path_TOOL_found flag.
7041         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
7042         nested we are in this macro.  Break out of all 3 nested loops if
7043         ac_path_TOOL_found is set.
7045 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
7047         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
7048         of the _AS_PATH_WALK loop too if GNU flavor is found.
7050 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
7052         * doc/autoconf.texi (Limitations of Make): Update documentation
7053         for `$<'.  New entry `Long lines', based on a report from Simon
7054         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
7055         paragraph about DJGPP, based on a mail from Richard Dawe.
7057 2004-04-20  Paul Eggert  <eggert@twinsun.com>
7059         * tests/c.at (C keywords): Don't assume that GCC supports
7060         "restrict" and "inline", as sufficiently-old GCC versions do not
7061         (also, GCC configured to be in pedantic C89 mode does not).
7062         Problem reported by Sumit Pandya in:
7063         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
7065         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
7066         consider -g to work if it generates warnings when plain compiles
7067         don't.  Problem reported by Braden McDaniel in:
7068         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
7070         * doc/autoconf.texi (Slashes): New section, to document a problem
7071         reported by Jim Meyering in:
7072         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
7074         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
7075         linker output files before linking, to work around IRIX 6 linker bug.
7076         Problem reported by Rainer Orth in:
7077         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
7079 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
7081         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
7082         best tool so far counter rely on the tool path variable name to
7083         avoid checks for one tool being affected by the results of running
7084         the length check on a previous tool.
7086         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
7087         match expression argument, as different greps have different
7088         regular expression flavours.
7089         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
7090         literals.
7091         (AC_PROG_EGREP): Pass 'EGREP$'.
7092         (AC_PROG_GREP): Pass 'GREP$'.
7094 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
7096         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
7097         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
7099 2004-03-29  Paul Eggert  <eggert@twinsun.com>
7101         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
7102         Types, Specific Compiler Characteristics, System Services,
7103         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
7104         etc. consistently instead of 'long', 'short', 'unsigned' etc.
7105         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
7106         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
7107         Likewise.
7108         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
7109         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
7110         AC_TYPE_OFF_T): Likewise.
7111         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
7112         Likewise.
7114         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
7115         pacify libtool 1.5.2.  Fix quoting problems in sed command.
7117 2004-03-28  Paul Eggert  <eggert@twinsun.com>
7119         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
7120         now defines HAVE_DECL_TZNAME if it is declared, when
7121         HAVE_STRUCT_TM_TM_ZONE is not defined.
7122         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
7123         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
7124         for HAVE_TZNAME.
7126 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
7128         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
7129         superfluous backslashing of quotes (") in sed expressions;
7130         thanks to Paul Eggert.
7132 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
7134         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
7135         Fortran compiler is ifort, also added pghpf; thanks to Nelson
7136         H. F. Beebe for the bug report.
7138 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
7140         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
7141         quoted -cmdline argument in Portland Group compiler (bug
7142         reported by Jeffrey J. Barteet).
7144 2004-03-25  Kevin Ryde  <user42@zip.com.au>
7146         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
7147         (Run Time): ... here, where it's now mentioned.
7149 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
7151         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
7152         inherits from language Autoconf-without-aclocal-m4.
7153         (Customizing autom4te): Adjust example; the cache must now be
7154         disabled for language Autoconf-without-aclocal-m4.
7156 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
7157             Nathanael Nerode  <neroden@twcny.rr.com>
7159         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
7160         AC_CHECK_TOOLS): Warn if a cross-tool is found without
7161         a prefix.
7162         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7163         AC_CHECK_TARGET_TOOLS): New macros.
7164         * doc/autoconf.texi (Generic Programs): Document
7165         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7166         AC_CHECK_TARGET_TOOLS, and warn for future changes
7167         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
7168         AC_CHECK_TOOLS.
7169         (Specifying Names): Document the reason for these future
7170         behavioral changes.
7171         * tests/mktests.sh: Do not generate tests for the
7172         new macros.
7173         * NEWS: Document these changes.
7175         * doc/autoconf.texi: Avoid macros with unbraced arguments,
7176         they make TeX hang up.
7178 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
7180         * NEWS: New macro AC_CHECK_ALIGNOF.
7181         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
7182         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
7183         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
7184         vowel.
7185         (AC_CHECK_ALIGNOF): New macro.
7186         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
7187         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
7188         those for sizeof.
7190 2004-03-03  Paul Eggert  <eggert@twinsun.com>
7192         * bin/Makefile.am (edit): Don't use $< in a context where
7193         POSIX doesn't require support for it.  Use $@.in instead.
7194         Problem reported by Anthony N. Frasso in
7195         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
7196         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
7198 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
7200         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
7201         from the next generation of Libtool.
7202         * lib/autom4te.in (Autoreconf-preselections): Ditto.
7204 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
7206         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
7207         is not always thread-safe.  Report from Nathanael Nerode.
7209 2004-02-18  Paul Eggert  <eggert@twinsun.com>
7211         Fix a dependencies problem, stemming from a Autoconf 2.59 build
7212         problem on QNX reported by Stephen Rasku in
7213         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
7215         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
7216         $(m4sh_m4f_dependencies); this removes a FIXME.
7217         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
7218         (MAINTAINERCLEANFILES): Split into pieces,
7219         one per related section.  Add $(srcdir)/wrapper.in.
7221 2004-02-09  Paul Eggert  <eggert@twinsun.com>
7223         * doc/autoconf.texi (Setting Output Variables): Emphasize that
7224         AC_SUBST provides no portable way to escape literal newlines.
7226         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
7227         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
7228         Darwin uses -lcrt2.o and there's little point to cataloging all
7229         the system variants.  Partial fix reported by Andreas Waechter in:
7230         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
7231         for bug reported by Nelson H. F. Beebe in:
7232         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
7234 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
7236         * doc/autoconf.texi (AU_DEFUN): Fix English,
7237         suggested by Paul Eggert.
7238         * lib/autoconf/autoupdate.m4: Correct reference to
7239         acobsolete.m4, suggested by Alexandre Duret-Lutz.
7241 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
7243         * bin/autoupdate.in: Define __file__ so that warnings
7244         refer to the correct file.
7245         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
7246         the behavior of the third argument.
7247         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
7248         correctly the behavior of the third argument.  Document
7249         what the three macros that AU_DEFUN defines do.  Fix
7250         warning message when the third argument includes $0
7251         (reported by Alexandre Duret-Lutz).
7253 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
7254             Eric Sunshine  <sunshine@sunshineco.com>
7255             Paul Eggert  <eggert@twinsun.com>
7257         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
7258         (AS_INIT): Output shell initialization there. Removed optional
7259         parameter. Expand _AS_SHELL_FN_SPY.
7260         (AS_INIT_WITH_SHELL_FN): Removed.
7261         (_AS_SHELL_FN_SPY): New macro.
7262         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
7263         macros.
7264         (AS_SHELL_SANITIZE): Remove loop to find better shell
7265         and documentation for the parameter.
7266         (_AS_DETECT_BETTER_SHELL): Move it here.
7267         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
7268         (_AS_RUN): Move it here, support testing with eval.
7269         (AS_REQUIRE_SHELL_FN): Require shell functions when
7270         it is used.
7271         (_AS_LINENO_WORKS): Put around braces, we do not
7272         trigger the bash bug anymore.
7273         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
7274         use AS_INIT_WITH_SHELL_FN.
7275         * bin/autoconf.in, tests/wrapper.in: Regenerated.
7277 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
7279         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
7280         * doc/autoconf.texi: Don't say that the third parameter
7281         is broken.
7282         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
7283         (AU_DEFUN): Honor the third parameter, create autoupdate
7284         macros with AU_DEFINE.
7285         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
7286         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
7287         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
7288         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
7289         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
7290         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
7291         AC_XENIX_DIR): Likewise.
7292         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
7293         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
7294         * lib/autoconf/status.m4: Remove FIXME.
7295         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
7296         that the macro is not present anymore in the updated
7297         configure.ac.
7298         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
7299         of autoupdate.
7301 2004-01-28  Paul Eggert  <eggert@twinsun.com>
7303         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
7304         copyright years.
7305         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
7306         2003 (except 1997) to the list of copyright years.  This undoes
7307         the 2003-05-22 change, which removed the older years from the list.
7308         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
7310 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
7311             Albert Chin-A-Young  <china@thewrittenword.com>
7313         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
7314         grep or ggrep program in PATH that accepts as long lines as
7315         possible.
7316         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
7317         AC_PROG_GREP.
7318         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
7319         egrep and fgrep respectively if $GREP -E/-F don't work.
7320         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
7321         _AC_PROG_GREP, and AC_PROG_SED.
7322         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
7323         longest input length accepted by a command.
7324         (AC_PROG_SED): Use it.
7325         * doc/autoconf.texi (Particular Programs): Document the changes.
7326         * NEWS: Updated.
7328 2004-01-27  Paul Eggert  <eggert@twinsun.com>
7330         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
7331         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7332         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
7333         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
7335         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
7336         bin/autoconf.in, config/Makefile.in, config/config.guess,
7337         config/config.sub, config/install-sh, config/mdate-sh,
7338         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
7339         lib/Makefile.in, lib/Autom4te/Makefile.in,
7340         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
7341         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
7342         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
7343         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
7344         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
7345         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
7346         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
7347         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
7348         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
7349         tests/actypes.at: Regenerate and/or sync with original
7350         sources.
7352 2004-01-26  Paul Eggert  <eggert@twinsun.com>
7354         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
7355         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
7356         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
7357         not <inttypes.h>.  Problem reported by Tim Mooney in
7358         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
7359         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
7360         Likewise.
7362         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
7363         otherwise "make check" fails because it forbids cmp (I guess
7364         because cmp treats files as binary on DOS-like systems).
7366         * tests/mktests.sh: Update copyright date to 2004, since some tests
7367         have changed in 2004.
7369 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
7371         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
7372         non-truncating sed or gsed program in PATH.
7373         * tests/acprograms.at: Add it.
7374         * doc/autoconf.texi (Particular Programs): Document it.
7375         * NEWS: Updated.
7377 2004-01-15  Paul Eggert  <eggert@twinsun.com>
7379         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
7380         -std1 disables some useful extensions on Tru64.  Problem reported
7381         by N. Lichtmaier in
7382         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
7384 2004-01-14  Paul Eggert  <eggert@twinsun.com>
7386         * doc/autoconf.texi (Programming in M4sh): Document that
7387         AS_MKDIR_P succeeds if the destination is a symbolic link
7388         to an existing directory.
7389         (Limitations of Usual Tools): Note that mkdir -p might not
7390         succeed on symlinks to directories.
7392 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
7394         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
7395         * bin/autoheader.in: Grammar fix in message.
7396         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
7397         Test for dir before calling mkdir -p.  (trivial changes)
7399 2004-01-13  Eric Blake  <ebb9@byu.net>
7401         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
7402         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
7404 2004-01-10  Jim Meyering  <jim@meyering.net>
7406         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
7408 2004-01-09  Paul Eggert  <eggert@twinsun.com>
7410         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
7411         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
7412         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
7413         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
7414         AC_COMPILE_IFELSE, since we now assume our caller invokes
7415         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
7416         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
7417         of AC_RUN_IFELSE; this avoids the warning mentioned above.
7418         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
7420 2004-01-07  Paul Eggert  <eggert@twinsun.com>
7422         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
7423         `"'...'"`, as it's confusing (and I suspect it may not work on
7424         some platforms).  The code was incorrect anyway, as it assumed
7425         that \$ evaluated to itself in that context.  Reported by
7426         Alexandre Duret-Lutz.
7428 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
7430         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
7431         and _LT_AC_TAGCONFIG.
7433 2004-01-06  Paul Eggert  <eggert@twinsun.com>
7435         * doc/autoconf.texi (One Macro Call): Fix an incorrect
7436         example, and add more examples.  Reported by Eric Sunshine.
7438 2004-01-05  Paul Eggert  <eggert@twinsun.com>
7440         * doc/autoconf.texi (Limitations of Usual Tools):
7441         Remove warning against "rm -fr" introduced yesterday; it
7442         was a false alarm.
7444         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
7445         autoscan, autoupdate, ifnames): Don't use chmod -w.
7446         * lib/Makefile.am (autom4te.cfg): Likewise.
7447         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
7448         "chmod -w".
7450 2004-01-04  Paul Eggert  <eggert@twinsun.com>
7451             Paolo Bonzini  <bonzini@gnu.org>
7453         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
7454         by doing lineno substitution only on lines containing "$LINENO".
7456 2004-01-04  Paul Eggert  <eggert@twinsun.com>
7458         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
7459         Use "rm -f" to remove conftest.sed, not plain "rm".
7460         Bug reported by David Relson in
7461         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
7463         * Makefile.am (autom4te-update):
7464         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
7465         * Makefile.maint (my-distcheck, do-po-update): Likewise.
7466         * doc/autoconf.texi (Guidelines): Likewise.
7467         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
7468         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
7469         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
7470         * lib/autotest/general.m4 (AT_INIT): Likewise.
7471         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
7472         * tests/Makefile.am (clean-local): Likewise.
7473         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
7474         srcdir): Likewise.
7475         * doc/autoconf.texi (Limitations of Usual Tools):
7476         Warn against "rm -fr".
7478 2004-01-03  Paul Eggert  <eggert@twinsun.com>
7480         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
7481         -c -o might not work.  From a suggestion by Kevin Ryde.
7482         (C Compiler, Generating Sources, Limitations
7483         of Usual Tools, Limitations of Make, Making testsuite Scripts):
7484         Don't put '-o' after non-options, as POSIX doesn't allow this.
7485         Mention that cc's name might be gcc or c89 or whatever.
7487 2004-01-04  Kevin Ryde  <user42@zip.com.au>
7489         * doc/autoconf.texi: Add various further index entries.
7491 2003-12-29  Paul Eggert  <eggert@twinsun.com>
7493         * bin/autoreconf.in (autoreconf_current_directory):
7494         Fix typo: mkdir without umask arg.
7496 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
7498         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
7499         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
7500         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
7501         explanation clearer.
7503 2003-12-24  Andreas Schwab  <schwab@suse.de>
7505         * doc/autoconf.texi (Default Includes): Fix misspelling of
7506         AC_INCLUDES_DEFAULT.
7508 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
7510         * configure.ac: Test if sh -n works.
7511         * configure: Regenerate.
7512         * tests/atlocal.in: Store the result here.
7513         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
7514         tools.at, looking in atlocal's ac_cv_sh_n_works instead
7515         of explicitly testing.
7516         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
7517         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
7518         * tests/tools.at (Syntax of the shell scripts): Simplify
7519         using AT_CHECK_SHELL_SYNTAX.
7520         (Syntax of the Perl scripts): Remove definition of
7521         AT_CHECK_PERL_SYNTAX.
7523 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
7525         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
7526         stderr to /dev/null.
7527         * bin/autoconf.in: Regenerate.
7528         * bin/wrapper.in: Regenerate.
7530 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
7532         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
7533         Extracted from AS_SHELL_SANITIZE.
7534         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
7535         macros.
7536         (AS_SHELL_SANITIZE): Move reinvocation code from
7537         _AS_LINENO_WORKS, use it to find out if shell
7538         functions work.
7539         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
7540         does not work.
7541         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
7542         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
7543         was called.
7544         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
7545         * bin/autoconf.in: Regenerate.
7546         * tests/wrapper.in: Regenerate.
7547         * tests/tools.at: Test the syntax of tests/autoconf
7548         and tests/testsuite.
7550 2003-11-24  Akim Demaille  <akim@epita.fr>
7552         * config/announce-gen (&print_locations, &print_signatures)
7553         (&sizes): New.
7554         Use them.
7555         No longer rely on Gnus to inline the list of signatures: compute
7556         them on the fly.
7558 2003-11-24  Akim Demaille  <akim@epita.fr>
7560         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
7561         override some files.
7562         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
7563         From Debian Autoconf 2.58.
7565 2003-11-24  Akim Demaille  <akim@epita.fr>
7567         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
7568         uses.
7569         From Debian Autoconf 2.58.
7571 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
7573         * TODO: Remove already done things.  Update the part about finding
7574         tools for the target.
7576 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
7578         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
7579         Make wording more consistent.
7580         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7581         Explain the transition better.
7582         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
7583         the transition better.
7585 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
7587         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
7588         parameter of AU_DEFUN.
7589         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
7590         (AU_DEFUN): Remove the third parameter, it was not used.
7591         Use AC_DEFUN directly, not AU_DEFINE.
7592         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
7593         the expanded body, consistently with other macros such as AC_USG.
7595 2003-11-17  Paul Eggert  <eggert@twinsun.com>
7597         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
7598         into the initial confdefs.h, to work around a bug in NextStep 3.3
7599         patch 3 reported by Eric Sunshine.
7601 2003-11-15  Kevin Ryde  <user42@zip.com.au>
7603         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
7604         than $target since the latter is not usual, add guidelines on when to
7605         use or not use the system type.
7607 2003-11-12  Derek Price  <derek@ximbiot.com>
7609         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
7610         typo misrepaired by an auto-spellcheck.
7612 2003-11-12  Akim Demaille  <akim@epita.fr>
7614         * bin/autoreconf.in (&parse_args): Don't call automake with
7615         --force-missing unless it actually supports it.
7616         From Debian #219336.
7618 2003-11-12  Akim Demaille  <akim@epita.fr>
7620         * configure.ac: Bump to 2.59a.
7621         Require 2.59.
7623 2003-11-06  Akim Demaille  <akim@epita.fr>
7625         Version 2.59.
7627 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
7629         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
7630         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
7631         and ac_abs_top_srcdir are absolute paths.
7632         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
7634 2003-11-05  Akim Demaille  <akim@epita.fr>
7636         * configure.ac: Bump to 2.58a.
7638 2003-11-05  Kevin Ryde  <user42@zip.com.au>
7640         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
7641         it provokes a warning from makeinfo about looking like a cross
7642         reference in info output.
7644         * doc/autoconf.texi (Function Portability): Add notes on signal
7645         handler return type, as per AC_TYPE_SIGNAL.
7647 2003-11-04  Akim Demaille  <akim@epita.fr>
7649         Version 2.58.
7650         * doc/standards.texi: Update from master.
7652         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
7654 2003-11-04  Akim Demaille  <akim@epita.fr>
7656         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
7657         computing the absolute path to d1 in the source hierarchy: it may
7658         not exist at all.  So don't cd into it.
7659         From Alexandre Duret-Lutz.
7660         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
7662         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
7663         From Paul Eggert, but named after Perl's IO::Spec->catfile.
7664         * doc/autoconf.texi (Programming in M4sh): Document.
7665         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
7667 2003-11-03  Pavel Roskin  <proski@gnu.org>
7669         * doc/autoconf.texi (Generic Structure Checks): Describe
7670         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
7672 2003-10-31  Akim Demaille  <akim@epita.fr>
7674         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
7675         (GNU Fortran): New.
7676         * doc/autoconf.texi (Language Choice): Document.
7677         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
7678         the current language is Fortran.
7680 2003-10-31  Akim Demaille  <akim@epita.fr>
7682         * bin/autom4te.in (&freeze): Use a less likely warning separator
7683         than `\n\n', so that `\n\n\n' is valid in warnings.
7684         Reported by Steve Huston.
7686 2003-10-28  Akim Demaille  <akim@epita.fr>
7688         * Makefile.cfg (local_updates, executable-update): Tweak to be
7689         robust to parallel makes.
7690         Suggested by Alexandre Duret-Lutz.
7692 2003-10-27  Akim Demaille  <akim@epita.fr>
7694         * Makefile.cfg (executable-update): New.
7695         (local_updates): Call it.
7697 2003-10-27  Akim Demaille  <akim@epita.fr>
7699         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
7700         Don't remove core.* as it may remove valid user files.
7701         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
7702         (AC_FUNC_UTIME_NULL): Likewise.
7704 2003-10-23  Akim Demaille  <akim@epita.fr>
7706         Version 2.57g.
7707         * config/config.guess, config/config.sub: Upgrade from masters.
7709 2003-10-23  Akim Demaille  <akim@epita.fr>
7711         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
7712         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
7713         hand...
7715 2003-10-23  Akim Demaille  <akim@epita.fr>
7717         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
7718         Don't forget to remove conftest.err.
7720 2003-10-23  Akim Demaille  <akim@epita.fr>
7722         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
7723         same object file in $LIBOBJS.
7724         Reported by Alexandre Duret-Lutz & Derek Robert Price.
7725         * doc/autoconf.texi (Generic Functions): Adjust.
7727 2003-10-20  Paul Eggert  <eggert@twinsun.com>
7729         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
7730         Use 'eval', so that the resulting configure scripts work even if
7731         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
7733 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
7735         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
7736         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
7737         (_AC_LINK_IFELSE): Check the werror flag.
7738         * doc/autoconf.texi (Generic Compiler Characteristics): Document
7739         AC_LANG_WERROR.
7740         * NEWS: Mention it.
7742 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
7744         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
7745         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
7746         override AC_LINK_IFELSE.
7748 2003-10-15  Paul Eggert  <eggert@twinsun.com>
7750         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
7751         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
7752         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
7753         Mention /usr/dt/bin/dtksh on Solaris.
7754         (Shell Substitutions): Warn about $((...)).
7755         (Parentheses): New section.
7757 2003-10-15  Kevin Ryde  <user42@zip.com.au>
7759         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
7760         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
7762 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
7764         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
7765         cross test.
7767 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
7769         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
7770         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
7772 2003-10-10  Andreas Schwab  <schwab@suse.de>
7774         * bin/autoheader.in: Avoid empty first line in --version and
7775         --help output.
7776         * bin/ifnames.in: Likewise.
7778 2003-10-09  Paul Eggert  <eggert@twinsun.com>
7780         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
7781         Issue a more-informative diagnostic.
7782         Problems reported by Eric Sunshine.
7784 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
7786         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
7787         -mGLOB_options_string stuff for Intel ifc, which can cause
7788         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
7789         pattern-matching instead of grep.
7791 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
7793         * doc/autoconf.texi: Document new FC Fortran macros.
7795 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
7797         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
7798         that future autopoint/aclocal/automake/autoreconf will be able
7799         to trace to find where to install local m4 macros.
7800         * doc/autoconf.texi (Input): Document it.
7801         * NEWS: Updated.
7803 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
7805         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
7806         -lcrtbegin.o to list of ignored flags and fix underquoting of
7807         -lcrt[01].o.
7809 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
7811         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
7812         cache variable instead of $G77 to decide whether to include -O2,
7813         since $G77 is specific to Fortran 77.
7815 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
7817         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
7818         free" flag.  Re-order flags tested into rough order of popularity.
7820 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
7822         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
7823         arguments so that it can be used with syntax identical to
7824         AC_PROG_F77, and so that we can more easily decide to
7825         remove/deprecate the DIALECT optional argument in the future if it
7826         proves troublesome.
7827         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
7828         non-freeform-supporting compilers.  Document freeform flags.
7830 2003-10-03  Akim Demaille  <akim@epita.fr>
7832         * configure.ac: Look for emacs, not macs.
7833         Reported by Eric Sunshine.
7835 2003-10-03  Akim Demaille  <akim@epita.fr>
7837         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
7838         * bin/autoreconf.in (autoreconf_current_directory): Create the
7839         AUX_DIR if needed, for sake of automake --add-missing etc.
7840         Suggested by Alexandre Duret-Lutz.
7842 2003-10-03  Akim Demaille  <akim@epita.fr>
7844         * configure.ac: Quotation and formatting changes.
7845         (EMACS): Don't set it if it is not recent enough to support
7846         autoconf-mode.el.
7847         From Eric Sunshine.
7849 2003-10-02  Akim Demaille  <akim@epita.fr>
7851         * bin/ifnames.in (&scan_file): Skip C++ comments.
7852         From Jeremy Yallop.
7854 2003-10-01  Pavel Roskin  <proski@gnu.org>
7856         * doc/autoconf.texi (Particular Structure Checks):
7857         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
7859 2003-10-01  Akim Demaille  <akim@epita.fr>
7861         Version 2.57f.
7863 2003-09-30  Paul Eggert  <eggert@twinsun.com>
7865         * lib/Autom4te/XFile.pm: Use Errno.
7866         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
7867         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
7869 2003-09-30  Akim Demaille  <akim@epita.fr>
7871         * config/announce-gen (&print_news_deltas): Extracted from...
7872         (&print_changelog_deltas): here.
7873         (&news_file): Rename as...
7874         (@news_file): this.
7876 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
7878         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
7879         have been created when invoking the compiler.
7880         * tests/fortran.at (GNU Fortran 77): Quote $G77.
7882 2003-09-29  Akim Demaille  <akim@epita.fr>
7884         Version 2.57e.
7886         * config/mkinstalldirs: Upgrade.
7888 2003-09-28  Paul Eggert  <eggert@twinsun.com>
7890         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
7891         Problem reported by Lars J. Aas in
7892         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
7893         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
7894         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
7895         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
7897 2003-09-26  Akim Demaille  <akim@epita.fr>
7899         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
7900         directory for AC_CONFIG_COMMANDS' first argument exists.
7901         This makes valid the invocation of _AC_SRCPATH that follows.
7902         Reported by Eric Sunshine.
7903         * doc/autoconf.texi (Configuration Commands): Adjust.
7905 2003-09-26  Akim Demaille  <akim@epita.fr>
7907         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
7908         Reported by Ralf Corsepius.
7910 2003-09-26  Akim Demaille  <akim@epita.fr>
7912         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
7913         arguments.
7914         Actually, use AU_ALIAS.
7915         From Bruno Haible.
7917 2003-09-26  Paul Eggert  <eggert@twinsun.com>
7919         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
7920         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
7921         Problem reported by Eric Sunshine in:
7922         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
7924 2003-09-26  Akim Demaille  <akim@epita.fr>
7926         The test suite are sometimes assigning timings incorrectly.
7927         Reported by Henk Krus.
7928         Diagnosed by Nicolas Joly.
7930         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
7931         AT_help_all.
7932         Instead of making AT_help a sequence of assignments to grow
7933         $at_help_all, just make AT_help_all be the growing contents of
7934         $at_help_all, and make a single assignment in...
7935         (AT_INIT): here.
7936         (at_times_skip): Flip the meaning and rename as...
7937         (at_times_p): this.
7938         (AT_INIT): When summarizing the test that ran, remove
7939         $at_times_file after use, and check it is present before trying to
7940         use it.
7942 2003-09-25  Akim Demaille  <akim@epita.fr>
7944         Version 2.57d.
7946         * bin/Makefile.am (edit): Handle '@configure_input@'.
7947         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
7948         (ifnames): chmod -w.
7949         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
7950         executables, not bin/ executables!  Otherwise all the magic needed
7951         to find non installed files is turned off.  This caused a failure
7952         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
7953         as found in its environment (sent by tests/autoreconf): pointing
7954         to bin/autom4te that could not find its files.
7955         * tests/mktests.sh: Force the replacement of generated files, for
7956         the sake of "mv" program that are interactive when overwriting a
7957         -w file.
7958         * config/install-sh: Upgrade from CVS Automake.
7960 2003-09-23  Paul Eggert  <eggert@twinsun.com>
7962         * doc/autoconf.texi (Limitations of Builtins): Document test -h
7963         versus test -L issues.
7965 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
7966             Paul Eggert  <eggert@twinsun.com>
7968         Trivial change to support GCC's configuration procedure.
7969         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
7970         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
7971         about inconsistency if the preprocessor is set to give errors for
7972         any warning.
7973         * doc/autoconf.texi (C Compiler Characteristics): Document this.
7975 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
7977         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
7978         and XFile.pm from Automake.
7979         * lib/Autom4te/XFile.pm: Update from Automake.
7981 2003-09-12  Akim Demaille  <akim@epita.fr>
7983         Version 2.57c.
7985 2003-09-12  Akim Demaille  <akim@epita.fr>
7987         * config/config.guess, config/config.sub, config/missing,
7988         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
7989         from masters.
7991 2003-09-12  Akim Demaille  <akim@epita.fr>
7993         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
7994         not asm/types.h.
7996 2003-09-11  Akim Demaille  <akim@epita.fr>
7998         * doc/autoconf.texi (Header Portability): linux/random.h.
7999         From Peter Hendrickson.
8001 2003-09-10  Akim Demaille  <akim@epita.fr>
8003         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
8004         willing to edit the output files.
8006 2003-09-10  Akim Demaille  <akim@epita.fr>
8008         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
8009         and AC_FC_FREEFORM.
8010         * tests/mktests.sh: Skip AC_FC_SRCEXT.
8011         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
8013 2003-09-09  Akim Demaille  <akim@epita.fr>
8015         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
8016         Reported by Gary Vaughan.
8017         * bin/autom4te.in (handle_m4): Likewise.
8019 2003-09-09  Akim Demaille  <akim@epita.fr>
8021         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
8022         trailing files.
8024 2003-09-07  Paul Eggert  <eggert@twinsun.com>
8026         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
8027         Improve the accuracy of the wording about obsolescence.
8028         From a suggestion by Ian Lance Taylor in
8029         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
8031 2003-09-05  Paul Eggert  <eggert@twinsun.com>
8033         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
8034         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
8036 2003-09-04  Akim Demaille  <akim@epita.fr>
8038         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
8039         AC_FUNC_WAIT3.
8041 2003-09-04  Akim Demaille  <akim@epita.fr>
8043         * bin/autom4te.in: Use &fatal where more appropriate than &error.
8044         (freeze): When exiting, use $exit_code.
8045         * lib/autoconf/fortran.m4: Comment changes.
8047 2003-09-04  Akim Demaille  <akim@epita.fr>
8049         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
8051 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
8053         Add support for newer Fortran dialects.  The F77 interface is
8054         unchanged, and continues to support Fortran 77.  New FC macros
8055         correspond to all the old F77 macros, with output variables FC,
8056         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
8057         available dialect, but older dialects can be specified.  There are
8058         new macros AC_FC_SRCEXT to set the source extension, and
8059         AC_FC_FREEFORM to accept free-form source files.
8061         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
8062         New macros.
8063         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
8064         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
8065         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
8066         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
8067         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
8068         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
8069         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
8070         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
8071         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
8072         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
8073         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
8074         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
8075         AC_FC_SRCEXT, AC_FC_FREEFORM):
8076         New macros.
8077         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
8078         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
8079         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
8080         Rewrite in terms of the above.
8081         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
8082         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
8083         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
8084         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
8086 2003-09-02  Paul Eggert  <eggert@twinsun.com>
8088         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
8089         Document problems with timestamp resolution that 'make', 'cp -p', and
8090         'touch -r' have.
8092 2003-08-27  Akim Demaille  <akim@epita.fr>
8094         * tests/m4sugar.at (cross_warning): Make sure to enable the
8095         output, so that we can track spurious m4sugar output.
8096         * tests/local.at: Require 2.57.
8097         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
8098         are defaulted by AT_CHECK anyway.
8099         Use AT_CHECK_AUTOM4TE.
8100         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
8101         missing dnl.
8103 2003-08-27  Akim Demaille  <akim@epita.fr>
8105         * bin/autoheader.in: Issue the "Using auxiliary..." message only
8106         when -Wobsolete is set.
8107         Set it on by default.
8108         Suggested by Klee Dienes.
8110 2003-08-27  Akim Demaille  <akim@epita.fr>
8112         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
8113         documentation.
8114         From Guido Draheim.
8116 2003-08-26  Akim Demaille  <akim@epita.fr>
8118         * doc/autoconf.texi (Output): Make clear that one can run code
8119         after AC_OUTPUT.
8121 2003-08-25  Akim Demaille  <akim@epita.fr>
8123         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
8124         CVS Bison.
8126 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
8128         * bin/autoreconf.in (parse_args): Do not pass --no-force to
8129         Automake versions prior to 1.8.
8131 2003-08-25  Akim Demaille  <akim@epita.fr>
8133         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
8134         From Ville Karaila.
8136 2003-08-24  Akim Demaille  <akim@epita.fr>
8138         * configure.ac: Bump to 2.57c.
8140 2003-08-22  Akim Demaille  <akim@epita.fr>
8142         Version 2.57b.
8144         * Makefile.cfg (local-checks-to-skip): New.
8145         * Makefile.maint (local-check): Rename as...
8146         (local-checks-available): this.
8147         (local-check): New.
8149         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
8150         * configure.ac: Require Automake 1.7.6.
8152 2003-08-22  Akim Demaille  <akim@epita.fr>
8154         Output stack traces in warnings.
8156         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
8157         Replace the former...
8158         (m4_warn): Pass the call stack to _m4_warn.
8159         * bin/autom4te.in: Adjust to output the call stack.
8160         * tests/m4sugar.at (m4@&t@_warn): Adjust.
8162 2003-08-22  Akim Demaille  <akim@epita.fr>
8164         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
8165         * bin/autom4te.in: Adjust.
8167 2003-08-21  Akim Demaille  <akim@epita.fr>
8169         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
8170         (&verbose): Remove.
8171         (&getopt): Adjust the note and verb channels, depending upon
8172         --verbose.
8173         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
8174         * bin/autoupdate.in: Adjust.
8175         Use &verb, not &verbose.
8177 2003-08-21  Akim Demaille  <akim@epita.fr>
8179         * bin/autoheader.in (&parse_args): Use &parse_warnings and
8180         &parse_WARNINGS.
8181         ($help): Use Autom4te::ChannelDefs::usage.
8182         * bin/autoscan.in: Use Autom4te::ChannelDefs.
8183         * lib/Autom4te/General.pm: Don't export error: you don't own it.
8185 2003-08-21  Akim Demaille  <akim@epita.fr>
8187         First stab at preserving warnings between calls to autom4te,
8188         including when the cache is used.
8190         There are still several issues: (i) there are too many runs of m4
8191         (one for include, one for warnings, and some more), (ii) warnings
8192         spreading on several lines are not handled gracefully, (iii) the
8193         code meant to have the call stack display for errors does not work
8194         (its handling should move from m4 to autom4te).
8196         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
8197         Use them.
8198         (@preselect): Add m4_warn.
8199         ($exit_status): Remove, use $exit_code.
8200         ($help): Use Autom4te::ChannelDefs::usage.
8201         (&handle_m4): No longer define the m4_warnings.
8202         At each run, extract and report the warnings.
8203         Always cache the result, including if the exit status is on
8204         failure, since if nothing changes, we should result in the same
8205         failure, hence we can use the cache.
8206         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
8207         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
8208         Remove.
8209         (m4_warn): Redefine as a do-nothing: it is its invocation that
8210         matters, as warnings are now reported via traces.
8211         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
8212         the contents of m4_warn: make it _call_ m4_warn, so that tracing
8213         the latter reveals calls to the former.
8215         Adjust the tests.
8217         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
8219 2003-08-21  Akim Demaille  <akim@epita.fr>
8221         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
8222         Use them.
8224 2003-08-21  Akim Demaille  <akim@epita.fr>
8226         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
8227         forward order.
8228         * lib/Autom4te/ChannelDefs.pm: Doc typos.
8229         (&parse_warnings): Accept a list of warning requests.
8230         (&usage): Return a string, not a side effect.
8231         (cross): New warning category.
8233 2003-08-21  Akim Demaille  <akim@epita.fr>
8235         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
8236         (&require_configure_ac): Accept an optional directory argument.
8237         ($configure_ac): Remove.
8238         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
8239         (&catfile): Remove.
8240         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
8241         * bin/autoscan.in: Adjust.
8243 2003-08-20  Akim Demaille  <akim@epita.fr>
8245         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
8246         Reported by Alexandre Duret-Lutz.
8248 2003-08-20  Akim Demaille  <akim@epita.fr>
8250         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
8251         * bin/autom4te: Adjust.
8252         In particular, be Autoconf tools are really silent when properly
8253         working, bind the verbosity of the 'note' channel to $verbose.
8254         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
8255         (&xsystem, &contents): Remove, since they are exported by...
8256         * lib/Autom4te/FileUtils.pm: this.
8257         More perldoc.
8258         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
8259         * lib/Autom4te/FileUtils.pm: here.
8261 2003-08-20  Akim Demaille  <akim@epita.fr>
8263         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
8264         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
8265         from CVS Automake.
8267 2003-08-20  Akim Demaille  <akim@epita.fr>
8269         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
8270         (autom4te-update): New.
8271         * Makefile.cfg (update): Bind autom4te-update.
8273 2003-08-19  Derek Price  <derek@ximbiot.com>
8275         * lib/autotest/general.m4: Comment various HELP_* diversions.
8276         (PARSE_ARGS_BEGIN): New section for option parsing related
8277         initialization.
8278         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
8279         package specific options and associated help.
8281 2003-08-19  Akim Demaille  <akim@epita.fr>
8283         * config/announce-gen, Makefile.cfg: New.
8284         * Makefile.am: Adjust.
8285         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
8287 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
8289         * lib/autom4te.in (Automake-preselections): Preselect
8290         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
8291         and m4_sinclude.
8293 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
8295         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
8296         (Autoconf-without-aclocal-m4): ... this new language.
8297         * doc/autoconf.texi (autom4te Invocation): Mention
8298         Autoconf-without-aclocal-m4.
8300 2003-08-18  Derek Price  <derek@ximbiot.com>
8302         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
8303         RUN-IF-PASS optional arguments.
8305 2003-08-18  Derek Price  <derek@ximbiot.com>
8307         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
8309 2003-08-16  Derek Price  <derek@ximbiot.com>
8311         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
8312         STDOUT & STDERR arguments.
8314 2003-08-14  Derek Price  <derek@ximbiot.com>
8316         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
8317         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
8318         shorter column three.  Add DESCRIPTION to log file content.
8320 2003-08-13  Derek Price  <derek@ximbiot.com>
8322         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
8323         output.
8325 2003-08-12  Derek Price  <derek@ximbiot.com>
8327         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
8328         (AT_CHECK_NOESCAPE): Move core functionality to...
8329         (_AT_CHECK): ...this new macro.
8331 2003-08-07  Derek Price  <derek@ximbiot.com>
8333         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
8334         (AT_CHECK_NOESCAPE): ...to this new macro.
8336 2003-07-31  Paul Eggert  <eggert@twinsun.com>
8338         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
8339         in Bash 2.01.  Problem reported by Brian Gough in
8340         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
8342 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
8344         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
8345         -lcrt1.o, for OS X.  (trivial change)
8347 2003-07-07  Paul Eggert  <eggert@twinsun.com>
8349         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
8350         inside '#ifndef __cplusplus'.  Problem reported by
8351         Bob Friesenhahn.
8353 2003-07-06  Bill Clarke  <llib@computer.org>
8355         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
8356         'long', not 'int', for benefit of Sun's recent C++ compilers
8357         (trivial change).  See:
8358         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
8359         (This really should be 'intptr_t', not 'long', but that would
8360         take more work.)
8362 2003-06-25  Akim Demaille  <akim@epita.fr>
8364         * lib/Makefile.am (autom4te.cfg): Make it read only.
8365         Depend on Makefile since it contains substitutions.
8366         From Paolo Bonzini.
8367         * lib/autom4te.in (args): Add local.at? for Autotest args.
8368         This change was made on autom4te.cfg which is generated.
8369         Reported by Raja R. Harinath.
8371 2003-06-25  Akim Demaille  <akim@epita.fr>
8373         * doc/autoconf.texi (Header Portability): sys/mount.h.
8374         From Gareth McCaughan.
8376 2003-06-23  Akim Demaille  <akim@epita.fr>
8378         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
8379         not all of them.  This fixes 1. the fact that when testing
8380         Autoconf there are many many config.log, 2. the incorrect use of
8381         top_srcdir to find config.log.
8382         Don't mix the detailed output of failed test with the summary of
8383         failures.  Rather, append detailed log afterwards.
8385 2003-06-23  Akim Demaille  <akim@epita.fr>
8387         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
8388         always run: output config.log on $at_group_log.
8390 2003-06-23  Akim Demaille  <akim@epita.fr>
8392         * tests/torture.at (#define header templates): Don't use quotes in
8393         C++ comments as it puzzles Emacs' sh font-lock-mode.
8395 2003-06-23  Akim Demaille  <akim@epita.fr>
8397         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
8398         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
8399         * tests/atspecific.m4: Rename as...
8400         * tests/local.at: This.
8401         * tests/suite.at: Move the globals into...
8402         * tests/local.at: here.
8403         * tests/Makefile.am: Adjust.
8404         * doc/autoconf.texi (testsuite Scripts): Adjust.
8406 2003-06-21  Kevin Ryde  <user42@zip.com.au>
8408         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
8409         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
8410         ensuring we add -std1 for full-ANSI.
8412         * doc/autoconf.texi (hdrindex): New macro.
8413         Add index entries for portability of various standard header files.
8415 2003-06-20  Akim Demaille  <akim@epita.fr>
8417         * configure.ac: Bump to 2.57b.
8419 2003-06-20  Akim Demaille  <akim@epita.fr>
8421         Version 2.57a.
8423 2003-06-20  Akim Demaille  <akim@epita.fr>
8425         * bin/autom4te.in: Don't rely on $HOME being defined.
8426         Reported by Marc Espie as PR/233.
8428 2003-06-20  Akim Demaille  <akim@epita.fr>
8430         * lib/autotest/general.m4: Use at_times_file only if used.
8431         From Nicolas Joly.
8433 2003-06-20  Akim Demaille  <akim@epita.fr>
8435         * config/config.guess, config/config.sub, config/elisp-comp,
8436         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
8437         Update from masters.
8439 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
8441         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
8442         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
8443         (TEST_SCRIPT): New diversion.
8444         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
8445         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
8446         (AT_INIT): Support for expected failures.
8448 2003-06-02  Akim Demaille  <akim@epita.fr>
8450         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
8451         changes.
8452         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
8453         Autoconf nor Automake.
8454         (&contents): New, from Automake.
8455         PODify.
8457 2003-05-28  Paul Eggert  <eggert@twinsun.com>
8459         * NEWS, doc/autoconf.texi (Particular Functions),
8460         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
8461         is the inverse of localtime.
8463 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
8465         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
8466         (handle_exec_errors): New function.  Work around $! being
8467         altered by WEXITSTATUS.
8468         (xqx, xsystem): Use handle_exec_errors.
8470 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
8472         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
8473         Do not call `_exit()', simply modify `$?'.
8474         (xsystem): Reset $! before running system, and check it afterward.
8475         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
8476         63 for version mismatches.
8478 2003-05-23  Akim Demaille  <akim@epita.fr>
8480         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
8481         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
8482         the middle of a line).
8483         * lib/m4sugar/m4sugar.m4: Likewise.
8484         Remove useless spaces in comments.
8486 2003-05-23  Akim Demaille  <akim@epita.fr>
8488         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
8489         exit 63, so that we (or Automake's "missing") can tell the
8490         difference with a plain failure.
8491         * doc/autoconf.texi (Notices): Adjust.
8493 2003-05-23  Akim Demaille  <akim@epita.fr>
8495         * Makefile.am, bin/Makefile.am, config/Makefile.am,
8496         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
8497         White spaces cleanup.
8499 2003-05-22  Jim Meyering  <jim@meyering.net>
8500             Paul Eggert  <eggert@twinsun.com>
8502         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
8503         Remove `#include <stdlib.h>' from the list; we should never
8504         make confdefs.h include <stdlib.h> or <cstdlib>, because the
8505         resulting namespace pollution would cause other tests to fail.
8506         Configure scripts run with some older versions of g++ and HP's
8507         aCC would fail due to such an #include.  Problems reported by
8508         Matthew Mueller in <http://bugs.debian.org/120704> and by
8509         Keith Bostic in
8510         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
8511         In the test, use the test declaration before including <stdlib.h>,
8512         as that's closer to how it'll be used.
8514 2003-05-23  Akim Demaille  <akim@epita.fr>
8516         * doc/autoconf.texi (Header Portability): ucred.h.
8517         From Ian Redfern.
8519 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
8521         Overhaul Autotest's logging: generate separate log files
8522         in testsuite.dir/NNN/testsuite.log, and append them to
8523         testsuite.log instead of re-running the test verbosely.
8525         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
8526         file descriptor, write 0 to at_status_file instead of setting
8527         at_status=0, initialize some new variables (at_status_file,
8528         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
8529         to rerun the tests, instead append the at_group_log to the
8530         at_suite_log when a test fails.
8531         (AT_SETUP): pipe the test case's output into at_tee_pipe,
8532         with the AS_MESSAGE_LOG_FD redirected to stdout.
8533         (AT_CLEANUP): save the output status in $at_status_file
8534         and restore it, redirect the AS_MESSAGE_LOG_FD back to
8535         its original place.
8536         (AT_CHECK): since tests are run with a redirected stdout,
8537         and used to be re-run in verbose mode, turn some $at_verbose
8538         into echo, and don't redirect the output of testing stdout
8539         and stderr.
8541         * lib/autotest/autoconf.texi (testsuite Scripts): Update
8542         the name of the debugging directory and information about
8543         its contents.
8545 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
8547         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
8548         parameter.
8550 2003-05-22  Akim Demaille  <akim@epita.fr>
8552         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
8553         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
8554         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
8555         * lib/autoconf/status.m4: Fix and adjust copyright notices.
8557 2003-05-22  Akim Demaille  <akim@epita.fr>
8559         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
8560         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
8561         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8562         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
8563         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
8564         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
8565         * lib/autoconf/status.m4, lib/autoconf/types.m4,
8566         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
8567         * tests/atspecific.m4, tests/base.at, tests/compile.at,
8568         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
8569         * tests/tools.at, tests/torture.at:
8570         Whitespace clean up.
8571         Suggested by Jim Meyering.
8573 2003-05-22  Akim Demaille  <akim@epita.fr>
8575         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
8576         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
8577         Reported by Jim Meyering.
8579 2003-05-22  Akim Demaille  <akim@epita.fr>
8581         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
8582         Add AC_HELP_STRING  to the obsolete macros section.
8583         Typos.
8584         Use '@.' for sentences that ended in a capital letter.
8585         From Art Haas.
8587 2003-05-22  Akim Demaille  <akim@epita.fr>
8589         * config/config.guess, config/config.sub, config/elisp-comp,
8590         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
8591         * config/texinfo.tex, doc/standards.texi: Update from masters.
8593 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
8595         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
8596         it to eval.
8598 2003-05-21  Akim Demaille  <akim@epita.fr>
8600         * bin/autoupdate.in ($m4): Fix quotation.
8601         Reported by Martin Mokrejs.
8603 2003-05-19  Paul Eggert  <eggert@twinsun.com>
8605         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
8606         Remove non-ASCII characters.
8608 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
8610         * tests/semantics.at (AC_SEARCH_LIBS): New test.
8611         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
8612         AC_CHECK_HEADERS_NEW): New tests.
8614 2003-05-17  Akim Demaille  <akim@epita.fr>
8616         * lib/autoconf/functions.m4: Use the default includes so that
8617         memcmp be declared before being tested.
8618         Reported by Sander Niemeijer.
8619         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
8620         * doc/autoconf.texi (Default Includes): Document
8621         AC_INCLUDES_DEFAULT.
8623 2003-05-17  Akim Demaille  <akim@epita.fr>
8625         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
8626         * doc/autoconf.texi (Obsolete Macros): Adjust.
8627         Reported by Werner LEMBERG and Debian Bug 190886.
8629 2003-05-16  Akim Demaille  <akim@epita.fr>
8631         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
8632         user name space clashes.
8633         Reported by Bruno Haible.
8635 2003-05-16  Akim Demaille  <akim@epita.fr>
8637         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8638         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
8639         them uniform, and more robust to Perl special characters.
8640         Reported by Martin Mokrejs.
8642 2003-05-14  Akim Demaille  <akim@epita.fr>
8644         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
8646 2003-05-14  Akim Demaille  <akim@epita.fr>
8648         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
8649         linux/irda.h.
8651 2003-05-12  Akim Demaille  <akim@epita.fr>
8653         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
8654         message.
8655         From Matthias Andree.
8657 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
8659         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
8660         and truncate.
8662 2003-05-06  Akim Demaille  <akim@epita.fr>
8664         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
8665         longer updates aclocal.m4 if useless, (ii) if a file m4_included
8666         by aclocal.m4 is changed it might require the importing of another
8667         m4 extension file, i.e., aclocal must be run.
8669         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
8670         (&parse_args): Use --force with aclocal if required and supported.
8671         (&autoreconf_current_directory): Use &run_aclocal.
8673 2003-05-06  Akim Demaille  <akim@epita.fr>
8675         Lock autom4te's cache.
8677         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
8678         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
8679         argument instead of a file name, so that the request file remains
8680         open during the whole autom4te run.
8681         ($icache_file): New.
8682         (&freeze): Lock the $icache_file.
8684 2003-04-29  Derek Price  <derek@ximbiot.com>
8686         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
8687         seperator with m4_append_uniq().  It doesn't work.
8688         (AT_CLEANUP): Add `;' to end of at_help_all.
8689         (AT_INIT): Allow --keywords to be specified more than once.  When
8690         grepping $at_help_all for keywords, use the field and keyword
8691         seperators to ensure a complete keyword match.  Alter at_prev handling
8692         to support the new --keywords behavior.
8694 2003-04-27  Karl Berry  <karl@freefriends.org>
8696         * doc/autoconf.texi: Make the dir entries in the autoconf manual
8697         align better with others.  I also made some of the individual
8698         entries on one line, for brevity and to make it easier for me to
8699         sort my dir-example file in the Texinfo distribution :).
8701 2003-04-12  Jim Meyering  <jim@meyering.net>
8703         * NEWS: Mention the new macro.
8704         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
8705         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
8706         * tests/c.at: Test AC_C_RESTRICT.
8707         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
8709 2003-04-08  Akim Demaille  <akim@epita.fr>
8711         * bin/ifnames.in: Skip C++ comments.
8712         From Jeremy Yallop.
8714 2003-04-08  Akim Demaille  <akim@epita.fr>
8716         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
8717         From Ilya Zakharevich.
8719 2003-04-08  Akim Demaille  <akim@epita.fr>
8721         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
8722         net/if.h, stdlib.h.
8724 2003-04-01  Derek Price  <derek@ximbiot.com>
8726         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
8727         from Akim's checkin of 2003-03-29.
8729 2003-04-01  Derek Price  <derek@ximbiot.com>
8731         * tests/torture.at (Configuring subdirectories): Add missing
8732         close-quote for Akim's change from 2003-03-28.
8734 2003-04-01  Akim Demaille  <akim@epita.fr>
8736         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
8737         (AC, AT, MS): these.
8738         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
8739         New.
8740         Use them.
8741         * doc/Makefile.am (CLEANFILES): Adjust.
8742         (TEXI2DVI): Make it --batch.
8744 2003-03-31  Derek Price  <derek@ximbiot.com>
8746         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
8747         which removed the main loop.
8748         Thanks to Akim Demaille.
8750 2003-03-29  Akim Demaille  <akim@epita.fr>
8752         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
8753         that starts a GUI.
8754         From Ilya Zakharevich.
8756 2003-03-29  Akim Demaille  <akim@epita.fr>
8758         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
8759         documentation to read is Autoconf's.
8760         Suggested by Paul Eggert.
8762 2003-03-28  Akim Demaille  <akim@epita.fr>
8764         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
8765         reading the section "Present But Cannot Be Compiled" when the
8766         header causes problems.
8768 2003-03-28  Akim Demaille  <akim@epita.fr>
8770         * tests/torture.at (Configuring subdirectories): Require aclocal
8771         1.4, otherwise the test fails, as it does support configure.ac.
8772         This fixes the "test 40 failed" bug reports.
8774 2003-03-28  Akim Demaille  <akim@epita.fr>
8776         * doc/autoconf.texi (C Compiler): `#line' portability.
8777         From Paul Eggert and Nelson H. F. Beebe.
8779 2003-03-27  Derek Price  <derek@ximbiot.com>
8781         * lib/autotest/general.m4: Eliminate main loop and reorganize test
8782         layout in order to allow scripting around test groups.
8784 2003-03-27  Derek Price  <derek@ximbiot.com>
8786         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
8787         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
8788         use new diversions in preparation for accepting new arguments and
8789         allowing scripting around tests.
8790         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
8792 2003-03-26  Derek Price  <derek@ximbiot.com>
8794         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
8795         obsolete AC_HELP_STRING.
8796         (AC_HELP_STRING): AU_DEFUN to...
8797         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
8798         * tests/m4sh.at (AS_HELP_STRING): New test.
8800         * tests/acgeneral.at: Regenerated.
8802 2003-03-26  Derek Price  <derek@ximbiot.com>
8804         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
8805         sense.  Verbosify the diversion definitions comment.
8807 2003-03-26  Derek Price  <derek@ximbiot.com>
8809         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
8810         AS_PREPARE.
8812 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
8814         * doc/autoconf.texi (Present But Cannot Be Compiled):
8815         Grammar fixes and minor rewording. (trivial change)
8817 2003-03-06  Paul Eggert  <eggert@twinsun.com>
8819         Work around a problem noted by Nelson H. F. Beebe with coreutils
8820         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
8821         2002/05/09) rejects '#line 32768 "configure"' because the line
8822         number overflows.
8823         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
8824         #line directives.
8825         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
8826         * doc/autoconf.texi (Generating Sources): Document this.
8828 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
8830         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
8831         file name for the m4 program, when it has an "exe" file extension.
8832         DJGPP's error messages include the error code in brackets -
8833         remove the error code during normalization.
8835 2003-02-28  Akim Demaille  <akim@epita.fr>
8837         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
8839 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
8841         * doc/autoconf.texi (Limitations of Make): Remove the section
8842         about `$<' in inference rules, it was a bogus interpretation of
8843         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
8844         Tru64 make in the "target lookup" section.
8845         (Automake): Automake 1.5+ no longer requires special tools to be
8846         present on the developer's host.
8848 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
8850         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
8851         to a shell that can handle redirection or quoting correctly.
8852         Override SHELL with the shell detected by configure.
8853         Use of $^O suggested by Tim van Holder.
8854         * bin/autom4te.in (BEGIN): Likewise.
8855         * bin/autoreconf.in (BEGIN): Likewise.
8856         * bin/autoscan.in (BEGIN): Likewise.
8857         * bin/autoupdate.in (BEGIN): Likewise.
8858         * bin/ifnames.in (BEGIN): Likewise.
8860         * bin/ifnames.in: Add final newline to help and version messages.
8862         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
8863         to cope with DOS-style absolute paths, when constructing
8864         ${ac_make}.
8866         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
8867         When constructing paths with IFS=:, quote the path. If we're
8868         constructing a DOS-style absolute path, we don't want to split it
8869         on the colon.
8871         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
8872         in description.
8874 2003-02-25  Pavel Roskin  <proski@gnu.org>
8876         * bin/autoheader.in: Add missing newline when printing
8877         suggestion how change AC_DEFINE call.
8879 2003-02-24  Paul Eggert  <eggert@twinsun.com>
8881         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
8882         2002-09-01 patch by replacing "test -n" with "test -z".
8883         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
8884         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
8886         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
8887         to fix a mismatch between example and discussion.
8889 2003-02-24  Kevin Ryde  <user42@zip.com.au>
8891         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
8892         format starting with "-".
8894 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
8896         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
8897         is not portable inside Makefile.
8899 2003-02-20  Akim Demaille  <akim@epita.fr>
8901         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
8902         compiler says yeah, but preproc says nope, compiler is right.
8903         Conversely, prompt the reader to send a bug report to the
8904         maintainers of the package, not of Autoconf.
8906 2003-02-20  Klee Dienes  <kdienes@apple.com>
8908         * bin/autoreconf.in (autoreconf_current_directory): Properly
8909         handle an empty aclocal.m4.
8911 2003-02-20  Akim Demaille  <akim@epita.fr>
8913         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
8914         $ac_prefix_program.
8915         From Larry Jones.
8917 2002-12-23  Paul Eggert  <eggert@twinsun.com>
8919         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
8920         innocuous variant befor including <limits.h> or <assert.h>.  This
8921         works around a bug reported by Albert Chin: HP-UX 11i
8922         (and earlier versions) have a <limits.h> that declares
8923         gettimeofday and many other functions.
8925 2002-12-03  Paul Eggert  <eggert@twinsun.com>
8927         Version 2.57.
8929         * NEWS, configure.ac: Update version.
8931         * doc/fdl.texi: Upgrade to FDL version 1.2.
8933         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
8934         nontrivially in main's body, so that f's external declaration is
8935         not optimized away in AIX.  This should fix the bug reported by
8936         Martin Frydl in
8937         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
8939         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
8940         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
8941         defined, to support freestanding compilers.  This should fix the
8942         bug reported by Momchil Velkov in
8943         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
8945         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
8946         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
8947         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
8948         by Simon Josefsson in
8949         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
8951         * Makefile.maint (www-gnu): New macro.
8952         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
8953         the location has moved.
8955 2002-12-02  Martin Frydl  <martin@systinet.com>
8957         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
8958         \(.*\) match is too long and there is something more to be checked.
8959         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
8961 2002-11-15  Akim Demaille  <akim@epita.fr>
8963         Version 2.56.
8965         * config/install-sh: chmod +x.
8966         From Paul Eggert.
8967         * config/move-if-change: Indenting changes.
8968         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
8969         * configure.ac (AM_INIT_AUTOMAKE): here.
8970         Require 1.7.1.
8972 2002-11-14  Akim Demaille  <akim@epita.fr>
8974         Version 2.55.
8976         * config/config.guess, config/config.sub, config/install-sh:
8977         Update from masters.
8979 2002-11-14  Akim Demaille  <akim@epita.fr>
8981         * Makefile.maint: Sync with Bison, i.e.:
8982         (po-check): Scan .l and .y files instead of the
8983         .c and the .h files that they generate.  This fixes the bug
8984         reported by Tim Van Holder in:
8985         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
8986         Look for N_ as well as for _.  Try to avoid matching #define for
8987         N_ and _.
8988         From Paul Eggert.
8990 2002-11-14  Akim Demaille  <akim@epita.fr>
8992         * doc/autoconf.texi (C Compiler): Compiling several files at once.
8993         From Paul Eggert and Albert Chin-A-Young.
8995 2002-11-14  Akim Demaille  <akim@epita.fr>
8997         * doc/autoconf.texi (C Compiler): Solitary backslashes.
8998         From Paul Eggert and Albert Chin-A-Young.
9000 2002-11-14  Kevin Ryde  <user42@zip.com.au>
9002         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
9003         than assigning in main, to avoid HP cc +O3 optimizing it away.
9005 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
9007         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
9008         option.  Process --recheck after parsing all options.  Pass -q
9009         option to configure on --recheck.
9010         (AC_OUTPUT): Pass -q from configure to config.status.
9011         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
9012         arguments to record.
9013         * doc/autoconf.texi (config.status Invocation): Document
9014         config.status -q option.
9016 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
9018         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
9019         Makefile.in if Makefile.am exists.
9020         (output): Strip `.am' from Makefiles.  Don't
9021         output AC_CONFIG_FILES if no Makefiles were found.
9023 2002-11-07  Akim Demaille  <akim@epita.fr>
9025         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
9026         (local_updates): New.
9027         * Makefile.maint: Update, from CVS Bison.
9028         (local_updates): New.
9030 2002-11-06  Akim Demaille  <akim@epita.fr>
9032         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
9033         declaration in extern "C" too.
9034         Reported by Roberto Bagnara.
9036 2002-11-06  Akim Demaille  <akim@epita.fr>
9038         * tests/torture.at (Configuring subdirectories): Don't use grep
9039         -w.
9040         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
9041         Reported by Ezra Peisach.
9043 2002-11-05  Akim Demaille  <akim@epita.fr>
9045         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
9046         Remove.
9047         We _have_ to stop using the old compatibility scheme that tried to
9048         avoid useless backslashes because Libtool 1.4.3 contains a
9049         AC_DEFINE([error_t], [int],
9050         [Define to a type to use for \`error_t' if it is not
9051         otherwise available.])
9052         We _have_ to quote the single quote and backslashes with \.  The
9053         old compatibility scheme saw that ` was backslashed, and therefore
9054         did not quote the single quote.  Hence before this patch, Autoconf
9055         was not compatible with Libtool.
9057 2002-11-04  Paul Eggert  <eggert@twinsun.com>
9059         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
9060         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
9061         LC_NAME, LC_PAPER, LC_TELEPHONE.
9062         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
9064 2002-11-04  Akim Demaille  <akim@epita.fr>
9066         Version 2.54c.
9068         * Makefile.maint (update, cvs-update, po-update, do-po-update):
9069         New.
9070         * config/texinfo.tex: Update.
9072 2002-11-03  Akim Demaille  <akim@epita.fr>
9074         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
9075         from...
9076         (&autoreconf): here.
9077         ($help, $make, &parse_args, &autoreconf_current_directory):
9078         Support -m/--make.
9079         * doc/autoconf.texi (autoreconf Invocation): Adjust.
9081 2002-10-31  Bruno Haible  <bruno@clisp.org>
9083         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
9084         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
9085         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
9086         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
9087         to ac_cv_func_realloc_0_nonnull.
9088         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
9090 2002-10-31  Akim Demaille  <akim@epita.fr>
9092         The test suite was no longer checking for trailing envvars and files.
9094         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
9095         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
9097 2002-10-31  Akim Demaille  <akim@epita.fr>
9099         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
9100         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
9101         Make variable, not a shell variable.
9102         Suggested by Bruno Haible.
9104 2002-10-31  Akim Demaille  <akim@epita.fr>
9106         * bin/autom4te.in (load_configuration): Reject #args out of any
9107         language.
9109 2002-10-31  Akim Demaille  <akim@epita.fr>
9111         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
9112         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
9113         (_AC_RUN_IFELSE): Use it.
9114         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
9115         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
9116         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
9117         inline it.
9119 2002-10-30  Akim Demaille  <akim@epita.fr>
9121         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
9122         * doc/autoconf.texi (autom4te Invocation): Adjust.
9123         Suggested by Tim van Holder.
9125 2002-10-29  Paul Eggert  <eggert@twinsun.com>
9127         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
9128         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
9129         Problem reported by Bruno Haible.
9131 2002-10-29  Akim Demaille  <akim@epita.fr>
9133         * doc/autoconf.texi (Header Templates): Put also in words what the
9134         pictures says to assist free style readers.
9135         (Customizing autom4te): s/--cache=/--cache /.
9137 2002-10-29  Akim Demaille  <akim@epita.fr>
9139         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
9140         sys/wait.h.
9141         sparc_address_test returns void.
9142         Use it with an argument, as prototyped.
9143         From Bruno Haible.
9145 2002-10-29  Akim Demaille  <akim@epita.fr>
9147         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
9148         configure.in, not configure.ac.
9149         Reported by Bruno Haible.
9151 2002-10-29  Akim Demaille  <akim@epita.fr>
9153         * tests/torture.at (Deep Package): New test.
9154         (Configuring subdirectories): Don't use a testSubDir as Autotest
9155         now does it itself.
9157 2002-10-29  Akim Demaille  <akim@epita.fr>
9159         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
9160         * doc/autoconf.texi (Invoking autom4te): Rename as...
9161         (autom4te Invocation): this, for consistency with the other nodes.
9163 2002-10-29  Akim Demaille  <akim@epita.fr>
9165         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
9166         Reported by Ralf Corsepius.
9168 2002-10-29  Akim Demaille  <akim@epita.fr>
9170         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9171         characters is a back as an `obsolete' warning now.
9172         Reported by Ralf Corsepius.
9174 2002-10-28  Akim Demaille  <akim@epita.fr>
9176         * configure.ac: Bump to 2.54c.
9178 2002-10-28  Akim Demaille  <akim@epita.fr>
9180         Version 2.54b.
9182         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
9184 2002-10-28  Akim Demaille  <akim@epita.fr>
9186         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
9187         m4 executable names, and different GNU M4 version.
9188         Reported by Ezra Peisach and Paul Jarc.
9190 2002-10-27  Akim Demaille  <akim@epita.fr>
9192         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
9193         AC_RUN_IFELSE.
9195 2002-10-27  Akim Demaille  <akim@epita.fr>
9197         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
9198         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
9199         Die when a simple Fortran program cannot be compiled.
9200         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
9201         Issue a warning if no function is given.
9203 2002-10-27  Akim Demaille  <akim@epita.fr>
9205         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
9206         Move the documentation of AC_TRY_RUN to...
9207         (Obsolete Macros): here.
9208         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
9209         (autoconf Invocation): Remove the duplicates with `invoking
9210         autom4te'.
9211         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
9212         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9214 2002-10-27  Akim Demaille  <akim@epita.fr>
9216         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
9217         and AC_LANG_FUNC_LINK_TRY.
9218         (Examining Libraries): Rename as...
9219         (Running the Linker): this.
9220         Document AC_LINK_IFELSE.
9221         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
9222         (Obsolete Macros): here.
9223         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
9224         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
9225         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
9226         * lib/autoconf/headers.m4 (AC_USG): Likewise.
9228 2002-10-27  Akim Demaille  <akim@epita.fr>
9230         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
9232         More `check config.log' messages.
9234         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
9235         * doc/autoconf.texi (Printing Messages): Document it.
9236         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
9237         appropriate.
9238         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
9239         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
9240         (_AC_COMPILER_OBJEXT): Likewise.
9241         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
9242         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
9243         Likewise.
9244         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
9245         Likewise.
9247         Deprecate macros with unusual interfaces.
9249         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
9250         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
9252         Document the new ones, and proper style.
9254         * doc/autoconf.texi (Generating Sources): New.
9255         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
9256         (Examining Declarations): Rename as...
9257         (Running the Preprocessor): this.
9258         Document AC_PREPROC_IFELSE.
9259         (Examining Syntax): Rename as...
9260         (Running the Compiler): this.
9261         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
9262         (Obsolete Macros): Move the definition of AC_TRY_CPP and
9263         AC_TRY_COMPILE here.
9265 2002-10-27  Akim Demaille  <akim@epita.fr>
9267         Move sections around.
9269         * doc/autoconf.texi (Customizing autom4te): Remove a lost
9270         sentence.
9271         Reported by Burno Haible.
9272         (Language Choice): Now the first section of...
9273         (Writing Tests): this section.
9274         Make the introduction less C-centric.
9275         (Guidelines, Test Functions): Move to...
9276         (Writing Test Programs): this new section.
9277         (Test Programs): Merge into...
9278         (Run Time): this.
9280 2002-10-27  Akim Demaille  <akim@epita.fr>
9282         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
9283         autom4te.in that resulted in the need for two `make' runs.
9285 2002-10-27  Akim Demaille  <akim@epita.fr>
9287         * configure.ac: Bump to 2.54b.
9289 2002-10-25  Akim Demaille  <akim@epita.fr>
9291         Version 2.54a.
9293         * Makefile.maint: Update from the Coreutils.
9294         (AMTAR): Remove, obsolete.
9295         (automake_repo): Update to redhat.com.
9296         (cvs_file): New.
9297         Adjust to the fact that ansi2knr is now hosted by Automake.
9298         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
9299         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
9300         Update from masters.
9301         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
9302         autoscan.pre is not to be installed, and autoscan.list is not to
9303         be shipped.
9304         (CLEANFILES): Add autoscan.list.
9305         (autoscan.list): Disable the cache.
9306         * bin/Makefile.am: Include freeze.mk.
9308 2002-10-25  Akim Demaille  <akim@epita.fr>
9310         * bin/autom4te.in (&load_configuration): Take the file as
9311         argument.
9312         (&parse_args): Handle -C, --cache.
9313         ($help): Adjust.
9314         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
9315         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
9316         * doc/autoconf.texi (Invoking autom4te): Document --cache.
9317         Now a subsection of...
9318         (Using autom4te): This new section.
9319         (Customizing autom4te): New.
9320         (autom4te.cache): Adjust.
9322 2002-10-25  Akim Demaille  <akim@epita.fr>
9324         * doc/autoconf.texi (Generic Headers): More information on how to
9325         use AC_CHECK_HEADERS.
9327 2002-10-25  Akim Demaille  <akim@epita.fr>
9329         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
9330         Space changes.
9332 2002-10-25  Akim Demaille  <akim@epita.fr>
9334         * bin/autoscan.in (output): Output AC_PREREQ.
9335         (%needed_macros): Add AC_PREREQ so that configure.ac without one
9336         be reported.
9338 2002-10-23  Akim Demaille  <akim@epita.fr>
9340         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
9341         document _Bool.
9343 2002-10-23  Akim Demaille  <akim@epita.fr>
9345         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
9346         Reported by Peter Eisentraut.
9348 2002-10-23  Akim Demaille  <akim@epita.fr>
9350         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
9351         type _Bool.
9352         Fix a typo.
9353         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
9354         Eggert's recommandations.
9356 2002-10-22  Akim Demaille  <akim@epita.fr>
9358         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
9359         Bison, by Paul Eggert.
9360         * doc/autoconf.texi (Particular Headers): Document it.
9362 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
9364         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
9365         `$ac_configure_args'.
9367 2002-10-22  Akim Demaille  <akim@epita.fr>
9369         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
9370         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
9371         From Art Haas.
9373 2002-10-22  Akim Demaille  <akim@epita.fr>
9375         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
9377         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9378         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
9379         (_AC_CHECK_HEADER_NEW): Rename as...
9380         (AC_CHECK_HEADER): this.
9382 2002-10-22  Akim Demaille  <akim@epita.fr>
9384         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
9385         words about HP-UX cmp: it was actually a user-written cmp.
9387 2002-10-22  Akim Demaille  <akim@epita.fr>
9389         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
9390         are a few warnings.
9391         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9392         Quote for Perl '' strings, not "".
9393         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
9394         strings.
9396 2002-10-22  Akim Demaille  <akim@epita.fr>
9398         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9399         characters is a syntax warning now.
9400         (_AS_QUOTE): Accept $2 as list of characters to quote.
9401         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9402         Quote for Perl, not sh.
9403         * bin/autoheader.in: When $debug, report the file which is
9404         `do'ne.
9405         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
9406         `@', to tickle Perl's lists.
9407         Reported by Carlos Velasco.
9409 2002-10-18  Akim Demaille  <akim@epita.fr>
9411         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
9412         missing included files _are_ errors.
9413         Thanks to Alexandre Duret-Lutz.
9414         * tests/tools.at (autom4te cache): Adjust.
9415         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
9416         (AT_CHECK_M4SUGAR): Use it.
9417         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9418         Adjust.
9419         * tests/tools.at (autom4te): Now it does exit 1.
9421 2002-10-17  Akim Demaille  <akim@epita.fr>
9423         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
9424         Fixes the `AC_ARG_VAR' test failures.
9425         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
9426         * lib/freeze.mk (check-forbidden-patterns): New.
9427         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
9428         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
9429         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
9430         /dev/null.
9431         Reported months ago by H. Merijn Brand.
9433 2002-10-17  Akim Demaille  <akim@epita.fr>
9435         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
9437 2002-10-16  Paul Eggert  <eggert@twinsun.com>
9439         * Makefile.maint (wget_files): Remove ansi2knr.c.
9440         (ansi2knr.c-url_prefix): Remove.
9442 2002-10-16  Akim Demaille  <akim@epita.fr>
9444         Because of caching, some files that no longer exist and are no
9445         longer required can still cause errors.
9446         Reported by Alexandre Duret-Lutz.
9448         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
9449         to frozen files in @ARGV, as @ARGV must remain being a list of
9450         files.  Rather, at M4 call sites, use this...
9451         (&files_to_options): New function.
9452         (&freeze): Use &error.
9453         (&up_to_date): If a file that was included according to the cache
9454         is no longer there, then the output is out dated.
9455         (&main): Don't even check whether a file is up to date is anyway
9456         --force is given.
9457         * tests/tools.at (autom4te cache): New.
9459 2002-10-16  Akim Demaille  <akim@epita.fr>
9461         * bin/autoconf.as: Kill dead options.
9462         * bin/autoupdate.in (&parse_args): Kill old options.
9463         * bin/autoreconf.in (&parse_args): Remove dead options.
9464         Factor some code.
9465         (&autoreconf): Report the directories we enter *and leave*, so
9466         that error messages can be easily located, and use GNU Make
9467         format, so that Emacs' compile mode understands us.
9468         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
9469         if some file was changed instead of `print'.
9470         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
9471         (&parse_args): Remove the dead options.
9472         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
9473         autoheader's quiet mode.
9474         (AT_CHECK_AUTOUPDATE): Likewise.
9475         * tests/tools.at (autoupdate): Adjust.
9476         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9478 2002-10-11  Akim Demaille  <akim@epita.fr>
9480         No longer use CPP to check for the existing of headers: use CC to
9481         check for compilability.
9483         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9484         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
9485         (_AC_CHECK_HEADER_NEW): Rename as...
9486         (AC_CHECK_HEADER): this.
9488         * lib/autotest/general.m4 (AT_INIT): Include the failed test
9489         numbers in the Subject suggestion.
9491 2002-10-11  Akim Demaille  <akim@epita.fr>
9493         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
9494         Suggest using AC_CHECK_DECLS instead.
9496 2002-10-11  Akim Demaille  <akim@epita.fr>
9498         * tests/torture.at (AC_ARG_VAR): Have configure report the value
9499         of `precious'.
9501 2002-10-11  Akim Demaille  <akim@epita.fr>
9503         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
9504         file name to enable parallel executions.
9505         From Sam Varshavchik.
9507 2002-10-08  Akim Demaille  <akim@epita.fr>
9509         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
9510         aclocal invocation, as Gettext macros might not be visible to
9511         aclocal.
9512         Instead of blindly running autopoint, scan configure.ac (not the
9513         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
9514         Reported by Paul D. Smith.
9516 2002-10-08  Paul Eggert  <eggert@twinsun.com>
9518         Work around problems found when POSIXLY_CORRECT=1 is set.
9519         None of this seems to have anything to do with POSIX, really,
9520         but it's how Perl getopt works.
9521         * bin/autom4te.in (parse_args): Configure GetOpt with
9522         "permute", too.
9523         * doc/autoconf.texi (Invoking autom4te):
9524         --warning -> --warnings.
9525         * lib/autom4te.in: --warning -> --warnings.
9527 2002-09-28  Akim Demaille  <akim@epita.fr>
9529         * doc/autoconf.texi (autom4te.cache): New section.
9531 2002-09-28  Akim Demaille  <akim@epita.fr>
9533         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
9534         (Automake-preselections): Update.
9535         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
9537 2002-09-28  Akim Demaille  <akim@epita.fr>
9539         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
9540         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
9541         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
9542         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
9544 2002-09-28  Akim Demaille  <akim@epita.fr>
9546         * tests/torture.at (Configuring subdirectories): Be robust to
9547         users who use config.site to require for a cache: in this case,
9548         the two last configure runs, using two different sets of
9549         arguments, trigger a legitimate error.
9551 2002-09-28  Akim Demaille  <akim@epita.fr>
9553         * tests/m4sh.at (Functions Support, Functions and return Support):
9554         New.
9556 2002-09-28  Akim Demaille  <akim@epita.fr>
9558         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
9559         autoheader are Perl programs.
9560         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
9561         (autom4te): Specify that the sources are in the $srcdir.
9562         * doc/autoconf.texi (Installation Directory Variables): Adjust.
9564 2002-09-28  Akim Demaille  <akim@epita.fr>
9566         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
9567         (tm_zone): Move their rules to...
9568         * lib/autoconf/types.m4: here, using AN_ macros.
9569         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
9570         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
9571         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
9572         * lib/autoconf/programs.m4: here.
9573         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
9574         (ETAGS_FOR_AUTOCONF): New.
9575         Use it.
9577 2002-09-28  Akim Demaille  <akim@epita.fr>
9579         * lib/autoconf/autoscan.m4: New file.
9580         * lib/autoconf/autoconf.m4: Include it.
9581         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
9582         that were listed in the original autoscan.list.
9583         * lib/autoconf/headers.m4: Similarly with headers.
9584         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
9585         (.m4.m4f): Don't pass --prepend-include, since that's done by
9586         tests/autom4te itself.
9587         * lib/autoscan/Makefile.am: Include freeze.mk.
9588         (autoscan.list): New target --this file is no longer a source.
9589         (autoscan.pre): New file.
9591 2002-09-28  Akim Demaille  <akim@epita.fr>
9593         * bin/autoscan.in (@kinds): Make them singular.
9594         Adjust all uses.
9595         (&init_tables): When --debug, report the list of rules to ease
9596         tracking changes in autoscan.list.
9597         * lib/autoscan/autoscan.list (function): Strip comments, sort.
9599 2002-09-28  Akim Demaille  <akim@epita.fr>
9601         * lib/autoscan/functions, lib/autoscan/headers,
9602         * lib/autoscan/identifiers, lib/autoscan/makevars,
9603         * lib/autoscan/programs: Merge into...
9604         * lib/autoscan/autoscan.list: this.
9605         * bin/autoscan.in (&init_tables): Adjust.
9607 2002-09-28  Akim Demaille  <akim@epita.fr>
9609         * lib/autoscan/functions, lib/autoscan/headers,
9610         * lib/autoscan/identifiers, lib/autoscan/makevars,
9611         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
9612         `functions' line is now prefixed with `function:'.
9613         * bin/autoscan.in (&init_tables): Adjust.
9615 2002-09-28  Akim Demaille  <akim@epita.fr>
9617         From now on, autoscan files must always map a macro name to a
9618         word: there is no `default' macro for autoscan.
9620         * bin/autoscan.in (&init_tables): Reject entries with no macro at
9621         all.
9622         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
9623         explicit.
9625 2002-09-28  Akim Demaille  <akim@epita.fr>
9627         * bin/autoscan.in (%c_keywords): Remove.
9628         (&used): Keep only track of the words we might be interested in.
9629         (&output_kind): It is no longer needed to look for non active
9630         checks.
9632 2002-09-27  Akim Demaille  <akim@epita.fr>
9634         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
9635         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
9636         * lib/autoscan/functions: Adjust.
9637         * doc/autoconf.texi (Particular Functions): Adjust.
9639 2002-09-27  Akim Demaille  <akim@epita.fr>
9641         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
9642         from /tmp.
9643         Thanks to Bill Moseley and Paul Eggert.
9644         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
9645         the tmpdir must be created.
9646         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
9647         dir be in the build tree, instead of $TMPDIR.
9649 2002-09-27  Akim Demaille  <akim@epita.fr>
9651         * bin/autoscan.in: Improve the comments.
9652         (&parse_args): Drop obsolete undocumented options.
9653         (&output_kind): Output warnings.
9654         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
9655         (getwd): Trigger a warning.
9657 2002-09-26  Akim Demaille  <akim@epita.fr>
9659         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
9660         Reported by Ralf Corsepius.
9661         * doc/autoconf.texi (autoreconf Invocation): Likewise.
9663 2002-09-26  Akim Demaille  <akim@epita.fr>
9665         Single suffix rules and seperated dependencies are not portable.
9667         * doc/autoconf.texi (Installation Directory Variables): Update.
9668         (Limitations of Make): Some about `Single Suffix Rules and
9669         Separated Dependencies'.
9670         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9671         (ifnames, autoscan, autom4te): Un-factor into several rules.
9673 2002-09-25  Paul Eggert  <eggert@twinsun.com>
9675         * BUGS (Interoperability bugs): New section.  Mention libtool
9676         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
9678 2002-09-24  Paul Eggert  <eggert@twinsun.com>
9680         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
9681         make handles suffix-rules differently from GNU make.
9683         * bin/Makefile.am (SUFFIXES, .in): Remove.
9684         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
9685         Move the body of the old .in rule here.
9687 2002-09-16  Akim Demaille  <akim@epita.fr>
9689         i960 compilers create `b.out' files by default.
9690         Reported by Ralf Corsepius.
9692         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
9693         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
9695 2002-09-13  Paul Eggert  <eggert@twinsun.com>
9697         * doc/autoconf.texi (Particular Headers): Remove obsolete
9698         reference to `struct timezone' in the description of
9699         AC_HEADER_TIME.
9701 2002-09-13  Akim Demaille  <akim@epita.fr>
9703         Version 2.54.
9705         * config/config.sub, config/config.guess: Update.
9706         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
9707         * Makefile.am: Adjust.
9709 2002-09-13  Akim Demaille  <akim@epita.fr>
9711         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
9712         reading config.log when the compiler is rejected.
9713         Suggested by Guido Draheim.
9715 2002-09-13  Akim Demaille  <akim@epita.fr>
9717         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
9718         (chdir_init) might hang when stat'ing mounted directories.
9719         Reported by Vance Shipley.
9721 2002-09-12  Akim Demaille  <akim@epita.fr>
9723         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
9724         the lists.
9726 2002-09-12  Akim Demaille  <akim@epita.fr>
9728         * doc/autoconf.texi (Defining Symbols): Present two different
9729         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
9730         difference between 1 argument calls, and 2-3 argument calls.
9732 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
9734         * doc/autoconf.texi: Review grammar and punctuation.
9736 2002-09-11  Paul Eggert  <eggert@twinsun.com>
9738         * doc/autoconf.texi: Fix minor formatting, spelling, and
9739         grammatical typos.
9740         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
9741         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
9742         is obsolescent.
9744 2002-09-11  Akim Demaille  <akim@epita.fr>
9746         * doc/autoconf.texi (Questions): Rename as...
9747         (FAQ): this.
9748         (Defining Directories): New.
9750 2002-09-09  Akim Demaille  <akim@epita.fr>
9752         * doc/autoconf.texi (Making testsuite Scripts): Update.
9753         Suggested by Nishio Futoshi.
9755 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
9757         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
9758         plain `@' is wanted.
9760 2002-09-09  Akim Demaille  <akim@epita.fr>
9762         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
9763         `duplicates', since the algorithm was too naive and could keep
9764         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
9765         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
9766         Reported by Ralf Corsepius.
9767         * tests/torture.at (Configuring subdirectories): Exercise these
9768         cases.
9770 2002-09-09  Akim Demaille  <akim@epita.fr>
9772         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
9773         looking for a replacement file.
9774         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
9775         directory is relative.
9776         * doc/autoconf.texi (Generic Functions): Clarify the replacement
9777         directory definition.
9778         Reported by Andreas Schwab and Jim Meyering.
9780 2002-09-06  Akim Demaille  <akim@epita.fr>
9782         * doc/autoconf.texi (Setting Output Variables): Clarify what
9783         precious variables are.
9784         Suggested by Pontus Skoeld.
9786 2002-09-05  Akim Demaille  <akim@epita.fr>
9788         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9789         (ifnames, autoscan, autom4te): Since we don't only depend on
9790         configure.ac variables (such as VERSION etc.), but also on prefix
9791         and so forth, depend on Makefile, not configure.ac.
9792         Reported by Alexandre Duret-Lutz.
9793         * doc/autoconf.texi (Installation Directory Variables): Adjust.
9795 2002-09-05  Kevin Ryde  <user42@zip.com.au>
9797         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
9798         doesn't seem to be confined to ia64, just say "some versions".
9800 2002-09-04  Akim Demaille  <akim@epita.fr>
9802         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
9803         Automake 1.6c.
9804         * Makefile.am (maintainer-clean-local): Remove.
9805         (MAINTAINERCLEANFILES): Remove COPYING.
9807 2002-09-03  Paul Eggert  <eggert@twinsun.com>
9809         * doc/autoconf.texi (Configuration Commands): Remove obsolete
9810         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
9811         Brinkmann.
9813 2002-09-03  Akim Demaille  <akim@epita.fr>
9815         * configure.ac: Bump to 2.53d.
9816         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
9817         as of today, on Automake's team suggestion.
9819 2002-09-03  Akim Demaille  <akim@epita.fr>
9821         Version 2.53c.
9823 2002-09-02  Akim Demaille  <akim@epita.fr>
9825         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
9826         SITE_MACRO_DIR.
9827         * configure.ac: Disable SITE_MACRO_DIR.
9829 2002-09-02  Jim Meyering  <meyering@lucent.com>
9831         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
9832         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
9833         Also, tweak grammar: s/make sure to/be sure to/.
9835 2002-09-02  Paul Eggert  <eggert@twinsun.com>
9837         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
9838         directory names are generally preferable to physical names.
9840 2002-09-02  Akim Demaille  <akim@epita.fr>
9842         * lib/Autom4te/General.pm (&update_file): s/die/error/.
9843         Reported by Raja R. Harinath.
9844         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
9845         * bin/autoupdate.in: Use error instead of die.
9847 2002-09-01  Paul Eggert  <eggert@twinsun.com>
9849         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
9850         ordinary shell concatenation rather than echo+tr+sed command that
9851         runs afoul of a long-line-related sed bug in Solaris 8.
9853         * bin/autoheader.in (parse_args): --warning -> --warnings.
9855         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
9856         stdout, as traditional "ls" does.
9857         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
9858         _AC_COMPILER_EXEEXT_O): Likewise.
9859         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
9861         * bin/autoconf.as: Add --prepend-include option.  This patch was
9862         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
9863         but bin/autoconf.in is generated automatically from bin/autoconf.as.
9865         * bin/autoconf.in, configure: Regenerate.
9867         * doc/autoconf.texi (Special Shell Variables): Mention
9868         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
9870         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
9871         MAILPATH and set PS1, PS2, PS4 to default values, to work
9872         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
9873         For LC_ALL etc, first try to set to "C" as POSIX requires and as
9874         the Autoconf documentation specifies; fall back to "unset" only if
9875         this fails.  Use a shell for-loop for this rather than an m4 loop,
9876         to shorten the output script.
9878 2002-08-30  Paul Eggert  <eggert@twinsun.com>
9880         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
9881         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
9882         for the CDPATH problem.  Document PWD.
9883         (Limitations of Builtins): Document the problem that "cd $foo" and
9884         "ls $foo" may refer to different directories in shells conforming
9885         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
9886         example, since the old example is now out of date.
9888         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
9889         FOO" and "ls FOO" talk about different directories; this catches
9890         problems when POSIX 1003.1-2001 "cd" fails due to symlink
9891         spaghetti.
9893         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
9894         of rolling our own unset.
9895         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
9896         in practice we needn't worry about CDPATH if unset doesn't work.
9898         * Makefile.in, aclocal.m4, bin/Makefile.in,
9899         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
9900         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
9901         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
9902         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
9903         tests/Makefile.in: Regenerate with Automake 1.6.3.
9905         * config/config.guess, config/config.sub, config/mkinstalldirs:
9906         Update.
9908         * configure: Regenerate with self.
9910 2002-08-30  Kevin Ryde  <user42@zip.com.au>
9912         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
9913         default output.
9915 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9917         * bin/autom4te.in (Request::load): Correctly test for "do" read
9918         failure.
9920 2002-08-29  Akim Demaille  <akim@epita.fr>
9922         * lib/Autom4te/General.pm (&xqx): New.
9923         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
9924         hand, which is not portable.
9925         (&error): New.
9926         * bin/autom4te.in: Use them.
9927         Use &error instead of die.
9928         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9929         Adjust.
9931 2002-08-17  Paul Eggert  <eggert@twinsun.com>
9933         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
9934         default list of compilers to try, since it was long ago superseded
9935         by the ksh fc builtin.  Suggested by Steven G. Johnson.
9937 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
9939         * doc/autoconf.texi (Invoking autom4te): End the option table,
9940         fixing a bug introduced by the previous patch.
9941         (Limitations of Make): Add a 'target lookup' subentry in the
9942         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
9944 2002-07-29  Mark D. Roth  <roth@feep.net>
9946         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
9947         options and use $AUTOM4TE_PATH.
9948         * doc/autoconf.texi: Remove documentation of autom4te
9949         --include-envvar and --site-macro-subdir options and document
9950         use of $AUTOM4TE_PATH.
9951         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
9952         arguments from each language section.
9954 2002-07-29  Paul Eggert  <eggert@twinsun.com>
9956         * doc/install.texi: Include copyright symbol in copyright notice.
9958         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
9959         Replace with:
9960         (AM_MAKEINFOFLAGS): New macro.
9961         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
9962         * Makefile.am (INSTALL): Use the new macros.
9963         Use -o rather than --output, since "missing" does not grok --output.
9965 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
9967         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
9968         comments do not always work. Never trust the exit status of
9969         `make -k'.
9971 2002-07-24  Kevin Ryde  <user42@zip.com.au>
9973         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
9974         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
9976 2002-07-23  Paul Eggert  <eggert@twinsun.com>
9978         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
9979         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
9980         apparently treats PATH="nonexistent" as if it contained ".".
9981         Bug reported by Stefan `Sec' Zehl.
9983 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
9985         * doc/autoconf.texi (Limitations of Make): Mention the special
9986         handling of the obj/ directory by BSD make.
9988 2002-07-20  Kevin Ryde  <user42@zip.com.au>
9990         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
9991         backslashes.
9993 2002-07-19  Akim Demaille  <akim@epita.fr>
9995         * doc/autoconf.texi (Function Portability): `exit'.
9996         (Programming in M4sh): Ethymology of M4sh.
9998 2002-07-19  Akim Demaille  <akim@epita.fr>
10000         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
10002 2002-07-18  Akim Demaille  <akim@epita.fr>
10004         Version 2.53b.
10006 2002-07-18  Akim Demaille  <akim@epita.fr>
10008         * config/config.guess, config/config.sub: Update.
10010 2002-07-18  Akim Demaille  <akim@epita.fr>
10012         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
10013         Automake's parts.
10015         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
10016         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
10017         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
10019 2002-07-18  Akim Demaille  <akim@epita.fr>,
10020             Alexandre Duret-Lutz  <duret_g@epita.fr>
10022         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
10023         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
10025 2002-07-17  Russ Allbery  <rra@stanford.edu>
10027         * doc/autoconf.texi (Initializing configure): Clarify the
10028         description of the tarname default.
10030 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
10032         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
10033         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
10034         latter was not run.
10036 2002-07-17  Akim Demaille  <akim@epita.fr>
10038         * lib/Autom4te/General.pm (find_file): Browse the directories in
10039         the order they are given.
10041 2002-07-17  Akim Demaille  <akim@epita.fr>
10043         * tests/wrapsh.as, tests/wrappl.as: Merge into...
10044         * tests/wrapper.as: this.
10045         * tests/Makefile.am, configure.ac: Adjust.
10047 2002-07-17  Mark D. Roth  <roth@feep.net>
10049         * configure.ac: Add --enable-site-macro-dir option.
10050         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
10051         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
10052         --site-macro-subdir options.
10053         * bin/autoconf.in: Add --prepend-include option.
10054         * bin/autoheader.in: Add --prepend-include option.
10055         * bin/autoreconf.in: Add --prepend-include option.
10056         * bin/autoscan.in: Add --prepend-include option.
10057         * bin/autoupdate.in: Add --prepend-include option.
10058         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
10059         macro directory, remove note that include path directories are
10060         used in reverse order, and document --prepend-include option.
10061         * lib/autom4te.in: Use --prepend-include instead of --include.
10062         * tests/wrapsh.in: Use --prepend-include instead of --include.
10064 2002-07-17  Akim Demaille  <akim@epita.fr>
10066         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
10067         tarnames.
10068         * doc/autoconf.texi (Initializing configure): Adjust.
10070 2002-07-17  Akim Demaille  <akim@epita.fr>
10072         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
10073         (_AC_FUNC_MALLOC): New.
10074         (AC_FUNC_MALLOC): Use the latter.
10075         Define HAVE_MALLOC to 0 if broken.
10076         * doc/autoconf.texi (Particular Functions): Adjust.
10078 2002-07-16  Akim Demaille  <akim@epita.fr>
10080         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
10081         * doc/autoconf.texi (C Compiler): Adjust.
10083 2002-07-09  Akim Demaille  <akim@epita.fr>
10085         * doc/autoconf.texi: Properly set the ``header'' part.
10087 2002-07-09  Akim Demaille  <akim@epita.fr>
10089         * doc/autoconf.texi (Systemology): Some about Darwin.
10091 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
10093         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
10094         Don't use AC_REQUIRE in AU_DEFUN.
10096 2002-07-09  Art Haas  <ahaas@neosoft.com>
10098         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
10100 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
10102         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10103         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
10104         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
10105         so that Emacs setups GNU style for perl-mode and cperl-mode.
10107 2002-06-27  Paul Eggert  <eggert@twinsun.com>
10109         * config/install-sh: Quote $src.  Prefer || to test's -o option,
10110         as per "Limitations of Builtins".
10111         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
10112         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
10114         * tests/mktests.sh: Use grep instead of fgrep, as per
10115         "Limitations of Builtins".
10117 2002-06-15  Paul Eggert  <eggert@twinsun.com>
10119         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
10120         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
10121         so that we consistently test the just-built programs.
10122         * tests/wrappl.as: Likewise.
10124 2002-06-12  Paul Eggert  <eggert@twinsun.com>
10126         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
10127         name, so that symlinks to 'autoconf' work properly.  Bug reported
10128         by Bruno Haible.
10129         * bin/autoheader.in (AUTOM4TE): Likewise.
10130         * bin/autoreconf.in (autoconf, autoheader): Likewise.
10131         * bin/autoscan.in (autom4te): Likewise.
10132         * bin/autoupdate.in (autom4te): Likewise.
10134         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
10135         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
10136         on Solaris 2.5.1.
10138 2002-06-11  Andreas Schwab  <schwab@suse.de>
10140         * doc/autoconf.texi: Add more dir entries.
10142 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
10144         * bin/autom4te.in ($cache): Don't define using `$me', the name
10145         of the cache should not depend on the name under which autom4te
10146         was installed.
10148 2002-06-07  Akim Demaille  <akim@epita.fr>
10150         * tests/tools.at (autoconf: forbidden tokens, basic)
10151         (autoconf: forbidden tokens, exceptions): Adjust to the change of
10152         words in autom4te.in.
10154 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
10156         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
10157         _AC_LANG_PROGRAM_C_F77_HOOKS.
10159 2002-06-07  Akim Demaille  <akim@epita.fr>
10161         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
10162         rename as...
10163         (AC_REPLACE_FNMATCH): this.
10164         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
10165         AC_FUNC_FNMATCH_GNU.
10167 2002-06-07  Akim Demaille  <akim@epita.fr>
10169         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
10170         Rosetta Stone for Unix.
10172 2002-06-07  Akim Demaille  <akim@epita.fr>
10174         * bin/autom4te.in (warn_forbidden): When rejecting a token,
10175         suggest m4_pattern_allow.
10176         Suggested by Adam J. Richter.
10178 2002-06-07  Akim Demaille  <akim@epita.fr>
10180         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
10181         ac_config_libobj_dir.
10182         (AC_CONFIG_LIBOBJ_DIR): New.
10183         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
10184         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
10185         Use ac_config_libobj_dir to find the replacement files.
10186         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
10187         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
10188         (AC_REPLACE_FNMATCH_GNU): these.
10189         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
10190         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
10191         * tests/mktests.sh (ac_exclude_list): Don't check
10192         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
10194 2002-06-06  Paul Eggert  <eggert@twinsun.com>
10196         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
10197         if ln doesn't work.
10198         * NEWS: Likewise.
10199         * doc/autoconf.texi (Configuration Links): Likewise.
10200         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
10202 2002-06-05  Paul Eggert  <eggert@twinsun.com>
10204         * config/config.guess, config/config.sub, config/texinfo.tex:
10205         Update from masters.
10207 2002-05-29  Paul Eggert  <eggert@twinsun.com>
10209         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
10210         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
10211         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
10212         Likewise.
10213         * lib/autoconf/Makefile.am (check-local): Likewise.
10214         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
10215         * lib/autoconf/types.m4 (commentary only): Likewise.
10216         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
10217         * lib/autotest/Makefile.am (check-local): Likewise.
10218         * lib/m4sugar/Makefile.am (check-local): Likewise.
10219         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
10220         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
10222         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
10223         * doc/autoconf.texi (Particular Programs): Document them.
10224         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
10225         * NEWS: Likewise.
10227 2002-05-27  Paul Eggert  <eggert@twinsun.com>
10229         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
10230         * NEWS, doc/autoconf.texi (Particular Types): Document it.
10231         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
10232         instead of AC_MBSTATE_T, which never existed.
10234 2002-05-23  Akim Demaille  <akim@epita.fr>
10236         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
10237         version of Autoconf that is discussed.
10239 2002-05-22  Paul Eggert  <eggert@twinsun.com>
10241         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
10242         from the default list of compilers to try.  Suggested by
10243         Kate Hedstrom.
10244         * NEWS: Document the above.
10245         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
10247 2002-05-17  Paul Eggert  <eggert@twinsun.com>
10249         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
10250         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
10251         This improves on an earlier suggestion by H. Peter Anvin.
10253 2002-05-16  Paul Eggert  <eggert@twinsun.com>
10255         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
10256         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
10257         Both macros now accept an optional source-dir arg.
10258         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
10260         * NEWS: Document this.
10261         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
10263         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
10264         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
10265         not for GNU extensions; this undoes part of the 2000-11-03 change,
10266         reverting to 2.13-compatible behavior.
10267         Add new optional argument DIR.
10268         (AC_FUNC_FNMATCH_GNU): New macro.
10270         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
10272 2002-05-08  Paul Eggert  <eggert@twinsun.com>
10274         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
10275         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
10276         and it causes a 'test' syntax error if it fails.
10277         Bug reported by Stephen Gildea.
10279         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
10280         If prototypes are supported, use them to check this at compile-time,
10281         instead of trying to check it at run-time.  If we must do a run-time
10282         check, assume that setvbuf is standard when cross-compiling, as
10283         nonstandard setvbuf occurs only on ancient and unlikely hosts.
10284         Bug reported by Paul D. Smith.
10286         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
10287         argument specifying location of getloadavg.c.  This removes a
10288         FIXME.  This idea was taken from Jim Meyering's implementation in
10289         textutils.
10290         * doc/autoconf.texi (Particular Functions): Document this.
10291         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
10292         that's what the code does; this fixes a bug reported by
10293         Paul D. Smith.
10295 2002-05-03  Akim Demaille  <akim@epita.fr>
10297         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
10298         autopoint instead of gettextize.
10299         ($uses_alocal): Rename as...
10300         ($uses_aclocal): this.
10301         * doc/autoconf.texi (autoreconf Invocation): Adjust.
10302         Suggested by Bruno Haible.
10304 2002-05-03  Akim Demaille  <akim@epita.fr>
10306         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
10308 2002-04-29  Paul Eggert  <eggert@twinsun.com>
10310         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
10311         files to be 1 second older; just set them to be the same time.
10312         Also, sleep 1 second after the first aclocal, to work around
10313         problems with sub-second time stamps on the input files.
10315 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
10317         * doc/autoconf.texi: Mention "set -e -x" lossage
10318         under node "Limitations of Builtins".
10320 2002-04-29  Akim Demaille  <akim@epita.fr>
10322         * doc/install.texi: Better wording for setting variables when
10323         running configure.
10324         From Christian Cornelssen.
10326 2002-04-29  Akim Demaille  <akim@epita.fr>
10328         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
10329         of lack of $LINENO support, then the test will compare the $LINENO
10330         in testsuite vs. the lineno in the test file.  This is wrong, of
10331         course.
10332         Be sure to protect it.
10333         Reported by Patrick Welche.
10335 2002-04-25  Akim Demaille  <akim@epita.fr>
10337         * doc/autoconf.texi (Obsolete Macros): Typo.
10338         Reported by Vladimir Volovich.
10340 2002-04-25  Akim Demaille  <akim@epita.fr>
10342         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
10343         than some of the input files, hence, on the second run of aclocal,
10344         if some of its input are younger, make them older.
10345         Suggested by Paul Eggert.
10347 2002-04-25  Akim Demaille  <akim@epita.fr>
10349         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
10350         Thanks to Paul Eggert.
10352 2002-04-25  Akim Demaille  <akim@epita.fr>
10354         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
10355         and ac_subst_vars be sh variables containing the list of
10356         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
10357         DEFAULT diversion.
10358         (_AC_INIT_PREPARE): Use them to log them.
10359         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
10360         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
10361         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
10362         _AC_SUBST_FILES and _AC_SUBST_VARS.
10363         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
10365 2002-04-24  Akim Demaille  <akim@epita.fr>
10367         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
10368         autoheader, so that automake does not complain about a missing
10369         config.h.in that was to be created.
10371 2002-04-23  Akim Demaille  <akim@epita.fr>
10373         * bin/autoheader.in (parse_args): --warning takes an argument.
10374         Fixes PR/220.
10376 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
10378         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
10379         and bb.out when cleaning up.
10381 2002-04-22  Akim Demaille  <akim@epita.fr>
10383         Version 2.53a.
10385 2002-04-22  Akim Demaille  <akim@epita.fr>
10387         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
10389 2002-04-22  Akim Demaille  <akim@epita.fr>
10391         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
10392         comma.
10393         Reported by Gregory Giannoni.
10395 2002-04-22  Akim Demaille  <akim@epita.fr>
10397         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
10398         Fixes false failures on Darwin.
10400 2002-04-21  Paul Eggert  <eggert@twinsun.com>
10402         * TODO, bin/autoupdate.in, doc/autoconf.texi,
10403         lib/autoconf/general.m4, lib/autoconf/libs.m4,
10404         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
10405         tests/tools.at: Minor spelling and grammar fixes.
10407 2002-04-20  Paul Eggert  <eggert@twinsun.com>
10409         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
10410         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
10411         * lib/autotest/general.m4 (AT_INIT): Likewise.
10412         * tests/atgeneral.m4 (AT_INIT): Likewise.
10414 2002-04-19  Paul Eggert  <eggert@twinsun.com>
10416         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
10417         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
10418         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
10419         lib/autoconf/functions.m4, lib/autoconf/general.m4,
10420         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
10421         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
10422         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
10423         Minor spelling and grammar fixes.
10425         * doc/autoconf.texi: Follow the outline suggested in the GNU
10426         Sample Texts sections of the Texinfo 4.2 manual.  Most
10427         importantly, this makes sure that the copyright notices appear in
10428         all output formats.  You probably need Texinfo 4.2 to generate
10429         the manual now.
10431         Fix some bugs when using "$@" when there might be zero positional
10432         arguments in cases where this matters.
10434         * bin/autoconf.as: Rewrite so that the problem does not come up.
10435         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
10436         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
10437         * lib/autotest/general.m4 (AT_INIT): Likewise.
10439         * bin/autoheader.in: Use 'case' statement to work around problem.
10440         * bin/auto4mte.in: Likewise.
10441         * bin/autoreconf.in: Likewise.
10442         * bin/autoscan.in: Likewise.
10443         * bin/autoupdate.in: Likewise.
10444         * bin/ifnames.in: Likewise.
10446         * doc/autoconf.texi (Shell Substitutions): Document the problem.
10448         * lib/autotest/general.m4 (AT_INIT):
10449         Use Zsh alias to work around problem.
10450         * tests/atgeneral.m4 (AT_INIT): Likewise.
10452         * tests/c.at: We can't have zero arguments, so remove workaround
10453         that is not portable to Zsh.
10455 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
10457         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
10458         from aclocal.m4 too.
10460 2002-04-12  Akim Demaille  <akim@epita.fr>
10462         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
10464 2002-04-10  Akim Demaille  <akim@epita.fr>
10466         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
10467         workaround for ${1+"$@"}.
10468         * doc/autoconf.texi (Shell Substitutions): Explain it.
10469         From Oliver Kiddle and Peter Stephenson.
10471         Have M4sh perform minimal shell sanitizing.
10473         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
10474         part into...
10475         (_AS_PREPARE): this new macro.
10476         (AS_PREPARE): New.
10477         (AS_INIT): Invoke AS_SHELL_SANITIZE.
10478         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
10480         Adjust Autoconf and Autotest.
10482         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
10483         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
10484         * lib/autotest/general.m4 (AT_INIT): Likewise.
10485         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
10486         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
10487         AS_SHELL_SANITIZE.
10489         Use this M4sh to generate Autoconf's shell scripts.
10491         * tests/wrapsh.as: New, precursor of wrapsh.in.
10492         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
10493         on Autotest and M4sh.
10494         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
10495         (wrapsh.in): New target.
10496         * bin/autoconf.as: New, precursor of autoconf.in.
10497         (autoconf.in): New target.
10499 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
10501         * doc/autoconf.texi (Limitations of Make): Mention the issue
10502         with indented comments in rules.
10504 2002-04-09  Andreas Schwab  <schwab@suse.de>
10506         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
10507         ac_top_builddir when setting ac_abs_top_builddir.
10509 2002-04-06  Kevin Ryde  <user42@zip.com.au>
10511         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
10512         (Portable Shell): Cross reference to Systemology.
10514 2002-04-05  Akim Demaille  <akim@epita.fr>
10516         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
10517         directories when descending in a SUBDIRS.
10518         Reported by Ezra Peisach.
10520 2002-04-04  Andreas Schwab  <schwab@suse.de>
10522         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
10523         contains no literal separators.
10525 2002-04-03  Akim Demaille  <akim@epita.fr>
10527         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
10528         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
10529         Use dnl, not the KILL diversion.
10530         Extracted from...
10531         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
10532         (AC_CONFIG_LINKS): here.
10533         Adjust.
10534         Don't use the KILL diversion, as it kills spurious output, which
10535         results in failures being hidden.
10536         Use m4_defn where appropriate.
10537         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
10538         after the second argument.
10539         Use m4_defn.
10540         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
10541         syntax, as it is provided by M4sugar.
10542         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
10544 2002-04-03  Andreas Schwab  <schwab@suse.de>
10546         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
10547         expanded if $# <= 2.
10549         * bin/autoreconf.in (autoreconf): Run automake after rerunning
10550         aclocal.
10552 2002-04-03  Akim Demaille  <akim@epita.fr>
10554         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
10555         (_AC_COMPILER_EXEEXT_REJECT): New.
10556         Also recognize *.bb and *.bbg as compilation byproducts.
10557         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
10558         (_AC_COMPILER_OBJEXT): Use them.
10559         Fixes Debian #138666.
10561 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
10563         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
10565         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
10566         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
10567         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
10568         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
10569         (AC_C_CONST): Same.
10570         (AC_C_INLINE): Same.
10571         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
10572         * doc/autoconf.texi, NEWS: Document.
10573         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
10574         AC_C_CROSS.
10576 2002-04-02  Akim Demaille  <akim@epita.fr>
10578         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
10579         _AS_MKDIR_P_PREPARE.
10581 2002-03-28  Kevin Ryde  <user42@zip.com.au>
10583         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
10584         to avoid versions of HP C which don't allow that.
10586 2002-03-27  Paul Eggert  <eggert@twinsun.com>
10588         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
10589         (AS_SHELL_SANITIZE): Invoke it.
10590         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
10592 2002-03-26  Akim Demaille  <akim@epita.fr>
10594         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
10596 2002-03-26  Akim Demaille  <akim@epita.fr>
10598         * doc/autoconf.texi (Introduction): The GNATS base moved.
10600 2002-03-25  Paul Eggert  <eggert@twinsun.com>
10602         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
10603         as POSIX requires, as it doesn't work with Zsh.
10604         * doc/autoconf.texi (Assignments): Document the problem.
10606 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
10608         * doc/autoconf.texi (Limitations of Make): Mention more issue
10609         about VPATH, overriding of macros in sub-makes, and handling of
10610         SHELL.
10612 2002-03-21  Paul Eggert  <eggert@twinsun.com>
10614         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
10615         problem with here-document buffer boundaries.
10617         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
10618         when reinvoking the shell, to work around problems with installers
10619         who put strange things like "cd" commands in their environments.
10621 2002-03-19  Akim Demaille  <akim@epita.fr>
10623         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
10624         From Aaron Ucko.
10626 2002-03-19  Akim Demaille  <akim@epita.fr>
10628         * bin/autoscan.in (scan_file): Specify the location in `&used'
10629         invocations.
10630         From Nicolas Joly.
10632 2002-03-19  Akim Demaille  <akim@epita.fr>
10634         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
10635         From Nishio Futoshi.
10637 2002-03-19  Akim Demaille  <akim@epita.fr>
10639         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
10641 2002-03-18  Paul Eggert  <eggert@twinsun.com>
10643         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
10644         (Limitations of Usual Tools): Add mkdir section.
10646         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
10647         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
10648         back on AS_DIRNAME to compute prefixes otherwise; this is
10649         roughly what mkinstalldirs does.  That way, we need not have
10650         our own filename disassembler.  The old disassembler did not
10651         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
10653         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
10654         Create at_test_all by a series of assignments,
10655         not by a single assignment of a long string.  The latter causes ksh
10656         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
10657         presumably because of a buffer overrun.
10659 2002-03-14  Paul Eggert  <eggert@twinsun.com>
10661         * lib/autotest/general.m4 (at_times_skip):
10662         Renamed from at_times.  Now a boolean.
10663         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
10664         says 'times: not found'.
10666 2002-03-14  Akim Demaille  <akim@epita.fr>
10668         * bin/autoreconf.in (&study_gettextize): New.
10669         (&autoreconf): Handle newest gettextize.
10670         Rerun aclocal if needed.
10671         Suggested by Andreas Schwab.
10673 2002-03-13  Akim Demaille  <akim@epita.fr>
10675         * doc/autoconf.texi (Special Shell Variables): More about IFS.
10677 2002-03-13  Akim Demaille  <akim@epita.fr>
10679         * doc/autoconf.texi (Header Portability): New.
10680         Add information about stdint.h and inttypes.h from Paul Eggert.
10682 2002-03-13  Akim Demaille  <akim@epita.fr>
10684         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
10685         -p'.
10686         From Bob Proulx.
10688 2002-03-12  Akim Demaille  <akim@epita.fr>
10690         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
10691         m4_require.
10693 2002-03-11  Andreas Schwab  <schwab@suse.de>
10695         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
10696         does not do it if --with-lispdir is given.
10698 2002-03-08  Akim Demaille  <akim@epita.fr>
10700         Version 2.53.
10702 2002-03-08  Akim Demaille  <akim@epita.fr>
10704         * doc/autoconf.texi (Subdirectories): Clarify that the
10705         subdirectory should exist.
10707 2002-03-08  Akim Demaille  <akim@epita.fr>
10709         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
10711 2002-03-08  Akim Demaille  <akim@epita.fr>
10713         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
10714         aliases the actual variables, and modifications of the former
10715         affect the latter.
10717 2002-03-08  Akim Demaille  <akim@epita.fr>
10719         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
10720         because of C-c: have m4 output in tmp files, then mv them.
10722 2002-03-08  Akim Demaille  <akim@epita.fr>
10724         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
10725         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
10726         * bin/ifnames.in: Copyright update.
10728 2002-03-08  Akim Demaille  <akim@epita.fr>
10730         * doc/autoconf.texi (Invoking autom4te): New.
10732 2002-03-05  Akim Demaille  <akim@epita.fr>
10734         * doc/autoconf.texi (Specifying Names): Clarification suggested by
10735         Kevin Ryde.
10737 2002-03-05  Akim Demaille  <akim@epita.fr>
10739         Version 2.52i.
10741 2002-03-04  Akim Demaille  <akim@epita.fr>
10743         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
10744         * lib/autoconf/general.m4 (AC_INIT): More informative error
10745         message for LIBOBJ.
10747 2002-03-04  Akim Demaille  <akim@epita.fr>
10749         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
10750         parallel builds.
10752 2002-03-04  Akim Demaille  <akim@epita.fr>
10754         * doc/autoconf.texi (Transforming Names): Equality between target
10755         and host is irrelevant.
10756         (Specifying Names, Canonicalizing): Remove all references to the
10757         backward compatibility hooks.  Rather, collect them all into...
10758         (Hosts and Cross-Compilation): this new section.
10759         * doc/install.texi (System Type): Ditto.
10760         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
10761         that `--host' implies cross-compilation.
10763 2002-03-04  Akim Demaille  <akim@epita.fr>
10765         * doc/autoconf.texi (Evaluation Macros): New.
10766         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
10767         useless.
10768         (_m4_foreach): Define the variant with immediate evaluation so
10769         that it contains exactly the items, not an expression which
10770         evaluation is the current item.
10771         (m4_re_string, m4_re_word): Don't over quote them.
10773 2002-03-04  Akim Demaille  <akim@epita.fr>
10775         Instead of having stacking `shift's evaluated at the end, let
10776         `foreach' loops immediately evaluate them.
10778         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
10779         $*.  This is the n-th time I change my mind, but hopefully this is
10780         the last...
10781         (m4_lquote): New.
10782         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
10783         efficient.
10784         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
10785         it was only a hack for m4_text_wrap.
10786         (m4_car2): Remove, replaced by...
10787         (m4_cdr): New.
10788         (_m4_foreach): Adjust.
10789         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
10790         m4_bpatsubst for clarification.
10792 2002-03-04  Akim Demaille  <akim@epita.fr>
10794         * doc/autoconf.texi (Changequote is Evil): New.
10796 2002-03-03  Kevin Ryde  <user42@zip.com.au>
10798         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
10799         on old systems like SunOS.
10801 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
10803         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10804         lib/autoconf/functions.m4, lib/autoconf/general.m4,
10805         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
10806         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
10807         of messages.
10809 2002-02-28  Akim Demaille  <akim@epita.fr>
10811         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
10812         message to be sent.
10814 2002-02-28  Kevin Ryde  <user42@zip.com.au>
10816         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
10818 2002-02-25  Akim Demaille  <akim@epita.fr>
10820         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
10821         From Akinori Musha.
10823 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
10825         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
10826         translate \r\n to \n.
10828 2002-02-07  Akim Demaille  <akim@epita.fr>
10830         Version 2.52h.
10832 2002-02-07  Akim Demaille  <akim@epita.fr>
10834         Fix Autoconf PR/209.
10835         Also reported by Frank Denis.
10837         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
10839 2002-02-07  Akim Demaille  <akim@epita.fr>
10841         Fix Autoconf PR/207:
10842         AC_PREFIX_PROGRAM fails with dashed program names
10844         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
10845         variable when looking for the prefix program.
10846         Now it also works for shell variables.
10848 2002-02-07  Akim Demaille  <akim@epita.fr>
10850         * doc/autoconf.texi (Limitations of Builtins): More about
10851         case/esac.
10853 2002-02-06  Akim Demaille  <akim@epita.fr>
10855         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
10856         case/esac, some shells don't support it.
10857         Reported by Zack Weinberg.
10858         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
10860 2002-02-06  Akim Demaille  <akim@epita.fr>
10862         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
10863         sure not to introduce newlines in at_groups.
10864         * lib/autotest/Makefile.am (autotest.m4f): Typo.
10866 2002-02-06  Akim Demaille  <akim@epita.fr>
10868         * tests/torture.at (Configuring subdirectories): Skip if aclocal
10869         is not available.
10871 2002-02-05  Paul Eggert  <eggert@twinsun.com>
10873         * doc/autoconf.texi (Specific Compiler Characteristics):
10874         Describe HP-UX cc bug workaround more accurately.
10875         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
10876         not unsigned long.
10877         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
10878         cross-compilers, too.  This undoes some of the most recent change
10879         to this file.
10881 2002-02-05  Akim Demaille  <akim@epita.fr>
10883         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
10884         to make sure they are up to date when `check' is run.
10886 2002-02-05  Akim Demaille  <akim@epita.fr>
10888         * doc/autoconf.texi (Making testsuite Scripts): Document
10889         package.m4.
10891 2002-02-05  Akim Demaille  <akim@epita.fr>
10893         * lib/freeze.mk: New.
10895 2002-02-05  Akim Demaille  <akim@epita.fr>
10897         Implement `autom4te --freeze'.
10899         * bin/autom4te.in (&freeze): New.
10900         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
10901         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
10903 2002-02-05  Akim Demaille  <akim@epita.fr>
10905         * bin/autom4te.in (&parse_args): Implement `frozen files are
10906         optional are the sum of the previous files on the command line'.
10907         Also, pass `--reload-state=' on them, so...
10908         (handle_m4): don't.
10909         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
10910         (M4sh): Rely on M4sugar.
10911         (Autotest, M4sh, M4sugar): Use frozen files.
10913 2002-01-31  Akim Demaille  <akim@epita.fr>
10915         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
10916         * doc/autoconf.texi (Initializing configure): Adjust.
10918 2002-01-30  Akim Demaille  <akim@epita.fr>
10920         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
10921         alphanumeric to `-' instead of `_'.
10923 2002-01-30  Akim Demaille  <akim@epita.fr>
10925         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
10926         for plain code, the other for cross-compilation code.  The latter
10927         is now run with GCC only.
10928         * doc/autoconf.texi (Compilers and Preprocessors): New.
10930 2002-01-30  Akim Demaille  <akim@epita.fr>
10932         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
10933         values.
10934         * doc/autoconf.texi (Initializing configure): Explain how to
10935         change AC_INIT default values.
10937 2002-01-29  Akim Demaille  <akim@epita.fr>
10939         * tests/torture.at (Configuring subdirectories): Use configure.in,
10940         so that aclocal 1.4 works.
10941         Reported by Alexandre Duret-Lutz and Larry Schmitt.
10943 2002-01-28  Akim Demaille  <akim@epita.fr>
10945         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
10946         needs an argument.
10948 2002-01-28  Akim Demaille  <akim@epita.fr>
10950         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
10951         AUTOTEST_PATH *after* it was set.
10952         Don't put `.' in the PATH: the user should be precise and `./' if
10953         needed.  In addition, given that the test suite does some `cd', if
10954         `.' is in the path, the `tested programs' sections will report
10955         programs found in the test suite's directory, while during the
10956         tests (performed in their own directory), these programs are no
10957         longer visible.  In other words, the results is confusing and
10958         useless.
10959         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
10961 2002-01-24  Akim Demaille  <akim@epita.fr>
10963         Version 2.52g.
10965 2002-01-24  Akim Demaille  <akim@epita.fr>
10967         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
10968         * doc/autoconf.texi: Finally add Akim as an author.
10970 2002-01-24  Akim Demaille  <akim@epita.fr>
10972         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
10973         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
10974         Bourne. Use /bin/sh.
10975         From Andreas Buening.
10977 2002-01-24  Akim Demaille  <akim@epita.fr>
10979         * config/config.guess, config/config.sub, config/texinfo.tex:
10980         Update from masters.
10982 2002-01-24  Akim Demaille  <akim@epita.fr>
10984         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
10985         * config/auxdir.m4, config/cond.m4, config/depend.m4,
10986         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
10987         * config/missing.m4, config/sanity.m4, config/select.m4,
10988         * config/strip.m4: Remove, to ease sync'ing with any version of
10989         Automake.
10991 2002-01-24  Akim Demaille  <akim@epita.fr>
10993         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
10994         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
10995         Reported by Geir Ove Myhr.
10997 2002-01-21  Akim Demaille  <akim@epita.fr>
10999         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
11001 2002-01-21  Akim Demaille  <akim@epita.fr>
11003         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
11004         message on invalid options.
11005         * bin/autom4te.in (parse_args): Don't use
11006         Autoconf::General::getopt with non valid options.
11008 2002-01-17  Jim Meyering  <meyering@lucent.com>
11010         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
11011         $ac_cv_exeext so we don't use an old, invalid, cached value.
11013 2002-01-11  Akim Demaille  <akim@epita.fr>
11015         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
11016         Meyering.
11017         * doc/autoconf.texi (Function Portability): Document the strnlen
11018         limitation.
11019         (Particular Functions): Document AC_FUNC_STRNLEN.
11020         * lib/autoscan/functions: Adjust.
11022 2002-01-06  Akim Demaille  <akim@epita.fr>
11024         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
11025         package.m4, since is really depends upon configure.ac, not
11026         configure.
11027         * doc/autoconf.texi (testsuite Scripts): Adjust.
11028         * tests/Makefile.am (package.m4): New.
11029         EXTRA_DIST it since its a source.
11031 2002-01-06  Akim Demaille  <akim@epita.fr>
11033         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
11034         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
11035         and PACKAGE_BUGREPORT from here...
11036         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
11037         arguments.
11038         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
11039         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
11040         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
11041         * tests/tools.at (autoheader): Adjust.
11042         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
11044 2002-01-06  Akim Demaille  <akim@epita.fr>
11046         * bin/autoscan.in (scan_file): Use `&used'.
11048 2002-01-03  Akim Demaille  <akim@epita.fr>
11050         * doc/autoconf.texi (Output): Improved wording regarding use of
11051         AC_OUTPUT.
11052         From Olly Betts.
11054 2001-12-18  Kevin Ryde  <user42@zip.com.au>
11056         * doc/autoconf.texi (Function Portability): Add notes on sscanf
11057         sometimes needing writable input.
11059 2001-12-17  Jim Meyering  <meyering@lucent.com>
11061         * doc/autoconf.texi (New Macros): Tweak wording.
11063 2001-12-14  Akim Demaille  <akim@epita.fr>
11065         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
11066         trailing files, don't apply `-rf' to files which might not be
11067         created by configure (core, core.*, and *.core), but just `rm -f'.
11068         Suggested by Jonathan Kamens.
11070 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
11072         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
11074 2001-12-14  Akim Demaille  <akim@epita.fr>
11076         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
11078 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
11080         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
11081         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
11082         abs_srcdir, top_srcpath to abs_top_srcdir.
11083         (_AC_OUTPUT_FILES): Adjust.
11084         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
11085         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
11086         * tests/wrappl.in, tests/wrapsh.in: Adjust.
11088 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
11090         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
11091         C/Fortran linking on HP/UX, by extracting the Fortran library
11092         search path from the LPATH line in the $F77 -v output.
11094 2001-12-12  Kevin Ryde  <user42@zip.com.au>
11096         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
11097         forbidden file descriptors table.
11099 2001-11-26  Akim Demaille  <akim@epita.fr>
11101         * bin/autoscan.in (%c_keywords): Build it at top level.
11102         Map to 1 in order to simplify its uses.
11104 2001-11-26  Akim Demaille  <akim@epita.fr>
11106         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
11107         Remove $filepath, useless.
11108         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
11109         variables, they are really part of the tokens.
11110         Split the input line on spaces and then look for tokens.
11111         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
11112         because of `lex$U.$(OBJEXT)'.
11113         (&scan_files): Use "@list" instead of join.
11114         * doc/Makefile.am (CLEANFILES): Add *.fns.
11116 2001-11-26  Akim Demaille  <akim@epita.fr>
11118         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
11119         Remove, replaced by...
11120         * tests/wrappl.in: Be common for all the Perl executables.
11121         In particular autoscan and autoheader want -I.
11122         * configure.ac: Adjust.
11123         * lib/autoscan/headers: errno.h is portable.
11125 2001-11-26  Akim Demaille  <akim@epita.fr>
11127         * bin/autoscan.in (used): New.
11128         Use it.
11130 2001-11-26  Akim Demaille  <akim@epita.fr>
11132         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
11133         directives.
11134         (&scan_sh_file): Remove a duplicate pattern.
11135         (&check_configure_ac): Use long options.
11136         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
11138 2001-11-26  Akim Demaille  <akim@epita.fr>
11140         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
11141         Before, having a line containing the opening of a multi line
11142         comment made the whole line be ignored.
11144 2001-11-26  Akim Demaille  <akim@epita.fr>
11146         * doc/autoconf.texi (Using an Autotest Test Suite): New.
11147         (testsuite Scripts): Be one of its subsection.
11148         (Autotest Logs): New.
11150 2001-11-26  Akim Demaille  <akim@epita.fr>
11152         Test groups are now run two directories deeper.
11154         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
11155         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
11156         at_top_builddir.
11157         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
11158         top_srcdir, builddir and top_builddir.
11159         Use `at_*dir' relatively to the directory containing the
11160         suite, use `*dir' when relatively to the current group dir.
11162 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
11164         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
11165         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
11166         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
11167         spelling errors.
11169 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
11171         * doc/autoconf.texi (Using System Type): Add an example of `case
11172         $host' usage so people quit using `case $target' everywhere.
11174 2001-11-22  Akim Demaille  <akim@epita.fr>
11176         * doc/autoconf.texi (Installation Directory Variables): Englishoes
11177         spotted by Jim Meyering.
11179 2001-11-16  Paul Eggert  <eggert@twinsun.com>
11181         This patch implements a `long double' suggestion by Oliver Kiddle.
11183         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
11184         static, to catch errors if the value isn't known at compile-time
11185         and the compiler supports dynamic arrays.  Change its name from
11186         `_array_' to `test_array' to avoid potential name clashes.
11187         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
11188         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
11189         better than double.  Catch a bug in GCC 2.95.2 x86.
11190         * doc/autoconf.texi (C Compiler): Document the above.
11191         * NEWS: Likewise.
11193 2001-11-13  Akim Demaille  <akim@epita.fr>
11195         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
11196         hand.
11197         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
11199 2001-11-13  Akim Demaille  <akim@epita.fr>
11201         * lib/autotest/general.m4 (AT_INIT): After having run the test
11202         group, go back to the initial directory, not to at_suite_dir.
11204 2001-11-13  Akim Demaille  <akim@epita.fr>
11206         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
11207         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
11208         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
11209         option.
11210         (AT_CHECK_CONFIGURE): Use absolute paths.
11211         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
11212         The problem is still the old one: there is no means in M4 (that I
11213         know about) to create a defining macro, because there is no means
11214         to create `$1' etc., therefore, the defining macro ``swallows''
11215         all the arguments meant to the defined macro.
11217 2001-11-13  Akim Demaille  <akim@epita.fr>
11219         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
11220         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
11221         configure.ac.
11222         * tests/aclocal.m4: Remove, as it is no longer used.
11224 2001-11-13  Akim Demaille  <akim@epita.fr>
11226         * lib/autotest/general.m4: Change `tests?' into `groups?' in
11227         variable names when referring to a single test group, or to
11228         `suite' when referring to the whole test suite.
11229         `at_last_test' is removed: m4 compute at_format itself.
11230         (at_stdout, at_stder1, at_stderr): New variables.
11231         (AT_CHECK): Use them.
11233 2001-11-13  Akim Demaille  <akim@epita.fr>
11235         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
11236         in PATH.
11237         Create `testsuite.dir/003/run' instead of `testsuite.003'.
11238         Do it as soon as a test fails, don't wait till the end of the test
11239         suite.
11240         Don't remove $as_me.[0-9]*, since these files no longer exist.
11242 2001-11-13  Akim Demaille  <akim@epita.fr>
11244         * tests/tools.at: Use absolute paths, since we are no longer run
11245         in place.
11247 2001-11-13  Akim Demaille  <akim@epita.fr>
11249         Now that tests are running in their own private dir, there is no
11250         need to list the files to remove at the end of tests groups.
11252         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
11253         (AT_data_files, at_data_files): Remove.
11254         (AT_CLEANUP, AT_DATA): Simplify.
11255         (AT_INIT): Adjust.
11256         Remove the group dir if !debug && !failed.
11257         * tests/atspecific.m4: Adjust.
11259 2001-11-13  Akim Demaille  <akim@epita.fr>
11261         Start a new layout for Autotest: `testsuite' creates
11262         `testsuite.dir' in which the at-check-line etc. files are to be
11263         found, and `testsuite.dir/003' where the test group 3 is run.
11265         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
11266         at_check_line_file, at_format, at_test_normalized, at_group_dir
11267         are new variables.
11268         Create the directories.
11269         Use absolute paths for at- files.
11270         (AT_CHECK): Adjust.
11272 2001-11-11  Michael Matz  <matz@kde.org>
11274         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
11275         (m4_car2): New.
11276         (m4_car): Properly quote arguments.
11278 2001-11-13  Akim Demaille  <akim@epita.fr>
11280         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
11281         with stricter rules on LIBOBJS.
11283 2001-11-12  Paul Eggert  <eggert@twinsun.com>
11285         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
11286         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
11287         __PROTOTYPES too.
11289 2001-11-12  Akim Demaille  <akim@epita.fr>
11291         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
11293 2001-11-12  Akim Demaille  <akim@epita.fr>
11295         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11296         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
11297         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
11298         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
11299         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
11300         specify to what the macro should be defined (typically to 1).
11302 2001-11-12  Akim Demaille  <akim@epita.fr>
11304         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
11305         From Jim Meyering.
11307 2001-11-12  Akim Demaille  <akim@epita.fr>
11309         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11310         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
11311         definition used by Automake where LEX is +/- "${missing} lex" and
11312         `missing' itself contains variables.
11314 2001-11-12  Akim Demaille  <akim@epita.fr>
11316         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
11317         Now that M4sh pushes BODY, the comments were output at the end of
11318         the test suites.
11320 2001-11-08  Akim Demaille  <akim@epita.fr>
11322         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
11323         that we can trace macros from aclocal.m4.
11324         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
11325         obsoleted, and redirect to the former anyway.
11326         Reported by Ralf Corsepius.
11328 2001-11-08  Akim Demaille  <akim@epita.fr>
11330         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
11331         processed only if present.
11332         * tests/torture.at (Configuring subdirectories): Use autoreconf
11333         instead of successive calls to autoconf.
11334         Add a nonexistent subdirectory to exercise the patch above.
11335         Reported by Ralf Corsepius.
11337 2001-11-08  Kevin Ryde  <user42@zip.com.au>
11339         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
11340         doesn't accept .S files.
11342 2001-11-07  Akim Demaille  <akim@epita.fr>
11344         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
11345         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
11346         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
11347         * bin/autom4te.in (warn_forbidden): New.
11348         (handle_output): Use it.
11349         Read m4_pattern_forbid with messages.
11351 2001-11-05  Akim Demaille  <akim@epita.fr>
11353         * bin/autom4te.in (--normalize): Remove.
11354         * lib/autom4te.in: Adjust.
11356 2001-11-05  Akim Demaille  <akim@epita.fr>
11358         * tests/Makefile.am (testsuite): Rename this target as...
11359         ($(TESTSUITE)): this.
11360         From Nicolas Joly.
11362 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
11364         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
11365         the --prefix option, also remove it's argument.
11367 2001-11-05  Akim Demaille  <akim@epita.fr>
11369         * doc/autoconf.texi (testsuite Invocation): Update.
11370         (Writing testsuite.at): Update.
11372 2001-11-03  Akim Demaille  <akim@epita.fr>
11374         * doc/autoconf.texi: s/@code/@command/ where appropriate.
11376 2001-11-03  Akim Demaille  <akim@epita.fr>
11378         * lib/Autom4te/General.pm: (&catfile, &canonfile)
11379         (&file_name_is_absolute): New, wrappers around routines from
11380         File::Spec.
11381         Use and export them.
11382         (&find_configure_ac): Optionally take a directory where to look at.
11383         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
11384         the arguments.
11385         Default @ARGV to `.', not find_configure_ac.
11386         (&autoreconf): Argument is a directory.
11387         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
11388         * doc/autoconf.texi (autoreconf Invocation): Update.
11390 2001-11-03  Akim Demaille  <akim@epita.fr>
11392         * lib/Autom4te/General.pm (@export_vars, @export_subs)
11393         (@export_forward_subs): New.
11394         Add basename, dirname, and fileparse.
11395         (@EXPORT): Adjust.
11396         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
11397         Don't look for aclocal flags if we already know aclocal is not
11398         used.
11399         Move aclocal.m4t only if it exists.
11400         Reported by Ezra Peisach.
11402 2001-11-03  Akim Demaille  <akim@epita.fr>
11404         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
11405         passed on command line, defaulting to ./configure.ac if present.
11406         (&maybe_autoreconf, File::Find): Remove, unused.
11407         (&autoreconf): If autoconf is not used, don't try to trace.
11409 2001-11-02  Akim Demaille  <akim@epita.fr>
11411         * configure.ac: Bump to 2.52g.
11413 2001-11-02  Akim Demaille  <akim@epita.fr>
11415         Version 2.52f.
11417 2001-11-02  Akim Demaille  <akim@epita.fr>
11419         * config/config.guess, config/config.sub, doc/standards.texi:
11420         * config/lispdir.m4: Update from masters.
11421         * configure.ac: Bump to 2.52f.
11423 2001-11-02  Akim Demaille  <akim@epita.fr>
11425         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
11426         Don't run aclocal when aclocal.m4 is not from aclocal.
11427         From Ezra Peisach.
11428         Don't run libtoolize and gettextize if --install is not given.
11430 2001-11-01  Paul Eggert  <eggert@twinsun.com>
11432         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
11433         be invoked before _AS_LINENO_PREPARE.
11434         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
11435         than character ranges.
11437         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
11438         invoking AS_BASENAME.  Set the locale variables to 'C' if
11439         possible, as POSIX requires this to get the traditional
11440         behavior.
11441         * doc/autoconf.texi (Special Shell Variables): Describe the above.
11443 2001-10-31  Paul Eggert  <eggert@twinsun.com>
11445         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
11446         with {}, as that triggers a bug in Bash 2.05.
11448         (_AS_LINENO_PREPARE): Use Sed rather than
11449         Awk.  Fix the sed prepass to work even if there are multiple
11450         instances of $LINENO on the same line.  Do not substitute for
11451         other variables like $LINENOT.  Do not check file dates; such a
11452         check is unreliable on sufficiently fast machines, and removing
11453         the check makes the code simpler and more reliable.  Check for
11454         output and chmod failures.
11456         * doc/autoconf.texi (Special Shell Variables): Document
11457         the above.
11459 2001-10-31  Akim Demaille  <akim@epita.fr>
11461         * tests/Makefile.am (atconfig): Remove this target, Automake
11462         handles it now.
11464 2001-10-31  Akim Demaille  <akim@epita.fr>
11466         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
11467         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
11468         provided, while it is optional.
11469         * configure.ac: Adjust.
11471 2001-10-26  Paul Eggert  <eggert@twinsun.com>
11473         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
11474           lib/Autom4te/Struct.pm:
11475         Require Perl 5.005_03 instead of just 5.005, as some tests fail
11476         with 5.005_02.
11478         * doc/autoconf.texi (Special Shell Variables): Document some
11479         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
11481         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
11482         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
11483         eval $LINENO is not portable in practice.
11485 2001-10-24  Akim Demaille  <akim@epita.fr>
11487         * lib/Autom4te/General.pm (backname): New.
11489 2001-10-24  Akim Demaille  <akim@epita.fr>
11491         * m4/: Remove, merged into...
11492         * config/: here.
11494 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
11496         * doc/autoconf.texi (Shellology): Mention the problems with bash
11497         2.05's use of ANSI quoting in its `set' builtin.
11499 2001-10-22  Paul Eggert  <eggert@twinsun.com>
11501         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
11502         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
11503         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
11504         POSIX decided to standardize on the int flavor of strerror_r.
11505         Always do char* test, as there's no reason not to.
11506         Assign to a char* var, to catch strerror_r that returns int*.
11508         * doc/autoconf.texi (Particular Functions):
11509         Document the above changes.  Also, document the fact that
11510         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
11512         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
11514 2001-10-20  Akim Demaille  <akim@epita.fr>
11516         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
11517         the executable was missing from the log.
11519 2001-10-20  Akim Demaille  <akim@epita.fr>
11521         * lib/Autom4te/General.pm (&update_file): If destination is
11522         unchanged, remove the source.
11523         (&up_to_date_p): Don't be verbose, be debug.
11524         * bin/autoreconf.in: No longer support --m4dir.
11525         (&autoreconf): Display the full path of the configure.ac we are
11526         studying.
11527         Trace it only once.
11528         Be sure to honor --force with gettextize.
11529         Always run aclocal.
11530         * doc/autoconf.texi: Adjust.
11532 2001-10-20  Akim Demaille  <akim@epita.fr>
11534         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
11535         Remove, dead.
11536         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
11537         `intl' is already present, as it refuses unless --force.
11538         (&parse_args): Use -I, --include instead of the old Autoconf
11539         options.
11540         ($localdir, $autoconf_dir): Remove.
11541         (@include): New.
11542         (&maybe_autoreconf): New, to preserve $_ for File::Find.
11544 2001-10-19  Jens Petersen  <petersen@redhat.com>
11546         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
11547         * doc/autoconf.texi (Particular Programs): Likewise.
11549 2001-10-19  Akim Demaille  <akim@epita.fr>
11551         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
11552         file in @configure_input@.
11553         Don't mention `automatically' in addition to `generated'.
11554         * tests/torture.at (#define header templates): Adjust.
11556 2001-10-19  Akim Demaille  <akim@epita.fr>
11558         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
11559         comment, explain how to install automatic mode selection.
11560         From Russ Allbery.
11562 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
11564         * bin/autoreconf.in (autoreconf): Display the path to the
11565         configure.ac being studied.
11567 2001-10-18  Paul Eggert  <eggert@twinsun.com>
11569         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
11570         long, to work around a bug in the HP C compiler version HP92453-01
11571         B.11.11.23709.GP.
11573         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
11574         (AS_BASENAME_EXPR): New macro.
11575         (AS_BASENAME_SED): Do not assume GNU sed semantics.
11576         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
11577         and fall back on 'sed' only if the other two fail.  This makes
11578         AS_BASENAME act more like AS_DIRNAME.
11579         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
11580         contains white space.
11581         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
11582         Use AS_DIRNAME, since I think it's now DOS-friendly.
11583         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
11584         Allow "dirname //FOO" to return either / or //, as POSIX allows
11585         either behavior.
11587 2001-10-10  Akim Demaille  <akim@epita.fr>
11589         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
11590         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
11591         From Eric Sharkey.
11593 2001-10-10  Akim Demaille  <akim@epita.fr>
11595         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
11596         m4_define, since...
11597         (_AS_ECHO_N): AS_REQUIREs it.
11599 2001-10-10  Akim Demaille  <akim@epita.fr>
11601         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
11602         (AC_INCLUDES_DEFAULT): Move to...
11603         * lib/autoconf/headers.m4: here.
11604         * lib/autoconf/types.m4: Comment changes.
11605         * doc/autoconf.texi: Specify where the default includes are used
11606         in the macro prototypes.
11608 2001-10-09  Akim Demaille  <akim@epita.fr>
11610         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
11611         transition code.
11613 2001-10-08  Akim Demaille  <akim@epita.fr>
11615         * bin/autoreconf.in (&autoreconf): Remove debugging code.
11616         (&parse_args): Pass verbosity/debugging options to subtools when
11617         --debug, not when --verbose.
11618         * lib/autom4te.in (Autoreconf-preselections): New.
11619         (Autoconf): Use it.
11621 2001-10-08  Akim Demaille  <akim@epita.fr>
11623         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
11625 2001-10-08  Akim Demaille  <akim@epita.fr>
11627         * doc/autoconf.texi (autoreconf Invocation): Adjust.
11628         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
11630 2001-10-08  Akim Demaille  <akim@epita.fr>
11632         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
11633         (Syntax of the shell scripts): Don't.
11634         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
11635         bother with $force since...
11636         * lib/Autom4te/General.pm: does.
11638 2001-10-08  Akim Demaille  <akim@epita.fr>
11640         * bin/autoreconf.in: Rewrite in Perl.
11641         * configure.ac: Adjust.
11642         * lib/Autom4te/General.pm (&up_to_date_p): New.
11643         * bin/autom4te.in (&up_to_date_p): Use it.
11644         Rename as...
11645         (&up_to_date): this.
11647 2001-10-08  Akim Demaille  <akim@epita.fr>
11649         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
11650         (m4_list_cmp): Use $0 to reinvoke yourself.
11651         (m4_patsubsts): New.
11652         (m4_strip, m4_version_unletter): Use it.
11653         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
11655 2001-10-08  Akim Demaille  <akim@epita.fr>
11657         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
11658         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
11659         * lib/autoconf/types.m4, lib/autotest/general.m4,
11660         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
11661         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
11662         m4_bregexp, m4_bpatsubst, and m4_bmatch.
11663         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
11665 2001-10-08  Akim Demaille  <akim@epita.fr>
11667         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
11669 2001-10-08  Akim Demaille  <akim@epita.fr>
11671         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
11672         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
11673         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
11674         * tests/tools.at, tests/m4sh.at: Use it.
11675         * tests/m4sh.at: Don't rely on Autoconf macros.
11676         (DIRNAME_TEST): Also exercise the expr variant.
11677         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
11678         preferred M4sugar extension is now `.4s'.
11679         * tests/README: Remove.
11681 2001-10-08  Akim Demaille  <akim@epita.fr>
11683         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
11684         (m4_provide_if): this.
11685         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
11686         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
11687         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
11688         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
11690 2001-10-08  Akim Demaille  <akim@epita.fr>
11692         Use `add-log-current-defun-function' for ChangeLog creation.
11693         Suggested by Tom Tromey.
11695         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
11696         (autotest-mode): Adjust.
11697         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
11698         'comment-region onto `C-c ;'.
11699         Comments are `#', not `dnl'.
11700         (autoconf-current-defun): New.
11701         (autoconf-font-lock-keywords): Recognize `m4_defun'.
11703 2001-10-08  Akim Demaille  <akim@epita.fr>
11705         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
11706         * lib/m4sugar/m4sh.m4: here.
11707         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
11708         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
11709         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
11710         include handle the m4_pattern_*, no longer push the
11711         BODY diversion nor set the /bin/sh line, AS_INIT does it.
11712         * lib/autotest/general.m4 (AT_INIT): Likewise.
11713         * tests/base.at: Adjust the tests to use AS_INIT.
11714         * tests/tools.at (AT_DATA_FORBIDDEN): New.
11715         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
11716         Autoconf.
11718 2001-10-07  Paul Eggert  <eggert@twinsun.com>
11720         * doc/autoconf.texi (config.status Invocation):
11721         CONFIG_SHELL defaults to a shell that supports LINENO if available.
11723         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
11724         shell does not support LINENO, and if CONFIG_SHELL is unset or
11725         empty, and if we can find a shell that does support LINENO,
11726         then set CONFIG_SHELL to that shell and then re-execute
11727         ourselves with CONFIG_SHELL.
11729 2001-10-05  Paul Eggert  <eggert@twinsun.com>
11731         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
11732         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
11733         build of $(TESTSUITE).
11735 2001-10-05  Akim Demaille  <akim@epita.fr>
11737         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
11738         iff we are a bareword.
11739         Reported by Raja R Harinath.
11741 2001-10-05  Akim Demaille  <akim@epita.fr>
11743         * tests/m4sh.at (LINENO): New.
11744         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
11745         PATH_SEPARATOR before using it.
11746         Fix the absolute path case/esac pattern.
11747         Provide $0 as fallback for as_myself.
11748         Reported by Raja R Harinath.
11750 2001-10-05  Akim Demaille  <akim@epita.fr>
11752         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
11753         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
11755 2001-10-05  Akim Demaille  <akim@epita.fr>
11757         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
11758         (AS_SHELL_SANITIZE): here.  Use it.
11759         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
11760         From Paul Eggert.
11762 2001-10-04  Akim Demaille  <akim@epita.fr>
11764         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
11765         combination of Awk and sed to replace $LINENO.
11767 2001-10-02  Paul Eggert  <eggert@twinsun.com>
11769         * doc/autoconf.texi (Limitations of Builtins): You can't use
11770         "source"; it's not portable.  Remove confusing and
11771         somewhat-incorrect example involving "." and "/".
11773         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
11774         compatibility with POSIX shells.
11776 2001-10-02  Akim Demaille  <akim@epita.fr>
11778         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
11779         instead of exec'ing to preserve $0 and $@.
11781 2001-10-01  Akim Demaille  <akim@epita.fr>
11783         * tests/testsuite (AT_INIT) <at_pass_list>: New.
11784         Don't run twice the same test.
11786 2001-10-01  Akim Demaille  <akim@epita.fr>
11788         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
11789         No longer output the list of tests.
11790         <--list>: New option.
11791         <--full-help>: Remove.
11792         Complete the short/long options duality.
11793         Various small adjustments.
11795 2001-10-01  Akim Demaille  <akim@epita.fr>
11797         * doc/autoconf.texi: Use @kbd for user input.
11798         Always use `$' as shell prompt.
11800 2001-09-30  Paul Eggert  <eggert@twinsun.com>
11802         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
11803         Don't use nested parenthesization.  This patch was originally
11804         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
11805         but somehow it didn't get incorporated then.
11806         * doc/autoconf.texi (Limitations of Usual Tools):
11807         Clarify remark about sed and nested parenthesization.
11809         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
11810         Report an error if the size cannot be determined even though
11811         the type exists.
11812         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
11813         Check for `expr' arithmetic overflow, and for compilation failure,
11814         and invoke a new argument $4 if either is discovered.
11815         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
11816         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
11818 2001-09-28  Akim Demaille  <akim@epita.fr>
11820         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
11821         * m4/lispdir.m4: New.
11822         * aclocal.m4, configure.ac: Adjust.
11824 2001-09-28  Akim Demaille  <akim@epita.fr>
11826         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
11827         (AT_TESTED): this.
11828         (AT_INIT): More the wrapped section to where it will be expanded.
11829         Output `AT_tested' only when existing.
11830         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
11832 2001-09-27  Akim Demaille  <akim@epita.fr>
11834         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
11835         generates too many bug reports.
11837         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
11838         status when executing the ACTION-IF-FALSE.
11839         * tests/base.at (AC_TRY_*): Rename as...
11840         (AC_TRY_COMMAND): this.
11841         (AC_RUN_IFELSE): New.
11842         * tests/compile.at (Extensions, C keywords)
11843         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
11844         (Broken/missing compilers, AC_PROG_CPP with warnings)
11845         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
11846         * tests/c.at (Extensions, C keywords)
11847         (Broken/missing compilers, AC_PROG_CPP with warnings)
11848         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
11849         (AC_PROG_CPP requires AC_PROG_CC): here and...
11850         * tests/fortran.at (GNU Fortran 77): there.
11851         * doc/autoconf.texi (autoconf Invocation): Fix the example:
11852         AC_TRY_RUN is about compilation, not shell commands.
11853         (Test Programs): AC_TRY_RUN works as used to be advertised.
11855 2001-09-27  Akim Demaille  <akim@epita.fr>
11857         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
11858         Raja R Harinath:
11859         Be sure to detect when $LINENO always returns the same value.
11860         Look for the original script, basename($0) is certainly not
11861         enough.
11862         Pass the CLI arguments to `$as_me.lineno'.
11864 2001-09-25  Akim Demaille  <akim@epita.fr>
11866         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
11867         Be sure the close and reopen the LOG fd before and after using tee
11868         to extend the log.
11869         <at_tests_pattern>: Adjust to the new format of at_help_all.
11871 2001-09-23  Akim Demaille  <akim@epita.fr>
11873         * bin/autom4te.in (parse_args): There can be several invocations
11874         of --language now.
11876 2001-09-23  Akim Demaille  <akim@epita.fr>
11878         * doc/autoconf.texi (Top): Wrap in @ifnottex.
11880 2001-09-23  Akim Demaille  <akim@epita.fr>
11882         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
11883         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
11884         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
11885         builddir, buildpath, top_builddir, and top_buildpath.
11886         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
11887         the current directory.
11888         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
11889         variables *before* changing the current directory.
11890         Skip nonexistent dirs.
11891         * doc/autoconf.texi (Preset Output Variables): Document these
11892         variables.
11894         * lib/autotest/general.m4: Do not reset AT_victims.
11895         Don't compute at_srcdir nor at_top_srcdir.
11897         * tests/tools.at: Hence use top_srcdir.
11899         * tests/Makefile.am, tests/autoconf, tests/autoheader,
11900         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
11901         Remove.
11902         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
11903         * tests/wrapsh.in, tests/autoupdate.in: New.
11904         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
11905         * configure.ac: Build the position independent wrappers.
11907         * man/Makefile.am: Now that test wrappers are position
11908         independent, use them and drop dark envvar magic.
11910 2001-09-23  Akim Demaille  <akim@epita.fr>
11912         * doc/autoconf.texi (Common Shell Constructs): Rename as...
11913         (Programming in M4sh): this.
11914         Promote to @section.
11916 2001-09-23  Akim Demaille  <akim@epita.fr>
11918         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
11919         Pass $at_debug_args to the rerun test suite.
11920         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
11921         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
11922         From Paul Eggert.
11924 2001-09-23  Akim Demaille  <akim@epita.fr>
11926         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
11928 2001-09-23  Akim Demaille  <akim@epita.fr>
11930         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
11931         over-escaping.
11933 2001-09-23  Akim Demaille  <akim@epita.fr>
11935         * lib/Autom4te/General.pm (&debug): New.
11936         * bin/autom4te.in ($language): Move to...
11937         (parse_args): here.
11938         Handle --language in languages.
11939         * lib/autom4te.in (Automake-selections, Autoheader-selections)
11940         (Autoscan-selections): New.
11941         (Autoconf): Adjust.
11943 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
11945         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
11946         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
11947         to match current versions from CVS Automake.
11949 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
11951         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
11952         for $LINENO.
11954 2001-09-22  Akim Demaille  <akim@epita.fr>
11956         * lib/autoconf/autotest.m4: Create `package.m4'.
11957         * tests/Makefile.am (package.m4): Remove.
11959 2001-09-22  Akim Demaille  <akim@epita.fr>
11961         Rely on `$LINENO' when possible instead of `__oline__'.
11963         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
11964         `$LINENO' support replacement when not supported.
11965         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
11966         them explicitly to be sure they are not output before this section
11967         (via m4_require).  Cosmetic only.
11968         * lib/autoconf/c.m4, lib/autoconf/general.m4,
11969         * lib/autoconf/programs.m4: Replace all the occurrences of
11970         `__oline__' with `$LINENO'.
11971         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
11973 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
11975         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
11976         character (u: -> ue) in a code comment.
11977         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
11978         it works.
11980 2001-09-21  Akim Demaille  <akim@epita.fr>
11982         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
11983         Suggested by Jim Meyering.
11985 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11987         * lib/autoconf/programs.m4: Use extensions listed in
11988         $ac_executable_extensions when looking for programs.
11990 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11992         * lib/autoconf/general.m4: Fix a small Englisho.
11993         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
11994         setting up ac_dir_suffix and ac_top_builddir.
11995         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
11997 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11999         * doc/autoconf.texi (File System Conventions): Clarify the use of
12000         PATH_SEPARATOR.
12001         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
12002         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
12003         be used instead of ':'.
12004         * lib/autotest/general.m4: Replace occurrences of ':' in
12005         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
12007 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
12009         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
12010         arguments.  Fixed a typo.
12012 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
12014         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
12015         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
12017 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
12019         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
12020         * bin/autoupdate.in: Ditto.
12021         * bin/autoheader.in: Reworded a few comments.
12022         * bin/autoconf.in: Reworded help text for a few options.
12023         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
12024         * bin/autoscan.in, bin/autoupdate.in: Ditto.
12026 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
12028         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
12029         already have $file).  Set output files to binary mode (helps avoid
12030         CR issues on DOSish systems).
12032 2001-09-19  Akim Demaille  <akim@epita.fr>
12034         * lib/autotest/general.m4: Englishoes.
12035         From Tim Van Holder and Alexey Mahotkin.
12037 2001-09-18  Paul Eggert  <eggert@twinsun.com>
12039         * doc/autoconf.texi (Common Shell Constructs): New node,
12040         documenting AS_DIRNAME.
12041         (Limitations of Usual Tools): Refer to it when discussing dirname.
12042         Also, update discussion of POSIX standard to reflect latest draft.
12044         * lib/autoconf/c.m4:
12045         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
12047         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12048         Do not pass a first argument with leading '-'
12049         to expr, by parenthesizing initial integers that might be negative.
12051         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
12052         now merely checks whether it is an error to pass an argument
12053         to getpgrp.
12055         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
12056         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
12057         whether it is a (compile-time) error to pass an argument to
12058         getpgrp.  This simpler test supports the revised documentation,
12059         and is all that AC_FUNC_GETPGRP's users really need.
12061 2001-09-18  Akim Demaille  <akim@epita.fr>
12063         * doc/autoconf.texi (Limitations of Make) <$<>: New.
12065 2001-09-18  Akim Demaille  <akim@epita.fr>
12067         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
12068         `{}'.
12069         * lib/autotest/general.m4 (AT_INIT): Adjust.
12071 2001-09-18  Paul Wagland  <paul@wagland.net>
12073         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
12074         correctly.
12075         Add test for AS_BASENAME.
12076         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
12077         added test. It now correctly handles /1/2/3/, returning '3' not ''.
12078         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
12079         * tests/base.at: Fixed the expected responses. The old ones were
12080         one line out...
12081         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
12082         the documentation claims it should (and how it behaved in 2.13).
12084 2001-09-18  Akim Demaille  <akim@epita.fr>
12086         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
12087         the AC_CONFIG_COMMANDS invocation.
12088         This also solves the name clash problems.
12089         Don't set the package's ID.
12090         * lib/m4sugar/Makefile.am (version.m4): Revamp.
12091         No longer to be shipped.
12092         (version.in): Remove.
12093         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
12094         * lib/autoconf/status.m4: Adjust.
12095         Use `m4_PACKAGE_STRING'.
12096         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
12097         the only optional argument is the name of the test suite.
12098         Expect `package.m4' to define the package signature.
12099         * lib/autom4te.in (Autotest): Add `package.m4?'.
12100         * tests/Makefile.am (package.m4): New.
12101         * tests/suite.at: ifnames is a victim.
12103 2001-09-18  Akim Demaille  <akim@epita.fr>
12105         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
12106         AC_LIBSOURCE, AC_CONFIG_FILES.
12107         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
12108         program version string doesn't match the package's.
12109         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
12110         after `(cached)'.
12112 2001-09-17  Paul Eggert  <eggert@twinsun.com>
12114         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12115         Allow expression to return any value that can fit into unsigned long
12116         (not int, as before).  Check for output errors.
12118 2001-09-17  Bruno Haible  <haible@ilog.fr>
12120         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12121         Always include <stdio.h> and <stdlib.h>. Evaluate
12122         the expression in an extra function before these includes. Call
12123         fprintf "%d" only after ensuring the argument is of type 'int'.
12124         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
12126 2001-09-17  Paul Eggert  <eggert@twinsun.com>
12128         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
12129         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
12130         fatal errors, and AC_CHECK_LIB causes it to include libraries even
12131         when they don't exist.
12133         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
12134         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
12135         need it.
12137         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
12138         version with the version used by fileutils 4.1, except use
12139         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
12140         we don't need it.
12142         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
12144 2001-09-13  Akim Demaille  <akim@epita.fr>
12146         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
12147         _first_.
12148         Reported by Gerrit P. Haase.
12150 2001-09-13  Akim Demaille  <akim@epita.fr>
12152         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
12153         m4_defn'ing is valid.
12155 2001-09-13  Akim Demaille  <akim@epita.fr>
12157         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
12158         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
12159         Use it.
12161 2001-09-13  Akim Demaille  <akim@epita.fr>
12163         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
12164         m4_match.
12165         (m4_re_escape): New.
12166         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
12167         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
12168         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
12169         Likewise.
12170         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
12171         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
12172         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
12173         AT_tests_all for consistency.
12174         Set at_victims.
12175         (AT_VICTIMS): Similar to AT_KEYWORDS.
12176         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
12178 2001-09-13  Akim Demaille  <akim@epita.fr>
12180         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
12182 2001-09-13  Akim Demaille  <akim@epita.fr>
12184         * lib/autotest/general.m4 (AT_INIT): Create and remove
12185         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
12186         test suites can cohabit.
12188 2001-09-13  Akim Demaille  <akim@epita.fr>
12190         * tests/mktests.sh: Don't output banners for empty test files.
12192 2001-09-13  Akim Demaille  <akim@epita.fr>
12194         Test suites can be run independently of configure.
12196         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
12197         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
12198         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
12199         ECHO_N etc.
12200         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
12201         and at_c.
12202         * lib/autotest/general.m4: Use ECHO_*.
12204 2001-09-13  Akim Demaille  <akim@epita.fr>
12206         * bin/ifnames.in: Rewrite in Perl.
12207         * configure.ac: Don't look for AWK.
12208         * tests/tools.at (AWK portability): Remove.
12209         (Syntax of the shell scripts): Don't check ifnames.
12210         (AT_CHECK_PERL_SYNTAX): New.
12211         (Syntax of the Perl scripts): Check ifnames.
12212         * tests/ifnames: New.
12214 2001-09-13  Akim Demaille  <akim@epita.fr>
12216         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
12217         test group titles.
12218         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
12219         Remove all the other keywords.
12221 2001-09-10  Akim Demaille  <akim@epita.fr>
12223         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
12224         SETUP: no longer used.
12225         Support -k, --keywords.
12226         <at_help>: Be `no', `short', or `long'.
12227         <at_help_all>: New variable.
12228         (AT_KEYWORDS): New.
12229         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
12230         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
12231         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
12232         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
12233         No longer fill the HELP diversion.
12234         (AT_CLEANUP): Use them.
12235         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
12236         (m4_list_append): Remove.
12238         Spread a few keywords in the Autoconf test suite.
12240 2001-09-10  Akim Demaille  <akim@epita.fr>
12242         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
12243         PATH_SEPARATOR, let M4sh compute it.
12244         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
12245         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
12246         Move to...
12247         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
12248         Simplify when the path is not a literal.
12249         (AS_UNAME): Use it to report PATH.
12250         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
12251         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
12252         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
12253         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
12254         normalize the path, and to look for victims.
12255         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
12256         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
12258 2001-09-07  Akim Demaille  <akim@epita.fr>
12260         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
12261         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
12262         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
12263         related variables into `at_package_*'.
12264         * lib/autotest/general.m4 (AT_VICTIMS): New.
12265         (AT_INIT): Adjust for stand-alone/embedded test suites.
12266         (AS_MESSAGE_LOG_FD): Define and use it.
12267         * tests/suite.at (AT_VICTIMS): Use it.
12268         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
12269         at_version.
12271 2001-09-07  Akim Demaille  <akim@epita.fr>
12273         Move toward possibly stand-alone test suites.
12275         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
12276         in addition, it introduces useless differences in logs.
12277         (AT_INIT): Let atconfig and atlocal be both optional.
12278         Adjust PATH computation.
12279         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
12281 2001-09-07  Akim Demaille  <akim@epita.fr>
12283         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
12284         m4sugar/version.m4.
12286 2001-09-05  Akim Demaille  <akim@epita.fr>
12288         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
12289         to avoid GCC warnings.
12290         From Uwe Seimet.
12292 2001-09-05  Akim Demaille  <akim@epita.fr>
12294         * bin/autom4te.in: --language is -l, not -s.
12296 2001-09-05  Akim Demaille  <akim@epita.fr>
12298         Be ready to handle filenames as stupid as `dnl.at', for if even
12299         the maintainer is dumb enough to do that...
12301         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
12302         excellence in M4 quotation: consider `__file__' is active.
12304         And BTW, when invoking m4, pass the --include in the right order:
12305         the wrong one.
12307         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
12308         4m.
12310 2001-09-05  Akim Demaille  <akim@epita.fr>
12312         * lib/Autom4te/XFile.pm: New lib file.
12313         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
12314         * bin/autoheader.in: Use it.
12316 2001-09-05  Akim Demaille  <akim@epita.fr>
12318         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
12319         defined.
12321 2001-09-05  Akim Demaille  <akim@epita.fr>
12323         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
12324         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
12326         * bin/autoscan.in: Use `getopt' and `find_files' etc.
12327         Add -I, --include support.
12328         * doc/autoconf.texi (autoscan Invocation): Adjust.
12330 2001-09-05  Akim Demaille  <akim@epita.fr>
12332         CVS GNU M4 doesn't like `undefine(undefined)'.
12334         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
12335         New, extracted from main.
12336         Use IO::File wherever possible.
12337         (input.m4): Be constant, use -I instead of hard coding $tmp.
12338         Therefore be a quoted heredoc.
12339         Don't invoke `_au_disable', since ac was not loaded, but just
12340         `unm4.m4'.
12342 2001-08-31  Akim Demaille  <akim@epita.fr>
12344         Version 2.52d.
12346 2001-08-31  Akim Demaille  <akim@epita.fr>
12348         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
12349         previous patch.
12350         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
12352 2001-08-31  Akim Demaille  <akim@epita.fr>
12354         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
12355         serious problems handling heredocs in heredocs.
12356         Reported by Nicolas Joly.
12358 2001-08-31  Akim Demaille  <akim@epita.fr>
12360         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
12361         (Making testsuite Scripts): Update.
12363 2001-08-31  Akim Demaille  <akim@epita.fr>
12365         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
12367 2001-08-31  Akim Demaille  <akim@epita.fr>
12369         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
12370         (testsuite Scripts): There is no such thing as `atconfig.in'.
12371         And actually one diagram is missing: test suite runtime.
12373 2001-08-31  Akim Demaille  <akim@epita.fr>
12375         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
12376         inverse order.
12378 2001-08-31  Akim Demaille  <akim@epita.fr>
12380         * bin/autoupdate.in (@include): `installcheck' revealed the path
12381         to m4sugar was lacking!
12383 2001-08-31  Akim Demaille  <akim@epita.fr>
12385         * man/Makefile.am (.x.1): We really have to pass
12386         autom4te_perllibdir.
12388 2001-08-31  Akim Demaille  <akim@epita.fr>
12390         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
12391         debug scripts, in particular passing explicitly listed tests to
12392         run is stupid.
12394 2001-08-31  Akim Demaille  <akim@epita.fr>
12396         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
12397         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
12398         Use directly autom4te, not autoconf.
12399         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
12401 2001-08-31  Akim Demaille  <akim@epita.fr>
12403         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
12404         * bin/autoheader.in (%symbol): Strip arguments of macros.
12406 2001-08-31  Akim Demaille  <akim@epita.fr>
12408         * doc/autoconf.texi: Catch up -I, --include changes.
12410 2001-08-31  Akim Demaille  <akim@epita.fr>
12412         * bin/autom4te.in (&parse_args): Die on unknown languages.
12413         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
12414         need for autoconf.
12415         Promote --include over --macrodir and other obsolete options.
12417 2001-08-31  Akim Demaille  <akim@epita.fr>
12419         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
12420         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
12421         * bin/autom4te.in ($autoconf): Pass --force.
12422         `print $out' doesn't print `$_' but `$out'.
12423         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
12424         (autoheader): Pass --force since the test suite goes too fast for
12425         the time stamps.
12426         Adjust to the new autoheader messages.
12428 2001-08-31  Akim Demaille  <akim@epita.fr>
12430         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
12431         Check the completeness of the #template.
12432         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
12433         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
12434         invocation.
12436 2001-08-31  Akim Demaille  <akim@epita.fr>
12438         * lib/Autom4te/General.pm (&find_file, &update_file): New.
12439         * bin/autoupdate.in, bin/autoheader.in: Adjust.
12440         Drop AC_MACRODIR dead for real.
12441         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
12442         `autoheader: `config.hin' is created'.
12443         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
12445 2001-08-31  Akim Demaille  <akim@epita.fr>
12447         * bin/autoheader.in: Rewrite in Perl.
12448         * tests/autoheader: Adjust.
12450 2001-08-31  Akim Demaille  <akim@epita.fr>
12452         * bin/autoconf.in (--include, -I): New option.
12453         Map --localdir, --autoconf-dir onto it.
12454         Forward autom4te's options instead of interpreting them.
12455         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
12456         There is no such envvar since the inception of autom4te.cfg.
12457         * bin/autom4te.in (&parse_args): Uniquify `@include'.
12458         * bin/autoupdate.in: Adjust, and perform more control.
12459         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
12460         * tests/autoconf: Dittowise.
12462 2001-08-31  Akim Demaille  <akim@epita.fr>
12464         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
12465         * bin/autom4te.in (&find_file): Support `FILE?' standing for
12466         optionally `FILE'.
12467         Use -e, not -f, since /dev/null for instance is OK.
12468         (&parse_args): Adjust.
12469         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
12471 2001-08-31  Akim Demaille  <akim@epita.fr>
12473         * configure.ac: Also find tested executables in bin.
12474         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
12475         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
12476         installed peer executables, only PATH is allowed to resolve it.
12477         Pass `autoconf_dir' via options, not via invisible envvars.
12478         * lib/Autom4te/General.pm (&find_peer): Remove.
12479         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
12480         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
12481         * man/Makefile.am: Let help2man rely on PATH instead of trying to
12482         find the executables for it.
12483         * tests/Makefile.am: Major cleanup.  Too lazy to document...
12484         * tests/atlocal.in: Remove all the obscure envvar manipulations.
12485         We only need PERL.
12486         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
12487         indeed related to running the test suite, while passing
12488         --autoconf-dir and others is related to running non installed
12489         Autoconf executables.  So don't do that, leave it to...
12490         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
12491         * tests/autoscan: New.
12492         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
12493         refer to library files: rely on --language.
12495 2001-08-29  Akim Demaille  <akim@epita.fr>
12497         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
12498         s/--set/--language/.
12500 2001-08-29  Akim Demaille  <akim@epita.fr>
12502         * doc/autoconf.texi: Strip the @nodes.
12503         Suggested by Paul Eggert.
12504         (Initializing configure): Typo.
12506 2001-08-29  Akim Demaille  <akim@epita.fr>
12508         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
12509         Suggested by Paul Eggert.
12511 2001-08-29  Akim Demaille  <akim@epita.fr>
12513         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
12514         download in a tmp dir.
12516 2001-08-29  Akim Demaille  <akim@epita.fr>
12518         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
12519         case insensitive OSes out there :(
12520         From Tim Van Holder.
12522 2001-08-29  Akim Demaille  <akim@epita.fr>
12524         * lib/autom4te.in: New.
12525         * lib/Makefile.am (edit, autom4te.cfg): New.
12526         * bin/autom4te.in (BEGIN): Simplify.
12527         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
12528         (&load_configuration): New.  Use it.
12529         (&parse_args): Support --mode, --set, and --melt.
12530         * bin/autoconf.in: Simplify and adjust.
12531         * tests/Makefile.am (AUTOMAKE): Use --set.
12532         * tests/atlocal.in: Adjust.
12533         * BUGS: distcheck and check are weak.
12535 2001-08-29  Akim Demaille  <akim@epita.fr>
12537         * lib/autotest/general.m4: Use
12538                 foo=`(command) 2>/dev/null`
12539         not
12540                 foo=`command` 2>/dev/null
12541         (at-devnull): Rename as...
12542         (AT-devnull): this.
12543         (--clean): Remove AT-* files too.
12544         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
12545         Reported by Nicolas Joly.
12547 2001-08-28  Akim Demaille  <akim@epita.fr>
12549         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
12550         quotes inside single quotes.
12551         Reported by Nicolas Joly.
12553 2001-08-28  Kevin Ryde  <user42@zip.com.au>
12555         * doc/autoconf.texi (Function Portability): Mention C right shifts.
12557 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
12559         * lib/autotest/general.m4: Reword some messages.
12560         (AT_INIT): Check for the `times' builtin before using it.
12561         Support test ranges as arguments to the testsuite.
12562         Have -e imply -d as the help text suggested.
12564 2001-08-27  Akim Demaille  <akim@epita.fr>
12566         * Makefile.maint: Formatting changes.
12567         (do-po-update, po-update, cvs-update, update): New targets.
12568         (AMTAR): Remove.
12570 2001-08-27  Akim Demaille  <akim@epita.fr>
12572         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
12573         <at_cmd_line>: New.
12574         Pass it to debug-*.sh scripts.
12575         <AUTOTEST_PATH>: May contain absolute dir names.
12577 2001-08-27  Akim Demaille  <akim@epita.fr>
12579         * lib/autotest/general.m4 (AT_INIT): Log the command line.
12580         Support `VAR=VAL' as arguments.
12581         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
12582         may be set via the command line.
12584 2001-08-27  Akim Demaille  <akim@epita.fr>
12586         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
12587         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
12588         first the build dirs, then the src dirs.
12589         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
12591 2001-08-27  Akim Demaille  <akim@epita.fr>
12593         * lib/autotest/general.m4 (AT_INIT): Output the definition of
12594         at_data_files earlier.
12595         (--clean, -c): New option.
12596         * tests/Makefile.am: Use this option.
12598 2001-08-27  Akim Demaille  <akim@epita.fr>
12600         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
12601         `ac_top_builddir' to mimic Automake's vocabulary, which much more
12602         readable.
12603         Adjust callers.
12604         * doc/autoconf.texi (Configuration Actions): Document the vars
12605         available in commands.
12606         Emphasize the risks of collisions in init-cmds.
12608 2001-08-27  Akim Demaille  <akim@epita.fr>
12610         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
12611         (Initializing configure): this new node.
12613 2001-08-27  Akim Demaille  <akim@epita.fr>
12615         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
12617 2001-08-27  Akim Demaille  <akim@epita.fr>
12619         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
12620         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
12621         New file.
12622         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
12624 2001-08-27  Akim Demaille  <akim@epita.fr>
12626         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
12627         to...
12628         * lib/autoconf/autoheader.m4: this new file.
12629         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
12630         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
12631         Move to...
12632         * lib/autoconf/autoupdate.m4: this new file.
12634 2001-08-27  Akim Demaille  <akim@epita.fr>
12636         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
12637         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
12638         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
12639         -> ac_dir).
12640         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
12641         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
12643 2001-08-27  Akim Demaille  <akim@epita.fr>
12645         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
12646         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
12647         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
12648         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
12649         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
12650         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
12651         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
12652         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
12653         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
12654         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
12655         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
12656         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
12657         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
12658         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
12659         (_AC_OUTPUT_SUBDIRS): Move to...
12660         * lib/autoconf/status.m4: this new file.
12661         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
12662         * tests/Makefile.am, tests/suite.at: Adjust.
12664 2001-08-27  Akim Demaille  <akim@epita.fr>
12666         Automake 1.5.
12668         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
12669         (AMTAR): Help automake define it.
12670         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
12671         needed, 1.5 can have a macro and a target with the same name.
12672         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
12673         * m4/strip.m4: New.
12674         * m4/init.m4, m4/sanity.m4: Update.
12675         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
12676         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
12677         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
12678         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
12680 2001-08-27  Akim Demaille  <akim@epita.fr>
12682         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
12684         * lib/autoconf/version.in: Remove.
12685         * lib/m4sugar/version.in: New.
12686         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
12687         Adjust callers.
12688         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
12689         the name of the directory they're in, instead of the filename,
12690         since version.m4 is now in m4sugar, but m4_acversion must not be
12691         classified as an Autoconf macro.
12692         ($input_m4): Don't qualify the path to m4sugar.
12693         Rather, pass autoconf_dir to m4.
12694         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
12695         * tests/suite.at: Require 2.52c.
12697 2001-08-27  Akim Demaille  <akim@epita.fr>
12699         testsuite.log should include config.log.
12701         * lib/autotest/autotest.m4: New.
12702         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
12703         * tests/suite.at : Adjust.
12704         (AT_INIT): Log config.log.
12705         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
12706         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
12707         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
12708         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
12709         of config.log on traps.
12710         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
12711         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
12712         for config.status'.
12713         Open the log as soon as possible.
12714         Use the same log introduction as configure's.
12716 2001-08-22  Paul Eggert  <eggert@twinsun.com>
12718         * doc/autoconf.texi (Indices): New node.
12719         Move indices out of the top level menu and into this submenu.
12721 2001-08-22  Akim Demaille  <akim@epita.fr>
12723         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
12724         AC_TRY_COMMAND.
12725         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
12727 2001-08-22  Akim Demaille  <akim@epita.fr>
12729         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
12730         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
12731         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
12732         * lib/autoconf/programs.m4: here.
12733         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
12734         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
12735         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
12736         * lib/autoconf/programs.m4: here.
12737         (_AC_DECL_YYTEXT): Rename as...
12738         (_AC_PROG_LEX_YYTEXT_DECL): this.
12739         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
12740         * tests/Makefile.am, tests/suite.am: Adjust.
12742 2001-08-22  Akim Demaille  <akim@epita.fr>
12744         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
12745         Move to...
12746         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
12747         here.
12748         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
12749         * lib/autoconf/functions.m4: here.
12750         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
12751         (AH_CHECK_LIB): Move to...
12752         * lib/autoconf/libs: this new file.
12753         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
12754         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
12755         * lib/autoconf/libs.m4: here.
12756         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
12758 2001-08-22  Akim Demaille  <akim@epita.fr>
12760         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
12761         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
12762         (AC_SITE_LOAD): Better logging of config.site.
12764 2001-08-20  Akim Demaille  <akim@epita.fr>
12766         * configure.ac (AT_CONFIG): Fix the path.
12767         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
12768         can be used.
12770 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
12772         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
12773         program with AC_LANG_PROGRAM before feeding it to
12774         AC_COMPILE_IFELSE.  Cleanup grep usage.
12776 2001-08-20  Akim Demaille  <akim@epita.fr>
12778         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
12779         * NEWS, README, README-alpha, TODO, tests/README: This package is
12780         `Autoconf', not `autoconf' (the executable).
12782 2001-08-20  Akim Demaille  <akim@epita.fr>
12784         Info readers seem to need `Index' in the index node title :(
12786         * doc/autoconf.texi: Reverse the 2001-08-15 change which
12787         simplified index node names.
12789 2001-08-20  Akim Demaille  <akim@epita.fr>
12791         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
12792         arguments are not literals.
12793         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
12794         Specify the output variables, and macros defined.
12796 2001-08-20  Akim Demaille  <akim@epita.fr>
12798         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
12799         (Examining Syntax) <AC_TRY_COMPILE>
12800         (Examining Libraries) <AC_TRY_LINK>
12801         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
12802         their arguments.
12803         Reported by Werner Lemberg.
12805 2001-08-20  Akim Demaille  <akim@epita.fr>
12807         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
12808         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
12809         Load atlocal late enough to dump it in the log.
12810         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
12812 2001-08-20  Akim Demaille  <akim@epita.fr>
12814         * tests/torture.at (Configuring subdirectories): New test.
12815         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
12816         looking for.
12817         * m4/atconfig.m4: Be sure the let $[0] be expandable.
12818         (top_srcdir): Fix its computation.
12820 2001-08-20  Akim Demaille  <akim@epita.fr>
12822         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
12823         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
12824         test suite lives.
12825         Create `atconfig' automagically.
12826         Configure atlocal.in if present.
12827         * tests/atconfig.in: Remove.
12828         * tests/atlocal.in: New.
12829         * tests/Makefile.am: Adjust.
12831 2001-08-20  Akim Demaille  <akim@epita.fr>
12833         Huh!?!?!  There are still some user EOF tags used, which prevents
12834         their use in AC_CONFIG_COMMANDS for instance...
12836         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
12837         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
12838         `_CSEOF', or `_ATEOF', as appropriate.
12839         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
12840         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
12842 2001-08-20  Akim Demaille  <akim@epita.fr>
12844         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
12845         * tests/semantics.at, tests/tools.at, tests/torture.at:
12846         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
12848 2001-08-20  Akim Demaille  <akim@epita.fr>
12850         Autotest invokes M4sh's initialization.
12852         * lib/autotest/general.m4: Adjust the diversion names.
12853         (AT_INIT): Run AS_INIT.
12854         Use the BINSH diversion to invoke /bin/sh.
12855         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
12856         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
12858 2001-08-20  Akim Demaille  <akim@epita.fr>
12860         Let M4sh have its own diversions.
12862         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
12863         (_m4_divert(NOTICE)): Rename as...
12864         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
12865         (_m4_divert(HEADER-COMMENT)): these.
12866         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
12867         (_m4_divert(NOTICE)): New, for Libtool.
12868         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
12869         long ago with `_m4_divert(GROW)'.
12870         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
12872 2001-08-20  Akim Demaille  <akim@epita.fr>
12874         * tests/base.at, tests/compile.at, tests/foreign.at,
12875         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
12876         * tests/semantics.at, tests/suite.at, tests/tools.at,
12877         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
12879 2001-08-20  Akim Demaille  <akim@epita.fr>
12881         * bin/autom4te.in (handle_output): Handle @__@.
12883 2001-08-20  Akim Demaille  <akim@epita.fr>
12885         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
12886         * lib/autotest/general.m4: Adjust the license.
12888 2001-08-17  Paul Eggert  <eggert@twinsun.com>
12890         * doc/autoconf.texi (Function Portability): Mention snprintf,
12891         following up on a suggestion by Kevin Ryde.
12893 2001-08-17  Akim Demaille  <akim@epita.fr>
12895         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
12896         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
12898 2001-08-17  Akim Demaille  <akim@epita.fr>
12900         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
12901         `$0.log' as for projects where testsuite is in src, we'd have
12902         testsuite.log created in src.
12904 2001-08-17  Akim Demaille  <akim@epita.fr>
12906         * bin/autom4te.in (&parse_args): Recognize --normalize.
12908 2001-08-17  Akim Demaille  <akim@epita.fr>
12910         Start implementing the AC_CHECK_HEADER transition scheme.
12912         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
12913         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
12914         (AC_CHECK_HEADER): Use them.
12916 2001-08-17  Akim Demaille  <akim@epita.fr>
12918         * doc/autoconf.texi: Work around Texinfo buglets.
12919         (Transformation Rules): One example is enough, users are expected
12920         to have their brains on. And BTW, use DESTDIR.
12921         (dvar): New macro.  Use it.
12923 2001-08-17  Akim Demaille  <akim@epita.fr>
12925         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
12926         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
12927         looking for ChangeLogs.
12929 2001-08-17  Akim Demaille  <akim@epita.fr>
12931         * bin/autom4te.in: --normalize is a new option.
12932         * bin/autoconf.in: Use it.
12934 2001-08-17  Akim Demaille  <akim@epita.fr>
12936         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
12937         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
12939 2001-08-16  Paul Eggert  <eggert@twinsun.com>
12941         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
12942         start, not at end.
12944 2001-08-15  Akim Demaille  <akim@epita.fr>
12946         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
12947         Use it.
12949 2001-08-15  Akim Demaille  <akim@epita.fr>
12951         * doc/autoconf.texi (pr): New index.
12952         (prindex, findex): Use, merge, and output them.
12953         (Environment Variable Index, Output Variable Index)
12954         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
12955         (Autotest Macro Index): Rename as...
12956         (Environment Variables, Output Variables,Preprocessor Symbols)
12957         (Autoconf Macros, M4 Macros, Autotest Macros): these.
12958         * doc/install.texi: Use @command.
12959         (Environment Variables): Rename as...
12960         (Defining Variables): this.
12962 2001-08-15  Akim Demaille  <akim@epita.fr>
12964         * doc/autoconf.texi (Function Portability): sprintf's return
12965         value.
12966         From Kevin Ryde.
12968 2001-08-15  Akim Demaille  <akim@epita.fr>
12970         * Makefile.maint (CVS): New.
12971         (local-check): Run changelog-check. last.
12972         (alpha): Don't depend upon local-check, since...
12973         (cvs-dist): depends upon it.
12975 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
12977         * tests/Makefile.am: Use a clean-local rule to remove
12978         autom4te.cache (it's a directory, not a file.
12979         * Makefile.am: Ditto (but maintainer-clean-local).
12981 2001-08-15  Akim Demaille  <akim@epita.fr>
12983         * bin/autom4te.in (@m4_warning): New.
12984         (&handle_m4): Use it.
12985         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
12986         warnings are issued at each run.
12987         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
12988         is in the src tree.
12990 2001-08-15  Akim Demaille  <akim@epita.fr>
12992         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
12993         don't waste time running `autoupdate --version' works.
12994         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
12996 2001-08-13  Akim Demaille  <akim@epita.fr>
12998         * doc/autoconf.texi (ma): Rename this index as...
12999         (ac): this.
13001 2001-08-13  Akim Demaille  <akim@epita.fr>
13003         * Makefile.am: Remove dead code and dead comments.
13004         (pdf, html): New targets.
13005         * doc/autoconf.texi (Using Autotest): New chapter.
13006         * doc/Makefile.am (pdf): New targets.
13007         (CLEANFILES): Adjust.
13009 2001-08-13  Akim Demaille  <akim@epita.fr>
13011         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
13012         duration of the test suite.
13014 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
13016         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
13017         endianness for comparison instead of relying on AT_CHECK_ENV.
13019 2001-08-11  Paul Eggert  <eggert@twinsun.com>
13021         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
13022         to the INSTALL file.
13024 2001-08-11  Paul Eggert  <eggert@twinsun.com>
13026         * NEWS: The autoconf manual now is distributed under the terms
13027         of the GNU Free Documentation License.
13029         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
13030         Add an appendix "Copying This Manual" for the FDL.
13032         * doc/fdl.texi: New file, from
13033         <http://www.gnu.org/licenses/fdl.texi>.
13035         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
13037 2001-08-10  Paul Eggert  <eggert@twinsun.com>
13039         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
13040         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
13041         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
13042         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
13043         m4/sanity.m4, tests/README, tests/aclocal.m4,
13044         tests/atspecific.m4, tests/base.at, tests/compile.at,
13045         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
13046         tests/semantics.at, tests/suite.at, tests/tools.at,
13047         tests/torture.at: Add copyright notice.
13049         * tests/mktests.sh: Update year in copyright notice.
13051 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
13053         * tests/semantics.at (AC_C_BIGENDIAN): New test.
13055 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
13057         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
13058         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
13059         * doc/autoconf.texi (C Compiler Characteristics): Update
13060         documentation for AC_C_BIGENDIAN.
13062 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
13064         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
13065         magic values from an object file when cross-compiling.
13066         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
13068 2001-08-10  Akim Demaille  <akim@epita.fr>
13070         * bin/autom4te.in (&handle_output): Don't use `grep' with side
13071         effects.
13072         Suggested by Russ Allbery.
13074 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
13076         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
13077         current $prefix to the sub-configures.
13079 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
13081         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
13082         extension (needed on BeOS).  Reported by Guido van Rossum.
13084 2001-08-09  Akim Demaille  <akim@epita.fr>
13086         * bin/autom4te.in ($icache): Load it only if older than autom4te.
13088 2001-08-07  Akim Demaille  <akim@epita.fr>
13090         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
13091         removed.
13092         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
13093         No need to remove the files before and after the each test, before
13094         each test and at the end of the suite is enough.
13095         Display only the children `times', not the shell's.
13096         If the test failed or was skipped, at-times is not available.
13098 2001-08-07  Akim Demaille  <akim@epita.fr>
13100         Always produce testsuite.log, including when there are no
13101         failures.  This helps getting information on skipped tests, and
13102         duration of the tests.  Err, implement the latter btw.
13104         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
13105         Dump information on the first run of each test.
13106         (AT_CLEANUP): Create `at-times' containing the duration of the
13107         test group.
13109 2001-08-07  Akim Demaille  <akim@epita.fr>
13111         The use of `dumpstat' revealed that `len' was used although it
13112         should not.  m4_text_wrap was using it, but in the Autoconf world
13113         where it is legal.  Hence (i) test M4sh in its own world, not
13114         Autoconf's, and (ii), ahem, fix the bug :)
13116         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
13117         does not like `' instead of [].
13118         (AT_INIT): Forbid `^_?AT_'.
13119         And don't output such tokens.
13120         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
13121         `script.as', and `autom4te.cache'.
13122         Remove `empty' and `macro' which are no longer used.
13123         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
13124         * tests/m4sugar.at: Use it.
13125         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
13127 2001-08-07  Akim Demaille  <akim@epita.fr>
13129         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
13131 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
13133         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
13135 2001-08-04  Akim Demaille  <akim@epita.fr>
13137         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
13138         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
13139         AC_TRY_LINK.
13140         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
13141         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
13142         (AC_F77_MAIN): Likewise.
13144 2001-08-04  Akim Demaille  <akim@epita.fr>
13146         Don't rely on M4sugar outputting the patterns in files, since we
13147         might process the output _without_ running m4, hence without these
13148         files.
13150         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
13151         * bin/autom4te.in (@Request::includes): Remove, unused.
13152         (@Request::source): Rename as...
13153         (@Request::input): this.
13154         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
13155         (&handle_output): Fetch the patterns from the traces.
13156         `$forbidden' and `$allowed' are constant: use m//o.
13157         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
13158         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
13160 2001-08-04  Akim Demaille  <akim@epita.fr>
13162         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
13163         autoconf', i.e., in addition to caching traces, cache the output.
13165         * bin/autom4te.in (Request::cache): Rename as...
13166         (Request::id): this.
13167         ($cache, $icache, $tcache, $ocache): New.
13168         (&handle_m4): Save M4 output in the cache instead of $tmp.
13169         (&handle_output): Adjust.
13170         (&up_to_date_p): Check that the output cache is up to date too.
13171         (top level): Run `&handle_m4' iff force or the cache is invalid.
13172         Run `&handle_output' if the output cache is more recent.
13174 2001-08-04  Akim Demaille  <akim@epita.fr>
13176         * bin/autom4te.in ($force): New.
13177         (&parse_args, &print_usage): -f, --force is a new option.
13178         (&handle_output): CPP directives might have spaces after `#'.
13179         (&parse_args): The first file only can be frozen.
13181 2001-08-04  Akim Demaille  <akim@epita.fr>
13183         Don't let autom4te compute the `include' traces several times:
13184         first check that the trace cache file is up to date, and then
13185         compare its timestamp with that of the output.
13187         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
13188         the preamble.  Don't require 5.005 as Autom4te::General does it,
13189         and better yet (use `use', not `require'!).
13190         * lib/Autom4te/Struct.pm: Rename the last occurrences of
13191         Class::Struct as Autom4te::Struct.
13192         * lib/Autom4te/General.pm (File::stat): Use it.
13193         (&mtime): New, export it.
13194         * bin/autom4te.in: Use it.
13195         Declare `$req' is invalid if it is outdated.
13196         Don't declare it valid before saving it if something went wrong.
13198 2001-08-04  Akim Demaille  <akim@epita.fr>
13200         Autom4te shall not encode Autoconf data, and preselecting traces
13201         must be proposed to the users.
13203         * bin/autom4te.in (@required_trace): Remove.
13204         (@preselect): New.
13205         (&parse_args, &print_usage): -p, --preselect is a new option.
13206         (&up_to_date_p): Adjust.
13207         * bin/autoconf.in: Preselect some Autoconf macros.
13209 2001-08-04  Akim Demaille  <akim@epita.fr>
13211         * tests/tools.at (autoconf --trace: user macros): Check traces on
13212         macros invoked without arguments, and macros invoked with multiple
13213         lines arguments.
13215 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
13217         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
13218         arguments.
13220 2001-08-03  Akim Demaille  <akim@epita.fr>
13222         * bin/autoconf.in ($@): Work around the usual sh bug.
13223         From Nicolas Joly.
13225 2001-08-03  Akim Demaille  <akim@epita.fr>
13227         Clean up the handling of the M4 builtins tracing exception.
13229         * bin/autom4te.in (Request::request): Don't complete M4 builtins
13230         trace requests.
13231         (@m4_builtins): Rename as...
13232         (@m4_builtin): this.
13233         (%m4_builtin_alternate_name): New.
13234         (&parse_args): Complete the trace requests with alternate names.
13235         (&handle_traces): Hence no longer do it here.
13236         (&trace_requests): Remove, unused.
13238 2001-08-03  Akim Demaille  <akim@epita.fr>
13240         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
13241         m4_if, and m4_wrap.
13243 2001-08-03  Akim Demaille  <akim@epita.fr>
13245         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
13246         (m4_divert_pop): Dump the whole diversion stack when a diversion
13247         mismatch happens.
13248         * bin/autom4te.in (&handle_output): Remember of the first
13249         occurrence of a possibly undefined macro, not the last.
13250         Complain about the possibly undefined macros in the same order as
13251         the appear in the output.
13252         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
13253         * tests/tools.at (autoconf: forbidden tokens, basic)
13254         (autoconf: forbidden tokens, exceptions): No longer sort
13255         autoconf's stderr, as it is now deterministic.
13256         Check that `dnl' is caught.
13258 2001-08-01  Akim Demaille  <akim@epita.fr>
13260         * configure.ac: Bump to 2.52c.
13262 2001-08-01  Akim Demaille  <akim@epita.fr>
13264         Version 2.52b.
13266         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
13268 2001-08-01  Akim Demaille  <akim@epita.fr>
13270         Version 2.52a.
13272 2001-08-01  Akim Demaille  <akim@epita.fr>
13274         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
13275         `die'.
13276         (&END): New.
13277         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
13278         `END', as `Autom4te::General::END' will be triggered.
13279         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
13280         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
13281         system to run `mv', `rm', and `cmp'.
13283 2001-08-01  Akim Demaille  <akim@epita.fr>
13285         * lib/Autom4te/General.pm (&unique): New.
13286         * bin/autoscan.in (&output): Use it to issue trace requests once.
13288 2001-08-01  Akim Demaille  <akim@epita.fr>
13290         * lib/Autom4te/General.pm: New.
13291         * bin/autom4te.in (Autom4te::General): Use it.
13292         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
13293         (&find_configure_ac, &find_slave): Remove.
13294         * bin/autoscan.in: Likewise.
13295         * bin/autoupdate.in: Likewise.
13297 2001-08-01  Akim Demaille  <akim@epita.fr>
13299         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
13300         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
13301         * bin: here, new directory.
13302         * lib/Autoconf: Rename as...
13303         * lib/Autom4te: this, to please case insensitive junkie OSes.
13305 2001-08-01  Akim Demaille  <akim@epita.fr>
13307         * autom4te.in ($m4): Handle the --nesting-limit.
13308         * autoconf.in (M4): Remove.
13310 2001-08-01  Akim Demaille  <akim@epita.fr>
13312         * autoconf.in ($AWK): Remove, no longer used.
13313         * test/tools.at: Use AT_CHECK_AUTOCONF.
13314         (AWK portability): Remove, for autoconf no longer uses AWK.
13315         (Syntax of the Perl scripts): New.
13316         * configure.ac: autoconf no longer needs an AWK with a good
13317         regexp engine.
13318         Use a static test on AC_PACKAGE_VERSION.
13319         * autom4te.in (&up_to_date_p): Output depends on the arguments.
13320         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
13321         * tests/atconfig.in (PERL): New.
13323 2001-08-01  Akim Demaille  <akim@epita.fr>
13325         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
13326         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
13327         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
13328         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
13329         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
13330         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
13331         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
13332         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
13333         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
13334         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
13335         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
13336         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
13337         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
13338         * lib/autoconf/c.m4: here, new file.
13340         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
13341         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
13342         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
13343         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
13344         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
13345         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
13346         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
13347         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
13348         (AC_F77_FUNC): Move to...
13349         * lib/autoconf/fortran.m4: here, new file.
13351 2001-08-01  Akim Demaille  <akim@epita.fr>
13353         * acfunctions.m4: Rename as...
13354         * lib/autoconf/functions.m4: this.
13355         * acgeneral.m4: Rename as...
13356         * lib/autoconf/general.m4: this.
13357         * acheaders.m4: Rename as...
13358         * lib/autoconf/headers.m4: this.
13359         * aclang.m4: Rename as...
13360         * lib/autoconf/lang.m4: this.
13361         * acoldnames.m4: Rename as...
13362         * lib/autoconf/oldnames.m4: this.
13363         * acspecific.m4: Rename as...
13364         * lib/autoconf/specific.m4: this.
13365         * actypes.m4: Rename as...
13366         * lib/autoconf/types.m4: this.
13367         * autoconf.m4: Rename as...
13368         * lib/autoconf/autoconf.m4: this.
13370         * m4sugar.m4: Rename as...
13371         * lib/m4sugar/m4sugar.m4: this.
13372         * m4sh.m4: Rename as...
13373         * lib/m4sugar/m4sh.m4: this.
13375         * tests/atgeneral.m4: Rename as...
13376         * lib/autotest/general.m4: this.
13378         * acfunctions: Rename as...
13379         * lib/autoscan/functions: this.
13380         * acheaders: Rename as...
13381         * lib/autoscan/headers: this.
13382         * acidentifiers: Rename as...
13383         * lib/autoscan/identifiers: this.
13384         * aclibraries: Rename as...
13385         * lib/autoscan/libraries: this.
13386         * acmakevars: Rename as...
13387         * lib/autoscan/makevars: this.
13388         * acprograms: Rename as...
13389         * lib/autoscan/programs: this.
13391 2001-08-01  Akim Demaille  <akim@epita.fr>
13393         * doc/autoconf.texi: Moving/deleting open files is not portable.
13394         Portability issues for `.' (source), and more information about sed.
13396 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
13398         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
13399         which has a special meaning and is not a reference to libibmil.a.
13400         Reported by Matteo Frigo.
13402 2001-07-25  Pavel Roskin  <proski@gnu.org>
13404         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
13405         output.
13407 2001-07-25  Akim Demaille  <akim@epita.fr>
13409         * autoconf.in: Try to define the variables before using them.
13410         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
13411         instead of `$perllibdir'.
13412         * tests/atconfig.in ($autom4te_perllibdir): Export it.
13414 2001-07-25  Akim Demaille  <akim@epita.fr>
13416         * autoconf.in (ac_LF_and_DOT): Remove, unused.
13418 2001-07-24  Akim Demaille  <akim@epita.fr>
13420         Let autoconf use autom4te for traces.
13422         * autoconf.in ($task, task trace): Remove, merely pass --trace to
13423         autom4te.
13424         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
13425         (Because I found no way for autom4te to accept `-').
13426         * autom4te.in (&Request::request): Beware of M4 builtins.
13427         (END): Don't try to remove the content of an empty dir.
13428         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
13429         (&handle_output): Set a default value to `$forbidden'.
13430         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
13431         ($autoconf): Pass --debug and --verbose.
13432         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
13433         cache.
13435 2001-07-24  Akim Demaille  <akim@epita.fr>
13437         Let autoconf use autom4te to create configure.
13439         * autoconf.in ($automate): New var.
13440         (task script): Use autom4te.
13441         * autom4te.in (File::Spec): Use it.
13442         (&find_file): New.
13443         (&parse_args): --warning is -W, not -w.
13444         Find the top level files.
13445         (&handle_m4): Pass the warnings flags.
13446         Don't report verbosely m4's failures, unless requested.
13447         (&handle_output): Don't complain for forbidden tokens in comments.
13448         Be sure to report all the forbidden tokens within a single line.
13449         (&trace_format_to_m4): Preserve `$_'.
13450         (&handle_traces): Sort the output macros.
13451         (&up_to_date_p): Find the files before trying to get its time stamp.
13453 2001-07-24  Akim Demaille  <akim@epita.fr>
13455         * Makefile.am: Ship, build and install Autom4te.
13456         (SUBDIRS): Add lib.
13457         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
13458         * configure.in: Require Perl.
13459         * man/autom4te.in: New.
13461 2001-07-19  Paul Eggert  <eggert@twinsun.com>
13463         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
13464         example, rather than (exit 1); exit (which isn't portable).
13466 2001-07-18  Akim Demaille  <akim@epita.fr>
13468         Version 2.52.
13470 2001-07-18  Akim Demaille  <akim@epita.fr>
13472         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
13473         was run, while they are needed also when it is expanded.
13474         Reported by Nicolas Joly.
13476         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
13477         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
13478         AC_F77_DUMMY_MAIN being expanded.
13480 2001-07-18  Akim Demaille  <akim@epita.fr>
13482         * configure.in: Bump to 2.51a.
13484 2001-07-17  Akim Demaille  <akim@epita.fr>
13486         Version 2.51.
13488 2001-07-17  Akim Demaille  <akim@epita.fr>
13490         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
13491         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
13493 2001-07-17  Akim Demaille  <akim@epita.fr>
13495         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
13496         used.  Well, then use the prototypes when you can, and runtime as
13497         a last resort.
13498         Reported by Artur Frysiak
13500         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
13501         (AC_FUNC_GETPGRP): Use it.
13502         First try to compile with 0-ary or 1-ary calls.
13504 2001-07-17  Akim Demaille  <akim@epita.fr>
13506         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
13507         replacement type.
13508         From Paul Eggert.
13510 2001-07-17  Akim Demaille  <akim@epita.fr>
13512         * Makefile.maint: Sync. with cppi 1.10.
13514 2001-07-17  Akim Demaille  <akim@epita.fr>
13516         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
13517         AC_F77_DUMMY_MAIN has been run.
13518         From Pavel Roskin and Steven G. Johnson.
13520 2001-07-17  Akim Demaille  <akim@epita.fr>
13522         * configure.in: Rename as...
13523         * configure.ac: this.
13525 2001-07-17  Akim Demaille  <akim@epita.fr>
13527         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
13528         rules.
13529         From Marc Espie.
13530         * Makefile.maint (release-archive-dir): Rename as...
13531         (release_archive_dir): this, so that it can be specialized in
13532         Makefile.
13534 2001-07-14  Akim Demaille  <akim@epita.fr>
13536         * configure.in: Bump to 2.50d.
13538 2001-07-14  Akim Demaille  <akim@epita.fr>
13540         Version 2.50c.
13541         * Makefile.maint (alpha): Typo.
13543 2001-07-14  Akim Demaille  <akim@epita.fr>
13545         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
13547 2001-07-14  Akim Demaille  <akim@epita.fr>
13549         * config/config.guess, config/config.sub, config/texinfo.tex
13550         * doc/standards.texi, doc/make-stds.texi: Update.
13552 2001-07-14  Akim Demaille  <akim@epita.fr>
13554         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
13556 2001-07-14  Akim Demaille  <akim@epita.fr>
13558         * Makefile.maint (maintainer-check): Rename as...
13559         (maintainer-distcheck): this.
13560         (changelog-check, static-check): New.
13561         Use them.
13563 2001-07-14  Kevin Ryde  <user42@zip.com.au>
13565         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
13566         for CXX is g++, not gcc.
13568 2001-07-14  Akim Demaille  <akim@epita.fr>
13570         * doc/autoconf.texi (Files): New subsection.
13572 2001-07-14  Akim Demaille  <akim@epita.fr>
13574         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
13575         of...
13576         (Generic Compiler Characteristics): this.
13577         (C++ Compiler): New subsection.
13579 2001-07-14  Akim Demaille  <akim@epita.fr>
13581         * autoscan.in: Use IO::File.
13582         Adjust all the routines to use it.
13583         ($log): New file (autoscan.log).
13584         (output): Dump detailed logs into $log, and a shortened version to
13585         stderr.
13586         (&scan_makefile): Refine the regexp catching tokens in the code.
13587         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
13588         and the `configure.ac' checking feature.
13590 2001-07-12  Akim Demaille  <akim@epita.fr>
13592         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
13593         Reported by Michael Elizabeth Chastain.
13595         * autoconf.in: Refuse such AWK.
13596         * configure.in: Likewise.
13597         * Makefile.am (acversion.m4): Do not use move-if-change this file
13598         has dependencies.
13599         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
13601 2001-07-10  Jens Petersen  <petersen@redhat.com>
13603         * autoscan.in (&scan_makefile): Improve programs regexp to parse
13604         things like "g++", "file.c" and "some-conf" as tokens.
13605         (&scan_file): Match C++ files extensions.
13606         If the filename extension is C++ then ask for c++.
13608 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
13610         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
13611         AC_TRY_LINK_FUNC, to check whether defining a dummy
13612         main-like routine is needed for linking with F77 libs.
13614 2001-07-05  Pavel Roskin  <proski@gnu.org>
13616         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
13617         after using break.
13618         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
13619         linking.
13621 2001-07-05  Akim Demaille  <akim@epita.fr>
13623         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
13624         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
13625         Makes' lives.
13626         Reported by Nicolas Joly.
13628 2001-07-04  Akim Demaille  <akim@epita.fr>
13630         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
13631         up.
13632         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
13633         warnings from compilers.
13634         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
13635         for all the compilers, not only GNU.  Hence move from here...
13636         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
13638 2001-07-04  Akim Demaille  <akim@epita.fr>
13640         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
13641         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
13642         AC_COMPILE_IFELSE.
13644 2001-07-04  Akim Demaille  <akim@epita.fr>
13646         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
13647         the ``strings.h'' change claimed below.
13649 2001-07-04  Akim Demaille  <akim@epita.fr>
13651         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
13653 2001-07-04  Akim Demaille  <akim@epita.fr>
13655         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
13656         strings.h if usable with string.h.
13657         Suggested by Paul Eggert.
13659 2001-07-04  Akim Demaille  <akim@epita.fr>
13661         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
13662         From Jens Petersen.
13664 2001-07-03  Akim Demaille  <akim@epita.fr>
13666         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
13667         etc. in the log.
13669 2001-07-03  Akim Demaille  <akim@epita.fr>
13671         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
13672         compiler, not the preprocessor.
13673         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
13674         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
13675         the right thing.
13676         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
13677         earlier if there are.
13679 2001-07-03  Akim Demaille  <akim@epita.fr>
13681         * autoscan.in ($initfile): Remove.
13682         (&find_file): Rename as...
13683         (&scan_file): this.
13684         Immediately scan the current file, instead of gathering them, and
13685         later having them handled by &scan_files.
13686         (&scan_files): Merely invoke Find::File.
13687         Adjust.
13689 2001-07-02  Akim Demaille  <akim@epita.fr>
13691         * autoscan.in: Formatting changes, matching the invocation order.
13692         (File::Find): Use it instead of Perl 4's `find.pl'.
13693         (&wanted): Rename as...
13694         (&find_file): this.
13696 2001-07-01  Pavel Roskin  <proski@gnu.org>
13698         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
13699         break in the argument to AC_TRY_LINK_FUNC.
13700         (AC_F77_MAIN): Remove conftest* after using break in the
13701         argument to AC_TRY_LINK.
13703 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
13705         Add alternate 'main' routine detection for linking C/C++ with Fortran,
13706         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
13708         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
13709         dummy alternate main is required even if the user provides her own
13710         'main'.
13711         (AC_F77_MAIN): New macro to detect whether it is possible to
13712         provide an alternate 'main' function name, using the 'main' from
13713         the Fortran libraries.
13714         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
13715         cross-language link tests can be performed successfully.
13716         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
13717         after $LIBS, for consistency; this should be the general rule since
13718         the user may want to link to Fortran libraries that require $FLIBS.
13719         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
13721 2001-06-29  Pavel Roskin  <proski@gnu.org>
13723         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
13724         at-stdout and at-stderr instead of removing the newline
13725         from the echo output, which is not guaranteed to work.
13727 2001-06-28  Jens Petersen  <petersen@redhat.com>
13729         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
13730         confdefs.h when non-zero.
13732 2001-06-28  Akim Demaille  <akim@epita.fr>
13734         * configure.in: Bump to 2.50c.
13736 2001-06-26  Akim Demaille  <akim@epita.fr>
13738         Version 2.50b.
13740 2001-06-26  Akim Demaille  <akim@epita.fr>
13742         Version 2.50a.
13744 2001-06-25  Pavel Roskin  <proski@gnu.org>
13746         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
13747         argument, AUTOCONF-FLAGS.
13748         * tests/mktests.sh (update_exclude_list): Add
13749         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
13750         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
13751         AC_FUNC_WAIT3 with "-W no-obsolete".
13753 2001-06-25  Akim Demaille  <akim@epita.fr>
13755         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
13757 2001-06-25  Akim Demaille  <akim@epita.fr>
13759         * autoscan.in (%macro): Now maps from word to list of macros.
13760         (&init_tables): Die when a word which is already handled by
13761         explicit macros is mapped to the default macro.
13762         (&print_unique): Remove, inlined in...
13763         (&output_kind): here.
13764         (File::Basename): Use it.
13765         (&output): Sort the CONFIG_FILES.
13766         * acheaders: Normalize.
13767         * acfunctions: Likewise.
13769 2001-06-25  Akim Demaille  <akim@epita.fr>
13771         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
13772         characteristics in the logs.
13773         Suggested by Mo DeJong.
13775 2001-06-24  Akim Demaille  <akim@epita.fr>
13777         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
13778         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
13779         * doc/autoconf.texi (Autoconf 2.13): New section.
13781 2001-06-24  Akim Demaille  <akim@epita.fr>
13783         * autoconf.in (Task traces): Separate the error messages from the
13784         traces to improve robustness.
13786 2001-06-23  Akim Demaille  <akim@epita.fr>
13788         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
13789         three as failures are unlikely, and speed matters.
13791 2001-06-23  Akim Demaille  <akim@epita.fr>
13793         * doc/autoconf.texi (Redefined M4 Macros): New.
13795 2001-06-23  Akim Demaille  <akim@epita.fr>
13797         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
13798         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
13799         5.3.
13801 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
13803         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
13804         config.status targets to after the evaluation of the INIT-CMDS.
13805         Double quote config.status targets (used to be single quoted).
13807 2001-06-23  Akim Demaille  <akim@epita.fr>
13809         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
13810         Check the content of the created file.
13811         Check the ./config.status command line invocation.
13813 2001-06-23  Akim Demaille  <akim@epita.fr>
13815         * tests/foreign.at (Libtool): Reject prehistoric versions.
13817 2001-06-23  Akim Demaille  <akim@epita.fr>
13819         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
13820         preexisting files matching a.*.
13822 2001-06-23  Akim Demaille  <akim@epita.fr>
13824         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
13825         stderr.
13826         * doc/autoconf.texi (AC_ARG_VAR): Update.
13828 2001-06-21  Akim Demaille  <akim@epita.fr>
13830         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
13831         precious variables have changed.
13832         * tests/torture.at (AC_ARG_VAR): Adjust.
13834 2001-06-21  Akim Demaille  <akim@epita.fr>
13836         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
13837         but some sed choke on multiple `;', and other tools (e.g.,
13838         Automake), include the separator themselves.
13840         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
13842 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
13844         * doc/autoconf.texi (Functions Portability): Rename as...
13845         (Function Portability): this.
13846         (Function Portability): Document potential problems with unlink().
13848 2001-06-19  Paul Eggert  <eggert@twinsun.com>
13850         * NEWS, doc/autoconf.texi: Document quadrigraphs.
13852 2001-06-18  Akim Demaille  <akim@epita.fr>
13854         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
13856 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
13858         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
13859         (_AC_FUNC_VFORK): this.
13860         Remove AC_DEFINEs and don't guess cross-compilation values.
13861         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
13862         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
13863         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
13864         vfork doesn't work.
13865         Guess values if cross-compiling, but warn.
13866         * acfunctions: Add AC_FUNC_FORK.
13867         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
13868         and vfork appropriately.
13870 2001-06-18  Akim Demaille  <akim@epita.fr>
13872         * doc/autoconf.texi (Functions Portability): New section.
13874 2001-06-18  Akim Demaille  <akim@epita.fr>
13876         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
13877         in $M4.
13878         Suggested by Andreas Schwab.
13880 2001-06-18  Akim Demaille  <akim@epita.fr>
13882         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
13883         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
13884         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
13885         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
13886         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
13887         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
13888         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
13889         the converse).
13891 2001-06-18  Akim Demaille  <akim@epita.fr>
13893         * doc/autoconf.texi (ms): New index.
13894         (Macro Index): Rename as...
13895         (Autoconf Macro Index): this.
13896         (M4 Macro Index): New appendix.
13897         (Programming in M4): New chapter.
13898         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
13899         (Quoting): Rename as...
13900         (M$ Quotation): this.
13901         Be part of `Programming in M4).
13903 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
13905         * tests/torture.at (AC_ARG_VAR): Set variables and export them
13906         in separate statements for compatibility with Tru64 v5.1.
13908 2001-06-17  Akim Demaille  <akim@epita.fr>
13910         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
13911         current values of the precious variables, not the previously
13912         cached values.
13913         Pass precious variables which are set to config.status.
13914         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
13915         * tests/torture.at (AC_ARG_VAR): New.
13917 2001-06-15  Paul Eggert  <eggert@twinsun.com>
13919         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
13920         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
13921         and explain why and how to replace them.
13922         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
13923         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
13925 2001-06-15  Akim Demaille  <akim@epita.fr>
13927         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
13928         Reported by Bruno Haible.
13930         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
13931          (_AC_ARG_VAR_PRECIOUS): to here.
13933 2001-06-15  Pavel Roskin  <proski@gnu.org>
13935         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
13936         an unused pointer use cast to this type and `if' statement to
13937         avoid warnings from the compiler.
13938         (AC_HEADER_TIME): Likewise.
13939         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
13940         in `if' statement to avoid warnings from the compiler. Declare
13941         ac_aggr static to avoid the need to initialize it.
13943 2001-06-14  Akim Demaille  <akim@epita.fr>
13945         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
13946         Macros'.
13948 2001-06-13  Akim Demaille  <akim@epita.fr>
13950         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
13951         Suggested by Alexander Mai.
13953 2001-06-13  Akim Demaille  <akim@epita.fr>
13955         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
13956         sys/types.h and sys/stat.h, and check for them.
13958 2001-06-13  Akim Demaille  <akim@epita.fr>
13960         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
13961         INCLUDES.
13963 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
13965         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
13966         succeeds and only try adding libdnet upon a failure.
13968 2001-06-12  Akim Demaille  <akim@epita.fr>
13970         * autoscan.in (&output_kind): Output the comment only if it exists.
13971         (%kind_comment): Add entry for `programs'.
13972         (&output_programs): Use &output_kind.
13973         (&output_functions, &output_identifiers, &output_headers)
13974         (&output_programs): Inline, and remove.
13976 2001-06-12  Akim Demaille  <akim@epita.fr>
13978         * autoscan.in (%kind_comment): New.
13979         (output_kind): New.
13980         (output_functions, output_identifiers, output_headers): Use it.
13982 2001-06-12  Akim Demaille  <akim@epita.fr>
13984         * autoscan.in (&print_unique): Take `$kind' and `$word' as
13985         arguments, to factor indirections into `%macro' and `%used'.
13986         (%generic_macro): Fix a typo.
13988 2001-06-12  Akim Demaille  <akim@epita.fr>
13990         * aclibraries: New.
13991         * autoscan.in (@kinds): Add `libraries'.
13992         Use `@kinds' instead of hard coded lists.
13993         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
13994         Remove, replaced by...
13995         (%used): this.
13997 2001-06-12  Akim Demaille  <akim@epita.fr>
13999         * autoscan.in (%functions_macros %headers_macros)
14000         (%identifiers_macros %programs_macros %makevars_macros): Remove,
14001         replaced by...
14002         (%macro): New.
14004 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
14006         * aclang.m4 (AC_NO_EXECUTABLES): Override
14007         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
14009 2001-06-11  Akim Demaille  <akim@epita.fr>
14011         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
14012         trailing new line.
14013         Reported by Andreas Schwab.
14015 2001-06-11  Akim Demaille  <akim@epita.fr>
14017         * Makefile.am, Makefile.maint: Typos.
14019 2001-06-09  Akim Demaille  <akim@epita.fr>
14021         * doc/autoconf.texi (Here-Documents): New section, gathering
14022         documentation about here-documents.
14023         Use `href', not `uref', and other changes.
14025 2001-06-09  Akim Demaille  <akim@epita.fr>
14027         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
14028         chapter.
14030 2001-06-09  Akim Demaille  <akim@epita.fr>
14032         * doc/autoconf.texi (Limitations of Builtins): Complete the
14033         description of the here-docs penalties with Alexandre Oliva's
14034         explanations.
14036 2001-06-01  Paul Eggert  <eggert@twinsun.com>
14038         * doc/autoconf.texi: Talk about here documents and speedups.
14039         Do not use "echo" on arbitrary strings.
14040         Spell "here-documents" consistently with the standard.
14042 2001-06-09  Akim Demaille  <akim@epita.fr>
14044         * doc/autoconf.texi (Concept Index): Introduce it.
14045         Regenerate the menus.
14047 2001-06-09  Akim Demaille  <akim@epita.fr>
14049         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
14050         * config/prev-version.txt: New.
14051         * config/move-if-change: New, for GNU libc.
14053 2001-06-06  Pavel Roskin  <proski@gnu.org>
14055         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
14057 2001-06-06  Akim Demaille  <akim@epita.fr>
14059         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
14060         properly when $1 is not a literal.
14061         Fixes PR Autoconf/187, reported by Bram Moolenaar.
14063 2001-06-06  Akim Demaille  <akim@epita.fr>
14065         Invoking AC_COPYRIGHT before AC_INIT fails.
14067         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
14068         * acgeneral.m4 (_m4_divert(VERSION_FSF))
14069         (_m4_divert(VERSION_USER)): New.
14070         (AC_COPYRIGHT): $2 is the diversion to use.
14071         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
14072         (AC_INIT): Remove dead comments as now it's commutative.
14074 2001-06-06  Akim Demaille  <akim@epita.fr>
14076         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
14077         PR autoconf/187.
14079 2001-06-05  Akim Demaille  <akim@epita.fr>
14081         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
14082         can be empty.
14083         `*dir' variables cannot be NONE.
14084         Reported by Mark Kettenis.
14086 2001-06-05  Paul Eggert  <eggert@twinsun.com>
14088         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
14090 2001-06-04  Akim Demaille  <akim@epita.fr>
14092         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
14093         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
14094         (AC_TR_SH): Move as...
14095         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
14096         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
14097         (AS_TR_SH): these.
14098         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
14099         (_AS_TR_SH_PREPARE): New.
14100         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
14101         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
14103 2001-06-02  Akim Demaille  <akim@epita.fr>
14105         * Makefile.am (.m4.m4f): Pass the options first.
14106         Fixes PR autoconf/182.
14108 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
14110         GNU getopt, when POSIXLY_CORRECT does not permute options and
14111         arguments.  So pass the options first.
14112         Fixes PR autoconf/184.
14114         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
14115         (run_m4): Remove files.
14116         (run_m4f): Remove.
14117         Update remainder of script to use them.
14118         (for warning in): Do not use a literal comma as it will not be
14119         split by IFS.
14121 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
14123         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
14124         Fortran compilers to check.
14125         (_AC_PROG_F77_V): Add '-###' as a possible option to print
14126         information on library and object files.
14127         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
14128         to check.
14130 2001-06-02  Akim Demaille  <akim@epita.fr>
14132         * autom4te.in (Request::@request): Declare with `vars', not `my',
14133         as it prevents updates via `do FILENAME'.
14135 2001-06-02  Akim Demaille  <akim@epita.fr>
14137         * configure.in (standards_texi): Remove, dead code.
14139 2001-06-02  Akim Demaille  <akim@epita.fr>
14141         * autom4te.in: New.
14143 2001-06-02  Pavel Roskin  <proski@gnu.org>
14145         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
14146         for signals other than 0 - exit with code 1.
14147         * m4sh.m4 (AS_TMPDIR): Likewise.
14148         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
14149         * autoheader.in: Likewise.
14150         * autoreconf.in: Likewise.
14151         * tests/torture.at (Signal handling): New test for the above.
14153 2001-06-01  Akim Demaille  <akim@epita.fr>
14155         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
14156         message.
14158 2001-05-31  Akim Demaille  <akim@epita.fr>
14160         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
14161         Add copyright and comments.
14162         * acheaders: Add stdint.h.
14163         Suggested by Paul Eggert.
14165 2001-05-31  Akim Demaille  <akim@epita.fr>
14167         * atgeneral.m4 (AT_INIT): Use $SHELL.
14168         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
14170 2001-05-31  Akim Demaille  <akim@epita.fr>
14172         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14173         stdint.h.
14174         From Paul Eggert and Lars Hecking.
14176 2001-05-31  Akim Demaille  <akim@epita.fr>
14178         * tests/base.at: Adjust line numbers in error messages.
14180 2001-05-31  Akim Demaille  <akim@epita.fr>
14182         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
14183         to emit the bangshe line.
14184         Reported by David Carter.
14186 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
14188         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
14189         Fortran (95) compilers to check.
14191 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
14193         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
14194         Macro Archive URL.
14196 2001-05-23  Pavel Roskin  <proski@gnu.org>
14198         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
14199         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
14200         (AC_PROG_CXXCPP): Likewise.
14202 2001-05-22  Akim Demaille  <akim@epita.fr>
14204         * config: New directory.
14205         * configure.in: AC_CONFIG_AUX_DIR it.
14206         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
14208 2001-05-22  Akim Demaille  <akim@epita.fr>
14210         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
14211         * autoupdate.in: Specify the Emacs mode.
14212         * acversion.m4.in: Rename as...
14213         * acversion.m4: this.
14214         * tests/Makefile.am (CLEANFILES): More garbage.
14216 2001-05-22  Akim Demaille  <akim@epita.fr>
14218         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
14219         Rename as...
14220         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
14221         these.
14223 2001-05-21  Akim Demaille  <akim@epita.fr>
14225         * configure.in: Bump to 2.50a.
14228         -----
14230         Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
14231         Software Foundation, Inc.
14233         Copying and distribution of this file, with or without
14234         modification, are permitted provided the copyright notice and this
14235         notice are preserved.