Config header generation followup.
[autoconf.git] / ChangeLog
blobdfa78e1b83b119fdd834acb126670f67432ba77a
1 2007-10-11  Eric Blake  <ebb9@byu.net>
3         Config header generation followup.
4         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
5         which won't work with the preprocessor nor with the awk
6         implementation.
7         * tests/torture.at (Define a newline): Test raw newline detection,
8         removing the XFAIL.
9         * doc/autoconf.texi (Defining Symbols): Document recent change to
10         allow backslash-newline.
11         * THANKS: Update.
13 2007-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
15         * lib/autotest/general.m4: Put function braces in separate line.
17 2007-10-10  Eric Blake  <ebb9@byu.net>
19         Avoid some overhead from m4_defn and m4_popdef.
20         * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
21         pass on first argument, since we are documented that way.
22         (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
23         check where it is safe to do so.
24         (m4_append): Likewise, and quote the separator.
25         (m4_text_box): Likewise, and avoid regex, also be robust to
26         expansion and quadrigraphs.
28         Another AC_DEFINE speedup.
29         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
30         elision...
31         (_AC_DEFINE_Q): ...here, and only do it once.
32         * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
33         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
34         introduced 2007-10-05.
36         Whitespace cleanup.
37         * lib/autoconf/general.m4: Use consistent indentation.
38         * configure: Regenerate.
40         * NEWS: Announce recent round of speed optimizations.
42 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
44         * NEWS: Announce shell function usage in Autotest.
46 2007-10-10  Eric Blake  <ebb9@byu.net>
47         and Paul Eggert  <eggert@cs.ucla.edu>
49         Reduce number of forks at startup.
50         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
51         sanitization.
52         * configure: Regenerate.
54 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
55         and Paul Eggert  <eggert@cs.ucla.edu>
57         Use awk for config header generation.
58         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
59         (_AC_OUTPUT_HEADERS_PREPARE): New macro.  Rewrite of the config
60         header machinery for use with awk and placement outside the main
61         config.status instantiation loop.  Retain multi-line defines
62         through backslash-newline combinations, do not split the script
63         any more.
64         (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
65         (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
66         needed.
67         (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
68         from define values.
69         * NEWS: Update.
70         * tests/torture.at (#define header templates): Extend test by
71         several more cases: white space before and after `#', macros
72         with parameters in config.hin and as defines, multi-line macro
73         values.
74         (Torturing config.status): Use a define value twice the length
75         in order to exercise the awk literal string limit.
76         (Substitute and define special characters): Also try special
77         delimiter, to exercise the special-case code.
78         Suggestion by Eric Lemings.
80 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
82         * tests/local.at (AT_COPYRIGHT): Bump copyright years.
84 2007-10-09  Eric Blake  <ebb9@byu.net>
86         Improve header of bin/autoconf.
87         * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
88         * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
89         from M4sh.
90         * bin/autoconf.as: Put copyright up front in generated file.
92         * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
94 2007-10-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
96         * doc/install.texi (Basic Installation): Document `uninstall'.
97         * INSTALL: Regenerate.
98         Suggestion by Roberto Bagnara.
100 2007-10-08  Paul Eggert  <eggert@cs.ucla.edu>
102         * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
104         Adjust doc. to match latest gnulib.
105         * build-aux/texinfo.tex: Sync from gnulib.
106         * doc/standards.texi: Likewise.
107         * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
108         Documentation License" and remove the subsection.  This simplifies
109         the manual a bit and is more like what other GNU projects do
110         nowadays.
112 2007-10-08  Eric Blake  <ebb9@byu.net>
114         Use recent changes.
115         * configure: Regenerate.
117         Fix regression in m4_text_wrap from 2007-10-05.
118         * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
119         (m4_sign): Sort.
120         (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
121         m4_format.
122         * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
123         * tests/autotest.at (Long test title, Longer test title): Test
124         this fix, beyond what AS_HELP_STRING already tests.
126         Avoid m4 warnings on bad m4_format usage.
127         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
128         evaulates to 0.
129         * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
130         enough arguments are provided.
132 2007-10-06  Paolo Bonzini  <bonzini@gnu.org>
134         * doc/autoconf.texi (Shell portability): Document shell function
135         portability.
137 2007-10-06  Paolo Bonzini  <bonzini@gnu.org>
139         * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
140         at_func_check_skip, at_func_check_status, at_func_filter_trace,
141         at_func_log_failure shell functions.  Use test -s to avoid
142         useless diff invocations.
143         (at_func_check_newline): Renamed from at_check_newline.
144         (AT_SETUP): Define AT_captured_files to empty.
145         (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
146         (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir.  Use all
147         the shell functions.
149 2007-10-05  Paul Eggert  <eggert@cs.ucla.edu>
151         Don't assume "." is writeable, for commands like "autoconf --version".
152         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
153         different heuristic instead, one that doesn't rely on creating
154         files.
156         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
157         correctly.
159 2007-10-05  Jim Meyering  <meyering@redhat.com>
161         Avoid makeinfo warnings.
162         * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
163         (Looping constructs): Add ` ' after @defmac'd name, m4_do.
165 2007-10-05  Eric Blake  <ebb9@byu.net>
167         Resolve Python issue 1676135 regarding configure directory args.
168         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
169         slashes from directory arguments.
170         * tests/base.at (configure directories): New test.
171         * doc/autoconf.texi (Installation Directory Variables): Document
172         the change.
173         * NEWS: Likewise.
174         * THANKS: Update.
175         Reported by Björn Lindqvist.
177         Provide better short-circuiting operation.
178         * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
179         (m4_text_wrap): Use it.  Also avoid useless m4_for.
180         * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
181         new macro.
182         (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
183         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
184         to avoid regexps.
185         * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
186         documentation.  Sort m4_mkstemp, m4_undefine.  Move m4_ifndef...
187         (Conditional constructs): ...here, to new section.  Also document
188         m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
189         m4_bpatsubsts, and m4_default.
190         (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
191         m4_do.
193 2007-10-04  Eric Blake  <ebb9@byu.net>
195         Fix recent testsuite failures.
196         * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
197         that must not be re-expanded after AS_ESCAPE.
198         * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
199         checking if it is an identifier.
201         Whitespace cleanup.
202         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
203         leading whitespace, as it caused space-tab in testsuite.
204         (AT_INIT): Avoid trailing newlines in testsuite.
206         One more round of m4_foreach_w speedups.
207         * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
208         is present.
209         (_m4_split): Avoid useless expansions inside definition.  Move
210         argument defaulting...
211         (m4_split): ...here.  Change alternate quote to something less
212         likely to appear in $1.  Also, special case space as regexp...
213         (m4_foreach_w): ...to avoid regexp on single-term list.
214         (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
215         useless expansions inside definition.
216         * tests/m4sugar.at (m4@&t@_split): Add tests.
218 2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
220         * general.m4 (AT_INIT): Add at_check_newline function.
221         (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
222         (_AT_CHECK): Don't use at_trace_this.
224 2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
226         Fix previous commit.
227         * lib/autotest/general.m4 (AT_LINE): Fix regex.
229 2007-10-04  Eric Blake  <ebb9@byu.net>
231         Speed up building testsuites.
232         * lib/autotest/general.m4 (AT_LINE): Only use regex when file
233         changed since last time.  Use simpler regex.
235 2007-10-03  Eric Blake  <ebb9@byu.net>
237         Optimize checking for identifiers.
238         * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
239         macros, more efficient than regex on m4_re_word.
240         * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
241         Rewrite in terms of new macro.  As a side-effect, AC_DEFINE can
242         now use @&t@.
243         * configure: Regenerate.
245         Remove some XFAILs, and make AT_SETUP output line up.
246         * lib/autotest/general.m4 (AT_SETUP): Only expand description
247         once; thereafter, use its expansion, properly quoted.
248         * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
249         expansion with arguments, and check for aligned output.
250         (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
251         Add a test for macros with parameters.
252         * NEWS: Document the semantics change.
253         * tests/base.at: Fix test titles containing commas.
254         * tests/compile.at: Likewise.
255         * tests/tools.at: Likewise.
256         * tests/torture.at: Likewise.
258         Another round of regex avoidance.
259         * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
260         (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
261         (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
262         (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
263         character ranges useful in m4_translit.
264         (m4_toupper, m4_tolower): Optimize the constant portion of
265         definition.
266         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
267         creates $, and reject [] thanks to AS_TR_SH rewrite.
268         (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
269         (AS_ESCAPE): Factor...
270         (_AS_ESCAPE): ...into new macro, with second argument required.
271         Avoid regex in common case.
272         (_AS_QUOTE): Use new macro.
274         Whitespace cleanup.
275         * lib/autoconf/types.m4: Avoid space-tab.
276         * lib/m4sugar/m4sh.m4: Use tab consistently.
278 2007-10-03  Paul Eggert  <eggert@cs.ucla.edu>
280         * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
281         (m4_shiftn): Remove no-longer-needed optimization.  Perhaps we
282         should remove m4_shiftn entirely?
283         (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
284         Prefer m4_shift2 and m4_shift3 to m4_shiftn.
285         * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
286         * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
287         * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
289 2007-10-03  Eric Blake  <ebb9@byu.net>
291         Comment touchups.
292         * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
294 2007-10-02  Eric Blake  <ebb9@byu.net>
296         Optimize appending text.
297         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
298         expressions.
300         Optimize recursion.
301         * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
302         lot of hot spots; optimize it for 2 and 3 shifts.
304         Optimize AC_PREREQ and other m4sugar numerics.
305         * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
306         (m4_cmp): Compare arbitrary expressions, without overflow.
307         (m4_version_unletter): Also recognize capital letters.
308         (m4_version_compare): Avoid regex when splitting version number
309         string.
311 2007-10-01  Eric Blake  <ebb9@byu.net>
313         Once again, reject IRIX m4.
314         * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
315         implementations that ignore --trace.
316         * configure: Regenerate.
317         Reported by Ralf Wildenhues.
319         Fix regression in AC_DEFINE([macro(with_arg)]).
320         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
321         quotes with a careless m4_substr.
323 2007-09-30  Eric Blake  <ebb9@byu.net>
325         Allow nameless iteration.
326         * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
327         indirectly.
328         * tests/m4sugar.at (myvar): Test this.
330 2007-09-29  Eric Blake  <ebb9@byu.net>
332         Speed optimization: avoid m4 regex when other algorithms work.
333         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
334         (_AS_QUOTE_IFELSE): Likewise.
335         * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
336         (m4_bpatsubsts): Split...
337         (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
338         regex.
339         (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
340         (m4_qlen): Optimize on short strings, to avoid regex.
341         (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
342         * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
343         (AC_DEFINE_TRACE): Likewise.
345 2007-09-28  Eric Blake  <ebb9@byu.net>
347         Oops - my earlier 'optimization' caused a regression.
348         * tests/local.at (AT_CHECK_M4): Fix typo.
350 2007-09-27  Eric Blake  <ebb9@byu.net>
351         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
353         Catch even more common AC_CACHE_VAL mistakes.
354         * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
355         lacks '_cv_', or if AC_SUBST appears in body.
356         * tests/base.at (AC_CACHE_CHECK): Test this change.
358 2007-09-27  Stepan Kasal  <kasal@ucw.cz>
359         and Eric Blake  <ebb9@byu.net>
361         Autotest no longer caters to Ultrix redirection limitation.
362         * doc/autoconf.texi (Writing testsuite.at): Remove the
363         limitation that the first parameter of AT_CHECK cannot
364         contain redirection.
365         (File Descriptors): Mention that Ultrix limitation is no longer a
366         show-stopper in modern code.
367         * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
368         parameter is `stderr' or `experr'.  Optimize if it was `ignore'.
369         * lib/autotest/general.m4 (AT_CHECK): Update comment.
371 2007-09-27  Eric Blake  <ebb9@byu.net>
373         Squelch changeword in m4sugar.
374         * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
375         feature of m4 1.4.x.
377         Configure whitespace touchups.
378         * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
379         installation directories, and avoid TAB, in configure --help
380         output.
381         * configure.ac: Avoid extra trailing newline.
382         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
383         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
384         config.status --help output.
385         * configure: Regenerate.
387         Fix underquotation in AS_HELP_STRING.
388         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
389         argument.
390         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
391         first-prefix argument.
392         * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
393         * NEWS: Document AS_HELP_STRING fix.
395         Autotest formatting touchups.
396         * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
397         output.
398         (PATH): Simplify computation of new PATH.
400 2007-09-26  Eric Blake  <ebb9@byu.net>
402         Fix testsuite breakage in last patch.
403         * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
404         font-lock fix.
405         * tests/torture.at (@%:@define header templates): Rename, so that
406         output lines up correctly.
408         More font-lock happiness.
409         * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
410         confusion.
412 2007-09-25  Eric Blake  <ebb9@byu.net>
414         Typo fixes.
415         * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
416         * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
418         Improve documentation of M4 parameter expansion.
419         * doc/autoconf.texi (Quoting and Parameters): New section.
420         (Quotation and Nested Macros): Improve wording.
422         Improve C99 detection.
423         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
424         avoid deprecation warning with icc.
425         * THANKS: Update.
426         Reported by Ted Bullock.
428 2007-09-24  Jim Meyering  <jim@meyering.net>
430         Whenever possible, use the vertical bar as sed delimiter.
431         * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
432         Use "|", not "!".
433         * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
434         [ac_dir_suffix]: Use "|", not "," as sed delimiter.
435         * tests/mktests.sh (as_me): Likewise.
436         * lib/freeze.mk (check-forbidden-patterns): Likewise.
437         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
438         * configure: Regenerate.
439         * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
440         * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
441         in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
442         This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
444 2007-09-22  Jim Meyering  <jim@meyering.net>
446         Add a comment.
447         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
448         2004-05-31 change also with a comment in the code.
450 2007-09-20  Eric Blake  <ebb9@byu.net>
452         More contribution housekeeping.
453         * THANKS: Sort.
454         * AUTHORS: Sort, reflect recent assignment from Helge Deller.
456         Ignore additional files, when copying cross-repository.
457         * .gitignore: Ignore CVS directories, emacs edits.
458         * .cvsignore: Ignore .git directory, emacs edits.
460 2007-09-15  Eric Blake  <ebb9@byu.net>
462         Provide AC_VERSION, not m4_AUTOCONF_VERSION.
463         * doc/autoconf.texi (Text processing Macros): Remove mention of
464         m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
465         once again.
466         (Notices): Move AC_PREREQ...
467         (Versioning): ...to this new section, alongside the new AC_VERSION
468         alias for the undocumented m4_PACKAGE_VERSION.
469         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
470         * lib/autoconf/general.m4 (AC_VERSION): New macro.
471         * NEWS: Update to match this rename.
472         * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
473         m4_PACKAGE_VERSION.
474         * tests/tools.at (autoconf: AC_VERSION): New test.
475         Suggested by Paolo Bonzini and Benoit Sigoure.
477 2007-09-14  Eric Blake  <ebb9@byu.net>
479         Prepare for conversion to git.
480         * doc/.cvsignore: Avoid multiple listings on one line.
481         * bin/.cvsignore: Likewise.
482         * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
483         lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
484         lib/autoscan/.gitignore, lib/autotest/.gitignore,
485         lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
486         tests/.gitignore: New files, identical to .cvsignore counterpart.
488 2007-09-13  Eric Blake  <ebb9@byu.net>
490         Editing eye-candy.
491         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
492         font-lock balance.
493         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
494         * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
495         * configure: Regenerate.
497         Clean up 'make dist' of previous patch.
498         * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
499         (CLEANFILES): Don't clean the stamp, since we distribute the
500         generated files pre-built.
501         (MAINTAINERCLEANFILES): Clean it here instead.
502         * tests/Makefile.in: Regenerate.
504         Avoid parallel 'make check' issue.
505         * tests/Makefile.am (mktests.stamp): New witness.
506         (TESTSUITE_GENERATED_AT): Use it.
507         (CLEANFILES): Clean the witness.
508         * tests/.cvsignore (mktests.stamp): Ignore the witness.
510         Document another awk pitfall.
511         * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
512         limitation of field variables in END.
513         Reported by Gary V. Vaughan.
515         * AUTHORS: Add missing entries.
517 2007-09-12  Eric Blake  <ebb9@byu.net>
519         Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
520         * doc/autoconf.texi (Text processing Macros): Document
521         m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
522         (Redefined M4 Macros): Document m4_ifndef.
523         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
524         can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
525         used it while it was undocumented.
526         * NEWS: Document this change.
527         * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
528         * lib/m4sugar/Makefile.in: Regenerate.
529         * tests/m4sugar.at (m4@&t@_version_compare): New test.
530         Reported by Bruno Haible.
532         * doc/autoconf.texi (Generic Compiler Characteristics): Add
533         missing index entries.
535 2007-09-11  Eric Blake  <ebb9@byu.net>
537         Centralize all system extensions checks.
538         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
539         from AC_AIX, AC_GNU_SOURCE, AC_MINIX.  Add Interix support.
540         (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
541         AC_USE_SYSTEM_EXTENSIONS.
542         (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
543         (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
544         * doc/autoconf.texi (Posix Variants): Reword this section,
545         emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
546         rather than a series of system-specific checks.
547         (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
548         AC_MINIX.
549         * NEWS: Document this change.
550         * THANKS: Update.
551         Reported by Martin Koeppe.
553 2007-09-08  Eric Blake  <ebb9@byu.net>
555         Clean up obsolete macros references.
556         * doc/autoconf.texi: Add anchors to support better
557         cross-referencing.
558         (Particular Structures): Move obsolete macros descriptions...
559         (External Software): Likewise.
560         (Package Options): Likewise.
561         (Obsolete Macros): ...to here.  Add cross-references to
562         documentation on replacements.
563         * NEWS: Mention that these macros have been obsolete for a while
564         now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
566         Improve M4 path searching during configure.
567         * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
568         macro.
569         (_AC_PATH_PROG_FEATURE_CHECK): Rename...
570         (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
571         parameter, and kill side effects.
572         (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
573         (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
574         * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
575         is found.
576         (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
577         allow bootstrapping with autoconf 2.61.
578         * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
579         * configure: Regenerate.
580         * doc/autoconf.texi (Generic Programs): Document new macro.
581         * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
582         macro.
583         * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
584         * NEWS: Document the change.
585         * THANKS: Update.
586         Reported by Hans Aberg.
588         * doc/autoconf.texi (Generic Programs): Fix typo.
590 2007-09-06  Eric Blake  <ebb9@byu.net>
592         * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
593         :, and make it clear that optional @var{path} defaults to $PATH.
594         (Erlang Compiler and Interpreter): Likewise.
596         Texinfo cleanup.
597         * doc/autoconf.texi: Avoid lines > 80 columns when possible.
598         Reword some paragraphs to avoid overfull, underfull hbox
599         warnings.  Add index entries to avoid overfull vbox warnings.
601 2007-09-05  Eric Blake  <ebb9@byu.net>
603         * NEWS: Adjust wording for AC_CONFIG_LINKS.
604         Reported by Ralf Wildenhues.
606 2007-09-03  Eric Blake  <ebb9@byu.net>
608         * NEWS: Document fixes that have been applied since 2.61a.
610         Housekeeping.
611         * THANKS: Update, and convert to UTF-8 encoding.
612         * AUTHORS: Likewise.
614 2007-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
616         * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
617         names beginning with `-' again.
619 2007-08-22  Stepan Kasal  <kasal@ucw.cz>
620             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
622         * doc/autoconf.texi (Defining Directories): Mention
623         AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
625 2007-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
627         * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
628         here, this macro is expanded by AC_INIT.  Fixes 2.60 regression.
629         * tests/base.at (configure arguments): New test.
630         * THANKS: Update.
631         Report by Olaf Lenz.
633         * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
634         arguments in comment.
635         Report by Vincent Torri <vtorri at univ minus evry dot fr>.
637 2007-08-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
639         * doc/autoconf.texi (File System Conventions): Index the proper
640         way of detecting absolute file names.
642 2007-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
644         * build-aux/config.guess, build-aux/config.sub,
645         build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
646         build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
647         doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
648         * doc/autoconf.texi (GNU Free Documentation License): Adjust for
649         sectioning change in fdl.texi.
651         * bin/autoconf.as: Update --version output to match current GCS.
652         * bin/autoheader.in: Likewise.
653         * bin/autom4te.in: Likewise.
654         * bin/autoreconf.in: Likewise.
655         * bin/autoscan.in: Likewise.
656         * bin/autoupdate.in: Likewise.
657         * bin/ifnames.in: Likewise.
659 2007-08-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
661         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
662         file to itself if source and build trees coincide.
663         * tests/torture.at (AC_CONFIG_LINKS and identical files): New
664         test.
665         Report by Sebastian Freundt <hroptatyr@gna.org>.
667 2007-07-20  Paul Eggert  <eggert@cs.ucla.edu>
669         Reword the copyright notices to match what's suggested in GPLv3.
670         In ChangeLog files, use more-permissive notice rather than GPL, as
671         per usual GNU standards these days.
673 2007-07-13  Paul Eggert  <eggert@cs.ucla.edu>
675         * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
676         limitation reported by Leo Moisio in
677         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
679 2007-07-03  Paul Eggert  <eggert@cs.ucla.edu>
681         * COPYING: Update to GPLv3.  All uses changed.
683 2007-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
684         and Paul Eggert  <eggert@cs.ucla.edu>
686         * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
687         fails on AIX 5.3.
689 2007-06-17  Noah Misch  <noah@cs.caltech.edu>
691         * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
692         * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
693         `srcdir' as subdirectory of `builddir'.
695 2007-06-13  Noah Misch  <noah@cs.caltech.edu>
697         * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
698         * tests/autotest.at (srcdir propagation): New test.
699         * THANKS: Update.
700         Reported by Mike Frysinger.
702 2007-06-13  Paul Eggert  <eggert@cs.ucla.edu>
704         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
705         Problem reported by Fred Kreek in
706         <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
707         * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
708         (Macro Names, Defining Directories): Don't mention PATH as a name
709         for a fully qualified file name, as this usage violates the GNU
710         coding standards and we shouldn't recommend it.
712         * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
713         string and then assume shell builtins like "test" will work.
715 2007-06-12  Noah Misch  <noah@cs.caltech.edu>
717         * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
718         not a valid shell variable name.
719         * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
720         * tests/torture.at (AC_SUBST: variable name validation): New test.
721         Reported by Andreas Schwab.
723 2007-06-04  Noah Misch  <noah@cs.caltech.edu>
725         * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
726         works with both C and C++.
728 2007-06-03  Noah Misch  <noah@cs.caltech.edu>,
729             Bruno Haible  <bruno@clisp.org>
731         * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
732         brand tests.
734 2007-05-31  Paul Eggert  <eggert@cs.ucla.edu>
736         * doc/autoconf.texi (Particular Types): Give example of use for
737         AC_TYPE_INT8_T etc.
739 2007-05-29  Stepan Kasal  <kasal@ucw.cz>
741         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
743 2007-05-28  Paul Eggert  <eggert@cs.ucla.edu>
745         * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
746         define HAVE_INT8_T, and likewise for similar macros.
747         Problem reported by Patrick Welche in
748         <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
750 2007-05-25  Noah Misch  <noah@cs.caltech.edu>
752         * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
754 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
756         * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
757         choice, since that's what we do with --enable-largefile etc.
758         Redo indenting and assignments to simplify things a bit, and make
759         the parens work with Emacs.
761         * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
762         in my previous change: AC_C_OPENMP -> AC_OPENMP.  Reported by Bruno
763         Haible.
765 2007-05-21  Noah Misch  <noah@cs.caltech.edu>
767         * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
768         * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
770 2007-05-21  Bruno Haible  <bruno@clisp.org>
772         * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
773         * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
774         * doc/autoconf.texi (Generic Compiler Characteristics): Move
775         renamed AC_OPENMP documentation here, from "C compiler".
776         Mention C++ and Fortran.
778 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
780         * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
782 2007-05-21  Bruno Haible  <bruno@clisp.org>
784         * NEWS: Mention AC_C_OPENMP.
785         * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
786         * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
787         Based in part on Steven G. Johnson's investigations for the AX_OPENMP
788         macro in the Autoconf macro archive.
790 2007-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
792         * bin/autom4te.in: Fix typos.
794 2007-05-16  Noah Misch  <noah@cs.caltech.edu>
796         * bin/autoconf.as: Handle `-' just like other input files.
797         * bin/autom4te.in (parse_args): Pass `-' through.
798         (handle_output): Skip the forbidden token search if we read from stdin.
799         (up_to_date): Always treat stdin as out of date.
800         * tests/tools.at (autoconf: input from stdin): New test.
801         (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
803 2007-05-16  Stepan Kasal  <kasal@ucw.cz>
805         * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
806         parameters for AT_CLEANUP.
807         * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
809 2007-05-14  Paul Eggert  <eggert@cs.ucla.edu>
811         * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
812         * doc/autoconf.texi (C Compiler): Likewise.
814 2007-05-14  Noah Misch  <noah@cs.caltech.edu>
816         * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
818 2007-05-09  Stepan Kasal  <kasal@ucw.cz>
820         * doc/autoconf.texi: Direntry for "autoconf Invocation"
821         renamed to "autoconf-invocation"
823         * doc/autoconf.texi (Caching Results): The CACHE-ID variable
824         in the examples should not use the internal "ac_" prefix.
826 2007-05-05  Noah Misch  <noah@cs.caltech.edu>
828         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
829         * doc/autoconf.texi ($@, case): Document Zsh limitations.
831 2007-05-03  Stepan Kasal  <kasal@ucw.cz>
833         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
834         Reorganize the comments before and in the macro.
836 2007-05-02  Stepan Kasal  <kasal@ucw.cz>
838         * lib/autoconf/lang.m4, lib/autoconf/c.m4,
839         lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
840         section titles and other comments; no code change.
842 2007-05-01  Kevin Ryde  <user42@zip.com.au>
844         * doc/autoconf.texi (Particular Programs): Typo
845         @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
847 2007-04-30  Paul Eggert  <eggert@cs.ucla.edu>
849         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
850         'configure' will fail if the shell lacks proper support for shell
851         functions.  Suggested by RMS.
853 2007-04-29  Paul Eggert  <eggert@cs.ucla.edu>
855         * doc/autoconf.texi (Limitations of Builtins): Correct the warning
856         about Solaris /bin/printf '%010000x' 123.  Problem reported by
857         Bruno Haible.
859 2007-04-28  Paul Eggert  <eggert@cs.ucla.edu>
861         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
862         for a.* when searching for executables, as this prevents users
863         from having files like a.c.  Problem reported by Ralf Wildenhues in:
864         http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
865         This fixes a problem introduced on 2000-12-19.
867 2007-04-26  Paul Eggert  <eggert@cs.ucla.edu>
869         * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
870         /bin/printf '%010000x' 123.  Problem reported by Arto C. Nirkko
871         via Bruno Haible.
873 2007-04-12  Paul Eggert  <eggert@cs.ucla.edu>
875         * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
876         AC_CHECK_TYPE, AC_CHECK_TYPES.
877         * doc/autoconf.texi (Generic types): C types must be type-names
878         (the C terminology), not type-ids (the C++ term).  C++ types
879         must not be anonymous.
880         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
881         for C++; this drops support for anonymous struct and union types,
882         which were problematic anyway.
883         * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
884         for C++.
886 2007-04-12  Jim Meyering  <jim@meyering.net>
888         * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
890 2007-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
892         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
893         to prefer a link source from the build tree, if it exists.
894         Report by Pallav Gupta <pallavgupta@gmail.com>.
896 2007-04-11  Paul Eggert  <eggert@cs.ucla.edu>
898         * doc/autoconf.texi (Generic Types): Document the restrictions
899         on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
900         (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
901         with objects too.  Document the restrictions on its use.
902         Document the restrictions on AC_CHECK_ALIGNOF's type argument.
903         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
904         For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
905         works but the latter doesn't, then it's a valid type.
906         This lets people use function types and so forth.
907         For C++ there doesn't seem to be a simple solution, so leave it alone.
908         (AC_CHECK_SIZEOF): Allow argument to be a variable.
909         (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
910         AC_CHECK_TYPE; that wasn't documented or necessary.
912 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
914         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
915         when cross-compiling.
917 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
919         * doc/autoconf.texi (External Software): Fix a typo in the
920         previous change.
922 2007-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
924         * doc/autoconf.texi (External Software, Package Options):
925         Fix ambiguous wording.  Report by Reuben Thomas <rrt@sc3d.org>.
927 2007-04-06  Paul Eggert  <eggert@cs.ucla.edu>
929         * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
930         obsolescent.  Suggested by Bruno Haible.
931         * NEWS: Document this.
933 2007-03-29  Paul Eggert  <eggert@cs.ucla.edu>
935         * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
936         (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
937         default still has the problem.  Problem reported by Bruce Korb.
939 2007-03-28  Stepan Kasal  <kasal@ucw.cz>
940         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
942         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
943         comment in the generated config.status.
945 2007-03-27  Stepan Kasal  <kasal@ucw.cz>
947         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
949 2007-03-26  Paul Eggert  <eggert@cs.ucla.edu>
951         * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
952         command and case statements to make it a bit clearer and describe
953         more pitfalls.
955 2007-03-23  Paul Eggert  <eggert@cs.ucla.edu>
957         * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
958         checks for unsigned long long int.
960 2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
962         * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
963         nonstandard grep R.E. escape sequences.
965 2007-03-17  Jim Meyering  <jim@meyering.net>
967         * doc/autoconf.texi: Adjust grammar around use of "heuristics".
968         (Limitations of Usual Tools): Also list \< and \>, and mention that
969         HP-UX's grep, like the one from Solaris, does not support that syntax.
971 2007-03-09  Stepan Kasal  <kasal@ucw.cz>
973         * doc/autoconf.texi (Specifying Names): `--host' does not
974         change the build type.
976 2007-03-05  Paul Eggert  <eggert@cs.ucla.edu>
978         * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
979         suggests AC_CONFIG_HEADERS.
980         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
981         AC_CONFIG_HEADERS.  Problem reported by
982         Peter O'Gorman.
984 2007-02-28  Paul Eggert  <eggert@cs.ucla.edu>
986         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
987         Problem reported by Paolo Bonzini in:
988         http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
989         * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
990         universal binaries.  Problem reported by Elias Pipping.
992 2007-02-27  Paul Eggert  <eggert@cs.ucla.edu>
994         * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
995         * doc/autoconf.texi (C Compiler): Document this.  There is a new
996         extra argument ACTION-IF-UNIVERSAL.
997         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
998         Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
999         Reindent for sanity's sake.
1001 2007-02-24  Eric Blake  <ebb9@byu.net>
1003         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
1004         copyright.
1005         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1006         * lib/autotest/general.m4 (AT_INIT): Likewise.
1007         (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
1009 2007-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1011         * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
1012         status of rm so we know when it failed.
1013         If cleaning of test dir failed before running the test, warn.
1014         Output the line separator in verbose mode before the warning
1015         to make clear the warning belongs to the following test.
1017 2007-02-08  Paul Eggert  <eggert@cs.ucla.edu>
1019         * doc/autoconf.texi (Parentheses): Mention problem with (( in
1020         shells.
1022 2007-02-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1023         and Paul Eggert  <eggert@cs.ucla.edu>
1025         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
1026         errors introduced in last change.
1028 2007-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1030         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
1031         an actual carriage return.  Use "ac_cr" to contain the actual
1032         carriage return.
1033         * doc/autoconf.texi (Limitations of Usual Tools): Document problem
1034         with traditional Awk and begin.
1035         * tests/torture.at (Limitations of Builtins): Document the problem
1036         with Bash 2.03 printf.
1037         (Substitute and define special characters):
1038         Remove trailing white space.  Work around a bug in Solaris 8 /bin/bash.
1040 2007-02-06  Ralf Menzel  <menzel@ls6.cs.uni-dortmund.de>  (tiny change)
1042         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
1043         input from /dev/null in awk test, so even Solaris /usr/bin/awk
1044         will not wait for input with a script containing only a BEGIN
1045         rule.
1047 2007-02-03  Paul Eggert  <eggert@cs.ucla.edu>
1049         * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
1050         requirements.
1051         * README: Likewise.
1053 2007-02-02  Eric Blake  <ebb9@byu.net>
1055         * NEWS: Update copyright.
1057         * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
1058         broken.
1059         * configure.ac: Update error message.
1060         * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
1061         Reported by Gary Vaughan and Jim Meyering, and problem analyzed
1062         by Stepan Kasal:
1063         http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
1065 2007-01-31  Eric Blake  <ebb9@byu.net>
1067         * THANKS (people): Update.
1069 2007-01-28  Paul Eggert  <eggert@cs.ucla.edu>
1071         * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
1072         latest version.
1073         (Shell Substitutions): Note problems with @{var:=value} etc.
1074         Add a new section for problems with @{#var} etc.  Problem noted
1075         by Ralf Wildenhues.  See:
1076         http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
1078 2007-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1080         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
1081         AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
1082         trace, if a package uses AC_PROG_MKDIR_P explicitly.  The actual
1083         substitution will still be done by the special code.
1084         Report by Jim Meyering.
1086         * doc/autoconf.texi (File System Conventions): Mention that
1087         $PATH_SEPARATOR is for the build system only.
1088         Report by Keith Marshall.
1090 2007-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1092         * doc/autoconf.texi (Setting Output Variables): Mention that
1093         all non-NUL characters are ok in substituted values.
1094         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
1095         (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
1096         carriage return for $AWK, needed for BSD awk.
1097         * tests/torture.at (Substitute and define special characters):
1098         Test all 8 bit non-NUL characters.
1099         Report against Automake by Patrick Welche.
1101 2007-01-15  Stepan Kasal  <kasal@ucw.cz>
1103         * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
1105 2007-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1107         * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
1108         early on the reader side, drop stderr of the input to avoid
1109         `broken pipe' error output; this may happen even with shell
1110         builtin `echo' of some bash versions.  Reports by Ian Macdonald
1111         <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
1113 2007-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1115         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
1116         separate items of `ac_user_opts', to avoid long lines.
1117         (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
1119 2007-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1121         * doc/autoconf.texi: Fix some typos.
1123 2007-01-05  Paul Eggert  <eggert@cs.ucla.edu>
1125         Fix some wording problems noted by Paolo Bonzini in:
1126         http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
1127         * doc/autoconf.texi (Signed Overflow Examples): Give more
1128         discussion about the allow_superuser_privileges example,
1129         and change it a bit to make things clearer.
1130         (Optimization and Wraparound): Clarify whether the compiler
1131         will generate an infinite loop for the example derived from
1132         Autoconf's mktime test.
1133         (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
1134         Also, clarify unsigned multiplication overflow.
1136 2007-01-04  Eric Blake  <ebb9@byu.net>
1138         * bin/Makefile.am (RELEASE_YEAR): New macro.
1139         (edit): Use it to supply correct copyright year to scripts.
1140         * bin/autoconf.as (version): Use it.
1141         * bin/autoheader.in ($version): Likewise.
1142         * bin/autom4te.in ($version): Likewise.
1143         * bin/autoreconf.in ($version): Likewise.
1144         * bin/autoscan.in ($version): Likewise.
1145         * bin/autoupdate.in ($version): Likewise.
1146         * bin/ifnames.in ($version): Likewise.
1148 2007-01-02  Paul Eggert  <eggert@cs.ucla.edu>
1150         * doc/autoconf.texi (Integer Overflow): Revised based on today's
1151         feedback.  The most important changes document what happens when
1152         you convert an out-of-range value to a signed integer type, and
1153         say that (sum < a) != (b < 0) reliably detects overflow when sum =
1154         a + b.
1156         * doc/autoconf.texi (Integer Overflow): Greatly expand and
1157         rewrite, taking notions from the recent discussion on the gcc and
1158         autoconf mailing lists; please see
1159         http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
1160         and follow the many links.
1161         (Integer Overflow Basics, Signed Overflow Examples):
1162         (Optimization and Wraparound, Signed Overflow Advice):
1163         (Signed Integer Division): New sections.
1165 2006-12-28  Steven G. Johnson  <stevenj@alum.mit.edu>
1167         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
1168         preprocessor macro arguments in traced name.
1169         * doc/autoconf.texi (Defining symbols): Document longstanding
1170         support for AC_DEFINE-ing macros with arguments, and document
1171         behavior when the same variable has multiple AC_DEFINEs.
1172         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
1173         old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
1174         macros directly, giving much shorter and simpler code.
1176 2006-12-28  Malcolm Purvis <malcolmp@xemacs.org>  (trivial change)
1178         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
1179         space before "$ac_configure_args" to prevent a 'config.status
1180         --recheck' failure if ac_configure_args doesn't contain a leading
1181         space.  This works around a problem with the XEmacs configure.ac,
1182         which uses the (undocumented) ac_configure_args variable
1183         inconsistently with Autoconf.
1185 2006-12-22  Paul Eggert  <eggert@cs.ucla.edu>
1187         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
1188         Include <limits.h>, and use its INT_MAX to rewrite the
1189         j loop so that it does not overflow 'int'.  Problem reported by
1190         Ralf Wildenhues in
1191         <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
1192         Play it safe by shifting left by 1 rather than multiplying by 2,
1193         as GCC is less likely to optimize this away when the value
1194         is signed (when it assumes overflow leads to undefined behavior).
1195         Also, don't assume time_t uses two's complement.
1197 2006-12-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1199         * tests/torture.at (Substitute a 2000-byte string): Avoid using
1200         a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
1201         dumps core on it.  Report by Tim Rice.
1203 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
1205         * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
1206         --disable-option-checking to --help output even when
1207         AC_PRESERVE_HELP_ORDER is not used.
1208         (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
1209         --with argument, rather than argument with [-.] replaced by
1210         underscores.
1211         * NEWS: Fix typo in previous change; the news was in the
1212         wrong section.
1214 2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
1216         * NEWS: Warnings are now generated by default for unknown
1217         --enable-* and --with-* options.
1218         * doc/autoconf.texi (Option Checking): Renamed from
1219         (Configure Option Checking).  Tighten up the wording a bit.
1220         (External Software, Package Options): Cross-reference to Option
1221         Checking, and use this to shorten our section.
1222         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
1223         "$x" to test "x$foo" != x.
1224         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
1225         Don't warn if $enable_option_checking is "no".
1226         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
1227         ac_unrecognized_opts to the empty string.
1228         Don't echo the unrecognized opts, as this might mishandle
1229         backslashes or leading -.
1230         (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
1231         usage next to the other --disable-FEATURE options in the
1232         help string.
1234 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
1236         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
1237         (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
1238         Print warning for unrecognized --with and --enable options
1239         (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
1240         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
1241         Disable option checking when subdirs are configured.
1242         (AC_OUTPUT): If warnings are enabled, print warning about
1243         unrecognized --with and --enable options at the end of
1244         the configure output (as well as at the beginning).
1245         * doc/autoconf.texi (Option Checking): New node.
1246         Document new option warning functionality.
1248 2006-12-16  Eric Blake  <ebb9@byu.net>
1250         * configure.ac (AC_INIT): Bump version, since 2.61a is released.
1251         * NEWS: Start news for current version.
1253 2006-12-15  Paul Eggert  <eggert@cs.ucla.edu>
1255         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
1256         Define HAVE_GETMNTENT to 1, not to the empty string.
1257         Problem originally reported by Jochen Friedrich in
1258         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
1260         This change prompted by a problem report by Andrey Simonenko in
1261         <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
1262         * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
1263         object-like macros only, in the traditional portable character
1264         set.
1265         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
1266         Warn about attempts to define things that are not identifiers.
1267         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
1268         awful hack that AC_DEFINEd macro names containing parentheses.
1270 2006-12-12  Paul Eggert  <eggert@cs.ucla.edu>
1272         * doc/autoconf.texi: Undo some of the 2006-12-10 change.  It was
1273         too drastic, even if Texinfo in theory requires it for info mode.
1275         (config.status Invocation): Renamed back from Recreating a
1276         Configuration).
1277         (Obsolete config.status Use): Renamed back from Obsolete Recreation.
1278         (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
1280 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
1282         * NEWS: Version 2.61a.
1284 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
1285         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1287         * NEWS: Document changes with echo and printf, and the lack
1288         of limits on the total size of multi-line values of substituted
1289         variables, and the AC_FUNC_FSEEKO fix.
1291 2006-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1293         * doc/autoconf.texi (Writing Autoconf Input): Renamed from
1294         Writing configure.ac.
1295         (Autoconf Input Layout): Renamed from configure.ac Layout.
1296         (Recreating a Configuration): Renamed from config.status Invocation.
1297         (Obsolete Recreation): Renamed from Obsolete config.status Use.
1298         (acconfig Header): Renamed from acconfig.h.
1299         (20th-century Autoconf 2): Renamed from Autoconf 2.13.
1300         (Writing Testsuites): Renamed from Writing testsuite.at.
1301         (Autom4te Cache): Renamed from autom4te.cache.
1303         * BUGS: Remove mention of VPATH problem, since it's now documented
1304         not to be a bug in the Autoconf build procedure itself, but rather
1305         a problem with the proprietary `make' programs.
1307         * doc/autoconf.texi (Build Directories): Add a cross reference
1308         to VPATH and Make.
1310         * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
1311         * doc/standards.texi: Sync from gnulib.
1313         * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
1314         * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
1315         * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
1316         generated automatically.
1318 2006-12-06  Paul Eggert  <eggert@cs.ucla.edu>
1320         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
1321         C 5.8 on Solaris 10.  Using -xc99=all rather than -xc99 bypasses
1322         the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
1324 2006-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1326         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
1327         `CEOF$ac_eof' special marker, the awk script cannot contain a
1328         line matching `^CEOF', so this is not needed any more.
1329         * tests/torture.at (Substitute a newline): Expose the `%!_!# '
1330         special marker in the test.
1332 2006-12-06  Stepan Kasal  <kasal@ucw.cz>
1334         * tests/tools.at (autom4te preselections): Use `find -newer';
1335         remove one of the sleeps.
1337         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
1338         more readable, using ...
1339         (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
1341         * doc/autoconf.texi (autoheader Invocation): Do not double-
1342         quote the parameter of `AH_BOTTOM' in the example.
1344 2006-12-05  Stepan Kasal  <kasal@ucw.cz>
1346         * doc/autoconf.texi (Configuration Headers): Remove the
1347         example with multiple input files.
1348         (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
1349         multiple input files.
1351 2006-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1353         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
1354         creating the awk substitution script, handle one input line at a
1355         time, so that the maximum length of a substituted (multi-line)
1356         value is not limited by the size of the sed pattern space.
1357         The trade-off is a slightly repetitive sed script.
1358         * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
1359         can only have up to 7 characters, due to Solaris 10 /bin/sed.
1360         * tests/torture.at (Substitute a 2000-byte string): Increase the
1361         test with several long lines, they should not be caught by sed
1362         limits any more.
1364         * tests/tools.at (autom4te preselections): New test, to flag
1365         entries missing from autom4te.cfg.
1366         Report by David Byron <dbyron@hheld.com>.
1368         * tests/torture.at (Substitute a 2000-byte string): Actually use
1369         AC_PROG_AWK, so the last change works as intended.
1370         (Substitute and define special characters): Likewise.
1371         (Substitute a newline): Likewise.
1373         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
1374         instead of `awk' consistently.
1375         (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
1376         * tests/torture.at (Torturing config.status): Test both the
1377         result of AC_PROG_AWK and plain awk.
1378         (Substitute a 2000-byte string): Likewise.
1379         (Substitute and define special characters): Likewise.
1380         (Substitute a newline): Likewise.
1382 2006-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1384         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
1385         can be assigned to a function pointer.  Problem reported by
1386         Peter Palfrader in <http://bugs.debian.org/401377>.  Based on
1387         part of a patch by Ralf Wildenhues in that same bug report.
1389 2006-12-01  Paul Eggert  <eggert@cs.ucla.edu>
1391         * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
1392         * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
1394 2006-12-01  Eric Blake  <ebb9@byu.net>
1396         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
1397         cross-compiling from cygwin to mingw.
1398         Reported by Bob Rossi.  This resurrects the 2000-11-30 patch to
1399         aclang.m4, which was mistakenly removed in the 2001-09-17 patch
1400         to lib/autoconf/c.m4.
1402 2006-12-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1404         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
1405         string for more reliable failure.  Wrap the entire test that
1406         causes the broken Solaris printf to dump core, in a subshell,
1407         so the segmentation fault message is reliably suppressed.
1408         Fix shell expansion errors by using /usr/ucb/echo always;
1409         avoid an error on systems without it by another subshell.
1410         Avoid m4 expansion of `$1'.  Set the zeroth argument of the
1411         subshell-$as_echo to `as_echo', for better error message.
1413 2006-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1415         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
1416         `BASH_SOURCE' contain a newline, set them to empty, as they may
1417         not be unset.
1419 2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
1421         Turn AC_FUNC_SETVBUF_REVERSED into a noop.  It's been obsolete for
1422         years and is too hard to maintain now.  The last straw was
1423         reported by Jerker Baeck in
1424         <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
1425         * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
1426         * doc/autoconf.texi (Particular Functions): Move
1427         AC_FUNC_SETVBUF_REVERSED from here...
1428         (Obsolete Macros): ... to here.  Say that it does nothing now.
1429         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
1430         Turn into (almost) a no-op.
1432         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
1433         (AC_C_VOLATILE):
1434         Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
1435         These macros are obsolescent and new applications shouldn't need them.
1436         * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
1437         (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
1438         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
1439         (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1440         (AC_FUNC_VPRINTF): Likewise.
1441         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
1442         (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
1443         * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
1445         * doc/autoconf.texi (Setting Output Variables): Mention that
1446         @VAR1@VAR2 has unspecified behavior.  Problem reported by
1447         Ralf Wildenhues.
1448         * NEWS: Mention this.
1450         * Makefile.am: Put only a single '#' into the copyright notice,
1451         so that it's also present in the output file.  Standardize wording
1452         in makefile copyright notices to match GNU coding standards.
1453         * bin/Makefile.am: Likewise.
1454         * doc/Makefile.am: Likewise.
1455         * lib/Makefile.am: Likewise.
1456         * lib/freeze.mk: Likewise.
1457         * lib/autoconf/Makefile.am: Likewise.
1458         * lib/autoscan/Makefile.am: Likewise.
1459         * lib/autotest/Makefile.am: Likewise.
1460         * lib/m4sugar/Makefile.am: Likewise.
1461         * man/Makefile.am: Likewise.
1462         * tests/Makefile.am: Likewise.
1463         * lib/emacs/Makefile.am: Remove copyright notice; it's just a
1464         one-line file.
1466 2006-11-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1468         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
1469         in the sed script that mangles the awk script: delete up to the
1470         first exclamation mark only.
1471         * tests/torture.at (Substitute and define special characters):
1472         Test '!' too.
1474 2006-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1476         Rewrite config files generation: avoid quadratic growth in
1477         the number of substituted variables by using awk instead of sed
1478         for the bulk of the substitutions.
1479         * NEWS: Mention this.
1480         * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
1481         forbidden in the output (and thus input) file.
1482         * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
1483         (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
1484         generate just one large awk script for substitutions,
1485         eliminating much of the earlier complexity, while adding some
1486         new complexity.  Only expand the substitution templates at
1487         configure time, for smaller configure script size.  If
1488         _AC_SUBST_FILES are used, test 'awk' for working getline support
1489         at config.status time.  If absent, interpolate through the
1490         shell.  The awk script was written with much help
1491         from Paolo Bonzini and Paul Eggert.
1492         (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
1493         (_AC_SED_FRAG_NUM): Likewise.
1494         (_AC_SUBST_CMDS): Renamed from...
1495         (_AC_SED_CMDS): ...this.
1496         (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
1497         * tests/torture.at (Substitute a 2000-byte string): Also
1498         substitute a line with 1000 words, and a variable with several
1499         long lines.
1500         (Substitute and define special characters): Test awk special
1501         characters, and put substitution input strings `@foo@' in the
1502         output, to test that no recursion happens; test several other
1503         combinations from Paolo Bonzini.
1505 2006-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1507         * lib/autotest/general.m4 (AT_INIT): Undo recent changes
1508         that replaced echo with AS_ECHO where this wasn't necessary.
1509         Problem reportd by Ralf Wildenhues.
1510         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
1511         where "/usr/bin/printf '%s\n' S" dumps core if S is long.
1512         This is Sun bug 4206210.  Problem reportd by Ralf Wildenhues.
1514 2006-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1516         * lib/freeze.mk (GREP): Removed, no need to initialize this.
1518 2006-11-21  Paul Eggert  <eggert@cs.ucla.edu>
1520         * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
1521         that traditional Awk lacks 3-arg "split".  It has it.
1522         Mention that FS must be a single character, and a few other
1523         99-byte limits of traditional Awk.
1524         Mention that if (i in a) doesn't work with traditional Awk.
1526 2006-11-18  Paul Eggert  <eggert@cs.ucla.edu>
1528         * tests/autotest.at (BSx641-newline in command):
1529         (BS-BS-newline in command, BSx640-newline in command):
1530         (Newline-CODE-BS-newline in command):
1531         (Single-quote-BS-newline in command):
1532         (Single-quote-newline-BS-newline in command):
1533         Use printf '%s\n' instead of echo, for portability to hosts
1534         where echo interprets backslashes.  This will break on hosts
1535         that lack printf, but for now let's assume all such hosts
1536         are dead (if not, we should get reports of test failures).
1538 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1540         'echo' has some portability problems, when given a first argument
1541         with a leading '-', or when given any argument containing '\'.
1542         Avoid using 'echo' in these cases.
1543         * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
1544         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
1545         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1546         * lib/autotest/general.m4 (AT_INIT): Likewise.
1547         * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
1548         argument might be unportable.
1549         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
1550         * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
1551         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
1552         (_AC_FC_LIBRARY_LDFLAGS): Likewise.
1553         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
1554         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
1555         (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
1556         (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
1557         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1558         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
1559         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
1560         (AC_PROG_MAKE_SET): Likewise.
1561         * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
1562         (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
1563         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
1564         (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
1565         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
1566         (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
1567         (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
1568         * bin/autoconf.as: Redo verbose flag implementation, as the old
1569         scheme wouldn't work with AS_ECHO.
1570         * lib/autotest/general.m4 (AT_INIT): Likewise.
1571         * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
1572         Don't use ECHO_T, since ECHO_N is now reliable.
1573         * lib/autotest/general.m4 (AT_INIT): Likewise.
1574         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
1575         rather than using a here-document to put the script into a file.
1576         (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
1577         use AS_ECHO.
1578         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
1579         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
1580         AS_ECHO_N rather than ECHO_N and ECHO_C.  This doesn't fix any
1581         bug, but we might as well stop using ECHO_N and ECHO_C internally.
1582         * lib/autotest/general.m4 (AT_SETUP): Likewise.
1583         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
1584         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1585         (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
1586         operand, as AS_ECHO requires.  Avoid double file name expansion.
1587         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
1588         Don't set as_nl, since _AS_ECHO_PREPARE does that now.
1589         (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
1590         (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
1591         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1592         Double-quote strings that would otherwise contain M4 comments.
1593         * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
1595         * configure.ac (AC_INIT): Bump to 2.61a.
1596         * NEWS: Likewise.
1598 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1600         Version 2.61.
1602         * configure.ac (AC_INIT): Bump to 2.61.
1603         * NEWS: Likewise.
1605         * tests/autotest.at (Macro with backslash in a test title):
1606         Comment out for now, as this tests neither fails nor passes
1607         reliably.  Problem reported by Ralf Wildenhues.
1609 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
1611         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
1612         in previous change, which caused test failures.
1614 2006-11-16  Stepan Kasal  <kasal@ucw.cz>
1616         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
1617         code for --enable, --disable, --with, and --without to...
1618         (_AC_INIT_PARSE_ENABLE): ... a new macro.
1619         * doc/autoconf.texi (Package Options):
1620         * NEWS: Document that AC_ARG_ENABLE allows dots, too.
1622 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
1624         Import these changes from config via gnulib:
1626         2006-11-15  Ben Elliston  <bje@gnu.org>
1628         From Josselin Mouette <joss@debian.org>:
1629         * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
1631         2006-11-08  Ben Elliston  <bje@gnu.org>
1633         * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
1635         2006-11-07  Steve Woodford  <scw@NetBSD.org>
1636                     Ben Elliston  <bje@gnu.org>
1638         * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
1639         * build-aux/config.sub (sh5el): New basic_machine.
1642         Import this change from coreutils:
1644         2006-02-13  Jim Meyering  <jim@meyering.net>
1646         * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
1649         Import this change from gnustandards via gnulib:
1651         2006-11-15  Karl Berry  <karl@gnu.org>
1653         * standards.texi: core -> memory, throughout.
1654         (CPU Portability): show correct example of calling write
1655         on a char value; thanks to Paul Eggert for the code.
1656         Both of these suggestions from Eugene Y. Vasserman.
1659         Import these changes from texinfo via gnulib:
1661         2006-11-08  Karl Berry  <karl@gnu.org>
1663         * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
1664           as well as pdf images, since they are supported in pdftex with
1665           no further ado.
1667         2006-11-05  Karl Berry  <karl@gnu.org>
1669         * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
1671 2006-11-13  Paul Eggert  <eggert@cs.ucla.edu>
1673         * NEWS: Document the AC_ARG_WITH change.
1675 2006-11-13  Bruno Haible  <bruno@clisp.org>
1677         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
1678         options, transliterate also dots to underscores.
1679         (_AC_ENABLE_IF): Transliterate also dots to underscores.
1680         * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
1681         first argument may also contain dots.
1683 2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
1685         * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
1686         benefit of platforms like Solaris+GCC where it is common to have a
1687         non-working g++ installation.
1689 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1690         and Joel E. Denny  <jdenny@ces.clemson.edu>
1691         and Paul Eggert  <eggert@cs.ucla.edu>
1693         * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
1694         and non-portable sed scripts, and use $CONFIG_SHELL when invoking
1695         ./micro-suite.
1697 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
1699         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
1700         ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
1701         Imported from a similar patch to gnulib by Bruno Haible.
1703 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
1705         * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
1706         * doc/autoconf.texi (C Compiler): Document them.
1707         * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
1708         New macros, taken from gnulib.
1710 2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
1712         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
1713         Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
1714         Matthew Woehlke.
1716 2006-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1718         * tests/torture.at (Configuring subdirectories): Do not skip
1719         Automake 1.10 nor future Automake 11.1 (sic).
1721 2006-10-26  Joel E. Denny  <jdenny@ces.clemson.edu>
1722         and Stepan Kasal  <kasal@ucw.cz>
1724         Handle special characters in test case titles correctly.
1725         * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
1726         properly.
1727         (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
1728         * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
1729         argument.  Extend to check titles printed by ./micro-suite and
1730         ./micro-suite -l and the title in micro-suite.log.
1731         (Backquote in a test title,
1732         Single-quote in a test title,
1733         Double-quote in a test title): Don't expect failure anymore.
1734         (Backslash in a test title): Put a non-whitespace character after the
1735         backslash so that Bourne shells might actually see it as an escape
1736         sequence.
1737         (Brackets in a test title,
1738         Pound in a test title,
1739         Comma in a test title,
1740         Quoted Macro in a test title,
1741         Macro in a test title,
1742         Macro with single-quote in a test title): New tests.
1743         (Macro with backquote in a test title,
1744         Macro with double-quote in a test title,
1745         Macro with backslash in a test title): New tests expected to fail.
1746         * tests/torture.at (#define header templates): M4-quote this title in
1747         AT_SETUP call so that no M4 code is commented inadvertently somewhere.
1748         The visible effect was a stray [] in the testsuite output.
1750 2006-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1752         * doc/autoconf.texi (Limitations of Builtins): Do not invoke
1753         `trap ... 0' inside a function, for AIX sh.
1755 2006-10-26  Paul Eggert  <eggert@cs.ucla.edu>
1757         * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
1758         since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
1759         5363) simply issues a warning when dividing by zero at compile
1760         time.  Problem reported by Elias Pipping.
1762 2006-10-26  Eric Blake  <ebb9@byu.net>
1764         * THANKS: Update.
1765         * doc/autoconf.texi (Evaluation Macros): Improve the example to
1766         show effect on macros that expand with commas.
1767         Reported by Joel E. Denny.
1769         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1770         Also work with M4 1.4.8.
1772 2006-10-25  Paul Eggert  <eggert@cs.ucla.edu>
1774         * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
1775         Jim Meyering.
1777 2006-10-25  Stepan Kasal  <kasal@ucw.cz>
1779         * tests/tools.at (autom4te --force): New test, verifies that
1780         `--force' always rewrites the output file.
1782 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
1784         * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
1785         needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.
1787 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
1789         * tools/trace.at (autoconf --trace: user macros): Test `$%'.
1791 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
1793         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1794         If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
1795         AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
1796         reported by Nelson H. F. Beebe for Coreutils 6.4.
1798         * tests/tools.at (autoconf --trace: user macros): Remove test
1799         for tracing multiline macros, since m4 1.4.7a uses a different
1800         way to number lines.  Problem reported by Ralf Wildenhues.
1802 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
1804         * bin/autom4te.in (handle_m4): Do not redirect stdin to
1805         /dev/null since the heuristics for interactive behaviour was
1806         fixed in CVS m4.
1808         * bin/autom4te.in: With --force, always refresh the output
1809         file.  Problem reported by Greg Schafer <gschafer@zip.com.au>.
1811         * bin/autoconf.as: Fix the verbose message at the end.
1813 2006-10-23  Paul Eggert  <eggert@cs.ucla.edu>
1815         * configure.ac (AC_INIT): Bump to 2.60c.
1816         * NEWS: Likewise.
1818 2006-10-22  Paul Eggert  <eggert@cs.ucla.edu>
1820         * NEWS: Version 2.60b.
1822         Import this change from Texinfo:
1823         2006-10-15  Karl Berry  <karl@gnu.org>
1824         * build-aux/texinfo.tex: automake 1.10
1826         * NEWS: Remove AC_CACHE_CHECK_INT.
1827         * doc/autoconf.texi (Caching Results): Likewise.
1828         * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
1829         AC_CACHE_CHECK_INT, since it's no longer public.
1830         * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
1831         * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
1833 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1835         * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
1837 2006-10-19  Eric Blake  <ebb9@byu.net>
1839         * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
1840         (m4_maketemp): Avoid warnings with M4 1.9a.
1841         * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
1842         m4_mkstemp.
1843         * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
1844         * NEWS: Likewise.
1846 2006-10-16  Eric Blake  <ebb9@byu.net>
1848         * doc/autoconf.texi (Setting Output Variables): Fix typo.
1850         * bin/autoconf.as (version): Reword to match GNU Coding
1851         Standards.
1852         * bin/autoheader.in (version): Likewise.
1853         * bin/autom4te.in (version): Likewise.
1854         * bin/autoreconf.in (version): Likewise.
1855         * bin/autoscan.in (version): Likewise.
1856         * bin/autoupdate.in (version): Likewise.
1857         * bin/ifnames.in (version): Likewise.
1859 2006-10-14  Stepan Kasal  <kasal@ucw.cz>
1861         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
1862         looking for special shell characters.
1863         * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
1864         macro defined by AS_VAR_PUSHDEF before passing it as a
1865         parameter.
1866         * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
1867         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
1868         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
1869         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
1870         (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
1871         Likewise.
1872         * lib/autotest/general.m4 (AT_INIT): Quote parameters of
1873         AS_VAR_* properly.
1874         * tests/m4sh.at (AS_LITERAL_IF): New test.
1876 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
1878         (Imported from Automake.)
1879         * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
1880         which incorrectly sets the mode of an existing destination
1881         directory.  In some cases the unpatched install-sh could do the
1882         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
1883         system.  We hope this is rare in practice, but it's clearly worth
1884         fixing.  Problem reported by Alex Unleashed in
1885         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
1886         Also, don't bother to check for -m bugs unless we're using -m;
1887         suggested by Stepan Kasal.
1889 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
1891         Import this change from Automake:
1893         2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
1894         * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
1895         is enabled by default with gnu and gnits strictness.
1896         Report from Bruno Haible.
1898         2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
1899         * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
1900         gnu and gnits modes.
1902         Import this change from Config:
1904         2006-09-20  Ben Elliston  <bje@gnu.org>
1905         * build-aux/config.sub (score, score-*): New.
1907         Import this change from Gnulib:
1909         2006-09-16  Karl Berry  <karl@gnu.org>
1910         * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
1911         to avoid sectioning errors.
1913         Import these changes from Texinfo:
1915         2006-10-04  Karl Berry  <karl@gnu.org>
1916         * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
1917         (\quoteexpand): rename to \rquoteexpand.
1918         (\codequoteleft): new def, to look for @set codequotebacktick.
1919         (\lquoteexpand, \quoteexpand): new defs.
1920         (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
1921         (\code): must use new \...Char values, since now ` is active.
1923         2006-08-26  Karl Berry  <karl@gnu.org>
1924         * build-aux/texinfo.tex (\textdegree): New command.
1926         2006-08-12  Karl Berry  <karl@gnu.org>
1927         * build-aux/texinfo.tex (error \box0): smaller font.
1929 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1931         * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
1933 2006-10-13  Stepan Kasal  <kasal@ucw.cz>
1935         * doc/autoconf.texi (Autoheader Macros): Warn that the text
1936         added to the template can get mangled.
1938 2006-10-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1940         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
1941         include the default headers, and redefine obstack_chunk_alloc
1942         and obstack_chunk_free.  Fixes false failure with glibc.
1944 2006-10-12  Paul Eggert  <eggert@cs.ucla.edu>
1946         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
1947         for backward compatibility with Libtool 1.5.22.  Problem reported
1948         by Ralf Wildenhues.
1950 2006-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1952         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
1953         AC_PROG_CC.
1954         Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
1956 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
1958         * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
1959         the NonStop platform.
1960         * doc/autoconf.texi (Posix Variants): Likewise.
1961         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
1963         * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
1964         (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
1965         (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
1966         Use a better substitute, by inspecting the output of "ls"
1967         rather than just using ":".
1968         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
1969         rather than AS_EXECUTABLE_P, since we needn't worry about
1970         non-regular files here.
1972         * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
1973         due to configuration hassles with this.  See Tonya Underwood's report
1974         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
1975         * doc/autoconf.texi (Special Shell Variables): Likewise.
1977 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
1978             Stepan Kasal  <kasal@ucw.cz>
1980         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
1981         (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
1983 2006-10-11  Stepan Kasal  <kasal@ucw.cz>
1985         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
1986           initialization which is not inherited through the environment
1987         (_AS_BOURNE_COMPATIBLE): ... to this new macro.
1988         (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
1990 2006-10-09  Paul Eggert  <eggert@cs.ucla.edu>
1992         * doc/autoconf.texi (Limitations of Usual Tools): Describe
1993         problems with mkdir -p -m.
1995 2006-10-06  Paul Eggert  <eggert@cs.ucla.edu>
1997         * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
1998         comment about ac_cpp_err; it was incorrect, and anyway
1999         ac_cpp_err is being removed below.
2000         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
2001         set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
2002         are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
2003         nobody uses it.
2004         (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
2005         with werror_flag and conftest.err and so forth.  This is more
2006         compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
2007         and anyway the user shouldn't normally want to see this gorp logged.
2008         Problem reported by Ralf Wildenhues.
2009         * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
2010         empty, not 'no', since the rest of the code uses 'test -z'.
2012 2006-10-04  Paul Eggert  <eggert@cs.ucla.edu>
2014         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2015         Use a single call to AC_DO_TOKENS rather than multiple, for
2016         efficiency.
2017         (_AC_LINK_IFELSE): Test that resulting file is executable.
2018         Problem reported by mwoehlke in
2019         <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
2021         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
2022         than creating a file to use with test -x; this is much faster.
2024 2006-10-02  Bruno Haible  <bruno@clisp.org>
2026         * lib/autom4te.in (Automake-preselections): Add
2027         AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
2029 2006-09-27  Stepan Kasal  <kasal@ucw.cz>
2031         * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
2032         standard error, `experr' should be used, not `expout'.
2034 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
2036         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
2037         fseeko testing program twice; just use the earlier result.
2038         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2039         Set cache var to 'unknown' (not 'no') if leaving the macro unset
2040         still doesn't let the program compile.
2041         (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
2042         failed.
2044         * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
2045         (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
2046         include it, without including anything else.
2047         (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
2048         expressions.
2049         (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
2051 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2053         * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
2054         `error.h', and include it, for a `error_at_line' prototype.
2055         Use a nonempty format string in the link test.
2056         * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
2057         for a declaration of wait3.
2059 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
2061         * NEWS: AC_CHECK_DECL now also works with aggregate objects.
2062         * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
2063         can apply to constants too, and that it checks for macro defns.
2064         * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
2065         and simply cast the identifier to void.  This handles structure
2066         values.  Problem reported by Ralf Wildenhues.
2067         * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
2069 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2071         * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
2072         structure, and function symbols.
2074 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2076         * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
2077         member.
2079 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
2081         * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
2082         * README: Likewise.
2083         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2085 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
2086         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2088         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
2089         warnings (uninitialized value).
2090         (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
2091         present.
2092         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
2093         parentheses.
2094         (AC_STRUCT_TM): Likewise, avoid unused variables.
2096 2006-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2098         * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
2099         (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
2100         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
2101         * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
2102         Report by Olly Betts.
2104 2006-09-19  Eric Blake  <ebb9@byu.net>
2106         * m4/m4.m4: Change copyright.
2107         * configure: Regenerate.
2108         * Makefile.in: Likewise.
2109         * bin/Makefile.in: Likewise.
2110         * doc/Makefile.in: Likewise.
2111         * lib/Makefile.in: Likewise.
2112         * lib/Autom4te/Makefile.in: Likewise.
2113         * lib/autoconf/Makefile.in: Likewise.
2114         * lib/autoscan/Makefile.in: Likewise.
2115         * lib/autotest/Makefile.in: Likewise.
2116         * lib/emacs/Makefile.in: Likewise.
2117         * lib/m4sugar/Makefile.in: Likewise.
2118         * man/Makefile.in: Likewise.
2119         * tests/Makefile.in: Likewise.
2121         * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
2122         * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
2123         * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
2124         --error-output, to avoid warnings with M4 2.0.
2126 2006-09-19  Stepan Kasal  <kasal@ucw.cz>
2128         * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
2129           consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
2130         * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
2132 2006-09-15  Stepan Kasal  <kasal@ucw.cz>
2134         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
2135         expansion of AC_CHECK_FUNCS.
2137 2006-09-14  Stepan Kasal  <kasal@ucw.cz>
2139         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
2140         mistaken comment: the path has to be relative; do not use
2141         the path at runtime.
2143 2006-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2145         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
2146         argument to `--prefix' for sub-configure scripts.
2147         Pass `--silent' to sub-configure scripts.
2148         * tests/torture.at (Configuring subdirectories): Add tests
2149         for both changes.
2150         * doc/autoconf.texi (Setting Output Variables): Fix example to
2151         not show `--silent' being passed to a `configure' re-run.
2153 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
2155         * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
2156         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
2157         for the existence of the directory at configure-time.  That's
2158         too late, anyway.  Problem reported by Stefan Seefeld.
2160         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
2161         7.1.4 /usr/bin/posix/sh described by Tim Rice in
2162         <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
2164 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
2166         * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
2167         works with GNU M4 1.4.3 again; make the normalized form
2168         match the current m4 message; fix the description.
2169         * test/tools.at (autom4te cache): Adapt to the change.
2171 2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
2173         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):  Add year_2050_test
2174         to catch glibc bug 2821
2175         <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
2177         Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
2178         AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
2179         AC_CHECK_FUNCS.  Don't check for stdlib.h, since we now
2180         assume C89.
2182 2006-09-08  Stepan Kasal  <kasal@ucw.cz>
2184         * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
2185         preselections ...
2186         (Autoconf): ... here.
2187         (Autoscan-preselections): Delete.
2189 2006-09-07  Stepan Kasal  <kasal@ucw.cz>
2191         * lib/autom4te.in (Automake-preselections): Preselect
2192         AM_ENABLE_MULTILIB.
2194 2006-09-05  Paul Eggert  <eggert@cs.ucla.edu>
2196         * doc/autoconf.texi (Preset Output Variables): srcdir and
2197         top_srcdir are not necessarily relative.  Problem reported
2198         by Dries Kimpe.
2200 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2202         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
2203         f90/f95 because the latter drivers of AIX Fortran 9.1 do not
2204         accept files with extension `.f'.  For consistency, also prefer
2205         xlf over f77.
2206         * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
2207         from last patch.
2209 2006-09-05  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
2211         * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
2212         of ERLANG_LIB_VER_* variables.
2213         * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
2214         variables.
2216 2006-09-03  Paul Eggert  <eggert@cs.ucla.edu>
2217         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2219         * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
2220         bugs of Bash 2.01 and 2.05a.
2221         (Fortran Compiler): Document that AC_PROG_CC should be called
2222         before AC_PROG_FC, due to a bug in Autoconf.
2224 2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
2226         * NEWS: New macro AC_CACHE_CHECK_INT.  It replaces the
2227         old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
2228         except the first two arguments are reversed.
2229         * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
2230         (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
2231         caches nor outputs a diagnostic.  Suggested by Bruno Haible.
2232         * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
2233         equivalent to the old AC_COMPUTE_INT.
2234         (AC_COMPUTE_INT): No longer caches or reports.  New signature.
2235         All uses changed to AC_CACHE_CHECK_INT.
2236         * tests/base.at (AC_CACHE_CHECK_INT): New test.
2237         * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
2239 2006-08-31  Paul Eggert  <eggert@cs.ucla.edu>
2241         * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
2242         and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
2243         programs should use their Gnulib counterparts.
2244         * doc/autoconf.texi (Particular Functions): Likewise.
2245         (Macro Names, testsuite Invocation): Replace uses of these
2246         obsolete macros with uses of non-obsolete macros.
2248 2006-08-29  Eric Blake  <ebb9@byu.net>
2250         * configure.ac (AC_INIT): Bump to 2.60b.
2251         * NEWS: Update.
2253 2006-08-28  Eric Blake  <ebb9@byu.net>
2255         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
2256         mistakenly swapped on 2006-08-15.
2258 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
2260         * NEWS: Version 2.60a.
2262 2006-08-25  Stepan Kasal  <kasal@ucw.cz>
2264         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
2265         file created by the PGI compiler.
2267 2006-08-25  Noah Misch  <noah@cs.caltech.edu>
2269         * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
2270         simplify the code.
2272 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
2274         Fix Lex library problem reported to us by Julio Garvia.
2275         * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
2276         for the default, which the user can override.
2277         * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
2278         deal with LEXLIB.
2279         (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
2280         didn't work if some values were cached but not others.  Test for
2281         broken lex libraries like native ia64-hp-hpux11.22; see
2282         <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
2283         work around the problem by preferring an empty LEXLIB to -lfl or
2284         -ll.  Let the user set LEXLIB='' to indicate no library needed.
2286         * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
2287         * README: Likewise.
2288         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2290 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
2292         Rework to use more-modern build style.
2293         Many files are renamed; all uses of their names were changed.
2294         * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
2295         * .x-sc_useless_cpp_parens: New file.
2296         * build-aux/config.guess: Renamed from config/config.guess.  Update.
2297         * build-aux/config.sub: Renamed from config/config.sub.  Update.
2298         * build-aux/elisp-comp: Renamed from config/elisp-comp.
2299         * build-aux/install-sh: Renamed from config/install-sh.  Update.
2300         * build-aux/mdate-sh: Renamed from config/mdate-sh.
2301         * build-aux/missing: Renamed from config/missing.
2302         * build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
2303         * build-aux/vc-list-files: Renamed from config/vc-list-files.
2304         * config/Makefile.am: Removed.
2305         * config/mkinstalldirs: Removed.
2306         * config/move-if-change: Removed.
2307         * m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
2308         * Makefile.am (SUBDIRS): Remove config.
2309         (ACLOCAL_AMFLAGS): Include from m4, not config.
2310         (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
2311         (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
2312         (autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
2313         Fail if there's an error.
2314         * Makefile.cfg (move_if_change): Remove.
2315         (wget_files): Remove.
2316         (cvs_executable_files): New macro.
2317         (cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
2318         (executable-update): Use $(cvs_executable_files).
2319         (local-checks-to-skip): Remove.
2320         * Makefile.maint: Merge from coreutils, plus add our own changes
2321         (gzip_rsyncable): New macro.
2322         (GZIP_ENV): Use it.
2323         (CVS_LIST): Use build-aux/vc-list-files.
2324         (VERSION_REGEXP): New macro.
2325         (local-checks-available): Add patch-check, $(syntax-check-rules),
2326         check-AUTHORS.
2327         (syntax-check-rules): Compute dynamically.
2328         (sc_cast_of_x_alloc_return_value): Work even if no source files.
2329         (sc_cast_of_alloca_return_value): Likewise.
2330         (sc_prohibit_atoi_atof): Simplify regexp.
2331         (sc_no_if_have_config_h, sc_require_config_h):
2332         (sc_prohibit_assert_without_use,
2333         (sc_obsolete_symbols): Check for O_NDELAY.
2334         (sc_texi_notab): Remove.
2335         (sc-changelog): Don't make an exception for '----' lines.
2336         (.re-list): Remove, so we don't have a junk file behind.
2337         (sc_system_h_headers): Remove the need for .re-list.
2338         (sc_the_the):  New rule.
2339         (sc_tight_scope): Simplify.
2340         (sc_trailing_blank): Renamed from sc_trailing_space.
2341         (longopt_re): New macro.
2342         (sc_two_space_separator_in_usage): New rule.
2343         (sc_unmarked_diagnostics): Look at all files under CVS.
2344         (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
2345         (news-date-check, changelog-check): Version is OK.
2346         (po-check): Look for lib files even if not in CVS.
2347         (copyright-check): Use $() not ``.
2348         (maintainer-distcheck): Do not depend on changelog-check.
2349         (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
2350         Also check for -Wpointer-arith.
2351         (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
2352         (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
2353         Remove.
2354         (announcement): Add --gpg-key-id arg.
2355         (cvs-sv): Remove.
2356         (move_if_change): Just use mv.
2357         (local_updates: Remove wget-update, po-update.
2358         (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
2359         (config.guess-url_prefix, config.sub-url_prefix): Remove.
2360         (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
2361         (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
2362         ($(get-targets)): Remove.
2363         (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
2364         (gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
2365         (cvs-update): Get from gnulib.
2366         (emut_upload_commands): gnupload is in build-aux now.
2367         (alpha beta major): Add changelog-check.  Check version.
2368         * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
2369         (AC_CONFIG_FILES): Remove.
2370         * bin/autoconf.as: Add spaces to avoid distcheck warning.
2371         * config/announce-gen: Sync from coreutils.
2372         * doc/make-stds.texi: Sync from gnulib.
2373         * doc/standards.texi: Likewise.
2374         * man/Makefile.am: Adjust for config -> build-aux renaming.
2375         * tests/Makefile.am: Prefer $(FOO) to @FOO@.
2376         * tests/local.at: Adjust from config -> build-aux renaming.
2377         * tests/tools.at: Likewise.
2378         * tests/torture.at: Likewise.
2380         * NEWS: The C99 check now tests for vararg macros and 64-bit
2381         preprocessor ints.
2382         * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
2383         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
2384         64-bit preprocessor ints.  Check for static initialization of
2385         long long.  Remove unnecessary casts.
2387 2006-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2389         * doc/autoconf.texi (Particular Programs): Mention that
2390         @INSTALL@ and @MKDIR_P@ may vary for different output files.
2391         Reported by Alexandre Duret-Lutz.
2393 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
2395         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
2396         -lgcc?* and -lSystem, for Darwin/MacOS X.  Problem reported by
2397         Bill Northcott in
2398         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
2400 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
2402         * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
2403         pacify insanely picky compilers.  Problem reported by Eric Blake.
2405         * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
2406         longer supported by Sun.
2408 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
2410         * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
2411         rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
2412         -Wundef -Werror".  Problem reported by David Fang in
2413         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
2414         * doc/autoconf.texi (Header Templates, Default Includes):
2415         (Particular Functions, Generic Functions, Header Portability):
2416         (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
2417         (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
2418         (Present But Cannot Be Compiled, Preprocessor Symbol Index):
2419         Prefer #ifdef to #if.
2420         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
2421         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
2422         (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2423         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
2424         Likewise.
2425         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2426         (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
2427         * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
2428         (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2429         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
2430         S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
2431         this.
2433 2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
2435         * doc/autoconf.texi (Limitations of Usual Tools): Document sed
2436         problems with arg script text that doesn't end in newline, and
2437         with '-e a...'.  Problems reported by Ralf Wildenhues.
2439 2006-08-12  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
2441         * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
2442         check for libXt by a check for libX11.
2444 2006-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2446         * doc/autoconf.texi (config.status Invocation): Adjust according
2447         to last change.
2449 2006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2451         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
2452         --help' should mention that `--version' outputs configuration
2453         settings.  Report by Bruno Haible.
2455 2006-08-06  Paul Eggert  <eggert@cs.ucla.edu>
2457         Fix test suite failures reported by Pierre in
2458         <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
2459         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
2460         the compiler created a file "b.out" when it didn't create anything
2461         at all.
2462         * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
2463         Discard stderr too, when invoking the test script.
2465 2006-08-05  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
2467         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
2468         in the restoring of the werror flag.
2470 2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
2472         * doc/autoconf.texi (Volatile Objects): Be even a little
2473         less skeptical about "volatile", after discussion with
2474         Bruno Haible on bug-gnulib.
2475         (Limitations of Usual Tools): Warn about sed stripping
2476         leading white space from text.  From Bruno Haible.
2478 2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
2480         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
2481         compiler complains about it, even if things works after the
2482         complaint.  Problem reported by Peter O'Gorman.
2484         * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
2485         CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
2486         Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
2488 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
2490         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
2491         after -R regardless of host.  Patrick Welche reports that this
2492         fixes things on NetBSD 3.99.
2494         * NEWS: Recommend M4 1.4.5.
2495         * README: Likewise.
2496         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2497         * tests/tools.at (autom4te cache): Update wording of diagnostic
2498         to match M4 1.4.5.
2500 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
2502         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
2503         under AC_C_VOLATILE.
2504         (Volatile Objects): Be a little less skeptical about what
2505         "volatile" means.  Derived from thoughts by Ben Pfaff in
2506         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
2508 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2510         * doc/autoconf.texi: Fix some typos.
2512 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
2514         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2515         more globally, since the 2006-06-30 patch didn't suffice.  Problem
2516         reported by Keith Marshall.  Also, don't bother with builddir2,
2517         since it shouldn't be needed any more.
2519 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
2521         * doc/autoconf.texi (Generic compiler characteristics):
2522         Document AC_COMPUTE_INT.  Fix wrong statements on Default
2523         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
2525         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
2526         (_AC_COMPUTE_INT): Add obsoletion warnings.
2527         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
2528         AC_COMPUTE_INT.
2530         * NEWS: Document change.
2532 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
2534         * doc/autoconf.texi (Volatile Objects): New section.
2536         * NEWS: Document previous change.
2538 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
2540         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
2541         Require that long long int be at least 64 bits wide.  C99 requires
2542         this and enough programs depend on it so we should check for it.
2543         Bruno Haible reports in
2544         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
2545         that long long int is 32 bits wide with some nonstandard compilers.
2546         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
2548 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
2550         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2551         to a nonexistent file, so that we don't have to worry about
2552         a local site configuration that doesn't use /usr/local.
2553         Problem reported by Keith Marshall in
2554         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
2556 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2558         * doc/autoconf.texi: Be more consistent about using @acronym with
2559         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
2560         quite right (it talked about "OSF/Tru64", even though the
2561         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
2562         and it even mentioned "OSF 4"!) and at this point there's little
2563         reason to talk about OSF any more, since it died in 1994.
2564         (Specific Compiler Characteristics): Simplify example of
2565         negative-size array.
2566         (File Descriptors): Reorder to make the text flow better.
2567         Remove joke about "appreciate the various levels"; I didn't get it.
2568         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
2569         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
2570         (File Descriptors, Limitations of Usual Tools):
2571         Tone down the advice against renaming or removing open files.
2572         (Limitations of Usual Tools): Add a new section, on 'rm'.
2574 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
2576         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
2577         -lXt in LIBS, idea from Karsten Hopp; this was due since
2578         this change:
2580         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
2581         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2582         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2583         (which belong to Xt, not X itself).  See Debian bug 327655.
2585 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2587         * configure.ac (AC_INIT): Bump to 2.60a.
2588         * NEWS: Update.
2590 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2592         Version 2.60.
2594         * configure.ac, NEWS: Update.
2596 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2598         * config/texinfo.tex: Sync from upstream.
2600         * bin/autom4te.in (handle_traces): Transform the `@S|@'
2601         quadrigraph correctly in traces.
2603         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
2604         Fix typos.
2606         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
2607         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
2608         not defined.
2609         * doc/autoconf.texi (Changed Directory Variables): New node,
2610         to document the whole `datarootdir' business a bit better.
2611         * NEWS: Update.
2612         * tests/torture.at (datarootdir workaround): Extend test.
2613         Prompted by report by Alexandre Julliard.
2615 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
2617         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
2618         when using default mode of IBM C 6 for AIX.  Problem and two-line
2619         fix reported by Larry Jones.
2621 2006-06-22  Alexandre Julliard <julliard@winehq.org>
2623         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
2624         about literal '${datarootdir}' if a definition is found in the
2625         output file.
2627 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
2629         * NEWS: Use "M4" rather than "m4" when appropriate.
2630         Problem reported by Eric Blake.
2631         * doc/autoconf.texi: Likewise.
2632         Use @acronym around BSD, GCC, and GNU when appropriate.
2633         (Why GNU M4): Renamed from "Why GNU m4".
2634         (Redefined M4 Macros): Mention that Posix
2635         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
2636         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
2637         to int.
2639 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2641         * bin/autom4te.in (handle_output): Do not forbid the empty
2642         pattern.
2643         * tests/tools.at (autoconf: the empty token): New test.
2645 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
2647         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
2648         calls, so that we do not care whether they are LIFO or FIFO;
2649         in the m4_wrap, do not check which diversion is the topmost
2650         one, just check that the stack is balanced at the end.
2651         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
2652         base diversion forever--pop the previous diversion before
2653         opening the new one; consequently, remove the m4_wrap call.
2654         * lib/autotest/general.m4 (AT_INIT): Likewise.
2655         * tests/m4sugar.at: Do not use
2656         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
2658 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
2659         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2661         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
2662         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
2663         Rework example of m4wrap token-pasting trouble so that it doesn't
2664         care whether it's LIFO or FIFO.
2665         Fix some "contrary to"s that are awkward in English.
2667 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2669         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
2670         to `yes' instead of `int$1_t' if the type is found, for more
2671         consistent configure output (where $1 is the number of bits).
2672         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
2673         Suggested by Bruno Haible.
2675         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
2676         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
2677         with system headers.  Report by Bruno Haible.
2679 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2681         * config/config.guess, config/config.sub: Sync from upstream.
2683         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
2684         in order to avoid picking up an older installed frozen m4sh.m4f.
2685         Besides an outdated shell startup, this could have been created
2686         by an earlier M4 version with incompatible frozen file format.
2688 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
2690         * README: Recommend m4 1.4.4 instead of 1.4.3..
2691         * doc/autoconf.texi: Likewise.
2692         (Special Chars in Names): Say that $(.FOO) is portable, as
2693         suggested by Stepan Kasal.
2694         (Installation Directory Variables, Build Directories):
2695         (Automatic Remaking, Subdirectories, Fortran Compiler):
2696         (Making testsuite Scripts, Defining Directories):
2697         Quote variable usages better.
2698         (Making testsuite Scripts): Add clean-local rule to makefile
2699         snippet, by Eric Blake.
2700         (Installation Directory Variables): Fix table item font.
2701         Reword slightly to clarify.  Generalize advice about
2702         not using special characters to include all file-related
2703         vars, not just VPATH.
2704         (Special Chars in Variables): Warn about special characters in
2705         $(srcdir) too.
2706         (Assignments): Clarify default-value example as suggested by
2707         Ralf Wildenhues in
2708         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
2709         (Special Shell Variables): Note leading ./ or ../, as suggested
2710         by Eric Blake.
2711         (Limitations of Builtins): Under cd, warn about CDPATH.
2712         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
2713         Ralf Wildenhues.
2715 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2717         * doc/autoconf.texi (Configuration Actions): Remove duplicate
2718         `@var', for texi2html.
2719         (Systemology): Some more word wrapping, for DVI output.
2720         (autom4te Invocation): The short option for `--melt' is `-M',
2721         not `-m'.
2723 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
2725         * doc/autoconf.texi: More formatting and English tweaks,
2726         many suggested by Ralf Wildenhues.
2727         Reword to avoid "@code{...}'s" and the like, since it's ugly
2728         with Emacs info mode.  discontents -> woes.
2729         Put a few "will"s back.  time stamp -> timestamp.
2730         side-effect -> side effect.
2732 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
2734         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
2735         Warn about $@ not persisting.  Problem reported by Julien Danjou in
2736         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
2737         (Special Chars in Names): Renamed from Leading _ in Macro Names.
2738         Mention other special chars, too.
2740 2006-06-14  Eric Blake  <ebb9@byu.net>
2742         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
2744 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
2746         * doc/autoconf.texi: Some systematic minor improvements, as
2747         follows.  Use "makefile" when talking about makefiles
2748         generally (which might be named "makefile" or "Makefile" or even
2749         "foo.mk"), "Makefile" when talking about a specific makefile
2750         called "Makefile".  This unclutters the text from weird quotes
2751         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
2752         values" rather than "@var{foo}s" and similar constructs containing
2753         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
2754         English-language improvements.  Change the prefix "sub-" to "sub"
2755         and "re-" to "re".
2756         Put blank lines around examples more consistently.
2757         Avoid "rather" and "very" as intensifiers.
2758         Avoid "will" as an auxiliary.
2759         (Limitations of Make): Split this node into....
2760         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
2761         (Leading _ in Macro Names, Backslash-Newline-Newline):
2762         (Backslash-Newline Comments, Long Lines in Makefiles):
2763         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
2764         (obj/ and Make, make -k Status, VPATH and Make):
2765         (VPATH and Double-colon, $< in Explicit Rules):
2766         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
2767         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
2768         New nodes, resulting from splitup of Limitations of Make.
2769         All cross-references changed.  Raise the top node from
2770         a section to a chapter, and all subnodes accordingly.
2771         Redo the introductory wording to match the new organization.
2772         (Installation Directory Variables): Use an example that is
2773         closer to what Autoconf actually does.  Mention that VPATH's
2774         value should not contain metacharacters or white space.
2775         (Fortran Compiler): Fix a VPATH bug in an example.
2776         (Leading _ in Macro Names): Mention that this problem is no longer
2777         of practical concern.
2778         (VPATH and Make): Reword the advice to make it clearer
2779         that Autoconf and Automake support VPATH in non-GNU make, but
2780         many packages have bugs in this area.
2781         ($< in Explicit Rules): Refer to Build Directories rather
2782         than using a (non-VPATH-safe) example.
2783         (Automatic Rule Rewriting): Mention the sort of disaster that
2784         can ensue with Solaris-style rule rewriting with VPATH.
2786 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2788         * doc/install.texi (Compilers and Options): Weaken the
2789         suggestion to use GNU make for VPATH builds.
2791         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
2792         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
2794         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
2795         in regular expression.
2797 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2799         * doc/autoconf.texi (Installation Directory Variables):
2800         Drop extra @samp from `@table @samp' item.
2801         (Limitations of Usual Tools): Comment fix.
2802         Do not nest @samp just to point to other table items.
2803         (Writing testsuite.at) <AT_CHECK>: The second argument to
2804         `@dvar' is already @samp'ed.
2805         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
2806         do not use @var in the second argument.
2808 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
2810         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
2811         $as_shell.exe too.  Problem reported by Andreas Buening in
2812         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
2814 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2816         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
2817         `unused variable' compiler warning, for `-Wall -Werror'.
2818         Reported by Jaap Haitsma in
2819         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
2821 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
2823         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
2824         case the compiler dumps core.  Problem reported for
2825         OpenServer 5.0.7 by Tim Rice in
2826         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
2827         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2828         Likewise.
2830 2006-06-06  Tim Rice <tim@multitalents.net>.
2832         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
2833         "ERROR" only shows up in "make check" output if there is an
2834         error.
2836 2006-06-06  Eric Blake  <ebb9@byu.net>
2838         * tests/tools.at (automatically allowed tokens): Fix typo.
2840 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
2842         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
2844         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
2845         typically overflows on x86 CPUs, even though the C standard
2846         requires otherwise.
2848 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2850         * configure.ac (AC_INIT): Bump to 2.59e.
2851         * NEWS: Update.
2853 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2855         Version 2.59d.
2857         * config/texinfo.tex: Sync from upstream.
2859         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
2860         seen, invoke libtoolize with `--ltdl' argument.
2861         * lib/autom4te.in (Autoreconf-preselections): Adjust.
2862         * NEWS: Update.
2863         Suggested by Eric Blake.
2865 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
2867         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
2868         reported by Ralf Wildenhues.
2869         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
2871 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2873         * THANKS: Update.
2875 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
2877         * doc/autoconf.texi: Modernize some of the references to Solaris.
2879 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
2881         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
2882         message issued by AC_REQUIRE.
2883         * tests/m4sugar.at: Check m4_require's error message.
2884         * tests/base.at: Check AC_REQUIRE's error message.
2885         * tests/local.at (AT_CHECK_M4): New macro, almost identical
2886         to...
2887         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
2888         AT_CHECK_M4.
2889         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
2890         `expout' as the last parameter.
2891         * tests/tools.at: Adapt to the above change.
2893 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
2895         * doc/autoconf.texi (Limitations of Usual Tools): Correct
2896         information about race-free implementations of mkdir.
2898 2006-06-04  Eric Blake  <ebb9@byu.net>
2900         * bin/autoreconf.in (help): Document M4 environment variable.
2901         * bin/autoconf.as (Usage): Likewise.
2902         * bin/autom4te.in (help): Likewise.
2903         * doc/autoconf.texi (autom4te Invocation): Likewise.
2905 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
2907         * NEWS: GNU make now recommended for VPATH builds.
2908         Mention that some macros are now documented to be obsolescent.
2909         * doc/autoconf.texi:
2910         Prefer "current" to "modern" to describe
2911         currently-used (albeit perhaps old-fashioned) hosts.
2912         Mention which ancient features no longer need to be worried about.
2913         setgid -> set-group-ID
2914         setuid -> set-user-ID (these are the Posix terms)
2915         Fix some misuses of "only".
2916         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
2917         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
2918         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
2919         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
2920         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
2921         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
2922         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
2923         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
2924         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
2925         Mention that these macros are obsolescent.
2926         (Installation Directory Variables): shall -> should
2927         (File Descriptors): Mention that 0, 1, 2 might get reopened.
2928         Mention that it's now safe to use 3 and 4.
2929         (Limitations of Usual Tools): cp -r is now specified by Posix.
2930         Omit longwinded and obsolescent discussion of cp -f.
2931         Modernize discussion of expr, ls.
2932         (Limitations of Make): Modernize discussion of VPATH builds.
2933         Mention $? as a workaround in some cases.
2934         * doc/install.texi (Basic Installation):
2935         Mention "./configure; make; make install" first.  Be more
2936         specific about why this file is generic.  Remove unnecessary
2937         parens.  Remove misleading "only".  Remove obsolete advice
2938         about csh.  Don't say "configure" takes awhile; say it
2939         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
2940         and CC=c99 rather than CC=c89, as these are blessed by current
2941         Posix.  Recommend GNU make if doing a VPATH build.
2943 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
2945         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
2946         examples involving shell prompts.
2948 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
2949         and Paul Eggert  <eggert@cs.ucla.edu>
2951         * doc/autoconf.texi (Here-Documents): Add details about the
2952         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
2953         use "here-documents" instead of "here documents".
2955 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2957         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
2959 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
2961         * doc/autoconf.texi (File System Conventions): Warn about ":"
2962         anywhere in directory names.
2964 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
2966         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
2967         about quoting the case statement, just in case.
2968         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
2969         was fixed in ksh93g; reported by Ralf Wildenhues.
2971 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
2973         * doc/autoconf.texi (System Services): Do not document
2974         overriding EXEEXT via ac_cv_exeext=ext.
2975         (Particular Programs) <AC_PROG_MKDIR_P>:
2976         Document that ${MKDIR_P} understands --.
2977         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
2978         comment.
2980 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2982         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
2983         argument with leading hyphen.  Problem reported by Paul Eggert.
2985 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
2987         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
2988         about quoting ac_try: quote all of it, if any of it seems suspicious.
2989         This means we don't have to worry about ${ or sed any more.
2990         Also, double-quote the case statement, to work around misuses via
2991         underquoting as reported by Ralf Wildenhues in
2992         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
2993         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
2994         undocumented and dangerous macro.
2995         Problem reported by Ralf Wildenhues in
2996         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
2998 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3000         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
3001         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
3002         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
3004 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
3006         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
3007         since evidently some packages rely on the old, broken behavior.
3008         Problem reported by Ralf Wildenhues in
3009         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
3010         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
3011         pre-2006-05-26 definitions, but leave in the comments that
3012         these macros are dangerous and should not be used.
3013         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
3014         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
3015         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
3016         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
3017         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
3019 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
3021         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
3022         the use of 'tr', since this is our only use of 'tr'.
3024 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3025         and Paul Eggert  <eggert@cs.ucla.edu>
3027         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3028         Don't assume 'grep' works on long lines, since AIX grep doesn't.
3030 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3032         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
3033         the output file in the `${datarootdir}' test.
3035 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
3036         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3038         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
3039         mention of `datarootdir' in the input file(s), but literal
3040         `${datarootdir}' in the output file, and we haven't warned yet,
3041         then warn as well: the user may have (erroneously) used
3042         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
3043         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
3044         * tests/torture.at (datarootdir workaround): Extend this test.
3045         * NEWS: Update.
3047 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3048         and Paul Eggert  <eggert@cs.ucla.edu>
3050         * doc/autoconf.texi (autoheader Invocation): The first argument to
3051         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
3052         alternatives and clear up the language a bit.
3054 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
3056         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
3057         ac_config_guess, ac_config_sub, ac_configure.
3058         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3059         Fix typo that prevented an unnecessary space from being removed.
3060         Problems reported by Ralf Wildenhues in:
3061         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
3063 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
3065         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
3066         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
3067         Don't use the term "thread-safe" to talk about mkdir race
3068         conditions, since the problem is more a process than a thread
3069         issue.  Problem reported by Stepan Kasal in:
3070         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
3071         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
3072         the test for 'install' more closely.  Look at MKDIR_P first.
3073         Look in the PATH, and at /opt/sfw/bin.
3074         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
3075         Don't bother to try mkdir -p, since we already check mkdir --version;
3076         just look at the version number.  (There's no easy way to check
3077         for race-free implementations.)
3078         * tests/tools.at (autoconf: subdirectories): Adjust to above
3079         changes, since MKDIR_P now might end in "/mkdir -p".
3081         * doc/autoconf.texi (autoheader Invocation): Mention that the
3082         first arg of AC_DEFINE_UNQUOTED must be a literal.
3083         Problem reported by Ben Pfaff in
3084         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
3086         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
3087         * doc/autoconf.texi (Special Chars in Variables): New section.
3088         (Preset Output Variables): Warn about special chars in CPPFLAGS.
3089         (Installation Directory Variables): Quote $(datadir) better.
3090         (Limitations of Builtins): Describe some of eval's trickiness.
3092         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
3093         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
3094         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
3095         in front of every arg, not just trailing args.  Quote apostrophes.
3096         (_AC_EVAL_ECHO): New macro.
3097         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
3098         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
3099         removed.
3100         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
3101         exposed by quoting of eval argument.  Put the command on line line
3102         so it logs better.
3103         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
3104         (_AC_PATH_X, AC_PATH_X): Quote more safely.
3105         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
3106         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
3107         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
3108         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
3109         Use eval more safely.
3110         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
3111         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
3112         to be replaced.
3113         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
3114         lines, exposed by quoting of eval argument.
3116 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
3117         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3119         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
3120         initialization of `ac_cv_exeext', do not override it if it was
3121         already set, unless it was set to `no', for compatibility with
3122         Autoconf-2.13, and comment this.
3123         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
3124         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
3125         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
3126         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
3127         Document that this test may be overridden by setting
3128         `ac_cv_exeext'.
3130 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3132         Revert these two patches:
3134         2006-04-06  Eric Blake  <ebb9@byu.net>
3135         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3136         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
3137         2006-04-01.
3139         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3140         Clean up _AC_COMPILER_EXEEXT* macros.
3141         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3142           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3143           ac_file to the name of the default output file and call
3144           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
3145           initial `rm' of the candidate files...
3146         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
3147           the same list in subsequent `rm' calls, and for the temporary
3148           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3149           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3150         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3151         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3152           no longer needed) by libtool.  Make it a cache check.
3153         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3154           copied here by mistake.
3155         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3156           _AC_COMPILER_EXEEXT.
3157         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3158           _AC_COMPILER_OBJEXT directly.
3159         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3161 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3163         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
3164         Fix description of how the buggy `sed' works.
3166 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
3168         Sync from Automake:
3170         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
3171         ENOLCK.  Only mention `make -j' when applicable.  Only raise
3172         fatal errors when `make -j' is involved.  Improve error message.
3174 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3176         * doc/autoconf.texi (Here-Documents): We now know more about
3177         the variable expansion in here documents bug.
3178         Thanks to Tim Rice and Stepan Kasal.
3180         * doc/autoconf.texi (Making testsuite Scripts): Add an example
3181         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
3183 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3185         * tests/autotest.at (Multiline command from M4 expansion):
3186         No failure to be expected if the shell quotes newlines in
3187         commands in the `set -x' output.  Report by Tim Rice.
3188         * THANKS: Update.
3190 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
3192         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
3193         expansion in the here-documents used by config.status, as that
3194         runs afoul of the Korn shell version M-12/28/93d bug described in
3195         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
3196         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
3197         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
3199 2006-05-23  Jim Meyering  <jim@meyering.net>
3201         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
3202         Fix typo introduced with 2006-04-02 change.  It reversed the sense
3203         of the test.
3205 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
3207         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
3208         ac_dB slightly, to save bytes in the script.
3209         Max out at 50 lines, rather than 96; this is more likely
3210         (though not guaranteed) to avoid obscure 'sed' failures.
3212 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3214         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
3215         `tr -d -' as bad option argument.  Work around this by deleting
3216         an unrelated character.
3217         Report by Tim Rice <tim@multitalents.net>.
3219 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
3220             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
3221             Stepan Kasal  <kasal@ucw.cz>
3223         * doc/autoconf.texi (Particular Programs): Do not promise that
3224         we always prefer the GNU version of the program, and that we
3225         search according to PATH; both rules can have exceptions.
3226         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
3227         AC_PROG_SED.  Move descriptions of limitations
3228         to the Limitations of Usual Tools section.
3229         (Limitations of Usual Tools) <sed>: Mention script length
3230         limitations with Solaris /usr/ucb/sed.
3231         <grep>: Fix wording for empty alternative.  Mention that -c and
3232         -l should not be combined, and that -E and -F should not be
3233         combined.
3235 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3236         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3238         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
3239         limits in Solaris 8 /usr/ucb/sed by testing a long script.
3241 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
3243         * doc/autoconf.texi (Defining Symbols): Literal parameter of
3244         AC_DEFINE is now passed to m4_pattern_allow.
3245         * NEWS: Mention that; likewise for AC_SUBST.
3246         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
3247         the parameter to m4_pattern_allow.
3248         * tests/tools.at: Add a check for that.
3250 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
3252         * lib/autoconf/status.m4: Fix typos.
3254 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3256         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3257         only the files that this macro generates.
3259 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3261         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
3262         the HP-UX sed limitation of 99 commands, labels do not count.
3263         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
3264         in the comment.
3265         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
3267 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3269         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
3270         Import the following fix from coreutils:
3272         2006-01-13  Jim Meyering  <jim@meyering.net>
3274         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
3275         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
3276         not double-quote uses of that variable, to accommodate the rare
3277         case in which getmntent is available in none of the libraries
3278         checked.  This happens at least on FreeBSD 5.0.
3280 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
3282         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
3283         ac_config_guess, ac_config_sub, and ac_configure, since evidently
3284         some other programs unwisely rely on these undocumented vars.
3285         But put in warning comments about them.
3286         Problem reported by Ralf Wildenhues in
3287         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
3288         * NEWS: Document that these variables are intended to go away.
3290 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3292         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
3293         and set the language to C++ (analogous to the equivalent Fortran
3294         tests).
3296         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
3297         * doc/autoconf.texi (C++ Compiler): Document it.
3298         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
3299         * NEWS: Update.
3301 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3303         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
3304         that caused config.status to generate 100-command sed scripts; the
3305         portable limit is 99.
3307 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3309         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
3310         variable `ac_d' instead of `d' to avoid infringing namespace.
3311         Report by Ralf Menzel.
3313 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
3315         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
3316         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
3317         * tests/tools.at (autoconf: subdirectories): New test, taken from
3318         the corresponding problem report by Ralf Wildenhues in:
3319         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
3321         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
3322         Quote some uses of shell variables if they might suffer unexpected
3323         globbing.  This doesn't fix all instances of quoting problems that
3324         I found, just the easy ones that look safe.
3325         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
3326         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
3327         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
3328         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
3329         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
3330         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3331         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
3332         Likewise.
3333         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
3334         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
3336 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3338         * bin/autoreconf.in ($help): Reword according to the manual.
3339         Suggested by Olly Betts.
3341 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
3342         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3344         * bin/autoreconf.in: Pass the directory argument to
3345         `require_configure_ac'.  Fix comment.
3346         * tests/torture.at (Configuring subdirectories): Expose this.
3347         Reported by Olly Betts.
3349 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3351         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
3352         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
3353         Automake as follows:
3355         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
3356         `$configure_in' instead of `configure.in', to preserve
3357         directory component.
3359 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3361         * config/config.guess, config/config.sub, config/texinfo.tex,
3362         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
3364 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
3366         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
3367         test for C99 conformance; (bool) 0.5 is an integer constant
3368         expression, but (bool) -0.5 is not.  Problem reported by Fedor
3369         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
3371 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
3373         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
3374         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
3375         Warn about obsolete install-sh files.  Remove stray sentence
3376         fragment and fix cross reference.
3377         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
3378         install -d; this undoes the 2006-05-10 change.
3379         (MKDIR_P): Mark with AN_MAKEVAR.
3380         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
3381         that we don't require $INSTALL to be thread-safe.  Move comments
3382         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
3383         of AC_PROG_INSTALL.  Output a message saying that we're checking
3384         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
3385         MKDIR_P instead of AC_SUBST.
3386         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
3387         Special magic for MKDIR_P, too.
3388         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
3389         a dnl.
3390         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
3392 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
3394         Sync from Automake, as follows:
3396         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3397         * config/install-sh: Initialize IFS, so field splitting isn't
3398         turned off later.
3399         * config/mkinstalldirs: Likewise.
3400         * config/missing: Remove superfluous quotes.  Replace all uses of
3401         `[' by `test', for consistency, and for..
3402         * config/missing (sed_minuso, sed_output): New variables.
3403         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
3404         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
3405         Fixes `missing' to detect `--output' for help2man.  Fixes
3406         PR automake/483.  Report by Dennis J. Linse.
3407         (autom4te): Document in `missing --help'.
3409 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3411         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
3412         * config/install-sh: Don't use 'path' to talk about file names,
3413         as per GNU coding standards.  Close a race condition reported by Ralf
3414         Wildenhues and Stepan Kasal.  There is still a race condition
3415         on hosts that predate Posix 1003.1-1992, but we can't help this.
3416         Don't mishandle weird characters like space on pre-Posix hosts.
3417         Invoke mkdir at most once per dir arg on pre-Posix hosts.
3418         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
3419         AC_PROG_MKDIR_P from AS_MKDIR_P.
3420         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
3421         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
3422         earlier editions are not (including Automake 1.8.3).
3423         Do not suggest mkinstalldirs for thread-safety.
3424         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
3425         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
3426         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
3427         presence of special characters and race conditions.
3428         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
3429         in Autoconf's name space.
3431 2006-05-10  Bruno Haible  <bruno@clisp.org>
3432         and Paul Eggert  <eggert@cs.ucla.edu>
3434         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
3435         from Automake with minor changes.
3436         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
3438 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3440         * config/install-sh: Update to Automake CVS version, as follows:
3441         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
3442         * lib/install-sh: Simplify the expr implementation of dirname.
3443         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
3444         * lib/install-sh: Handle --, and diagnose unknown options.
3446 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3448         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
3449         `./autom4te' to create `./testsuite', since the `all' target
3450         will ensure its presence, but `installcheck' should not create
3451         the uninstalled wrappers.
3453         * tests/torture.at (Unusual Automake input files): Skip if we
3454         detect automake < 1.8.
3456 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3458         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
3459         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
3460         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
3461         * NEWS: Update.
3463 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3465         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
3466         munge (multiple) white space and other oddities.
3467         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
3468         single quotes in variable assignment.
3469         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
3470         and similar failures by adding multiple spaces, tabs, and other
3471         special characters.
3472         Report and different test suggested by Francesco Romani
3473         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
3475         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
3476         single quotes, we only need to search for single quotes; this
3477         both simplifies the search pattern, and makes us less
3478         susceptible to `echo' variations for arguments not containing
3479         single quotes.
3480         (_AC_ARG_VAR_VALIDATE): Likewise.
3482 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3484         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
3485         `$*' and IFS concatenation issue with traditional shells and
3486         bash-2.04.  Report by Seanster@Seanster.com.
3488 2006-05-03  Bruno Haible  <bruno@clisp.org>
3490         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
3491         precisely which Mac OS X versions have the od problem.
3493 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
3495         * doc/autoconf.texi: Use @option systematically.
3497 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
3498         and Bruno Haible  <bruno@clisp.org>
3500         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
3501         about 'od'.
3502         (Integer Overflow): Mention the special case of integer division
3503         overflow.
3505 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3507         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
3508         traditional shells like the Solaris one that do not use the
3509         first IFS character for assembling `$*'.
3510         Prompted by a related report from autoconf_bug@nro.ca.
3512 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
3513         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3515         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
3516         Mention more problems with the -e option.
3518 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3520         * NEWS: Typo.
3521         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
3523         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
3524         in URLs to improve DVI formatted output (requires texinfo 4.6).
3525         (System Services, Systemology, Shellology): Likewise.
3526         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
3527         output.
3529         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
3530         continuous text.
3531         (Runtime): Fix macro argument names to match description:
3532         `action-if-found' -> `action-if-true' and similarly.
3533         (Obsolete Macros): Likewise.
3534         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
3535         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
3536         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
3538 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3540         * doc/autoconf.texi (Limitations of Make): Clean up markup.
3542         * ChangeLog: Typo.
3543         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
3544         DVI output.
3546 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3548         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
3549         /bin/sh set unsorted output.
3550         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
3551         * tests/local.at: Likewise.
3553 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
3555         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
3556         (Integer Overflow, Null Pointers, Buffer Overruns):
3557         (Floating Point Portability, Exiting Portably): New sections.
3558         (Writing Test Programs): Fix some langauge.  Recommend exiting
3559         with status 1, not merely nonzero.  Clarify exit declaration.
3560         (Run Time): Move C exit status stuff to new Exiting Portably section.
3561         (Systemology): Mention Posix and levenez.  Update v7 reference.
3562         (Portable Shell): Mention the Posix shell.
3564 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
3566         * bin/autoconf.as (me): Replace by as_me.
3568 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
3570         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
3571         since as_me isn't set yet.
3573 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
3575         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
3576         a few minor bugs in this area.
3578         * doc/autoconf.texi (Programming in M4sh): Comment out the
3579         documentation of AS_BASENAME, for now.
3580         (Shell Substitutions): Do not use AS_DIRNAME in an example.
3581         (Limitations of Builtins) <basename>: Do not refer to
3582         AS_BASENAME.
3583         * bin/autoconf.as (me): Don't use AS_BASENAME.
3584         (dir): Remove the unused variable.
3585         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
3586         AS_DETECT_REQUIRED.  All uses changed.
3587         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
3588         All uses changed.
3589         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
3590         (AS_BASENAME): Use "basename --" to protect against leading "-".
3591         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
3592         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
3593         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
3594         (_AS_DIRNAME_PREPARE): Likewise.
3595         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
3596         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
3597         (AS_DIRNAME): Use "dirname --".
3599 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
3601         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
3602         of "run time" and "run-time" changed to "runtime", for consistency.
3603         * lib/autoconf/fortran.m4: Likewise (in comment).
3604         * lib/autoconf/functions.m4: Likewise.
3605         * lib/autoconf/general.m4: Likewise.
3606         * lib/autoconf/headers.m4: Likewise.
3608         * doc/autoconf.texi (Run Time): Document the exit status situation
3609         with more accuracy and detail.
3611 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3613         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
3614         Archive is not officially `GNU' any more.  Update URL.
3615         (Defining Directories): Likewise
3616         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
3618 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3620         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
3621         newline from the `trap' code to finish `config.log'; the NetBSD
3622         /bin/sh resets the exit status after an empty command, as
3623         documented in doc/autoconf.texi.
3624         Reported by Dalibor Topic <robilad@kaffe.org>.
3626 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3628         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
3629         Suggested by Bruno Haible.
3631 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
3633         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
3634         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
3635         Instead, just list the shells that we know work.
3636         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
3637         changed.  Be more cautious about the _cv_ variable.
3638         * tests/tools.at (Syntax of the shell scripts): Check the
3639         _cv_ variable once, at first, to avoid an internal autoconf error
3640         when sh -n does not work.
3642 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3644         * lib/Autom4te/FileUtils.pm: Sync from Automake.
3646 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
3648         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
3649         use ">&-" since we're only 99.999% sure that this is portable,
3650         and since the MinGW bug is fixed in a different way.
3651         * lib/autotest/general.m4 (AT_INIT): Likewise.
3653 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
3655         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
3656         before opening config.log, to avoid hitting a bug on MinGW.
3658 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
3660         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
3661         AS_MESSAGE_LOG_FD before reopening it onto the log file.
3662         This works around a MinGW bug reported by Eric Paire.
3663         Make sure that all writes to the log file append to it,
3664         rather than possibly losing data.
3665         * lib/autotest/general.m4 (AT_INIT): Likewise.
3667 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
3669         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
3670         description.
3672 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3674         * NEWS: Update.
3676         * configure.ac (AC_INIT): Bump to 2.59d.
3678 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3680         Version 2.59c.
3682         * Makefile.maint (news-date-check): Do not require a leading `*'
3683         before the release date in NEWS.
3685 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
3686         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3688         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
3689         the instantiated file do not contain the string 'datarootdir'
3690         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
3691         @mandir@, replace the reference '${datarootdir}' by the value.
3692         * tests/torture.at (datarootdir workaround): New test.
3693         * NEWS: Advertise this temporary fixup.
3694         Based on a patch by Bruno Haible, reported and analyzed by
3695         Paul Eggert and Noah Misch.
3697 2006-04-12  Eric Blake  <ebb9@byu.net>
3699         * tests/autotest.at (Debugging a failed test): Fix comment.
3701 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
3703         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
3704         all the changes since 2006-04-07.
3706 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3708         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
3709         succeeded, but `ln -s file dir' failed, take care to remove the
3710         leftover target before the next test, to prevent its spurious
3711         failure; also make sure `ln file dir' works before selecting it.
3712         Thanks to Keith Marshall for pointing this out.
3713         * THANKS: Update.
3715         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
3716         assignments in `at_debug_args', so that we put them correctly
3717         in the `run' script.
3718         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
3719         Reported by Eric Blake.
3721 2006-04-11  Eric Blake  <ebb9@byu.net>
3723         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
3724         top-level tests after micro-suite has been run.   Used in...
3725         (Debugging a successful test, Debugging script and environment),
3726         (Debugging a failed test): ...these new tests.  The first of these
3727         is fixed by...
3728         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
3729         macro, split out from...
3730         (AT_INIT): ...here, so that using -d also generates a run script.
3731         Document that -d inhibits top-level logging.
3732         * doc/autoconf.texi (testsuite Invocation): Document that -d only
3733         inhibits top-level logging; debug scripts are created.
3735         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
3736         check.
3737         * tests/autotest.at (Empty test, Empty check): New test to check it.
3739         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
3740         from gcc.
3742 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
3744         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
3745         the files if a problem appears.  Make the empty *.at files
3746         read-only, too.  Proposed by Ralf Wildenhues.
3748 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3750         * config/Makefile.am: Add comment to force updated Makefile.in.
3752         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
3753         space only patch to this file, this patch causes the Makefile.in
3754         files that include freeze.mk to be updated, and thus have a
3755         newer time stamp again, which in turn makes a pristine CVS
3756         checkout have correct time stamps.
3758         * Makefile.maint (cvs-sv): New macro, to be used..
3759         (config.guess-url_prefix, config.sub-url_prefix)
3760         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
3761         point to CVS text checkout of Gnulib files.
3762         (copyright-check): Bump current year.
3763         (announcement): Do not hard-wire `./announce-gen'.
3764         (cvs-update): Propagate failures of `cvs' and `move-if-change'
3765         correctly.
3766         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
3767         `chmod +x'.
3768         (wget_files): Update config.guess, config.sub, texinfo.tex by
3769         `wget-update', now that their URLs work again.
3771 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
3773         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
3774         Problem noted by Paul D. Smith.
3776 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3778         * doc/autoconf.texi: Remove unused words from word list.
3779         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
3780         .x-sc_trailing_space: New files.
3782         * doc/standards.texi: Sync from gnulib.
3784         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
3785         `LIBOBJDIR' as experimental.
3787         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
3788         with a target directory; it's internally implemented as `cp'
3789         anyway, but since Autoconf advertises the possibility to use
3790         a target directory when LN_S is `ln -s', we need to find out.
3791         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
3792         analyzed by Keith Marshall <keith.marshall@total.com>.
3794         * THANKS: Update.
3796 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
3798         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
3799         confdefs.h as-is.  In general, if it has backslash-newline or the
3800         like, then it doesn't work either to sort or to remove empty
3801         lines.
3803 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
3805         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
3807 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
3809         * lib/autom4te.in (Automake-preselections): Preselect
3810         _AM_SUBST_NOTMAKE.
3812 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
3814         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
3815         apostrophe within a single-quoted string, as this is the usual
3816         tradition and is easier to read than '"'"'.  Don't rely on the
3817         shell treating "$/" like '$/'.  Use a more-consistent indenting
3818         style for the trap.
3820 2006-04-09  Eric Blake  <ebb9@byu.net>
3822         * tests/autotest.at (Backquote command substitution),
3823         (Multiline backquote command substitution): Remove mistaken
3824         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
3825         applied...
3826         (Parenthetical command substitution, Multiline parenthetical
3827         command substitution): here.
3829 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
3831         Import macros from gnulib (often changing their name).
3833         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
3834         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
3835         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
3836         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
3837         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
3838         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3839         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
3840         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
3841         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
3842         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
3843         The manual mentions Gnulib more prominently.
3844         * doc/autoconf.texi (Gnulib): New node.
3845         (Pointers): Add Gnulib URL.
3846         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
3847         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
3848         Gnulib section.
3849         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
3850         suggest a #define rather than a typedef for _Bool, and mention
3851         Gnulib rather than trying to substitute stdbool code.
3852         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
3853         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
3854         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
3855         AC_STRUCT_DIRENT_D_TYPE.
3856         (Particular Types): Mention stdint.h and inttypes.h as standard
3857         headers too.
3858         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3859         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
3860         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
3861         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
3862         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
3863         (C Compiler): Move AC_C_LONG_DOUBLE to ...
3864         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
3865         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
3866         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
3867         (Coding Style).  Don't mention m4_expand_once.
3868         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
3869         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
3870         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
3871         (AC_CHECK_FUNCS): Use it.
3872         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
3873         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
3874         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
3875         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
3876         (AC_HEADER_ASSERT): New macro.
3877         (AC_HEADER_STDBOOL): Don't assume "#error" works.
3878         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
3879         Catch a bug in an HP-UX C compiler.
3880         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
3881         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
3882         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
3883         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
3884         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
3885         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
3886         New macros.
3888         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
3889         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
3891 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
3893         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
3894         of the warning introduced by the 2001-08-28 change.
3896 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
3897             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3899         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
3900         variables shall be overriden by the cache.
3901         * tests/torture.at (AC_ARG_VAR): Test also with a first value
3902         that contains braces.
3904 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
3906         Revert the patch from 2006-04-01 and only improve
3907         _AS_DETECT_BETTER_SHELL:
3909         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
3910         skip nonexistent directories.
3911         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
3912         only shell candidates which exist.
3913         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
3914         * lib/autotest/general.m4 (AT_INIT): No need to give three
3915         parameters to _AS_PATH_WALK.
3917 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
3918             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3920         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
3921         distinguish m4sugar macros.
3922         * tests/tools.at (autoupdating with aclocal and m4_include):
3923         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
3924         test case by Noah Misch <noah@cs.caltech.edu>.
3926 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
3928         Revert my change from 2006-03-17, in other words:
3929         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
3930           and DUALCASE=1.
3931         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
3932         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
3933           it is set.
3935 2006-04-07  Eric Blake  <ebb9@byu.net>
3937         * doc/autoconf.texi (Programming in M4sh): Document that
3938         AS_MKDIR_P exits the script on failure.
3939         * lib/autotest/general.m4: Remove redundant AS_ERROR.
3941 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3943         * config/elisp-comp, config/install-sh, config/mdate-sh,
3944         config/missing, config/mkinstalldirs: Sync from Automake.
3946         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
3947         from Automake.
3949         * doc/make-stds.texi: Sync from gnulib.
3951 2006-04-06  Eric Blake  <ebb9@byu.net>
3953         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3954         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
3955         2006-04-01.
3957 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
3958             Eric Blake  <ebb9@byu.net>,
3959             Paul Eggert  <eggert@cs.ucla.edu>,
3960             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3962         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
3963         whether `set' quotes correctly: redirect stderr of the tested
3964         `set', and use a subshell, for Ultrix; use `sed' instead of
3965         `grep' for zsh `set' which may write binary output; match only
3966         at the beginning of a line, to avoid false positives.
3967         In order to avoid false positives by unrelated variables with
3968         multiline content, put the dump algorithm in a subshell and
3969         unset all variables containing newlines (except some which are
3970         special to the shell).  Warn about cache variables that are
3971         unset.
3973 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3975         * config/config.guess, config/config.sub, config/texinfo.tex:
3976         Sync from upstream.
3978         * tests/mktests.sh: Reword comments.
3980         * tests/mktests.sh: Only skip internal macros starting with
3981         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
3982         Update exclusion lists for the test suite to this end:
3983         (AC_ARG_VAR): Do test this now.
3984         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
3985         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
3986         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
3987         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
3989         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
3990         shell issue with double-quoted command substitutions of native
3991         commands.
3992         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
3993         Marshall.
3995         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
3996         no file matches the glob, discard the warning, set `nullglob'.
3997         (syntax-check): Likewise.
3998         (sc_cast_of_x_alloc_return_value): Likewise.
3999         (sc_cast_of_alloca_return_value, sc_error_exit_success)
4000         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
4001         (m4-check): Likewise.
4002         (sc_system_h_headers): Do not print rule on execution.
4003         (sc_tight_scope): Do not fail for non-existing `src' directory.
4004         (sc_changelog): Skip the Copyright footer.
4005         * lib/autoconf/lang.m4: Remove trailing space.
4007         * lib/autoconf/status.m4: More replacements to
4008         <tab><space> where this makes sense.
4010 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
4012         * tests/Makefile.am (maintainer-check-posix):
4013           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
4015         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
4016           ac_config_<foo>s again, sometimes normalized, sometimes not.
4017         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
4018         (AC_CONFIG_COMMANDS): Do not do so here.
4019         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
4020           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
4021           2005-07-25 rewrite.  Noticed by Noah Misch.
4023         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
4024           _AC_PRESERVE_HELP_ORDER, ...
4025         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
4027         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
4028           inside m4_expand_once; it is redundant.
4030         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
4031           for --help from Cygnus `configure.'
4033 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
4035         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
4036         on a patch proposed by Ralf Wildenhues.
4038 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
4040         * lib/autoconf/status.m4: Replace <space>''<tab> with
4041         <tab><space> where this makes sense.
4043 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
4044             Noah Misch  <noah@cs.caltech.edu>
4046         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
4047         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
4048         * doc/autoconf.texi (Help Formatting): New node.
4049         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
4051 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4053         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
4054         lib/autoconf/specific.m4, lib/autoconf/status.m4,
4055         lib/autoconf/types.m4, lib/autotest/general.m4,
4056         tests/mktests.sh, tests/torture.at: White space cleanup:
4057         remove some SPACE before TAB, or add quoting ('' or @&t@).
4059         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
4061         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
4063 2006-04-05  Eric Blake  <ebb9@byu.net>
4065         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
4066         empty test suite works.
4067         * tests/autotest.at (Empty test suite): Remove xfail.
4069 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
4071         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
4072         TAGS to ac_config_<foo>s.
4073         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
4074         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
4075         normalizing it, consistent it with previous releases.
4076         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
4078 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
4080         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
4081         Use simplified args that Eric Blake originally suggested.
4083 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
4085         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
4086         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
4087         Use 'comm' rather than N instances of grep; this also fixes a bug
4088         whereby substrings were incorrectly matched, causing us to not
4089         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
4090         (exclude_list): Exclude empty macros.
4091         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
4093         Use awk rather than grep -E or egrep, to avoid
4094         portability problems with regular expressions containing newlines.
4095         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
4096         Switch from grep to awk syntax.
4097         (ac_exclude_script): Renamed from ac_exclude_egrep.
4098         (au_exclude_script): Renamed from au_exclude_egrep.
4100 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
4102         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
4103         a subdirectory subject to Cygnus `configure'.
4104         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
4106         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
4107         report request when we have no AC_PACKAGE_BUGREPORT.
4109 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4111         * THANKS: Update.
4113         * tests/mktests.sh: Update copyright year in the header of the
4114         generated files.
4116         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
4117         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
4118         typedef'ed restricted pointer, to catch a compiler bug on
4119         HP-UX 11.x, and fix warnings so it passes with -Werror.
4120         (_AC_PROG_CC_C99): Likewise.
4121         Reported by Albert Chin <china@thewrittenword.com>.
4122         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
4124 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
4126         * bin/autoscan.in (subdirs): New global.
4127         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
4128         (output): Emit AC_CONFIG_SUBDIRS as needed.
4129         * tests/autoscan.at (autoscan): Remove XFAIL.
4131 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
4133         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
4135 2006-04-03  Eric Blake  <ebb9@byu.net>
4137         * THANKS: Add myself.
4139 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4141         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
4142         to log, point to testsuite output tree.
4144 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
4146         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
4147         * doc/autoconf.texi (Function Portability): Mention that C++
4148         has trouble with 'exit'.
4149         (Guidelines): Test programs shouldn't use 'exit'.
4150         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4151         Remove; all uses removed.
4152         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
4153         Return from 'main' instead of calling 'exit'.
4154         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
4155         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
4156         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
4157         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
4158         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
4159         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4160         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4161         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
4162         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4163         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4164         * tests/compile.at: Likewise.
4166 2006-04-02  Pavel Roskin  <proski@gnu.org>
4168         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
4170 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4172         Clean up _AC_COMPILER_EXEEXT* macros.
4174         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
4175           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
4176           ac_file to the name of the default output file and call
4177           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
4178           initial `rm' of the candidate files...
4179         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
4180           the same list in subsequent `rm' calls, and for the temporary
4181           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
4182           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
4183         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
4184         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
4185           no longer needed) by libtool.  Make it a cache check.
4186         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
4187           copied here by mistake.
4188         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
4189           _AC_COMPILER_EXEEXT.
4190         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
4191           _AC_COMPILER_OBJEXT directly.
4192         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4194 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4196         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
4197         (AS_DIRNAME): Use it.
4198         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
4200         * tests/*.at: Remove the generated ones.
4202 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4204         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
4206 2006-04-01  Eric Blake  <ebb9@byu.net>
4208         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
4209         directories, unless optional third argument supplied.
4210         (AS_UNAME): Don't optimize PATH walk.
4212         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
4214 2006-04-01  Eric Blake  <ebb9@byu.net>
4215         and Stepan Kasal  <kasal@ucw.cz>
4217         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
4218         and fix some typos.
4220 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
4222         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
4223         Autoconf version number despite a zero- or one-argument AC_INIT.
4225         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
4226         subordinate tools.
4227         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
4228         * doc/autoconf.texi (autoreconf Invocation): Document it.
4230         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
4231         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
4233 2006-04-01  Eric Blake  <ebb9@byu.net>
4235         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
4236         * lib/autotest/general.m4: Be tolerant of existing directory when
4237           rm failed to remove it.
4239 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4241         * bin/autoupdate.in: Redefine m4_location so that warnings print
4242         the correct lines of the input file by subtracting..
4243         (_au__first_line): ..this new definition.
4245         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
4246         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
4247         Remove stray newline in output.
4248         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
4249         AC_DEFUN this for autoconf, including the obsoletion diagnose.
4250         Fixes autoupdating of code where the replacement output contains
4251         m4sugar macros.
4252         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4253         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
4254          (au_exclude_list): Add AC_LANG_SAVE.
4255         * tests/tools.at: Several new tests for all of this.
4256         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
4257         hairy details.
4258         The AC_LANG_SAVE issue was reported against Libtool by
4259         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
4260         Kristian Kvilekval <kris@cs.ucsb.edu>.
4262 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4264         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
4265           switch all of them on and of when necessary.  Fixes the bug when
4266           m4sugar macros (e.g., m4_define) were expanded after the first
4267           automatic update (e.g., after AC_PREREQ or AC_INIT).
4269 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
4271         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
4272         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
4274         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
4275         correctly.  Problem reported by Eric Blake.
4276         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
4277         Ralf Wildenhues.
4279 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
4281         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
4282         Tighten up the basename/dirname wording.
4284 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4286         * Makefile.maint (sc_texi_notab): New check: do not use TABs
4287         in texinfo files outside of verbatim environments.
4288         (syntax-check-rules): Update.
4289         * doc/autoconf.texi (Configuration Headers): Conform to it.
4291 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
4293         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
4294           aclocal cannot be given on the command line.
4296 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
4298         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
4299         Give an example for AS_DIRNAME instead of referring to Posix..
4300         (File System Conventions): Put discussion of // versus / here, and
4301         modernize it a bit.
4302         (Limitations of Usual Tools): Add basename.  Remove verbiage
4303         after dirname, since it got moved to the above sections.
4304         All this was inspired by a patch proposed earlier by Eric Blake.
4306 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4308         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
4309         `$0' to protect against spaces.
4310         * lib/autotest/general.m4 (AT_INIT): Likewise.
4311         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
4312         `$0', $as_me.
4314 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4316         * bin/autoscan.in: The value of find_configure_ac should be
4317         checked for existence, so we don't barf over a nonexisting
4318         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
4320 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4322         * bin/autoupdate.in: Fix some typos.
4324 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
4326         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
4328         * lib/autoscan/autoscan.list: Refreshed.
4330 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4332         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
4333         and Erlang related variables.
4335         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
4336         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
4337         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
4338         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
4339         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
4340         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
4341         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
4342         (_AC_PROG_OBJC_G): New macros.
4343         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
4344         * doc/autoconf.texi (Objective C Compiler): New node.
4345         (Preset Output Variables): Document OBJCFLAGS.
4346         (Language Choice): Document `Objective C' language.
4347         (Fortran Compiler): Fix typo.
4348         * NEWS: Updated.
4349         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
4351 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
4353         * doc/autoconf.texi (Default Includes): Fix typo
4354           s/AC_HEADERS_STDC/AC_HEADER_STDC/
4355         (Limitations of Usual Tools): s/unwriteable/unwritable/
4356         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
4357           Fix typos in the comments.
4359 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
4361         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
4362           Factor out the warning to...
4363         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
4364         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
4365         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4367         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
4368           case `ac_delim' when writing the sed script.
4370         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
4371           moved DUALCASE=1 ...
4372         (AS_SHELL_SANITIZE): ... here.
4373         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
4374           that it is set.
4376         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
4377           AC_SUBST.
4378         (_AC_PATH_PROG): Store the result to VARIABLE.
4379         (AC_PATH_PROG): No need to set VARIABLE again.
4381         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
4382           the first one is usual AT_CHECK_MACRO test, the second one checks
4383           that the same works when cross-compiling.
4384         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
4385         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
4387 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4389         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
4390         the directory `/usr/bin/posix' in the shell search, to prefer
4391         the Posix shell not only in subsequent spawns as with `$BIN_SH'
4392         on Tru64.
4394         * doc/autoconf.texi (contents): To fix texi2html output, hide
4395         `@setcontentsaftertitlepage' for HTML.
4396         (Writing Autoconf Macros): Likewise, insert space after `@c'.
4397         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
4398         `@,{c}'.
4400 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
4402         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
4403           sanitizing...
4404         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
4405         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
4406           why IFS is restored so late; thank you, Ralf, for reminding us.
4408 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
4410         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
4411           variables in the examples.
4413 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
4415         * doc/autoconf.texi (several sections): Cleaned up documentation for
4416         macros in erlang.m4.
4418 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4420         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
4421         failure condition for `$(cmd)' style command substitutions.
4422         (Parenthetical command substition, Multiline parenthetical
4423         command substition): Use it.
4425         * doc/autoconf.texi (Special Shell Variables): Missing word.
4426         Reported by Keith Marshall <keith.marshall@total.com>.
4428         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
4429         IFS even in case of empty `$PATH'.
4431 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4433         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
4434         `expr' away if there is nothing to do.
4435         < --keywords >: Simplify and robustify argument handling.
4436         Revert erroneous comment from 2005-08-23.  Extend to allow
4437         keyword negation with `!'.
4438         Update help message.  Remove broken code to prevent running
4439         tests multiple times.
4440         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
4441         Update and fix the documentation accordingly.
4442         * tests/autotest.at (Keywords): Renamed to..
4443         (Keywords and ranges): .. this.  Extended to make sure negated
4444         keywords, keywords taken from AT_SETUP arguments, and numeric
4445         test ranges work, and that matching is case-insensitive.
4447 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4449         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
4450         allow to pass unnamed structs even in C++.
4451         (AC_CHECK_SIZEOF):  Likewise.
4452         Also fix quoting error in `AC_MSG_FAILURE' arguments.
4453         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
4454         struct): New tests for unnamed structs, each both native and
4455         cross-compiling.
4457         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
4458         a structure inside a cast, for C++ conformance.
4459         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
4460         Also fix quoting error in `AC_MSG_FAILURE' arguments.
4462         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
4463         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
4464         trying to execute the command `no'.
4466         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
4467         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
4468         expanded outside.
4470         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
4471         example.  Do not emphasize `$%', it is hardly new and special.
4472         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
4474         * doc/autoconf.texi (Limitations of Usual Tools): Document
4475         OpenBSD and traditional `grep' failure to handle multiple
4476         patterns separated by newlines.
4478 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
4480         * doc/autoconf.texi (several sections): Add documentation for macros
4481         in erlang.m4.
4483 2006-03-10  Eric Blake  <ebb9@byu.net>
4485         * doc/autoconf.texi (Obsolete Macros): Fix wording of
4486         AC_TRY_LINK_FUNC.
4488 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
4490         * doc/autoconf.texi: Use @acronym more consistently for acronyms
4491         like BSD, GPL, LGPL.  Fix minor English typos.
4492         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
4493         Mention that these macros are becoming obsolete.
4494         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
4495         Use more modern terminology for which standard is what.
4496         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
4497         and to ansi2knr.
4498         (AC_PROG_CXX): Likewise.
4499         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
4500         Remove obsolete discussion about how to port to K&R.
4501         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
4502         the obsolescent AC_HEADER_STDC.
4503         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
4504         can't rely on it.
4506 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4508         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4509         Remove stdin redirection from /dev/null to allow pipe to work.
4511 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
4513         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4514         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
4515         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
4516         Ralf Wildenhues.
4518 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4520         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
4521         HP-UX sed is 99 commands, not 100.
4522         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
4523         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
4524         newline for portability.
4525         * tests/torture.at (Torturing config.status): Also test 100
4526         AC_SUBST_FILE invocations.  Fix test to actually verify the
4527         AC_CONFIG_FILES output.
4528         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
4529         command, label, and read-file `r' limits.  Unify HP-UX spelling.
4531         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
4532         non-suffix rule.
4533         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
4534         non-GNU make.
4535         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
4536         * tests/mktests.sh: Small shell portability fixes.
4538 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4540         * doc/autoconf.texi (Caching Results): Fix the examples to use a
4541         recommended quoting style and discard unwanted output.
4543 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
4545         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
4546         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
4547         cases, and to work around Tru64 expr bug.
4549 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4551         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
4552         expr bug that turns the result of a regex match into a number if
4553         possible.
4555 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4557         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
4558         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
4559         in section `Specific Compiler Characteristics'.
4561 2006-03-04  Eric Blake  <ebb9@byu.net>
4563         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
4564         variable warning.
4566 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4568         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
4569         order of variable initialization, so even the Solaris 2.6 shell
4570         can create a config header correctly.  Fixes lots of test suite
4571         failures.
4573 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4575         * doc/autoconf.texi (Text processing Macros): New node to
4576         document the m4sugar macros m4_re_escape, m4_tolower,
4577         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
4579 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
4581         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
4582         XrmInitialize (0) -> XrmInitialize ().
4583         Reported by Toshio Kuratomi.
4585 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4587         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
4588         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
4589         * doc/autoconf.texi (Programming in M4sh): Adjusted.
4590         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
4591         both macros are defun'ed so that required macros are evaluated
4592         outside.
4594         * doc/autoconf.texi (Prerequisite Macros): State more precisely
4595         where a required macro will be expanded.
4596         (Coding Style): Another reason not to use `m4_define'.
4598 2006-02-21  Eric Blake  <ebb9@byu.net>
4600         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
4602 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4604         * doc/autoconf.texi (Looping constructs): New node, to
4605         document m4_for, m4_foreach, m4_foreach_w, and mention
4606         obsolete AC_FOREACH.
4607         (Obsolete Macros): Document AC_FOREACH.
4608         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
4609         (m4_for): Fix to never loop (almost) endlessly, work correctly
4610         with arithmetic expressions in arguments, a step of zero or
4611         non-integer multiple of the interval, and avoid integer
4612         overflow.
4613         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
4614         m4_foreach_w.
4616 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
4618         Add basic support for Erlang, both for configuring Erlang/OTP
4619         tools, and Erlang as a conf test language.
4620         * lib/autoconf/erlang.m4: New file.
4621         * lib/autoconf/autoconf.m4: Add erlang.m4.
4622         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
4623         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
4624         * NEWS: Add short description of new macros.
4625         * THANKS: Add Romain Lenglet.
4627 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4629         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
4630         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
4632 2006-02-15  Eric Blake  <ebb9@byu.net>
4634         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
4635         warning.
4637 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4639         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
4640         (_AS_CASE): Private helper macro.
4641         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
4642         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
4643         Fix syntax of AS_IF description
4644         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
4645         for the AC_REQUIRE mess.
4646         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
4647         AS_SHELL_SANITIZE.
4649 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
4651         * doc/autoconf.texi: Minor style cleanup.
4652         Be consistent about spaces after commas.
4653         Insert [] where empty args look a bit funny.
4654         Fix some "i.e." and "e.g." usages.
4655         Try to avoid "X/Y" usages.
4656         Don't be pedantic about "ISO C99"; just say C99.
4657         Prefer GNU style for spaces in front of parens.
4658         (Function Portability): Comment about C89 versus C99
4659         signed integer division.
4660         (Particular Headers): Use current gnulib style for dirent
4661         includes.
4663 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
4664         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4666         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
4667         macros without parameters.
4668         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
4669         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
4670         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
4671         `$#' bug.
4672         (autoupdate): Updated to match AU_ALIAS fix.
4674 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4675         and Paul Eggert  <eggert@cs.ucla.edu>
4677         * doc/autoconf.texi (Programming in M4sh): Document
4678         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
4680 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4682         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
4683         (AS_BOURNE_COMPATIBLE): ..this.
4684         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
4686 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
4688         * doc/install.texi (Defining Variables): Tighten up the
4689         CONFIG_SHELL wording.
4691 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
4692         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4694         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
4695         of (set -o) rather than testing whether (set -o posix) succeeds,
4696         to work around a bug in the AIX 5.3 shell.  Problem originally
4697         reportd by Howard Chu for libtool.
4699 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
4701         * doc/autoconf.texi (Running the Compiler, Running the Linker):
4702         Changes the macro arguments in summaries to match the
4703         descriptions.
4705 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
4707         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
4708         hint as ``a workaround for a bug.''
4710 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4712         * bin/autoreconf.in: New option `--no-recursive'.
4713         Improve wording for subpackages a bit.
4714         * doc/autoconf.texi (autoreconf Invocation): Updated.
4715         * NEWS: Updated.
4717         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
4718         in environment of `configure', not the command line.
4719         Reported by Howard Chu <hyc@highlandsun.com>.
4721 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
4723         * doc/autoconf.texi (Limitations of Builtins): Document the
4724         problem with "trap -".
4726 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
4728         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
4729         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
4730         messages to differentiate Fortran and Fortran 77 tests.
4731         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
4732         AC_LANG_ASSERT, to allow use in mixed-language projects.
4734 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
4736         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
4737         FOO" to "defined (FOO)".
4738         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
4739         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
4740         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
4741         * tests/tools.at (ifnames): Likewise.
4743 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4745         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
4746         * lib/Autom4te/General.pm (mktmpdir): Likewise.
4747         (END): Improve error message a bit.
4748         Reported by Bruce Korb <bkorb@gnu.org>.
4750 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4752         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4753         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
4755 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
4757         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
4758         requires sys/stream.h.  Reported by Oliver Kiddle.
4760 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4761             Stepan Kasal  <kasal@ucw.cz>
4763         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
4764         before the removals of test dirs, use `find' to avoid modification
4765         of symlinked directories.
4767 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
4769         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
4770         Don't ignore the macro arguments.
4772 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
4774         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
4775         declaration that works for MSVC.
4777 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4779         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
4780         Add `*.map' and `.inf' for Green Hills compiler.
4781         Reported by Stefan Seefeld <stefan@codesourcery.com>.
4783         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
4784         correctly: pad with spaces after FIRST_PREFIX if necessary,
4785         and compute string lenghts with `m4_qlen' instead of `m4_len'.
4786         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
4787         * tests/m4sh.at (AS_HELP_STRING): Test extended.
4788         * NEWS: Updated.
4789         Reported by numerous people, numerous times.
4791 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
4793         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
4794         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
4795         * lib/autoconf/general.m4, lib/autoconf/status.m4:
4796         * lib/autotest/general.m4, tests/local.at:
4797         Update copyright year to 2006.
4799         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
4800         sed substitutions.
4801         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
4802         for file names, again.  Reported by Noah Misch.
4803         (Coding Style): Explain that s|a|b| is preferred for file names.
4804         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
4805         (AC_OUTPUT_MAKE_DEFS): Likewise.
4806         * lib/autotest/general.m4 (AT_INIT): Likewise.
4807         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
4808         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
4810         Fix Posix-conformance bugs re use of { command in sed scripts,
4811         and improve the sed-related documentation a bit.
4812         * doc/autoconf.texi (Installation Directory Variables): Use
4813         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
4814         rather than "sed" when talking about Sed in general.
4815         (Particular Programs): Likewise.
4816         (Coding Style): y is like s with respect to / and ,.
4817         (Limitations of Usual Tools): Document the weird restrictions
4818         that Posix has about { }.  Use better quoting.
4819         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
4820         Rewrite to conform to Posix rules about { } in sed scripts.
4821         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
4822         * tests/foreign.at (Libtool): Likewise.
4823         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
4824         Use our own style advice re 's,a,b,' versus 's|a|b|'.
4826 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4828         * lib/autoconf/status.m4: Fix typo.
4830         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4831         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
4832         `-def', for the benefit of Portland `pgf90 -Mipa'.
4833         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
4835 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
4837         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
4838         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
4839         shell from zsh to bash.
4841 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
4843         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
4844           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
4846 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
4848         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
4849         parentheses in $(...).  Problem reported by Eric Blake.
4851 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
4853         * doc/autoconf.texi (Limitations of Usual Tools):
4854         Mention which characters can be escaped with \ in portable regular
4855         expressions used in grep, sed, expr.  Mention the leading ^ problem
4856         with expr.  Clean up some confusing wording.  Mention which
4857         grep options are portable.
4859 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
4861         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
4863 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
4865         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
4866         patch, noted by Ralf Wildenhues.
4868 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4870         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
4871         posix' unconditionally, for pdksh in `native sh' emulation.
4873 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
4875         * doc/autoconf.texi (Shellology): Document eval $? problem
4876         with ash.
4877         (Limitations of Builtins): Likewise.
4879 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4881         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
4882         CONFIG_SHELL in the environment of the configure rerun.
4883         * doc/autoconf.texi (Here-Documents, config.status Invocation):
4884         Suggest passing CONFIG_SHELL absolute, and in the environment
4885         rather than as option.
4887 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4889         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
4890         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
4891         Fix macro quoting.  Fix output for n * 98 substituted variables.
4893 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4895         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
4896         `tmp' to avoid file removal race.
4898 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4900         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4901         ac_clean_files and LIBOBJS.
4903 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4905         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
4906         Factor functionality to..
4907         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
4908         `AC_SUBST($1)' in the public version.
4909         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
4910         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
4911         ac_pt_* variables.
4913 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
4915         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
4916         filesystems.
4918 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4920         * NEWS: Move AH_HEADER mention to right place.
4922 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
4924         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
4925         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4927 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
4929         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
4930         conftst2.$ac_objext.
4931         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4933 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
4935         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
4936         conftest.o, to see whether the compiler really obeys; rm the object
4937         file before and after the test and register it with ac_clean_files.
4938         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4940 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
4942         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
4943         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
4944         code so that the most common case requires less forks.
4946 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
4948         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
4949         not portable; thanks to Paul Eggert and Alexandre.
4951         * NEWS: Fix an old typo.
4953 2005-10-20  Jim Meyering  <jim@meyering.net>
4955         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
4956         the latter'', in two places.
4958 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
4960         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
4961         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
4962         the inner workings of AC_LANG_FUNC_LINK_TRY.
4963         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
4964         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
4965         by the function rather than ignoring it.
4966         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
4967         comparing its address.  Intel's interprocedural optimization was
4968         outsmarting the old heuristic.  Problem reported by
4969         Mikulas Patocka.
4971 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
4973         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
4975 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
4977         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
4978         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
4980 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
4982         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
4983         before removing it (chmod -R u+rwx); there are three instances of this.
4985 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4986             Stepan Kasal  <kasal@ucw.cz>
4988         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
4989         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
4990         make its content writable before removing it.  Remove an errorneous
4991         comment from the end, where the logs of the failed tests are copied
4992         to the main log file.
4994 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
4996         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
4997           in case the computer is too quick.  Double quote the configure.ac
4998           snippets.
5000         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
5001           problems if the testsuite were running too fast.
5003 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
5005         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
5006         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
5007         (which belong to Xt, not X itself).  See Debian bug 327655.
5008         * NEWS: Mention this.
5010 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
5012         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
5014 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
5016         * config/move-if-change: Don't output "$2 is unchanged";
5017         suggested by Ben Elliston.  Handle weird characters correctly.
5019 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
5021         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
5022           calls, so that the final expansion of this macro is shorter.
5023           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
5024           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
5025           the cleanup there.  Use AS_VAR_* macros, to be more general.
5026         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
5028         * lib/autoconf/general.m4: Use AS_IF where appropriate.
5030         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
5032 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
5034         * doc/autoconf.texi (Configuration Headers): Add an index entry
5035           for AH_HEADER.
5037 2005-08-26  Pavel Roskin  <proski@gnu.org>
5039         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
5040         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
5041         running xmkmf.
5043 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
5045         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5046         The previous patch didn't work, so try a better one.
5048 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
5050         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
5051         in the example.  Reported by Bruno Haible.
5052         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
5053         "if $undefined_var;" succeeds with my shell.
5055         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
5056         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
5057         but change the m4_divert_text to m4_divert_once.
5059 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
5061         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5062         Work around bug in Solaris /usr/xpg4/bin/awk.
5063         The bug is present in at least Solaris 8 through 10.
5065 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
5067         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
5068         some evil values and relying on the fact that $* concatenates the
5069         parameters by the first character from IFS.
5071 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
5072             Stepan Kasal  <kasal@ucw.cz>
5074         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
5075         first header appears, define AH_HEADER.
5076         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
5077         Update limitations about when to call AC_CONFIG_HEADERS.
5078         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
5079         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
5080         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
5081         ``Configuration Actions''; fix their index entries.
5083         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
5084         options correctly.  Process N-M as M-N if M is smaller than N.
5085         Process ranges correctly so that N-N will run only N.
5086         Sort and uniquify the tests that will be run.  If there is more
5087         than one test, reinsert the banners for the tests.
5088         * tests/autotest.at (Keywords): Unmark XFAIL.
5090 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
5092         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
5093           before passing the macro name to AH_TEMPLATE.
5095         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
5096           now opens log after option processing; in particular, --version
5097           and --help do not touch config.log.
5099         * Makefile.maint: Revert the change from 2005-08-12.
5101 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
5103         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
5104           common code to...
5105         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
5107 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5109         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
5110         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
5111         Language cleanup.
5113         * doc/autoconf.texi (Defining Symbols, Changed Results):
5114         Prepend to LIBS, not append, in examples.
5116 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
5118         When building in place, set srcdir="."; suggested by Tim Van Holder.
5120         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
5121           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
5122         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
5123         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
5124           does not mean "no --srcdir option".
5126 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5128         * tests/autoscan.at (autoscan): New file.
5129         * tests/suite.at: Use it.
5130         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
5131         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
5133         * tests/autotest.at (Keywords): Test keywords combinations.
5135 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
5137         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
5138           add "2>&1"; gzip 1.2.4 prints help on stderr.
5140 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
5142         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
5143         was pushdef'ed twice while popped only once.  Push it only once.
5144         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
5146 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
5148         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
5149         prefixed by mere "===", not "configure: === ".
5151 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
5153         * Makefile.maint: Update from Bison.
5155         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
5156         "<tab>" in comment, so that the point is understandable.
5158 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
5160         Rewrite substantial part of lib/autoconf/status.m4.
5161         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
5162         and CONFIG_COMMANDS are not processed in four separate loops.
5163         Instead, there is one main loop.  This alows that the common code
5164         is expanded only once, thus config.status (and configure) is smaller.
5166         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
5167         the AC_LIST_FILES and cousins macros are no longer used.
5169         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
5170         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
5171         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
5172         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
5173         contain the initialization, nor the for loop, nor the associated
5174         commands; all these go to ...
5175         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
5176         _AC_OUTPUT_CONFIG_STATUS.
5177         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
5178         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
5179         (_AC_OUTPUT_FILE): The creation of the sed script ...
5180         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
5181         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
5182         _AC_OUTPUT_MAIN_LOOP.
5183         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
5184         _AC_CONFIG_COMMANDS): Use ...
5185         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
5186         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
5187         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
5188         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
5189         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
5190         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
5191         ... new macros.
5192         (_AC_CONFIG_UNIQUE): Update.
5193         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
5194         Replaced by this ...
5195         (_AC_LIST_TAGS): ... new common macro.
5196         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
5197         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
5198         (_AC_LIST_TAG_COMMANDS): ... new common macro.
5199         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
5200         this didn't belong to the `config commands' section.
5201         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
5202         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
5203         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
5204         to the `config commands' section either.
5205         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
5206         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
5208         ... and many changes to the comments nearby.
5210         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
5211         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
5212         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
5213         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
5214         (#define header templates): The comment at the top of the generated
5215         header now includes the name(s) of the source file(s).
5217         Several unrelated small changes:
5219         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
5220         parameter to AC_DIAGNOSE.
5221         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
5222         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
5223         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
5224         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
5225         with AU::AC_OUTPUT.
5226         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
5227         in AC_OUTPUT doesn't double-quote it either.
5228         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
5229         parameters.
5231 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
5233         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
5234         versions of Portland Group compiler produce single- and double-quoted
5235         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
5236         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5238 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
5240         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5241         This is a corrected version of yesterday's patch.
5243 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
5245         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
5246         path, too; insert a "===" to emphasize the line.
5248         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
5249           ac_cv_build_alias to ac_build_alias.
5250         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
5252         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
5253         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
5254         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
5255         (AC_ARG_VAR): ... here.
5256         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
5257           target_alias.
5259         Keep a list of all precious variables and process them with one simple
5260         for loop, instead of expanding all commands, or, OTOH, complicated
5261         processing of output of "set".
5262         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
5263         variable names in new macro...
5264         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
5265         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
5266           a loop to assign all ac_env_* and ac_cv_env_* variables.
5267         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
5268           to INIT_PREPARE.
5269         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
5270           its value to shell variable ac_precious_vars and call
5271           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
5272         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
5273           _AC_ARG_VAR_VALIDATE.
5275         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
5276           and the AC_SUBSTs ...
5277         (AC_INIT): ... here.
5279         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
5280           the ac_subst_files section in config.log.
5282         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
5284 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
5286         * NEWS: New macro AC_C_TYPEOF.
5287         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
5288         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
5289         * tests/c.at (C keywords): Test AC_C_TYPEOF.
5291         Fix problems reported by Nicolas Joly.
5292         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
5293         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5294         They are generated by the Tru64 v5.1B shell.
5296 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
5298         Fix my changes from 2005-07-01; reported by Noah Misch.
5299         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
5300         description, the macro now accepts only a single tag.
5301         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
5303         Fix cases when the varsions of Autoconf and Autotest don't match.
5304         Reported by Noah Misch.
5305         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
5306         at_top_builddir, for compatibility with older autotest.
5307         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
5308         is not set, use at_top_builddir, for compatibility with older
5309         versions of autoconf.
5311 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
5313         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
5314         Problem reported by Patrick Welche.
5316 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
5318         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
5319         sed substitution command, so that we allow | in program prefixes
5320         and program suffixes.  (& is a problem anyway; we're not fixing
5321         that here.)
5322         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
5323         configure_input, top_builddir, srcdir, etc.
5324         * lib/autotest/general.m4 (AT_INIT): Likewise, for
5325         PATH_SEPARATOR in AUTOTEST_PATH.
5327 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
5329         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
5330         for loop over config.site files using `set', to allow
5331         directory names containing IFS characters.
5333 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
5335         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
5336         directories with weird names.  Apparently some people like living
5337         on the edge.  However, improve the test that "pwd" actually does
5338         report a name for the working directory.
5339         * NEWS: Remove the claim that we test for funny chars in dir names.
5341 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
5343         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
5344         replaced ...
5345         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
5346         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
5347         Now accept a single tag, not whitespace separated list.
5348         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
5350 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
5352         * doc/autoconf.texi (Configuration Headers): Change the explanation
5353         about #include <config.h>.
5354         (Generic Functions): Mention the Gnulib project.
5355         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
5357         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
5358         document to output the default config_* lists to config.status.
5359         Don't recognize option --file, if the functionality is not there.
5360         Likewise for --header; moreover, recognize --he and --h as shortcuts
5361         for --help in that case.
5363         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
5364         matches the order of execution.  No code changed.
5366 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5368         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
5369         single-quoted -cmdline argument in Portland Group compiler.
5370         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5372 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
5374         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
5376 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
5378         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
5379         descriptors to child processes; reported by Norman Gray.
5381 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
5383         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
5385         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
5386         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
5387         (AC_SUBST): Call it.
5388         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
5389         the directory specific variables; but don't call it for configure_input.
5391 2005-06-28  Derek Price  <derek@ximbiot.com>
5393         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
5394         addition.
5396 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
5398         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
5399         directory have inherent problems with special characters like spaces,
5400         due to limitations in Make syntax.  Problem reported by Alexandre
5401         Duret-Lutz.
5402         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
5403         Also, fix Tru64 porting problem with shell patterns,
5404         reported by Ralf Wildenhues.
5406 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5408         * doc/autoconf.texi (Subdirectories): Fix markup typos.
5410 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
5412         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
5414         Fix some more shell quoting problems.  Prompted by a bug report
5415         from Justace Clutter.
5416         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
5417         variable into diagnostic.  Make the diagnostic an error, not a warning,
5418         because we really don't support spaces and suchlike in dir names.
5419         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
5420         Don't worry about backslashes in srcdir; it can't happen now.
5421         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
5422         Simplify ac_optarg handling.
5423         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
5425 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
5427         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
5428         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
5429         * tests/atlocal.in: Propagate $EGREP and $SED.
5430         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
5431         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
5433         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
5434         that '\|' is not allowed in BREs; recommend using newline separated
5435         list of patterns instead of multiple -e options.
5437         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
5439         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
5441 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5443         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
5445 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
5447         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
5448         b, t, r, w commands require single space, while : cannot have any.
5449         (Special Shell Variables): Fix sed code this in the example.
5450         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
5451         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
5453         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
5454         expand to the empty list.  Don't use two pairs of m4_changequote,
5455         it's not necessary.
5457 2005-06-20  Derek Price  <derek@ximbiot.com>
5459         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
5461 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
5463         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
5464         * doc/autoconf.texi:
5465         Don't mention Solaris versions so much, if a
5466         problem is common to all extant versions of Solaris.  Say "SunOS
5467         4" instead of "SunOS" for SunOS 4.
5468         (awk): Mention more of the limitations of traditional Awk.
5469         (cat): Don't talk about cat -v.
5471 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
5473         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
5474         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
5475         but the implementation is entirely different and is designed
5476         to be compatible with glibc strverscmp.
5477         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
5479         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
5480         on Mac OS X 10.4 reported by Peter O'Gorman in:
5481         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
5482         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
5483         Use shell builtins rather than 'expr', to work around expr bug.
5485 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
5487         * doc/autoconf.texi: "filesystem" -> "file system".
5488         "behaviour" -> "behavior".
5489         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
5490         * lib/autoconf/general.m4: Omit blank after ":" sed command,
5491         as per POSIX.
5492         * lib/m4sugar/m4sh.m4: Likewise.
5493         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
5494         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
5496         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
5497         (.x.1): Ignore the time stamp in the .TH line when deciding whether
5498         to update the man page.  That way, we don't have to check in new
5499         man pages every month.
5501         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
5502         quotes and backslashes.  Patch from Derek Price.
5504 2005-06-10  Derek Price  <derek@ximbiot.com>
5506         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
5507         AS_TR_SH.
5509 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
5511         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
5512         -u, since it outputs chatter if the input files are the same.
5513         Problem reported by Ralf Menzel.
5515 2005-06-08  Derek Price  <derek@ximbiot.com>
5517         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
5518         renaming them since they are about to be redefined anyhow.
5520 2005-06-08  Derek Price  <derek@ximbiot.com>
5522         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
5523         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
5524         Move m4_undefine to alphabetical order.
5526 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
5528         * README: Recommend GNU M4 1.4.3 or later.
5529         * doc/autoconf.texi (Introduction): Likewise.
5530         Reword to avoid some formatting glitches.
5531         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
5532         Clarify explanation of HP compiler bug.
5533         Redo example output tp match current CVS snapshot.
5534         Use @example.org in email addresses when the examples
5535         might get inadvertently cut-and-pasted into user code.
5536         Remove example of autom4te usage that doesn't seem to work now.
5537         Use modern AC_INIT (except when the example is meant to be
5538         shown with Autoconf 2.13).
5539         Update ksh info for Solaris 9 and later.
5540         KB -> kB.
5541         Modernize description of Automake versions a bit.
5542         Don't claim a future version of Autoconf is near.
5543         * doc/install.texi: Reword to avoid some formatting glitches.
5545 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5547         * doc/autoconf.texi: Add [] to examples, so that the manual
5548         follows its own advice about quoting better.
5549         Reword to avoid some formatting glitches.
5550         * doc/installt.exi: Reword to avoid some formatting glitches.
5552         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5553         Tru64 ksh pattern matching bug.  Reported against Libtool by
5554         Albert Chin <libtool@mlists.thewrittenword.com> and
5555         Nicolas Joly <njoly@pasteur.fr>.
5557 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
5559         m4_cdr of one-member list was [[]] (one-member list containing an
5560         empty string) instead of [] (an empty list.  Callers were skewed to
5561         match this misbehaviour.  As a consequence of this:
5562          - m4_foreach([x], [], [foo]) expanded to `foo', while
5563          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
5564         This bug has been fixed:
5566         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
5567           expand to an empty string; print error msg if called without
5568           an argument list.
5569         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
5570           misbehaviour; handle [] and [[]] correctly.
5572 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
5574         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
5575         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
5576           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
5578 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
5580         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
5581           swallow records with more than 99 fields.
5582         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
5583           parse the long line.
5585 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
5587         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
5588           swallow literals longer than 399.  Reported by Ralf Wildenhues.
5589         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
5590           to workaround this limitation.
5592 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
5594         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
5595         to gfortran, and make these the first two compiler names
5596         checked (following the general autoconf preference for gcc).
5598 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
5600         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
5601         (DISTCLEANFILES): Remove $(check_SCRIPTS).
5602         (testsuite): Make sure autotest.m4f is up-to-date before using it.
5604 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
5606         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
5607         expression of unbounded size when processing the --list
5608         option.  This runs afoul of a limit of 399 bytes per regular
5609         expression on AIX.  Problem reported by Ralf Wildenhues.
5611 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
5613         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
5614         * doc/autoconf.texi (Particular Headers): Reword example
5615         for multiline stdbool replacement.
5616         (Setting Output Variables): Reword text a bit.  Don't
5617         give all the details about |#_!!_#|.
5618         Reword description of line replacement.
5620 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
5622         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
5623         now contain newlines, and substituted files must be referenced on
5624         a line alone; the sed scripts to substitute them are now very
5625         different.
5626         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
5627         commands can be put in a sed script portably.
5628         * doc/autoconf.texi (Setting Output Variables): Document above
5629         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
5630         use of multiline substitution.
5631         * tests/torture.at: No longer expect substitution of newline to fail.
5633 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
5635         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
5636         From Ralf Menzel (trivial change).
5638 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
5640         * tests/local.at: Don't attempt to check for negated character
5641         classes in shell scripts.  The test was too brittle.
5643 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
5645         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
5646         * doc/autoconf.texi (Limitations of Builtins): Document this
5647           limitation.
5649 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
5651         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
5652           common code; used in many places in the tree.
5653         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
5654         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
5656         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
5658         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
5659           messages when ac_unique_file is not found.
5660         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
5661         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
5662           commands, for consistency with AC_MSG_ERROR and such.
5664         * bin/autoconf.as: Make more use of "shift 2" in option processing.
5666         * bin/Makefile.am: Merge the two rules for creating scripts.
5668 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
5670         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
5671         obsolete; it was never documented.
5672         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
5674 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
5676         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
5677         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
5678         (ac_top_builddir): ... this ...
5679         (ac_top_build_prefix): ... to this; the old name is also kept, for
5680           backward compatibility.
5681         (ac_top_builddir_sub): New variable, without the trailing slash,
5682           always nonempty.
5683         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
5684         * doc/autoconf.texi (Configuration Actions): Rename
5685           ac_top_builddir to ac_top_build_prefix.
5686         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
5687           at_top_builddir to at_top_build_prefix.
5688         * lib/autotest/general.m4 (AT_INIT): Likewise.
5690 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
5692         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
5693           of confdefs.h .
5695 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
5697         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
5698           argument to m4_foreach.  I guess it was necessary in the past,
5699           but I think it's a no-op now.
5701 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
5703         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
5704           ``cat <<_ACEOF'' commands to one.
5705         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
5706         * lib/autoconf/status.m4: On various places, use expr instead of
5707           ``echo|sed.''
5708         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
5709         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
5710         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
5711           a range.
5712         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
5713           the wrong patterns between ``case'' and ``esac.''  The previous
5714           code had false positives.
5716 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
5718         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
5719         as on 2005-05-02.
5720         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
5721         Mention LIBOBJDIR.
5723 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
5725         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
5726         ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
5727         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
5728         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
5729         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
5730         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
5731         config/config.guess, config/config.sub, config/elisp-comp,
5732         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
5733         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
5734         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
5735         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
5736         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
5737         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
5738         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
5739         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
5740         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
5741         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
5742         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
5743         lib/autoconf/general.m4, lib/autoconf/headers.m4,
5744         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
5745         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
5746         lib/autoconf/specific.m4, lib/autoconf/status.m4,
5747         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
5748         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
5749         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
5750         lib/autotest/general.m4, lib/emacs/Makefile.am,
5751         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
5752         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
5753         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
5754         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
5755         tests/compile.at, tests/foreign.at, tests/fortran.at,
5756         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5757         tests/semantics.at, tests/suite.at, tests/tools.at,
5758         tests/torture.at, tests/wrapper.as:
5759         Update FSF postal mail address.
5761 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
5763         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
5764           check.
5765         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
5766           enough arguments, similarly as in m4_bpatsubsts.
5768 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
5770         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
5771           of absolute paths.
5773 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
5775         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
5776           for absolute directory names in one loop.
5777         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
5778           abbreviations of --version and --debug.
5780 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
5782         * doc/autoconf.texi (Autoconf Language): Be more precise about
5783         quoting rules.  Problems noted by Stepan Kasal.
5784         Also, throughout this document, be more careful about white space.
5785         "blank", "white space", and "space" all have different meanings
5786         and we should be careful to say what we mean.
5788 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
5790         Fix C++ related problems reported by Werner Lemberg.
5791         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
5792         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
5793         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
5794         avoid problems with C++ and throw.
5795         * tests/compile.at: .cpp, not .cc.
5797         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
5799 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5801         * doc/autoconf.texi (Generic Functions): Typos.
5803 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
5805         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
5806         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
5807         set by latest automake.
5809 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
5811         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
5812         outputs 0 on GNU/Linux these days.
5814 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
5816         * doc/autoconf.texi (Autoconf Language): Add more description
5817         about quoting heuristics.
5818         (Limitations of Builtins): Describe "set -" problems.
5820 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5822         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
5823         not newline.
5825         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
5826         by AC_DEFINE; it was a mistake.
5827         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
5829 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
5831         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
5833 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
5835         * doc/autoconf.texi (External Software): Quadrigraphs are not
5836           processed correctly in AS_HELP_STRING; avoid this in the examples.
5837         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
5838         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
5839           comment and reduce m4_default([foo], []) to [foo].
5840         (m4_strip): Update the explanation.
5842 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5844         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
5845         Remove core.conftest.* too; it's generated by Tru64 5.1.
5846         Problem reported by Jennis Pruett.
5847         * lib/autoconf/functions.m4
5848         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
5849         Don't bother to remove core files; AC_RUN_IFELSE should do that
5850         for you.
5852 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
5854         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
5856 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
5858         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
5859         Report from Horst Wente.
5861 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
5863         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
5864           the comment.
5866 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
5868         * doc/autoconf.texi (External Software, Package Options): Add
5869           examples showing how to implement --with-* and --enable-* options.
5871 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
5873         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
5874         as well as configure.in.  Problem reported by Gregorio Guidi.
5876 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
5878         * doc/autoconf.texi (Particular Functions): Use gnulib's current
5879         pattern for alloca snippet.
5881 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
5883         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
5885 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
5887         * doc/autoconf.texi (Generic Programs): Fix a typo.
5889 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
5891         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
5892         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
5894 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5896         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
5897         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
5898         whole-archive (-zallextract, -zdefaultextract) options in the hope of
5899         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
5900         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
5902 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
5904         * NEWS: The configure command now warns you if you attempt to use
5905         a directory whose name contains a special character like space,
5906         newline, or "\".
5907         * doc/autoconf.texi (Installation Directory Variables): Allow
5908         "," in file names.  Do not use \@; it's not a portable regexp.
5909         * bin/Makefile.am (edit): Likewise.
5910         * lib/Makefile.am (edit): Likewise.
5911         * tests/Makefile.am (edit): Likewise.
5912         * tests/semantics.at: Likewise.
5913         * tests/torture.at: Likewise.
5914         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
5915         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
5916         * doc/autoconf.texi (File System Conventions): Warn about
5917         unportable file names.
5918         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
5919         (AC_INIT): Use it.
5920         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
5921         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
5922         ac_pwd, and quote srcdir.
5923         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
5925         * doc/autoconf.texi: Fix some systematic formatting problems.
5926         ".)"  needs a following @: if not at the end of a sentence, and
5927         similarly for "!)".  "etc." should be preceded by a comma.
5928         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
5930 2005-03-22  Bruno Haible  <bruno@clisp.org>
5932         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
5933         argument is often called 'build-aux'.
5935 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
5937         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
5938           macro AC_TRY_LINK is obsolete.
5939         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
5940           `AC_CONFIG_FILES'.
5942 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
5944         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
5945           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
5946           from a Common Lisp's `cl'.
5947         (AC_PROG_CXX): Behave according to the documentation: don't
5948           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
5949           make the variable CCC precious; use `cl.exe', not `cl'.
5951 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
5952             Alexandre Duret-Lutz  <adl@gnu.org>
5954         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
5955         /dev/null, as "configure" shouldn't read stdin, and this insulates
5956         us from problems (e.g., when testing for "cl").  Also, do this
5957         redirection before invoking "hostname" or "uname", and keep the
5958         original input stream available via...
5959         (AS_ORIGINAL_STDIN_FD): ... this new macro.
5960         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
5961         bother with "</dev/null" since it's now done at the top of
5962         'configure'.
5963         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
5964         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5965         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5966         * doc/autoconf.texi (File Descriptor Macros): New section.
5967         (Printing Messages): Mention it.
5968         * tests/base.at (Input/Output): New test.
5970 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
5972         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
5973         newline if neither \c nor -n work, as that would output two
5974         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
5976 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
5978         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
5979         This causes that any required macros inside will get before the if.
5980         * doc/autoconf.texi (autom4te.cache): A typo.
5982 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
5984         Undo previous change, except keep the change to
5985         lib/autoconf/programs.m4 that replaced grep with shell
5986         pattern-matching.  This is because net-snmp configure reads stdin.
5987         Reported by Noah Misch.
5989 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
5991         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
5992         from /dev/null, as "configure" shouldn't read stdin, and this
5993         insulates us from problems (e.g., when testing for "cl").
5994         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
5995         before invoking "hostname" or "uname".
5996         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
5997         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
5998         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
5999         "</dev/null" since it's now done at the top of 'configure'.
6000         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6001         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6002         Also, replace grep with shell pattern-matching, to save a process.
6004 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
6006         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6007         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
6008         avoid thinking that Allegro Common Lisp's "cl" command is a C++
6009         compiler.
6011 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
6013         * doc/autoconf.texi (Limitations of Usual Tools): Document that
6014         grep -q isn't portable.  Improve grep -s explanation.
6015         Problem reported by Dan Manthey.
6017 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
6019         * doc/autoconf.texi (Special Shell Variables): Clarify
6020         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
6022 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6024         * doc/autoconf.texi: Use @acronym for DJGPP.
6025         Fix some @code's that should have been @env's, and vice versa.
6026         Sort environment variable names.
6027         Mention that shells no longer inherit IFS.
6028         Don't recommend PATH_SEPARATOR=';' so strongly.
6029         Mention that $RANDOM might expand to the empty string.
6030         "symlink" and "soft link" -> "symbolic link".
6031         Improve mktemp description (reported by Bruno Haible).
6033 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
6035         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
6036         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
6037         Likewise.
6038         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
6039         Likewise.
6041 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
6043         * NEWS: Mention AT_COPYRIGHT.
6045         * tests/local.at (AT_CMP): Use diff directly on input files rather
6046         than copying them.
6048         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
6049         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
6051 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
6052         and Paul Eggert  <eggert@cs.ucla.edu>
6054         * tests/autotest.at (Empty test suite): New test.
6055         * tests/torture.at (Substitute and define special characters)
6056         (Substitute a 2000-byte string, Define to a 2000-byte string)
6057         (Substitute a newline, Define a newline): New tests.
6059 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
6061         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
6062         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
6063         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
6064         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
6065         (Standard regular expressions): New test.
6066         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
6067         excess test name quoting.
6068         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
6069         CPPFLAGS to `configure' instead of setting it in `configure'.
6071         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
6072         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
6073         on some platforms.
6075         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
6076         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
6078         * tests/local.at (AT_CMP): New macro.
6079         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
6080         (AC_SAVE_STATE): Move environment grep...
6081         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
6082         (AT_CONFIG_CMP): New macro.
6083         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
6084         * tests/c.at (Extensions): Do not exit early.
6085         * tests/atlocal.in: Inherit $GREP.
6087         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
6088         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
6090         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
6091         (AC_COPYRIGHT): Factor header comment portion out and move into...
6092         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
6093         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
6094         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
6095         --version output.
6096         * tests/local.at: Add Autoconf test suite copyright notice.
6097         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
6099 2005-02-04  Bruno Haible  <bruno@clisp.org>
6100         and Paul Eggert  <eggert@cs.ucla.edu>
6102         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
6104 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
6106         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
6107         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
6109         Try not to generated lines of unlimited length, as POSIX places a
6110         2047-byte limit on line length of portable text files.
6111         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
6112         Use newline as a separator, not space.
6113         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
6114         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
6115         space.
6117 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6119         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
6120         as_func_*.  Add test to check whether positional parameters
6121         are restored after function return.
6123 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
6125         * doc/autoconf.texi (Special Shell Variables): Mention _,
6126         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
6127         if they contain a lower-case letter.  The DUALCASE problem was
6128         reported by Ralf Wildenhues.
6130         * bin/autoconf.as: Don't exit with status 0 after write failure
6131         with --help or --version.
6132         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
6133         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
6135 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6137         * doc/autoconf.texi (Limitations of Usual Tools):
6138         Unicos 9 sed limitations.
6139         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
6140         to get the option-enhanced interface on older Crays.  Try ftn for
6141         Fortran 95 (newer Crays).
6143 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
6145         * man/Makefile.am (.x.1): Go back to the simple solution, but take
6146         care to echo the commands, so the user knows what's going on.
6147         Modified from a suggestion by Stepan Kasal.
6149         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
6150         with a cross reference.  Derived from a suggestion by Bruce Korb.
6152 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
6154         * doc/autoconf.texi (config.status Invocation): Warn about
6155         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
6156         * doc/install.texi (Defining Variables): Likewise.
6157         Based on a proposed patch by Ralf Wildenhues.
6159         * man/Makefile.am (.x.1): Make sure the required generated files
6160         are up to date.  Problem and original solution proposed by Stepan Kasal.
6161         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
6162         implicit-man-prerequisites): New rules, used by the above.
6164         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
6165         * config/config.guess, config/config.sub, config/install-sh: Likewise.
6166         * config/missing, config/texinfo.tex: Likewise.
6168 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
6170         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
6171         Update the long comment explaining it.
6173         m4_require no longer writes an ``is required by'' line to the
6174         execution stack.  It contains only one bit of non-redundant
6175         information: that the macro was required, not called.  And even
6176         this bit is useless in most situations: have you ever met a macro
6177         which both calls and requires the same macro?
6179         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
6180         (_m4_defun_pro_outer): ... only via this macro, for the outermost
6181           macro.
6182         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
6183         (m4_expansion_stack_pop): Remove the misplaced comment.
6184         (m4_require): Don't put the ``is required by'' line to the
6185           execution stack; slightly improve the out-of-a-defun error message.
6186         (_m4_divert_grow): New macro, counter for the temporary diversions.
6187         (_m4_require_call): Use it.
6188         * tests/m4sugar.at (m4_require): Expect output without the
6189           ``is required by'' messages.
6191 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
6193         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
6194         rather than x for expr.
6196         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
6197         this is safe.
6198         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
6199         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6200         * lib/autotest/general.m4 (AT_INIT): Likewise.
6201         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
6202         * tests/mktests.sh: Likewise.
6204 2005-01-27  Akim Demaille  <akim@epita.fr>
6206         Have autoheader honor --force.
6208         * doc/make-stds.texi, doc/standards.texi: Update from masters.
6209         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
6210         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
6211         from masters, so that FileUtils.pm's update_file provide --force
6212         support.
6213         * bin/autoheader.in: Pass $force to update_file so that
6214         config.h.in is always recreated when --force.
6216 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
6218         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
6220 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
6222         * doc/autoconf.texi (Limitations of Builtins): Clarify that
6223         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
6225 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
6227         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
6228         Warn about newline stripping in `` and $().  Update Solaris
6229         version to 9.
6230         (Limitations of Builtins): Use expr "X...", not expr "x...", as
6231         X insulates us from future changes to Posix.
6232         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
6233         stripping.
6235 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
6237         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
6238           you cannot use AC_DEFINE to define macros containing `[' or `]'.
6240 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
6242         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
6243         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
6244         bug-tar mailing list.
6246 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
6248         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
6250 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6252         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
6253         ulongval to be static, to avoid unwanted GCC warning.  Problem
6254         reported by Michael Jennings via Daniel Reed; see
6255         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
6257 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
6259         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
6260         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
6261         datadir, infodir, and mandir.  Adjust argument parsing code.
6262         (_AC_INIT_HELP): Update help text.
6263         * doc/autoconf.texi (Installation Directory Variables): Document
6264         new variables.
6266 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
6268         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
6269         not seem to work, assume it does set $(MAKE).
6270         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
6272 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
6274         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
6276 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
6278         A cleanup of the diversion support in m4sugar.
6280         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
6281         (_m4_divert_n_stack): New macro; the expansion is
6282           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
6283           otherwise.
6284         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
6285         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
6286           stored in _m4_divert_diversion or _m4_divert_dump.
6287         (m4_divert_pop): When the parameter is given, compare the symbolic
6288           name with the last diversion pushed on the stack.  Previously, the
6289           current diversion was compared with the numeric value of the
6290           diversion given as the parameter.
6291         (m4_require): If the macro hasn't been expanded yet, call ...
6292         (_m4_require_call): this new macro.
6294 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6296         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
6297         Workarounds for documented `case' limitations.
6299 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
6301         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
6302         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
6304 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
6306         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
6307         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6308         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
6310         Patch from Roger Leigh (with some minor changes) as follows:
6311         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
6312         Resurrect AC_PROG_CC_STDC.
6313         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
6314         AC_PROG_CC_C89, AC_PROG_CC_C99.
6315         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
6316         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
6317         AC_PROG_CC_C99): New macros.
6318         (AC_PROG_CC_STDC): Use them.
6319         (_AC_PROG_CC_STDC): Remove.
6320         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
6321         * THANKS: Add Roger Leigh.
6323 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
6325         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
6326         signals that the package uses Automake; a `Makefile.am' is typical but
6327         not essential.  Reported by Magnus Therning.
6328         * tests/torture.at (autoreconf.): New banner.
6329         (autoreconf and non-AC configure): Rename to `Non-Autoconf
6330         AC_CONFIG_SUBDIRS'.
6331         (autoreconf an empty directory): Rename to `Empty directory'.
6332         (Unusual Automake input files): New test.
6334 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
6336         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
6337         (AT_SETUP): Clear AT_capture_files.
6338         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
6339         (AT_KEYWORDS): Fix comment typo.
6340         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
6341         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
6342         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
6344 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
6346         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
6347         If the variable to set is already set, set ac_cv_path_$1
6348         to the preset value so caller can assume ac_cv_path_$1
6349         is available.  (trivial change)
6351 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
6353         * BUGS (Minor Problems): Warn about makefile limitations.
6354         * Makefile.am: Find and update `INSTALL' in $(srcdir).
6355         * man/Makefile.am: Find and update manual pages in $(srcdir).
6357 2004-12-24  Eric Blake  <ebb9@byu.net>
6359         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
6360         shells in subshell, to avoid noise from ash.  (trivial change)
6362 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6364         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
6365         problems with SunOS ksh and backslash escaping, Bourne shells and
6366         closing brackets (both within character classes).  Bug reported
6367         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
6368         <read>: New entry.  Mention non-availability of -r.
6370 2004-12-21  Akim Demaille  <akim@epita.fr>
6372         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
6373         avoid cluttering displayed messages.  Rather, prepend srcdir where
6374         AT_LINE is used for log files.
6376 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
6378         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
6379         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
6380           no longer part of the macro, quote the occurrence of ``$tmp''.
6381         * doc/autoconf.texi (Forbidden Patterns): Typo.
6383 2004-12-21  Akim Demaille  <akim@epita.fr>
6385         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
6386         separated from the test title by forcing a white space.
6388 2004-12-21  Akim Demaille  <akim@epita.fr>
6390         Enable Emacs navigation within testsuite.log files.
6392         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
6393         use the compilation mode.
6394         (AT_LINE): Point to the srcdir.
6396 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
6398         * tests/Makefile.am (installcheck-local): Use $(bindir).
6399         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
6400         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
6401         Makefile.am scheme Autoconf now uses.
6403 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
6405         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
6406         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
6408 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
6410         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
6411         (_AT_CHECK): Use it.
6412         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
6413         (AS_ESCAPE): Fix comment.
6414         * tests/autotest.at: Adjust section banner comments.
6415         (AT_CHECK_AT): Accept STATUS and STDERR.
6416         (AT_CHECK_AT_TEST): Likewise.
6417         (Invalid brace-enclosed parameter expansion)
6418         (Multiline command from M4 expansion)
6419         (Double-M4-quoted command): New tests.
6421 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
6423         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
6425 2004-12-17  Akim Demaille  <akim@epita.fr>
6427         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
6428         m4_pattern_allow.
6429         Suggested by Alexandre Duret-Lutz.
6430         * doc/autoconf.texi (Setting Output Variables): Catch up.
6432 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6434         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
6436 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6438         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
6439           remove the comment which said we cannot.
6441 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6443         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
6444         Reini Urban and Paul Eggert for reporting the dependencies.
6446         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
6447         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
6448         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
6450 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6452         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
6453           so that eg. ``autoscan --help'' doesn't truncate it.
6455 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
6457         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
6458         generated conftest files.
6460 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
6462         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
6463         tracing on commands with possibly-escaped newlines.
6464         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
6465         discontinued behavior and its implications.
6466         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
6467         (BSx641-newline in command, BS-BS-newline in command)
6468         (BSx640-newline in command, Newline-CODE-BS-newline in command)
6469         (Single-quote-BS-newline in command)
6470         (Single-quote-newline-BS-newline in command): New tests.
6472 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
6474         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
6475           on platforms where it works.
6476         (_AS_TEST_PREPARE): Test for ``test -x''.
6477         (_AS_BROKEN_TEST_PREPARE): Nuke.
6479 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
6481         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
6482         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
6483           give only 4-letter prefix to AS_TMPDIR, comment fixed.
6484         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
6485           create the temporary directory.
6486         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
6488 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
6490         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
6491         (trivial change)
6493 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
6495         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
6497 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
6499         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
6500         to avoid using a negated character class.  Reported by Nicolas Joly.
6501         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
6503 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6505         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
6506         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
6507         Don't depend on .x file explicitly, since "make" does that for us.
6508         Suggested by Stepan Kasal.
6510         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
6511         Add *.tmp.
6512         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
6513         ifnames): Factor common code.  And they said it couldn't be done!
6515 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
6517         * bin/.cvsignore: Add autoconf.in.
6518         * tests/.cvsignore: Add wrapper.in.
6519         * lib/autotest/general.m4: Escape '$' in case pattern.
6521 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
6523         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
6525         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
6527         * tests/autotest.at: New file.
6528         * tests/suite.at: Include it.
6529         * tests/Makefile.am: Distribute it.
6531         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
6532           shell tracing on a command that could contain multiple lines.
6533         * doc/autoconf.text: Document that fact and its implications.
6534         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
6535         * tests/autotest.at (Multiline backquote command substitution,
6536           Multiline parameter expansion, Literal multiline command,
6537           Multiline parenthetical command substitution): Remove XFAIL.
6539 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
6541         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
6542         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
6544 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
6546         * configure.ac (test suite): Cease to generate wrapper scripts.
6547         * configure: Regenerate.
6548         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
6549         (m4f_dependencies): Adjust accordingly.
6550         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
6551         (wrapper.in): Generate it in the build directory.
6552         (MAINTAINERCLEANFILES): Delete wrapper.in.
6553         (CLEANFILES): Add wrapper.in.
6554         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
6555         the output.  Replace each $as_me with a @wrap_program@.
6556         * tests/wrapper.in: Delete it; we always build it.
6558         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
6559         (EXTRA_DIST): Remove autoconf.in.
6560         (CLEANFILES): Add autoconf.in.
6561         (autoconf): Find autoconf.in in the build directory.
6562         * bin/autoconf.in: Delete it; we always build it.
6564 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
6566         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
6567         PATH members so as to not prepend an empty element.  Move a comment.
6568         * Makefile.am (SUBDIRS): Build in `tests' last.
6569         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
6571 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
6573         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
6574         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
6575         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
6576         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
6578 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
6580         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
6581         patch: extra "-l"s.
6583 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
6585         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
6586         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
6587         * doc/autoconf.texi (Particular Functions): Mention new behavior.
6589 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
6591         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
6592           out the common code to ...
6593         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
6594           value of the #define--default to 1, iff the macro was called
6595           with exactly one parameter.
6597 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
6599         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
6600         "char c = '\200';" rather than "char c = 0x80;" as the
6601         latter doesn't conform to the strict C standard due to
6602         overflow on signed char hosts.
6604         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
6605         to -qlanglvl=ansi.  We don't want to disable extensions.
6607 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
6609         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
6610         (Using Autotest, testsuite Scripts, Writing testsuite.at):
6611         Reword slightly to avoid some English-language problems noted
6612         by Ralf Wildenhues in:
6613         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
6615 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
6617         * NEWS: Add ^L above each release.
6619 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
6621         Fix documentation problems reported by Russ Boylan in
6622         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
6623         along with some nearby cruft.
6624         * doc/autoconf.texi (Libtool): Libtool can be used without
6625         Automake (not without Autoconf).
6626         (Introduction): Mention lists.gnu.org.
6627         * BUGS: Don't mention bugs.gnu.org.
6628         Remove mention of ancient libtool compatibility problem.
6629         * NEWS: Mention that bugs.gnu.org is kaput.
6630         * README: Likewise.  Mention where mailing list archives can be found.
6632 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
6634         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
6636 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
6638         * doc/autoconf.texi (Pretty Help Strings): Go back to
6639         single-quoting assignments to cache variables.
6641 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
6643         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
6644         with the examples; fix the bug in MY_ARG_WITH example reported
6645         by Alexandre Duret-Lutz.
6646         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
6647         expansion of $1 in the comment emitted to configure.
6649 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
6651         * doc/autoconf.texi (Pretty Help Strings): Fix typo
6652         in my editing of the previous patch.  Problem reported
6653         by Alexandre Duret-Lutz.
6655 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
6657         * doc/autoconf.texi (Autoconf Language): Explain that
6658         ``descriptions'' may not be double quotes.
6659         (Quotation Rule Of Thumb): Likewise.
6660         (Pretty Help Strings): Likewise; remove the wrong comment;
6661         simplify the examples and improve their quoting.
6663 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
6665         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
6666         the $1_found variable, don't test whether the file is executable;
6667         Both things are checked ...
6668         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
6669         the former ``test -f''.
6670         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
6672 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
6674         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
6675         use cp -R instead.
6677 2004-11-10  Derek R. Price  <derek@ximbiot.com>
6679         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
6680         limitations.  Reorder paragraphs for clarity.
6682 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
6684         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
6685         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
6686         variants", "Unix", and some related minor wording fixups.
6688         (Shellology, Special Shell Variables): Document that the Zsh
6689         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
6690         to Alexandre Duret-Lutz for this info.
6692 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
6694         * doc/autoconf.texi (One-Shot Macros): New node.
6696 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
6698         * doc/autoconf.texi (Function Portability): Fix misdescription
6699         of putenv.  Problem reported by Michael Wardle.
6701 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
6703         * doc/autoconf.texi (auindex): New macro.
6704         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
6705         Problem reported by Stepan Kasal.
6707 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
6709         Fix problems reported by Andreas Buening in:
6710         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
6711         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
6712         in test makefile.
6713         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
6714         readable; it's not true in OS/2-emx.
6716 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
6718         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
6719         "/usr/include", clear ac_x_includes instead of leaving it as "no"
6720         (trivial change).  Problem and patch reported by Andrew Church in:
6721         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
6723 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
6725         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
6726         three args in examples.  Problem reported by Frederik Fouvry in:
6727         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
6728         Also, fix some minor spacing and punctuation bugs.
6730 2004-09-02  Akim Demaille  <akim@epita.fr>
6732         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
6733         "case" to restore ordering.
6734         Reported by Stepan Kasal.
6736 2004-08-26  Akim Demaille  <akim@epita.fr>
6738         * doc/autoconf.texi: Minor typos and stylos.
6740 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
6742         * configure.ac (AC_INIT): Bump to 2.59c.
6744 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
6746         Version 2.59b.
6748         * README: Add advice about m4 1.4.2.
6750         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
6751         texinfo.tex for now (done by hand now).
6752         * Makefile.maint (wget_files, cvs_files):
6753         Remove ansi2knr.c; nobody uses it.
6754         (ansi2knr.c-url_prefix): Remove.
6755         (cvs-update): Fix test for failure.  I don't know why it ever
6756         worked...
6758         * doc/autoconf.texi: Update URLs, some of which went stale.
6759         Use @uref rather than @href.
6761         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
6762         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
6764         * config/config.guess, config/config.sub, config/elisp-comp,
6765         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
6766         doc/fdl.texi, doc/standards.texi: Sync with master copy.
6768         * NEWS, TODO, configure.ac, bin/autoscan.in,
6769         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
6770         doc/install.texi, lib/Autom4te/Configure_ac.pm,
6771         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
6772         lib/autoconf/programs.m4, lib/autoconf/status.m4,
6773         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
6774         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
6775         tests/tools.at, tests/torture.at:
6776         Use "file name" rather than "filename" or "path",
6777         to be consistent with the terminology of the GNU coding standards.
6779 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
6781         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
6782         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
6783         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
6784         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
6786         More fixes to support spaces in the name of the build directory.
6787         This isn't a complete fix but it's an improvement.
6789         * bin/autoconf.as (autom4te_options): New var.
6790         Use it instead of appending to AUTOM4TE, so that we can allow
6791         spaces in the build directory's absolute name.
6792         * bin/autoheader.in ($autoconf): Allow spaces in file names.
6793         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
6794         AT_CHECK_NOESCAPE): Likewise.
6795         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
6796         main program): Likewise.
6798 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6800         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
6801         From Ralf Corsepius in:
6802         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
6804 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
6806         * doc/autoconf.texi (Function Portability): Document isinf and
6807         and isnan.  From a suggestion by Kevin Ryde.
6809         * lib/Autom4te/General.pm (END): Return correct exit status even
6810         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
6812 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
6814         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
6815         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
6816         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
6818 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
6820         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
6821         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
6822         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
6823         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
6824         * lib/autom4te.in (Automake-preselections): Preselect
6825         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
6827 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
6829         * lib/autom4te.in (Automake-preselections): Preselect
6830         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
6831         trace them.
6833 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
6835         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
6836         Tru64.
6837         * doc/autoconf.texi (Shellology): Mention BIN_SH.
6838         Document problem with "`""`" in pdksh POSIX mode.
6840 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
6842         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
6843         with pdksh, too.  Problem reported by Patrick Welche via
6844         Gary V. Vaughan.
6845         * doc/autoconf.texi (Shellology): Note that set -o posix is
6846         useful for pkdsh, too.
6848 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
6850         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
6851         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
6852         Don't fail if ENV or BASH_ENV is readonly.
6853         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
6854         etc. are read only.  Problem reported by Ludovic Courtes.
6856 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
6858         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
6859         zsh, disable GLOB_SUBST to avoid backslash handling problems.
6860         (trivial change)
6862 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
6864         * doc/autoconf.texi (File System Conventions): Warn about
6865         names like "aux".  Problem reported by Eric Blake.
6867         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
6868         by zero instead of array size, so that we can use any arithmetic
6869         constant expression (instead of requiring an integer constant
6870         expression).  This allows us to test expressions like DBL_MAX <
6871         LDBL_MAX, which didn't conform to the C standard using the old
6872         method.
6873         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
6874         now that we can do floating-point tests at compile time.
6876 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
6878         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
6879         and LDBL_EPSILON, as the resulting expression isn't an
6880         integer constant expression and violates the C standard.
6881         Problem reported by Nelson H. F. Beebe.  Also, check
6882         for "L" suffix, and check that long double doesn't have
6883         worse range or precision than double, that mixed-mode
6884         arithmetic doesn't generate a diagnostic, that double
6885         constants fit in long double.
6887 2004-06-03  Kevin Ryde  <user42@zip.com.au>
6889         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
6890         malloc(0) and realloc(NULL,size).
6892         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
6893         Bob Proulx.
6895 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
6897         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
6898         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
6899         by Jim Meyering.
6901 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
6903         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
6904         can be rewritten using if-then-else.  Suggested by Bruno Haible.
6906 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
6908         * doc/autoconf.texi (testsuite Scripts): Fix typo.
6909         Problem reported by Stepan Kasal.
6911 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
6913         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
6914         change).  Patch reported by Ralf Wildenhues in
6915         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
6917         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
6918         function F exists if the compiler and linker let you compile an
6919         expression like (F != 0).  Recent versions of GCC optimize away
6920         the reference to F in that case, since every function address must
6921         be nonzero, so the link succeeds even if F does not exist.
6922         Problem reported by Manu in
6923         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
6925         * doc/autoconf.texi (Systemology): Standardize on the spelling of
6926         "Unix".  Many uses changed.
6927         (Limitations of Builtins): Explain better why the ! command isn't
6928         portable.
6930 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
6932         * lib/autom4te.in (Automake-preselections): Preselect
6933         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
6935 2004-05-19  Kevin Ryde  <user42@zip.com.au>
6937         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
6938         referencing AC_FUNC_STRERROR_R.
6940         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
6941         note pessimistic assumption when cross compiling.
6943 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
6945         * doc/autoconf.texi (Limitations of Make): Note that BSD make
6946         (until 2004) invoked subcommands with sh -e, contra POSIX.
6947         Reported by Kevin Ryde.
6949 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
6951         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
6952         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
6953         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
6954         `test -f "        /usr/bin/grep"', which _always_ failed.
6955         (AC_PROG_SED): Ditto bogus PATH fix.
6956         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
6957         requires that grep correctly supports _multiple_ `-e' options, rather
6958         than stating only that grep should accept `-e'.
6960 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
6962         Port to C99, which requires that 'exit' be declared.
6964         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
6965         to ensure that stdlib.h is included.
6966         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
6967         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
6968         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
6969         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6970         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
6971         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
6972         when using 'exit' in a test; C99 requires that 'exit' be declared.
6974 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
6976         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
6977         now prefers 'grep' implementations that accept -e.
6978         (Limitations of Usual Tools): Describe problems of traditional
6979         egrep and fgrep with long input lines, and of traditional grep
6980         with -e.
6981         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
6982         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
6983         All callers changed.  Append /usr/xpg4/bin to the PATH, for
6984         Solaris.
6985         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
6986         the user with complaints about multiple -e options.
6987         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
6988         Define it with AC_PROG_GREP.
6989         * configure.ac (AC_PROG_GREP): Add.
6990         * lib/freeze.mk (GREP): New macro.
6992 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
6994         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
6995         a possible candidate only after all others fail, rather than
6996         consulting it first.  This improves backward compatibility by
6997         better reflecting the way shell selection occurred in previous
6998         versions of Autoconf, and should help to avoid triggering latent
6999         problems in other packages, such as the one in Automake where zsh
7000         is not handled robustly:
7001         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
7002         Although it is not Autoconf's responsibility to work around
7003         problems in Automake, it nevertheless makes sense to avoid
7004         introducing unnecessary incompatibilites.
7006 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
7007             Gary V. Vaughan  <gary@gnu.org>
7009         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
7010         how deeply nested we are when a suitable tool is found, set the
7011         ac_path_TOOL_found flag.
7012         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
7013         nested we are in this macro.  Break out of all 3 nested loops if
7014         ac_path_TOOL_found is set.
7016 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
7018         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
7019         of the _AS_PATH_WALK loop too if GNU flavor is found.
7021 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
7023         * doc/autoconf.texi (Limitations of Make): Update documentation
7024         for `$<'.  New entry `Long lines', based on a report from Simon
7025         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
7026         paragraph about DJGPP, based on a mail from Richard Dawe.
7028 2004-04-20  Paul Eggert  <eggert@twinsun.com>
7030         * tests/c.at (C keywords): Don't assume that GCC supports
7031         "restrict" and "inline", as sufficiently-old GCC versions do not
7032         (also, GCC configured to be in pedantic C89 mode does not).
7033         Problem reported by Sumit Pandya in:
7034         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
7036         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
7037         consider -g to work if it generates warnings when plain compiles
7038         don't.  Problem reported by Braden McDaniel in:
7039         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
7041         * doc/autoconf.texi (Slashes): New section, to document a problem
7042         reported by Jim Meyering in:
7043         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
7045         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
7046         linker output files before linking, to work around IRIX 6 linker bug.
7047         Problem reported by Rainer Orth in:
7048         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
7050 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
7052         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
7053         best tool so far counter rely on the tool path variable name to
7054         avoid checks for one tool being affected by the results of running
7055         the length check on a previous tool.
7057         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
7058         match expression argument, as different greps have different
7059         regular expression flavours.
7060         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
7061         literals.
7062         (AC_PROG_EGREP): Pass 'EGREP$'.
7063         (AC_PROG_GREP): Pass 'GREP$'.
7065 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
7067         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
7068         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
7070 2004-03-29  Paul Eggert  <eggert@twinsun.com>
7072         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
7073         Types, Specific Compiler Characteristics, System Services,
7074         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
7075         etc. consistently instead of 'long', 'short', 'unsigned' etc.
7076         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
7077         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
7078         Likewise.
7079         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
7080         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
7081         AC_TYPE_OFF_T): Likewise.
7082         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
7083         Likewise.
7085         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
7086         pacify libtool 1.5.2.  Fix quoting problems in sed command.
7088 2004-03-28  Paul Eggert  <eggert@twinsun.com>
7090         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
7091         now defines HAVE_DECL_TZNAME if it is declared, when
7092         HAVE_STRUCT_TM_TM_ZONE is not defined.
7093         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
7094         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
7095         for HAVE_TZNAME.
7097 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
7099         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
7100         superfluous backslashing of quotes (") in sed expressions;
7101         thanks to Paul Eggert.
7103 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
7105         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
7106         Fortran compiler is ifort, also added pghpf; thanks to Nelson
7107         H. F. Beebe for the bug report.
7109 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
7111         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
7112         quoted -cmdline argument in Portland Group compiler (bug
7113         reported by Jeffrey J. Barteet).
7115 2004-03-25  Kevin Ryde  <user42@zip.com.au>
7117         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
7118         (Run Time): ... here, where it's now mentioned.
7120 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
7122         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
7123         inherits from language Autoconf-without-aclocal-m4.
7124         (Customizing autom4te): Adjust example; the cache must now be
7125         disabled for language Autoconf-without-aclocal-m4.
7127 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
7128             Nathanael Nerode  <neroden@twcny.rr.com>
7130         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
7131         AC_CHECK_TOOLS): Warn if a cross-tool is found without
7132         a prefix.
7133         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7134         AC_CHECK_TARGET_TOOLS): New macros.
7135         * doc/autoconf.texi (Generic Programs): Document
7136         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7137         AC_CHECK_TARGET_TOOLS, and warn for future changes
7138         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
7139         AC_CHECK_TOOLS.
7140         (Specifying Names): Document the reason for these future
7141         behavioral changes.
7142         * tests/mktests.sh: Do not generate tests for the
7143         new macros.
7144         * NEWS: Document these changes.
7146         * doc/autoconf.texi: Avoid macros with unbraced arguments,
7147         they make TeX hang up.
7149 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
7151         * NEWS: New macro AC_CHECK_ALIGNOF.
7152         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
7153         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
7154         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
7155         vowel.
7156         (AC_CHECK_ALIGNOF): New macro.
7157         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
7158         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
7159         those for sizeof.
7161 2004-03-03  Paul Eggert  <eggert@twinsun.com>
7163         * bin/Makefile.am (edit): Don't use $< in a context where
7164         POSIX doesn't require support for it.  Use $@.in instead.
7165         Problem reported by Anthony N. Frasso in
7166         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
7167         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
7169 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
7171         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
7172         from the next generation of Libtool.
7173         * lib/autom4te.in (Autoreconf-preselections): Ditto.
7175 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
7177         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
7178         is not always thread-safe.  Report from Nathanael Nerode.
7180 2004-02-18  Paul Eggert  <eggert@twinsun.com>
7182         Fix a dependencies problem, stemming from a Autoconf 2.59 build
7183         problem on QNX reported by Stephen Rasku in
7184         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
7186         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
7187         $(m4sh_m4f_dependencies); this removes a FIXME.
7188         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
7189         (MAINTAINERCLEANFILES): Split into pieces,
7190         one per related section.  Add $(srcdir)/wrapper.in.
7192 2004-02-09  Paul Eggert  <eggert@twinsun.com>
7194         * doc/autoconf.texi (Setting Output Variables): Emphasize that
7195         AC_SUBST provides no portable way to escape literal newlines.
7197         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
7198         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
7199         Darwin uses -lcrt2.o and there's little point to cataloging all
7200         the system variants.  Partial fix reported by Andreas Waechter in:
7201         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
7202         for bug reported by Nelson H. F. Beebe in:
7203         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
7205 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
7207         * doc/autoconf.texi (AU_DEFUN): Fix English,
7208         suggested by Paul Eggert.
7209         * lib/autoconf/autoupdate.m4: Correct reference to
7210         acobsolete.m4, suggested by Alexandre Duret-Lutz.
7212 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
7214         * bin/autoupdate.in: Define __file__ so that warnings
7215         refer to the correct file.
7216         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
7217         the behavior of the third argument.
7218         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
7219         correctly the behavior of the third argument.  Document
7220         what the three macros that AU_DEFUN defines do.  Fix
7221         warning message when the third argument includes $0
7222         (reported by Alexandre Duret-Lutz).
7224 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
7225             Eric Sunshine  <sunshine@sunshineco.com>
7226             Paul Eggert  <eggert@twinsun.com>
7228         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
7229         (AS_INIT): Output shell initialization there. Removed optional
7230         parameter. Expand _AS_SHELL_FN_SPY.
7231         (AS_INIT_WITH_SHELL_FN): Removed.
7232         (_AS_SHELL_FN_SPY): New macro.
7233         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
7234         macros.
7235         (AS_SHELL_SANITIZE): Remove loop to find better shell
7236         and documentation for the parameter.
7237         (_AS_DETECT_BETTER_SHELL): Move it here.
7238         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
7239         (_AS_RUN): Move it here, support testing with eval.
7240         (AS_REQUIRE_SHELL_FN): Require shell functions when
7241         it is used.
7242         (_AS_LINENO_WORKS): Put around braces, we do not
7243         trigger the bash bug anymore.
7244         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
7245         use AS_INIT_WITH_SHELL_FN.
7246         * bin/autoconf.in, tests/wrapper.in: Regenerated.
7248 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
7250         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
7251         * doc/autoconf.texi: Don't say that the third parameter
7252         is broken.
7253         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
7254         (AU_DEFUN): Honor the third parameter, create autoupdate
7255         macros with AU_DEFINE.
7256         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
7257         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
7258         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
7259         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
7260         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
7261         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
7262         AC_XENIX_DIR): Likewise.
7263         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
7264         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
7265         * lib/autoconf/status.m4: Remove FIXME.
7266         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
7267         that the macro is not present anymore in the updated
7268         configure.ac.
7269         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
7270         of autoupdate.
7272 2004-01-28  Paul Eggert  <eggert@twinsun.com>
7274         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
7275         copyright years.
7276         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
7277         2003 (except 1997) to the list of copyright years.  This undoes
7278         the 2003-05-22 change, which removed the older years from the list.
7279         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
7281 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
7282             Albert Chin-A-Young  <china@thewrittenword.com>
7284         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
7285         grep or ggrep program in PATH that accepts as long lines as
7286         possible.
7287         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
7288         AC_PROG_GREP.
7289         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
7290         egrep and fgrep respectively if $GREP -E/-F don't work.
7291         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
7292         _AC_PROG_GREP, and AC_PROG_SED.
7293         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
7294         longest input length accepted by a command.
7295         (AC_PROG_SED): Use it.
7296         * doc/autoconf.texi (Particular Programs): Document the changes.
7297         * NEWS: Updated.
7299 2004-01-27  Paul Eggert  <eggert@twinsun.com>
7301         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
7302         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7303         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
7304         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
7306         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
7307         bin/autoconf.in, config/Makefile.in, config/config.guess,
7308         config/config.sub, config/install-sh, config/mdate-sh,
7309         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
7310         lib/Makefile.in, lib/Autom4te/Makefile.in,
7311         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
7312         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
7313         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
7314         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
7315         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
7316         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
7317         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
7318         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
7319         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
7320         tests/actypes.at: Regenerate and/or sync with original
7321         sources.
7323 2004-01-26  Paul Eggert  <eggert@twinsun.com>
7325         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
7326         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
7327         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
7328         not <inttypes.h>.  Problem reported by Tim Mooney in
7329         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
7330         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
7331         Likewise.
7333         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
7334         otherwise "make check" fails because it forbids cmp (I guess
7335         because cmp treats files as binary on DOS-like systems).
7337         * tests/mktests.sh: Update copyright date to 2004, since some tests
7338         have changed in 2004.
7340 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
7342         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
7343         non-truncating sed or gsed program in PATH.
7344         * tests/acprograms.at: Add it.
7345         * doc/autoconf.texi (Particular Programs): Document it.
7346         * NEWS: Updated.
7348 2004-01-15  Paul Eggert  <eggert@twinsun.com>
7350         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
7351         -std1 disables some useful extensions on Tru64.  Problem reported
7352         by N. Lichtmaier in
7353         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
7355 2004-01-14  Paul Eggert  <eggert@twinsun.com>
7357         * doc/autoconf.texi (Programming in M4sh): Document that
7358         AS_MKDIR_P succeeds if the destination is a symbolic link
7359         to an existing directory.
7360         (Limitations of Usual Tools): Note that mkdir -p might not
7361         succeed on symlinks to directories.
7363 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
7365         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
7366         * bin/autoheader.in: Grammar fix in message.
7367         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
7368         Test for dir before calling mkdir -p.  (trivial changes)
7370 2004-01-13  Eric Blake  <ebb9@byu.net>
7372         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
7373         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
7375 2004-01-10  Jim Meyering  <jim@meyering.net>
7377         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
7379 2004-01-09  Paul Eggert  <eggert@twinsun.com>
7381         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
7382         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
7383         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
7384         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
7385         AC_COMPILE_IFELSE, since we now assume our caller invokes
7386         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
7387         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
7388         of AC_RUN_IFELSE; this avoids the warning mentioned above.
7389         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
7391 2004-01-07  Paul Eggert  <eggert@twinsun.com>
7393         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
7394         `"'...'"`, as it's confusing (and I suspect it may not work on
7395         some platforms).  The code was incorrect anyway, as it assumed
7396         that \$ evaluated to itself in that context.  Reported by
7397         Alexandre Duret-Lutz.
7399 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
7401         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
7402         and _LT_AC_TAGCONFIG.
7404 2004-01-06  Paul Eggert  <eggert@twinsun.com>
7406         * doc/autoconf.texi (One Macro Call): Fix an incorrect
7407         example, and add more examples.  Reported by Eric Sunshine.
7409 2004-01-05  Paul Eggert  <eggert@twinsun.com>
7411         * doc/autoconf.texi (Limitations of Usual Tools):
7412         Remove warning against "rm -fr" introduced yesterday; it
7413         was a false alarm.
7415         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
7416         autoscan, autoupdate, ifnames): Don't use chmod -w.
7417         * lib/Makefile.am (autom4te.cfg): Likewise.
7418         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
7419         "chmod -w".
7421 2004-01-04  Paul Eggert  <eggert@twinsun.com>
7422             Paolo Bonzini  <bonzini@gnu.org>
7424         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
7425         by doing lineno substitution only on lines containing "$LINENO".
7427 2004-01-04  Paul Eggert  <eggert@twinsun.com>
7429         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
7430         Use "rm -f" to remove conftest.sed, not plain "rm".
7431         Bug reported by David Relson in
7432         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
7434         * Makefile.am (autom4te-update):
7435         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
7436         * Makefile.maint (my-distcheck, do-po-update): Likewise.
7437         * doc/autoconf.texi (Guidelines): Likewise.
7438         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
7439         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
7440         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
7441         * lib/autotest/general.m4 (AT_INIT): Likewise.
7442         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
7443         * tests/Makefile.am (clean-local): Likewise.
7444         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
7445         srcdir): Likewise.
7446         * doc/autoconf.texi (Limitations of Usual Tools):
7447         Warn against "rm -fr".
7449 2004-01-03  Paul Eggert  <eggert@twinsun.com>
7451         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
7452         -c -o might not work.  From a suggestion by Kevin Ryde.
7453         (C Compiler, Generating Sources, Limitations
7454         of Usual Tools, Limitations of Make, Making testsuite Scripts):
7455         Don't put '-o' after non-options, as POSIX doesn't allow this.
7456         Mention that cc's name might be gcc or c89 or whatever.
7458 2004-01-04  Kevin Ryde  <user42@zip.com.au>
7460         * doc/autoconf.texi: Add various further index entries.
7462 2003-12-29  Paul Eggert  <eggert@twinsun.com>
7464         * bin/autoreconf.in (autoreconf_current_directory):
7465         Fix typo: mkdir without umask arg.
7467 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
7469         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
7470         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
7471         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
7472         explanation clearer.
7474 2003-12-24  Andreas Schwab  <schwab@suse.de>
7476         * doc/autoconf.texi (Default Includes): Fix misspelling of
7477         AC_INCLUDES_DEFAULT.
7479 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
7481         * configure.ac: Test if sh -n works.
7482         * configure: Regenerate.
7483         * tests/atlocal.in: Store the result here.
7484         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
7485         tools.at, looking in atlocal's ac_cv_sh_n_works instead
7486         of explicitly testing.
7487         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
7488         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
7489         * tests/tools.at (Syntax of the shell scripts): Simplify
7490         using AT_CHECK_SHELL_SYNTAX.
7491         (Syntax of the Perl scripts): Remove definition of
7492         AT_CHECK_PERL_SYNTAX.
7494 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
7496         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
7497         stderr to /dev/null.
7498         * bin/autoconf.in: Regenerate.
7499         * bin/wrapper.in: Regenerate.
7501 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
7503         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
7504         Extracted from AS_SHELL_SANITIZE.
7505         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
7506         macros.
7507         (AS_SHELL_SANITIZE): Move reinvocation code from
7508         _AS_LINENO_WORKS, use it to find out if shell
7509         functions work.
7510         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
7511         does not work.
7512         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
7513         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
7514         was called.
7515         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
7516         * bin/autoconf.in: Regenerate.
7517         * tests/wrapper.in: Regenerate.
7518         * tests/tools.at: Test the syntax of tests/autoconf
7519         and tests/testsuite.
7521 2003-11-24  Akim Demaille  <akim@epita.fr>
7523         * config/announce-gen (&print_locations, &print_signatures)
7524         (&sizes): New.
7525         Use them.
7526         No longer rely on Gnus to inline the list of signatures: compute
7527         them on the fly.
7529 2003-11-24  Akim Demaille  <akim@epita.fr>
7531         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
7532         override some files.
7533         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
7534         From Debian Autoconf 2.58.
7536 2003-11-24  Akim Demaille  <akim@epita.fr>
7538         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
7539         uses.
7540         From Debian Autoconf 2.58.
7542 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
7544         * TODO: Remove already done things.  Update the part about finding
7545         tools for the target.
7547 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
7549         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
7550         Make wording more consistent.
7551         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7552         Explain the transition better.
7553         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
7554         the transition better.
7556 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
7558         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
7559         parameter of AU_DEFUN.
7560         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
7561         (AU_DEFUN): Remove the third parameter, it was not used.
7562         Use AC_DEFUN directly, not AU_DEFINE.
7563         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
7564         the expanded body, consistently with other macros such as AC_USG.
7566 2003-11-17  Paul Eggert  <eggert@twinsun.com>
7568         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
7569         into the initial confdefs.h, to work around a bug in NextStep 3.3
7570         patch 3 reported by Eric Sunshine.
7572 2003-11-15  Kevin Ryde  <user42@zip.com.au>
7574         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
7575         than $target since the latter is not usual, add guidelines on when to
7576         use or not use the system type.
7578 2003-11-12  Derek Price  <derek@ximbiot.com>
7580         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
7581         typo misrepaired by an auto-spellcheck.
7583 2003-11-12  Akim Demaille  <akim@epita.fr>
7585         * bin/autoreconf.in (&parse_args): Don't call automake with
7586         --force-missing unless it actually supports it.
7587         From Debian #219336.
7589 2003-11-12  Akim Demaille  <akim@epita.fr>
7591         * configure.ac: Bump to 2.59a.
7592         Require 2.59.
7594 2003-11-06  Akim Demaille  <akim@epita.fr>
7596         Version 2.59.
7598 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
7600         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
7601         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
7602         and ac_abs_top_srcdir are absolute paths.
7603         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
7605 2003-11-05  Akim Demaille  <akim@epita.fr>
7607         * configure.ac: Bump to 2.58a.
7609 2003-11-05  Kevin Ryde  <user42@zip.com.au>
7611         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
7612         it provokes a warning from makeinfo about looking like a cross
7613         reference in info output.
7615         * doc/autoconf.texi (Function Portability): Add notes on signal
7616         handler return type, as per AC_TYPE_SIGNAL.
7618 2003-11-04  Akim Demaille  <akim@epita.fr>
7620         Version 2.58.
7621         * doc/standards.texi: Update from master.
7623         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
7625 2003-11-04  Akim Demaille  <akim@epita.fr>
7627         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
7628         computing the absolute path to d1 in the source hierarchy: it may
7629         not exist at all.  So don't cd into it.
7630         From Alexandre Duret-Lutz.
7631         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
7633         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
7634         From Paul Eggert, but named after Perl's IO::Spec->catfile.
7635         * doc/autoconf.texi (Programming in M4sh): Document.
7636         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
7638 2003-11-03  Pavel Roskin  <proski@gnu.org>
7640         * doc/autoconf.texi (Generic Structure Checks): Describe
7641         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
7643 2003-10-31  Akim Demaille  <akim@epita.fr>
7645         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
7646         (GNU Fortran): New.
7647         * doc/autoconf.texi (Language Choice): Document.
7648         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
7649         the current language is Fortran.
7651 2003-10-31  Akim Demaille  <akim@epita.fr>
7653         * bin/autom4te.in (&freeze): Use a less likely warning separator
7654         than `\n\n', so that `\n\n\n' is valid in warnings.
7655         Reported by Steve Huston.
7657 2003-10-28  Akim Demaille  <akim@epita.fr>
7659         * Makefile.cfg (local_updates, executable-update): Tweak to be
7660         robust to parallel makes.
7661         Suggested by Alexandre Duret-Lutz.
7663 2003-10-27  Akim Demaille  <akim@epita.fr>
7665         * Makefile.cfg (executable-update): New.
7666         (local_updates): Call it.
7668 2003-10-27  Akim Demaille  <akim@epita.fr>
7670         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
7671         Don't remove core.* as it may remove valid user files.
7672         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
7673         (AC_FUNC_UTIME_NULL): Likewise.
7675 2003-10-23  Akim Demaille  <akim@epita.fr>
7677         Version 2.57g.
7678         * config/config.guess, config/config.sub: Upgrade from masters.
7680 2003-10-23  Akim Demaille  <akim@epita.fr>
7682         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
7683         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
7684         hand...
7686 2003-10-23  Akim Demaille  <akim@epita.fr>
7688         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
7689         Don't forget to remove conftest.err.
7691 2003-10-23  Akim Demaille  <akim@epita.fr>
7693         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
7694         same object file in $LIBOBJS.
7695         Reported by Alexandre Duret-Lutz & Derek Robert Price.
7696         * doc/autoconf.texi (Generic Functions): Adjust.
7698 2003-10-20  Paul Eggert  <eggert@twinsun.com>
7700         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
7701         Use 'eval', so that the resulting configure scripts work even if
7702         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
7704 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
7706         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
7707         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
7708         (_AC_LINK_IFELSE): Check the werror flag.
7709         * doc/autoconf.texi (Generic Compiler Characteristics): Document
7710         AC_LANG_WERROR.
7711         * NEWS: Mention it.
7713 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
7715         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
7716         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
7717         override AC_LINK_IFELSE.
7719 2003-10-15  Paul Eggert  <eggert@twinsun.com>
7721         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
7722         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
7723         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
7724         Mention /usr/dt/bin/dtksh on Solaris.
7725         (Shell Substitutions): Warn about $((...)).
7726         (Parentheses): New section.
7728 2003-10-15  Kevin Ryde  <user42@zip.com.au>
7730         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
7731         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
7733 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
7735         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
7736         cross test.
7738 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
7740         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
7741         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
7743 2003-10-10  Andreas Schwab  <schwab@suse.de>
7745         * bin/autoheader.in: Avoid empty first line in --version and
7746         --help output.
7747         * bin/ifnames.in: Likewise.
7749 2003-10-09  Paul Eggert  <eggert@twinsun.com>
7751         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
7752         Issue a more-informative diagnostic.
7753         Problems reported by Eric Sunshine.
7755 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
7757         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
7758         -mGLOB_options_string stuff for Intel ifc, which can cause
7759         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
7760         pattern-matching instead of grep.
7762 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
7764         * doc/autoconf.texi: Document new FC Fortran macros.
7766 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
7768         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
7769         that future autopoint/aclocal/automake/autoreconf will be able
7770         to trace to find where to install local m4 macros.
7771         * doc/autoconf.texi (Input): Document it.
7772         * NEWS: Updated.
7774 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
7776         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
7777         -lcrtbegin.o to list of ignored flags and fix underquoting of
7778         -lcrt[01].o.
7780 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
7782         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
7783         cache variable instead of $G77 to decide whether to include -O2,
7784         since $G77 is specific to Fortran 77.
7786 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
7788         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
7789         free" flag.  Re-order flags tested into rough order of popularity.
7791 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
7793         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
7794         arguments so that it can be used with syntax identical to
7795         AC_PROG_F77, and so that we can more easily decide to
7796         remove/deprecate the DIALECT optional argument in the future if it
7797         proves troublesome.
7798         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
7799         non-freeform-supporting compilers.  Document freeform flags.
7801 2003-10-03  Akim Demaille  <akim@epita.fr>
7803         * configure.ac: Look for emacs, not macs.
7804         Reported by Eric Sunshine.
7806 2003-10-03  Akim Demaille  <akim@epita.fr>
7808         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
7809         * bin/autoreconf.in (autoreconf_current_directory): Create the
7810         AUX_DIR if needed, for sake of automake --add-missing etc.
7811         Suggested by Alexandre Duret-Lutz.
7813 2003-10-03  Akim Demaille  <akim@epita.fr>
7815         * configure.ac: Quotation and formatting changes.
7816         (EMACS): Don't set it if it is not recent enough to support
7817         autoconf-mode.el.
7818         From Eric Sunshine.
7820 2003-10-02  Akim Demaille  <akim@epita.fr>
7822         * bin/ifnames.in (&scan_file): Skip C++ comments.
7823         From Jeremy Yallop.
7825 2003-10-01  Pavel Roskin  <proski@gnu.org>
7827         * doc/autoconf.texi (Particular Structure Checks):
7828         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
7830 2003-10-01  Akim Demaille  <akim@epita.fr>
7832         Version 2.57f.
7834 2003-09-30  Paul Eggert  <eggert@twinsun.com>
7836         * lib/Autom4te/XFile.pm: Use Errno.
7837         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
7838         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
7840 2003-09-30  Akim Demaille  <akim@epita.fr>
7842         * config/announce-gen (&print_news_deltas): Extracted from...
7843         (&print_changelog_deltas): here.
7844         (&news_file): Rename as...
7845         (@news_file): this.
7847 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
7849         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
7850         have been created when invoking the compiler.
7851         * tests/fortran.at (GNU Fortran 77): Quote $G77.
7853 2003-09-29  Akim Demaille  <akim@epita.fr>
7855         Version 2.57e.
7857         * config/mkinstalldirs: Upgrade.
7859 2003-09-28  Paul Eggert  <eggert@twinsun.com>
7861         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
7862         Problem reported by Lars J. Aas in
7863         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
7864         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
7865         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
7866         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
7868 2003-09-26  Akim Demaille  <akim@epita.fr>
7870         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
7871         directory for AC_CONFIG_COMMANDS' first argument exists.
7872         This makes valid the invocation of _AC_SRCPATH that follows.
7873         Reported by Eric Sunshine.
7874         * doc/autoconf.texi (Configuration Commands): Adjust.
7876 2003-09-26  Akim Demaille  <akim@epita.fr>
7878         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
7879         Reported by Ralf Corsepius.
7881 2003-09-26  Akim Demaille  <akim@epita.fr>
7883         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
7884         arguments.
7885         Actually, use AU_ALIAS.
7886         From Bruno Haible.
7888 2003-09-26  Paul Eggert  <eggert@twinsun.com>
7890         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
7891         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
7892         Problem reported by Eric Sunshine in:
7893         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
7895 2003-09-26  Akim Demaille  <akim@epita.fr>
7897         The test suite are sometimes assigning timings incorrectly.
7898         Reported by Henk Krus.
7899         Diagnosed by Nicolas Joly.
7901         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
7902         AT_help_all.
7903         Instead of making AT_help a sequence of assignments to grow
7904         $at_help_all, just make AT_help_all be the growing contents of
7905         $at_help_all, and make a single assignment in...
7906         (AT_INIT): here.
7907         (at_times_skip): Flip the meaning and rename as...
7908         (at_times_p): this.
7909         (AT_INIT): When summarizing the test that ran, remove
7910         $at_times_file after use, and check it is present before trying to
7911         use it.
7913 2003-09-25  Akim Demaille  <akim@epita.fr>
7915         Version 2.57d.
7917         * bin/Makefile.am (edit): Handle '@configure_input@'.
7918         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
7919         (ifnames): chmod -w.
7920         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
7921         executables, not bin/ executables!  Otherwise all the magic needed
7922         to find non installed files is turned off.  This caused a failure
7923         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
7924         as found in its environment (sent by tests/autoreconf): pointing
7925         to bin/autom4te that could not find its files.
7926         * tests/mktests.sh: Force the replacement of generated files, for
7927         the sake of "mv" program that are interactive when overwriting a
7928         -w file.
7929         * config/install-sh: Upgrade from CVS Automake.
7931 2003-09-23  Paul Eggert  <eggert@twinsun.com>
7933         * doc/autoconf.texi (Limitations of Builtins): Document test -h
7934         versus test -L issues.
7936 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
7937             Paul Eggert  <eggert@twinsun.com>
7939         Trivial change to support GCC's configuration procedure.
7940         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
7941         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
7942         about inconsistency if the preprocessor is set to give errors for
7943         any warning.
7944         * doc/autoconf.texi (C Compiler Characteristics): Document this.
7946 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
7948         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
7949         and XFile.pm from Automake.
7950         * lib/Autom4te/XFile.pm: Update from Automake.
7952 2003-09-12  Akim Demaille  <akim@epita.fr>
7954         Version 2.57c.
7956 2003-09-12  Akim Demaille  <akim@epita.fr>
7958         * config/config.guess, config/config.sub, config/missing,
7959         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
7960         from masters.
7962 2003-09-12  Akim Demaille  <akim@epita.fr>
7964         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
7965         not asm/types.h.
7967 2003-09-11  Akim Demaille  <akim@epita.fr>
7969         * doc/autoconf.texi (Header Portability): linux/random.h.
7970         From Peter Hendrickson.
7972 2003-09-10  Akim Demaille  <akim@epita.fr>
7974         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
7975         willing to edit the output files.
7977 2003-09-10  Akim Demaille  <akim@epita.fr>
7979         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
7980         and AC_FC_FREEFORM.
7981         * tests/mktests.sh: Skip AC_FC_SRCEXT.
7982         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
7984 2003-09-09  Akim Demaille  <akim@epita.fr>
7986         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
7987         Reported by Gary Vaughan.
7988         * bin/autom4te.in (handle_m4): Likewise.
7990 2003-09-09  Akim Demaille  <akim@epita.fr>
7992         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
7993         trailing files.
7995 2003-09-07  Paul Eggert  <eggert@twinsun.com>
7997         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
7998         Improve the accuracy of the wording about obsolescence.
7999         From a suggestion by Ian Lance Taylor in
8000         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
8002 2003-09-05  Paul Eggert  <eggert@twinsun.com>
8004         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
8005         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
8007 2003-09-04  Akim Demaille  <akim@epita.fr>
8009         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
8010         AC_FUNC_WAIT3.
8012 2003-09-04  Akim Demaille  <akim@epita.fr>
8014         * bin/autom4te.in: Use &fatal where more appropriate than &error.
8015         (freeze): When exiting, use $exit_code.
8016         * lib/autoconf/fortran.m4: Comment changes.
8018 2003-09-04  Akim Demaille  <akim@epita.fr>
8020         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
8022 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
8024         Add support for newer Fortran dialects.  The F77 interface is
8025         unchanged, and continues to support Fortran 77.  New FC macros
8026         correspond to all the old F77 macros, with output variables FC,
8027         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
8028         available dialect, but older dialects can be specified.  There are
8029         new macros AC_FC_SRCEXT to set the source extension, and
8030         AC_FC_FREEFORM to accept free-form source files.
8032         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
8033         New macros.
8034         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
8035         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
8036         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
8037         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
8038         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
8039         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
8040         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
8041         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
8042         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
8043         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
8044         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
8045         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
8046         AC_FC_SRCEXT, AC_FC_FREEFORM):
8047         New macros.
8048         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
8049         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
8050         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
8051         Rewrite in terms of the above.
8052         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
8053         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
8054         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
8055         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
8057 2003-09-02  Paul Eggert  <eggert@twinsun.com>
8059         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
8060         Document problems with timestamp resolution that 'make', 'cp -p', and
8061         'touch -r' have.
8063 2003-08-27  Akim Demaille  <akim@epita.fr>
8065         * tests/m4sugar.at (cross_warning): Make sure to enable the
8066         output, so that we can track spurious m4sugar output.
8067         * tests/local.at: Require 2.57.
8068         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
8069         are defaulted by AT_CHECK anyway.
8070         Use AT_CHECK_AUTOM4TE.
8071         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
8072         missing dnl.
8074 2003-08-27  Akim Demaille  <akim@epita.fr>
8076         * bin/autoheader.in: Issue the "Using auxiliary..." message only
8077         when -Wobsolete is set.
8078         Set it on by default.
8079         Suggested by Klee Dienes.
8081 2003-08-27  Akim Demaille  <akim@epita.fr>
8083         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
8084         documentation.
8085         From Guido Draheim.
8087 2003-08-26  Akim Demaille  <akim@epita.fr>
8089         * doc/autoconf.texi (Output): Make clear that one can run code
8090         after AC_OUTPUT.
8092 2003-08-25  Akim Demaille  <akim@epita.fr>
8094         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
8095         CVS Bison.
8097 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
8099         * bin/autoreconf.in (parse_args): Do not pass --no-force to
8100         Automake versions prior to 1.8.
8102 2003-08-25  Akim Demaille  <akim@epita.fr>
8104         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
8105         From Ville Karaila.
8107 2003-08-24  Akim Demaille  <akim@epita.fr>
8109         * configure.ac: Bump to 2.57c.
8111 2003-08-22  Akim Demaille  <akim@epita.fr>
8113         Version 2.57b.
8115         * Makefile.cfg (local-checks-to-skip): New.
8116         * Makefile.maint (local-check): Rename as...
8117         (local-checks-available): this.
8118         (local-check): New.
8120         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
8121         * configure.ac: Require Automake 1.7.6.
8123 2003-08-22  Akim Demaille  <akim@epita.fr>
8125         Output stack traces in warnings.
8127         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
8128         Replace the former...
8129         (m4_warn): Pass the call stack to _m4_warn.
8130         * bin/autom4te.in: Adjust to output the call stack.
8131         * tests/m4sugar.at (m4@&t@_warn): Adjust.
8133 2003-08-22  Akim Demaille  <akim@epita.fr>
8135         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
8136         * bin/autom4te.in: Adjust.
8138 2003-08-21  Akim Demaille  <akim@epita.fr>
8140         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
8141         (&verbose): Remove.
8142         (&getopt): Adjust the note and verb channels, depending upon
8143         --verbose.
8144         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
8145         * bin/autoupdate.in: Adjust.
8146         Use &verb, not &verbose.
8148 2003-08-21  Akim Demaille  <akim@epita.fr>
8150         * bin/autoheader.in (&parse_args): Use &parse_warnings and
8151         &parse_WARNINGS.
8152         ($help): Use Autom4te::ChannelDefs::usage.
8153         * bin/autoscan.in: Use Autom4te::ChannelDefs.
8154         * lib/Autom4te/General.pm: Don't export error: you don't own it.
8156 2003-08-21  Akim Demaille  <akim@epita.fr>
8158         First stab at preserving warnings between calls to autom4te,
8159         including when the cache is used.
8161         There are still several issues: (i) there are too many runs of m4
8162         (one for include, one for warnings, and some more), (ii) warnings
8163         spreading on several lines are not handled gracefully, (iii) the
8164         code meant to have the call stack display for errors does not work
8165         (its handling should move from m4 to autom4te).
8167         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
8168         Use them.
8169         (@preselect): Add m4_warn.
8170         ($exit_status): Remove, use $exit_code.
8171         ($help): Use Autom4te::ChannelDefs::usage.
8172         (&handle_m4): No longer define the m4_warnings.
8173         At each run, extract and report the warnings.
8174         Always cache the result, including if the exit status is on
8175         failure, since if nothing changes, we should result in the same
8176         failure, hence we can use the cache.
8177         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
8178         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
8179         Remove.
8180         (m4_warn): Redefine as a do-nothing: it is its invocation that
8181         matters, as warnings are now reported via traces.
8182         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
8183         the contents of m4_warn: make it _call_ m4_warn, so that tracing
8184         the latter reveals calls to the former.
8186         Adjust the tests.
8188         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
8190 2003-08-21  Akim Demaille  <akim@epita.fr>
8192         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
8193         Use them.
8195 2003-08-21  Akim Demaille  <akim@epita.fr>
8197         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
8198         forward order.
8199         * lib/Autom4te/ChannelDefs.pm: Doc typos.
8200         (&parse_warnings): Accept a list of warning requests.
8201         (&usage): Return a string, not a side effect.
8202         (cross): New warning category.
8204 2003-08-21  Akim Demaille  <akim@epita.fr>
8206         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
8207         (&require_configure_ac): Accept an optional directory argument.
8208         ($configure_ac): Remove.
8209         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
8210         (&catfile): Remove.
8211         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
8212         * bin/autoscan.in: Adjust.
8214 2003-08-20  Akim Demaille  <akim@epita.fr>
8216         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
8217         Reported by Alexandre Duret-Lutz.
8219 2003-08-20  Akim Demaille  <akim@epita.fr>
8221         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
8222         * bin/autom4te: Adjust.
8223         In particular, be Autoconf tools are really silent when properly
8224         working, bind the verbosity of the 'note' channel to $verbose.
8225         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
8226         (&xsystem, &contents): Remove, since they are exported by...
8227         * lib/Autom4te/FileUtils.pm: this.
8228         More perldoc.
8229         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
8230         * lib/Autom4te/FileUtils.pm: here.
8232 2003-08-20  Akim Demaille  <akim@epita.fr>
8234         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
8235         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
8236         from CVS Automake.
8238 2003-08-20  Akim Demaille  <akim@epita.fr>
8240         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
8241         (autom4te-update): New.
8242         * Makefile.cfg (update): Bind autom4te-update.
8244 2003-08-19  Derek Price  <derek@ximbiot.com>
8246         * lib/autotest/general.m4: Comment various HELP_* diversions.
8247         (PARSE_ARGS_BEGIN): New section for option parsing related
8248         initialization.
8249         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
8250         package specific options and associated help.
8252 2003-08-19  Akim Demaille  <akim@epita.fr>
8254         * config/announce-gen, Makefile.cfg: New.
8255         * Makefile.am: Adjust.
8256         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
8258 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
8260         * lib/autom4te.in (Automake-preselections): Preselect
8261         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
8262         and m4_sinclude.
8264 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
8266         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
8267         (Autoconf-without-aclocal-m4): ... this new language.
8268         * doc/autoconf.texi (autom4te Invocation): Mention
8269         Autoconf-without-aclocal-m4.
8271 2003-08-18  Derek Price  <derek@ximbiot.com>
8273         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
8274         RUN-IF-PASS optional arguments.
8276 2003-08-18  Derek Price  <derek@ximbiot.com>
8278         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
8280 2003-08-16  Derek Price  <derek@ximbiot.com>
8282         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
8283         STDOUT & STDERR arguments.
8285 2003-08-14  Derek Price  <derek@ximbiot.com>
8287         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
8288         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
8289         shorter column three.  Add DESCRIPTION to log file content.
8291 2003-08-13  Derek Price  <derek@ximbiot.com>
8293         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
8294         output.
8296 2003-08-12  Derek Price  <derek@ximbiot.com>
8298         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
8299         (AT_CHECK_NOESCAPE): Move core functionality to...
8300         (_AT_CHECK): ...this new macro.
8302 2003-08-07  Derek Price  <derek@ximbiot.com>
8304         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
8305         (AT_CHECK_NOESCAPE): ...to this new macro.
8307 2003-07-31  Paul Eggert  <eggert@twinsun.com>
8309         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
8310         in Bash 2.01.  Problem reported by Brian Gough in
8311         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
8313 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
8315         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
8316         -lcrt1.o, for OS X.  (trivial change)
8318 2003-07-07  Paul Eggert  <eggert@twinsun.com>
8320         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
8321         inside '#ifndef __cplusplus'.  Problem reported by
8322         Bob Friesenhahn.
8324 2003-07-06  Bill Clarke  <llib@computer.org>
8326         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
8327         'long', not 'int', for benefit of Sun's recent C++ compilers
8328         (trivial change).  See:
8329         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
8330         (This really should be 'intptr_t', not 'long', but that would
8331         take more work.)
8333 2003-06-25  Akim Demaille  <akim@epita.fr>
8335         * lib/Makefile.am (autom4te.cfg): Make it read only.
8336         Depend on Makefile since it contains substitutions.
8337         From Paolo Bonzini.
8338         * lib/autom4te.in (args): Add local.at? for Autotest args.
8339         This change was made on autom4te.cfg which is generated.
8340         Reported by Raja R. Harinath.
8342 2003-06-25  Akim Demaille  <akim@epita.fr>
8344         * doc/autoconf.texi (Header Portability): sys/mount.h.
8345         From Gareth McCaughan.
8347 2003-06-23  Akim Demaille  <akim@epita.fr>
8349         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
8350         not all of them.  This fixes 1. the fact that when testing
8351         Autoconf there are many many config.log, 2. the incorrect use of
8352         top_srcdir to find config.log.
8353         Don't mix the detailed output of failed test with the summary of
8354         failures.  Rather, append detailed log afterwards.
8356 2003-06-23  Akim Demaille  <akim@epita.fr>
8358         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
8359         always run: output config.log on $at_group_log.
8361 2003-06-23  Akim Demaille  <akim@epita.fr>
8363         * tests/torture.at (#define header templates): Don't use quotes in
8364         C++ comments as it puzzles Emacs' sh font-lock-mode.
8366 2003-06-23  Akim Demaille  <akim@epita.fr>
8368         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
8369         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
8370         * tests/atspecific.m4: Rename as...
8371         * tests/local.at: This.
8372         * tests/suite.at: Move the globals into...
8373         * tests/local.at: here.
8374         * tests/Makefile.am: Adjust.
8375         * doc/autoconf.texi (testsuite Scripts): Adjust.
8377 2003-06-21  Kevin Ryde  <user42@zip.com.au>
8379         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
8380         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
8381         ensuring we add -std1 for full-ANSI.
8383         * doc/autoconf.texi (hdrindex): New macro.
8384         Add index entries for portability of various standard header files.
8386 2003-06-20  Akim Demaille  <akim@epita.fr>
8388         * configure.ac: Bump to 2.57b.
8390 2003-06-20  Akim Demaille  <akim@epita.fr>
8392         Version 2.57a.
8394 2003-06-20  Akim Demaille  <akim@epita.fr>
8396         * bin/autom4te.in: Don't rely on $HOME being defined.
8397         Reported by Marc Espie as PR/233.
8399 2003-06-20  Akim Demaille  <akim@epita.fr>
8401         * lib/autotest/general.m4: Use at_times_file only if used.
8402         From Nicolas Joly.
8404 2003-06-20  Akim Demaille  <akim@epita.fr>
8406         * config/config.guess, config/config.sub, config/elisp-comp,
8407         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
8408         Update from masters.
8410 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
8412         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
8413         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
8414         (TEST_SCRIPT): New diversion.
8415         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
8416         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
8417         (AT_INIT): Support for expected failures.
8419 2003-06-02  Akim Demaille  <akim@epita.fr>
8421         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
8422         changes.
8423         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
8424         Autoconf nor Automake.
8425         (&contents): New, from Automake.
8426         PODify.
8428 2003-05-28  Paul Eggert  <eggert@twinsun.com>
8430         * NEWS, doc/autoconf.texi (Particular Functions),
8431         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
8432         is the inverse of localtime.
8434 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
8436         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
8437         (handle_exec_errors): New function.  Work around $! being
8438         altered by WEXITSTATUS.
8439         (xqx, xsystem): Use handle_exec_errors.
8441 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
8443         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
8444         Do not call `_exit()', simply modify `$?'.
8445         (xsystem): Reset $! before running system, and check it afterward.
8446         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
8447         63 for version mismatches.
8449 2003-05-23  Akim Demaille  <akim@epita.fr>
8451         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
8452         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
8453         the middle of a line).
8454         * lib/m4sugar/m4sugar.m4: Likewise.
8455         Remove useless spaces in comments.
8457 2003-05-23  Akim Demaille  <akim@epita.fr>
8459         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
8460         exit 63, so that we (or Automake's "missing") can tell the
8461         difference with a plain failure.
8462         * doc/autoconf.texi (Notices): Adjust.
8464 2003-05-23  Akim Demaille  <akim@epita.fr>
8466         * Makefile.am, bin/Makefile.am, config/Makefile.am,
8467         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
8468         White spaces cleanup.
8470 2003-05-22  Jim Meyering  <jim@meyering.net>
8471             Paul Eggert  <eggert@twinsun.com>
8473         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
8474         Remove `#include <stdlib.h>' from the list; we should never
8475         make confdefs.h include <stdlib.h> or <cstdlib>, because the
8476         resulting namespace pollution would cause other tests to fail.
8477         Configure scripts run with some older versions of g++ and HP's
8478         aCC would fail due to such an #include.  Problems reported by
8479         Matthew Mueller in <http://bugs.debian.org/120704> and by
8480         Keith Bostic in
8481         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
8482         In the test, use the test declaration before including <stdlib.h>,
8483         as that's closer to how it'll be used.
8485 2003-05-23  Akim Demaille  <akim@epita.fr>
8487         * doc/autoconf.texi (Header Portability): ucred.h.
8488         From Ian Redfern.
8490 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
8492         Overhaul Autotest's logging: generate separate log files
8493         in testsuite.dir/NNN/testsuite.log, and append them to
8494         testsuite.log instead of re-running the test verbosely.
8496         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
8497         file descriptor, write 0 to at_status_file instead of setting
8498         at_status=0, initialize some new variables (at_status_file,
8499         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
8500         to rerun the tests, instead append the at_group_log to the
8501         at_suite_log when a test fails.
8502         (AT_SETUP): pipe the test case's output into at_tee_pipe,
8503         with the AS_MESSAGE_LOG_FD redirected to stdout.
8504         (AT_CLEANUP): save the output status in $at_status_file
8505         and restore it, redirect the AS_MESSAGE_LOG_FD back to
8506         its original place.
8507         (AT_CHECK): since tests are run with a redirected stdout,
8508         and used to be re-run in verbose mode, turn some $at_verbose
8509         into echo, and don't redirect the output of testing stdout
8510         and stderr.
8512         * lib/autotest/autoconf.texi (testsuite Scripts): Update
8513         the name of the debugging directory and information about
8514         its contents.
8516 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
8518         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
8519         parameter.
8521 2003-05-22  Akim Demaille  <akim@epita.fr>
8523         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
8524         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
8525         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
8526         * lib/autoconf/status.m4: Fix and adjust copyright notices.
8528 2003-05-22  Akim Demaille  <akim@epita.fr>
8530         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
8531         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
8532         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8533         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
8534         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
8535         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
8536         * lib/autoconf/status.m4, lib/autoconf/types.m4,
8537         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
8538         * tests/atspecific.m4, tests/base.at, tests/compile.at,
8539         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
8540         * tests/tools.at, tests/torture.at:
8541         Whitespace clean up.
8542         Suggested by Jim Meyering.
8544 2003-05-22  Akim Demaille  <akim@epita.fr>
8546         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
8547         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
8548         Reported by Jim Meyering.
8550 2003-05-22  Akim Demaille  <akim@epita.fr>
8552         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
8553         Add AC_HELP_STRING  to the obsolete macros section.
8554         Typos.
8555         Use '@.' for sentences that ended in a capital letter.
8556         From Art Haas.
8558 2003-05-22  Akim Demaille  <akim@epita.fr>
8560         * config/config.guess, config/config.sub, config/elisp-comp,
8561         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
8562         * config/texinfo.tex, doc/standards.texi: Update from masters.
8564 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
8566         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
8567         it to eval.
8569 2003-05-21  Akim Demaille  <akim@epita.fr>
8571         * bin/autoupdate.in ($m4): Fix quotation.
8572         Reported by Martin Mokrejs.
8574 2003-05-19  Paul Eggert  <eggert@twinsun.com>
8576         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
8577         Remove non-ASCII characters.
8579 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
8581         * tests/semantics.at (AC_SEARCH_LIBS): New test.
8582         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
8583         AC_CHECK_HEADERS_NEW): New tests.
8585 2003-05-17  Akim Demaille  <akim@epita.fr>
8587         * lib/autoconf/functions.m4: Use the default includes so that
8588         memcmp be declared before being tested.
8589         Reported by Sander Niemeijer.
8590         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
8591         * doc/autoconf.texi (Default Includes): Document
8592         AC_INCLUDES_DEFAULT.
8594 2003-05-17  Akim Demaille  <akim@epita.fr>
8596         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
8597         * doc/autoconf.texi (Obsolete Macros): Adjust.
8598         Reported by Werner LEMBERG and Debian Bug 190886.
8600 2003-05-16  Akim Demaille  <akim@epita.fr>
8602         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
8603         user name space clashes.
8604         Reported by Bruno Haible.
8606 2003-05-16  Akim Demaille  <akim@epita.fr>
8608         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8609         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
8610         them uniform, and more robust to Perl special characters.
8611         Reported by Martin Mokrejs.
8613 2003-05-14  Akim Demaille  <akim@epita.fr>
8615         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
8617 2003-05-14  Akim Demaille  <akim@epita.fr>
8619         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
8620         linux/irda.h.
8622 2003-05-12  Akim Demaille  <akim@epita.fr>
8624         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
8625         message.
8626         From Matthias Andree.
8628 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
8630         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
8631         and truncate.
8633 2003-05-06  Akim Demaille  <akim@epita.fr>
8635         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
8636         longer updates aclocal.m4 if useless, (ii) if a file m4_included
8637         by aclocal.m4 is changed it might require the importing of another
8638         m4 extension file, i.e., aclocal must be run.
8640         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
8641         (&parse_args): Use --force with aclocal if required and supported.
8642         (&autoreconf_current_directory): Use &run_aclocal.
8644 2003-05-06  Akim Demaille  <akim@epita.fr>
8646         Lock autom4te's cache.
8648         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
8649         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
8650         argument instead of a file name, so that the request file remains
8651         open during the whole autom4te run.
8652         ($icache_file): New.
8653         (&freeze): Lock the $icache_file.
8655 2003-04-29  Derek Price  <derek@ximbiot.com>
8657         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
8658         seperator with m4_append_uniq().  It doesn't work.
8659         (AT_CLEANUP): Add `;' to end of at_help_all.
8660         (AT_INIT): Allow --keywords to be specified more than once.  When
8661         grepping $at_help_all for keywords, use the field and keyword
8662         seperators to ensure a complete keyword match.  Alter at_prev handling
8663         to support the new --keywords behavior.
8665 2003-04-27  Karl Berry  <karl@freefriends.org>
8667         * doc/autoconf.texi: Make the dir entries in the autoconf manual
8668         align better with others.  I also made some of the individual
8669         entries on one line, for brevity and to make it easier for me to
8670         sort my dir-example file in the Texinfo distribution :).
8672 2003-04-12  Jim Meyering  <jim@meyering.net>
8674         * NEWS: Mention the new macro.
8675         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
8676         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
8677         * tests/c.at: Test AC_C_RESTRICT.
8678         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
8680 2003-04-08  Akim Demaille  <akim@epita.fr>
8682         * bin/ifnames.in: Skip C++ comments.
8683         From Jeremy Yallop.
8685 2003-04-08  Akim Demaille  <akim@epita.fr>
8687         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
8688         From Ilya Zakharevich.
8690 2003-04-08  Akim Demaille  <akim@epita.fr>
8692         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
8693         net/if.h, stdlib.h.
8695 2003-04-01  Derek Price  <derek@ximbiot.com>
8697         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
8698         from Akim's checkin of 2003-03-29.
8700 2003-04-01  Derek Price  <derek@ximbiot.com>
8702         * tests/torture.at (Configuring subdirectories): Add missing
8703         close-quote for Akim's change from 2003-03-28.
8705 2003-04-01  Akim Demaille  <akim@epita.fr>
8707         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
8708         (AC, AT, MS): these.
8709         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
8710         New.
8711         Use them.
8712         * doc/Makefile.am (CLEANFILES): Adjust.
8713         (TEXI2DVI): Make it --batch.
8715 2003-03-31  Derek Price  <derek@ximbiot.com>
8717         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
8718         which removed the main loop.
8719         Thanks to Akim Demaille.
8721 2003-03-29  Akim Demaille  <akim@epita.fr>
8723         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
8724         that starts a GUI.
8725         From Ilya Zakharevich.
8727 2003-03-29  Akim Demaille  <akim@epita.fr>
8729         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
8730         documentation to read is Autoconf's.
8731         Suggested by Paul Eggert.
8733 2003-03-28  Akim Demaille  <akim@epita.fr>
8735         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
8736         reading the section "Present But Cannot Be Compiled" when the
8737         header causes problems.
8739 2003-03-28  Akim Demaille  <akim@epita.fr>
8741         * tests/torture.at (Configuring subdirectories): Require aclocal
8742         1.4, otherwise the test fails, as it does support configure.ac.
8743         This fixes the "test 40 failed" bug reports.
8745 2003-03-28  Akim Demaille  <akim@epita.fr>
8747         * doc/autoconf.texi (C Compiler): `#line' portability.
8748         From Paul Eggert and Nelson H. F. Beebe.
8750 2003-03-27  Derek Price  <derek@ximbiot.com>
8752         * lib/autotest/general.m4: Eliminate main loop and reorganize test
8753         layout in order to allow scripting around test groups.
8755 2003-03-27  Derek Price  <derek@ximbiot.com>
8757         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
8758         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
8759         use new diversions in preparation for accepting new arguments and
8760         allowing scripting around tests.
8761         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
8763 2003-03-26  Derek Price  <derek@ximbiot.com>
8765         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
8766         obsolete AC_HELP_STRING.
8767         (AC_HELP_STRING): AU_DEFUN to...
8768         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
8769         * tests/m4sh.at (AS_HELP_STRING): New test.
8771         * tests/acgeneral.at: Regenerated.
8773 2003-03-26  Derek Price  <derek@ximbiot.com>
8775         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
8776         sense.  Verbosify the diversion definitions comment.
8778 2003-03-26  Derek Price  <derek@ximbiot.com>
8780         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
8781         AS_PREPARE.
8783 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
8785         * doc/autoconf.texi (Present But Cannot Be Compiled):
8786         Grammar fixes and minor rewording. (trivial change)
8788 2003-03-06  Paul Eggert  <eggert@twinsun.com>
8790         Work around a problem noted by Nelson H. F. Beebe with coreutils
8791         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
8792         2002/05/09) rejects '#line 32768 "configure"' because the line
8793         number overflows.
8794         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
8795         #line directives.
8796         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
8797         * doc/autoconf.texi (Generating Sources): Document this.
8799 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
8801         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
8802         file name for the m4 program, when it has an "exe" file extension.
8803         DJGPP's error messages include the error code in brackets -
8804         remove the error code during normalization.
8806 2003-02-28  Akim Demaille  <akim@epita.fr>
8808         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
8810 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
8812         * doc/autoconf.texi (Limitations of Make): Remove the section
8813         about `$<' in inference rules, it was a bogus interpretation of
8814         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
8815         Tru64 make in the "target lookup" section.
8816         (Automake): Automake 1.5+ no longer requires special tools to be
8817         present on the developer's host.
8819 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
8821         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
8822         to a shell that can handle redirection or quoting correctly.
8823         Override SHELL with the shell detected by configure.
8824         Use of $^O suggested by Tim van Holder.
8825         * bin/autom4te.in (BEGIN): Likewise.
8826         * bin/autoreconf.in (BEGIN): Likewise.
8827         * bin/autoscan.in (BEGIN): Likewise.
8828         * bin/autoupdate.in (BEGIN): Likewise.
8829         * bin/ifnames.in (BEGIN): Likewise.
8831         * bin/ifnames.in: Add final newline to help and version messages.
8833         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
8834         to cope with DOS-style absolute paths, when constructing
8835         ${ac_make}.
8837         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
8838         When constructing paths with IFS=:, quote the path. If we're
8839         constructing a DOS-style absolute path, we don't want to split it
8840         on the colon.
8842         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
8843         in description.
8845 2003-02-25  Pavel Roskin  <proski@gnu.org>
8847         * bin/autoheader.in: Add missing newline when printing
8848         suggestion how change AC_DEFINE call.
8850 2003-02-24  Paul Eggert  <eggert@twinsun.com>
8852         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
8853         2002-09-01 patch by replacing "test -n" with "test -z".
8854         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
8855         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
8857         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
8858         to fix a mismatch between example and discussion.
8860 2003-02-24  Kevin Ryde  <user42@zip.com.au>
8862         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
8863         format starting with "-".
8865 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
8867         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
8868         is not portable inside Makefile.
8870 2003-02-20  Akim Demaille  <akim@epita.fr>
8872         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
8873         compiler says yeah, but preproc says nope, compiler is right.
8874         Conversely, prompt the reader to send a bug report to the
8875         maintainers of the package, not of Autoconf.
8877 2003-02-20  Klee Dienes  <kdienes@apple.com>
8879         * bin/autoreconf.in (autoreconf_current_directory): Properly
8880         handle an empty aclocal.m4.
8882 2003-02-20  Akim Demaille  <akim@epita.fr>
8884         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
8885         $ac_prefix_program.
8886         From Larry Jones.
8888 2002-12-23  Paul Eggert  <eggert@twinsun.com>
8890         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
8891         innocuous variant befor including <limits.h> or <assert.h>.  This
8892         works around a bug reported by Albert Chin: HP-UX 11i
8893         (and earlier versions) have a <limits.h> that declares
8894         gettimeofday and many other functions.
8896 2002-12-03  Paul Eggert  <eggert@twinsun.com>
8898         Version 2.57.
8900         * NEWS, configure.ac: Update version.
8902         * doc/fdl.texi: Upgrade to FDL version 1.2.
8904         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
8905         nontrivially in main's body, so that f's external declaration is
8906         not optimized away in AIX.  This should fix the bug reported by
8907         Martin Frydl in
8908         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
8910         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
8911         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
8912         defined, to support freestanding compilers.  This should fix the
8913         bug reported by Momchil Velkov in
8914         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
8916         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
8917         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
8918         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
8919         by Simon Josefsson in
8920         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
8922         * Makefile.maint (www-gnu): New macro.
8923         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
8924         the location has moved.
8926 2002-12-02  Martin Frydl  <martin@systinet.com>
8928         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
8929         \(.*\) match is too long and there is something more to be checked.
8930         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
8932 2002-11-15  Akim Demaille  <akim@epita.fr>
8934         Version 2.56.
8936         * config/install-sh: chmod +x.
8937         From Paul Eggert.
8938         * config/move-if-change: Indenting changes.
8939         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
8940         * configure.ac (AM_INIT_AUTOMAKE): here.
8941         Require 1.7.1.
8943 2002-11-14  Akim Demaille  <akim@epita.fr>
8945         Version 2.55.
8947         * config/config.guess, config/config.sub, config/install-sh:
8948         Update from masters.
8950 2002-11-14  Akim Demaille  <akim@epita.fr>
8952         * Makefile.maint: Sync with Bison, i.e.:
8953         (po-check): Scan .l and .y files instead of the
8954         .c and the .h files that they generate.  This fixes the bug
8955         reported by Tim Van Holder in:
8956         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
8957         Look for N_ as well as for _.  Try to avoid matching #define for
8958         N_ and _.
8959         From Paul Eggert.
8961 2002-11-14  Akim Demaille  <akim@epita.fr>
8963         * doc/autoconf.texi (C Compiler): Compiling several files at once.
8964         From Paul Eggert and Albert Chin-A-Young.
8966 2002-11-14  Akim Demaille  <akim@epita.fr>
8968         * doc/autoconf.texi (C Compiler): Solitary backslashes.
8969         From Paul Eggert and Albert Chin-A-Young.
8971 2002-11-14  Kevin Ryde  <user42@zip.com.au>
8973         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
8974         than assigning in main, to avoid HP cc +O3 optimizing it away.
8976 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
8978         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
8979         option.  Process --recheck after parsing all options.  Pass -q
8980         option to configure on --recheck.
8981         (AC_OUTPUT): Pass -q from configure to config.status.
8982         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
8983         arguments to record.
8984         * doc/autoconf.texi (config.status Invocation): Document
8985         config.status -q option.
8987 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
8989         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
8990         Makefile.in if Makefile.am exists.
8991         (output): Strip `.am' from Makefiles.  Don't
8992         output AC_CONFIG_FILES if no Makefiles were found.
8994 2002-11-07  Akim Demaille  <akim@epita.fr>
8996         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
8997         (local_updates): New.
8998         * Makefile.maint: Update, from CVS Bison.
8999         (local_updates): New.
9001 2002-11-06  Akim Demaille  <akim@epita.fr>
9003         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
9004         declaration in extern "C" too.
9005         Reported by Roberto Bagnara.
9007 2002-11-06  Akim Demaille  <akim@epita.fr>
9009         * tests/torture.at (Configuring subdirectories): Don't use grep
9010         -w.
9011         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
9012         Reported by Ezra Peisach.
9014 2002-11-05  Akim Demaille  <akim@epita.fr>
9016         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
9017         Remove.
9018         We _have_ to stop using the old compatibility scheme that tried to
9019         avoid useless backslashes because Libtool 1.4.3 contains a
9020         AC_DEFINE([error_t], [int],
9021         [Define to a type to use for \`error_t' if it is not
9022         otherwise available.])
9023         We _have_ to quote the single quote and backslashes with \.  The
9024         old compatibility scheme saw that ` was backslashed, and therefore
9025         did not quote the single quote.  Hence before this patch, Autoconf
9026         was not compatible with Libtool.
9028 2002-11-04  Paul Eggert  <eggert@twinsun.com>
9030         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
9031         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
9032         LC_NAME, LC_PAPER, LC_TELEPHONE.
9033         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
9035 2002-11-04  Akim Demaille  <akim@epita.fr>
9037         Version 2.54c.
9039         * Makefile.maint (update, cvs-update, po-update, do-po-update):
9040         New.
9041         * config/texinfo.tex: Update.
9043 2002-11-03  Akim Demaille  <akim@epita.fr>
9045         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
9046         from...
9047         (&autoreconf): here.
9048         ($help, $make, &parse_args, &autoreconf_current_directory):
9049         Support -m/--make.
9050         * doc/autoconf.texi (autoreconf Invocation): Adjust.
9052 2002-10-31  Bruno Haible  <bruno@clisp.org>
9054         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
9055         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
9056         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
9057         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
9058         to ac_cv_func_realloc_0_nonnull.
9059         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
9061 2002-10-31  Akim Demaille  <akim@epita.fr>
9063         The test suite was no longer checking for trailing envvars and files.
9065         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
9066         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
9068 2002-10-31  Akim Demaille  <akim@epita.fr>
9070         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
9071         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
9072         Make variable, not a shell variable.
9073         Suggested by Bruno Haible.
9075 2002-10-31  Akim Demaille  <akim@epita.fr>
9077         * bin/autom4te.in (load_configuration): Reject #args out of any
9078         language.
9080 2002-10-31  Akim Demaille  <akim@epita.fr>
9082         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
9083         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
9084         (_AC_RUN_IFELSE): Use it.
9085         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
9086         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
9087         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
9088         inline it.
9090 2002-10-30  Akim Demaille  <akim@epita.fr>
9092         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
9093         * doc/autoconf.texi (autom4te Invocation): Adjust.
9094         Suggested by Tim van Holder.
9096 2002-10-29  Paul Eggert  <eggert@twinsun.com>
9098         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
9099         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
9100         Problem reported by Bruno Haible.
9102 2002-10-29  Akim Demaille  <akim@epita.fr>
9104         * doc/autoconf.texi (Header Templates): Put also in words what the
9105         pictures says to assist free style readers.
9106         (Customizing autom4te): s/--cache=/--cache /.
9108 2002-10-29  Akim Demaille  <akim@epita.fr>
9110         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
9111         sys/wait.h.
9112         sparc_address_test returns void.
9113         Use it with an argument, as prototyped.
9114         From Bruno Haible.
9116 2002-10-29  Akim Demaille  <akim@epita.fr>
9118         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
9119         configure.in, not configure.ac.
9120         Reported by Bruno Haible.
9122 2002-10-29  Akim Demaille  <akim@epita.fr>
9124         * tests/torture.at (Deep Package): New test.
9125         (Configuring subdirectories): Don't use a testSubDir as Autotest
9126         now does it itself.
9128 2002-10-29  Akim Demaille  <akim@epita.fr>
9130         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
9131         * doc/autoconf.texi (Invoking autom4te): Rename as...
9132         (autom4te Invocation): this, for consistency with the other nodes.
9134 2002-10-29  Akim Demaille  <akim@epita.fr>
9136         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
9137         Reported by Ralf Corsepius.
9139 2002-10-29  Akim Demaille  <akim@epita.fr>
9141         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9142         characters is a back as an `obsolete' warning now.
9143         Reported by Ralf Corsepius.
9145 2002-10-28  Akim Demaille  <akim@epita.fr>
9147         * configure.ac: Bump to 2.54c.
9149 2002-10-28  Akim Demaille  <akim@epita.fr>
9151         Version 2.54b.
9153         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
9155 2002-10-28  Akim Demaille  <akim@epita.fr>
9157         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
9158         m4 executable names, and different GNU M4 version.
9159         Reported by Ezra Peisach and Paul Jarc.
9161 2002-10-27  Akim Demaille  <akim@epita.fr>
9163         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
9164         AC_RUN_IFELSE.
9166 2002-10-27  Akim Demaille  <akim@epita.fr>
9168         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
9169         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
9170         Die when a simple Fortran program cannot be compiled.
9171         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
9172         Issue a warning if no function is given.
9174 2002-10-27  Akim Demaille  <akim@epita.fr>
9176         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
9177         Move the documentation of AC_TRY_RUN to...
9178         (Obsolete Macros): here.
9179         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
9180         (autoconf Invocation): Remove the duplicates with `invoking
9181         autom4te'.
9182         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
9183         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9185 2002-10-27  Akim Demaille  <akim@epita.fr>
9187         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
9188         and AC_LANG_FUNC_LINK_TRY.
9189         (Examining Libraries): Rename as...
9190         (Running the Linker): this.
9191         Document AC_LINK_IFELSE.
9192         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
9193         (Obsolete Macros): here.
9194         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
9195         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
9196         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
9197         * lib/autoconf/headers.m4 (AC_USG): Likewise.
9199 2002-10-27  Akim Demaille  <akim@epita.fr>
9201         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
9203         More `check config.log' messages.
9205         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
9206         * doc/autoconf.texi (Printing Messages): Document it.
9207         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
9208         appropriate.
9209         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
9210         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
9211         (_AC_COMPILER_OBJEXT): Likewise.
9212         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
9213         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
9214         Likewise.
9215         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
9216         Likewise.
9218         Deprecate macros with unusual interfaces.
9220         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
9221         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
9223         Document the new ones, and proper style.
9225         * doc/autoconf.texi (Generating Sources): New.
9226         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
9227         (Examining Declarations): Rename as...
9228         (Running the Preprocessor): this.
9229         Document AC_PREPROC_IFELSE.
9230         (Examining Syntax): Rename as...
9231         (Running the Compiler): this.
9232         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
9233         (Obsolete Macros): Move the definition of AC_TRY_CPP and
9234         AC_TRY_COMPILE here.
9236 2002-10-27  Akim Demaille  <akim@epita.fr>
9238         Move sections around.
9240         * doc/autoconf.texi (Customizing autom4te): Remove a lost
9241         sentence.
9242         Reported by Burno Haible.
9243         (Language Choice): Now the first section of...
9244         (Writing Tests): this section.
9245         Make the introduction less C-centric.
9246         (Guidelines, Test Functions): Move to...
9247         (Writing Test Programs): this new section.
9248         (Test Programs): Merge into...
9249         (Run Time): this.
9251 2002-10-27  Akim Demaille  <akim@epita.fr>
9253         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
9254         autom4te.in that resulted in the need for two `make' runs.
9256 2002-10-27  Akim Demaille  <akim@epita.fr>
9258         * configure.ac: Bump to 2.54b.
9260 2002-10-25  Akim Demaille  <akim@epita.fr>
9262         Version 2.54a.
9264         * Makefile.maint: Update from the Coreutils.
9265         (AMTAR): Remove, obsolete.
9266         (automake_repo): Update to redhat.com.
9267         (cvs_file): New.
9268         Adjust to the fact that ansi2knr is now hosted by Automake.
9269         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
9270         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
9271         Update from masters.
9272         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
9273         autoscan.pre is not to be installed, and autoscan.list is not to
9274         be shipped.
9275         (CLEANFILES): Add autoscan.list.
9276         (autoscan.list): Disable the cache.
9277         * bin/Makefile.am: Include freeze.mk.
9279 2002-10-25  Akim Demaille  <akim@epita.fr>
9281         * bin/autom4te.in (&load_configuration): Take the file as
9282         argument.
9283         (&parse_args): Handle -C, --cache.
9284         ($help): Adjust.
9285         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
9286         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
9287         * doc/autoconf.texi (Invoking autom4te): Document --cache.
9288         Now a subsection of...
9289         (Using autom4te): This new section.
9290         (Customizing autom4te): New.
9291         (autom4te.cache): Adjust.
9293 2002-10-25  Akim Demaille  <akim@epita.fr>
9295         * doc/autoconf.texi (Generic Headers): More information on how to
9296         use AC_CHECK_HEADERS.
9298 2002-10-25  Akim Demaille  <akim@epita.fr>
9300         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
9301         Space changes.
9303 2002-10-25  Akim Demaille  <akim@epita.fr>
9305         * bin/autoscan.in (output): Output AC_PREREQ.
9306         (%needed_macros): Add AC_PREREQ so that configure.ac without one
9307         be reported.
9309 2002-10-23  Akim Demaille  <akim@epita.fr>
9311         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
9312         document _Bool.
9314 2002-10-23  Akim Demaille  <akim@epita.fr>
9316         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
9317         Reported by Peter Eisentraut.
9319 2002-10-23  Akim Demaille  <akim@epita.fr>
9321         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
9322         type _Bool.
9323         Fix a typo.
9324         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
9325         Eggert's recommandations.
9327 2002-10-22  Akim Demaille  <akim@epita.fr>
9329         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
9330         Bison, by Paul Eggert.
9331         * doc/autoconf.texi (Particular Headers): Document it.
9333 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
9335         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
9336         `$ac_configure_args'.
9338 2002-10-22  Akim Demaille  <akim@epita.fr>
9340         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
9341         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
9342         From Art Haas.
9344 2002-10-22  Akim Demaille  <akim@epita.fr>
9346         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
9348         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9349         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
9350         (_AC_CHECK_HEADER_NEW): Rename as...
9351         (AC_CHECK_HEADER): this.
9353 2002-10-22  Akim Demaille  <akim@epita.fr>
9355         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
9356         words about HP-UX cmp: it was actually a user-written cmp.
9358 2002-10-22  Akim Demaille  <akim@epita.fr>
9360         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
9361         are a few warnings.
9362         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9363         Quote for Perl '' strings, not "".
9364         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
9365         strings.
9367 2002-10-22  Akim Demaille  <akim@epita.fr>
9369         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9370         characters is a syntax warning now.
9371         (_AS_QUOTE): Accept $2 as list of characters to quote.
9372         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9373         Quote for Perl, not sh.
9374         * bin/autoheader.in: When $debug, report the file which is
9375         `do'ne.
9376         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
9377         `@', to tickle Perl's lists.
9378         Reported by Carlos Velasco.
9380 2002-10-18  Akim Demaille  <akim@epita.fr>
9382         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
9383         missing included files _are_ errors.
9384         Thanks to Alexandre Duret-Lutz.
9385         * tests/tools.at (autom4te cache): Adjust.
9386         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
9387         (AT_CHECK_M4SUGAR): Use it.
9388         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9389         Adjust.
9390         * tests/tools.at (autom4te): Now it does exit 1.
9392 2002-10-17  Akim Demaille  <akim@epita.fr>
9394         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
9395         Fixes the `AC_ARG_VAR' test failures.
9396         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
9397         * lib/freeze.mk (check-forbidden-patterns): New.
9398         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
9399         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
9400         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
9401         /dev/null.
9402         Reported months ago by H. Merijn Brand.
9404 2002-10-17  Akim Demaille  <akim@epita.fr>
9406         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
9408 2002-10-16  Paul Eggert  <eggert@twinsun.com>
9410         * Makefile.maint (wget_files): Remove ansi2knr.c.
9411         (ansi2knr.c-url_prefix): Remove.
9413 2002-10-16  Akim Demaille  <akim@epita.fr>
9415         Because of caching, some files that no longer exist and are no
9416         longer required can still cause errors.
9417         Reported by Alexandre Duret-Lutz.
9419         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
9420         to frozen files in @ARGV, as @ARGV must remain being a list of
9421         files.  Rather, at M4 call sites, use this...
9422         (&files_to_options): New function.
9423         (&freeze): Use &error.
9424         (&up_to_date): If a file that was included according to the cache
9425         is no longer there, then the output is out dated.
9426         (&main): Don't even check whether a file is up to date is anyway
9427         --force is given.
9428         * tests/tools.at (autom4te cache): New.
9430 2002-10-16  Akim Demaille  <akim@epita.fr>
9432         * bin/autoconf.as: Kill dead options.
9433         * bin/autoupdate.in (&parse_args): Kill old options.
9434         * bin/autoreconf.in (&parse_args): Remove dead options.
9435         Factor some code.
9436         (&autoreconf): Report the directories we enter *and leave*, so
9437         that error messages can be easily located, and use GNU Make
9438         format, so that Emacs' compile mode understands us.
9439         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
9440         if some file was changed instead of `print'.
9441         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
9442         (&parse_args): Remove the dead options.
9443         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
9444         autoheader's quiet mode.
9445         (AT_CHECK_AUTOUPDATE): Likewise.
9446         * tests/tools.at (autoupdate): Adjust.
9447         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9449 2002-10-11  Akim Demaille  <akim@epita.fr>
9451         No longer use CPP to check for the existing of headers: use CC to
9452         check for compilability.
9454         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9455         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
9456         (_AC_CHECK_HEADER_NEW): Rename as...
9457         (AC_CHECK_HEADER): this.
9459         * lib/autotest/general.m4 (AT_INIT): Include the failed test
9460         numbers in the Subject suggestion.
9462 2002-10-11  Akim Demaille  <akim@epita.fr>
9464         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
9465         Suggest using AC_CHECK_DECLS instead.
9467 2002-10-11  Akim Demaille  <akim@epita.fr>
9469         * tests/torture.at (AC_ARG_VAR): Have configure report the value
9470         of `precious'.
9472 2002-10-11  Akim Demaille  <akim@epita.fr>
9474         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
9475         file name to enable parallel executions.
9476         From Sam Varshavchik.
9478 2002-10-08  Akim Demaille  <akim@epita.fr>
9480         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
9481         aclocal invocation, as Gettext macros might not be visible to
9482         aclocal.
9483         Instead of blindly running autopoint, scan configure.ac (not the
9484         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
9485         Reported by Paul D. Smith.
9487 2002-10-08  Paul Eggert  <eggert@twinsun.com>
9489         Work around problems found when POSIXLY_CORRECT=1 is set.
9490         None of this seems to have anything to do with POSIX, really,
9491         but it's how Perl getopt works.
9492         * bin/autom4te.in (parse_args): Configure GetOpt with
9493         "permute", too.
9494         * doc/autoconf.texi (Invoking autom4te):
9495         --warning -> --warnings.
9496         * lib/autom4te.in: --warning -> --warnings.
9498 2002-09-28  Akim Demaille  <akim@epita.fr>
9500         * doc/autoconf.texi (autom4te.cache): New section.
9502 2002-09-28  Akim Demaille  <akim@epita.fr>
9504         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
9505         (Automake-preselections): Update.
9506         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
9508 2002-09-28  Akim Demaille  <akim@epita.fr>
9510         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
9511         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
9512         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
9513         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
9515 2002-09-28  Akim Demaille  <akim@epita.fr>
9517         * tests/torture.at (Configuring subdirectories): Be robust to
9518         users who use config.site to require for a cache: in this case,
9519         the two last configure runs, using two different sets of
9520         arguments, trigger a legitimate error.
9522 2002-09-28  Akim Demaille  <akim@epita.fr>
9524         * tests/m4sh.at (Functions Support, Functions and return Support):
9525         New.
9527 2002-09-28  Akim Demaille  <akim@epita.fr>
9529         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
9530         autoheader are Perl programs.
9531         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
9532         (autom4te): Specify that the sources are in the $srcdir.
9533         * doc/autoconf.texi (Installation Directory Variables): Adjust.
9535 2002-09-28  Akim Demaille  <akim@epita.fr>
9537         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
9538         (tm_zone): Move their rules to...
9539         * lib/autoconf/types.m4: here, using AN_ macros.
9540         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
9541         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
9542         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
9543         * lib/autoconf/programs.m4: here.
9544         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
9545         (ETAGS_FOR_AUTOCONF): New.
9546         Use it.
9548 2002-09-28  Akim Demaille  <akim@epita.fr>
9550         * lib/autoconf/autoscan.m4: New file.
9551         * lib/autoconf/autoconf.m4: Include it.
9552         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
9553         that were listed in the original autoscan.list.
9554         * lib/autoconf/headers.m4: Similarly with headers.
9555         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
9556         (.m4.m4f): Don't pass --prepend-include, since that's done by
9557         tests/autom4te itself.
9558         * lib/autoscan/Makefile.am: Include freeze.mk.
9559         (autoscan.list): New target --this file is no longer a source.
9560         (autoscan.pre): New file.
9562 2002-09-28  Akim Demaille  <akim@epita.fr>
9564         * bin/autoscan.in (@kinds): Make them singular.
9565         Adjust all uses.
9566         (&init_tables): When --debug, report the list of rules to ease
9567         tracking changes in autoscan.list.
9568         * lib/autoscan/autoscan.list (function): Strip comments, sort.
9570 2002-09-28  Akim Demaille  <akim@epita.fr>
9572         * lib/autoscan/functions, lib/autoscan/headers,
9573         * lib/autoscan/identifiers, lib/autoscan/makevars,
9574         * lib/autoscan/programs: Merge into...
9575         * lib/autoscan/autoscan.list: this.
9576         * bin/autoscan.in (&init_tables): Adjust.
9578 2002-09-28  Akim Demaille  <akim@epita.fr>
9580         * lib/autoscan/functions, lib/autoscan/headers,
9581         * lib/autoscan/identifiers, lib/autoscan/makevars,
9582         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
9583         `functions' line is now prefixed with `function:'.
9584         * bin/autoscan.in (&init_tables): Adjust.
9586 2002-09-28  Akim Demaille  <akim@epita.fr>
9588         From now on, autoscan files must always map a macro name to a
9589         word: there is no `default' macro for autoscan.
9591         * bin/autoscan.in (&init_tables): Reject entries with no macro at
9592         all.
9593         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
9594         explicit.
9596 2002-09-28  Akim Demaille  <akim@epita.fr>
9598         * bin/autoscan.in (%c_keywords): Remove.
9599         (&used): Keep only track of the words we might be interested in.
9600         (&output_kind): It is no longer needed to look for non active
9601         checks.
9603 2002-09-27  Akim Demaille  <akim@epita.fr>
9605         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
9606         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
9607         * lib/autoscan/functions: Adjust.
9608         * doc/autoconf.texi (Particular Functions): Adjust.
9610 2002-09-27  Akim Demaille  <akim@epita.fr>
9612         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
9613         from /tmp.
9614         Thanks to Bill Moseley and Paul Eggert.
9615         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
9616         the tmpdir must be created.
9617         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
9618         dir be in the build tree, instead of $TMPDIR.
9620 2002-09-27  Akim Demaille  <akim@epita.fr>
9622         * bin/autoscan.in: Improve the comments.
9623         (&parse_args): Drop obsolete undocumented options.
9624         (&output_kind): Output warnings.
9625         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
9626         (getwd): Trigger a warning.
9628 2002-09-26  Akim Demaille  <akim@epita.fr>
9630         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
9631         Reported by Ralf Corsepius.
9632         * doc/autoconf.texi (autoreconf Invocation): Likewise.
9634 2002-09-26  Akim Demaille  <akim@epita.fr>
9636         Single suffix rules and seperated dependencies are not portable.
9638         * doc/autoconf.texi (Installation Directory Variables): Update.
9639         (Limitations of Make): Some about `Single Suffix Rules and
9640         Separated Dependencies'.
9641         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9642         (ifnames, autoscan, autom4te): Un-factor into several rules.
9644 2002-09-25  Paul Eggert  <eggert@twinsun.com>
9646         * BUGS (Interoperability bugs): New section.  Mention libtool
9647         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
9649 2002-09-24  Paul Eggert  <eggert@twinsun.com>
9651         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
9652         make handles suffix-rules differently from GNU make.
9654         * bin/Makefile.am (SUFFIXES, .in): Remove.
9655         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
9656         Move the body of the old .in rule here.
9658 2002-09-16  Akim Demaille  <akim@epita.fr>
9660         i960 compilers create `b.out' files by default.
9661         Reported by Ralf Corsepius.
9663         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
9664         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
9666 2002-09-13  Paul Eggert  <eggert@twinsun.com>
9668         * doc/autoconf.texi (Particular Headers): Remove obsolete
9669         reference to `struct timezone' in the description of
9670         AC_HEADER_TIME.
9672 2002-09-13  Akim Demaille  <akim@epita.fr>
9674         Version 2.54.
9676         * config/config.sub, config/config.guess: Update.
9677         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
9678         * Makefile.am: Adjust.
9680 2002-09-13  Akim Demaille  <akim@epita.fr>
9682         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
9683         reading config.log when the compiler is rejected.
9684         Suggested by Guido Draheim.
9686 2002-09-13  Akim Demaille  <akim@epita.fr>
9688         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
9689         (chdir_init) might hang when stat'ing mounted directories.
9690         Reported by Vance Shipley.
9692 2002-09-12  Akim Demaille  <akim@epita.fr>
9694         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
9695         the lists.
9697 2002-09-12  Akim Demaille  <akim@epita.fr>
9699         * doc/autoconf.texi (Defining Symbols): Present two different
9700         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
9701         difference between 1 argument calls, and 2-3 argument calls.
9703 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
9705         * doc/autoconf.texi: Review grammar and punctuation.
9707 2002-09-11  Paul Eggert  <eggert@twinsun.com>
9709         * doc/autoconf.texi: Fix minor formatting, spelling, and
9710         grammatical typos.
9711         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
9712         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
9713         is obsolescent.
9715 2002-09-11  Akim Demaille  <akim@epita.fr>
9717         * doc/autoconf.texi (Questions): Rename as...
9718         (FAQ): this.
9719         (Defining Directories): New.
9721 2002-09-09  Akim Demaille  <akim@epita.fr>
9723         * doc/autoconf.texi (Making testsuite Scripts): Update.
9724         Suggested by Nishio Futoshi.
9726 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
9728         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
9729         plain `@' is wanted.
9731 2002-09-09  Akim Demaille  <akim@epita.fr>
9733         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
9734         `duplicates', since the algorithm was too naive and could keep
9735         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
9736         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
9737         Reported by Ralf Corsepius.
9738         * tests/torture.at (Configuring subdirectories): Exercise these
9739         cases.
9741 2002-09-09  Akim Demaille  <akim@epita.fr>
9743         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
9744         looking for a replacement file.
9745         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
9746         directory is relative.
9747         * doc/autoconf.texi (Generic Functions): Clarify the replacement
9748         directory definition.
9749         Reported by Andreas Schwab and Jim Meyering.
9751 2002-09-06  Akim Demaille  <akim@epita.fr>
9753         * doc/autoconf.texi (Setting Output Variables): Clarify what
9754         precious variables are.
9755         Suggested by Pontus Skoeld.
9757 2002-09-05  Akim Demaille  <akim@epita.fr>
9759         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9760         (ifnames, autoscan, autom4te): Since we don't only depend on
9761         configure.ac variables (such as VERSION etc.), but also on prefix
9762         and so forth, depend on Makefile, not configure.ac.
9763         Reported by Alexandre Duret-Lutz.
9764         * doc/autoconf.texi (Installation Directory Variables): Adjust.
9766 2002-09-05  Kevin Ryde  <user42@zip.com.au>
9768         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
9769         doesn't seem to be confined to ia64, just say "some versions".
9771 2002-09-04  Akim Demaille  <akim@epita.fr>
9773         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
9774         Automake 1.6c.
9775         * Makefile.am (maintainer-clean-local): Remove.
9776         (MAINTAINERCLEANFILES): Remove COPYING.
9778 2002-09-03  Paul Eggert  <eggert@twinsun.com>
9780         * doc/autoconf.texi (Configuration Commands): Remove obsolete
9781         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
9782         Brinkmann.
9784 2002-09-03  Akim Demaille  <akim@epita.fr>
9786         * configure.ac: Bump to 2.53d.
9787         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
9788         as of today, on Automake's team suggestion.
9790 2002-09-03  Akim Demaille  <akim@epita.fr>
9792         Version 2.53c.
9794 2002-09-02  Akim Demaille  <akim@epita.fr>
9796         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
9797         SITE_MACRO_DIR.
9798         * configure.ac: Disable SITE_MACRO_DIR.
9800 2002-09-02  Jim Meyering  <meyering@lucent.com>
9802         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
9803         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
9804         Also, tweak grammar: s/make sure to/be sure to/.
9806 2002-09-02  Paul Eggert  <eggert@twinsun.com>
9808         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
9809         directory names are generally preferable to physical names.
9811 2002-09-02  Akim Demaille  <akim@epita.fr>
9813         * lib/Autom4te/General.pm (&update_file): s/die/error/.
9814         Reported by Raja R. Harinath.
9815         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
9816         * bin/autoupdate.in: Use error instead of die.
9818 2002-09-01  Paul Eggert  <eggert@twinsun.com>
9820         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
9821         ordinary shell concatenation rather than echo+tr+sed command that
9822         runs afoul of a long-line-related sed bug in Solaris 8.
9824         * bin/autoheader.in (parse_args): --warning -> --warnings.
9826         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
9827         stdout, as traditional "ls" does.
9828         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
9829         _AC_COMPILER_EXEEXT_O): Likewise.
9830         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
9832         * bin/autoconf.as: Add --prepend-include option.  This patch was
9833         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
9834         but bin/autoconf.in is generated automatically from bin/autoconf.as.
9836         * bin/autoconf.in, configure: Regenerate.
9838         * doc/autoconf.texi (Special Shell Variables): Mention
9839         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
9841         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
9842         MAILPATH and set PS1, PS2, PS4 to default values, to work
9843         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
9844         For LC_ALL etc, first try to set to "C" as POSIX requires and as
9845         the Autoconf documentation specifies; fall back to "unset" only if
9846         this fails.  Use a shell for-loop for this rather than an m4 loop,
9847         to shorten the output script.
9849 2002-08-30  Paul Eggert  <eggert@twinsun.com>
9851         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
9852         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
9853         for the CDPATH problem.  Document PWD.
9854         (Limitations of Builtins): Document the problem that "cd $foo" and
9855         "ls $foo" may refer to different directories in shells conforming
9856         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
9857         example, since the old example is now out of date.
9859         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
9860         FOO" and "ls FOO" talk about different directories; this catches
9861         problems when POSIX 1003.1-2001 "cd" fails due to symlink
9862         spaghetti.
9864         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
9865         of rolling our own unset.
9866         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
9867         in practice we needn't worry about CDPATH if unset doesn't work.
9869         * Makefile.in, aclocal.m4, bin/Makefile.in,
9870         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
9871         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
9872         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
9873         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
9874         tests/Makefile.in: Regenerate with Automake 1.6.3.
9876         * config/config.guess, config/config.sub, config/mkinstalldirs:
9877         Update.
9879         * configure: Regenerate with self.
9881 2002-08-30  Kevin Ryde  <user42@zip.com.au>
9883         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
9884         default output.
9886 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9888         * bin/autom4te.in (Request::load): Correctly test for "do" read
9889         failure.
9891 2002-08-29  Akim Demaille  <akim@epita.fr>
9893         * lib/Autom4te/General.pm (&xqx): New.
9894         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
9895         hand, which is not portable.
9896         (&error): New.
9897         * bin/autom4te.in: Use them.
9898         Use &error instead of die.
9899         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9900         Adjust.
9902 2002-08-17  Paul Eggert  <eggert@twinsun.com>
9904         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
9905         default list of compilers to try, since it was long ago superseded
9906         by the ksh fc builtin.  Suggested by Steven G. Johnson.
9908 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
9910         * doc/autoconf.texi (Invoking autom4te): End the option table,
9911         fixing a bug introduced by the previous patch.
9912         (Limitations of Make): Add a 'target lookup' subentry in the
9913         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
9915 2002-07-29  Mark D. Roth  <roth@feep.net>
9917         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
9918         options and use $AUTOM4TE_PATH.
9919         * doc/autoconf.texi: Remove documentation of autom4te
9920         --include-envvar and --site-macro-subdir options and document
9921         use of $AUTOM4TE_PATH.
9922         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
9923         arguments from each language section.
9925 2002-07-29  Paul Eggert  <eggert@twinsun.com>
9927         * doc/install.texi: Include copyright symbol in copyright notice.
9929         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
9930         Replace with:
9931         (AM_MAKEINFOFLAGS): New macro.
9932         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
9933         * Makefile.am (INSTALL): Use the new macros.
9934         Use -o rather than --output, since "missing" does not grok --output.
9936 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
9938         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
9939         comments do not always work. Never trust the exit status of
9940         `make -k'.
9942 2002-07-24  Kevin Ryde  <user42@zip.com.au>
9944         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
9945         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
9947 2002-07-23  Paul Eggert  <eggert@twinsun.com>
9949         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
9950         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
9951         apparently treats PATH="nonexistent" as if it contained ".".
9952         Bug reported by Stefan `Sec' Zehl.
9954 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
9956         * doc/autoconf.texi (Limitations of Make): Mention the special
9957         handling of the obj/ directory by BSD make.
9959 2002-07-20  Kevin Ryde  <user42@zip.com.au>
9961         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
9962         backslashes.
9964 2002-07-19  Akim Demaille  <akim@epita.fr>
9966         * doc/autoconf.texi (Function Portability): `exit'.
9967         (Programming in M4sh): Ethymology of M4sh.
9969 2002-07-19  Akim Demaille  <akim@epita.fr>
9971         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
9973 2002-07-18  Akim Demaille  <akim@epita.fr>
9975         Version 2.53b.
9977 2002-07-18  Akim Demaille  <akim@epita.fr>
9979         * config/config.guess, config/config.sub: Update.
9981 2002-07-18  Akim Demaille  <akim@epita.fr>
9983         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
9984         Automake's parts.
9986         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
9987         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
9988         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
9990 2002-07-18  Akim Demaille  <akim@epita.fr>,
9991             Alexandre Duret-Lutz  <duret_g@epita.fr>
9993         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
9994         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
9996 2002-07-17  Russ Allbery  <rra@stanford.edu>
9998         * doc/autoconf.texi (Initializing configure): Clarify the
9999         description of the tarname default.
10001 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
10003         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
10004         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
10005         latter was not run.
10007 2002-07-17  Akim Demaille  <akim@epita.fr>
10009         * lib/Autom4te/General.pm (find_file): Browse the directories in
10010         the order they are given.
10012 2002-07-17  Akim Demaille  <akim@epita.fr>
10014         * tests/wrapsh.as, tests/wrappl.as: Merge into...
10015         * tests/wrapper.as: this.
10016         * tests/Makefile.am, configure.ac: Adjust.
10018 2002-07-17  Mark D. Roth  <roth@feep.net>
10020         * configure.ac: Add --enable-site-macro-dir option.
10021         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
10022         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
10023         --site-macro-subdir options.
10024         * bin/autoconf.in: Add --prepend-include option.
10025         * bin/autoheader.in: Add --prepend-include option.
10026         * bin/autoreconf.in: Add --prepend-include option.
10027         * bin/autoscan.in: Add --prepend-include option.
10028         * bin/autoupdate.in: Add --prepend-include option.
10029         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
10030         macro directory, remove note that include path directories are
10031         used in reverse order, and document --prepend-include option.
10032         * lib/autom4te.in: Use --prepend-include instead of --include.
10033         * tests/wrapsh.in: Use --prepend-include instead of --include.
10035 2002-07-17  Akim Demaille  <akim@epita.fr>
10037         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
10038         tarnames.
10039         * doc/autoconf.texi (Initializing configure): Adjust.
10041 2002-07-17  Akim Demaille  <akim@epita.fr>
10043         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
10044         (_AC_FUNC_MALLOC): New.
10045         (AC_FUNC_MALLOC): Use the latter.
10046         Define HAVE_MALLOC to 0 if broken.
10047         * doc/autoconf.texi (Particular Functions): Adjust.
10049 2002-07-16  Akim Demaille  <akim@epita.fr>
10051         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
10052         * doc/autoconf.texi (C Compiler): Adjust.
10054 2002-07-09  Akim Demaille  <akim@epita.fr>
10056         * doc/autoconf.texi: Properly set the ``header'' part.
10058 2002-07-09  Akim Demaille  <akim@epita.fr>
10060         * doc/autoconf.texi (Systemology): Some about Darwin.
10062 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
10064         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
10065         Don't use AC_REQUIRE in AU_DEFUN.
10067 2002-07-09  Art Haas  <ahaas@neosoft.com>
10069         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
10071 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
10073         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10074         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
10075         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
10076         so that Emacs setups GNU style for perl-mode and cperl-mode.
10078 2002-06-27  Paul Eggert  <eggert@twinsun.com>
10080         * config/install-sh: Quote $src.  Prefer || to test's -o option,
10081         as per "Limitations of Builtins".
10082         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
10083         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
10085         * tests/mktests.sh: Use grep instead of fgrep, as per
10086         "Limitations of Builtins".
10088 2002-06-15  Paul Eggert  <eggert@twinsun.com>
10090         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
10091         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
10092         so that we consistently test the just-built programs.
10093         * tests/wrappl.as: Likewise.
10095 2002-06-12  Paul Eggert  <eggert@twinsun.com>
10097         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
10098         name, so that symlinks to 'autoconf' work properly.  Bug reported
10099         by Bruno Haible.
10100         * bin/autoheader.in (AUTOM4TE): Likewise.
10101         * bin/autoreconf.in (autoconf, autoheader): Likewise.
10102         * bin/autoscan.in (autom4te): Likewise.
10103         * bin/autoupdate.in (autom4te): Likewise.
10105         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
10106         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
10107         on Solaris 2.5.1.
10109 2002-06-11  Andreas Schwab  <schwab@suse.de>
10111         * doc/autoconf.texi: Add more dir entries.
10113 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
10115         * bin/autom4te.in ($cache): Don't define using `$me', the name
10116         of the cache should not depend on the name under which autom4te
10117         was installed.
10119 2002-06-07  Akim Demaille  <akim@epita.fr>
10121         * tests/tools.at (autoconf: forbidden tokens, basic)
10122         (autoconf: forbidden tokens, exceptions): Adjust to the change of
10123         words in autom4te.in.
10125 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
10127         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
10128         _AC_LANG_PROGRAM_C_F77_HOOKS.
10130 2002-06-07  Akim Demaille  <akim@epita.fr>
10132         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
10133         rename as...
10134         (AC_REPLACE_FNMATCH): this.
10135         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
10136         AC_FUNC_FNMATCH_GNU.
10138 2002-06-07  Akim Demaille  <akim@epita.fr>
10140         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
10141         Rosetta Stone for Unix.
10143 2002-06-07  Akim Demaille  <akim@epita.fr>
10145         * bin/autom4te.in (warn_forbidden): When rejecting a token,
10146         suggest m4_pattern_allow.
10147         Suggested by Adam J. Richter.
10149 2002-06-07  Akim Demaille  <akim@epita.fr>
10151         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
10152         ac_config_libobj_dir.
10153         (AC_CONFIG_LIBOBJ_DIR): New.
10154         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
10155         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
10156         Use ac_config_libobj_dir to find the replacement files.
10157         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
10158         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
10159         (AC_REPLACE_FNMATCH_GNU): these.
10160         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
10161         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
10162         * tests/mktests.sh (ac_exclude_list): Don't check
10163         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
10165 2002-06-06  Paul Eggert  <eggert@twinsun.com>
10167         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
10168         if ln doesn't work.
10169         * NEWS: Likewise.
10170         * doc/autoconf.texi (Configuration Links): Likewise.
10171         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
10173 2002-06-05  Paul Eggert  <eggert@twinsun.com>
10175         * config/config.guess, config/config.sub, config/texinfo.tex:
10176         Update from masters.
10178 2002-05-29  Paul Eggert  <eggert@twinsun.com>
10180         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
10181         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
10182         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
10183         Likewise.
10184         * lib/autoconf/Makefile.am (check-local): Likewise.
10185         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
10186         * lib/autoconf/types.m4 (commentary only): Likewise.
10187         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
10188         * lib/autotest/Makefile.am (check-local): Likewise.
10189         * lib/m4sugar/Makefile.am (check-local): Likewise.
10190         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
10191         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
10193         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
10194         * doc/autoconf.texi (Particular Programs): Document them.
10195         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
10196         * NEWS: Likewise.
10198 2002-05-27  Paul Eggert  <eggert@twinsun.com>
10200         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
10201         * NEWS, doc/autoconf.texi (Particular Types): Document it.
10202         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
10203         instead of AC_MBSTATE_T, which never existed.
10205 2002-05-23  Akim Demaille  <akim@epita.fr>
10207         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
10208         version of Autoconf that is discussed.
10210 2002-05-22  Paul Eggert  <eggert@twinsun.com>
10212         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
10213         from the default list of compilers to try.  Suggested by
10214         Kate Hedstrom.
10215         * NEWS: Document the above.
10216         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
10218 2002-05-17  Paul Eggert  <eggert@twinsun.com>
10220         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
10221         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
10222         This improves on an earlier suggestion by H. Peter Anvin.
10224 2002-05-16  Paul Eggert  <eggert@twinsun.com>
10226         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
10227         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
10228         Both macros now accept an optional source-dir arg.
10229         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
10231         * NEWS: Document this.
10232         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
10234         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
10235         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
10236         not for GNU extensions; this undoes part of the 2000-11-03 change,
10237         reverting to 2.13-compatible behavior.
10238         Add new optional argument DIR.
10239         (AC_FUNC_FNMATCH_GNU): New macro.
10241         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
10243 2002-05-08  Paul Eggert  <eggert@twinsun.com>
10245         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
10246         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
10247         and it causes a 'test' syntax error if it fails.
10248         Bug reported by Stephen Gildea.
10250         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
10251         If prototypes are supported, use them to check this at compile-time,
10252         instead of trying to check it at run-time.  If we must do a run-time
10253         check, assume that setvbuf is standard when cross-compiling, as
10254         nonstandard setvbuf occurs only on ancient and unlikely hosts.
10255         Bug reported by Paul D. Smith.
10257         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
10258         argument specifying location of getloadavg.c.  This removes a
10259         FIXME.  This idea was taken from Jim Meyering's implementation in
10260         textutils.
10261         * doc/autoconf.texi (Particular Functions): Document this.
10262         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
10263         that's what the code does; this fixes a bug reported by
10264         Paul D. Smith.
10266 2002-05-03  Akim Demaille  <akim@epita.fr>
10268         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
10269         autopoint instead of gettextize.
10270         ($uses_alocal): Rename as...
10271         ($uses_aclocal): this.
10272         * doc/autoconf.texi (autoreconf Invocation): Adjust.
10273         Suggested by Bruno Haible.
10275 2002-05-03  Akim Demaille  <akim@epita.fr>
10277         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
10279 2002-04-29  Paul Eggert  <eggert@twinsun.com>
10281         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
10282         files to be 1 second older; just set them to be the same time.
10283         Also, sleep 1 second after the first aclocal, to work around
10284         problems with sub-second time stamps on the input files.
10286 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
10288         * doc/autoconf.texi: Mention "set -e -x" lossage
10289         under node "Limitations of Builtins".
10291 2002-04-29  Akim Demaille  <akim@epita.fr>
10293         * doc/install.texi: Better wording for setting variables when
10294         running configure.
10295         From Christian Cornelssen.
10297 2002-04-29  Akim Demaille  <akim@epita.fr>
10299         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
10300         of lack of $LINENO support, then the test will compare the $LINENO
10301         in testsuite vs. the lineno in the test file.  This is wrong, of
10302         course.
10303         Be sure to protect it.
10304         Reported by Patrick Welche.
10306 2002-04-25  Akim Demaille  <akim@epita.fr>
10308         * doc/autoconf.texi (Obsolete Macros): Typo.
10309         Reported by Vladimir Volovich.
10311 2002-04-25  Akim Demaille  <akim@epita.fr>
10313         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
10314         than some of the input files, hence, on the second run of aclocal,
10315         if some of its input are younger, make them older.
10316         Suggested by Paul Eggert.
10318 2002-04-25  Akim Demaille  <akim@epita.fr>
10320         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
10321         Thanks to Paul Eggert.
10323 2002-04-25  Akim Demaille  <akim@epita.fr>
10325         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
10326         and ac_subst_vars be sh variables containing the list of
10327         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
10328         DEFAULT diversion.
10329         (_AC_INIT_PREPARE): Use them to log them.
10330         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
10331         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
10332         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
10333         _AC_SUBST_FILES and _AC_SUBST_VARS.
10334         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
10336 2002-04-24  Akim Demaille  <akim@epita.fr>
10338         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
10339         autoheader, so that automake does not complain about a missing
10340         config.h.in that was to be created.
10342 2002-04-23  Akim Demaille  <akim@epita.fr>
10344         * bin/autoheader.in (parse_args): --warning takes an argument.
10345         Fixes PR/220.
10347 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
10349         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
10350         and bb.out when cleaning up.
10352 2002-04-22  Akim Demaille  <akim@epita.fr>
10354         Version 2.53a.
10356 2002-04-22  Akim Demaille  <akim@epita.fr>
10358         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
10360 2002-04-22  Akim Demaille  <akim@epita.fr>
10362         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
10363         comma.
10364         Reported by Gregory Giannoni.
10366 2002-04-22  Akim Demaille  <akim@epita.fr>
10368         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
10369         Fixes false failures on Darwin.
10371 2002-04-21  Paul Eggert  <eggert@twinsun.com>
10373         * TODO, bin/autoupdate.in, doc/autoconf.texi,
10374         lib/autoconf/general.m4, lib/autoconf/libs.m4,
10375         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
10376         tests/tools.at: Minor spelling and grammar fixes.
10378 2002-04-20  Paul Eggert  <eggert@twinsun.com>
10380         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
10381         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
10382         * lib/autotest/general.m4 (AT_INIT): Likewise.
10383         * tests/atgeneral.m4 (AT_INIT): Likewise.
10385 2002-04-19  Paul Eggert  <eggert@twinsun.com>
10387         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
10388         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
10389         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
10390         lib/autoconf/functions.m4, lib/autoconf/general.m4,
10391         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
10392         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
10393         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
10394         Minor spelling and grammar fixes.
10396         * doc/autoconf.texi: Follow the outline suggested in the GNU
10397         Sample Texts sections of the Texinfo 4.2 manual.  Most
10398         importantly, this makes sure that the copyright notices appear in
10399         all output formats.  You probably need Texinfo 4.2 to generate
10400         the manual now.
10402         Fix some bugs when using "$@" when there might be zero positional
10403         arguments in cases where this matters.
10405         * bin/autoconf.as: Rewrite so that the problem does not come up.
10406         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
10407         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
10408         * lib/autotest/general.m4 (AT_INIT): Likewise.
10410         * bin/autoheader.in: Use 'case' statement to work around problem.
10411         * bin/auto4mte.in: Likewise.
10412         * bin/autoreconf.in: Likewise.
10413         * bin/autoscan.in: Likewise.
10414         * bin/autoupdate.in: Likewise.
10415         * bin/ifnames.in: Likewise.
10417         * doc/autoconf.texi (Shell Substitutions): Document the problem.
10419         * lib/autotest/general.m4 (AT_INIT):
10420         Use Zsh alias to work around problem.
10421         * tests/atgeneral.m4 (AT_INIT): Likewise.
10423         * tests/c.at: We can't have zero arguments, so remove workaround
10424         that is not portable to Zsh.
10426 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
10428         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
10429         from aclocal.m4 too.
10431 2002-04-12  Akim Demaille  <akim@epita.fr>
10433         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
10435 2002-04-10  Akim Demaille  <akim@epita.fr>
10437         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
10438         workaround for ${1+"$@"}.
10439         * doc/autoconf.texi (Shell Substitutions): Explain it.
10440         From Oliver Kiddle and Peter Stephenson.
10442         Have M4sh perform minimal shell sanitizing.
10444         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
10445         part into...
10446         (_AS_PREPARE): this new macro.
10447         (AS_PREPARE): New.
10448         (AS_INIT): Invoke AS_SHELL_SANITIZE.
10449         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
10451         Adjust Autoconf and Autotest.
10453         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
10454         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
10455         * lib/autotest/general.m4 (AT_INIT): Likewise.
10456         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
10457         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
10458         AS_SHELL_SANITIZE.
10460         Use this M4sh to generate Autoconf's shell scripts.
10462         * tests/wrapsh.as: New, precursor of wrapsh.in.
10463         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
10464         on Autotest and M4sh.
10465         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
10466         (wrapsh.in): New target.
10467         * bin/autoconf.as: New, precursor of autoconf.in.
10468         (autoconf.in): New target.
10470 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
10472         * doc/autoconf.texi (Limitations of Make): Mention the issue
10473         with indented comments in rules.
10475 2002-04-09  Andreas Schwab  <schwab@suse.de>
10477         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
10478         ac_top_builddir when setting ac_abs_top_builddir.
10480 2002-04-06  Kevin Ryde  <user42@zip.com.au>
10482         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
10483         (Portable Shell): Cross reference to Systemology.
10485 2002-04-05  Akim Demaille  <akim@epita.fr>
10487         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
10488         directories when descending in a SUBDIRS.
10489         Reported by Ezra Peisach.
10491 2002-04-04  Andreas Schwab  <schwab@suse.de>
10493         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
10494         contains no literal separators.
10496 2002-04-03  Akim Demaille  <akim@epita.fr>
10498         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
10499         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
10500         Use dnl, not the KILL diversion.
10501         Extracted from...
10502         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
10503         (AC_CONFIG_LINKS): here.
10504         Adjust.
10505         Don't use the KILL diversion, as it kills spurious output, which
10506         results in failures being hidden.
10507         Use m4_defn where appropriate.
10508         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
10509         after the second argument.
10510         Use m4_defn.
10511         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
10512         syntax, as it is provided by M4sugar.
10513         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
10515 2002-04-03  Andreas Schwab  <schwab@suse.de>
10517         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
10518         expanded if $# <= 2.
10520         * bin/autoreconf.in (autoreconf): Run automake after rerunning
10521         aclocal.
10523 2002-04-03  Akim Demaille  <akim@epita.fr>
10525         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
10526         (_AC_COMPILER_EXEEXT_REJECT): New.
10527         Also recognize *.bb and *.bbg as compilation byproducts.
10528         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
10529         (_AC_COMPILER_OBJEXT): Use them.
10530         Fixes Debian #138666.
10532 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
10534         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
10536         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
10537         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
10538         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
10539         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
10540         (AC_C_CONST): Same.
10541         (AC_C_INLINE): Same.
10542         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
10543         * doc/autoconf.texi, NEWS: Document.
10544         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
10545         AC_C_CROSS.
10547 2002-04-02  Akim Demaille  <akim@epita.fr>
10549         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
10550         _AS_MKDIR_P_PREPARE.
10552 2002-03-28  Kevin Ryde  <user42@zip.com.au>
10554         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
10555         to avoid versions of HP C which don't allow that.
10557 2002-03-27  Paul Eggert  <eggert@twinsun.com>
10559         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
10560         (AS_SHELL_SANITIZE): Invoke it.
10561         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
10563 2002-03-26  Akim Demaille  <akim@epita.fr>
10565         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
10567 2002-03-26  Akim Demaille  <akim@epita.fr>
10569         * doc/autoconf.texi (Introduction): The GNATS base moved.
10571 2002-03-25  Paul Eggert  <eggert@twinsun.com>
10573         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
10574         as POSIX requires, as it doesn't work with Zsh.
10575         * doc/autoconf.texi (Assignments): Document the problem.
10577 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
10579         * doc/autoconf.texi (Limitations of Make): Mention more issue
10580         about VPATH, overriding of macros in sub-makes, and handling of
10581         SHELL.
10583 2002-03-21  Paul Eggert  <eggert@twinsun.com>
10585         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
10586         problem with here-document buffer boundaries.
10588         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
10589         when reinvoking the shell, to work around problems with installers
10590         who put strange things like "cd" commands in their environments.
10592 2002-03-19  Akim Demaille  <akim@epita.fr>
10594         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
10595         From Aaron Ucko.
10597 2002-03-19  Akim Demaille  <akim@epita.fr>
10599         * bin/autoscan.in (scan_file): Specify the location in `&used'
10600         invocations.
10601         From Nicolas Joly.
10603 2002-03-19  Akim Demaille  <akim@epita.fr>
10605         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
10606         From Nishio Futoshi.
10608 2002-03-19  Akim Demaille  <akim@epita.fr>
10610         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
10612 2002-03-18  Paul Eggert  <eggert@twinsun.com>
10614         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
10615         (Limitations of Usual Tools): Add mkdir section.
10617         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
10618         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
10619         back on AS_DIRNAME to compute prefixes otherwise; this is
10620         roughly what mkinstalldirs does.  That way, we need not have
10621         our own filename disassembler.  The old disassembler did not
10622         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
10624         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
10625         Create at_test_all by a series of assignments,
10626         not by a single assignment of a long string.  The latter causes ksh
10627         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
10628         presumably because of a buffer overrun.
10630 2002-03-14  Paul Eggert  <eggert@twinsun.com>
10632         * lib/autotest/general.m4 (at_times_skip):
10633         Renamed from at_times.  Now a boolean.
10634         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
10635         says 'times: not found'.
10637 2002-03-14  Akim Demaille  <akim@epita.fr>
10639         * bin/autoreconf.in (&study_gettextize): New.
10640         (&autoreconf): Handle newest gettextize.
10641         Rerun aclocal if needed.
10642         Suggested by Andreas Schwab.
10644 2002-03-13  Akim Demaille  <akim@epita.fr>
10646         * doc/autoconf.texi (Special Shell Variables): More about IFS.
10648 2002-03-13  Akim Demaille  <akim@epita.fr>
10650         * doc/autoconf.texi (Header Portability): New.
10651         Add information about stdint.h and inttypes.h from Paul Eggert.
10653 2002-03-13  Akim Demaille  <akim@epita.fr>
10655         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
10656         -p'.
10657         From Bob Proulx.
10659 2002-03-12  Akim Demaille  <akim@epita.fr>
10661         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
10662         m4_require.
10664 2002-03-11  Andreas Schwab  <schwab@suse.de>
10666         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
10667         does not do it if --with-lispdir is given.
10669 2002-03-08  Akim Demaille  <akim@epita.fr>
10671         Version 2.53.
10673 2002-03-08  Akim Demaille  <akim@epita.fr>
10675         * doc/autoconf.texi (Subdirectories): Clarify that the
10676         subdirectory should exist.
10678 2002-03-08  Akim Demaille  <akim@epita.fr>
10680         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
10682 2002-03-08  Akim Demaille  <akim@epita.fr>
10684         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
10685         aliases the actual variables, and modifications of the former
10686         affect the latter.
10688 2002-03-08  Akim Demaille  <akim@epita.fr>
10690         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
10691         because of C-c: have m4 output in tmp files, then mv them.
10693 2002-03-08  Akim Demaille  <akim@epita.fr>
10695         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
10696         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
10697         * bin/ifnames.in: Copyright update.
10699 2002-03-08  Akim Demaille  <akim@epita.fr>
10701         * doc/autoconf.texi (Invoking autom4te): New.
10703 2002-03-05  Akim Demaille  <akim@epita.fr>
10705         * doc/autoconf.texi (Specifying Names): Clarification suggested by
10706         Kevin Ryde.
10708 2002-03-05  Akim Demaille  <akim@epita.fr>
10710         Version 2.52i.
10712 2002-03-04  Akim Demaille  <akim@epita.fr>
10714         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
10715         * lib/autoconf/general.m4 (AC_INIT): More informative error
10716         message for LIBOBJ.
10718 2002-03-04  Akim Demaille  <akim@epita.fr>
10720         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
10721         parallel builds.
10723 2002-03-04  Akim Demaille  <akim@epita.fr>
10725         * doc/autoconf.texi (Transforming Names): Equality between target
10726         and host is irrelevant.
10727         (Specifying Names, Canonicalizing): Remove all references to the
10728         backward compatibility hooks.  Rather, collect them all into...
10729         (Hosts and Cross-Compilation): this new section.
10730         * doc/install.texi (System Type): Ditto.
10731         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
10732         that `--host' implies cross-compilation.
10734 2002-03-04  Akim Demaille  <akim@epita.fr>
10736         * doc/autoconf.texi (Evaluation Macros): New.
10737         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
10738         useless.
10739         (_m4_foreach): Define the variant with immediate evaluation so
10740         that it contains exactly the items, not an expression which
10741         evaluation is the current item.
10742         (m4_re_string, m4_re_word): Don't over quote them.
10744 2002-03-04  Akim Demaille  <akim@epita.fr>
10746         Instead of having stacking `shift's evaluated at the end, let
10747         `foreach' loops immediately evaluate them.
10749         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
10750         $*.  This is the n-th time I change my mind, but hopefully this is
10751         the last...
10752         (m4_lquote): New.
10753         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
10754         efficient.
10755         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
10756         it was only a hack for m4_text_wrap.
10757         (m4_car2): Remove, replaced by...
10758         (m4_cdr): New.
10759         (_m4_foreach): Adjust.
10760         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
10761         m4_bpatsubst for clarification.
10763 2002-03-04  Akim Demaille  <akim@epita.fr>
10765         * doc/autoconf.texi (Changequote is Evil): New.
10767 2002-03-03  Kevin Ryde  <user42@zip.com.au>
10769         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
10770         on old systems like SunOS.
10772 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
10774         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10775         lib/autoconf/functions.m4, lib/autoconf/general.m4,
10776         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
10777         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
10778         of messages.
10780 2002-02-28  Akim Demaille  <akim@epita.fr>
10782         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
10783         message to be sent.
10785 2002-02-28  Kevin Ryde  <user42@zip.com.au>
10787         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
10789 2002-02-25  Akim Demaille  <akim@epita.fr>
10791         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
10792         From Akinori Musha.
10794 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
10796         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
10797         translate \r\n to \n.
10799 2002-02-07  Akim Demaille  <akim@epita.fr>
10801         Version 2.52h.
10803 2002-02-07  Akim Demaille  <akim@epita.fr>
10805         Fix Autoconf PR/209.
10806         Also reported by Frank Denis.
10808         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
10810 2002-02-07  Akim Demaille  <akim@epita.fr>
10812         Fix Autoconf PR/207:
10813         AC_PREFIX_PROGRAM fails with dashed program names
10815         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
10816         variable when looking for the prefix program.
10817         Now it also works for shell variables.
10819 2002-02-07  Akim Demaille  <akim@epita.fr>
10821         * doc/autoconf.texi (Limitations of Builtins): More about
10822         case/esac.
10824 2002-02-06  Akim Demaille  <akim@epita.fr>
10826         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
10827         case/esac, some shells don't support it.
10828         Reported by Zack Weinberg.
10829         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
10831 2002-02-06  Akim Demaille  <akim@epita.fr>
10833         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
10834         sure not to introduce newlines in at_groups.
10835         * lib/autotest/Makefile.am (autotest.m4f): Typo.
10837 2002-02-06  Akim Demaille  <akim@epita.fr>
10839         * tests/torture.at (Configuring subdirectories): Skip if aclocal
10840         is not available.
10842 2002-02-05  Paul Eggert  <eggert@twinsun.com>
10844         * doc/autoconf.texi (Specific Compiler Characteristics):
10845         Describe HP-UX cc bug workaround more accurately.
10846         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
10847         not unsigned long.
10848         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
10849         cross-compilers, too.  This undoes some of the most recent change
10850         to this file.
10852 2002-02-05  Akim Demaille  <akim@epita.fr>
10854         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
10855         to make sure they are up to date when `check' is run.
10857 2002-02-05  Akim Demaille  <akim@epita.fr>
10859         * doc/autoconf.texi (Making testsuite Scripts): Document
10860         package.m4.
10862 2002-02-05  Akim Demaille  <akim@epita.fr>
10864         * lib/freeze.mk: New.
10866 2002-02-05  Akim Demaille  <akim@epita.fr>
10868         Implement `autom4te --freeze'.
10870         * bin/autom4te.in (&freeze): New.
10871         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
10872         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
10874 2002-02-05  Akim Demaille  <akim@epita.fr>
10876         * bin/autom4te.in (&parse_args): Implement `frozen files are
10877         optional are the sum of the previous files on the command line'.
10878         Also, pass `--reload-state=' on them, so...
10879         (handle_m4): don't.
10880         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
10881         (M4sh): Rely on M4sugar.
10882         (Autotest, M4sh, M4sugar): Use frozen files.
10884 2002-01-31  Akim Demaille  <akim@epita.fr>
10886         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
10887         * doc/autoconf.texi (Initializing configure): Adjust.
10889 2002-01-30  Akim Demaille  <akim@epita.fr>
10891         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
10892         alphanumeric to `-' instead of `_'.
10894 2002-01-30  Akim Demaille  <akim@epita.fr>
10896         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
10897         for plain code, the other for cross-compilation code.  The latter
10898         is now run with GCC only.
10899         * doc/autoconf.texi (Compilers and Preprocessors): New.
10901 2002-01-30  Akim Demaille  <akim@epita.fr>
10903         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
10904         values.
10905         * doc/autoconf.texi (Initializing configure): Explain how to
10906         change AC_INIT default values.
10908 2002-01-29  Akim Demaille  <akim@epita.fr>
10910         * tests/torture.at (Configuring subdirectories): Use configure.in,
10911         so that aclocal 1.4 works.
10912         Reported by Alexandre Duret-Lutz and Larry Schmitt.
10914 2002-01-28  Akim Demaille  <akim@epita.fr>
10916         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
10917         needs an argument.
10919 2002-01-28  Akim Demaille  <akim@epita.fr>
10921         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
10922         AUTOTEST_PATH *after* it was set.
10923         Don't put `.' in the PATH: the user should be precise and `./' if
10924         needed.  In addition, given that the test suite does some `cd', if
10925         `.' is in the path, the `tested programs' sections will report
10926         programs found in the test suite's directory, while during the
10927         tests (performed in their own directory), these programs are no
10928         longer visible.  In other words, the results is confusing and
10929         useless.
10930         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
10932 2002-01-24  Akim Demaille  <akim@epita.fr>
10934         Version 2.52g.
10936 2002-01-24  Akim Demaille  <akim@epita.fr>
10938         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
10939         * doc/autoconf.texi: Finally add Akim as an author.
10941 2002-01-24  Akim Demaille  <akim@epita.fr>
10943         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
10944         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
10945         Bourne. Use /bin/sh.
10946         From Andreas Buening.
10948 2002-01-24  Akim Demaille  <akim@epita.fr>
10950         * config/config.guess, config/config.sub, config/texinfo.tex:
10951         Update from masters.
10953 2002-01-24  Akim Demaille  <akim@epita.fr>
10955         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
10956         * config/auxdir.m4, config/cond.m4, config/depend.m4,
10957         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
10958         * config/missing.m4, config/sanity.m4, config/select.m4,
10959         * config/strip.m4: Remove, to ease sync'ing with any version of
10960         Automake.
10962 2002-01-24  Akim Demaille  <akim@epita.fr>
10964         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
10965         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
10966         Reported by Geir Ove Myhr.
10968 2002-01-21  Akim Demaille  <akim@epita.fr>
10970         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
10972 2002-01-21  Akim Demaille  <akim@epita.fr>
10974         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
10975         message on invalid options.
10976         * bin/autom4te.in (parse_args): Don't use
10977         Autoconf::General::getopt with non valid options.
10979 2002-01-17  Jim Meyering  <meyering@lucent.com>
10981         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
10982         $ac_cv_exeext so we don't use an old, invalid, cached value.
10984 2002-01-11  Akim Demaille  <akim@epita.fr>
10986         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
10987         Meyering.
10988         * doc/autoconf.texi (Function Portability): Document the strnlen
10989         limitation.
10990         (Particular Functions): Document AC_FUNC_STRNLEN.
10991         * lib/autoscan/functions: Adjust.
10993 2002-01-06  Akim Demaille  <akim@epita.fr>
10995         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
10996         package.m4, since is really depends upon configure.ac, not
10997         configure.
10998         * doc/autoconf.texi (testsuite Scripts): Adjust.
10999         * tests/Makefile.am (package.m4): New.
11000         EXTRA_DIST it since its a source.
11002 2002-01-06  Akim Demaille  <akim@epita.fr>
11004         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
11005         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
11006         and PACKAGE_BUGREPORT from here...
11007         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
11008         arguments.
11009         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
11010         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
11011         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
11012         * tests/tools.at (autoheader): Adjust.
11013         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
11015 2002-01-06  Akim Demaille  <akim@epita.fr>
11017         * bin/autoscan.in (scan_file): Use `&used'.
11019 2002-01-03  Akim Demaille  <akim@epita.fr>
11021         * doc/autoconf.texi (Output): Improved wording regarding use of
11022         AC_OUTPUT.
11023         From Olly Betts.
11025 2001-12-18  Kevin Ryde  <user42@zip.com.au>
11027         * doc/autoconf.texi (Function Portability): Add notes on sscanf
11028         sometimes needing writable input.
11030 2001-12-17  Jim Meyering  <meyering@lucent.com>
11032         * doc/autoconf.texi (New Macros): Tweak wording.
11034 2001-12-14  Akim Demaille  <akim@epita.fr>
11036         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
11037         trailing files, don't apply `-rf' to files which might not be
11038         created by configure (core, core.*, and *.core), but just `rm -f'.
11039         Suggested by Jonathan Kamens.
11041 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
11043         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
11045 2001-12-14  Akim Demaille  <akim@epita.fr>
11047         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
11049 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
11051         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
11052         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
11053         abs_srcdir, top_srcpath to abs_top_srcdir.
11054         (_AC_OUTPUT_FILES): Adjust.
11055         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
11056         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
11057         * tests/wrappl.in, tests/wrapsh.in: Adjust.
11059 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
11061         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
11062         C/Fortran linking on HP/UX, by extracting the Fortran library
11063         search path from the LPATH line in the $F77 -v output.
11065 2001-12-12  Kevin Ryde  <user42@zip.com.au>
11067         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
11068         forbidden file descriptors table.
11070 2001-11-26  Akim Demaille  <akim@epita.fr>
11072         * bin/autoscan.in (%c_keywords): Build it at top level.
11073         Map to 1 in order to simplify its uses.
11075 2001-11-26  Akim Demaille  <akim@epita.fr>
11077         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
11078         Remove $filepath, useless.
11079         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
11080         variables, they are really part of the tokens.
11081         Split the input line on spaces and then look for tokens.
11082         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
11083         because of `lex$U.$(OBJEXT)'.
11084         (&scan_files): Use "@list" instead of join.
11085         * doc/Makefile.am (CLEANFILES): Add *.fns.
11087 2001-11-26  Akim Demaille  <akim@epita.fr>
11089         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
11090         Remove, replaced by...
11091         * tests/wrappl.in: Be common for all the Perl executables.
11092         In particular autoscan and autoheader want -I.
11093         * configure.ac: Adjust.
11094         * lib/autoscan/headers: errno.h is portable.
11096 2001-11-26  Akim Demaille  <akim@epita.fr>
11098         * bin/autoscan.in (used): New.
11099         Use it.
11101 2001-11-26  Akim Demaille  <akim@epita.fr>
11103         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
11104         directives.
11105         (&scan_sh_file): Remove a duplicate pattern.
11106         (&check_configure_ac): Use long options.
11107         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
11109 2001-11-26  Akim Demaille  <akim@epita.fr>
11111         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
11112         Before, having a line containing the opening of a multi line
11113         comment made the whole line be ignored.
11115 2001-11-26  Akim Demaille  <akim@epita.fr>
11117         * doc/autoconf.texi (Using an Autotest Test Suite): New.
11118         (testsuite Scripts): Be one of its subsection.
11119         (Autotest Logs): New.
11121 2001-11-26  Akim Demaille  <akim@epita.fr>
11123         Test groups are now run two directories deeper.
11125         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
11126         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
11127         at_top_builddir.
11128         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
11129         top_srcdir, builddir and top_builddir.
11130         Use `at_*dir' relatively to the directory containing the
11131         suite, use `*dir' when relatively to the current group dir.
11133 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
11135         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
11136         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
11137         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
11138         spelling errors.
11140 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
11142         * doc/autoconf.texi (Using System Type): Add an example of `case
11143         $host' usage so people quit using `case $target' everywhere.
11145 2001-11-22  Akim Demaille  <akim@epita.fr>
11147         * doc/autoconf.texi (Installation Directory Variables): Englishoes
11148         spotted by Jim Meyering.
11150 2001-11-16  Paul Eggert  <eggert@twinsun.com>
11152         This patch implements a `long double' suggestion by Oliver Kiddle.
11154         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
11155         static, to catch errors if the value isn't known at compile-time
11156         and the compiler supports dynamic arrays.  Change its name from
11157         `_array_' to `test_array' to avoid potential name clashes.
11158         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
11159         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
11160         better than double.  Catch a bug in GCC 2.95.2 x86.
11161         * doc/autoconf.texi (C Compiler): Document the above.
11162         * NEWS: Likewise.
11164 2001-11-13  Akim Demaille  <akim@epita.fr>
11166         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
11167         hand.
11168         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
11170 2001-11-13  Akim Demaille  <akim@epita.fr>
11172         * lib/autotest/general.m4 (AT_INIT): After having run the test
11173         group, go back to the initial directory, not to at_suite_dir.
11175 2001-11-13  Akim Demaille  <akim@epita.fr>
11177         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
11178         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
11179         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
11180         option.
11181         (AT_CHECK_CONFIGURE): Use absolute paths.
11182         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
11183         The problem is still the old one: there is no means in M4 (that I
11184         know about) to create a defining macro, because there is no means
11185         to create `$1' etc., therefore, the defining macro ``swallows''
11186         all the arguments meant to the defined macro.
11188 2001-11-13  Akim Demaille  <akim@epita.fr>
11190         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
11191         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
11192         configure.ac.
11193         * tests/aclocal.m4: Remove, as it is no longer used.
11195 2001-11-13  Akim Demaille  <akim@epita.fr>
11197         * lib/autotest/general.m4: Change `tests?' into `groups?' in
11198         variable names when referring to a single test group, or to
11199         `suite' when referring to the whole test suite.
11200         `at_last_test' is removed: m4 compute at_format itself.
11201         (at_stdout, at_stder1, at_stderr): New variables.
11202         (AT_CHECK): Use them.
11204 2001-11-13  Akim Demaille  <akim@epita.fr>
11206         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
11207         in PATH.
11208         Create `testsuite.dir/003/run' instead of `testsuite.003'.
11209         Do it as soon as a test fails, don't wait till the end of the test
11210         suite.
11211         Don't remove $as_me.[0-9]*, since these files no longer exist.
11213 2001-11-13  Akim Demaille  <akim@epita.fr>
11215         * tests/tools.at: Use absolute paths, since we are no longer run
11216         in place.
11218 2001-11-13  Akim Demaille  <akim@epita.fr>
11220         Now that tests are running in their own private dir, there is no
11221         need to list the files to remove at the end of tests groups.
11223         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
11224         (AT_data_files, at_data_files): Remove.
11225         (AT_CLEANUP, AT_DATA): Simplify.
11226         (AT_INIT): Adjust.
11227         Remove the group dir if !debug && !failed.
11228         * tests/atspecific.m4: Adjust.
11230 2001-11-13  Akim Demaille  <akim@epita.fr>
11232         Start a new layout for Autotest: `testsuite' creates
11233         `testsuite.dir' in which the at-check-line etc. files are to be
11234         found, and `testsuite.dir/003' where the test group 3 is run.
11236         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
11237         at_check_line_file, at_format, at_test_normalized, at_group_dir
11238         are new variables.
11239         Create the directories.
11240         Use absolute paths for at- files.
11241         (AT_CHECK): Adjust.
11243 2001-11-11  Michael Matz  <matz@kde.org>
11245         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
11246         (m4_car2): New.
11247         (m4_car): Properly quote arguments.
11249 2001-11-13  Akim Demaille  <akim@epita.fr>
11251         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
11252         with stricter rules on LIBOBJS.
11254 2001-11-12  Paul Eggert  <eggert@twinsun.com>
11256         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
11257         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
11258         __PROTOTYPES too.
11260 2001-11-12  Akim Demaille  <akim@epita.fr>
11262         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
11264 2001-11-12  Akim Demaille  <akim@epita.fr>
11266         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11267         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
11268         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
11269         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
11270         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
11271         specify to what the macro should be defined (typically to 1).
11273 2001-11-12  Akim Demaille  <akim@epita.fr>
11275         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
11276         From Jim Meyering.
11278 2001-11-12  Akim Demaille  <akim@epita.fr>
11280         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11281         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
11282         definition used by Automake where LEX is +/- "${missing} lex" and
11283         `missing' itself contains variables.
11285 2001-11-12  Akim Demaille  <akim@epita.fr>
11287         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
11288         Now that M4sh pushes BODY, the comments were output at the end of
11289         the test suites.
11291 2001-11-08  Akim Demaille  <akim@epita.fr>
11293         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
11294         that we can trace macros from aclocal.m4.
11295         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
11296         obsoleted, and redirect to the former anyway.
11297         Reported by Ralf Corsepius.
11299 2001-11-08  Akim Demaille  <akim@epita.fr>
11301         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
11302         processed only if present.
11303         * tests/torture.at (Configuring subdirectories): Use autoreconf
11304         instead of successive calls to autoconf.
11305         Add a nonexistent subdirectory to exercise the patch above.
11306         Reported by Ralf Corsepius.
11308 2001-11-08  Kevin Ryde  <user42@zip.com.au>
11310         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
11311         doesn't accept .S files.
11313 2001-11-07  Akim Demaille  <akim@epita.fr>
11315         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
11316         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
11317         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
11318         * bin/autom4te.in (warn_forbidden): New.
11319         (handle_output): Use it.
11320         Read m4_pattern_forbid with messages.
11322 2001-11-05  Akim Demaille  <akim@epita.fr>
11324         * bin/autom4te.in (--normalize): Remove.
11325         * lib/autom4te.in: Adjust.
11327 2001-11-05  Akim Demaille  <akim@epita.fr>
11329         * tests/Makefile.am (testsuite): Rename this target as...
11330         ($(TESTSUITE)): this.
11331         From Nicolas Joly.
11333 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
11335         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
11336         the --prefix option, also remove it's argument.
11338 2001-11-05  Akim Demaille  <akim@epita.fr>
11340         * doc/autoconf.texi (testsuite Invocation): Update.
11341         (Writing testsuite.at): Update.
11343 2001-11-03  Akim Demaille  <akim@epita.fr>
11345         * doc/autoconf.texi: s/@code/@command/ where appropriate.
11347 2001-11-03  Akim Demaille  <akim@epita.fr>
11349         * lib/Autom4te/General.pm: (&catfile, &canonfile)
11350         (&file_name_is_absolute): New, wrappers around routines from
11351         File::Spec.
11352         Use and export them.
11353         (&find_configure_ac): Optionally take a directory where to look at.
11354         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
11355         the arguments.
11356         Default @ARGV to `.', not find_configure_ac.
11357         (&autoreconf): Argument is a directory.
11358         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
11359         * doc/autoconf.texi (autoreconf Invocation): Update.
11361 2001-11-03  Akim Demaille  <akim@epita.fr>
11363         * lib/Autom4te/General.pm (@export_vars, @export_subs)
11364         (@export_forward_subs): New.
11365         Add basename, dirname, and fileparse.
11366         (@EXPORT): Adjust.
11367         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
11368         Don't look for aclocal flags if we already know aclocal is not
11369         used.
11370         Move aclocal.m4t only if it exists.
11371         Reported by Ezra Peisach.
11373 2001-11-03  Akim Demaille  <akim@epita.fr>
11375         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
11376         passed on command line, defaulting to ./configure.ac if present.
11377         (&maybe_autoreconf, File::Find): Remove, unused.
11378         (&autoreconf): If autoconf is not used, don't try to trace.
11380 2001-11-02  Akim Demaille  <akim@epita.fr>
11382         * configure.ac: Bump to 2.52g.
11384 2001-11-02  Akim Demaille  <akim@epita.fr>
11386         Version 2.52f.
11388 2001-11-02  Akim Demaille  <akim@epita.fr>
11390         * config/config.guess, config/config.sub, doc/standards.texi:
11391         * config/lispdir.m4: Update from masters.
11392         * configure.ac: Bump to 2.52f.
11394 2001-11-02  Akim Demaille  <akim@epita.fr>
11396         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
11397         Don't run aclocal when aclocal.m4 is not from aclocal.
11398         From Ezra Peisach.
11399         Don't run libtoolize and gettextize if --install is not given.
11401 2001-11-01  Paul Eggert  <eggert@twinsun.com>
11403         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
11404         be invoked before _AS_LINENO_PREPARE.
11405         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
11406         than character ranges.
11408         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
11409         invoking AS_BASENAME.  Set the locale variables to 'C' if
11410         possible, as POSIX requires this to get the traditional
11411         behavior.
11412         * doc/autoconf.texi (Special Shell Variables): Describe the above.
11414 2001-10-31  Paul Eggert  <eggert@twinsun.com>
11416         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
11417         with {}, as that triggers a bug in Bash 2.05.
11419         (_AS_LINENO_PREPARE): Use Sed rather than
11420         Awk.  Fix the sed prepass to work even if there are multiple
11421         instances of $LINENO on the same line.  Do not substitute for
11422         other variables like $LINENOT.  Do not check file dates; such a
11423         check is unreliable on sufficiently fast machines, and removing
11424         the check makes the code simpler and more reliable.  Check for
11425         output and chmod failures.
11427         * doc/autoconf.texi (Special Shell Variables): Document
11428         the above.
11430 2001-10-31  Akim Demaille  <akim@epita.fr>
11432         * tests/Makefile.am (atconfig): Remove this target, Automake
11433         handles it now.
11435 2001-10-31  Akim Demaille  <akim@epita.fr>
11437         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
11438         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
11439         provided, while it is optional.
11440         * configure.ac: Adjust.
11442 2001-10-26  Paul Eggert  <eggert@twinsun.com>
11444         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
11445           lib/Autom4te/Struct.pm:
11446         Require Perl 5.005_03 instead of just 5.005, as some tests fail
11447         with 5.005_02.
11449         * doc/autoconf.texi (Special Shell Variables): Document some
11450         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
11452         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
11453         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
11454         eval $LINENO is not portable in practice.
11456 2001-10-24  Akim Demaille  <akim@epita.fr>
11458         * lib/Autom4te/General.pm (backname): New.
11460 2001-10-24  Akim Demaille  <akim@epita.fr>
11462         * m4/: Remove, merged into...
11463         * config/: here.
11465 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
11467         * doc/autoconf.texi (Shellology): Mention the problems with bash
11468         2.05's use of ANSI quoting in its `set' builtin.
11470 2001-10-22  Paul Eggert  <eggert@twinsun.com>
11472         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
11473         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
11474         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
11475         POSIX decided to standardize on the int flavor of strerror_r.
11476         Always do char* test, as there's no reason not to.
11477         Assign to a char* var, to catch strerror_r that returns int*.
11479         * doc/autoconf.texi (Particular Functions):
11480         Document the above changes.  Also, document the fact that
11481         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
11483         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
11485 2001-10-20  Akim Demaille  <akim@epita.fr>
11487         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
11488         the executable was missing from the log.
11490 2001-10-20  Akim Demaille  <akim@epita.fr>
11492         * lib/Autom4te/General.pm (&update_file): If destination is
11493         unchanged, remove the source.
11494         (&up_to_date_p): Don't be verbose, be debug.
11495         * bin/autoreconf.in: No longer support --m4dir.
11496         (&autoreconf): Display the full path of the configure.ac we are
11497         studying.
11498         Trace it only once.
11499         Be sure to honor --force with gettextize.
11500         Always run aclocal.
11501         * doc/autoconf.texi: Adjust.
11503 2001-10-20  Akim Demaille  <akim@epita.fr>
11505         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
11506         Remove, dead.
11507         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
11508         `intl' is already present, as it refuses unless --force.
11509         (&parse_args): Use -I, --include instead of the old Autoconf
11510         options.
11511         ($localdir, $autoconf_dir): Remove.
11512         (@include): New.
11513         (&maybe_autoreconf): New, to preserve $_ for File::Find.
11515 2001-10-19  Jens Petersen  <petersen@redhat.com>
11517         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
11518         * doc/autoconf.texi (Particular Programs): Likewise.
11520 2001-10-19  Akim Demaille  <akim@epita.fr>
11522         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
11523         file in @configure_input@.
11524         Don't mention `automatically' in addition to `generated'.
11525         * tests/torture.at (#define header templates): Adjust.
11527 2001-10-19  Akim Demaille  <akim@epita.fr>
11529         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
11530         comment, explain how to install automatic mode selection.
11531         From Russ Allbery.
11533 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
11535         * bin/autoreconf.in (autoreconf): Display the path to the
11536         configure.ac being studied.
11538 2001-10-18  Paul Eggert  <eggert@twinsun.com>
11540         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
11541         long, to work around a bug in the HP C compiler version HP92453-01
11542         B.11.11.23709.GP.
11544         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
11545         (AS_BASENAME_EXPR): New macro.
11546         (AS_BASENAME_SED): Do not assume GNU sed semantics.
11547         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
11548         and fall back on 'sed' only if the other two fail.  This makes
11549         AS_BASENAME act more like AS_DIRNAME.
11550         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
11551         contains white space.
11552         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
11553         Use AS_DIRNAME, since I think it's now DOS-friendly.
11554         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
11555         Allow "dirname //FOO" to return either / or //, as POSIX allows
11556         either behavior.
11558 2001-10-10  Akim Demaille  <akim@epita.fr>
11560         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
11561         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
11562         From Eric Sharkey.
11564 2001-10-10  Akim Demaille  <akim@epita.fr>
11566         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
11567         m4_define, since...
11568         (_AS_ECHO_N): AS_REQUIREs it.
11570 2001-10-10  Akim Demaille  <akim@epita.fr>
11572         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
11573         (AC_INCLUDES_DEFAULT): Move to...
11574         * lib/autoconf/headers.m4: here.
11575         * lib/autoconf/types.m4: Comment changes.
11576         * doc/autoconf.texi: Specify where the default includes are used
11577         in the macro prototypes.
11579 2001-10-09  Akim Demaille  <akim@epita.fr>
11581         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
11582         transition code.
11584 2001-10-08  Akim Demaille  <akim@epita.fr>
11586         * bin/autoreconf.in (&autoreconf): Remove debugging code.
11587         (&parse_args): Pass verbosity/debugging options to subtools when
11588         --debug, not when --verbose.
11589         * lib/autom4te.in (Autoreconf-preselections): New.
11590         (Autoconf): Use it.
11592 2001-10-08  Akim Demaille  <akim@epita.fr>
11594         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
11596 2001-10-08  Akim Demaille  <akim@epita.fr>
11598         * doc/autoconf.texi (autoreconf Invocation): Adjust.
11599         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
11601 2001-10-08  Akim Demaille  <akim@epita.fr>
11603         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
11604         (Syntax of the shell scripts): Don't.
11605         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
11606         bother with $force since...
11607         * lib/Autom4te/General.pm: does.
11609 2001-10-08  Akim Demaille  <akim@epita.fr>
11611         * bin/autoreconf.in: Rewrite in Perl.
11612         * configure.ac: Adjust.
11613         * lib/Autom4te/General.pm (&up_to_date_p): New.
11614         * bin/autom4te.in (&up_to_date_p): Use it.
11615         Rename as...
11616         (&up_to_date): this.
11618 2001-10-08  Akim Demaille  <akim@epita.fr>
11620         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
11621         (m4_list_cmp): Use $0 to reinvoke yourself.
11622         (m4_patsubsts): New.
11623         (m4_strip, m4_version_unletter): Use it.
11624         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
11626 2001-10-08  Akim Demaille  <akim@epita.fr>
11628         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
11629         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
11630         * lib/autoconf/types.m4, lib/autotest/general.m4,
11631         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
11632         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
11633         m4_bregexp, m4_bpatsubst, and m4_bmatch.
11634         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
11636 2001-10-08  Akim Demaille  <akim@epita.fr>
11638         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
11640 2001-10-08  Akim Demaille  <akim@epita.fr>
11642         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
11643         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
11644         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
11645         * tests/tools.at, tests/m4sh.at: Use it.
11646         * tests/m4sh.at: Don't rely on Autoconf macros.
11647         (DIRNAME_TEST): Also exercise the expr variant.
11648         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
11649         preferred M4sugar extension is now `.4s'.
11650         * tests/README: Remove.
11652 2001-10-08  Akim Demaille  <akim@epita.fr>
11654         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
11655         (m4_provide_if): this.
11656         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
11657         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
11658         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
11659         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
11661 2001-10-08  Akim Demaille  <akim@epita.fr>
11663         Use `add-log-current-defun-function' for ChangeLog creation.
11664         Suggested by Tom Tromey.
11666         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
11667         (autotest-mode): Adjust.
11668         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
11669         'comment-region onto `C-c ;'.
11670         Comments are `#', not `dnl'.
11671         (autoconf-current-defun): New.
11672         (autoconf-font-lock-keywords): Recognize `m4_defun'.
11674 2001-10-08  Akim Demaille  <akim@epita.fr>
11676         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
11677         * lib/m4sugar/m4sh.m4: here.
11678         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
11679         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
11680         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
11681         include handle the m4_pattern_*, no longer push the
11682         BODY diversion nor set the /bin/sh line, AS_INIT does it.
11683         * lib/autotest/general.m4 (AT_INIT): Likewise.
11684         * tests/base.at: Adjust the tests to use AS_INIT.
11685         * tests/tools.at (AT_DATA_FORBIDDEN): New.
11686         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
11687         Autoconf.
11689 2001-10-07  Paul Eggert  <eggert@twinsun.com>
11691         * doc/autoconf.texi (config.status Invocation):
11692         CONFIG_SHELL defaults to a shell that supports LINENO if available.
11694         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
11695         shell does not support LINENO, and if CONFIG_SHELL is unset or
11696         empty, and if we can find a shell that does support LINENO,
11697         then set CONFIG_SHELL to that shell and then re-execute
11698         ourselves with CONFIG_SHELL.
11700 2001-10-05  Paul Eggert  <eggert@twinsun.com>
11702         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
11703         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
11704         build of $(TESTSUITE).
11706 2001-10-05  Akim Demaille  <akim@epita.fr>
11708         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
11709         iff we are a bareword.
11710         Reported by Raja R Harinath.
11712 2001-10-05  Akim Demaille  <akim@epita.fr>
11714         * tests/m4sh.at (LINENO): New.
11715         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
11716         PATH_SEPARATOR before using it.
11717         Fix the absolute path case/esac pattern.
11718         Provide $0 as fallback for as_myself.
11719         Reported by Raja R Harinath.
11721 2001-10-05  Akim Demaille  <akim@epita.fr>
11723         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
11724         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
11726 2001-10-05  Akim Demaille  <akim@epita.fr>
11728         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
11729         (AS_SHELL_SANITIZE): here.  Use it.
11730         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
11731         From Paul Eggert.
11733 2001-10-04  Akim Demaille  <akim@epita.fr>
11735         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
11736         combination of Awk and sed to replace $LINENO.
11738 2001-10-02  Paul Eggert  <eggert@twinsun.com>
11740         * doc/autoconf.texi (Limitations of Builtins): You can't use
11741         "source"; it's not portable.  Remove confusing and
11742         somewhat-incorrect example involving "." and "/".
11744         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
11745         compatibility with POSIX shells.
11747 2001-10-02  Akim Demaille  <akim@epita.fr>
11749         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
11750         instead of exec'ing to preserve $0 and $@.
11752 2001-10-01  Akim Demaille  <akim@epita.fr>
11754         * tests/testsuite (AT_INIT) <at_pass_list>: New.
11755         Don't run twice the same test.
11757 2001-10-01  Akim Demaille  <akim@epita.fr>
11759         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
11760         No longer output the list of tests.
11761         <--list>: New option.
11762         <--full-help>: Remove.
11763         Complete the short/long options duality.
11764         Various small adjustments.
11766 2001-10-01  Akim Demaille  <akim@epita.fr>
11768         * doc/autoconf.texi: Use @kbd for user input.
11769         Always use `$' as shell prompt.
11771 2001-09-30  Paul Eggert  <eggert@twinsun.com>
11773         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
11774         Don't use nested parenthesization.  This patch was originally
11775         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
11776         but somehow it didn't get incorporated then.
11777         * doc/autoconf.texi (Limitations of Usual Tools):
11778         Clarify remark about sed and nested parenthesization.
11780         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
11781         Report an error if the size cannot be determined even though
11782         the type exists.
11783         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
11784         Check for `expr' arithmetic overflow, and for compilation failure,
11785         and invoke a new argument $4 if either is discovered.
11786         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
11787         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
11789 2001-09-28  Akim Demaille  <akim@epita.fr>
11791         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
11792         * m4/lispdir.m4: New.
11793         * aclocal.m4, configure.ac: Adjust.
11795 2001-09-28  Akim Demaille  <akim@epita.fr>
11797         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
11798         (AT_TESTED): this.
11799         (AT_INIT): More the wrapped section to where it will be expanded.
11800         Output `AT_tested' only when existing.
11801         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
11803 2001-09-27  Akim Demaille  <akim@epita.fr>
11805         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
11806         generates too many bug reports.
11808         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
11809         status when executing the ACTION-IF-FALSE.
11810         * tests/base.at (AC_TRY_*): Rename as...
11811         (AC_TRY_COMMAND): this.
11812         (AC_RUN_IFELSE): New.
11813         * tests/compile.at (Extensions, C keywords)
11814         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
11815         (Broken/missing compilers, AC_PROG_CPP with warnings)
11816         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
11817         * tests/c.at (Extensions, C keywords)
11818         (Broken/missing compilers, AC_PROG_CPP with warnings)
11819         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
11820         (AC_PROG_CPP requires AC_PROG_CC): here and...
11821         * tests/fortran.at (GNU Fortran 77): there.
11822         * doc/autoconf.texi (autoconf Invocation): Fix the example:
11823         AC_TRY_RUN is about compilation, not shell commands.
11824         (Test Programs): AC_TRY_RUN works as used to be advertised.
11826 2001-09-27  Akim Demaille  <akim@epita.fr>
11828         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
11829         Raja R Harinath:
11830         Be sure to detect when $LINENO always returns the same value.
11831         Look for the original script, basename($0) is certainly not
11832         enough.
11833         Pass the CLI arguments to `$as_me.lineno'.
11835 2001-09-25  Akim Demaille  <akim@epita.fr>
11837         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
11838         Be sure the close and reopen the LOG fd before and after using tee
11839         to extend the log.
11840         <at_tests_pattern>: Adjust to the new format of at_help_all.
11842 2001-09-23  Akim Demaille  <akim@epita.fr>
11844         * bin/autom4te.in (parse_args): There can be several invocations
11845         of --language now.
11847 2001-09-23  Akim Demaille  <akim@epita.fr>
11849         * doc/autoconf.texi (Top): Wrap in @ifnottex.
11851 2001-09-23  Akim Demaille  <akim@epita.fr>
11853         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
11854         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
11855         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
11856         builddir, buildpath, top_builddir, and top_buildpath.
11857         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
11858         the current directory.
11859         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
11860         variables *before* changing the current directory.
11861         Skip nonexistent dirs.
11862         * doc/autoconf.texi (Preset Output Variables): Document these
11863         variables.
11865         * lib/autotest/general.m4: Do not reset AT_victims.
11866         Don't compute at_srcdir nor at_top_srcdir.
11868         * tests/tools.at: Hence use top_srcdir.
11870         * tests/Makefile.am, tests/autoconf, tests/autoheader,
11871         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
11872         Remove.
11873         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
11874         * tests/wrapsh.in, tests/autoupdate.in: New.
11875         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
11876         * configure.ac: Build the position independent wrappers.
11878         * man/Makefile.am: Now that test wrappers are position
11879         independent, use them and drop dark envvar magic.
11881 2001-09-23  Akim Demaille  <akim@epita.fr>
11883         * doc/autoconf.texi (Common Shell Constructs): Rename as...
11884         (Programming in M4sh): this.
11885         Promote to @section.
11887 2001-09-23  Akim Demaille  <akim@epita.fr>
11889         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
11890         Pass $at_debug_args to the rerun test suite.
11891         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
11892         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
11893         From Paul Eggert.
11895 2001-09-23  Akim Demaille  <akim@epita.fr>
11897         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
11899 2001-09-23  Akim Demaille  <akim@epita.fr>
11901         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
11902         over-escaping.
11904 2001-09-23  Akim Demaille  <akim@epita.fr>
11906         * lib/Autom4te/General.pm (&debug): New.
11907         * bin/autom4te.in ($language): Move to...
11908         (parse_args): here.
11909         Handle --language in languages.
11910         * lib/autom4te.in (Automake-selections, Autoheader-selections)
11911         (Autoscan-selections): New.
11912         (Autoconf): Adjust.
11914 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
11916         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
11917         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
11918         to match current versions from CVS Automake.
11920 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
11922         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
11923         for $LINENO.
11925 2001-09-22  Akim Demaille  <akim@epita.fr>
11927         * lib/autoconf/autotest.m4: Create `package.m4'.
11928         * tests/Makefile.am (package.m4): Remove.
11930 2001-09-22  Akim Demaille  <akim@epita.fr>
11932         Rely on `$LINENO' when possible instead of `__oline__'.
11934         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
11935         `$LINENO' support replacement when not supported.
11936         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
11937         them explicitly to be sure they are not output before this section
11938         (via m4_require).  Cosmetic only.
11939         * lib/autoconf/c.m4, lib/autoconf/general.m4,
11940         * lib/autoconf/programs.m4: Replace all the occurrences of
11941         `__oline__' with `$LINENO'.
11942         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
11944 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
11946         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
11947         character (u: -> ue) in a code comment.
11948         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
11949         it works.
11951 2001-09-21  Akim Demaille  <akim@epita.fr>
11953         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
11954         Suggested by Jim Meyering.
11956 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11958         * lib/autoconf/programs.m4: Use extensions listed in
11959         $ac_executable_extensions when looking for programs.
11961 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11963         * lib/autoconf/general.m4: Fix a small Englisho.
11964         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
11965         setting up ac_dir_suffix and ac_top_builddir.
11966         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
11968 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11970         * doc/autoconf.texi (File System Conventions): Clarify the use of
11971         PATH_SEPARATOR.
11972         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
11973         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
11974         be used instead of ':'.
11975         * lib/autotest/general.m4: Replace occurrences of ':' in
11976         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
11978 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11980         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
11981         arguments.  Fixed a typo.
11983 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11985         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
11986         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
11988 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11990         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
11991         * bin/autoupdate.in: Ditto.
11992         * bin/autoheader.in: Reworded a few comments.
11993         * bin/autoconf.in: Reworded help text for a few options.
11994         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
11995         * bin/autoscan.in, bin/autoupdate.in: Ditto.
11997 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11999         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
12000         already have $file).  Set output files to binary mode (helps avoid
12001         CR issues on DOSish systems).
12003 2001-09-19  Akim Demaille  <akim@epita.fr>
12005         * lib/autotest/general.m4: Englishoes.
12006         From Tim Van Holder and Alexey Mahotkin.
12008 2001-09-18  Paul Eggert  <eggert@twinsun.com>
12010         * doc/autoconf.texi (Common Shell Constructs): New node,
12011         documenting AS_DIRNAME.
12012         (Limitations of Usual Tools): Refer to it when discussing dirname.
12013         Also, update discussion of POSIX standard to reflect latest draft.
12015         * lib/autoconf/c.m4:
12016         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
12018         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12019         Do not pass a first argument with leading '-'
12020         to expr, by parenthesizing initial integers that might be negative.
12022         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
12023         now merely checks whether it is an error to pass an argument
12024         to getpgrp.
12026         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
12027         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
12028         whether it is a (compile-time) error to pass an argument to
12029         getpgrp.  This simpler test supports the revised documentation,
12030         and is all that AC_FUNC_GETPGRP's users really need.
12032 2001-09-18  Akim Demaille  <akim@epita.fr>
12034         * doc/autoconf.texi (Limitations of Make) <$<>: New.
12036 2001-09-18  Akim Demaille  <akim@epita.fr>
12038         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
12039         `{}'.
12040         * lib/autotest/general.m4 (AT_INIT): Adjust.
12042 2001-09-18  Paul Wagland  <paul@wagland.net>
12044         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
12045         correctly.
12046         Add test for AS_BASENAME.
12047         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
12048         added test. It now correctly handles /1/2/3/, returning '3' not ''.
12049         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
12050         * tests/base.at: Fixed the expected responses. The old ones were
12051         one line out...
12052         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
12053         the documentation claims it should (and how it behaved in 2.13).
12055 2001-09-18  Akim Demaille  <akim@epita.fr>
12057         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
12058         the AC_CONFIG_COMMANDS invocation.
12059         This also solves the name clash problems.
12060         Don't set the package's ID.
12061         * lib/m4sugar/Makefile.am (version.m4): Revamp.
12062         No longer to be shipped.
12063         (version.in): Remove.
12064         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
12065         * lib/autoconf/status.m4: Adjust.
12066         Use `m4_PACKAGE_STRING'.
12067         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
12068         the only optional argument is the name of the test suite.
12069         Expect `package.m4' to define the package signature.
12070         * lib/autom4te.in (Autotest): Add `package.m4?'.
12071         * tests/Makefile.am (package.m4): New.
12072         * tests/suite.at: ifnames is a victim.
12074 2001-09-18  Akim Demaille  <akim@epita.fr>
12076         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
12077         AC_LIBSOURCE, AC_CONFIG_FILES.
12078         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
12079         program version string doesn't match the package's.
12080         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
12081         after `(cached)'.
12083 2001-09-17  Paul Eggert  <eggert@twinsun.com>
12085         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12086         Allow expression to return any value that can fit into unsigned long
12087         (not int, as before).  Check for output errors.
12089 2001-09-17  Bruno Haible  <haible@ilog.fr>
12091         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12092         Always include <stdio.h> and <stdlib.h>. Evaluate
12093         the expression in an extra function before these includes. Call
12094         fprintf "%d" only after ensuring the argument is of type 'int'.
12095         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
12097 2001-09-17  Paul Eggert  <eggert@twinsun.com>
12099         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
12100         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
12101         fatal errors, and AC_CHECK_LIB causes it to include libraries even
12102         when they don't exist.
12104         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
12105         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
12106         need it.
12108         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
12109         version with the version used by fileutils 4.1, except use
12110         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
12111         we don't need it.
12113         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
12115 2001-09-13  Akim Demaille  <akim@epita.fr>
12117         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
12118         _first_.
12119         Reported by Gerrit P. Haase.
12121 2001-09-13  Akim Demaille  <akim@epita.fr>
12123         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
12124         m4_defn'ing is valid.
12126 2001-09-13  Akim Demaille  <akim@epita.fr>
12128         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
12129         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
12130         Use it.
12132 2001-09-13  Akim Demaille  <akim@epita.fr>
12134         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
12135         m4_match.
12136         (m4_re_escape): New.
12137         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
12138         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
12139         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
12140         Likewise.
12141         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
12142         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
12143         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
12144         AT_tests_all for consistency.
12145         Set at_victims.
12146         (AT_VICTIMS): Similar to AT_KEYWORDS.
12147         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
12149 2001-09-13  Akim Demaille  <akim@epita.fr>
12151         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
12153 2001-09-13  Akim Demaille  <akim@epita.fr>
12155         * lib/autotest/general.m4 (AT_INIT): Create and remove
12156         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
12157         test suites can cohabit.
12159 2001-09-13  Akim Demaille  <akim@epita.fr>
12161         * tests/mktests.sh: Don't output banners for empty test files.
12163 2001-09-13  Akim Demaille  <akim@epita.fr>
12165         Test suites can be run independently of configure.
12167         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
12168         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
12169         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
12170         ECHO_N etc.
12171         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
12172         and at_c.
12173         * lib/autotest/general.m4: Use ECHO_*.
12175 2001-09-13  Akim Demaille  <akim@epita.fr>
12177         * bin/ifnames.in: Rewrite in Perl.
12178         * configure.ac: Don't look for AWK.
12179         * tests/tools.at (AWK portability): Remove.
12180         (Syntax of the shell scripts): Don't check ifnames.
12181         (AT_CHECK_PERL_SYNTAX): New.
12182         (Syntax of the Perl scripts): Check ifnames.
12183         * tests/ifnames: New.
12185 2001-09-13  Akim Demaille  <akim@epita.fr>
12187         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
12188         test group titles.
12189         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
12190         Remove all the other keywords.
12192 2001-09-10  Akim Demaille  <akim@epita.fr>
12194         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
12195         SETUP: no longer used.
12196         Support -k, --keywords.
12197         <at_help>: Be `no', `short', or `long'.
12198         <at_help_all>: New variable.
12199         (AT_KEYWORDS): New.
12200         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
12201         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
12202         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
12203         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
12204         No longer fill the HELP diversion.
12205         (AT_CLEANUP): Use them.
12206         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
12207         (m4_list_append): Remove.
12209         Spread a few keywords in the Autoconf test suite.
12211 2001-09-10  Akim Demaille  <akim@epita.fr>
12213         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
12214         PATH_SEPARATOR, let M4sh compute it.
12215         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
12216         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
12217         Move to...
12218         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
12219         Simplify when the path is not a literal.
12220         (AS_UNAME): Use it to report PATH.
12221         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
12222         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
12223         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
12224         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
12225         normalize the path, and to look for victims.
12226         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
12227         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
12229 2001-09-07  Akim Demaille  <akim@epita.fr>
12231         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
12232         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
12233         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
12234         related variables into `at_package_*'.
12235         * lib/autotest/general.m4 (AT_VICTIMS): New.
12236         (AT_INIT): Adjust for stand-alone/embedded test suites.
12237         (AS_MESSAGE_LOG_FD): Define and use it.
12238         * tests/suite.at (AT_VICTIMS): Use it.
12239         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
12240         at_version.
12242 2001-09-07  Akim Demaille  <akim@epita.fr>
12244         Move toward possibly stand-alone test suites.
12246         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
12247         in addition, it introduces useless differences in logs.
12248         (AT_INIT): Let atconfig and atlocal be both optional.
12249         Adjust PATH computation.
12250         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
12252 2001-09-07  Akim Demaille  <akim@epita.fr>
12254         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
12255         m4sugar/version.m4.
12257 2001-09-05  Akim Demaille  <akim@epita.fr>
12259         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
12260         to avoid GCC warnings.
12261         From Uwe Seimet.
12263 2001-09-05  Akim Demaille  <akim@epita.fr>
12265         * bin/autom4te.in: --language is -l, not -s.
12267 2001-09-05  Akim Demaille  <akim@epita.fr>
12269         Be ready to handle filenames as stupid as `dnl.at', for if even
12270         the maintainer is dumb enough to do that...
12272         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
12273         excellence in M4 quotation: consider `__file__' is active.
12275         And BTW, when invoking m4, pass the --include in the right order:
12276         the wrong one.
12278         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
12279         4m.
12281 2001-09-05  Akim Demaille  <akim@epita.fr>
12283         * lib/Autom4te/XFile.pm: New lib file.
12284         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
12285         * bin/autoheader.in: Use it.
12287 2001-09-05  Akim Demaille  <akim@epita.fr>
12289         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
12290         defined.
12292 2001-09-05  Akim Demaille  <akim@epita.fr>
12294         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
12295         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
12297         * bin/autoscan.in: Use `getopt' and `find_files' etc.
12298         Add -I, --include support.
12299         * doc/autoconf.texi (autoscan Invocation): Adjust.
12301 2001-09-05  Akim Demaille  <akim@epita.fr>
12303         CVS GNU M4 doesn't like `undefine(undefined)'.
12305         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
12306         New, extracted from main.
12307         Use IO::File wherever possible.
12308         (input.m4): Be constant, use -I instead of hard coding $tmp.
12309         Therefore be a quoted heredoc.
12310         Don't invoke `_au_disable', since ac was not loaded, but just
12311         `unm4.m4'.
12313 2001-08-31  Akim Demaille  <akim@epita.fr>
12315         Version 2.52d.
12317 2001-08-31  Akim Demaille  <akim@epita.fr>
12319         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
12320         previous patch.
12321         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
12323 2001-08-31  Akim Demaille  <akim@epita.fr>
12325         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
12326         serious problems handling heredocs in heredocs.
12327         Reported by Nicolas Joly.
12329 2001-08-31  Akim Demaille  <akim@epita.fr>
12331         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
12332         (Making testsuite Scripts): Update.
12334 2001-08-31  Akim Demaille  <akim@epita.fr>
12336         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
12338 2001-08-31  Akim Demaille  <akim@epita.fr>
12340         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
12341         (testsuite Scripts): There is no such thing as `atconfig.in'.
12342         And actually one diagram is missing: test suite runtime.
12344 2001-08-31  Akim Demaille  <akim@epita.fr>
12346         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
12347         inverse order.
12349 2001-08-31  Akim Demaille  <akim@epita.fr>
12351         * bin/autoupdate.in (@include): `installcheck' revealed the path
12352         to m4sugar was lacking!
12354 2001-08-31  Akim Demaille  <akim@epita.fr>
12356         * man/Makefile.am (.x.1): We really have to pass
12357         autom4te_perllibdir.
12359 2001-08-31  Akim Demaille  <akim@epita.fr>
12361         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
12362         debug scripts, in particular passing explicitly listed tests to
12363         run is stupid.
12365 2001-08-31  Akim Demaille  <akim@epita.fr>
12367         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
12368         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
12369         Use directly autom4te, not autoconf.
12370         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
12372 2001-08-31  Akim Demaille  <akim@epita.fr>
12374         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
12375         * bin/autoheader.in (%symbol): Strip arguments of macros.
12377 2001-08-31  Akim Demaille  <akim@epita.fr>
12379         * doc/autoconf.texi: Catch up -I, --include changes.
12381 2001-08-31  Akim Demaille  <akim@epita.fr>
12383         * bin/autom4te.in (&parse_args): Die on unknown languages.
12384         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
12385         need for autoconf.
12386         Promote --include over --macrodir and other obsolete options.
12388 2001-08-31  Akim Demaille  <akim@epita.fr>
12390         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
12391         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
12392         * bin/autom4te.in ($autoconf): Pass --force.
12393         `print $out' doesn't print `$_' but `$out'.
12394         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
12395         (autoheader): Pass --force since the test suite goes too fast for
12396         the time stamps.
12397         Adjust to the new autoheader messages.
12399 2001-08-31  Akim Demaille  <akim@epita.fr>
12401         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
12402         Check the completeness of the #template.
12403         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
12404         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
12405         invocation.
12407 2001-08-31  Akim Demaille  <akim@epita.fr>
12409         * lib/Autom4te/General.pm (&find_file, &update_file): New.
12410         * bin/autoupdate.in, bin/autoheader.in: Adjust.
12411         Drop AC_MACRODIR dead for real.
12412         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
12413         `autoheader: `config.hin' is created'.
12414         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
12416 2001-08-31  Akim Demaille  <akim@epita.fr>
12418         * bin/autoheader.in: Rewrite in Perl.
12419         * tests/autoheader: Adjust.
12421 2001-08-31  Akim Demaille  <akim@epita.fr>
12423         * bin/autoconf.in (--include, -I): New option.
12424         Map --localdir, --autoconf-dir onto it.
12425         Forward autom4te's options instead of interpreting them.
12426         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
12427         There is no such envvar since the inception of autom4te.cfg.
12428         * bin/autom4te.in (&parse_args): Uniquify `@include'.
12429         * bin/autoupdate.in: Adjust, and perform more control.
12430         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
12431         * tests/autoconf: Dittowise.
12433 2001-08-31  Akim Demaille  <akim@epita.fr>
12435         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
12436         * bin/autom4te.in (&find_file): Support `FILE?' standing for
12437         optionally `FILE'.
12438         Use -e, not -f, since /dev/null for instance is OK.
12439         (&parse_args): Adjust.
12440         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
12442 2001-08-31  Akim Demaille  <akim@epita.fr>
12444         * configure.ac: Also find tested executables in bin.
12445         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
12446         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
12447         installed peer executables, only PATH is allowed to resolve it.
12448         Pass `autoconf_dir' via options, not via invisible envvars.
12449         * lib/Autom4te/General.pm (&find_peer): Remove.
12450         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
12451         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
12452         * man/Makefile.am: Let help2man rely on PATH instead of trying to
12453         find the executables for it.
12454         * tests/Makefile.am: Major cleanup.  Too lazy to document...
12455         * tests/atlocal.in: Remove all the obscure envvar manipulations.
12456         We only need PERL.
12457         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
12458         indeed related to running the test suite, while passing
12459         --autoconf-dir and others is related to running non installed
12460         Autoconf executables.  So don't do that, leave it to...
12461         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
12462         * tests/autoscan: New.
12463         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
12464         refer to library files: rely on --language.
12466 2001-08-29  Akim Demaille  <akim@epita.fr>
12468         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
12469         s/--set/--language/.
12471 2001-08-29  Akim Demaille  <akim@epita.fr>
12473         * doc/autoconf.texi: Strip the @nodes.
12474         Suggested by Paul Eggert.
12475         (Initializing configure): Typo.
12477 2001-08-29  Akim Demaille  <akim@epita.fr>
12479         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
12480         Suggested by Paul Eggert.
12482 2001-08-29  Akim Demaille  <akim@epita.fr>
12484         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
12485         download in a tmp dir.
12487 2001-08-29  Akim Demaille  <akim@epita.fr>
12489         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
12490         case insensitive OSes out there :(
12491         From Tim Van Holder.
12493 2001-08-29  Akim Demaille  <akim@epita.fr>
12495         * lib/autom4te.in: New.
12496         * lib/Makefile.am (edit, autom4te.cfg): New.
12497         * bin/autom4te.in (BEGIN): Simplify.
12498         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
12499         (&load_configuration): New.  Use it.
12500         (&parse_args): Support --mode, --set, and --melt.
12501         * bin/autoconf.in: Simplify and adjust.
12502         * tests/Makefile.am (AUTOMAKE): Use --set.
12503         * tests/atlocal.in: Adjust.
12504         * BUGS: distcheck and check are weak.
12506 2001-08-29  Akim Demaille  <akim@epita.fr>
12508         * lib/autotest/general.m4: Use
12509                 foo=`(command) 2>/dev/null`
12510         not
12511                 foo=`command` 2>/dev/null
12512         (at-devnull): Rename as...
12513         (AT-devnull): this.
12514         (--clean): Remove AT-* files too.
12515         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
12516         Reported by Nicolas Joly.
12518 2001-08-28  Akim Demaille  <akim@epita.fr>
12520         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
12521         quotes inside single quotes.
12522         Reported by Nicolas Joly.
12524 2001-08-28  Kevin Ryde  <user42@zip.com.au>
12526         * doc/autoconf.texi (Function Portability): Mention C right shifts.
12528 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
12530         * lib/autotest/general.m4: Reword some messages.
12531         (AT_INIT): Check for the `times' builtin before using it.
12532         Support test ranges as arguments to the testsuite.
12533         Have -e imply -d as the help text suggested.
12535 2001-08-27  Akim Demaille  <akim@epita.fr>
12537         * Makefile.maint: Formatting changes.
12538         (do-po-update, po-update, cvs-update, update): New targets.
12539         (AMTAR): Remove.
12541 2001-08-27  Akim Demaille  <akim@epita.fr>
12543         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
12544         <at_cmd_line>: New.
12545         Pass it to debug-*.sh scripts.
12546         <AUTOTEST_PATH>: May contain absolute dir names.
12548 2001-08-27  Akim Demaille  <akim@epita.fr>
12550         * lib/autotest/general.m4 (AT_INIT): Log the command line.
12551         Support `VAR=VAL' as arguments.
12552         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
12553         may be set via the command line.
12555 2001-08-27  Akim Demaille  <akim@epita.fr>
12557         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
12558         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
12559         first the build dirs, then the src dirs.
12560         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
12562 2001-08-27  Akim Demaille  <akim@epita.fr>
12564         * lib/autotest/general.m4 (AT_INIT): Output the definition of
12565         at_data_files earlier.
12566         (--clean, -c): New option.
12567         * tests/Makefile.am: Use this option.
12569 2001-08-27  Akim Demaille  <akim@epita.fr>
12571         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
12572         `ac_top_builddir' to mimic Automake's vocabulary, which much more
12573         readable.
12574         Adjust callers.
12575         * doc/autoconf.texi (Configuration Actions): Document the vars
12576         available in commands.
12577         Emphasize the risks of collisions in init-cmds.
12579 2001-08-27  Akim Demaille  <akim@epita.fr>
12581         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
12582         (Initializing configure): this new node.
12584 2001-08-27  Akim Demaille  <akim@epita.fr>
12586         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
12588 2001-08-27  Akim Demaille  <akim@epita.fr>
12590         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
12591         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
12592         New file.
12593         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
12595 2001-08-27  Akim Demaille  <akim@epita.fr>
12597         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
12598         to...
12599         * lib/autoconf/autoheader.m4: this new file.
12600         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
12601         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
12602         Move to...
12603         * lib/autoconf/autoupdate.m4: this new file.
12605 2001-08-27  Akim Demaille  <akim@epita.fr>
12607         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
12608         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
12609         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
12610         -> ac_dir).
12611         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
12612         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
12614 2001-08-27  Akim Demaille  <akim@epita.fr>
12616         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
12617         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
12618         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
12619         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
12620         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
12621         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
12622         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
12623         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
12624         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
12625         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
12626         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
12627         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
12628         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
12629         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
12630         (_AC_OUTPUT_SUBDIRS): Move to...
12631         * lib/autoconf/status.m4: this new file.
12632         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
12633         * tests/Makefile.am, tests/suite.at: Adjust.
12635 2001-08-27  Akim Demaille  <akim@epita.fr>
12637         Automake 1.5.
12639         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
12640         (AMTAR): Help automake define it.
12641         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
12642         needed, 1.5 can have a macro and a target with the same name.
12643         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
12644         * m4/strip.m4: New.
12645         * m4/init.m4, m4/sanity.m4: Update.
12646         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
12647         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
12648         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
12649         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
12651 2001-08-27  Akim Demaille  <akim@epita.fr>
12653         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
12655         * lib/autoconf/version.in: Remove.
12656         * lib/m4sugar/version.in: New.
12657         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
12658         Adjust callers.
12659         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
12660         the name of the directory they're in, instead of the filename,
12661         since version.m4 is now in m4sugar, but m4_acversion must not be
12662         classified as an Autoconf macro.
12663         ($input_m4): Don't qualify the path to m4sugar.
12664         Rather, pass autoconf_dir to m4.
12665         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
12666         * tests/suite.at: Require 2.52c.
12668 2001-08-27  Akim Demaille  <akim@epita.fr>
12670         testsuite.log should include config.log.
12672         * lib/autotest/autotest.m4: New.
12673         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
12674         * tests/suite.at : Adjust.
12675         (AT_INIT): Log config.log.
12676         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
12677         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
12678         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
12679         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
12680         of config.log on traps.
12681         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
12682         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
12683         for config.status'.
12684         Open the log as soon as possible.
12685         Use the same log introduction as configure's.
12687 2001-08-22  Paul Eggert  <eggert@twinsun.com>
12689         * doc/autoconf.texi (Indices): New node.
12690         Move indices out of the top level menu and into this submenu.
12692 2001-08-22  Akim Demaille  <akim@epita.fr>
12694         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
12695         AC_TRY_COMMAND.
12696         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
12698 2001-08-22  Akim Demaille  <akim@epita.fr>
12700         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
12701         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
12702         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
12703         * lib/autoconf/programs.m4: here.
12704         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
12705         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
12706         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
12707         * lib/autoconf/programs.m4: here.
12708         (_AC_DECL_YYTEXT): Rename as...
12709         (_AC_PROG_LEX_YYTEXT_DECL): this.
12710         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
12711         * tests/Makefile.am, tests/suite.am: Adjust.
12713 2001-08-22  Akim Demaille  <akim@epita.fr>
12715         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
12716         Move to...
12717         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
12718         here.
12719         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
12720         * lib/autoconf/functions.m4: here.
12721         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
12722         (AH_CHECK_LIB): Move to...
12723         * lib/autoconf/libs: this new file.
12724         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
12725         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
12726         * lib/autoconf/libs.m4: here.
12727         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
12729 2001-08-22  Akim Demaille  <akim@epita.fr>
12731         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
12732         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
12733         (AC_SITE_LOAD): Better logging of config.site.
12735 2001-08-20  Akim Demaille  <akim@epita.fr>
12737         * configure.ac (AT_CONFIG): Fix the path.
12738         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
12739         can be used.
12741 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
12743         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
12744         program with AC_LANG_PROGRAM before feeding it to
12745         AC_COMPILE_IFELSE.  Cleanup grep usage.
12747 2001-08-20  Akim Demaille  <akim@epita.fr>
12749         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
12750         * NEWS, README, README-alpha, TODO, tests/README: This package is
12751         `Autoconf', not `autoconf' (the executable).
12753 2001-08-20  Akim Demaille  <akim@epita.fr>
12755         Info readers seem to need `Index' in the index node title :(
12757         * doc/autoconf.texi: Reverse the 2001-08-15 change which
12758         simplified index node names.
12760 2001-08-20  Akim Demaille  <akim@epita.fr>
12762         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
12763         arguments are not literals.
12764         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
12765         Specify the output variables, and macros defined.
12767 2001-08-20  Akim Demaille  <akim@epita.fr>
12769         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
12770         (Examining Syntax) <AC_TRY_COMPILE>
12771         (Examining Libraries) <AC_TRY_LINK>
12772         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
12773         their arguments.
12774         Reported by Werner Lemberg.
12776 2001-08-20  Akim Demaille  <akim@epita.fr>
12778         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
12779         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
12780         Load atlocal late enough to dump it in the log.
12781         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
12783 2001-08-20  Akim Demaille  <akim@epita.fr>
12785         * tests/torture.at (Configuring subdirectories): New test.
12786         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
12787         looking for.
12788         * m4/atconfig.m4: Be sure the let $[0] be expandable.
12789         (top_srcdir): Fix its computation.
12791 2001-08-20  Akim Demaille  <akim@epita.fr>
12793         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
12794         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
12795         test suite lives.
12796         Create `atconfig' automagically.
12797         Configure atlocal.in if present.
12798         * tests/atconfig.in: Remove.
12799         * tests/atlocal.in: New.
12800         * tests/Makefile.am: Adjust.
12802 2001-08-20  Akim Demaille  <akim@epita.fr>
12804         Huh!?!?!  There are still some user EOF tags used, which prevents
12805         their use in AC_CONFIG_COMMANDS for instance...
12807         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
12808         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
12809         `_CSEOF', or `_ATEOF', as appropriate.
12810         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
12811         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
12813 2001-08-20  Akim Demaille  <akim@epita.fr>
12815         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
12816         * tests/semantics.at, tests/tools.at, tests/torture.at:
12817         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
12819 2001-08-20  Akim Demaille  <akim@epita.fr>
12821         Autotest invokes M4sh's initialization.
12823         * lib/autotest/general.m4: Adjust the diversion names.
12824         (AT_INIT): Run AS_INIT.
12825         Use the BINSH diversion to invoke /bin/sh.
12826         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
12827         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
12829 2001-08-20  Akim Demaille  <akim@epita.fr>
12831         Let M4sh have its own diversions.
12833         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
12834         (_m4_divert(NOTICE)): Rename as...
12835         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
12836         (_m4_divert(HEADER-COMMENT)): these.
12837         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
12838         (_m4_divert(NOTICE)): New, for Libtool.
12839         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
12840         long ago with `_m4_divert(GROW)'.
12841         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
12843 2001-08-20  Akim Demaille  <akim@epita.fr>
12845         * tests/base.at, tests/compile.at, tests/foreign.at,
12846         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
12847         * tests/semantics.at, tests/suite.at, tests/tools.at,
12848         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
12850 2001-08-20  Akim Demaille  <akim@epita.fr>
12852         * bin/autom4te.in (handle_output): Handle @__@.
12854 2001-08-20  Akim Demaille  <akim@epita.fr>
12856         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
12857         * lib/autotest/general.m4: Adjust the license.
12859 2001-08-17  Paul Eggert  <eggert@twinsun.com>
12861         * doc/autoconf.texi (Function Portability): Mention snprintf,
12862         following up on a suggestion by Kevin Ryde.
12864 2001-08-17  Akim Demaille  <akim@epita.fr>
12866         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
12867         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
12869 2001-08-17  Akim Demaille  <akim@epita.fr>
12871         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
12872         `$0.log' as for projects where testsuite is in src, we'd have
12873         testsuite.log created in src.
12875 2001-08-17  Akim Demaille  <akim@epita.fr>
12877         * bin/autom4te.in (&parse_args): Recognize --normalize.
12879 2001-08-17  Akim Demaille  <akim@epita.fr>
12881         Start implementing the AC_CHECK_HEADER transition scheme.
12883         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
12884         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
12885         (AC_CHECK_HEADER): Use them.
12887 2001-08-17  Akim Demaille  <akim@epita.fr>
12889         * doc/autoconf.texi: Work around Texinfo buglets.
12890         (Transformation Rules): One example is enough, users are expected
12891         to have their brains on. And BTW, use DESTDIR.
12892         (dvar): New macro.  Use it.
12894 2001-08-17  Akim Demaille  <akim@epita.fr>
12896         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
12897         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
12898         looking for ChangeLogs.
12900 2001-08-17  Akim Demaille  <akim@epita.fr>
12902         * bin/autom4te.in: --normalize is a new option.
12903         * bin/autoconf.in: Use it.
12905 2001-08-17  Akim Demaille  <akim@epita.fr>
12907         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
12908         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
12910 2001-08-16  Paul Eggert  <eggert@twinsun.com>
12912         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
12913         start, not at end.
12915 2001-08-15  Akim Demaille  <akim@epita.fr>
12917         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
12918         Use it.
12920 2001-08-15  Akim Demaille  <akim@epita.fr>
12922         * doc/autoconf.texi (pr): New index.
12923         (prindex, findex): Use, merge, and output them.
12924         (Environment Variable Index, Output Variable Index)
12925         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
12926         (Autotest Macro Index): Rename as...
12927         (Environment Variables, Output Variables,Preprocessor Symbols)
12928         (Autoconf Macros, M4 Macros, Autotest Macros): these.
12929         * doc/install.texi: Use @command.
12930         (Environment Variables): Rename as...
12931         (Defining Variables): this.
12933 2001-08-15  Akim Demaille  <akim@epita.fr>
12935         * doc/autoconf.texi (Function Portability): sprintf's return
12936         value.
12937         From Kevin Ryde.
12939 2001-08-15  Akim Demaille  <akim@epita.fr>
12941         * Makefile.maint (CVS): New.
12942         (local-check): Run changelog-check. last.
12943         (alpha): Don't depend upon local-check, since...
12944         (cvs-dist): depends upon it.
12946 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
12948         * tests/Makefile.am: Use a clean-local rule to remove
12949         autom4te.cache (it's a directory, not a file.
12950         * Makefile.am: Ditto (but maintainer-clean-local).
12952 2001-08-15  Akim Demaille  <akim@epita.fr>
12954         * bin/autom4te.in (@m4_warning): New.
12955         (&handle_m4): Use it.
12956         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
12957         warnings are issued at each run.
12958         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
12959         is in the src tree.
12961 2001-08-15  Akim Demaille  <akim@epita.fr>
12963         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
12964         don't waste time running `autoupdate --version' works.
12965         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
12967 2001-08-13  Akim Demaille  <akim@epita.fr>
12969         * doc/autoconf.texi (ma): Rename this index as...
12970         (ac): this.
12972 2001-08-13  Akim Demaille  <akim@epita.fr>
12974         * Makefile.am: Remove dead code and dead comments.
12975         (pdf, html): New targets.
12976         * doc/autoconf.texi (Using Autotest): New chapter.
12977         * doc/Makefile.am (pdf): New targets.
12978         (CLEANFILES): Adjust.
12980 2001-08-13  Akim Demaille  <akim@epita.fr>
12982         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
12983         duration of the test suite.
12985 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
12987         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
12988         endianness for comparison instead of relying on AT_CHECK_ENV.
12990 2001-08-11  Paul Eggert  <eggert@twinsun.com>
12992         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
12993         to the INSTALL file.
12995 2001-08-11  Paul Eggert  <eggert@twinsun.com>
12997         * NEWS: The autoconf manual now is distributed under the terms
12998         of the GNU Free Documentation License.
13000         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
13001         Add an appendix "Copying This Manual" for the FDL.
13003         * doc/fdl.texi: New file, from
13004         <http://www.gnu.org/licenses/fdl.texi>.
13006         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
13008 2001-08-10  Paul Eggert  <eggert@twinsun.com>
13010         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
13011         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
13012         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
13013         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
13014         m4/sanity.m4, tests/README, tests/aclocal.m4,
13015         tests/atspecific.m4, tests/base.at, tests/compile.at,
13016         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
13017         tests/semantics.at, tests/suite.at, tests/tools.at,
13018         tests/torture.at: Add copyright notice.
13020         * tests/mktests.sh: Update year in copyright notice.
13022 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
13024         * tests/semantics.at (AC_C_BIGENDIAN): New test.
13026 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
13028         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
13029         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
13030         * doc/autoconf.texi (C Compiler Characteristics): Update
13031         documentation for AC_C_BIGENDIAN.
13033 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
13035         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
13036         magic values from an object file when cross-compiling.
13037         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
13039 2001-08-10  Akim Demaille  <akim@epita.fr>
13041         * bin/autom4te.in (&handle_output): Don't use `grep' with side
13042         effects.
13043         Suggested by Russ Allbery.
13045 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
13047         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
13048         current $prefix to the sub-configures.
13050 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
13052         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
13053         extension (needed on BeOS).  Reported by Guido van Rossum.
13055 2001-08-09  Akim Demaille  <akim@epita.fr>
13057         * bin/autom4te.in ($icache): Load it only if older than autom4te.
13059 2001-08-07  Akim Demaille  <akim@epita.fr>
13061         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
13062         removed.
13063         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
13064         No need to remove the files before and after the each test, before
13065         each test and at the end of the suite is enough.
13066         Display only the children `times', not the shell's.
13067         If the test failed or was skipped, at-times is not available.
13069 2001-08-07  Akim Demaille  <akim@epita.fr>
13071         Always produce testsuite.log, including when there are no
13072         failures.  This helps getting information on skipped tests, and
13073         duration of the tests.  Err, implement the latter btw.
13075         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
13076         Dump information on the first run of each test.
13077         (AT_CLEANUP): Create `at-times' containing the duration of the
13078         test group.
13080 2001-08-07  Akim Demaille  <akim@epita.fr>
13082         The use of `dumpstat' revealed that `len' was used although it
13083         should not.  m4_text_wrap was using it, but in the Autoconf world
13084         where it is legal.  Hence (i) test M4sh in its own world, not
13085         Autoconf's, and (ii), ahem, fix the bug :)
13087         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
13088         does not like `' instead of [].
13089         (AT_INIT): Forbid `^_?AT_'.
13090         And don't output such tokens.
13091         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
13092         `script.as', and `autom4te.cache'.
13093         Remove `empty' and `macro' which are no longer used.
13094         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
13095         * tests/m4sugar.at: Use it.
13096         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
13098 2001-08-07  Akim Demaille  <akim@epita.fr>
13100         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
13102 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
13104         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
13106 2001-08-04  Akim Demaille  <akim@epita.fr>
13108         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
13109         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
13110         AC_TRY_LINK.
13111         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
13112         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
13113         (AC_F77_MAIN): Likewise.
13115 2001-08-04  Akim Demaille  <akim@epita.fr>
13117         Don't rely on M4sugar outputting the patterns in files, since we
13118         might process the output _without_ running m4, hence without these
13119         files.
13121         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
13122         * bin/autom4te.in (@Request::includes): Remove, unused.
13123         (@Request::source): Rename as...
13124         (@Request::input): this.
13125         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
13126         (&handle_output): Fetch the patterns from the traces.
13127         `$forbidden' and `$allowed' are constant: use m//o.
13128         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
13129         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
13131 2001-08-04  Akim Demaille  <akim@epita.fr>
13133         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
13134         autoconf', i.e., in addition to caching traces, cache the output.
13136         * bin/autom4te.in (Request::cache): Rename as...
13137         (Request::id): this.
13138         ($cache, $icache, $tcache, $ocache): New.
13139         (&handle_m4): Save M4 output in the cache instead of $tmp.
13140         (&handle_output): Adjust.
13141         (&up_to_date_p): Check that the output cache is up to date too.
13142         (top level): Run `&handle_m4' iff force or the cache is invalid.
13143         Run `&handle_output' if the output cache is more recent.
13145 2001-08-04  Akim Demaille  <akim@epita.fr>
13147         * bin/autom4te.in ($force): New.
13148         (&parse_args, &print_usage): -f, --force is a new option.
13149         (&handle_output): CPP directives might have spaces after `#'.
13150         (&parse_args): The first file only can be frozen.
13152 2001-08-04  Akim Demaille  <akim@epita.fr>
13154         Don't let autom4te compute the `include' traces several times:
13155         first check that the trace cache file is up to date, and then
13156         compare its timestamp with that of the output.
13158         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
13159         the preamble.  Don't require 5.005 as Autom4te::General does it,
13160         and better yet (use `use', not `require'!).
13161         * lib/Autom4te/Struct.pm: Rename the last occurrences of
13162         Class::Struct as Autom4te::Struct.
13163         * lib/Autom4te/General.pm (File::stat): Use it.
13164         (&mtime): New, export it.
13165         * bin/autom4te.in: Use it.
13166         Declare `$req' is invalid if it is outdated.
13167         Don't declare it valid before saving it if something went wrong.
13169 2001-08-04  Akim Demaille  <akim@epita.fr>
13171         Autom4te shall not encode Autoconf data, and preselecting traces
13172         must be proposed to the users.
13174         * bin/autom4te.in (@required_trace): Remove.
13175         (@preselect): New.
13176         (&parse_args, &print_usage): -p, --preselect is a new option.
13177         (&up_to_date_p): Adjust.
13178         * bin/autoconf.in: Preselect some Autoconf macros.
13180 2001-08-04  Akim Demaille  <akim@epita.fr>
13182         * tests/tools.at (autoconf --trace: user macros): Check traces on
13183         macros invoked without arguments, and macros invoked with multiple
13184         lines arguments.
13186 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
13188         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
13189         arguments.
13191 2001-08-03  Akim Demaille  <akim@epita.fr>
13193         * bin/autoconf.in ($@): Work around the usual sh bug.
13194         From Nicolas Joly.
13196 2001-08-03  Akim Demaille  <akim@epita.fr>
13198         Clean up the handling of the M4 builtins tracing exception.
13200         * bin/autom4te.in (Request::request): Don't complete M4 builtins
13201         trace requests.
13202         (@m4_builtins): Rename as...
13203         (@m4_builtin): this.
13204         (%m4_builtin_alternate_name): New.
13205         (&parse_args): Complete the trace requests with alternate names.
13206         (&handle_traces): Hence no longer do it here.
13207         (&trace_requests): Remove, unused.
13209 2001-08-03  Akim Demaille  <akim@epita.fr>
13211         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
13212         m4_if, and m4_wrap.
13214 2001-08-03  Akim Demaille  <akim@epita.fr>
13216         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
13217         (m4_divert_pop): Dump the whole diversion stack when a diversion
13218         mismatch happens.
13219         * bin/autom4te.in (&handle_output): Remember of the first
13220         occurrence of a possibly undefined macro, not the last.
13221         Complain about the possibly undefined macros in the same order as
13222         the appear in the output.
13223         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
13224         * tests/tools.at (autoconf: forbidden tokens, basic)
13225         (autoconf: forbidden tokens, exceptions): No longer sort
13226         autoconf's stderr, as it is now deterministic.
13227         Check that `dnl' is caught.
13229 2001-08-01  Akim Demaille  <akim@epita.fr>
13231         * configure.ac: Bump to 2.52c.
13233 2001-08-01  Akim Demaille  <akim@epita.fr>
13235         Version 2.52b.
13237         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
13239 2001-08-01  Akim Demaille  <akim@epita.fr>
13241         Version 2.52a.
13243 2001-08-01  Akim Demaille  <akim@epita.fr>
13245         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
13246         `die'.
13247         (&END): New.
13248         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
13249         `END', as `Autom4te::General::END' will be triggered.
13250         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
13251         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
13252         system to run `mv', `rm', and `cmp'.
13254 2001-08-01  Akim Demaille  <akim@epita.fr>
13256         * lib/Autom4te/General.pm (&unique): New.
13257         * bin/autoscan.in (&output): Use it to issue trace requests once.
13259 2001-08-01  Akim Demaille  <akim@epita.fr>
13261         * lib/Autom4te/General.pm: New.
13262         * bin/autom4te.in (Autom4te::General): Use it.
13263         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
13264         (&find_configure_ac, &find_slave): Remove.
13265         * bin/autoscan.in: Likewise.
13266         * bin/autoupdate.in: Likewise.
13268 2001-08-01  Akim Demaille  <akim@epita.fr>
13270         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
13271         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
13272         * bin: here, new directory.
13273         * lib/Autoconf: Rename as...
13274         * lib/Autom4te: this, to please case insensitive junkie OSes.
13276 2001-08-01  Akim Demaille  <akim@epita.fr>
13278         * autom4te.in ($m4): Handle the --nesting-limit.
13279         * autoconf.in (M4): Remove.
13281 2001-08-01  Akim Demaille  <akim@epita.fr>
13283         * autoconf.in ($AWK): Remove, no longer used.
13284         * test/tools.at: Use AT_CHECK_AUTOCONF.
13285         (AWK portability): Remove, for autoconf no longer uses AWK.
13286         (Syntax of the Perl scripts): New.
13287         * configure.ac: autoconf no longer needs an AWK with a good
13288         regexp engine.
13289         Use a static test on AC_PACKAGE_VERSION.
13290         * autom4te.in (&up_to_date_p): Output depends on the arguments.
13291         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
13292         * tests/atconfig.in (PERL): New.
13294 2001-08-01  Akim Demaille  <akim@epita.fr>
13296         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
13297         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
13298         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
13299         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
13300         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
13301         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
13302         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
13303         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
13304         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
13305         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
13306         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
13307         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
13308         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
13309         * lib/autoconf/c.m4: here, new file.
13311         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
13312         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
13313         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
13314         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
13315         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
13316         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
13317         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
13318         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
13319         (AC_F77_FUNC): Move to...
13320         * lib/autoconf/fortran.m4: here, new file.
13322 2001-08-01  Akim Demaille  <akim@epita.fr>
13324         * acfunctions.m4: Rename as...
13325         * lib/autoconf/functions.m4: this.
13326         * acgeneral.m4: Rename as...
13327         * lib/autoconf/general.m4: this.
13328         * acheaders.m4: Rename as...
13329         * lib/autoconf/headers.m4: this.
13330         * aclang.m4: Rename as...
13331         * lib/autoconf/lang.m4: this.
13332         * acoldnames.m4: Rename as...
13333         * lib/autoconf/oldnames.m4: this.
13334         * acspecific.m4: Rename as...
13335         * lib/autoconf/specific.m4: this.
13336         * actypes.m4: Rename as...
13337         * lib/autoconf/types.m4: this.
13338         * autoconf.m4: Rename as...
13339         * lib/autoconf/autoconf.m4: this.
13341         * m4sugar.m4: Rename as...
13342         * lib/m4sugar/m4sugar.m4: this.
13343         * m4sh.m4: Rename as...
13344         * lib/m4sugar/m4sh.m4: this.
13346         * tests/atgeneral.m4: Rename as...
13347         * lib/autotest/general.m4: this.
13349         * acfunctions: Rename as...
13350         * lib/autoscan/functions: this.
13351         * acheaders: Rename as...
13352         * lib/autoscan/headers: this.
13353         * acidentifiers: Rename as...
13354         * lib/autoscan/identifiers: this.
13355         * aclibraries: Rename as...
13356         * lib/autoscan/libraries: this.
13357         * acmakevars: Rename as...
13358         * lib/autoscan/makevars: this.
13359         * acprograms: Rename as...
13360         * lib/autoscan/programs: this.
13362 2001-08-01  Akim Demaille  <akim@epita.fr>
13364         * doc/autoconf.texi: Moving/deleting open files is not portable.
13365         Portability issues for `.' (source), and more information about sed.
13367 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
13369         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
13370         which has a special meaning and is not a reference to libibmil.a.
13371         Reported by Matteo Frigo.
13373 2001-07-25  Pavel Roskin  <proski@gnu.org>
13375         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
13376         output.
13378 2001-07-25  Akim Demaille  <akim@epita.fr>
13380         * autoconf.in: Try to define the variables before using them.
13381         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
13382         instead of `$perllibdir'.
13383         * tests/atconfig.in ($autom4te_perllibdir): Export it.
13385 2001-07-25  Akim Demaille  <akim@epita.fr>
13387         * autoconf.in (ac_LF_and_DOT): Remove, unused.
13389 2001-07-24  Akim Demaille  <akim@epita.fr>
13391         Let autoconf use autom4te for traces.
13393         * autoconf.in ($task, task trace): Remove, merely pass --trace to
13394         autom4te.
13395         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
13396         (Because I found no way for autom4te to accept `-').
13397         * autom4te.in (&Request::request): Beware of M4 builtins.
13398         (END): Don't try to remove the content of an empty dir.
13399         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
13400         (&handle_output): Set a default value to `$forbidden'.
13401         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
13402         ($autoconf): Pass --debug and --verbose.
13403         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
13404         cache.
13406 2001-07-24  Akim Demaille  <akim@epita.fr>
13408         Let autoconf use autom4te to create configure.
13410         * autoconf.in ($automate): New var.
13411         (task script): Use autom4te.
13412         * autom4te.in (File::Spec): Use it.
13413         (&find_file): New.
13414         (&parse_args): --warning is -W, not -w.
13415         Find the top level files.
13416         (&handle_m4): Pass the warnings flags.
13417         Don't report verbosely m4's failures, unless requested.
13418         (&handle_output): Don't complain for forbidden tokens in comments.
13419         Be sure to report all the forbidden tokens within a single line.
13420         (&trace_format_to_m4): Preserve `$_'.
13421         (&handle_traces): Sort the output macros.
13422         (&up_to_date_p): Find the files before trying to get its time stamp.
13424 2001-07-24  Akim Demaille  <akim@epita.fr>
13426         * Makefile.am: Ship, build and install Autom4te.
13427         (SUBDIRS): Add lib.
13428         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
13429         * configure.in: Require Perl.
13430         * man/autom4te.in: New.
13432 2001-07-19  Paul Eggert  <eggert@twinsun.com>
13434         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
13435         example, rather than (exit 1); exit (which isn't portable).
13437 2001-07-18  Akim Demaille  <akim@epita.fr>
13439         Version 2.52.
13441 2001-07-18  Akim Demaille  <akim@epita.fr>
13443         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
13444         was run, while they are needed also when it is expanded.
13445         Reported by Nicolas Joly.
13447         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
13448         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
13449         AC_F77_DUMMY_MAIN being expanded.
13451 2001-07-18  Akim Demaille  <akim@epita.fr>
13453         * configure.in: Bump to 2.51a.
13455 2001-07-17  Akim Demaille  <akim@epita.fr>
13457         Version 2.51.
13459 2001-07-17  Akim Demaille  <akim@epita.fr>
13461         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
13462         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
13464 2001-07-17  Akim Demaille  <akim@epita.fr>
13466         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
13467         used.  Well, then use the prototypes when you can, and runtime as
13468         a last resort.
13469         Reported by Artur Frysiak
13471         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
13472         (AC_FUNC_GETPGRP): Use it.
13473         First try to compile with 0-ary or 1-ary calls.
13475 2001-07-17  Akim Demaille  <akim@epita.fr>
13477         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
13478         replacement type.
13479         From Paul Eggert.
13481 2001-07-17  Akim Demaille  <akim@epita.fr>
13483         * Makefile.maint: Sync. with cppi 1.10.
13485 2001-07-17  Akim Demaille  <akim@epita.fr>
13487         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
13488         AC_F77_DUMMY_MAIN has been run.
13489         From Pavel Roskin and Steven G. Johnson.
13491 2001-07-17  Akim Demaille  <akim@epita.fr>
13493         * configure.in: Rename as...
13494         * configure.ac: this.
13496 2001-07-17  Akim Demaille  <akim@epita.fr>
13498         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
13499         rules.
13500         From Marc Espie.
13501         * Makefile.maint (release-archive-dir): Rename as...
13502         (release_archive_dir): this, so that it can be specialized in
13503         Makefile.
13505 2001-07-14  Akim Demaille  <akim@epita.fr>
13507         * configure.in: Bump to 2.50d.
13509 2001-07-14  Akim Demaille  <akim@epita.fr>
13511         Version 2.50c.
13512         * Makefile.maint (alpha): Typo.
13514 2001-07-14  Akim Demaille  <akim@epita.fr>
13516         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
13518 2001-07-14  Akim Demaille  <akim@epita.fr>
13520         * config/config.guess, config/config.sub, config/texinfo.tex
13521         * doc/standards.texi, doc/make-stds.texi: Update.
13523 2001-07-14  Akim Demaille  <akim@epita.fr>
13525         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
13527 2001-07-14  Akim Demaille  <akim@epita.fr>
13529         * Makefile.maint (maintainer-check): Rename as...
13530         (maintainer-distcheck): this.
13531         (changelog-check, static-check): New.
13532         Use them.
13534 2001-07-14  Kevin Ryde  <user42@zip.com.au>
13536         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
13537         for CXX is g++, not gcc.
13539 2001-07-14  Akim Demaille  <akim@epita.fr>
13541         * doc/autoconf.texi (Files): New subsection.
13543 2001-07-14  Akim Demaille  <akim@epita.fr>
13545         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
13546         of...
13547         (Generic Compiler Characteristics): this.
13548         (C++ Compiler): New subsection.
13550 2001-07-14  Akim Demaille  <akim@epita.fr>
13552         * autoscan.in: Use IO::File.
13553         Adjust all the routines to use it.
13554         ($log): New file (autoscan.log).
13555         (output): Dump detailed logs into $log, and a shortened version to
13556         stderr.
13557         (&scan_makefile): Refine the regexp catching tokens in the code.
13558         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
13559         and the `configure.ac' checking feature.
13561 2001-07-12  Akim Demaille  <akim@epita.fr>
13563         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
13564         Reported by Michael Elizabeth Chastain.
13566         * autoconf.in: Refuse such AWK.
13567         * configure.in: Likewise.
13568         * Makefile.am (acversion.m4): Do not use move-if-change this file
13569         has dependencies.
13570         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
13572 2001-07-10  Jens Petersen  <petersen@redhat.com>
13574         * autoscan.in (&scan_makefile): Improve programs regexp to parse
13575         things like "g++", "file.c" and "some-conf" as tokens.
13576         (&scan_file): Match C++ files extensions.
13577         If the filename extension is C++ then ask for c++.
13579 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
13581         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
13582         AC_TRY_LINK_FUNC, to check whether defining a dummy
13583         main-like routine is needed for linking with F77 libs.
13585 2001-07-05  Pavel Roskin  <proski@gnu.org>
13587         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
13588         after using break.
13589         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
13590         linking.
13592 2001-07-05  Akim Demaille  <akim@epita.fr>
13594         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
13595         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
13596         Makes' lives.
13597         Reported by Nicolas Joly.
13599 2001-07-04  Akim Demaille  <akim@epita.fr>
13601         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
13602         up.
13603         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
13604         warnings from compilers.
13605         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
13606         for all the compilers, not only GNU.  Hence move from here...
13607         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
13609 2001-07-04  Akim Demaille  <akim@epita.fr>
13611         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
13612         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
13613         AC_COMPILE_IFELSE.
13615 2001-07-04  Akim Demaille  <akim@epita.fr>
13617         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
13618         the ``strings.h'' change claimed below.
13620 2001-07-04  Akim Demaille  <akim@epita.fr>
13622         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
13624 2001-07-04  Akim Demaille  <akim@epita.fr>
13626         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
13627         strings.h if usable with string.h.
13628         Suggested by Paul Eggert.
13630 2001-07-04  Akim Demaille  <akim@epita.fr>
13632         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
13633         From Jens Petersen.
13635 2001-07-03  Akim Demaille  <akim@epita.fr>
13637         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
13638         etc. in the log.
13640 2001-07-03  Akim Demaille  <akim@epita.fr>
13642         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
13643         compiler, not the preprocessor.
13644         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
13645         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
13646         the right thing.
13647         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
13648         earlier if there are.
13650 2001-07-03  Akim Demaille  <akim@epita.fr>
13652         * autoscan.in ($initfile): Remove.
13653         (&find_file): Rename as...
13654         (&scan_file): this.
13655         Immediately scan the current file, instead of gathering them, and
13656         later having them handled by &scan_files.
13657         (&scan_files): Merely invoke Find::File.
13658         Adjust.
13660 2001-07-02  Akim Demaille  <akim@epita.fr>
13662         * autoscan.in: Formatting changes, matching the invocation order.
13663         (File::Find): Use it instead of Perl 4's `find.pl'.
13664         (&wanted): Rename as...
13665         (&find_file): this.
13667 2001-07-01  Pavel Roskin  <proski@gnu.org>
13669         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
13670         break in the argument to AC_TRY_LINK_FUNC.
13671         (AC_F77_MAIN): Remove conftest* after using break in the
13672         argument to AC_TRY_LINK.
13674 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
13676         Add alternate 'main' routine detection for linking C/C++ with Fortran,
13677         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
13679         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
13680         dummy alternate main is required even if the user provides her own
13681         'main'.
13682         (AC_F77_MAIN): New macro to detect whether it is possible to
13683         provide an alternate 'main' function name, using the 'main' from
13684         the Fortran libraries.
13685         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
13686         cross-language link tests can be performed successfully.
13687         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
13688         after $LIBS, for consistency; this should be the general rule since
13689         the user may want to link to Fortran libraries that require $FLIBS.
13690         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
13692 2001-06-29  Pavel Roskin  <proski@gnu.org>
13694         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
13695         at-stdout and at-stderr instead of removing the newline
13696         from the echo output, which is not guaranteed to work.
13698 2001-06-28  Jens Petersen  <petersen@redhat.com>
13700         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
13701         confdefs.h when non-zero.
13703 2001-06-28  Akim Demaille  <akim@epita.fr>
13705         * configure.in: Bump to 2.50c.
13707 2001-06-26  Akim Demaille  <akim@epita.fr>
13709         Version 2.50b.
13711 2001-06-26  Akim Demaille  <akim@epita.fr>
13713         Version 2.50a.
13715 2001-06-25  Pavel Roskin  <proski@gnu.org>
13717         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
13718         argument, AUTOCONF-FLAGS.
13719         * tests/mktests.sh (update_exclude_list): Add
13720         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
13721         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
13722         AC_FUNC_WAIT3 with "-W no-obsolete".
13724 2001-06-25  Akim Demaille  <akim@epita.fr>
13726         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
13728 2001-06-25  Akim Demaille  <akim@epita.fr>
13730         * autoscan.in (%macro): Now maps from word to list of macros.
13731         (&init_tables): Die when a word which is already handled by
13732         explicit macros is mapped to the default macro.
13733         (&print_unique): Remove, inlined in...
13734         (&output_kind): here.
13735         (File::Basename): Use it.
13736         (&output): Sort the CONFIG_FILES.
13737         * acheaders: Normalize.
13738         * acfunctions: Likewise.
13740 2001-06-25  Akim Demaille  <akim@epita.fr>
13742         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
13743         characteristics in the logs.
13744         Suggested by Mo DeJong.
13746 2001-06-24  Akim Demaille  <akim@epita.fr>
13748         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
13749         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
13750         * doc/autoconf.texi (Autoconf 2.13): New section.
13752 2001-06-24  Akim Demaille  <akim@epita.fr>
13754         * autoconf.in (Task traces): Separate the error messages from the
13755         traces to improve robustness.
13757 2001-06-23  Akim Demaille  <akim@epita.fr>
13759         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
13760         three as failures are unlikely, and speed matters.
13762 2001-06-23  Akim Demaille  <akim@epita.fr>
13764         * doc/autoconf.texi (Redefined M4 Macros): New.
13766 2001-06-23  Akim Demaille  <akim@epita.fr>
13768         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
13769         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
13770         5.3.
13772 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
13774         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
13775         config.status targets to after the evaluation of the INIT-CMDS.
13776         Double quote config.status targets (used to be single quoted).
13778 2001-06-23  Akim Demaille  <akim@epita.fr>
13780         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
13781         Check the content of the created file.
13782         Check the ./config.status command line invocation.
13784 2001-06-23  Akim Demaille  <akim@epita.fr>
13786         * tests/foreign.at (Libtool): Reject prehistoric versions.
13788 2001-06-23  Akim Demaille  <akim@epita.fr>
13790         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
13791         preexisting files matching a.*.
13793 2001-06-23  Akim Demaille  <akim@epita.fr>
13795         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
13796         stderr.
13797         * doc/autoconf.texi (AC_ARG_VAR): Update.
13799 2001-06-21  Akim Demaille  <akim@epita.fr>
13801         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
13802         precious variables have changed.
13803         * tests/torture.at (AC_ARG_VAR): Adjust.
13805 2001-06-21  Akim Demaille  <akim@epita.fr>
13807         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
13808         but some sed choke on multiple `;', and other tools (e.g.,
13809         Automake), include the separator themselves.
13811         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
13813 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
13815         * doc/autoconf.texi (Functions Portability): Rename as...
13816         (Function Portability): this.
13817         (Function Portability): Document potential problems with unlink().
13819 2001-06-19  Paul Eggert  <eggert@twinsun.com>
13821         * NEWS, doc/autoconf.texi: Document quadrigraphs.
13823 2001-06-18  Akim Demaille  <akim@epita.fr>
13825         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
13827 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
13829         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
13830         (_AC_FUNC_VFORK): this.
13831         Remove AC_DEFINEs and don't guess cross-compilation values.
13832         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
13833         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
13834         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
13835         vfork doesn't work.
13836         Guess values if cross-compiling, but warn.
13837         * acfunctions: Add AC_FUNC_FORK.
13838         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
13839         and vfork appropriately.
13841 2001-06-18  Akim Demaille  <akim@epita.fr>
13843         * doc/autoconf.texi (Functions Portability): New section.
13845 2001-06-18  Akim Demaille  <akim@epita.fr>
13847         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
13848         in $M4.
13849         Suggested by Andreas Schwab.
13851 2001-06-18  Akim Demaille  <akim@epita.fr>
13853         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
13854         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
13855         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
13856         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
13857         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
13858         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
13859         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
13860         the converse).
13862 2001-06-18  Akim Demaille  <akim@epita.fr>
13864         * doc/autoconf.texi (ms): New index.
13865         (Macro Index): Rename as...
13866         (Autoconf Macro Index): this.
13867         (M4 Macro Index): New appendix.
13868         (Programming in M4): New chapter.
13869         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
13870         (Quoting): Rename as...
13871         (M$ Quotation): this.
13872         Be part of `Programming in M4).
13874 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
13876         * tests/torture.at (AC_ARG_VAR): Set variables and export them
13877         in separate statements for compatibility with Tru64 v5.1.
13879 2001-06-17  Akim Demaille  <akim@epita.fr>
13881         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
13882         current values of the precious variables, not the previously
13883         cached values.
13884         Pass precious variables which are set to config.status.
13885         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
13886         * tests/torture.at (AC_ARG_VAR): New.
13888 2001-06-15  Paul Eggert  <eggert@twinsun.com>
13890         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
13891         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
13892         and explain why and how to replace them.
13893         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
13894         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
13896 2001-06-15  Akim Demaille  <akim@epita.fr>
13898         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
13899         Reported by Bruno Haible.
13901         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
13902          (_AC_ARG_VAR_PRECIOUS): to here.
13904 2001-06-15  Pavel Roskin  <proski@gnu.org>
13906         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
13907         an unused pointer use cast to this type and `if' statement to
13908         avoid warnings from the compiler.
13909         (AC_HEADER_TIME): Likewise.
13910         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
13911         in `if' statement to avoid warnings from the compiler. Declare
13912         ac_aggr static to avoid the need to initialize it.
13914 2001-06-14  Akim Demaille  <akim@epita.fr>
13916         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
13917         Macros'.
13919 2001-06-13  Akim Demaille  <akim@epita.fr>
13921         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
13922         Suggested by Alexander Mai.
13924 2001-06-13  Akim Demaille  <akim@epita.fr>
13926         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
13927         sys/types.h and sys/stat.h, and check for them.
13929 2001-06-13  Akim Demaille  <akim@epita.fr>
13931         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
13932         INCLUDES.
13934 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
13936         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
13937         succeeds and only try adding libdnet upon a failure.
13939 2001-06-12  Akim Demaille  <akim@epita.fr>
13941         * autoscan.in (&output_kind): Output the comment only if it exists.
13942         (%kind_comment): Add entry for `programs'.
13943         (&output_programs): Use &output_kind.
13944         (&output_functions, &output_identifiers, &output_headers)
13945         (&output_programs): Inline, and remove.
13947 2001-06-12  Akim Demaille  <akim@epita.fr>
13949         * autoscan.in (%kind_comment): New.
13950         (output_kind): New.
13951         (output_functions, output_identifiers, output_headers): Use it.
13953 2001-06-12  Akim Demaille  <akim@epita.fr>
13955         * autoscan.in (&print_unique): Take `$kind' and `$word' as
13956         arguments, to factor indirections into `%macro' and `%used'.
13957         (%generic_macro): Fix a typo.
13959 2001-06-12  Akim Demaille  <akim@epita.fr>
13961         * aclibraries: New.
13962         * autoscan.in (@kinds): Add `libraries'.
13963         Use `@kinds' instead of hard coded lists.
13964         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
13965         Remove, replaced by...
13966         (%used): this.
13968 2001-06-12  Akim Demaille  <akim@epita.fr>
13970         * autoscan.in (%functions_macros %headers_macros)
13971         (%identifiers_macros %programs_macros %makevars_macros): Remove,
13972         replaced by...
13973         (%macro): New.
13975 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
13977         * aclang.m4 (AC_NO_EXECUTABLES): Override
13978         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
13980 2001-06-11  Akim Demaille  <akim@epita.fr>
13982         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
13983         trailing new line.
13984         Reported by Andreas Schwab.
13986 2001-06-11  Akim Demaille  <akim@epita.fr>
13988         * Makefile.am, Makefile.maint: Typos.
13990 2001-06-09  Akim Demaille  <akim@epita.fr>
13992         * doc/autoconf.texi (Here-Documents): New section, gathering
13993         documentation about here-documents.
13994         Use `href', not `uref', and other changes.
13996 2001-06-09  Akim Demaille  <akim@epita.fr>
13998         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
13999         chapter.
14001 2001-06-09  Akim Demaille  <akim@epita.fr>
14003         * doc/autoconf.texi (Limitations of Builtins): Complete the
14004         description of the here-docs penalties with Alexandre Oliva's
14005         explanations.
14007 2001-06-01  Paul Eggert  <eggert@twinsun.com>
14009         * doc/autoconf.texi: Talk about here documents and speedups.
14010         Do not use "echo" on arbitrary strings.
14011         Spell "here-documents" consistently with the standard.
14013 2001-06-09  Akim Demaille  <akim@epita.fr>
14015         * doc/autoconf.texi (Concept Index): Introduce it.
14016         Regenerate the menus.
14018 2001-06-09  Akim Demaille  <akim@epita.fr>
14020         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
14021         * config/prev-version.txt: New.
14022         * config/move-if-change: New, for GNU libc.
14024 2001-06-06  Pavel Roskin  <proski@gnu.org>
14026         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
14028 2001-06-06  Akim Demaille  <akim@epita.fr>
14030         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
14031         properly when $1 is not a literal.
14032         Fixes PR Autoconf/187, reported by Bram Moolenaar.
14034 2001-06-06  Akim Demaille  <akim@epita.fr>
14036         Invoking AC_COPYRIGHT before AC_INIT fails.
14038         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
14039         * acgeneral.m4 (_m4_divert(VERSION_FSF))
14040         (_m4_divert(VERSION_USER)): New.
14041         (AC_COPYRIGHT): $2 is the diversion to use.
14042         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
14043         (AC_INIT): Remove dead comments as now it's commutative.
14045 2001-06-06  Akim Demaille  <akim@epita.fr>
14047         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
14048         PR autoconf/187.
14050 2001-06-05  Akim Demaille  <akim@epita.fr>
14052         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
14053         can be empty.
14054         `*dir' variables cannot be NONE.
14055         Reported by Mark Kettenis.
14057 2001-06-05  Paul Eggert  <eggert@twinsun.com>
14059         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
14061 2001-06-04  Akim Demaille  <akim@epita.fr>
14063         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
14064         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
14065         (AC_TR_SH): Move as...
14066         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
14067         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
14068         (AS_TR_SH): these.
14069         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
14070         (_AS_TR_SH_PREPARE): New.
14071         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
14072         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
14074 2001-06-02  Akim Demaille  <akim@epita.fr>
14076         * Makefile.am (.m4.m4f): Pass the options first.
14077         Fixes PR autoconf/182.
14079 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
14081         GNU getopt, when POSIXLY_CORRECT does not permute options and
14082         arguments.  So pass the options first.
14083         Fixes PR autoconf/184.
14085         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
14086         (run_m4): Remove files.
14087         (run_m4f): Remove.
14088         Update remainder of script to use them.
14089         (for warning in): Do not use a literal comma as it will not be
14090         split by IFS.
14092 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
14094         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
14095         Fortran compilers to check.
14096         (_AC_PROG_F77_V): Add '-###' as a possible option to print
14097         information on library and object files.
14098         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
14099         to check.
14101 2001-06-02  Akim Demaille  <akim@epita.fr>
14103         * autom4te.in (Request::@request): Declare with `vars', not `my',
14104         as it prevents updates via `do FILENAME'.
14106 2001-06-02  Akim Demaille  <akim@epita.fr>
14108         * configure.in (standards_texi): Remove, dead code.
14110 2001-06-02  Akim Demaille  <akim@epita.fr>
14112         * autom4te.in: New.
14114 2001-06-02  Pavel Roskin  <proski@gnu.org>
14116         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
14117         for signals other than 0 - exit with code 1.
14118         * m4sh.m4 (AS_TMPDIR): Likewise.
14119         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
14120         * autoheader.in: Likewise.
14121         * autoreconf.in: Likewise.
14122         * tests/torture.at (Signal handling): New test for the above.
14124 2001-06-01  Akim Demaille  <akim@epita.fr>
14126         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
14127         message.
14129 2001-05-31  Akim Demaille  <akim@epita.fr>
14131         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
14132         Add copyright and comments.
14133         * acheaders: Add stdint.h.
14134         Suggested by Paul Eggert.
14136 2001-05-31  Akim Demaille  <akim@epita.fr>
14138         * atgeneral.m4 (AT_INIT): Use $SHELL.
14139         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
14141 2001-05-31  Akim Demaille  <akim@epita.fr>
14143         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14144         stdint.h.
14145         From Paul Eggert and Lars Hecking.
14147 2001-05-31  Akim Demaille  <akim@epita.fr>
14149         * tests/base.at: Adjust line numbers in error messages.
14151 2001-05-31  Akim Demaille  <akim@epita.fr>
14153         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
14154         to emit the bangshe line.
14155         Reported by David Carter.
14157 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
14159         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
14160         Fortran (95) compilers to check.
14162 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
14164         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
14165         Macro Archive URL.
14167 2001-05-23  Pavel Roskin  <proski@gnu.org>
14169         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
14170         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
14171         (AC_PROG_CXXCPP): Likewise.
14173 2001-05-22  Akim Demaille  <akim@epita.fr>
14175         * config: New directory.
14176         * configure.in: AC_CONFIG_AUX_DIR it.
14177         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
14179 2001-05-22  Akim Demaille  <akim@epita.fr>
14181         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
14182         * autoupdate.in: Specify the Emacs mode.
14183         * acversion.m4.in: Rename as...
14184         * acversion.m4: this.
14185         * tests/Makefile.am (CLEANFILES): More garbage.
14187 2001-05-22  Akim Demaille  <akim@epita.fr>
14189         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
14190         Rename as...
14191         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
14192         these.
14194 2001-05-21  Akim Demaille  <akim@epita.fr>
14196         * configure.in: Bump to 2.50a.
14199         -----
14201         Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
14202         Software Foundation, Inc.
14204         Copying and distribution of this file, with or without
14205         modification, are permitted provided the copyright notice and this
14206         notice are preserved.