Tweak m4_do semantics.
[autoconf.git] / ChangeLog
blob93c8f78e80f2016e996645c916caee1adbb3f0f6
1 2008-07-29  Eric Blake  <ebb9@byu.net>
3         Tweak m4_do semantics.
4         * lib/m4sugar/m4sugar.m4 (m4_do): Don't concat final argument with
5         subsequent text.
6         * lib/m4sugar/foreach.m4 (m4_do): Don't concat intermediate
7         arguments, and avoid infinite loop.
8         * doc/autoconf.texi (Evaluation Macros) <m4_do>: Document the
9         behavior.
10         * tests/m4sugar.at (m4@&t@_do): New test.
12         Optimize m4_for.
13         * lib/m4sugar/m4sugar.m4 (m4_for): Use fewer macros.
14         (_m4_for): Take additional parameter, for fewer m4_indir calls.
15         * lib/m4sugar/foreach.m4 (_m4_foreach, _m4_shiftn, m4_do)
16         (m4_reverse, _m4_list_pad, _m4_list_cmp): Adjust all callers.
17         * doc/autoconf.texi (Looping constructs) <m4_for>: Document subtle
18         semantic change caused by the optimization.
19         * tests/m4sugar.at (M4 loops): Test the new semantics.
21         One more m4_list_cmp tweak.
22         * lib/m4sugar/m4sugar.m4 (_m4_list_cmp_1): Don't defer shift.
23         * lib/m4sugar/foreach.m4 (m4_list_cmp): Fix comment.
24         * tests/m4sugar.at (recursion): Test both directions of list
25         disparity.
27         Add m4_reverse, and improve m4_list_cmp.
28         * lib/m4sugar/m4sugar.m4 (m4_reverse): New macro.
29         (m4_list_cmp): Rewrite to give linear behavior with M4 1.6 on an
30         m4_reverse'd list.
31         * lib/m4sugar/foreach.m4 (m4_reverse): Add the M4 1.4.x
32         counterpart.
33         * tests/m4sugar.at (recursion): Test it.
34         * doc/autoconf.texi (Evaluation Macros) <m4_reverse>: Document
35         it.
36         (Text processing Macros) <m4_append>: Cross-reference to m4_set.
37         * NEWS: Mention new macro.
39 2008-07-28  Eric Blake  <ebb9@byu.net>
41         Avoid _m4_shiftn for m4 1.6 speedup.
42         * lib/m4sugar/m4sugar.m4 (m4_foreach, _m4_foreach, m4_map)
43         (_m4_map, m4_map_sep): Rewrite recursion to use one less m4_if.
44         * lib/m4sugar/foreach.m4 (_m4_map): Accomodate changed signature.
46         Implement O(n) unique element set creation.
47         * lib/m4sugar/m4sugar.m4 (m4_set_add, m4_set_add_all)
48         (m4_set_contains, m4_set_contents, m4_set_delete)
49         (m4_set_difference, m4_set_dump, m4_set_empty, m4_set_foreach)
50         (m4_set_intersection, m4_set_list, m4_set_listc, m4_set_remove)
51         (m4_set_size, m4_set_union): New macros.
52         * lib/m4sugar/foreach.m4 (m4_set_add_all): Add O(n) fallback for
53         m4 1.4.x.
54         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, AC_SUBST): Use
55         new m4_set API for the set most likely to be large.
56         * doc/autoconf.texi (Set manipulation Macros): New node.
57         * NEWS: Mention new macros.
58         * tests/m4sugar.at (m4@&t@_set): New test.
60 2008-07-25  Eric Blake  <ebb9@byu.net>
62         Avoid infinite aclocal loop.
63         * lib/m4sugar/m4sugar.m4 (m4_init): Bypass m4_include tracing, so
64         that aclocal doesn't insist on finding m4sugar/foreach.m4.
66         Provide O(n) replacement macros for M4 1.4.x.
67         * lib/m4sugar/foreach.m4: New file.
68         (m4_foreach, m4_case, _m4_shiftn, m4_do, m4_dquote_elt, _m4_map)
69         (m4_join, m4_joinall, m4_list_cmp, _m4_minmax): Replace m4sugar
70         macros based on $@ recursion [fast on M4 1.6, but quadratic on M4
71         1.4.x] with versions based on m4_for/m4_foreach [slow on 1.6, but
72         linear on 1.4.x].
73         * lib/m4sugar/m4sugar.m4 (m4_init): Dynamically load new file if
74         older M4 is assumed.
75         (m4_map_sep): Optimize.
76         (m4_max, m4_min): Refactor, by adding...
77         (_m4_max, _m4_min, _m4_minmax): ...more efficient helpers.
78         (m4_defn, m4_popdef, m4_undefine): Use foreach recursion.
79         * lib/m4sugar/Makefile.am (dist_m4sugarlib_DATA): Distribute new
80         file.
81         * tests/m4sugar.at (M4 loops): Add a stress test that takes
82         forever if m4_foreach and friends are quadratic.
83         * NEWS: Mention this.
85 2008-07-21  Eric Blake  <ebb9@byu.net>
87         Ignore undefined macros, necessary with m4 1.6.
88         * bin/autoupdate.in (_au___undefine): New macro,...
89         (_au__undefine): ...wrapped by ifdef to silence m4 warnings.
90         Reported by Ralf Wildenhues.
92         Resync with gnulib.
93         * GNUmakefile: Grab from upstream, to fix issue where 'make
94         install' would allow installation of stale version string.
96 2008-07-19  Eric Blake  <ebb9@byu.net>
98         Support multiple arguments to m4_defn, m4_popdef, and m4_undefine.
99         * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Loop
100         through all variables, per POSIX and newer m4.
101         (_m4_text_wrap): Exploit the looping capabilities.
102         * tests/m4sugar.at (m4@&t@_defn): Test this.
103         * NEWS: Document it.
104         * doc/autoconf.texi (Redefined M4 Macros) <m4_defn, m4_popdef>
105         <m4_undefine>: Likewise.
107         Reduce overhead of m4_builtin([defn]).
108         * lib/m4sugar/m4sugar.m4 (_m4_defn, _m4_popdef, _m4_undefine): New
109         internal macros, which are slightly more efficient than
110         m4_builtin([defn]) and company.
111         (m4_defn, m4_popdef, m4_undefine, m4_warn, m4_ifset)
112         (_m4_dumpdefs_up, _m4_dumpdefs_down, _m4_wrap, m4_for)
113         (_m4_divert_n_stack, m4_divert_pop, m4_expansion_stack_push)
114         (m4_expansion_stack_dump, _m4_defun_pro, _m4_defun_epi)
115         (_m4_defun_epi_outer, _m4_require_call, m4_combine, m4_append)
116         (_m4_append_uniq, m4_append_uniq_w, _m4_text_wrap, m4_text_box)
117         (m4_version_prereq): Use them.
119         Use warnings from m4 when available.
120         * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Don't
121         define slower wrapper if m4 will warn on our behalf; key off of
122         __m4_version__, added alongside the new warnings in m4 1.6.
123         * tests/m4sugar.at (m4@&t@_defn): New test.
125 2008-07-18  Eric Blake  <ebb9@byu.net>
127         Add m4_joinall.
128         * lib/m4sugar/m4sugar.m4 (m4_joinall, _m4_joinall): New macros.
129         * tests/m4sugar.at (m4@&t@_join): Test them.
130         * doc/autoconf.texi (Text processing Macros) <m4_join>: Document
131         m4_joinall.
132         * NEWS: Likewise.
134 2008-07-17  Stepan Kasal  <skasal@redhat.com>
135         and Eric Blake  <ebb9@byu.net>
137         Improve documentation of config.h.in template rules.
138         * doc/autoconf.texi (Header Templates): Mention rules on comments
139         and whitespace, and that the user cannot rely on #undef to survive
140         through config.status.
142 2008-07-16  Eric Blake  <ebb9@byu.net>
144         Revert m4_prepend; it is less efficient, and unused by bison.
145         * lib/m4sugar/m4sugar.m4 (m4_prepend, m4_prepend_uniq)
146         (m4_prepend_uniq_w): Delete addition from 2008-07-11.
147         (_m4_grow_uniq_1): Rename back...
148         (_m4_append_uniq): ...to this.
149         * NEWS: Revert NEWS blurb.
150         * doc/autoconf.texi (Text processing Macros) <m4_prepend>: Delete.
151         * tests/m4sugar.at (m4@&t@_prepend): Delete.
153 2008-07-15  Eric Blake  <ebb9@byu.net>
155         Avoid failure if version.m4 is omitted but m4_PACKAGE_* unused.
156         * lib/m4sugar/m4sugar.m4 (m4_version_compare): Provide alternate
157         definition for non-Autoconf clients of m4sugar.
159 2008-07-14  Eric Blake  <ebb9@byu.net>
161         Tighten bound of potential speed of m4_append.
162         * doc/autoconf.texi (Text processing Macros) <m4_append>
163         <m4_prepend>: If m4 is fixed, m4_append can be linear rather than
164         O(n log n).
165         * lib/m4sugar/m4sugar.m4 (m4_append, m4_append_uniq): Fix comments.
166         Analysis by Bruno Haible.
168 2008-07-11  Eric Blake  <ebb9@byu.net>
170         Inherit improvements from bison's fork of m4sugar.
171         * lib/m4sugar/m4sugar.m4 (m4_PACKAGE_VERSION): Ignore failure to
172         find version.texi, since bison does not provide it.
173         (m4_prepend): Add new macro, from bison.
174         (m4_prepend_uniq, m4_prepend_uniq_w): Add new macros, for
175         completeness.
176         (_m4_append_uniq): Rename...
177         (_m4_grow_uniq_1): ...to this to share implementation, and
178         optimize initial assignment.
179         (m4_append_uniq_w): Adjust caller.
180         * NEWS: Document new macros.
181         * doc/autoconf.texi (Text processing Macros) <m4_append>: Mention
182         speed consideration.
183         <m4_prepend>: Document the new prepend variants.
184         * tests/m4sugar.at (m4@&t@_prepend): New test.
186         Work around M4 1.6 warning on undefined macros.
187         * lib/m4sugar/m4sugar.m4 (changeword, symbols): Don't rename if
188         not already available as builtins.
190 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
192         * doc/autoconf.texi (@dvar): Remove trailing newline.
193         (@ovar): Likewise.  Fix macro documentation.
195 2008-07-02  Stepan Kasal  <skasal@redhat.com>
197         Add quotes to the header of autoscan-generated source.
198         * bin/autoscan.in: Add quotes to AC_PREREQ and AC_INIT.
200 2008-06-28  Andreas Schwab  <schwab@suse.de>
202         * doc/autoconf.texi (autoscan Invocation): Fix spacing.
203         (autoconf Invocation): Likewise.
204         (autoreconf Invocation): Likewise.
205         (autoheader Invocation): Likewise.
206         (autom4te Invocation): Likewise.
208 2008-06-19  Eric Blake  <ebb9@byu.net>
210         Add comment explaining recent patch.
211         * lib/autotest/general.m4 (AT_INIT) <at_pass_list>: Explain choice
212         of * vs. ? globbing.
214 2008-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
216         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not warn when not
217         linking a file to itself.
218         Report by Bruno Haible.
220 2008-06-19  Eric Blake  <ebb9@byu.net>
222         Resync with gnulib.
223         * GNUmakefile: Grab from upstream, to fix VPATH 'make dist' bug.
224         Reported by Stepan Kasal.
226 2008-06-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
228         Reorganize autotest files, factorize for parallel execution.
229         * lib/autotest/general.m4 (AS_MESSAGE_LOG_FD): Move definition
230         earlier in the file.
231         (AT_INIT): Create line number cache in
232         $at_suite_dir/at-source-lines.
233         <at_helper_dir>: New directory at-groups below $at_suite_dir.
234         Add comment explaining the new directory structure.
235         (at_func_group_prepare, at_func_group_postprocess): New shell
236         functions to factorize per-test group work.  Keep the actual
237         test execution outside of a shell function in order to avoid
238         zsh 4.x exit status bugs.
239         <at_check_line_file, at_status_file, at_stdout, at_stder1>
240         <at_stderr, at_test_source>: Turn these into per-group files
241         below $at_helper_dir.  Also store test results there in files
242         named pass, fail, xpass, xfail, skip.  Let the parent collect
243         results from $at_helper_dir.  Adjust summary statistics
244         computation and result output.
246 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
248         Fix '#undef variable /* comment */' transform in config headers.
249         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): For
250         undefined preprocessor macros that are followed by a comment
251         in the header template, do not create nested comments in the
252         output.
253         * tests/torture.at (@%:@define header templates): Extend test.
254         * NEWS: Update.
255         Report by Karsten Hopp <karsten@redhat.com>.
257 2008-06-09  Eric Blake  <ebb9@byu.net>
259         Mark AC_TYPE_SIGNAL as obsolete.
260         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Switch to AU_DEFUN.
261         * doc/autoconf.texi (Function Portability): Update documentation.
262         (Particular Types): Move AC_TYPE_SIGNAL...
263         (Obsolete Macros): ...here, and mention why.
264         * NEWS: Mention the change.
266         Allow lib64 as a default X library location.
267         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Add lib64.
268         * NEWS: Mention the change.
269         * THANKS: Update.
270         Reported by Brad Walker.
272 2008-06-05  Eric Blake  <ebb9@byu.net>
274         Fix regression in AT_KEYWORDS([Macro]), from 2007-10-18.
275         * lib/autotest/general.m4 (AT_KEYWORDS): Expand argument prior to
276         converting it to lower case.
277         * tests/autotest.at (Keywords and ranges): Test this.
278         * NEWS: Document the fix.
279         * THANKS: Update.
280         Reported via Karsten Hopp, by Jochen Schmitt in
281         https://bugzilla.redhat.com/show_bug.cgi?id=449973
283 2008-06-03  Eric Blake  <ebb9@byu.net>
285         Fix 'make dist' regression from 2008-05-08.
286         * Makefile.am (INSTALL): Add rule, to accomodate 'make dist' after
287         GNUmakefile's _autoconf rule removes INSTALL.
289 2008-05-27  Eric Blake  <ebb9@byu.net>
291         Document Solaris /bin/sh redirection pitfall.
292         * doc/autoconf.texi (File Descriptors): Mention redirection bug.
294 2008-05-14  Eric Blake  <ebb9@byu.net>
296         Improve documentation of ! issues.
297         * doc/autoconf.texi (Limitations of Builtins) <!>: Touch up.
298         Reported by Noah Misch.
300         Document some FreeBSD shell bugs.
301         * doc/autoconf.texi (Limitations of Builtins) <!>: Mention ! issue
302         in compound pipe commands.
303         <export>: Mention difference of exporting an undefined variable.
304         (Shell Functions): Mention loss of $? in entry to shell functions.
305         Extracted from the git mailing list.
307 2008-05-13  Stepan Kasal  <kasal@ucw.cz>
309         Work around MSYS and Cygwin bugs when dealing with trailing space.
310         * tests/atlocal.in (func_sanitize_dir_name): Let atlocal succeed,
311         even when platform bugs are tickled.
312         Reported by Keith Marshall and Eric Blake.
314 2008-05-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
316         Let AC_MSG_FAILURE report pwd.
317         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE):
318         Output $ac_pwd along with fatal failure.
319         * tests/torture.at (Deep Package): Extend test.
320         Reported numerous times against GCC, and probably other packages.
322 2008-05-12  Eric Blake  <ebb9@byu.net>
324         Enforce --help and --version compliance.
325         * configure.ac (AM_INIT_AUTOMAKE): Add std-options option.
327 2008-05-08  Keith Marshall  <keithmarshall@users.sourceforge.net>  (tiny change)
329         Avoid case-insensitive `make install' vs. `INSTALL' conflict.
330         * Makefile.am ($(srcdir)/INSTALL): Replace all references...
331         ($(abs_srcdir)/INSTALL): ...with this.
333 2008-05-06  Eric Blake  <ebb9@byu.net>
335         Fix typo.
336         * doc/autoconf.texi (Shell Substitutions): Drop at_ prefix.
338         Avoid overfull \hbox.
339         * doc/autoconf.texi (Versioning): Reword to fit line size.
341         Document $(( )) pitfalls.
342         * doc/autoconf.texi (Shell Substitutions): Mention octal
343         vs. decimal.  Mention autotest's at_func_arith.
345         Improve behavior of './testsuite 01'.
346         * lib/autotest/general.m4 (AT_INIT) <at_func_validate_ranges>:
347         Alter usage to eval its arguments, in order to normalize away
348         leading zero.  All callers updated.
349         * tests/autotest.at (Keywords and ranges): Test range
350         normalization with leading 0.
352 2008-04-26  Eric Blake  <ebb9@byu.net>
354         Mention Solaris /usr/ucb/tr pitfall.
355         * doc/autoconf.texi (Limitations of Usual Tools) <tr>: Add section.
356         Reported by Bruno Haible and Jim Meyering.
358 2008-04-24  Eric Blake  <ebb9@byu.net>
360         Mention m4sugar's internal quote strings.
361         * doc/autoconf.texi (Quadrigraphs): Mention alternate quote used
362         in m4sugar, and how to still output it literally.
363         * tests/m4sugar.at (m4@&t@_split): And test it.
364         Reported by Joel E. Denny.
366 2008-04-23  Eric Blake  <ebb9@byu.net>
368         Allow unbalanced () in m4_expand.
369         * lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Use more complex
370         quotes.
371         (m4_noquote, _m4_split): Use consistent complex quote.
372         * tests/autotest.at (Left paren, Right paren): Test this.
373         (Parentheses): Ensure new quadrigraphs still work.
374         (AT_CHECK_AT_TITLE_CHAR): All title char tests exercise m4_expand.
375         * NEWS: Mention the fix.
376         * doc/autoconf.texi (Quadrigraphs): Revert mention of macros that
377         require quadrigraphs for ().
378         (Evaluation Macros) <m4_expand>: Relax the restriction against
379         unbalanced ().
380         (Pretty Help Strings) <AS_HELP_STRING>: Likewise.
381         (Writing Testsuites) <AT_SETUP>: Likewise.
382         Reported by Joel E. Denny, fix suggested by Noah Misch.
384 2008-04-22  Eric Blake  <ebb9@byu.net>
386         Support unbalanced () in AT_SETUP by adding two new quadrigraphs.
387         * bin/autom4te.in (handle_output): Substitute @{:@ and @:}@.
388         (handle_traces): Likewise.
389         * lib/m4sugar/m4sugar.m4 (m4_qlen): Account for new quadrigraphs.
390         * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Add new tests.
391         * doc/autoconf.texi (Quadrigraphs): Document them.
392         (Evaluation Macros) <m4_expand>: Enhance documentation.
393         (Text processing Macros) <m4_text_box>: Document cases where
394         quadrigraphs can help for problemetic unbalanced parentheses.
395         (Pretty Help Strings) <AS_HELP_STRING>: Likewise.
396         (Writing Testsuites) <AT_SETUP>: Likewise.
397         (Limitations of Builtins) <case>: Consolidate text on unbalanced
398         parentheses, and add an example of creative comments.
399         * NEWS: Document the addition.
400         Reported by Joel E. Denny.
402 2008-04-16  Eric Blake  <ebb9@byu.net>
404         Document pdksh exec behavior.
405         * doc/autoconf.texi (Limitations of Builtins) <exec>: New
406         subsection.
407         Discovered by Jim Meyering.
409 2008-04-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
411         * tests/autotest.at (AT_CHECK_AT): Allow to pass additional
412         arguments to the inner suite.
413         (errexit, input from stdin): New tests.
415 2008-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
417         * NEWS: Post-release update.
419 2008-04-10  Eric Blake  <ebb9@byu.net>
421         AC_AUTOCONF_VERSION might contain arbitrary macro names.
422         * doc/autoconf.texi (Versioning): Mention problem with expansion.
423         * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Adjust test.
425 2008-04-09  Slava Sysoltsev <Viatcheslav.Sysoltsev@h-d-gmbh.de>  (tiny change)
427         Flush buffered output before exit.
428         * bin/autom4te.in (handle_output): Explicitly close file.
429         * THANKS: Update.
430         See http://lists.gnu.org/archive/html/autoconf/2008-04/msg00026.html.
432 2008-04-08  Eric Blake  <ebb9@byu.net>
434         Generate web docs for 2.62.
435         * doc/autoconf.texi (Evaluation Macros): Fix typo.
436         (Notices): Use recommended means to escape RCS keyword.
437         * cfg.mk (gnulib_dir): New macro.
438         (web-manual): New target.
440 2008-04-05  Eric Blake  <ebb9@byu.net>
442         Release Version 2.62.
443         * NEWS: Mention the release.
445 2008-04-04  Stepan Kasal  <kasal@ucw.cz>
446         and Eric Blake  <ebb9@byu.net>
448         Return back to GPLv2+, until the text of the exceptions is
449         finalized, reverting the change from 2007-07-03 and the first
450         part of the change from 2007-07-20.
451         * COPYING: Revert to GPLv2.
452         * COPYINGv3: New file, since some auxiliary build tools, used for
453         building autoconf and not installed, are GPLv3.
454         * Makefile.am (EXTRA_DIST): Distribute COPYINGv3.
455         * NEWS: Remove mention of GPLv3.
456         * README: Clarify situation regarding GPLv3.
458 2008-04-05  Eric Blake  <ebb9@byu.net>
460         Prepare for release.
461         * maint.mk (announcement): Avoid deleted option.
462         * cfg.mk (release_archive_dir): Use default.
463         * build-aux/gnupload: New file, from automake/gnulib.
464         * Makefile.am (EXTRA_DIST): Distribute it.
465         * .x-sc_two_space_separator_in_usage: New file, to exempt gnupload
466         from syntax check.
468 2008-04-05  Jim Meyering  <meyering@redhat.com>
469         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
471         Work around CR EOL markers on OS/2 (www.ecomstation.com Ecs v2 rc4)
472         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When CR
473         is the EOL marker, skip a step that would remove and translate
474         carriage return bytes.
475         * THANKS: Update.
476         Reported by Elbert Pol.
478 2008-04-05  Eric Blake  <ebb9@byu.net>
480         Avoid some autoreconf -Wall warnings.
481         * configure.ac: Use proper quoting, to be a good example.
482         (PACKAGE_NAME): Remove setting covered by autoconf.
483         (AM_INIT_AUTOMAKE): Bump automake requirement, for html rules.
484         * doc/Makefile.am (TEXI2DVI): Remove settings covered by
485         automake.
486         (html, autoconf_1.html, standards_1.html): Likewise.
487         (TEXI2HTML, TEXI2HTML_FLAGS): Remove unused macros.
488         * Makefile.am (html): Likewise.
489         * doc/autoconf.texi (Quoting and Parameters): Add missing section
490         name.
491         * tests/Makefile.am (AUTOMAKE_OPTIONS): Intentionally ignore
492         warning about our override, until Automake is fixed.
493         * README-hacking: Document minimum requirements for bootstrap.
495 2008-04-03  Eric Blake  <ebb9@byu.net>
497         Fix version number generation in man pages.
498         * Makefile.am (EXTRA_DIST): Distribute .version.
499         (.version): New rule.
500         * man/Makefile.am (common_dep): Depend on .version, not
501         configure.ac.
502         (.x.1): Use package name for version string.
503         * GNUmakefile [!_have-Makefile]: Sync from upstream, again.
504         * build-aux/git-version-gen: Sync from upstream.
506         More maintainer tweaks: pass 'make maintainer-distcheck'.
507         * GNUmakefile (_is-dist-target): Sync from upstream.
508         * build-aux/vc-list-files: Sync from upstream, yet again.
509         * tests/atlocal.in (unsupported_fs_chars): Always remove tdir.
510         * tests/Makefile.am (EXTRA_DIST): Don't distribute the built
511         package.m4.
512         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Bump year.
514         Fix VPATH 'make syntax-check'.
515         * maint.mk (VC_LIST, VC_LIST_EXCEPT, sc_changelog)
516         (sc_prohibit_jm_in_m4, makefile-check): Support VPATH.
517         (author_mark_check): Avoid error message.
518         * build-aux/vc-list-files: Sync from upstream again.
519         * build-aux/texinfo.tex: Likewise.
521         Sync files from upstream, and pass 'make syntax-check'.
522         * config/announce-gen: Move...
523         * build-aux/announce-gen: ...here, and sync from gnulib.
524         * Makefile.am (EXTRA_DIST): Adjust accordingly.
525         * cfg.mk (announce_gen): Likewise.
526         (prev_version_file): Delete, relying on default in maint.mk.
527         (gpg_key_ID): New macro.
528         (url_dir_list): Rewrite to match coreutils.
529         * config/prev-version.txt: Move...
530         * .prev-version: ...here, and adjust to 2.61.
531         * build-aux/vc-list-files: Sync from coreutils.
532         * maint.mk: Resynchronize with coreutils, where possible.
533         (ME): Remove $(srcdir) from definition.
534         (CVS): Delete.
535         (GIT, VC, VC-tag): New macros.
536         (CVS_LIST, CVS_LIST_EXCEPT): Rename...
537         (VC_LIST, VC_LIST_EXCEPT): ...to this.
538         (cvs-tag-check): Delete.
539         (cvs-diff-check): Rename...
540         (vc-diff-check): ...to this.
541         (sc_file_system): Allow FHS acronym.
542         * doc/autoconf.texi (Particular Functions): Recommend
543         unconditional <config.h>.
544         * build-aux/config.guess: Sync from upstream (manually).
545         * build-aux/config.sub: Likewise.
546         * build-aux/texinfo.tex: Likewise.
547         * doc/make-stds.texi: Likewise.
548         * doc/standards.texi: Likewise.
549         * .gitattributes: Ignore whitespace problems in upstream files.
551 2008-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
553         * doc/autoconf.texi (Limitations of Usual Tools): Mention awk %u
554         bug on HP-UX/IA.
555         Report by Peter O'Gorman.
557 2008-04-02  Eric Blake  <ebb9@byu.net>
559         Recommend the just-released M4 1.4.11.
560         * NEWS: Update recommendation.
561         * README: Likewise.
562         * doc/autoconf.texi (Introduction): Likewise.
563         * m4/m4.m4 (AC_PROG_GNU_M4): Likewise.
565 2008-04-01  Eric Blake  <ebb9@byu.net>
567         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Bump
568         copyright year.
570 2008-03-28  Peter O'Gorman  <peter@pogma.com>
572         Find X11 on Mac OS X too.
573         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT,_AC_PATH_X_XMKMF):
574         Check for libX11 with extensions dylib la and dll too.
575         * THANKS: Update.
576         Reported by Martin Costabel.
578 2008-03-28  Eric Blake  <ebb9@byu.net>
580         Update TODO based on completed tasks.
581         * TODO (AC_PROG_INSTALL takes multiple files): Done.
582         (AC_GNU_SOURCE deprecation): Done, see AC_USE_SYSTEM_EXTENSIONS.
583         (AC_COMPILE_IFELSE documentation): Done.
584         (Tracing builtins): Done, now that we require M4 1.4.5.
585         (AC_PROG_CC_POSIX suggestion, providing header files)
586         (AC_TYPE_SIGNAL): Not needed; gnulib's approach is better.
587         (cache consistency): Done with precious variables.
589 2008-03-26  Eric Blake  <ebb9@byu.net>
591         Document --trace=macro:format in --help output.
592         * bin/autom4te.in (help): Mention optional trace format.
593         * bin/autoconf.as (usage): Likewise.
595         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Fix
596         typos in last patch.
597         Reported by Ralf Wildenhues.
599 2008-03-26  Jim Meyering  <meyering@redhat.com>
601         Fix texinfo syntax error.
602         * doc/autoconf.texi (Limitations of Usual Tools): s/@kbd {/@kbd{/
604 2008-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
606         Warn, not fail on whitespace-only precious variable differences.
607         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Output
608         precious variable differences less ambiguous with `ugly-quotes'.
609         If their settings differ only in whitespace, do not fail, but
610         reuse the old value.
611         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Extend macro to allow
612         an optional status and expected-warning argument.  Fix m4
613         quotation for initial value.
614         (AC_ARG_VAR): Also test for whitespace-only differences, and
615         that the old value is retained in this case.
616         * doc/autoconf.texi (Setting Output Variables): Document this.
617         * NEWS: Update.
618         Report and initial patch by Paolo Bonzini.
620 2008-03-26  Eric Blake  <ebb9@byu.net>
622         Document busybox sed bug.
623         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Mention
624         restrictions when using back-references.
625         Reported by Vincent Lefevre:
626         <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13013>.
628         Document Automake interaction with AC_CONFIG_MACRO_DIR.
629         * doc/autoconf.texi (Input): Mention ACLOCAL_AMFLAGS for automake
630         users.
631         * THANKS: Update.
632         Reported by Chris Pickett.
634 2008-03-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
636         * tests/autotest.at (Using atlocal): Quote instances of `pwd`.
638         * tests/local.at (AT_CHECK_M4): Factorize warning output
639         normalization.
640         Suggested by Eric Blake.
642 2008-03-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
644         Fix .exe-related test failure on MinGW.
645         * tests/local.at (AT_CHECK_M4): Normalize `/bin/m4.exe' correctly
646         for comparing warning output.
648         Fix Fortran testsuite failures with gfortran 4.3.
649         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): When scanning
650         verbose compiler output, skip lines that set variables; gfortran
651         4.3 sets LIBRARY_PATH, COMPILER_PATH, COLLECT_GCC_OPTIONS.
652         * THANKS: Update.
653         Report by Vincent Lefèvre.
655 2008-03-21  Eric Blake  <ebb9@byu.net>
657         * GNUmakefile: Resynchronize with gnulib.
659         Document more uses of $cross_compiling.
660         * doc/autoconf.texi (Runtime): Document that a temporary override
661         is permissible.
662         * THANKS: Update.
663         Reported by Ineiev, example by Ralf Wildenhues.
665         Don't swallow $1 in textual local variables.
666         * lib/m4sugar/m4sugar.m4 (m4_combine): Don't use overquoting and
667         expansion of text arguments, as that swallows $1.
668         (m4_text_wrap): Likewise, by splitting out...
669         (_m4_text_wrap): ...new helper macro.  Also, allow arbitrary
670         expression for width.
671         * tests/m4sugar.at (m4@&t@_text_wrap): Test this.
672         (m4@&t@_combine): Likewise.
674 2008-03-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
676         Avoid leftover files on Leopard.
677         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove a.out.dSYM
678         directory created on darwin.
679         (AC_NO_EXECUTABLES): Likewise; also remove objects which may be
680         left over from a broken link.
681         * tests/c.at (AC_NO_EXECUTABLES (working linker))
682         (AC_NO_EXECUTABLES (broken linker)): New tests.
683         Report by Gary V. Vaughan.
685         * lib/autom4te.in (Automake-preselections): Trace
686         _AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF.
688 2008-03-20  Eric Blake  <ebb9@byu.net>
690         Kill more CVS references.
691         * README-cvs: Delete.  See README-hacking instead.
692         * README-hacking: Update wording, based on older file.
693         * BUGS: Remove CVS mention.
695 2008-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
697         * tests/tools.at (autotools and whitespace in file names): Skip
698         if aclocal is not present.
700 2008-03-20  Eric Blake  <ebb9@byu.net>
702         Sync GNUmakefile with gnulib.
703         * GNUmakefile (Makefile.cfg): Rename...
704         (cfg.mk): ...to this, and make optional.
705         (GNUmakefile.cfg): Delete, redundant with cfg.mk.
706         (Makefile.maint): Rename...
707         (maint.mk): ...to this.
708         (all) [!_have-Makefile]: Rename...
709         (abort-due-to-no-makefile): ...to this, and invoke via
710         .DEFAULT_GOAL to pick up all targets.
711         * Makefile.cfg: Rename...
712         * cfg.mk: ...to this.
713         * Makefile.maint: Rename...
714         * maint.mk ...to this.
715         (ME): Reflect name change.
716         (makefile-check, m4-check, author_mark_check, msg): Use $(ME)
717         rather than hard-coded name.
718         * GNUmakefile.cfg: Delete; move rules into cfg.mk.
719         * Makefile.am (EXTRA_DIST): Reflect file name changes.
720         * .x-sc_prohibit_atoi_atof: Likewise.
721         * lib/freeze.mk: Likewise.
723 2008-03-19  Stepan Kasal  <kasal@ucw.cz>
725         * doc/autoconf.texi (Introduction): Improve the paraphrase of
726         Henry Spencer's quotation.
728 2008-03-19  Eric Blake  <ebb9@byu.net>
730         AC_CONFIG_HEADERS replaced AC_CONFIG_HEADER.
731         * bin/autoscan.in (output): Avoid obsolete spelling.
732         * tests/local.at (AC_STATE_SAVE): Update usage.
733         * THANKS: Update.
734         Reported by John Calcote.
736         Emphasize that ease of configure triumphs over ease of autoconf.
737         * doc/autoconf.texi (Introduction): Expand on primary
738         vs. secondary goal of autoconf.
739         * THANKS: Update.
740         Inspired by Paul Smith.
742 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
744         * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
745         $hint, show if the executing program does not exist.
746         (xsystem_hint): New function, like xsystem but allows to pass
747         a hint.
748         * bin/autoreconf.in: Use xsystem_hint for spawning autopoint and
749         libtoolize.
750         Report by Bruce Korb.
752 2008-03-14  Stepan Kasal  <kasal@ucw.cz>
754         * lib/Autom4te/ChannelDefs.pm, tests/fortran.at,
755         tests/mktests.sh, tests/wrapper.as: Fix typos.
757 2008-03-12  Eric Blake  <ebb9@byu.net>
759         Fix yesterday's regression in m4_wrap([$1]).
760         * lib/m4sugar/m4sugar.m4 (_m4_wrap): Don't directly invoke wrapped
761         text, since it may contain text that looks like parameters.
762         * tests/m4sh.at (AS@&t@_INIT cleanup): Enhance test.
764 2008-03-11  Eric Blake  <ebb9@byu.net>
766         Improve error messages for common testsuite bugs.
767         * lib/autotest/general.m4 (_AT_DEFINE_INIT, _AT_DEFINE_SETUP): New
768         macros for defining order-enforced macros.
769         (AT_INIT, AT_SETUP, AT_CLEANUP, AT_BANNER, AT_XFAIL_IF)
770         (AT_CAPTURE_FILE, AT_DATA, AT_CHECK, AT_CHECK_NOESCAPE): Add error
771         messages when order violations are detected.
772         * tests/autotest.at (AT_CHECK_AT_SYNTAX): New helper macro.
773         (AT_SETUP without AT_INIT, AT_BANNER without AT_INIT)
774         (AT_CLEANUP without AT_INIT, Missing AT_CLEANUP)
775         (AT_CHECK without AT_SETUP, AT_DATA without AT_SETUP)
776         (AT_XFAIL_IF without AT_DATA, AT_KEYWORDS without AT_SETUP,
777         (AT_CLEANUP without AT_SETUP, AT_BANNER inside AT_SETUP)
778         (AT_SETUP inside AT_SETUP, Multiple AT_INIT)
779         (Banner-only test suite): New tests.
780         Reported by Christopher Hulbert.
782         Tweak m4_wrap to force FIFO or LIFO semantics.
783         * lib/m4sugar/m4sugar.m4 (m4_wrap): Override M4 implementation.
784         (m4_wrap_lifo, _m4_wrap): New macros.
785         * lib/m4sugar/m4sh.m4 (AS_INIT): Combine all cleanup into known
786         order, prior to m4sugar's.
787         (_AS_DETECT_BETTER_SHELL): Use cleanup parameter, rather than
788         m4_wrap.
789         * lib/autotest/general.m4 (AT_INIT): Combine all cleanup into
790         known order, prior to m4sh's.
791         * doc/autoconf.texi (Diagnostic Macros) <m4_fatal>: Document
792         argument.
793         (Redefined M4 Macros) <m4_wrap>: Rewrite documentation to match
794         new behavior.
795         * tests/m4sh.at (AS_INIT cleanup): New test.
796         * NEWS: Document the change.
798 2008-03-10  Eric Blake  <ebb9@byu.net>
800         Encode nested autotest data.
801         * tests/autotest.at (AT_CHECK_AT_PREP): Avoid raw AT_ in output.
802         (unusual file names): Likewise.
803         (m4_pattern_allow): Remove loophole, to make it easier to catch
804         poorly written tests.
806         Factor some autotest tests.
807         * tests/autotest.at (AT_CHECK_AT_PREP): New macro, to factor out
808         common initialization.
809         (AT_CHECK_AT, Banners, Keywords and ranges, srcdir propagation)
810         (whitespace in absolute testdir, unusual file names): Use it.
812 2008-03-06  Eric Blake  <ebb9@byu.net>
814         Minor documentation fix.
815         * doc/autoconf.texi (Evaluation Macros): Fix typo.
817 2008-03-04  Eric Blake  <ebb9@byu.net>
819         Make AT_CHECK act like a simple command.
820         * lib/autotest/general.m4 (_AT_CHECK): Wrap commands in {;}.
821         * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Test it.
823 2008-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
825         On MinGW, substitution of CR and 0xFF fails.
826         * tests/torture.at (Substitute and define special characters):
827         MinGW awk cannot handle 0xFF, and on MinGW, the test does the
828         wrong thing for CR.
830 2008-03-04  Eric Blake  <ebb9@byu.net>
832         Pull in recent maintainer improvements from coreutils.
833         * GNUmakefile (_is-dist-target): 'make distclean' should not
834         trigger autoreconf.
835         (_dummy): Change directories before removing autom4te.cache.
836         (check dist distcheck install) [!_have-Makefile]: Provide nicer
837         diagnostics.
838         * configure.ac (AC_CONFIG_LINKS): Copy GNUmakefile into VPATH
839         builds, after initial bootstrap.
840         * Makefile.am (distclean-local): Work around current automake bug.
841         * Makefile.maint (ME): Allow VPATH usage.
843         Use git-merge-changelog when available.
844         * .gitattributes: New file.
845         * README-hacking: Document use of git-merge-changelog.
847         Work around cygwin bug.
848         * tests/atlocal.in (unsupported_fs_chars): Avoid cygwin bug where
849         "touch 't\'" creates regular file 't'.
851         Ignore tests that require read-only directories under root.
852         * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Skip
853         no-write portion if user has root-like privileges.
855 2008-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
857         * lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'.
859 2008-03-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
861         autoreconf -m now honors $MAKE.
862         * bin/autoreconf.in ($run_make): Renamed from ...
863         ($make): ... this.  Use now as command to run `make',
864         overridden by $MAKE.  Document this in --help output.
865         * doc/autoconf.texi (autoreconf Invocation): Document
866         all environment variables honored by autoreconf.
867         * NEWS: Update.
868         Report by Paul Eggert.
870 2008-03-03  Eric Blake  <ebb9@byu.net>
872         Documentation improvements.
873         * doc/autoconf.texi (Looping constructs): s/recurses/repeats/.
874         (Evaluation Macros): Drop `1' suffix from metasyntax variable name
875         that preceeds @dots.  Improve wording.
876         (Text processing Macros): Drop `1' suffix from metasyntax variable
877         name that preceeds @dots.
878         (Number processing Macros): Drop `1' suffix from metasyntax
879         variable name that preceeds @dots.  Improve wording.
880         * lib/m4sugar/m4sugar.m4 (m4_cmp): Comment wording fix.
881         Suggested by Ralf Wildenhues.
883 2008-03-02  Jim Meyering  <meyering@redhat.com>
885         Don't infloop upon "make dist".
886         * GNUmakefile: Merge from coreutils.
887         * Makefile.am (dist-hook): Inject .tarball-version into tarball,
888         not .version.
889         * configure.ac (AC_INIT): Use .tarball-version, not .version.
890         * build-aux/git-version-gen: Update from gnulib.
892 2008-03-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
894         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
895         Before using /dev/full, check that it is a writable character
896         special device.
897         Report by Benoit Sigoure and Eric Blake.
899         Actually test that @configure_input@ is expanded correctly.
900         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
901         Actually check generated file contents for the name of the
902         generated file, using AC_PROG_FGREP and $FGREP.
904 2008-03-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
906         Be nice with file systems that don't handle unusual characters.
907         * tests/atlocal.in (func_sanitize_file_name)
908         (func_sanitize_dir_name): New shell functions.
909         * tests/tools.at (autom4te and whitespace in file names)
910         (autotools and whitespace in file names): Use them.
911         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
912         Cover more potentially problemtic file names.  Use the new
913         functions.
915         Properly handle funny file names for headers in config.status.
916         The test suite did not cover this bug because the code was not
917         quoting properly the arguments of `rm -f' (which "fails" silently)
918         as well as the arguments of `diff' (whose output was redirected to
919         /dev/null so we couldn't see its error message).
920         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Properly quote the
921         file names passed to `rm' and `diff'.
922         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
923         Add a regression test.
925 2008-03-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
926         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
928         Properly expand @configure_input@ in config.status.
929         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_MAIN_LOOP):
930         Escape the backslashes and ampersands in $configure_input before
931         using it in the sed replacement string to expand @configure_input@.
932         Report by Eric Blake and Patrick Welche.
934 2008-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
936         Ignore errors from ./run on w32.
937         * tests/autotest.at (whitespace in absolute testdir):
938         Ignore stderr for `./run' which fails to remove the
939         busy test directory on w32.
941 2008-02-22  Eric Blake  <ebb9@byu.net>
943         Improve documentation for writing autotest suites.
944         * doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Mention that
945         checks must live inside a test group.
946         Reported by Christopher Hulbert.
948 2008-02-21  Eric Blake  <ebb9@byu.net>
950         Sync git-version-gen from upstream.
951         * build-aux/git-version-gen: Pull from gnulib.
952         * configure.ac (AC_INIT): Adjust to new calling convention.
954 2008-02-12  Eric Blake  <ebb9@byu.net>
956         Avoid trailing space in config.h with AC_DEFINE([var], []).
957         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Explicitly mark empty
958         defines with a comment.
960 2008-02-08  Eric Blake  <ebb9@byu.net>
962         Fix texinfo typos in previous patch.
963         * doc/autoconf.texi (Site Defaults): s/[{}]/@&/g.
964         Reported by Ralf Wildenhues.
966         Describe a config.site that can be used for FHS compliance.
967         * doc/autoconf.texi (Site Defaults): Fix typo.  Add new example
968         for FHS.
969         * THANKS: Update.
970         Reported by Jules Colding and Ralf Wildenhues.
972 2008-02-02  Eric Blake  <ebb9@byu.net>
974         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Fix typo.
976 2008-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
978         * lib/autotest/general.m4 (AT_INIT): Fix --clean to work
979         again, broken since introduction of `-C dir'.
980         * tests/autotest.at (Choosing where testsuite is run): Test it.
982 2008-01-30  Paul Eggert  <eggert@cs.ucla.edu>
984         * doc/autoconf.texi: Update Back-Cover text to reflect new GNU wording.
986 2008-01-29  Eric Blake  <ebb9@byu.net>
988         Fix more autotest regressions.
989         * lib/autotest/general.m4 (AT_LINE): Fix regression from
990         2007-10-04 when file name is `dnl'.
991         (AT_INIT) <PREPARE_TESTS>: Move command-line assignments...
992         <TESTS_BEGIN>: ...to this new diversion, to fix regression from
993         yesterday in libtool's testsuite.
994         (_AT_ARG_OPTION): Detect write failure.
995         * doc/autoconf.texi (Diversion support): Document PREPARE_TESTS to
996         make libtool's use kosher.  Document m4_init.
997         (Programming in M4sh): Document AS_INIT.
998         (Writing Testsuites): Document limitation of AT_DATA file name.
999         * tests/autotest.at (unusual file names): New test.
1000         (Banners, Keywords and ranges): Use correct shell.
1002         More corner cases in testsuite VAR=VALUE handling.
1003         * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS): Fix quoting
1004         bug.
1005         <PARSE_ARGS_END>: Also detect leading digits in assignments.
1006         * tests/autotest.at (Using atlocal): Enhance test to catch last
1007         bug.
1009         * doc/autoconf.texi (Limitations of Builtins) <.>: Mention bash
1010         bug.
1012 2008-01-28  Eric Blake  <ebb9@byu.net>
1014         Fix regression in handling VAR=VALUE arguments to testsuite.
1015         * lib/autotest/general.m4 (AT_INIT) <PARSE_ARGS_END>: Detect
1016         leading = as invalid.  Defer use of command-line variable
1017         assignments...
1018         <PREPARE_TESTS>: ...here, after atconfig has been sourced.  Fix
1019         regression in sourcing files.
1020         * tests/autotest.at (Using atlocal): New test to catch this.
1021         (Debugging a successful test, Choosing where testsuite is run):
1022         Use correct shell.
1023         Reported by Ralf Wildenhues.
1025         Document grep peculiarity.
1026         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Document
1027         BSD behavior on binary input.
1029         Minor testsuite improvements.
1030         * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS>: Use fewer
1031         forks when sanitizing PATH.  Always output machine information,
1032         not just when atconfig was located.
1034         Add 'testsuite -C dir'.
1035         * lib/autotest/general.m4 (_AT_ARG_OPTION): Move missing argument
1036         detection...
1037         (AT_INIT) <PARSE_ARGS_END>: ...here, since -k always takes
1038         argument.
1039         <DEFAULTS>: Delay computation of variables based on $at_dir...
1040         <PREPARE_TESTS>: ...to here, since -C can change $at_dir.
1041         <TESTS>: Re-invoke via absolute name, since -C may be in effect.
1042         <PARSE_ARGS>: Parse new option.
1043         <HELP_TUNING>: Document it.
1044         * tests/autotest.at (Choosing where testsuite is run): New test
1045         for this feature.
1046         (Keywords and ranges): Add test for missing -k argument.
1047         * NEWS: Document this.
1048         * doc/autoconf.texi (testsuite Invocation): Likewise.
1050 2008-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1052         * build-aux/config.guess, build-aux/config.sub,
1053         build-aux/texinfo.tex: Sync from gnulib.
1054         * doc/fdl.texi, doc/make-stds.texi, doc/standards.texi:
1055         Likewise.
1057 2008-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1059         * doc/autoconf.texi (Particular Programs): Do not mention the
1060         Autoconf version in which the AC_PROG_INSTALL change was done.
1061         Suggested by Paul Eggert.
1063 2008-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1065         Fix --help=recursive with multiple AC_CONFIG_SUBDIRS.
1066         * lib/autoconf/general.m4 (_AC_INIT_HELP): If, for recursive help
1067         mode, we change to the source directory, also set $ac_pwd so we
1068         do not go back to the build tree for the next config subdir.
1069         * tests/torture.at (Deep Package): Extend test to contain two
1070         config subdirs on the top level.
1072         Fix parallel `maintainer-check'.
1073         * Makefile.am (maintainer-check-tests): Depend on `all'.
1074         Use `$(MAKE) $(AM_MAKEFLAGS)' instead of plain `make'.
1075         * tests/Makefile.am (maintainer-check-c++, maintainer-check-posix):
1076         Likewise.
1077         (maintainer-check): Serialize the testsuite runs.
1079         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE2): Accept `+'
1080         in feature string for --enable/--with.  Convert to underscore
1081         for variable name.
1083         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Require that
1084         `install -c file1 file2 dir' works.
1085         * doc/autoconf.texi (Particular Programs): Document this.
1086         * NEWS: Update.
1088 2008-01-21  Eric Blake  <ebb9@byu.net>
1090         Improve documentation about default include directives.
1091         * doc/autoconf.texi (Generic Headers, Generic Declarations)
1092         (Generic Structures, Generic Types)
1093         (Generic Compiler Characteristics): Add links to
1094         AC_INCLUDES_DEFAULT.
1095         Reported by Reuben Thomas.
1097 2008-01-15  Eric Blake  <ebb9@byu.net>
1099         * lib/m4sugar/m4sugar.m4 (m4_qlen): Use fewer macros.
1101 2008-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1103         * tests/Makefile.am (noinst_SCRIPTS): Renamed from
1104         check_SCRIPTS.  Building the wrappers for `all' allows help2man
1105         to use them for the manpages.
1106         Report by Benoit Sigoure.
1108         * bin/autoreconf.in: Discard stderr for $autoconf/$aclocal --help.
1110 2007-12-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1112         Fix some write failure cases in Autotest.
1113         * lib/autotest/general.m4 (AT_INIT): Do not exit successfully
1114         upon write failures for --help, --version, --list.
1115         Guard against write failures for intermediate created scripts.
1116         <at_func_create_debugging_script>: Do not make the debugging
1117         script executable if it is not complete.
1119 2007-12-12  Eric Blake  <ebb9@byu.net>
1121         Fix thinko in earlier patch - m4_join isn't defined yet.
1122         * lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
1123         (_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
1124         (m4_require): Use m4_do, not m4_join.
1126         Fix some whitespace tests on cygwin.
1127         * tests/tools.at (autom4te and whitespace in file names): Restore
1128         font-lock.  Create $TMPDIR before it might be used.
1130         Fix spurious testsuite failure with M4 1.4.11.
1131         * tests/local.at (AT_CHECK_M4): Cater to new m4 error message.
1133         Optimize AC_REQUIRE.
1134         * lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
1135         (_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
1136         (m4_require): Avoid extra macro calls.
1138 2007-12-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1140         * tests/torture.at (srcdir): Fix quoting.
1142         Do not pass top_srcdir to configure scripts in testsuite.
1143         * tests/autotest.at (srcdir propagation): Copy install-sh to
1144         source tree.
1145         (my only test): Drop setting of `top_srcdir'.
1146         * tests/base.at (Input/Output): Likewise.
1147         * tests/local.at (AT_CONFIGURE_AC): Copy install-sh,
1148         config.guess, and config.sub to test source tree.
1149         Drop AC_CONFIG_AUX_DIR setting.
1150         (AT_CHECK_CONFIGURE): Drop setting of `top_srcdir'.
1151         * tests/torture.at (Substitute a 2000-byte string): Drop
1152         AC_CONFIG_AUX_DIR setting, copy install-sh to test source tree.
1153         (Substitute a newline, datarootdir workaround): Likewise.
1154         (Define a newline): Adjust for linenumber changes in configure.ac.
1155         * tests/foreign.at (Libtool): Adjust comment to reflect changes.
1157         * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): Skip test
1158         if `pwd` contains whitespace.
1160         Quote $abs_top_srcdir in tests.
1161         * tests/local.at (AT_CHECK_PERL_SYNTAX): Likewise.
1162         * tests/tools.at (Syntax of the shell scripts): Likewise.
1164         * tests/m4sh.at (LINENO): Quote $0.
1166         Fix testsuite program wrapper for whitespace in `pwd`.
1167         The problem here is that the usual mantra is that command
1168         variables can contain arguments, thus we cannot just escape
1169         $AUTOCONF, $AUTOM4TE etc.  The compromise is to put the
1170         $top_builddir/tests directory early in $PATH, so that the
1171         wrappers are found by their plain name.
1172         * tests/wrapper.as: Put $testdir early in $PATH.
1173         (AUTOCONF, AUTOHEADER, AUTOM4TE): Set to plain command names.
1175         Proper config.status --file/--header and $srcdir escaping.
1176         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Quote special
1177         characters in $ac_file_inputs.
1178         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER): eval $ac_file_inputs
1179         accordingly.
1180         * tests/torture.at (datarootdir workaround): Adjust.
1181         (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Extend test.
1183         Fix Autotest for whitespace in `pwd`.
1184         * lib/autotest/general.m4 (AT_INIT)
1185         <at_func_create_debugging_script, Driver Loop>:
1186         Quote $at_group_dir.
1187         * tests/autotest.at (whitespace in absolute testdir): New test.
1189         * lib/autom4te.in: Quote @datadir@.
1191         Proper file name escaping in Autoconf programs and Perl modules.
1192         This includes escaping of characters special to the shell
1193         as well as special to Perl, e.g., leading `<' or `>'.
1194         For example, when $file starts with `>', `open ">$file"'
1195         wrongly tries to append to a different file.
1196         * bin/autoconf.as: Fix quoting for autom4te options.
1197         * lib/Autom4te/General.pm (shell_quote): New function, taken
1198         from coreutils, written by Jim Meyering.
1199         (mktmpdir): Use it.
1200         * bin/autom4te.in (files_to_options, handle_m4): Use shell_quote
1201         and open_quote.
1202         * bin/autoreconf.in (parse_args): Likewise.
1203         * bin/autoscan.in (main): Likewise.
1204         * bin/autoupdate.in (main): Likewise.
1205         * bin/autoheader.in: Likewise, fixing old insufficient escaping.
1206         * bin/ifnames.in: Likewise, XFile usage fixes.
1207         * tests/tools.at (autom4te and whitespace in file names): Extend
1208         test.  Test twice, with special characters allowed on w32, and the
1209         rest.  Test leading and trailing whitespace, for `open_quote'.
1210         (autotools and whitespace in file names): New, analogous test.
1211         Reported by Paul Eggert and Benoit Sigoure, additional suggestions
1212         by Russ Allbery and Eric Blake.
1214         Sync from Automake.
1215         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
1216         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Likewise.
1217         * lib/Autom4te/FileUtils.pm (open_quote): New function.
1218         (update_file, contents): Use it.
1220         * Makefile.am (autom4te-update): Rewrite for git.
1222 2007-12-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1224         * doc/autoconf.texi (autom4te Invocation, Autom4te Cache): Fix typos.
1226         Fix copyright years.
1227         * Makefile.am, doc/install.texi, lib/autoconf/fortran.m4,
1228         lib/autoconf/lang.m4, lib/freeze.mk: Likewise.
1230 2007-12-04  Eric Blake  <ebb9@byu.net>
1232         Manually resync with gnulib, since 'make cvs-update' no longer works.
1233         * build-aux/config.guess: New upstream version.
1234         * build-aux/config.sub: Likewise.
1236         When using older automake, don't downgrade build-aux/texinfo.tex.
1237         * configure.ac (AM_INIT_AUTOMAKE): Add no-texinfo.tex option.
1238         * doc/Makefile.am (TEXINFO_TEX): Add.
1240 2007-11-27  Paul Eggert  <eggert@cs.ucla.edu>
1242         Fix AC_C_BIGENDIAN bug caused by new awk method of substitution.
1243         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Don't comment out the
1244         #undef as this runs afoul of our new way of creating config.h.
1245         Problem reported by Jim Meyering in
1246         <http://lists.gnu.org/archive/html/autoconf-patches/2007-11/msg00164.html>.
1248 2007-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1250         Fix autom4te for unusual characters in input file names.
1251         * bin/autom4te.in (files_to_options): Quote active characters
1252         for the shell.
1253         * tests/tools.at (autom4te and white space in file names):
1254         New test.
1256         * doc/autoconf.texi (Limitations of Usual Tools) <awk>:
1257         Document that Tru64 awk always splits $0.
1259 2007-11-24  Stepan Kasal  <kasal@ucw.cz>
1261         * lib/autotest/general.m4 (AT_INIT): Do not extract the
1262         `#AT_STOP_...' line at the end of each test.
1264 2007-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1266         * lib/autotest/general.m4 (AT_INIT): For awk line number
1267         extraction script, ensure `$at_group' has a defined value
1268         even for the empty set, and properly quote its usage inside
1269         the awk script.
1271 2007-11-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1273         * doc/autoconf.texi (Shell Functions): New chapter.  Document
1274         IRIX sh $0 issue in functions, move content from ...
1275         (Portable Shell): ... here.
1276         (Shell Script Compiler): Note that shell functions are not
1277         totally unportable any more.
1279 2007-11-22  Stepan Kasal  <kasal@ucw.cz>
1280         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1282         * lib/autotest/general.m4 (AT_INIT): Exit awk script after
1283         extracting the line numbers of the last needed test.
1285 2007-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1287         * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
1288         Fix quoting.
1290 2007-11-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1292         Fix IRIX testsuite debugging failures: $0 in functions.
1293         * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
1294         Do not use $0 inside a function, as IRIX sh will set that to the
1295         function name rather than the script invocation name.
1297 2007-11-19  Paolo Bonzini  <bonzini@gnu.org>
1298         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1300         * lib/autotest/general.m4 (at_func_test): Use cached line numbers
1301         to extract test scripts.
1302         (AT_INIT): Extract and cache test script line numbers.
1304 2007-11-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1306         * lib/autotest/general.m4: Revert 2007-11-15 patch and
1307         subsequent fixups; the awk -> here-document conversion trashes
1308         performance too much with AIX sh.
1310 2007-11-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1312         * tests/local.at: Do not test m4, perl with AT_TESTED.
1314         Diagnose and guard against write errors dealing with config.status.
1315         The general idea is this: all write failures from `configure'
1316         writing `config.status' are indicated by $ac_write_error, which
1317         is only checked at the end.  This is safe because config.status
1318         code is not executed before the file is complete.  Other write
1319         failures, be they inside config.status, or in sub shell/awk
1320         scripts spawned from configure or config.status, typically need
1321         earlier checking, as their results are used right afterwards.
1322         * lib/autoconf/status.m4 (AC_OUTPUT): Initialize `ac_write_fail'
1323         before writing config.status, check afterwards.
1324         (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_FILE)
1325         (_AC_OUTPUT_HEADERS_PREPARE,_AC_OUTPUT_CONFIG_STATUS):
1326         Set `ac_write_error' for write failures to config.status.  Barf
1327         upon write failures to temporary files.
1328         Adjust note about closing and reopening the here-document.
1329         (_AC_OUTPUT_HEADER, _AC_OUTPUT_LINK, _AC_OUTPUT_COMMAND)
1330         (_AC_OUTPUT_MAIN_LOOP): Likewise, adjust note about closing and
1331         reopening the here-document.
1332         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
1333         Ensure `ac_write_error' does not escape into config.status.
1334         Also, add a couple of code paths not yet exercised in the test
1335         suite: a config file with input from stdin, and a config header
1336         output to stdout.
1337         Suggestion for catching write errors by Bruno Haible.
1339 2007-11-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1341         Avoid error with Tru64 awk and testsuite lines with many words.
1342         * lib/autotest/general.m4 (AT_INIT): In the awk script that
1343         reads the testsuite, set the field separator to an unusual value,
1344         in order to not run over the limit of 199 fields.  Tru64 4.0D awk
1345         even splits the input if $i, i>0, was never accessed in the script.
1347         Revert 2007-10-17 change.
1348         * TODO: Multiline args in config files and headers mean something
1349         different and are not fixed, see
1350         <http://lists.gnu.org/archive/html/autoconf-patches/2007-05/msg00017.html>
1351         Report by Stepan Kasal.
1353         * doc/autoconf.texi (Generic Programs): Fix typo.
1355 2007-11-16  Stepan Kasal  <kasal@ucw.cz>
1357         AC_*_TOOL does not canonicalize the prefix
1358         * doc/autoconf.texi (Generic Programs): Do not say that
1359         the *_TOOL macros canonicalize, they simply use the `host_alias'.
1361 2007-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1363         Diagnose write errors in config.status instantiations.
1364         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE)
1365         (_AC_OUTPUT_HEADER, _AC_OUTPUT_MAIN_LOOP): Bail out
1366         on write errors.
1367         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
1368         Extend test to also check for some write error failures, using...
1369         <AT_CHECK_CONFIG_CREATION_NOWRITE>: ...this new macro.
1370         Report by Bruno Haible.
1372         Indentation fixups.
1373         * lib/autotest/general.m4 (AT_INIT) <at_func_log_failure>: Fix
1374         indentation.
1375         (_AT_CHECK): Use less indentation, to save space.
1377 2007-11-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1379         Add witness macro for @top_build_prefix@ substitution.
1380         * lib/autoconf/status.m4 (_AC_HAVE_TOP_BUILD_PREFIX): New macro.
1381         (_AC_OUTPUT_FILE): Mention it here.
1383 2007-11-15  Paolo Bonzini  <bonzini@gnu.org>
1384         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1386         * lib/autotest/general.m4 (at_func_test): Remove.
1387         (AT_INIT): Pre-extract test groups into separate files.
1388         (AT_CLEANUP): Source pre-extracted file instead of calling at_func_test.
1389         Remove at-test-source files together with the $at_group_dir.
1390         * tests/autotest.at (Long test source lines): New test.
1392 2007-11-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1394         Shell functions and variables may share a namespace.
1395         * doc/autoconf.texi (Portable Shell): Mention Solaris sh
1396         limitation.
1398 2007-11-14  Paul Eggert  <eggert@cs.ucla.edu>
1400         * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Make comment match
1401         gnulib.
1403 2007-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1405         * lib/autoconf/status.m4: Fix a couple of comment typos.
1407         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Use $as_me, not $me.
1409 2007-11-13  Jim Meyering  <meyering@redhat.com>
1411         Clean up the rule to create "expr".
1412         * tests/Makefile.am (expr): Don't redirect directly to target.
1413         Redirect just once, not for each echo statement.
1414         Use $@, not literal "expr".
1416 2007-11-13  Paul Eggert  <eggert@cs.ucla.edu>
1418         Don't worry about preprocessor when testing long long.
1419         See: http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00075.html
1420         * doc/autoconf.texi (Preprocessor Arithmetic): New section.
1421         (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT):
1422         These no longer check for preprocessor flaws.
1423         * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET):
1424         Do not check for preprocessor flaws.
1426 2007-11-13  Jim Meyering  <meyering@redhat.com>
1428         Adapt dependencies, now that a version change doesn't modify configure.ac
1429         * GNUmakefile: Remove "make clean" kludge.
1430         * lib/m4sugar/Makefile.am (version.m4): Depend on Makefile, not
1431         configure.ac.
1432         Don't redirect directly to target.
1433         Use $@, not literal "version.m4".
1435 2007-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1437         * doc/autoconf.texi (Making testsuite Scripts): Document
1438         ":;{" shorthand as in previous patch.
1440 2007-11-12  Paul Eggert  <eggert@cs.ucla.edu>
1442         * doc/autoconf.texi (Limitations of Builtins): Document problem
1443         with { ... } a bit more clearly.  Suggest ":;{" as a shorthand
1444         for the workaround.
1445         * lib/m4sugar/Makefile.am (version.m4): Detect 'echo' failure.
1446         Use ":;{" shorthand.
1447         * tests/Makefile.am ($(srcdir)/package.m4): Likewise.
1449 2007-11-12  Jim Meyering  <meyering@redhat.com>
1451         Add more non-srcdir build support.
1452         * GNUmakefile (dummy): Split a long line.
1453         Add -v option to autoreconf invocation.
1455         Remove the autoreconf-provided INSTALL, so that we regenerate it.
1456         * GNUmakefile (dummy): Remove INSTALL.
1458         Remove racy commands to build scripts in bin/ and tests/.
1459         * man/Makefile.am (.x.1): Now that scripts in bin/ and tests/
1460         are guaranteed to be built, remove the rules that tried to build
1461         them.  Before, with a parallel build, these rules could lead to
1462         two processes writing tests/wrapper.in concurrently.
1464         Build in man/ only *after* building in bin/ and tests/.
1465         * Makefile.am (SUBDIRS): The man-page-creation process runs $(MAKE)
1466         in both bin/ and tests/.
1468         Accommodate non-srcdir build-from-checkout.
1469         * build-aux/git-version-gen: Require an additional parameter: $srcdir.
1470         Use git's --git-dir=$srcdir/.git option.
1471         Add quotes, in case tarball_version_file contains shell meta-characters.
1472         * GNUmakefile (_curr-ver): Pass $(srcdir) to git-version-gen.
1473         * configure.ac: Pass "." to git-version-gen.
1475         Avoid spurious test failures due to version skew.
1476         * GNUmakefile (dummy): Run $(MAKE) clean after autoreconf -i.
1478 2007-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1480         Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
1481         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_RUN_IFELSE):
1482         Remove conftest.dSYM directory.
1483         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT)
1484         (_AC_LANG_PROGRAM_C_, _AC_FC_MAIN, __AC_FC_NAME_MANGLING):
1485         Remove `conftest.*' recursively.
1486         * lib/autoconf/lang.m4 (AC_LINK_IFELSE): Likewise.
1487         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1488         Likewise.
1489         (_AC_COMPILER_OBJEXT_REJECT): Reject *.dSYM.
1490         * THANKS: Update.
1491         Report and analysis by Jeff Squyres and Peter O'Gorman.
1493 2007-11-12  Benoit Sigoure  <tsuna@lrde.epita.fr>
1495         Fix typos in variable names.
1496         * tests/semantics.at (test for AC_CHECK_LIB): s/at_m/ac_m/.
1498 2007-11-11  Benoit Sigoure  <tsuna@lrde.epita.fr>
1500         Document that $((expression)) is not portable.
1501         * doc/autoconf.texi (Shell Substitutions): Here.
1503 2007-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1505         Ignore configure --help* errors due to LINENO-impaired shells.
1506         * tests/torture.at (Configuring subdirectories, Deep Package):
1507         In the --help* tests in read-only trees, make `.' temporarily
1508         writable again for the `stderr' file, and ignore errors due to
1509         the attempt to write configure.lineno.
1510         Report by Patrick Welche.
1512 2007-11-10  Jim Meyering  <meyering@redhat.com>
1514         Generate package.m4 in build-dir, not srcdir.
1515         * tests/Makefile.am (package.m4): Adjust target.
1516         Don't redirect directly to $@.
1517         (CLEANFILES): Add package.m4.
1518         ($(TESTSUITE)): Depend on just-built package.m4, not the one
1519         in $(srcdir).
1520         When running $(AUTOTEST), search "." before searching $(srcdir).
1522         Avoid a race condition that would make parallel "distclean" fail.
1523         * tests/Makefile.am (distclean-generic): Replace the default,
1524         automake-provided rule with an identical one, but with an additional
1525         dependency on distclean-local.  Simply adding the dependency would
1526         cause automake not to emit the rule at all.
1527         * BUGS: Building with -jN works, now.
1529         Distribute git-version-gen.
1530         * Makefile.am (EXTRA_DIST): Add build-aux/git-version-gen,
1531         since GNUmakefile is distributed, and requires it for dist* rules.
1533         Remove two more generated files from version control.
1534         * INSTALL: Remove generated file.
1535         * lib/autoscan/autoscan.list: Remove generated file.
1537 2007-11-09  Paul Eggert  <eggert@cs.ucla.edu>
1539         * GNUmakefile (PATH): Remove stray apostrophes; they become
1540         part of PATH, which isn't wanted here.
1542 2007-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1544         New config files output variable `top_build_prefix'.
1545         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Substitute
1546         `top_build_prefix'.
1547         * doc/autoconf.texi (Preset Output Variables): Document it.
1548         * NEWS: Update.
1549         Report by Bob Friesenhahn.
1551         Avoid expr for arithmetic evaluation if the shell accepts $((...)).
1552         * lib/autotest/general.m4 (AT_INIT) <at_func_arith>: New
1553         function, to parametrize arithmetic with expr vs. the shell.
1554         Use it where possible.
1555         Suggestion by Benoit Sigoure.
1557 2007-11-03  Benoit Sigoure  <tsuna@lrde.epita.fr>
1559         Adjust the documentation of autotest WRT atlocal.
1560         * doc/autoconf.texi (Making testsuite Scripts): It is not necessary,
1561         when using Automake, to write a rule to produce atlocal, since it's
1562         an AC_CONFIG_FILES.  Mention that atlocal.in needs to be
1563         distributed, not atconfig.in.
1565 2007-11-04  Eric Blake  <ebb9@byu.net>
1567         Update list information.
1568         * README: Mention new autoconf-commit list.
1569         * doc/autoconf.texi (Introduction): Mention autoconf-commit list.
1571 2007-11-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1573         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Fix comment typo.
1575         * lib/m4sugar/Makefile.am (version.m4): Another bash bug workaround.
1577         * build-aux/.gitignore: Ignore mkinstalldirs.
1579         * doc/autoconf.texi (autoreconf Invocation): Fix an underfull line.
1581 2007-11-03  Jim Meyering  <meyering@redhat.com>
1583         s/-/./ in snapshot version string: 2.61a-256-8b556 -> 2.61a.256-8b556
1584         * build-aux/git-version-gen: This syncs from coreutils.
1586         Adjust the build procedure so "make check" works reliably.
1587         * README-hacking: Include an extra step between "make" and
1588         "make check" to ensure that the latter passes.
1590         Use just-built tools, when possible.
1591         * GNUmakefile (PATH): Set and export here, ...
1592         (dummy): ... rather than here.
1594 2007-11-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1595         and Andreas Schwab  <schwab@suse.de>
1597         * tests/Makefile.am ($(srcdir)/package.m4): Work around bash
1598         exit status bug.
1600 2007-11-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1602         * configure.ac (AC_PREREQ): Require version 2.60, for
1603         AC_PROG_SED, AC_PROG_GREP.
1605 2007-11-02  Benoit Sigoure  <tsuna@lrde.epita.fr>
1606         and Jim Meyering  <meyering@redhat.com>
1607         and Andreas Schwab <schwab@suse.de>
1608         and Eric Blake  <ebb9@byu.net>
1610         Document a bug in GNU Bash with compound commands and redirections.
1611         * doc/autoconf.texi (Limitations of Builtins): Mention that GNU
1612         Bash doesn't properly set $? when `{ ... } >/bad' fails, and give
1613         workaround.
1615 2007-11-03  Eric Blake  <ebb9@byu.net>
1617         Support m4 1.4.5 in testsuite.
1618         * tests/torture.at (Define a newline): Exclude line numbers in
1619         error message.
1620         Reported by Ralf Wildenhues.
1622 2007-11-03  Jim Meyering  <meyering@redhat.com>
1624         Remove automake-provided files from version control.
1625         * build-aux/elisp-comp: Remove file.
1626         * build-aux/install-sh: Remove file.
1627         * build-aux/missing: Remove file.
1628         * build-aux/mdate-sh: Remove file.
1629         * build-aux/.gitignore: New file.
1630         Suggestion from Ralf Wildenhues.
1632 2007-11-03  Eric Blake  <ebb9@byu.net>
1634         Adjust version comparison to account for git snapshot numbers.
1635         * lib/m4sugar/m4sugar.m4 (_m4_version_unletter): Also treat - as a
1636         component separator.
1637         * doc/autoconf.texi (Number processing Macros)
1638         <m4_version_compare>: Document this change.
1639         * tests/m4sugar.at (m4@&t@_version_compare): Test it.
1641 2007-10-30  Bruno Haible  <bruno@clisp.org>
1643         * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro,
1644         extracted from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT.
1645         (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT): Use it.
1646         Fixes problem with Sun C 5.[0-8] in 32-bit mode, reported in
1647         <http://lists.gnu.org/archive/html/autoconf-patches/2007-10/msg00210.html>
1648         Suggested by Paul Eggert.
1650 2007-10-28  Jim Meyering  <meyering@redhat.com>
1652         * README-hacking: Autoconf, Automake, and Perl are required to build.
1653         List Gzip and Tar separately.  Suggested by Ralf Wildenhues.
1655 2007-10-28  Jim Meyering  <meyering@redhat.com>
1657         README-hacking: Recommend running autoreconf -vi.
1658         * GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
1659         so that we use just-built tools when they're available.
1660         Suggestions from Ralf Wildenhues.
1662 2007-10-28  Jim Meyering  <meyering@redhat.com>
1664         Make inter-release --version output more useful.
1666         Now, each unofficial build has a version "number" like 2.61a-19-58dd,
1667         which indicates that it is built using the 19th change set
1668         (in _some_ repository) following the "v2.61a" tag, and that 58dd
1669         is a prefix of the commit SHA1.
1670         * build-aux/git-version-gen: New file.
1671         * configure.ac: Run it to set the version.
1672         (AM_INIT_AUTOMAKE): Don't check NEWS here.
1673         * Makefile.am (dist-hook): Arrange so that .version appears only
1674         in distribution tarballs, never in a checked-out repository.
1675         * .gitignore: Add .version here, too.  Just in case.
1676         * tests/Makefile.am ($(srcdir)/package.m4): Depend on Makefile,
1677         not configure.ac, now that the version number changes automatically.
1679         Ensure that $(VERSION) is up to date for dist-related targets.
1680         * GNUmakefile: Arrange to rerun autoconf, if the version reported by
1681         git-version-gen doesn't match $(VERSION), but only for dist targets.
1683 2007-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1685         Fix `Deep Package' failure with a configure script early in PATH
1686         * tests/torture.at (Deep Package): Add `.' early in PATH.
1687         Report by Jim Meyering.
1689 2007-10-27  Jim Meyering  <meyering@redhat.com>
1691         Remove all generated files from version control.
1692         * aclocal.m4: Remove.
1693         * configure: Remove.
1694         * Makefile.in: Remove, along with all other Makefile.in in subdirs.
1695         * .gitignore: Add aclocal.m4, configure and Makefile.in.  Sort.
1696         * README-hacking: New file: how to build from just-checked-out sources.
1698 2007-10-23  Eric Blake  <ebb9@byu.net>
1700         Improve corner case of m4_expand.
1701         * lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Rewrite more
1702         efficiently.
1703         * tests/m4sh.at (AS@&t@_HELP_STRING): Test overquoted comma.
1704         * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Update
1705         documentation.
1707 2007-10-23  Paul Eggert  <eggert@cs.ucla.edu>
1709         * doc/make-stds.texi: Update from gnulib.
1711 2007-10-22  Paul Eggert  <eggert@cs.ucla.edu>
1712         and Eric Blake  <ebb9@byu.net>
1714         * lib/autoconf/c.m4 (AC_C_RESTRICT): Work around Sun C++ compatibility
1715         problem reported by Bruno Haible in
1716         <http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00027.html>.
1718 2007-10-22  Eric Blake  <ebb9@byu.net>
1720         * doc/autoconf.texi (Particular Types): Mention bug in HP-UX 11.00
1721         preprocessor.
1723 2007-10-22  Paul Eggert  <eggert@cs.ucla.edu>
1725         Don't check for bug in HP-UX 11.00 cpp.
1726         * lib/autoconf/types.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
1727         Use -1ull rather than -1u, since that causes problems with gnulib; see
1728         <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
1730 2007-10-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1732         * tests/autotest.at (Backquote command substitution)
1733         (Multiline backquote command substitution)
1734         (Parenthetical command substitution)
1735         (Multiline parenthetical command substitution): Fix typos in
1736         test names.
1738 2007-10-21  Eric Blake  <ebb9@byu.net>
1740         * configure: Regenerate.
1742 2007-10-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1744         Fix config status generation with Tru64 ksh.
1745         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
1746         escaping of backslash in here-documents.
1748         Fix `Deep Package' test failure on FreeBSD.
1749         * tests/torture.at (Deep Package): Do not add `.' to $PATH
1750         unnecessarily.  Do not try running `/bin/sh configure' with a
1751         configure script to be found in $PATH, if the shell does not do
1752         this resolution.  Fixes test failure on FreeBSD.
1754         Fix config header generation with AIX awk.
1755         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): In awk
1756         script, use helper array D_is_set, as `" 0"' does not evaluate
1757         to true for AIX awk.
1759 2007-10-21  Eric Blake  <ebb9@byu.net>
1761         * tests/autotest.at (Banners): Reinstate test, with typo
1762         corrected.
1764 2007-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1766         * lib/autotest/general.m4 (Defaults): Validate input ranges ...
1767         <at_func_validate_ranges>: ... using this new function.
1768         * tests/autotest.at (Keywords and ranges): Test invalid ranges.
1769         Test --list with ranges and keywords.
1770         (Banners): Remove one now-failing test.
1772 2007-10-20  Eric Blake  <ebb9@byu.net>
1774         Fix testsuite --list subset.
1775         * lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
1776         back to spaces, before listing subset of tests.
1777         Reported by Ralf Wildenhues.
1779 2007-10-19  Eric Blake  <ebb9@byu.net>
1781         s/parenthesis/parentheses/ where appropriate.
1782         * doc/autoconf.texi: Fix typos.
1783         * lib/m4sugar/m4sugar.m4: Likewise.
1784         Reported by Ralf Wildenhues.
1786         Document m4_expand limitation.
1787         * lib/m4sugar/m4sugar.m4 (m4_expand): Mention problem with
1788         unbalanced parse.
1789         * doc/autoconf.texi (Pretty Help Strings, Evaluation Macros)
1790         (Writing Testsuites): Mention limitations inherited from
1791         m4_expand.
1793         Improve AT_BANNER handling.
1794         * lib/autotest/general.m4 (BANNERS): New named diversion.
1795         (TESTS_END): Diversion no longer used.
1796         (AT_INIT) <at_func_banner, BANNERS>: Factor all banners into a
1797         shell function, which prints only as needed, using an associative
1798         array of banner text from a special diversion.
1799         <PARSE_ARGS_END>: No longer need awk to find banners.
1800         <TESTS>: Banners are no longer processed by main driver loop, so
1801         we no longer need case statement.
1802         (AT_BANNER): Rewrite to populate new diversion.
1803         (AT_SETUP): Each test invokes its own banner.  No output is needed
1804         to the TESTS diversion.
1805         * doc/autoconf.texi (Writing Testsuites): Document slight
1806         semantics change.
1807         * tests/autotest.at (AT_BANNERS): Enhance test.
1808         * NEWS: Document AT_BANNER.
1810         Document and test AT_BANNER.
1811         * doc/autoconf.texi (Writing Testsuites): Document AT_BANNER.
1812         * tests/autotest.at (AT_CHECK_EGREP): Share between tests.
1813         (AT_CHECK_BANNERS): New test.
1815         Doc touchups.
1816         * doc/autoconf.texi (Text processing Macros) <m4_strip>
1817         <m4_text_wrap>: Clarify and fix typos.
1819 2007-10-18  Eric Blake  <ebb9@byu.net>
1821         Ignore `make dist' changelogs in testsuite.log.
1822         * lib/autotest/general.m4 (AT_INIT) <ChangeLogs>: Prune
1823         directories matching AT_PACKAGE_TARNAME-*.
1825         Fix AT_TESTED, AT_KEYWORDS.
1826         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Warn if separator
1827         occurs in string, as duplicates may be added.
1828         (_m4_append_uniq): New helper macro.
1829         (m4_append_uniq_w): New macro.
1830         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Fix
1831         duplication bug by using new macro.
1832         (AT_INIT) <at_tested>: Restore newline separators.  Invoke tested
1833         programs with stdin redirected, so programs that don't
1834         understand --version won't try to behave interactively.
1835         * tests/autotest.at (Tested programs): Catch this bug.
1836         * tests/m4sugar.at (m4@&t@_append): Test new macro.
1837         * tests/local.at (AT_TESTED): Add m4, perl.
1838         * doc/autoconf.texi (Text processing Macros): Document
1839         m4_append_uniq_w, and update text on m4_append.
1840         * NEWS: Document the addition.
1842 2007-10-17  Eric Blake  <ebb9@byu.net>
1844         Function cleanup.
1845         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Convert
1846         from m4 macro...
1847         (AT_INIT) <at_func_create_debugging_script>: ...to shell
1848         function.
1849         (AT_INIT): Defer function declarations until after --help,
1850         --version.  Format functions consistently, trying to fit in 80
1851         columns.
1852         (TEST_FUNCTIONS): Based on recent changes, rename...
1853         (TEST_GROUPS): ...to this.
1855         Reject FreeBSD m4.
1856         * m4/m4.m4 (AC_PROG_GNU_M4): Also check for frozen file support.
1857         * configure: Regenerate.
1858         Reported by Bob Friesenhahn.
1860         Test recent additions.
1861         * tests/m4sugar.at (m4@&t@_map, m4@&t@_combine)
1862         (m4@&t_max and m4@&t_min): New tests.
1863         * doc/autoconf.texi (Evaluation Macros) <m4_apply>: Enhance
1864         description.
1866 2007-10-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1868         * TODO: multiline args in config files and headers work now.
1870         Autotest: do not use shell functions for individual tests.
1871         * lib/autotest/general.m4 (AT_INIT) <at_func_test>: Merely
1872         extract the source test source, do not invoke it.
1873         (AT_SETUP, AT_CLEANUP): Source test code outside shell function.
1874         * tests/autotest.at (Fallacy): Actually let the inner suite fail,
1875         expect exit status of 1.
1876         * tests/autotest.at (Skip): New test, for bogus zsh exit status.
1878         * lib/autotest/general.m4 (at_func_test): Fix test extraction
1879         script.
1881 2007-10-17  Eric Blake  <ebb9@byu.net>
1883         Fix m4_combine for empty suffix list.
1884         * lib/m4sugar/m4sugar.m4 (m4_combine): Check for suffix list.
1885         * doc/autoconf.texi (Text processing Macros): Document this.
1887         Add m4_combine, based on Libtool's lt_combine.
1888         * lib/m4sugar/m4sugar.m4 (m4_combine): New macro.
1889         * doc/autoconf.texi (Text processing Macros): Document it.
1890         * NEWS: Likewise.
1892 2007-10-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1894         Fix `configure --help=recursive' in unconfigured/read-only trees.
1895         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Avoid errors when `.'
1896         is not writable, use 'cp -p' in this case, in the hope that it
1897         will not actually be needed.  Still try removing files, in case
1898         of other write errors.
1899         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): For ac_confdir,
1900         use $as_myself, not $0.
1901         (_AC_INIT_HELP): For --help=recursive, if the subdir does not
1902         exist, try again in the the source tree.  This change assumes
1903         that the subpackage configure script is capable of running
1904         --help=recursive in the source tree.
1905         * tests/torture.at (Configuring subdirectories, Deep Package):
1906         Adjust tests to expose both issues, also try invocation as
1907         `sh configure ...' and plain `configure ...' with PATH adjusted.
1908         * NEWS, THANKS: Update.
1909         Report by Hans Ulrich Niedermann.
1911 2007-10-16  Paul Eggert  <eggert@cs.ucla.edu>
1913         Check for 64-bit int errors in HP-UX 10.20 preprocessor.
1914         Problem reported by H.Merijn Brand in
1915         <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
1916         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1917         (AC_TYPE_UNSIGNED_LONG_LONG_INT):
1918         Check that preprocessor handles 64-bit ints, too.
1920 2007-10-16  Eric Blake  <ebb9@byu.net>
1922         m4_map is a looping construct.
1923         * lib/m4sugar/m4sugar.m4 (m4_map, _m4_map, m4_map_sep): Move.
1925         Fix m4_map, and add some more utility macros.
1926         * lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
1927         (m4_echo, m4_make_list): New documented macros.
1928         (_m4_quote, _m4_shift2): New helper macros.
1929         (m4_map): Change semantics to allow calling macro without
1930         arguments.
1931         (m4_map_sep): Likewise.  Also change semantics to quote separator,
1932         to match m4_join and m4_append.
1933         (m4_version_unletter): Fix use of m4_map.
1934         * doc/autoconf.texi (Evaluation Macros): Document m4_apply,
1935         m4_count, m4_dquote_elt, m4_echo, m4_make_list.
1936         (Text processing Macros): Mention m4_dquote as a faster
1937         alternative to joining with commas.
1938         (Looping constructs): Document m4_map, m4_map_sep.
1939         * NEWS: Mention new macros.
1941         A few more m4sugar improvements, to benefit libtool.
1942         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts, _m4_shiftn): Reduce size
1943         of expansion by avoiding extra uses of $@.
1944         (m4_shiftn): Avoid extra dnl, and forbid shifting by 0.
1945         (_m4_cdr): New helper macro.
1946         (_m4_map, m4_map_sep): Use it to reduce size of expansion.
1947         (_m4_shift3): New helper macro.
1948         (_m4_foreach): Swap argument order, and use new macro to reduce
1949         size of expansion.
1950         * doc/autoconf.texi (Looping constructs) <m4_shiftn>: Mention that
1951         count must be positive.
1953         * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Fix typo.
1954         Reported by Ralf Wildenhues.
1956 2007-10-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1958         * doc/autoconf.texi (Portable Shell): Improve description of zsh
1959         4.x function subshell bug with exit and trap.
1961 2007-10-15  Eric Blake  <ebb9@byu.net>
1963         Enhance AS_HELP_STRING.
1964         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't expand arguments,
1965         and reduce number of expansions.
1966         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Rework to use m4_expand,
1967         and to take indent and wrap column numbers.
1968         * tests/m4sh.at (AS@&t@_HELP_STRING): Update the test.
1969         * doc/autoconf.texi (Pretty Help Strings): Document details about
1970         arguments.
1971         (Text processing Macros): Minor tweaks.
1972         * NEWS: Document this change.
1974         Fix 2007-10-03 regression with AT_SETUP([a, b]).
1975         * lib/m4sugar/m4sugar.m4 (m4_expand): New macro.
1976         (m4_text_box): Use it.
1977         * lib/autotest/general.m4 (AT_SETUP): Use it.
1978         * lib/m4sugar/m4sh.m4 (_AS_RUN): Use it.
1979         * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Test this.
1980         * NEWS: Revert caveat about semantics change on comma.
1981         * doc/autoconf.texi (Evaluation Macros): Document m4_expand.
1983 2007-10-13  Eric Blake  <ebb9@byu.net>
1985         Change m4_join to match libtool's ltsugar semantics.
1986         * lib/m4sugar/m4sugar.m4 (m4_join): Just define this, not defun.
1987         Ignore empty arguments, using...
1988         (_m4_join): ...this new helper.
1989         * tests/m4sugar.at (m4@&t@_join): New test.
1990         * doc/autoconf.texi (Text processing Macros): Document new
1991         semantics of m4_join.
1993         Make AC_PREREQ faster and more robust.
1994         * lib/m4sugar/m4sugar.m4 (m4_ignore, m4_unquote): New macros.
1995         (m4_version_prereq): Inline constant expansions.
1996         (m4_list_cmp): Reduce number of expansions, by avoiding m4_case.
1997         Rewrite in terms of [] list, not () list.
1998         (_m4_list_cmp, _m4_version_unletter): New helper macros.
1999         (m4_version_unletter): Write wrapper around new implementation to
2000         preserve old semantics.
2001         (m4_version_compare): Pass correct type of list, and avoid
2002         overhead of flattening expressions too early.
2003         (m4_do): Move to be near other quoting macros.
2004         (m4_max, m4_min): Always result in decimal output.
2005         * doc/autoconf.texi (Looping constructs): Add m4_car, m4_cdr.
2006         Move m4_do...
2007         (Evaluation Macros): ...here.  Add m4_ignore, m4_unquote.
2008         (Text processing Macros): Move m4_version_compare...
2009         (Number processing Macros): ...to this new node; document m4_cmp,
2010         m4_list_cmp, m4_sign, m4_max, m4_min.
2011         * tests/m4sugar.at (m4@&t@_version_compare): Enhance test, to pick
2012         up on bugs fixed by this patch.
2013         * NEWS: Document new macros.
2015 2007-10-12  Eric Blake  <ebb9@byu.net>
2017         * doc/autoconf.texi (Text processing Macros): Fix bad merge.
2018         (Reporting Messages): Fix underfull hbox.
2020         Some more m4sugar documentation.
2021         * lib/m4sugar/m4sugar.m4: Clean up macro order.
2022         * doc/autoconf.texi (Programming in M4): Lighten the warning on
2023         using m4sugar; it is stabilizing and useful.
2024         (Redefined M4 Macros): Touch up wording on M4 builtins; sort.  Add
2025         m4_divert, m4_undivert, __file__, __line__, __oline__.
2026         (Diagnostics): New node, documenting m4_assert, m4_errprintn,
2027         m4_fatal, m4_location, m4_warn.
2028         (Diversion support): New node, documenting m4_divert_push,
2029         m4_divert_pop, m4_divert_text, m4_divert_once.
2030         (Text processing Macros): Sort.  Add m4_flatten, m4_join,
2031         m4_newline, m4_strip, m4_text_box, m4_text_wrap.
2032         (Reporting Messages): Mark AC_DIAGNOSE, AC_WARNING, and AC_FATAL
2033         as obsolescent.
2034         (Printing Messages): Change cross-reference.
2036         Document interaction of recent m4_append change with Libtool HEAD.
2037         * lib/m4sugar/m4sugar.m4 (m4_append): Document semantics change.
2038         (m4_append_uniq): Add new parameters, based on lt_append_uniq.
2039         * tests/m4sugar.at (m4@&t@_append): New test.
2040         * NEWS: Document semantics change.
2041         * doc/autoconf.texi (Text processing Macros): Likewise.
2043         s/AC_VERSION/AC_AUTOCONF_VERSION/.
2044         * doc/autoconf.texi (Versioning): Change the name.
2045         * NEWS: Likewise.
2046         * lib/autoconf/general.m4 (AC_AUTOCONF_VERSION): Likewise.
2047         * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Likewise.
2048         Suggested by Ralf Wildenhues.
2050         Namespace cleanup.
2051         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
2052         (_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
2053         autoconf namespace.
2054         * doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
2055         (Programming in M4sh, Macro Names): Beef up description of
2056         namespaces reserved for autoconf.
2057         * configure: Regenerate.
2059 2007-10-12  Eric Blake  <ebb9@byu.net>
2060         and Paolo Bonzini  <bonzini@gnu.org>
2062         Speed up execution of subset of testsuite.
2063         * lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
2064         (AT_INIT) <at_func_test>: New shell function.
2065         (AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
2066         (AT_INIT) <at_test_source> New variable, names file that holds
2067         current test function definition.
2068         (AT_SETUP): Start the shell function at_func_test_#, into the
2069         TEST_FUNCTIONS diversion.
2070         (AT_CLEANUP): End the shell function.  Simplify the TESTS
2071         diversion to invoke the function.
2073 2007-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2075         * .gitignore: Ignore tags and TAGS files.
2077 2007-10-11  Eric Blake  <ebb9@byu.net>
2079         Config header generation followup.
2080         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
2081         which won't work with the preprocessor nor with the awk
2082         implementation.
2083         * tests/torture.at (Define a newline): Test raw newline detection,
2084         removing the XFAIL.
2085         * doc/autoconf.texi (Defining Symbols): Document recent change to
2086         allow backslash-newline.
2087         * THANKS: Update.
2089 2007-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2091         * lib/autotest/general.m4: Put function braces in separate line.
2093 2007-10-10  Eric Blake  <ebb9@byu.net>
2095         Avoid some overhead from m4_defn and m4_popdef.
2096         * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
2097         pass on first argument, since we are documented that way.
2098         (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
2099         check where it is safe to do so.
2100         (m4_append): Likewise, and quote the separator.
2101         (m4_text_box): Likewise, and avoid regex, also be robust to
2102         expansion and quadrigraphs.
2104         Another AC_DEFINE speedup.
2105         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
2106         elision...
2107         (_AC_DEFINE_Q): ...here, and only do it once.
2108         * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
2109         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
2110         introduced 2007-10-05.
2112         Whitespace cleanup.
2113         * lib/autoconf/general.m4: Use consistent indentation.
2114         * configure: Regenerate.
2116         * NEWS: Announce recent round of speed optimizations.
2118 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2120         * NEWS: Announce shell function usage in Autotest.
2122 2007-10-10  Eric Blake  <ebb9@byu.net>
2123         and Paul Eggert  <eggert@cs.ucla.edu>
2125         Reduce number of forks at startup.
2126         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
2127         sanitization.
2128         * configure: Regenerate.
2130 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2131         and Paul Eggert  <eggert@cs.ucla.edu>
2133         Use awk for config header generation.
2134         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
2135         (_AC_OUTPUT_HEADERS_PREPARE): New macro.  Rewrite of the config
2136         header machinery for use with awk and placement outside the main
2137         config.status instantiation loop.  Retain multi-line defines
2138         through backslash-newline combinations, do not split the script
2139         any more.
2140         (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
2141         (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
2142         needed.
2143         (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
2144         from define values.
2145         * NEWS: Update.
2146         * tests/torture.at (#define header templates): Extend test by
2147         several more cases: white space before and after `#', macros
2148         with parameters in config.hin and as defines, multi-line macro
2149         values.
2150         (Torturing config.status): Use a define value twice the length
2151         in order to exercise the awk literal string limit.
2152         (Substitute and define special characters): Also try special
2153         delimiter, to exercise the special-case code.
2154         Suggestion by Eric Lemings.
2156 2007-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2158         * tests/local.at (AT_COPYRIGHT): Bump copyright years.
2160 2007-10-09  Eric Blake  <ebb9@byu.net>
2162         Improve header of bin/autoconf.
2163         * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
2164         * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
2165         from M4sh.
2166         * bin/autoconf.as: Put copyright up front in generated file.
2168         * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
2170 2007-10-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2172         * doc/install.texi (Basic Installation): Document `uninstall'.
2173         * INSTALL: Regenerate.
2174         Suggestion by Roberto Bagnara.
2176 2007-10-08  Paul Eggert  <eggert@cs.ucla.edu>
2178         * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
2180         Adjust doc. to match latest gnulib.
2181         * build-aux/texinfo.tex: Sync from gnulib.
2182         * doc/standards.texi: Likewise.
2183         * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
2184         Documentation License" and remove the subsection.  This simplifies
2185         the manual a bit and is more like what other GNU projects do
2186         nowadays.
2188 2007-10-08  Eric Blake  <ebb9@byu.net>
2190         Use recent changes.
2191         * configure: Regenerate.
2193         Fix regression in m4_text_wrap from 2007-10-05.
2194         * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
2195         (m4_sign): Sort.
2196         (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
2197         m4_format.
2198         * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
2199         * tests/autotest.at (Long test title, Longer test title): Test
2200         this fix, beyond what AS_HELP_STRING already tests.
2202         Avoid m4 warnings on bad m4_format usage.
2203         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
2204         evaulates to 0.
2205         * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
2206         enough arguments are provided.
2208 2007-10-06  Paolo Bonzini  <bonzini@gnu.org>
2210         * doc/autoconf.texi (Shell portability): Document shell function
2211         portability.
2213 2007-10-06  Paolo Bonzini  <bonzini@gnu.org>
2215         * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
2216         at_func_check_skip, at_func_check_status, at_func_filter_trace,
2217         at_func_log_failure shell functions.  Use test -s to avoid
2218         useless diff invocations.
2219         (at_func_check_newline): Renamed from at_check_newline.
2220         (AT_SETUP): Define AT_captured_files to empty.
2221         (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
2222         (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir.  Use all
2223         the shell functions.
2225 2007-10-05  Paul Eggert  <eggert@cs.ucla.edu>
2227         Don't assume "." is writeable, for commands like "autoconf --version".
2228         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
2229         different heuristic instead, one that doesn't rely on creating
2230         files.
2232         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
2233         correctly.
2235 2007-10-05  Jim Meyering  <meyering@redhat.com>
2237         Avoid makeinfo warnings.
2238         * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
2239         (Looping constructs): Add ` ' after @defmac'd name, m4_do.
2241 2007-10-05  Eric Blake  <ebb9@byu.net>
2243         Resolve Python issue 1676135 regarding configure directory args.
2244         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
2245         slashes from directory arguments.
2246         * tests/base.at (configure directories): New test.
2247         * doc/autoconf.texi (Installation Directory Variables): Document
2248         the change.
2249         * NEWS: Likewise.
2250         * THANKS: Update.
2251         Reported by Björn Lindqvist.
2253         Provide better short-circuiting operation.
2254         * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
2255         (m4_text_wrap): Use it.  Also avoid useless m4_for.
2256         * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
2257         new macro.
2258         (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
2259         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
2260         to avoid regexps.
2261         * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
2262         documentation.  Sort m4_mkstemp, m4_undefine.  Move m4_ifndef...
2263         (Conditional constructs): ...here, to new section.  Also document
2264         m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
2265         m4_bpatsubsts, and m4_default.
2266         (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
2267         m4_do.
2269 2007-10-04  Eric Blake  <ebb9@byu.net>
2271         Fix recent testsuite failures.
2272         * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
2273         that must not be re-expanded after AS_ESCAPE.
2274         * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
2275         checking if it is an identifier.
2277         Whitespace cleanup.
2278         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
2279         leading whitespace, as it caused space-tab in testsuite.
2280         (AT_INIT): Avoid trailing newlines in testsuite.
2282         One more round of m4_foreach_w speedups.
2283         * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
2284         is present.
2285         (_m4_split): Avoid useless expansions inside definition.  Move
2286         argument defaulting...
2287         (m4_split): ...here.  Change alternate quote to something less
2288         likely to appear in $1.  Also, special case space as regexp...
2289         (m4_foreach_w): ...to avoid regexp on single-term list.
2290         (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
2291         useless expansions inside definition.
2292         * tests/m4sugar.at (m4@&t@_split): Add tests.
2294 2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
2296         * general.m4 (AT_INIT): Add at_check_newline function.
2297         (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
2298         (_AT_CHECK): Don't use at_trace_this.
2300 2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
2302         Fix previous commit.
2303         * lib/autotest/general.m4 (AT_LINE): Fix regex.
2305 2007-10-04  Eric Blake  <ebb9@byu.net>
2307         Speed up building testsuites.
2308         * lib/autotest/general.m4 (AT_LINE): Only use regex when file
2309         changed since last time.  Use simpler regex.
2311 2007-10-03  Eric Blake  <ebb9@byu.net>
2313         Optimize checking for identifiers.
2314         * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
2315         macros, more efficient than regex on m4_re_word.
2316         * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
2317         Rewrite in terms of new macro.  As a side-effect, AC_DEFINE can
2318         now use @&t@.
2319         * configure: Regenerate.
2321         Remove some XFAILs, and make AT_SETUP output line up.
2322         * lib/autotest/general.m4 (AT_SETUP): Only expand description
2323         once; thereafter, use its expansion, properly quoted.
2324         * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
2325         expansion with arguments, and check for aligned output.
2326         (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
2327         Add a test for macros with parameters.
2328         * NEWS: Document the semantics change.
2329         * tests/base.at: Fix test titles containing commas.
2330         * tests/compile.at: Likewise.
2331         * tests/tools.at: Likewise.
2332         * tests/torture.at: Likewise.
2334         Another round of regex avoidance.
2335         * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
2336         (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
2337         (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
2338         (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
2339         character ranges useful in m4_translit.
2340         (m4_toupper, m4_tolower): Optimize the constant portion of
2341         definition.
2342         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
2343         creates $, and reject [] thanks to AS_TR_SH rewrite.
2344         (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
2345         (AS_ESCAPE): Factor...
2346         (_AS_ESCAPE): ...into new macro, with second argument required.
2347         Avoid regex in common case.
2348         (_AS_QUOTE): Use new macro.
2350         Whitespace cleanup.
2351         * lib/autoconf/types.m4: Avoid space-tab.
2352         * lib/m4sugar/m4sh.m4: Use tab consistently.
2354 2007-10-03  Paul Eggert  <eggert@cs.ucla.edu>
2356         * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
2357         (m4_shiftn): Remove no-longer-needed optimization.  Perhaps we
2358         should remove m4_shiftn entirely?
2359         (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
2360         Prefer m4_shift2 and m4_shift3 to m4_shiftn.
2361         * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
2362         * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
2363         * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
2365 2007-10-03  Eric Blake  <ebb9@byu.net>
2367         Comment touchups.
2368         * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
2370 2007-10-02  Eric Blake  <ebb9@byu.net>
2372         Optimize appending text.
2373         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
2374         expressions.
2376         Optimize recursion.
2377         * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
2378         lot of hot spots; optimize it for 2 and 3 shifts.
2380         Optimize AC_PREREQ and other m4sugar numerics.
2381         * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
2382         (m4_cmp): Compare arbitrary expressions, without overflow.
2383         (m4_version_unletter): Also recognize capital letters.
2384         (m4_version_compare): Avoid regex when splitting version number
2385         string.
2387 2007-10-01  Eric Blake  <ebb9@byu.net>
2389         Once again, reject IRIX m4.
2390         * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
2391         implementations that ignore --trace.
2392         * configure: Regenerate.
2393         Reported by Ralf Wildenhues.
2395         Fix regression in AC_DEFINE([macro(with_arg)]).
2396         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
2397         quotes with a careless m4_substr.
2399 2007-09-30  Eric Blake  <ebb9@byu.net>
2401         Allow nameless iteration.
2402         * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
2403         indirectly.
2404         * tests/m4sugar.at (myvar): Test this.
2406 2007-09-29  Eric Blake  <ebb9@byu.net>
2408         Speed optimization: avoid m4 regex when other algorithms work.
2409         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
2410         (_AS_QUOTE_IFELSE): Likewise.
2411         * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
2412         (m4_bpatsubsts): Split...
2413         (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
2414         regex.
2415         (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
2416         (m4_qlen): Optimize on short strings, to avoid regex.
2417         (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
2418         * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
2419         (AC_DEFINE_TRACE): Likewise.
2421 2007-09-28  Eric Blake  <ebb9@byu.net>
2423         Oops - my earlier 'optimization' caused a regression.
2424         * tests/local.at (AT_CHECK_M4): Fix typo.
2426 2007-09-27  Eric Blake  <ebb9@byu.net>
2427         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2429         Catch even more common AC_CACHE_VAL mistakes.
2430         * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
2431         lacks '_cv_', or if AC_SUBST appears in body.
2432         * tests/base.at (AC_CACHE_CHECK): Test this change.
2434 2007-09-27  Stepan Kasal  <kasal@ucw.cz>
2435         and Eric Blake  <ebb9@byu.net>
2437         Autotest no longer caters to Ultrix redirection limitation.
2438         * doc/autoconf.texi (Writing testsuite.at): Remove the
2439         limitation that the first parameter of AT_CHECK cannot
2440         contain redirection.
2441         (File Descriptors): Mention that Ultrix limitation is no longer a
2442         show-stopper in modern code.
2443         * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
2444         parameter is `stderr' or `experr'.  Optimize if it was `ignore'.
2445         * lib/autotest/general.m4 (AT_CHECK): Update comment.
2447 2007-09-27  Eric Blake  <ebb9@byu.net>
2449         Squelch changeword in m4sugar.
2450         * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
2451         feature of m4 1.4.x.
2453         Configure whitespace touchups.
2454         * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
2455         installation directories, and avoid TAB, in configure --help
2456         output.
2457         * configure.ac: Avoid extra trailing newline.
2458         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
2459         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
2460         config.status --help output.
2461         * configure: Regenerate.
2463         Fix underquotation in AS_HELP_STRING.
2464         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
2465         argument.
2466         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
2467         first-prefix argument.
2468         * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
2469         * NEWS: Document AS_HELP_STRING fix.
2471         Autotest formatting touchups.
2472         * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
2473         output.
2474         (PATH): Simplify computation of new PATH.
2476 2007-09-26  Eric Blake  <ebb9@byu.net>
2478         Fix testsuite breakage in last patch.
2479         * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
2480         font-lock fix.
2481         * tests/torture.at (@%:@define header templates): Rename, so that
2482         output lines up correctly.
2484         More font-lock happiness.
2485         * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
2486         confusion.
2488 2007-09-25  Eric Blake  <ebb9@byu.net>
2490         Typo fixes.
2491         * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
2492         * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
2494         Improve documentation of M4 parameter expansion.
2495         * doc/autoconf.texi (Quoting and Parameters): New section.
2496         (Quotation and Nested Macros): Improve wording.
2498         Improve C99 detection.
2499         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
2500         avoid deprecation warning with icc.
2501         * THANKS: Update.
2502         Reported by Ted Bullock.
2504 2007-09-24  Jim Meyering  <jim@meyering.net>
2506         Whenever possible, use the vertical bar as sed delimiter.
2507         * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
2508         Use "|", not "!".
2509         * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
2510         [ac_dir_suffix]: Use "|", not "," as sed delimiter.
2511         * tests/mktests.sh (as_me): Likewise.
2512         * lib/freeze.mk (check-forbidden-patterns): Likewise.
2513         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
2514         * configure: Regenerate.
2515         * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
2516         * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
2517         in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
2518         This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
2520 2007-09-22  Jim Meyering  <jim@meyering.net>
2522         Add a comment.
2523         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
2524         2004-05-31 change also with a comment in the code.
2526 2007-09-20  Eric Blake  <ebb9@byu.net>
2528         More contribution housekeeping.
2529         * THANKS: Sort.
2530         * AUTHORS: Sort, reflect recent assignment from Helge Deller.
2532         Ignore additional files, when copying cross-repository.
2533         * .gitignore: Ignore CVS directories, emacs edits.
2534         * .cvsignore: Ignore .git directory, emacs edits.
2536 2007-09-15  Eric Blake  <ebb9@byu.net>
2538         Provide AC_VERSION, not m4_AUTOCONF_VERSION.
2539         * doc/autoconf.texi (Text processing Macros): Remove mention of
2540         m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
2541         once again.
2542         (Notices): Move AC_PREREQ...
2543         (Versioning): ...to this new section, alongside the new AC_VERSION
2544         alias for the undocumented m4_PACKAGE_VERSION.
2545         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
2546         * lib/autoconf/general.m4 (AC_VERSION): New macro.
2547         * NEWS: Update to match this rename.
2548         * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
2549         m4_PACKAGE_VERSION.
2550         * tests/tools.at (autoconf: AC_VERSION): New test.
2551         Suggested by Paolo Bonzini and Benoit Sigoure.
2553 2007-09-14  Eric Blake  <ebb9@byu.net>
2555         Prepare for conversion to git.
2556         * doc/.cvsignore: Avoid multiple listings on one line.
2557         * bin/.cvsignore: Likewise.
2558         * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
2559         lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
2560         lib/autoscan/.gitignore, lib/autotest/.gitignore,
2561         lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
2562         tests/.gitignore: New files, identical to .cvsignore counterpart.
2564 2007-09-13  Eric Blake  <ebb9@byu.net>
2566         Editing eye-candy.
2567         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
2568         font-lock balance.
2569         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
2570         * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
2571         * configure: Regenerate.
2573         Clean up 'make dist' of previous patch.
2574         * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
2575         (CLEANFILES): Don't clean the stamp, since we distribute the
2576         generated files pre-built.
2577         (MAINTAINERCLEANFILES): Clean it here instead.
2578         * tests/Makefile.in: Regenerate.
2580         Avoid parallel 'make check' issue.
2581         * tests/Makefile.am (mktests.stamp): New witness.
2582         (TESTSUITE_GENERATED_AT): Use it.
2583         (CLEANFILES): Clean the witness.
2584         * tests/.cvsignore (mktests.stamp): Ignore the witness.
2586         Document another awk pitfall.
2587         * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
2588         limitation of field variables in END.
2589         Reported by Gary V. Vaughan.
2591         * AUTHORS: Add missing entries.
2593 2007-09-12  Eric Blake  <ebb9@byu.net>
2595         Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
2596         * doc/autoconf.texi (Text processing Macros): Document
2597         m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
2598         (Redefined M4 Macros): Document m4_ifndef.
2599         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
2600         can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
2601         used it while it was undocumented.
2602         * NEWS: Document this change.
2603         * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
2604         * lib/m4sugar/Makefile.in: Regenerate.
2605         * tests/m4sugar.at (m4@&t@_version_compare): New test.
2606         Reported by Bruno Haible.
2608         * doc/autoconf.texi (Generic Compiler Characteristics): Add
2609         missing index entries.
2611 2007-09-11  Eric Blake  <ebb9@byu.net>
2613         Centralize all system extensions checks.
2614         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
2615         from AC_AIX, AC_GNU_SOURCE, AC_MINIX.  Add Interix support.
2616         (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
2617         AC_USE_SYSTEM_EXTENSIONS.
2618         (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
2619         (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
2620         * doc/autoconf.texi (Posix Variants): Reword this section,
2621         emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
2622         rather than a series of system-specific checks.
2623         (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
2624         AC_MINIX.
2625         * NEWS: Document this change.
2626         * THANKS: Update.
2627         Reported by Martin Koeppe.
2629 2007-09-08  Eric Blake  <ebb9@byu.net>
2631         Clean up obsolete macros references.
2632         * doc/autoconf.texi: Add anchors to support better
2633         cross-referencing.
2634         (Particular Structures): Move obsolete macros descriptions...
2635         (External Software): Likewise.
2636         (Package Options): Likewise.
2637         (Obsolete Macros): ...to here.  Add cross-references to
2638         documentation on replacements.
2639         * NEWS: Mention that these macros have been obsolete for a while
2640         now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
2642         Improve M4 path searching during configure.
2643         * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
2644         macro.
2645         (_AC_PATH_PROG_FEATURE_CHECK): Rename...
2646         (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
2647         parameter, and kill side effects.
2648         (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
2649         (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
2650         * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
2651         is found.
2652         (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
2653         allow bootstrapping with autoconf 2.61.
2654         * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
2655         * configure: Regenerate.
2656         * doc/autoconf.texi (Generic Programs): Document new macro.
2657         * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
2658         macro.
2659         * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
2660         * NEWS: Document the change.
2661         * THANKS: Update.
2662         Reported by Hans Aberg.
2664         * doc/autoconf.texi (Generic Programs): Fix typo.
2666 2007-09-06  Eric Blake  <ebb9@byu.net>
2668         * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
2669         :, and make it clear that optional @var{path} defaults to $PATH.
2670         (Erlang Compiler and Interpreter): Likewise.
2672         Texinfo cleanup.
2673         * doc/autoconf.texi: Avoid lines > 80 columns when possible.
2674         Reword some paragraphs to avoid overfull, underfull hbox
2675         warnings.  Add index entries to avoid overfull vbox warnings.
2677 2007-09-05  Eric Blake  <ebb9@byu.net>
2679         * NEWS: Adjust wording for AC_CONFIG_LINKS.
2680         Reported by Ralf Wildenhues.
2682 2007-09-03  Eric Blake  <ebb9@byu.net>
2684         * NEWS: Document fixes that have been applied since 2.61a.
2686         Housekeeping.
2687         * THANKS: Update, and convert to UTF-8 encoding.
2688         * AUTHORS: Likewise.
2690 2007-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2692         * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
2693         names beginning with `-' again.
2695 2007-08-22  Stepan Kasal  <kasal@ucw.cz>
2696             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2698         * doc/autoconf.texi (Defining Directories): Mention
2699         AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
2701 2007-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2703         * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
2704         here, this macro is expanded by AC_INIT.  Fixes 2.60 regression.
2705         * tests/base.at (configure arguments): New test.
2706         * THANKS: Update.
2707         Report by Olaf Lenz.
2709         * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
2710         arguments in comment.
2711         Report by Vincent Torri <vtorri at univ minus evry dot fr>.
2713 2007-08-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
2715         * doc/autoconf.texi (File System Conventions): Index the proper
2716         way of detecting absolute file names.
2718 2007-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2720         * build-aux/config.guess, build-aux/config.sub,
2721         build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
2722         build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
2723         doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
2724         * doc/autoconf.texi (GNU Free Documentation License): Adjust for
2725         sectioning change in fdl.texi.
2727         * bin/autoconf.as: Update --version output to match current GCS.
2728         * bin/autoheader.in: Likewise.
2729         * bin/autom4te.in: Likewise.
2730         * bin/autoreconf.in: Likewise.
2731         * bin/autoscan.in: Likewise.
2732         * bin/autoupdate.in: Likewise.
2733         * bin/ifnames.in: Likewise.
2735 2007-08-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2737         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
2738         file to itself if source and build trees coincide.
2739         * tests/torture.at (AC_CONFIG_LINKS and identical files): New
2740         test.
2741         Report by Sebastian Freundt <hroptatyr@gna.org>.
2743 2007-07-20  Paul Eggert  <eggert@cs.ucla.edu>
2745         Reword the copyright notices to match what's suggested in GPLv3.
2746         In ChangeLog files, use more-permissive notice rather than GPL, as
2747         per usual GNU standards these days.
2749 2007-07-13  Paul Eggert  <eggert@cs.ucla.edu>
2751         * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
2752         limitation reported by Leo Moisio in
2753         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
2755 2007-07-03  Paul Eggert  <eggert@cs.ucla.edu>
2757         * COPYING: Update to GPLv3.  All uses changed.
2759 2007-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2760         and Paul Eggert  <eggert@cs.ucla.edu>
2762         * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
2763         fails on AIX 5.3.
2765 2007-06-17  Noah Misch  <noah@cs.caltech.edu>
2767         * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
2768         * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
2769         `srcdir' as subdirectory of `builddir'.
2771 2007-06-13  Noah Misch  <noah@cs.caltech.edu>
2773         * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
2774         * tests/autotest.at (srcdir propagation): New test.
2775         * THANKS: Update.
2776         Reported by Mike Frysinger.
2778 2007-06-13  Paul Eggert  <eggert@cs.ucla.edu>
2780         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
2781         Problem reported by Fred Kreek in
2782         <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
2783         * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
2784         (Macro Names, Defining Directories): Don't mention PATH as a name
2785         for a fully qualified file name, as this usage violates the GNU
2786         coding standards and we shouldn't recommend it.
2788         * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
2789         string and then assume shell builtins like "test" will work.
2791 2007-06-12  Noah Misch  <noah@cs.caltech.edu>
2793         * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
2794         not a valid shell variable name.
2795         * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
2796         * tests/torture.at (AC_SUBST: variable name validation): New test.
2797         Reported by Andreas Schwab.
2799 2007-06-04  Noah Misch  <noah@cs.caltech.edu>
2801         * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
2802         works with both C and C++.
2804 2007-06-03  Noah Misch  <noah@cs.caltech.edu>,
2805             Bruno Haible  <bruno@clisp.org>
2807         * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
2808         brand tests.
2810 2007-05-31  Paul Eggert  <eggert@cs.ucla.edu>
2812         * doc/autoconf.texi (Particular Types): Give example of use for
2813         AC_TYPE_INT8_T etc.
2815 2007-05-29  Stepan Kasal  <kasal@ucw.cz>
2817         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
2819 2007-05-28  Paul Eggert  <eggert@cs.ucla.edu>
2821         * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
2822         define HAVE_INT8_T, and likewise for similar macros.
2823         Problem reported by Patrick Welche in
2824         <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
2826 2007-05-25  Noah Misch  <noah@cs.caltech.edu>
2828         * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
2830 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
2832         * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
2833         choice, since that's what we do with --enable-largefile etc.
2834         Redo indenting and assignments to simplify things a bit, and make
2835         the parens work with Emacs.
2837         * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
2838         in my previous change: AC_C_OPENMP -> AC_OPENMP.  Reported by Bruno
2839         Haible.
2841 2007-05-21  Noah Misch  <noah@cs.caltech.edu>
2843         * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
2844         * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
2846 2007-05-21  Bruno Haible  <bruno@clisp.org>
2848         * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
2849         * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
2850         * doc/autoconf.texi (Generic Compiler Characteristics): Move
2851         renamed AC_OPENMP documentation here, from "C compiler".
2852         Mention C++ and Fortran.
2854 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
2856         * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
2858 2007-05-21  Bruno Haible  <bruno@clisp.org>
2860         * NEWS: Mention AC_C_OPENMP.
2861         * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
2862         * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
2863         Based in part on Steven G. Johnson's investigations for the AX_OPENMP
2864         macro in the Autoconf macro archive.
2866 2007-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2868         * bin/autom4te.in: Fix typos.
2870 2007-05-16  Noah Misch  <noah@cs.caltech.edu>
2872         * bin/autoconf.as: Handle `-' just like other input files.
2873         * bin/autom4te.in (parse_args): Pass `-' through.
2874         (handle_output): Skip the forbidden token search if we read from stdin.
2875         (up_to_date): Always treat stdin as out of date.
2876         * tests/tools.at (autoconf: input from stdin): New test.
2877         (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
2879 2007-05-16  Stepan Kasal  <kasal@ucw.cz>
2881         * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
2882         parameters for AT_CLEANUP.
2883         * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
2885 2007-05-14  Paul Eggert  <eggert@cs.ucla.edu>
2887         * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
2888         * doc/autoconf.texi (C Compiler): Likewise.
2890 2007-05-14  Noah Misch  <noah@cs.caltech.edu>
2892         * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
2894 2007-05-09  Stepan Kasal  <kasal@ucw.cz>
2896         * doc/autoconf.texi: Direntry for "autoconf Invocation"
2897         renamed to "autoconf-invocation"
2899         * doc/autoconf.texi (Caching Results): The CACHE-ID variable
2900         in the examples should not use the internal "ac_" prefix.
2902 2007-05-05  Noah Misch  <noah@cs.caltech.edu>
2904         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
2905         * doc/autoconf.texi ($@, case): Document Zsh limitations.
2907 2007-05-03  Stepan Kasal  <kasal@ucw.cz>
2909         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
2910         Reorganize the comments before and in the macro.
2912 2007-05-02  Stepan Kasal  <kasal@ucw.cz>
2914         * lib/autoconf/lang.m4, lib/autoconf/c.m4,
2915         lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
2916         section titles and other comments; no code change.
2918 2007-05-01  Kevin Ryde  <user42@zip.com.au>
2920         * doc/autoconf.texi (Particular Programs): Typo
2921         @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
2923 2007-04-30  Paul Eggert  <eggert@cs.ucla.edu>
2925         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
2926         'configure' will fail if the shell lacks proper support for shell
2927         functions.  Suggested by RMS.
2929 2007-04-29  Paul Eggert  <eggert@cs.ucla.edu>
2931         * doc/autoconf.texi (Limitations of Builtins): Correct the warning
2932         about Solaris /bin/printf '%010000x' 123.  Problem reported by
2933         Bruno Haible.
2935 2007-04-28  Paul Eggert  <eggert@cs.ucla.edu>
2937         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
2938         for a.* when searching for executables, as this prevents users
2939         from having files like a.c.  Problem reported by Ralf Wildenhues in:
2940         http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
2941         This fixes a problem introduced on 2000-12-19.
2943 2007-04-26  Paul Eggert  <eggert@cs.ucla.edu>
2945         * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
2946         /bin/printf '%010000x' 123.  Problem reported by Arto C. Nirkko
2947         via Bruno Haible.
2949 2007-04-12  Paul Eggert  <eggert@cs.ucla.edu>
2951         * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
2952         AC_CHECK_TYPE, AC_CHECK_TYPES.
2953         * doc/autoconf.texi (Generic types): C types must be type-names
2954         (the C terminology), not type-ids (the C++ term).  C++ types
2955         must not be anonymous.
2956         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
2957         for C++; this drops support for anonymous struct and union types,
2958         which were problematic anyway.
2959         * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
2960         for C++.
2962 2007-04-12  Jim Meyering  <jim@meyering.net>
2964         * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
2966 2007-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2968         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
2969         to prefer a link source from the build tree, if it exists.
2970         Report by Pallav Gupta <pallavgupta@gmail.com>.
2972 2007-04-11  Paul Eggert  <eggert@cs.ucla.edu>
2974         * doc/autoconf.texi (Generic Types): Document the restrictions
2975         on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
2976         (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
2977         with objects too.  Document the restrictions on its use.
2978         Document the restrictions on AC_CHECK_ALIGNOF's type argument.
2979         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
2980         For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
2981         works but the latter doesn't, then it's a valid type.
2982         This lets people use function types and so forth.
2983         For C++ there doesn't seem to be a simple solution, so leave it alone.
2984         (AC_CHECK_SIZEOF): Allow argument to be a variable.
2985         (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
2986         AC_CHECK_TYPE; that wasn't documented or necessary.
2988 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
2990         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
2991         when cross-compiling.
2993 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
2995         * doc/autoconf.texi (External Software): Fix a typo in the
2996         previous change.
2998 2007-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3000         * doc/autoconf.texi (External Software, Package Options):
3001         Fix ambiguous wording.  Report by Reuben Thomas <rrt@sc3d.org>.
3003 2007-04-06  Paul Eggert  <eggert@cs.ucla.edu>
3005         * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
3006         obsolescent.  Suggested by Bruno Haible.
3007         * NEWS: Document this.
3009 2007-03-29  Paul Eggert  <eggert@cs.ucla.edu>
3011         * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
3012         (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
3013         default still has the problem.  Problem reported by Bruce Korb.
3015 2007-03-28  Stepan Kasal  <kasal@ucw.cz>
3016         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3018         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
3019         comment in the generated config.status.
3021 2007-03-27  Stepan Kasal  <kasal@ucw.cz>
3023         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
3025 2007-03-26  Paul Eggert  <eggert@cs.ucla.edu>
3027         * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
3028         command and case statements to make it a bit clearer and describe
3029         more pitfalls.
3031 2007-03-23  Paul Eggert  <eggert@cs.ucla.edu>
3033         * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
3034         checks for unsigned long long int.
3036 2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
3038         * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
3039         nonstandard grep R.E. escape sequences.
3041 2007-03-17  Jim Meyering  <jim@meyering.net>
3043         * doc/autoconf.texi: Adjust grammar around use of "heuristics".
3044         (Limitations of Usual Tools): Also list \< and \>, and mention that
3045         HP-UX's grep, like the one from Solaris, does not support that syntax.
3047 2007-03-09  Stepan Kasal  <kasal@ucw.cz>
3049         * doc/autoconf.texi (Specifying Names): `--host' does not
3050         change the build type.
3052 2007-03-05  Paul Eggert  <eggert@cs.ucla.edu>
3054         * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
3055         suggests AC_CONFIG_HEADERS.
3056         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
3057         AC_CONFIG_HEADERS.  Problem reported by
3058         Peter O'Gorman.
3060 2007-02-28  Paul Eggert  <eggert@cs.ucla.edu>
3062         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
3063         Problem reported by Paolo Bonzini in:
3064         http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
3065         * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
3066         universal binaries.  Problem reported by Elias Pipping.
3068 2007-02-27  Paul Eggert  <eggert@cs.ucla.edu>
3070         * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
3071         * doc/autoconf.texi (C Compiler): Document this.  There is a new
3072         extra argument ACTION-IF-UNIVERSAL.
3073         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
3074         Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
3075         Reindent for sanity's sake.
3077 2007-02-24  Eric Blake  <ebb9@byu.net>
3079         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
3080         copyright.
3081         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
3082         * lib/autotest/general.m4 (AT_INIT): Likewise.
3083         (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
3085 2007-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3087         * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
3088         status of rm so we know when it failed.
3089         If cleaning of test dir failed before running the test, warn.
3090         Output the line separator in verbose mode before the warning
3091         to make clear the warning belongs to the following test.
3093 2007-02-08  Paul Eggert  <eggert@cs.ucla.edu>
3095         * doc/autoconf.texi (Parentheses): Mention problem with (( in
3096         shells.
3098 2007-02-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3099         and Paul Eggert  <eggert@cs.ucla.edu>
3101         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
3102         errors introduced in last change.
3104 2007-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3106         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
3107         an actual carriage return.  Use "ac_cr" to contain the actual
3108         carriage return.
3109         * doc/autoconf.texi (Limitations of Usual Tools): Document problem
3110         with traditional Awk and begin.
3111         * tests/torture.at (Limitations of Builtins): Document the problem
3112         with Bash 2.03 printf.
3113         (Substitute and define special characters):
3114         Remove trailing white space.  Work around a bug in Solaris 8 /bin/bash.
3116 2007-02-06  Ralf Menzel  <menzel@ls6.cs.uni-dortmund.de>  (tiny change)
3118         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
3119         input from /dev/null in awk test, so even Solaris /usr/bin/awk
3120         will not wait for input with a script containing only a BEGIN
3121         rule.
3123 2007-02-03  Paul Eggert  <eggert@cs.ucla.edu>
3125         * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
3126         requirements.
3127         * README: Likewise.
3129 2007-02-02  Eric Blake  <ebb9@byu.net>
3131         * NEWS: Update copyright.
3133         * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
3134         broken.
3135         * configure.ac: Update error message.
3136         * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
3137         Reported by Gary Vaughan and Jim Meyering, and problem analyzed
3138         by Stepan Kasal:
3139         http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
3141 2007-01-31  Eric Blake  <ebb9@byu.net>
3143         * THANKS (people): Update.
3145 2007-01-28  Paul Eggert  <eggert@cs.ucla.edu>
3147         * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
3148         latest version.
3149         (Shell Substitutions): Note problems with @{var:=value} etc.
3150         Add a new section for problems with @{#var} etc.  Problem noted
3151         by Ralf Wildenhues.  See:
3152         http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
3154 2007-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3156         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
3157         AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
3158         trace, if a package uses AC_PROG_MKDIR_P explicitly.  The actual
3159         substitution will still be done by the special code.
3160         Report by Jim Meyering.
3162         * doc/autoconf.texi (File System Conventions): Mention that
3163         $PATH_SEPARATOR is for the build system only.
3164         Report by Keith Marshall.
3166 2007-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3168         * doc/autoconf.texi (Setting Output Variables): Mention that
3169         all non-NUL characters are ok in substituted values.
3170         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
3171         (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
3172         carriage return for $AWK, needed for BSD awk.
3173         * tests/torture.at (Substitute and define special characters):
3174         Test all 8 bit non-NUL characters.
3175         Report against Automake by Patrick Welche.
3177 2007-01-15  Stepan Kasal  <kasal@ucw.cz>
3179         * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
3181 2007-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3183         * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
3184         early on the reader side, drop stderr of the input to avoid
3185         `broken pipe' error output; this may happen even with shell
3186         builtin `echo' of some bash versions.  Reports by Ian Macdonald
3187         <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
3189 2007-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3191         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
3192         separate items of `ac_user_opts', to avoid long lines.
3193         (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
3195 2007-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3197         * doc/autoconf.texi: Fix some typos.
3199 2007-01-05  Paul Eggert  <eggert@cs.ucla.edu>
3201         Fix some wording problems noted by Paolo Bonzini in:
3202         http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
3203         * doc/autoconf.texi (Signed Overflow Examples): Give more
3204         discussion about the allow_superuser_privileges example,
3205         and change it a bit to make things clearer.
3206         (Optimization and Wraparound): Clarify whether the compiler
3207         will generate an infinite loop for the example derived from
3208         Autoconf's mktime test.
3209         (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
3210         Also, clarify unsigned multiplication overflow.
3212 2007-01-04  Eric Blake  <ebb9@byu.net>
3214         * bin/Makefile.am (RELEASE_YEAR): New macro.
3215         (edit): Use it to supply correct copyright year to scripts.
3216         * bin/autoconf.as (version): Use it.
3217         * bin/autoheader.in ($version): Likewise.
3218         * bin/autom4te.in ($version): Likewise.
3219         * bin/autoreconf.in ($version): Likewise.
3220         * bin/autoscan.in ($version): Likewise.
3221         * bin/autoupdate.in ($version): Likewise.
3222         * bin/ifnames.in ($version): Likewise.
3224 2007-01-02  Paul Eggert  <eggert@cs.ucla.edu>
3226         * doc/autoconf.texi (Integer Overflow): Revised based on today's
3227         feedback.  The most important changes document what happens when
3228         you convert an out-of-range value to a signed integer type, and
3229         say that (sum < a) != (b < 0) reliably detects overflow when sum =
3230         a + b.
3232         * doc/autoconf.texi (Integer Overflow): Greatly expand and
3233         rewrite, taking notions from the recent discussion on the gcc and
3234         autoconf mailing lists; please see
3235         http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
3236         and follow the many links.
3237         (Integer Overflow Basics, Signed Overflow Examples):
3238         (Optimization and Wraparound, Signed Overflow Advice):
3239         (Signed Integer Division): New sections.
3241 2006-12-28  Steven G. Johnson  <stevenj@alum.mit.edu>
3243         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
3244         preprocessor macro arguments in traced name.
3245         * doc/autoconf.texi (Defining symbols): Document longstanding
3246         support for AC_DEFINE-ing macros with arguments, and document
3247         behavior when the same variable has multiple AC_DEFINEs.
3248         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
3249         old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
3250         macros directly, giving much shorter and simpler code.
3252 2006-12-28  Malcolm Purvis <malcolmp@xemacs.org>  (trivial change)
3254         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
3255         space before "$ac_configure_args" to prevent a 'config.status
3256         --recheck' failure if ac_configure_args doesn't contain a leading
3257         space.  This works around a problem with the XEmacs configure.ac,
3258         which uses the (undocumented) ac_configure_args variable
3259         inconsistently with Autoconf.
3261 2006-12-22  Paul Eggert  <eggert@cs.ucla.edu>
3263         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
3264         Include <limits.h>, and use its INT_MAX to rewrite the
3265         j loop so that it does not overflow 'int'.  Problem reported by
3266         Ralf Wildenhues in
3267         <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
3268         Play it safe by shifting left by 1 rather than multiplying by 2,
3269         as GCC is less likely to optimize this away when the value
3270         is signed (when it assumes overflow leads to undefined behavior).
3271         Also, don't assume time_t uses two's complement.
3273 2006-12-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3275         * tests/torture.at (Substitute a 2000-byte string): Avoid using
3276         a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
3277         dumps core on it.  Report by Tim Rice.
3279 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
3281         * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
3282         --disable-option-checking to --help output even when
3283         AC_PRESERVE_HELP_ORDER is not used.
3284         (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
3285         --with argument, rather than argument with [-.] replaced by
3286         underscores.
3287         * NEWS: Fix typo in previous change; the news was in the
3288         wrong section.
3290 2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
3292         * NEWS: Warnings are now generated by default for unknown
3293         --enable-* and --with-* options.
3294         * doc/autoconf.texi (Option Checking): Renamed from
3295         (Configure Option Checking).  Tighten up the wording a bit.
3296         (External Software, Package Options): Cross-reference to Option
3297         Checking, and use this to shorten our section.
3298         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
3299         "$x" to test "x$foo" != x.
3300         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
3301         Don't warn if $enable_option_checking is "no".
3302         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
3303         ac_unrecognized_opts to the empty string.
3304         Don't echo the unrecognized opts, as this might mishandle
3305         backslashes or leading -.
3306         (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
3307         usage next to the other --disable-FEATURE options in the
3308         help string.
3310 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
3312         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
3313         (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
3314         Print warning for unrecognized --with and --enable options
3315         (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
3316         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
3317         Disable option checking when subdirs are configured.
3318         (AC_OUTPUT): If warnings are enabled, print warning about
3319         unrecognized --with and --enable options at the end of
3320         the configure output (as well as at the beginning).
3321         * doc/autoconf.texi (Option Checking): New node.
3322         Document new option warning functionality.
3324 2006-12-16  Eric Blake  <ebb9@byu.net>
3326         * configure.ac (AC_INIT): Bump version, since 2.61a is released.
3327         * NEWS: Start news for current version.
3329 2006-12-15  Paul Eggert  <eggert@cs.ucla.edu>
3331         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
3332         Define HAVE_GETMNTENT to 1, not to the empty string.
3333         Problem originally reported by Jochen Friedrich in
3334         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
3336         This change prompted by a problem report by Andrey Simonenko in
3337         <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
3338         * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
3339         object-like macros only, in the traditional portable character
3340         set.
3341         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
3342         Warn about attempts to define things that are not identifiers.
3343         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
3344         awful hack that AC_DEFINEd macro names containing parentheses.
3346 2006-12-12  Paul Eggert  <eggert@cs.ucla.edu>
3348         * doc/autoconf.texi: Undo some of the 2006-12-10 change.  It was
3349         too drastic, even if Texinfo in theory requires it for info mode.
3351         (config.status Invocation): Renamed back from Recreating a
3352         Configuration).
3353         (Obsolete config.status Use): Renamed back from Obsolete Recreation.
3354         (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
3356 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
3358         * NEWS: Version 2.61a.
3360 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
3361         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3363         * NEWS: Document changes with echo and printf, and the lack
3364         of limits on the total size of multi-line values of substituted
3365         variables, and the AC_FUNC_FSEEKO fix.
3367 2006-12-10  Paul Eggert  <eggert@cs.ucla.edu>
3369         * doc/autoconf.texi (Writing Autoconf Input): Renamed from
3370         Writing configure.ac.
3371         (Autoconf Input Layout): Renamed from configure.ac Layout.
3372         (Recreating a Configuration): Renamed from config.status Invocation.
3373         (Obsolete Recreation): Renamed from Obsolete config.status Use.
3374         (acconfig Header): Renamed from acconfig.h.
3375         (20th-century Autoconf 2): Renamed from Autoconf 2.13.
3376         (Writing Testsuites): Renamed from Writing testsuite.at.
3377         (Autom4te Cache): Renamed from autom4te.cache.
3379         * BUGS: Remove mention of VPATH problem, since it's now documented
3380         not to be a bug in the Autoconf build procedure itself, but rather
3381         a problem with the proprietary `make' programs.
3383         * doc/autoconf.texi (Build Directories): Add a cross reference
3384         to VPATH and Make.
3386         * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
3387         * doc/standards.texi: Sync from gnulib.
3389         * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
3390         * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
3391         * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
3392         generated automatically.
3394 2006-12-06  Paul Eggert  <eggert@cs.ucla.edu>
3396         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
3397         C 5.8 on Solaris 10.  Using -xc99=all rather than -xc99 bypasses
3398         the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
3400 2006-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3402         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
3403         `CEOF$ac_eof' special marker, the awk script cannot contain a
3404         line matching `^CEOF', so this is not needed any more.
3405         * tests/torture.at (Substitute a newline): Expose the `%!_!# '
3406         special marker in the test.
3408 2006-12-06  Stepan Kasal  <kasal@ucw.cz>
3410         * tests/tools.at (autom4te preselections): Use `find -newer';
3411         remove one of the sleeps.
3413         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
3414         more readable, using ...
3415         (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
3417         * doc/autoconf.texi (autoheader Invocation): Do not double-
3418         quote the parameter of `AH_BOTTOM' in the example.
3420 2006-12-05  Stepan Kasal  <kasal@ucw.cz>
3422         * doc/autoconf.texi (Configuration Headers): Remove the
3423         example with multiple input files.
3424         (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
3425         multiple input files.
3427 2006-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3429         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
3430         creating the awk substitution script, handle one input line at a
3431         time, so that the maximum length of a substituted (multi-line)
3432         value is not limited by the size of the sed pattern space.
3433         The trade-off is a slightly repetitive sed script.
3434         * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
3435         can only have up to 7 characters, due to Solaris 10 /bin/sed.
3436         * tests/torture.at (Substitute a 2000-byte string): Increase the
3437         test with several long lines, they should not be caught by sed
3438         limits any more.
3440         * tests/tools.at (autom4te preselections): New test, to flag
3441         entries missing from autom4te.cfg.
3442         Report by David Byron <dbyron@hheld.com>.
3444         * tests/torture.at (Substitute a 2000-byte string): Actually use
3445         AC_PROG_AWK, so the last change works as intended.
3446         (Substitute and define special characters): Likewise.
3447         (Substitute a newline): Likewise.
3449         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
3450         instead of `awk' consistently.
3451         (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
3452         * tests/torture.at (Torturing config.status): Test both the
3453         result of AC_PROG_AWK and plain awk.
3454         (Substitute a 2000-byte string): Likewise.
3455         (Substitute and define special characters): Likewise.
3456         (Substitute a newline): Likewise.
3458 2006-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3460         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
3461         can be assigned to a function pointer.  Problem reported by
3462         Peter Palfrader in <http://bugs.debian.org/401377>.  Based on
3463         part of a patch by Ralf Wildenhues in that same bug report.
3465 2006-12-01  Paul Eggert  <eggert@cs.ucla.edu>
3467         * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
3468         * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
3470 2006-12-01  Eric Blake  <ebb9@byu.net>
3472         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
3473         cross-compiling from cygwin to mingw.
3474         Reported by Bob Rossi.  This resurrects the 2000-11-30 patch to
3475         aclang.m4, which was mistakenly removed in the 2001-09-17 patch
3476         to lib/autoconf/c.m4.
3478 2006-12-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3480         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
3481         string for more reliable failure.  Wrap the entire test that
3482         causes the broken Solaris printf to dump core, in a subshell,
3483         so the segmentation fault message is reliably suppressed.
3484         Fix shell expansion errors by using /usr/ucb/echo always;
3485         avoid an error on systems without it by another subshell.
3486         Avoid m4 expansion of `$1'.  Set the zeroth argument of the
3487         subshell-$as_echo to `as_echo', for better error message.
3489 2006-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3491         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
3492         `BASH_SOURCE' contain a newline, set them to empty, as they may
3493         not be unset.
3495 2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
3497         Turn AC_FUNC_SETVBUF_REVERSED into a noop.  It's been obsolete for
3498         years and is too hard to maintain now.  The last straw was
3499         reported by Jerker Baeck in
3500         <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
3501         * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
3502         * doc/autoconf.texi (Particular Functions): Move
3503         AC_FUNC_SETVBUF_REVERSED from here...
3504         (Obsolete Macros): ... to here.  Say that it does nothing now.
3505         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
3506         Turn into (almost) a no-op.
3508         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
3509         (AC_C_VOLATILE):
3510         Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
3511         These macros are obsolescent and new applications shouldn't need them.
3512         * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
3513         (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
3514         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
3515         (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3516         (AC_FUNC_VPRINTF): Likewise.
3517         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
3518         (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
3519         * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
3521         * doc/autoconf.texi (Setting Output Variables): Mention that
3522         @VAR1@VAR2 has unspecified behavior.  Problem reported by
3523         Ralf Wildenhues.
3524         * NEWS: Mention this.
3526         * Makefile.am: Put only a single '#' into the copyright notice,
3527         so that it's also present in the output file.  Standardize wording
3528         in makefile copyright notices to match GNU coding standards.
3529         * bin/Makefile.am: Likewise.
3530         * doc/Makefile.am: Likewise.
3531         * lib/Makefile.am: Likewise.
3532         * lib/freeze.mk: Likewise.
3533         * lib/autoconf/Makefile.am: Likewise.
3534         * lib/autoscan/Makefile.am: Likewise.
3535         * lib/autotest/Makefile.am: Likewise.
3536         * lib/m4sugar/Makefile.am: Likewise.
3537         * man/Makefile.am: Likewise.
3538         * tests/Makefile.am: Likewise.
3539         * lib/emacs/Makefile.am: Remove copyright notice; it's just a
3540         one-line file.
3542 2006-11-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3544         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
3545         in the sed script that mangles the awk script: delete up to the
3546         first exclamation mark only.
3547         * tests/torture.at (Substitute and define special characters):
3548         Test '!' too.
3550 2006-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3552         Rewrite config files generation: avoid quadratic growth in
3553         the number of substituted variables by using awk instead of sed
3554         for the bulk of the substitutions.
3555         * NEWS: Mention this.
3556         * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
3557         forbidden in the output (and thus input) file.
3558         * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
3559         (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
3560         generate just one large awk script for substitutions,
3561         eliminating much of the earlier complexity, while adding some
3562         new complexity.  Only expand the substitution templates at
3563         configure time, for smaller configure script size.  If
3564         _AC_SUBST_FILES are used, test 'awk' for working getline support
3565         at config.status time.  If absent, interpolate through the
3566         shell.  The awk script was written with much help
3567         from Paolo Bonzini and Paul Eggert.
3568         (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
3569         (_AC_SED_FRAG_NUM): Likewise.
3570         (_AC_SUBST_CMDS): Renamed from...
3571         (_AC_SED_CMDS): ...this.
3572         (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
3573         * tests/torture.at (Substitute a 2000-byte string): Also
3574         substitute a line with 1000 words, and a variable with several
3575         long lines.
3576         (Substitute and define special characters): Test awk special
3577         characters, and put substitution input strings `@foo@' in the
3578         output, to test that no recursion happens; test several other
3579         combinations from Paolo Bonzini.
3581 2006-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3583         * lib/autotest/general.m4 (AT_INIT): Undo recent changes
3584         that replaced echo with AS_ECHO where this wasn't necessary.
3585         Problem reportd by Ralf Wildenhues.
3586         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
3587         where "/usr/bin/printf '%s\n' S" dumps core if S is long.
3588         This is Sun bug 4206210.  Problem reportd by Ralf Wildenhues.
3590 2006-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3592         * lib/freeze.mk (GREP): Removed, no need to initialize this.
3594 2006-11-21  Paul Eggert  <eggert@cs.ucla.edu>
3596         * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
3597         that traditional Awk lacks 3-arg "split".  It has it.
3598         Mention that FS must be a single character, and a few other
3599         99-byte limits of traditional Awk.
3600         Mention that if (i in a) doesn't work with traditional Awk.
3602 2006-11-18  Paul Eggert  <eggert@cs.ucla.edu>
3604         * tests/autotest.at (BSx641-newline in command):
3605         (BS-BS-newline in command, BSx640-newline in command):
3606         (Newline-CODE-BS-newline in command):
3607         (Single-quote-BS-newline in command):
3608         (Single-quote-newline-BS-newline in command):
3609         Use printf '%s\n' instead of echo, for portability to hosts
3610         where echo interprets backslashes.  This will break on hosts
3611         that lack printf, but for now let's assume all such hosts
3612         are dead (if not, we should get reports of test failures).
3614 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
3616         'echo' has some portability problems, when given a first argument
3617         with a leading '-', or when given any argument containing '\'.
3618         Avoid using 'echo' in these cases.
3619         * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
3620         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
3621         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3622         * lib/autotest/general.m4 (AT_INIT): Likewise.
3623         * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
3624         argument might be unportable.
3625         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
3626         * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
3627         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
3628         (_AC_FC_LIBRARY_LDFLAGS): Likewise.
3629         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
3630         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
3631         (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
3632         (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
3633         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3634         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
3635         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
3636         (AC_PROG_MAKE_SET): Likewise.
3637         * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
3638         (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
3639         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
3640         (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
3641         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
3642         (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
3643         (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
3644         * bin/autoconf.as: Redo verbose flag implementation, as the old
3645         scheme wouldn't work with AS_ECHO.
3646         * lib/autotest/general.m4 (AT_INIT): Likewise.
3647         * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
3648         Don't use ECHO_T, since ECHO_N is now reliable.
3649         * lib/autotest/general.m4 (AT_INIT): Likewise.
3650         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
3651         rather than using a here-document to put the script into a file.
3652         (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
3653         use AS_ECHO.
3654         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
3655         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
3656         AS_ECHO_N rather than ECHO_N and ECHO_C.  This doesn't fix any
3657         bug, but we might as well stop using ECHO_N and ECHO_C internally.
3658         * lib/autotest/general.m4 (AT_SETUP): Likewise.
3659         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
3660         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3661         (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
3662         operand, as AS_ECHO requires.  Avoid double file name expansion.
3663         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
3664         Don't set as_nl, since _AS_ECHO_PREPARE does that now.
3665         (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
3666         (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
3667         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3668         Double-quote strings that would otherwise contain M4 comments.
3669         * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
3671         * configure.ac (AC_INIT): Bump to 2.61a.
3672         * NEWS: Likewise.
3674 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
3676         Version 2.61.
3678         * configure.ac (AC_INIT): Bump to 2.61.
3679         * NEWS: Likewise.
3681         * tests/autotest.at (Macro with backslash in a test title):
3682         Comment out for now, as this tests neither fails nor passes
3683         reliably.  Problem reported by Ralf Wildenhues.
3685 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
3687         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
3688         in previous change, which caused test failures.
3690 2006-11-16  Stepan Kasal  <kasal@ucw.cz>
3692         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
3693         code for --enable, --disable, --with, and --without to...
3694         (_AC_INIT_PARSE_ENABLE): ... a new macro.
3695         * doc/autoconf.texi (Package Options):
3696         * NEWS: Document that AC_ARG_ENABLE allows dots, too.
3698 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
3700         Import these changes from config via gnulib:
3702         2006-11-15  Ben Elliston  <bje@gnu.org>
3704         From Josselin Mouette <joss@debian.org>:
3705         * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
3707         2006-11-08  Ben Elliston  <bje@gnu.org>
3709         * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
3711         2006-11-07  Steve Woodford  <scw@NetBSD.org>
3712                     Ben Elliston  <bje@gnu.org>
3714         * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
3715         * build-aux/config.sub (sh5el): New basic_machine.
3718         Import this change from coreutils:
3720         2006-02-13  Jim Meyering  <jim@meyering.net>
3722         * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
3725         Import this change from gnustandards via gnulib:
3727         2006-11-15  Karl Berry  <karl@gnu.org>
3729         * standards.texi: core -> memory, throughout.
3730         (CPU Portability): show correct example of calling write
3731         on a char value; thanks to Paul Eggert for the code.
3732         Both of these suggestions from Eugene Y. Vasserman.
3735         Import these changes from texinfo via gnulib:
3737         2006-11-08  Karl Berry  <karl@gnu.org>
3739         * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
3740           as well as pdf images, since they are supported in pdftex with
3741           no further ado.
3743         2006-11-05  Karl Berry  <karl@gnu.org>
3745         * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
3747 2006-11-13  Paul Eggert  <eggert@cs.ucla.edu>
3749         * NEWS: Document the AC_ARG_WITH change.
3751 2006-11-13  Bruno Haible  <bruno@clisp.org>
3753         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
3754         options, transliterate also dots to underscores.
3755         (_AC_ENABLE_IF): Transliterate also dots to underscores.
3756         * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
3757         first argument may also contain dots.
3759 2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
3761         * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
3762         benefit of platforms like Solaris+GCC where it is common to have a
3763         non-working g++ installation.
3765 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3766         and Joel E. Denny  <jdenny@ces.clemson.edu>
3767         and Paul Eggert  <eggert@cs.ucla.edu>
3769         * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
3770         and non-portable sed scripts, and use $CONFIG_SHELL when invoking
3771         ./micro-suite.
3773 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
3775         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
3776         ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
3777         Imported from a similar patch to gnulib by Bruno Haible.
3779 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
3781         * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
3782         * doc/autoconf.texi (C Compiler): Document them.
3783         * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
3784         New macros, taken from gnulib.
3786 2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
3788         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
3789         Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
3790         Matthew Woehlke.
3792 2006-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3794         * tests/torture.at (Configuring subdirectories): Do not skip
3795         Automake 1.10 nor future Automake 11.1 (sic).
3797 2006-10-26  Joel E. Denny  <jdenny@ces.clemson.edu>
3798         and Stepan Kasal  <kasal@ucw.cz>
3800         Handle special characters in test case titles correctly.
3801         * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
3802         properly.
3803         (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
3804         * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
3805         argument.  Extend to check titles printed by ./micro-suite and
3806         ./micro-suite -l and the title in micro-suite.log.
3807         (Backquote in a test title,
3808         Single-quote in a test title,
3809         Double-quote in a test title): Don't expect failure anymore.
3810         (Backslash in a test title): Put a non-whitespace character after the
3811         backslash so that Bourne shells might actually see it as an escape
3812         sequence.
3813         (Brackets in a test title,
3814         Pound in a test title,
3815         Comma in a test title,
3816         Quoted Macro in a test title,
3817         Macro in a test title,
3818         Macro with single-quote in a test title): New tests.
3819         (Macro with backquote in a test title,
3820         Macro with double-quote in a test title,
3821         Macro with backslash in a test title): New tests expected to fail.
3822         * tests/torture.at (#define header templates): M4-quote this title in
3823         AT_SETUP call so that no M4 code is commented inadvertently somewhere.
3824         The visible effect was a stray [] in the testsuite output.
3826 2006-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3828         * doc/autoconf.texi (Limitations of Builtins): Do not invoke
3829         `trap ... 0' inside a function, for AIX sh.
3831 2006-10-26  Paul Eggert  <eggert@cs.ucla.edu>
3833         * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
3834         since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
3835         5363) simply issues a warning when dividing by zero at compile
3836         time.  Problem reported by Elias Pipping.
3838 2006-10-26  Eric Blake  <ebb9@byu.net>
3840         * THANKS: Update.
3841         * doc/autoconf.texi (Evaluation Macros): Improve the example to
3842         show effect on macros that expand with commas.
3843         Reported by Joel E. Denny.
3845         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3846         Also work with M4 1.4.8.
3848 2006-10-25  Paul Eggert  <eggert@cs.ucla.edu>
3850         * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
3851         Jim Meyering.
3853 2006-10-25  Stepan Kasal  <kasal@ucw.cz>
3855         * tests/tools.at (autom4te --force): New test, verifies that
3856         `--force' always rewrites the output file.
3858 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
3860         * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
3861         needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.
3863 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
3865         * tools/trace.at (autoconf --trace: user macros): Test `$%'.
3867 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
3869         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
3870         If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
3871         AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
3872         reported by Nelson H. F. Beebe for Coreutils 6.4.
3874         * tests/tools.at (autoconf --trace: user macros): Remove test
3875         for tracing multiline macros, since m4 1.4.7a uses a different
3876         way to number lines.  Problem reported by Ralf Wildenhues.
3878 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
3880         * bin/autom4te.in (handle_m4): Do not redirect stdin to
3881         /dev/null since the heuristics for interactive behaviour was
3882         fixed in CVS m4.
3884         * bin/autom4te.in: With --force, always refresh the output
3885         file.  Problem reported by Greg Schafer <gschafer@zip.com.au>.
3887         * bin/autoconf.as: Fix the verbose message at the end.
3889 2006-10-23  Paul Eggert  <eggert@cs.ucla.edu>
3891         * configure.ac (AC_INIT): Bump to 2.60c.
3892         * NEWS: Likewise.
3894 2006-10-22  Paul Eggert  <eggert@cs.ucla.edu>
3896         * NEWS: Version 2.60b.
3898         Import this change from Texinfo:
3899         2006-10-15  Karl Berry  <karl@gnu.org>
3900         * build-aux/texinfo.tex: automake 1.10
3902         * NEWS: Remove AC_CACHE_CHECK_INT.
3903         * doc/autoconf.texi (Caching Results): Likewise.
3904         * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
3905         AC_CACHE_CHECK_INT, since it's no longer public.
3906         * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
3907         * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
3909 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3911         * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
3913 2006-10-19  Eric Blake  <ebb9@byu.net>
3915         * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
3916         (m4_maketemp): Avoid warnings with M4 1.9a.
3917         * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
3918         m4_mkstemp.
3919         * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
3920         * NEWS: Likewise.
3922 2006-10-16  Eric Blake  <ebb9@byu.net>
3924         * doc/autoconf.texi (Setting Output Variables): Fix typo.
3926         * bin/autoconf.as (version): Reword to match GNU Coding
3927         Standards.
3928         * bin/autoheader.in (version): Likewise.
3929         * bin/autom4te.in (version): Likewise.
3930         * bin/autoreconf.in (version): Likewise.
3931         * bin/autoscan.in (version): Likewise.
3932         * bin/autoupdate.in (version): Likewise.
3933         * bin/ifnames.in (version): Likewise.
3935 2006-10-14  Stepan Kasal  <kasal@ucw.cz>
3937         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
3938         looking for special shell characters.
3939         * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
3940         macro defined by AS_VAR_PUSHDEF before passing it as a
3941         parameter.
3942         * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
3943         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
3944         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
3945         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
3946         (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
3947         Likewise.
3948         * lib/autotest/general.m4 (AT_INIT): Quote parameters of
3949         AS_VAR_* properly.
3950         * tests/m4sh.at (AS_LITERAL_IF): New test.
3952 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
3954         (Imported from Automake.)
3955         * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
3956         which incorrectly sets the mode of an existing destination
3957         directory.  In some cases the unpatched install-sh could do the
3958         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
3959         system.  We hope this is rare in practice, but it's clearly worth
3960         fixing.  Problem reported by Alex Unleashed in
3961         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
3962         Also, don't bother to check for -m bugs unless we're using -m;
3963         suggested by Stepan Kasal.
3965 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
3967         Import this change from Automake:
3969         2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
3970         * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
3971         is enabled by default with gnu and gnits strictness.
3972         Report from Bruno Haible.
3974         2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
3975         * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
3976         gnu and gnits modes.
3978         Import this change from Config:
3980         2006-09-20  Ben Elliston  <bje@gnu.org>
3981         * build-aux/config.sub (score, score-*): New.
3983         Import this change from Gnulib:
3985         2006-09-16  Karl Berry  <karl@gnu.org>
3986         * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
3987         to avoid sectioning errors.
3989         Import these changes from Texinfo:
3991         2006-10-04  Karl Berry  <karl@gnu.org>
3992         * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
3993         (\quoteexpand): rename to \rquoteexpand.
3994         (\codequoteleft): new def, to look for @set codequotebacktick.
3995         (\lquoteexpand, \quoteexpand): new defs.
3996         (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
3997         (\code): must use new \...Char values, since now ` is active.
3999         2006-08-26  Karl Berry  <karl@gnu.org>
4000         * build-aux/texinfo.tex (\textdegree): New command.
4002         2006-08-12  Karl Berry  <karl@gnu.org>
4003         * build-aux/texinfo.tex (error \box0): smaller font.
4005 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4007         * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
4009 2006-10-13  Stepan Kasal  <kasal@ucw.cz>
4011         * doc/autoconf.texi (Autoheader Macros): Warn that the text
4012         added to the template can get mangled.
4014 2006-10-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4016         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
4017         include the default headers, and redefine obstack_chunk_alloc
4018         and obstack_chunk_free.  Fixes false failure with glibc.
4020 2006-10-12  Paul Eggert  <eggert@cs.ucla.edu>
4022         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
4023         for backward compatibility with Libtool 1.5.22.  Problem reported
4024         by Ralf Wildenhues.
4026 2006-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4028         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
4029         AC_PROG_CC.
4030         Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
4032 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
4034         * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
4035         the NonStop platform.
4036         * doc/autoconf.texi (Posix Variants): Likewise.
4037         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
4039         * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
4040         (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
4041         (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
4042         Use a better substitute, by inspecting the output of "ls"
4043         rather than just using ":".
4044         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
4045         rather than AS_EXECUTABLE_P, since we needn't worry about
4046         non-regular files here.
4048         * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
4049         due to configuration hassles with this.  See Tonya Underwood's report
4050         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
4051         * doc/autoconf.texi (Special Shell Variables): Likewise.
4053 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
4054             Stepan Kasal  <kasal@ucw.cz>
4056         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
4057         (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
4059 2006-10-11  Stepan Kasal  <kasal@ucw.cz>
4061         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
4062           initialization which is not inherited through the environment
4063         (_AS_BOURNE_COMPATIBLE): ... to this new macro.
4064         (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
4066 2006-10-09  Paul Eggert  <eggert@cs.ucla.edu>
4068         * doc/autoconf.texi (Limitations of Usual Tools): Describe
4069         problems with mkdir -p -m.
4071 2006-10-06  Paul Eggert  <eggert@cs.ucla.edu>
4073         * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
4074         comment about ac_cpp_err; it was incorrect, and anyway
4075         ac_cpp_err is being removed below.
4076         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
4077         set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
4078         are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
4079         nobody uses it.
4080         (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
4081         with werror_flag and conftest.err and so forth.  This is more
4082         compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
4083         and anyway the user shouldn't normally want to see this gorp logged.
4084         Problem reported by Ralf Wildenhues.
4085         * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
4086         empty, not 'no', since the rest of the code uses 'test -z'.
4088 2006-10-04  Paul Eggert  <eggert@cs.ucla.edu>
4090         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
4091         Use a single call to AC_DO_TOKENS rather than multiple, for
4092         efficiency.
4093         (_AC_LINK_IFELSE): Test that resulting file is executable.
4094         Problem reported by mwoehlke in
4095         <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
4097         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
4098         than creating a file to use with test -x; this is much faster.
4100 2006-10-02  Bruno Haible  <bruno@clisp.org>
4102         * lib/autom4te.in (Automake-preselections): Add
4103         AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
4105 2006-09-27  Stepan Kasal  <kasal@ucw.cz>
4107         * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
4108         standard error, `experr' should be used, not `expout'.
4110 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
4112         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
4113         fseeko testing program twice; just use the earlier result.
4114         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
4115         Set cache var to 'unknown' (not 'no') if leaving the macro unset
4116         still doesn't let the program compile.
4117         (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
4118         failed.
4120         * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
4121         (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
4122         include it, without including anything else.
4123         (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
4124         expressions.
4125         (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
4127 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4129         * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
4130         `error.h', and include it, for a `error_at_line' prototype.
4131         Use a nonempty format string in the link test.
4132         * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
4133         for a declaration of wait3.
4135 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
4137         * NEWS: AC_CHECK_DECL now also works with aggregate objects.
4138         * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
4139         can apply to constants too, and that it checks for macro defns.
4140         * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
4141         and simply cast the identifier to void.  This handles structure
4142         values.  Problem reported by Ralf Wildenhues.
4143         * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
4145 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4147         * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
4148         structure, and function symbols.
4150 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4152         * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
4153         member.
4155 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
4157         * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
4158         * README: Likewise.
4159         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
4161 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
4162         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4164         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
4165         warnings (uninitialized value).
4166         (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
4167         present.
4168         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
4169         parentheses.
4170         (AC_STRUCT_TM): Likewise, avoid unused variables.
4172 2006-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4174         * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
4175         (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
4176         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
4177         * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
4178         Report by Olly Betts.
4180 2006-09-19  Eric Blake  <ebb9@byu.net>
4182         * m4/m4.m4: Change copyright.
4183         * configure: Regenerate.
4184         * Makefile.in: Likewise.
4185         * bin/Makefile.in: Likewise.
4186         * doc/Makefile.in: Likewise.
4187         * lib/Makefile.in: Likewise.
4188         * lib/Autom4te/Makefile.in: Likewise.
4189         * lib/autoconf/Makefile.in: Likewise.
4190         * lib/autoscan/Makefile.in: Likewise.
4191         * lib/autotest/Makefile.in: Likewise.
4192         * lib/emacs/Makefile.in: Likewise.
4193         * lib/m4sugar/Makefile.in: Likewise.
4194         * man/Makefile.in: Likewise.
4195         * tests/Makefile.in: Likewise.
4197         * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
4198         * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
4199         * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
4200         --error-output, to avoid warnings with M4 2.0.
4202 2006-09-19  Stepan Kasal  <kasal@ucw.cz>
4204         * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
4205           consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
4206         * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
4208 2006-09-15  Stepan Kasal  <kasal@ucw.cz>
4210         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
4211         expansion of AC_CHECK_FUNCS.
4213 2006-09-14  Stepan Kasal  <kasal@ucw.cz>
4215         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
4216         mistaken comment: the path has to be relative; do not use
4217         the path at runtime.
4219 2006-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4221         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
4222         argument to `--prefix' for sub-configure scripts.
4223         Pass `--silent' to sub-configure scripts.
4224         * tests/torture.at (Configuring subdirectories): Add tests
4225         for both changes.
4226         * doc/autoconf.texi (Setting Output Variables): Fix example to
4227         not show `--silent' being passed to a `configure' re-run.
4229 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
4231         * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
4232         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
4233         for the existence of the directory at configure-time.  That's
4234         too late, anyway.  Problem reported by Stefan Seefeld.
4236         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
4237         7.1.4 /usr/bin/posix/sh described by Tim Rice in
4238         <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
4240 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
4242         * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
4243         works with GNU M4 1.4.3 again; make the normalized form
4244         match the current m4 message; fix the description.
4245         * test/tools.at (autom4te cache): Adapt to the change.
4247 2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
4249         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):  Add year_2050_test
4250         to catch glibc bug 2821
4251         <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
4253         Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
4254         AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
4255         AC_CHECK_FUNCS.  Don't check for stdlib.h, since we now
4256         assume C89.
4258 2006-09-08  Stepan Kasal  <kasal@ucw.cz>
4260         * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
4261         preselections ...
4262         (Autoconf): ... here.
4263         (Autoscan-preselections): Delete.
4265 2006-09-07  Stepan Kasal  <kasal@ucw.cz>
4267         * lib/autom4te.in (Automake-preselections): Preselect
4268         AM_ENABLE_MULTILIB.
4270 2006-09-05  Paul Eggert  <eggert@cs.ucla.edu>
4272         * doc/autoconf.texi (Preset Output Variables): srcdir and
4273         top_srcdir are not necessarily relative.  Problem reported
4274         by Dries Kimpe.
4276 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4278         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
4279         f90/f95 because the latter drivers of AIX Fortran 9.1 do not
4280         accept files with extension `.f'.  For consistency, also prefer
4281         xlf over f77.
4282         * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
4283         from last patch.
4285 2006-09-05  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
4287         * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
4288         of ERLANG_LIB_VER_* variables.
4289         * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
4290         variables.
4292 2006-09-03  Paul Eggert  <eggert@cs.ucla.edu>
4293         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4295         * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
4296         bugs of Bash 2.01 and 2.05a.
4297         (Fortran Compiler): Document that AC_PROG_CC should be called
4298         before AC_PROG_FC, due to a bug in Autoconf.
4300 2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
4302         * NEWS: New macro AC_CACHE_CHECK_INT.  It replaces the
4303         old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
4304         except the first two arguments are reversed.
4305         * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
4306         (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
4307         caches nor outputs a diagnostic.  Suggested by Bruno Haible.
4308         * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
4309         equivalent to the old AC_COMPUTE_INT.
4310         (AC_COMPUTE_INT): No longer caches or reports.  New signature.
4311         All uses changed to AC_CACHE_CHECK_INT.
4312         * tests/base.at (AC_CACHE_CHECK_INT): New test.
4313         * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
4315 2006-08-31  Paul Eggert  <eggert@cs.ucla.edu>
4317         * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
4318         and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
4319         programs should use their Gnulib counterparts.
4320         * doc/autoconf.texi (Particular Functions): Likewise.
4321         (Macro Names, testsuite Invocation): Replace uses of these
4322         obsolete macros with uses of non-obsolete macros.
4324 2006-08-29  Eric Blake  <ebb9@byu.net>
4326         * configure.ac (AC_INIT): Bump to 2.60b.
4327         * NEWS: Update.
4329 2006-08-28  Eric Blake  <ebb9@byu.net>
4331         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
4332         mistakenly swapped on 2006-08-15.
4334 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
4336         * NEWS: Version 2.60a.
4338 2006-08-25  Stepan Kasal  <kasal@ucw.cz>
4340         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
4341         file created by the PGI compiler.
4343 2006-08-25  Noah Misch  <noah@cs.caltech.edu>
4345         * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
4346         simplify the code.
4348 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
4350         Fix Lex library problem reported to us by Julio Garvia.
4351         * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
4352         for the default, which the user can override.
4353         * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
4354         deal with LEXLIB.
4355         (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
4356         didn't work if some values were cached but not others.  Test for
4357         broken lex libraries like native ia64-hp-hpux11.22; see
4358         <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
4359         work around the problem by preferring an empty LEXLIB to -lfl or
4360         -ll.  Let the user set LEXLIB='' to indicate no library needed.
4362         * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
4363         * README: Likewise.
4364         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
4366 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
4368         Rework to use more-modern build style.
4369         Many files are renamed; all uses of their names were changed.
4370         * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
4371         * .x-sc_useless_cpp_parens: New file.
4372         * build-aux/config.guess: Renamed from config/config.guess.  Update.
4373         * build-aux/config.sub: Renamed from config/config.sub.  Update.
4374         * build-aux/elisp-comp: Renamed from config/elisp-comp.
4375         * build-aux/install-sh: Renamed from config/install-sh.  Update.
4376         * build-aux/mdate-sh: Renamed from config/mdate-sh.
4377         * build-aux/missing: Renamed from config/missing.
4378         * build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
4379         * build-aux/vc-list-files: Renamed from config/vc-list-files.
4380         * config/Makefile.am: Removed.
4381         * config/mkinstalldirs: Removed.
4382         * config/move-if-change: Removed.
4383         * m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
4384         * Makefile.am (SUBDIRS): Remove config.
4385         (ACLOCAL_AMFLAGS): Include from m4, not config.
4386         (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
4387         (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
4388         (autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
4389         Fail if there's an error.
4390         * Makefile.cfg (move_if_change): Remove.
4391         (wget_files): Remove.
4392         (cvs_executable_files): New macro.
4393         (cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
4394         (executable-update): Use $(cvs_executable_files).
4395         (local-checks-to-skip): Remove.
4396         * Makefile.maint: Merge from coreutils, plus add our own changes
4397         (gzip_rsyncable): New macro.
4398         (GZIP_ENV): Use it.
4399         (CVS_LIST): Use build-aux/vc-list-files.
4400         (VERSION_REGEXP): New macro.
4401         (local-checks-available): Add patch-check, $(syntax-check-rules),
4402         check-AUTHORS.
4403         (syntax-check-rules): Compute dynamically.
4404         (sc_cast_of_x_alloc_return_value): Work even if no source files.
4405         (sc_cast_of_alloca_return_value): Likewise.
4406         (sc_prohibit_atoi_atof): Simplify regexp.
4407         (sc_no_if_have_config_h, sc_require_config_h):
4408         (sc_prohibit_assert_without_use,
4409         (sc_obsolete_symbols): Check for O_NDELAY.
4410         (sc_texi_notab): Remove.
4411         (sc-changelog): Don't make an exception for '----' lines.
4412         (.re-list): Remove, so we don't have a junk file behind.
4413         (sc_system_h_headers): Remove the need for .re-list.
4414         (sc_the_the):  New rule.
4415         (sc_tight_scope): Simplify.
4416         (sc_trailing_blank): Renamed from sc_trailing_space.
4417         (longopt_re): New macro.
4418         (sc_two_space_separator_in_usage): New rule.
4419         (sc_unmarked_diagnostics): Look at all files under CVS.
4420         (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
4421         (news-date-check, changelog-check): Version is OK.
4422         (po-check): Look for lib files even if not in CVS.
4423         (copyright-check): Use $() not ``.
4424         (maintainer-distcheck): Do not depend on changelog-check.
4425         (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
4426         Also check for -Wpointer-arith.
4427         (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
4428         (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
4429         Remove.
4430         (announcement): Add --gpg-key-id arg.
4431         (cvs-sv): Remove.
4432         (move_if_change): Just use mv.
4433         (local_updates: Remove wget-update, po-update.
4434         (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
4435         (config.guess-url_prefix, config.sub-url_prefix): Remove.
4436         (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
4437         (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
4438         ($(get-targets)): Remove.
4439         (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
4440         (gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
4441         (cvs-update): Get from gnulib.
4442         (emut_upload_commands): gnupload is in build-aux now.
4443         (alpha beta major): Add changelog-check.  Check version.
4444         * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
4445         (AC_CONFIG_FILES): Remove.
4446         * bin/autoconf.as: Add spaces to avoid distcheck warning.
4447         * config/announce-gen: Sync from coreutils.
4448         * doc/make-stds.texi: Sync from gnulib.
4449         * doc/standards.texi: Likewise.
4450         * man/Makefile.am: Adjust for config -> build-aux renaming.
4451         * tests/Makefile.am: Prefer $(FOO) to @FOO@.
4452         * tests/local.at: Adjust from config -> build-aux renaming.
4453         * tests/tools.at: Likewise.
4454         * tests/torture.at: Likewise.
4456         * NEWS: The C99 check now tests for vararg macros and 64-bit
4457         preprocessor ints.
4458         * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
4459         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
4460         64-bit preprocessor ints.  Check for static initialization of
4461         long long.  Remove unnecessary casts.
4463 2006-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4465         * doc/autoconf.texi (Particular Programs): Mention that
4466         @INSTALL@ and @MKDIR_P@ may vary for different output files.
4467         Reported by Alexandre Duret-Lutz.
4469 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
4471         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
4472         -lgcc?* and -lSystem, for Darwin/MacOS X.  Problem reported by
4473         Bill Northcott in
4474         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
4476 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
4478         * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
4479         pacify insanely picky compilers.  Problem reported by Eric Blake.
4481         * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
4482         longer supported by Sun.
4484 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
4486         * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
4487         rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
4488         -Wundef -Werror".  Problem reported by David Fang in
4489         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
4490         * doc/autoconf.texi (Header Templates, Default Includes):
4491         (Particular Functions, Generic Functions, Header Portability):
4492         (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
4493         (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
4494         (Present But Cannot Be Compiled, Preprocessor Symbol Index):
4495         Prefer #ifdef to #if.
4496         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
4497         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
4498         (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
4499         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
4500         Likewise.
4501         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
4502         (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
4503         * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
4504         (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4505         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
4506         S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
4507         this.
4509 2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
4511         * doc/autoconf.texi (Limitations of Usual Tools): Document sed
4512         problems with arg script text that doesn't end in newline, and
4513         with '-e a...'.  Problems reported by Ralf Wildenhues.
4515 2006-08-12  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
4517         * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
4518         check for libXt by a check for libX11.
4520 2006-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4522         * doc/autoconf.texi (config.status Invocation): Adjust according
4523         to last change.
4525 2006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4527         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
4528         --help' should mention that `--version' outputs configuration
4529         settings.  Report by Bruno Haible.
4531 2006-08-06  Paul Eggert  <eggert@cs.ucla.edu>
4533         Fix test suite failures reported by Pierre in
4534         <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
4535         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
4536         the compiler created a file "b.out" when it didn't create anything
4537         at all.
4538         * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
4539         Discard stderr too, when invoking the test script.
4541 2006-08-05  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
4543         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
4544         in the restoring of the werror flag.
4546 2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
4548         * doc/autoconf.texi (Volatile Objects): Be even a little
4549         less skeptical about "volatile", after discussion with
4550         Bruno Haible on bug-gnulib.
4551         (Limitations of Usual Tools): Warn about sed stripping
4552         leading white space from text.  From Bruno Haible.
4554 2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
4556         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
4557         compiler complains about it, even if things works after the
4558         complaint.  Problem reported by Peter O'Gorman.
4560         * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
4561         CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
4562         Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
4564 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
4566         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
4567         after -R regardless of host.  Patrick Welche reports that this
4568         fixes things on NetBSD 3.99.
4570         * NEWS: Recommend M4 1.4.5.
4571         * README: Likewise.
4572         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
4573         * tests/tools.at (autom4te cache): Update wording of diagnostic
4574         to match M4 1.4.5.
4576 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
4578         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
4579         under AC_C_VOLATILE.
4580         (Volatile Objects): Be a little less skeptical about what
4581         "volatile" means.  Derived from thoughts by Ben Pfaff in
4582         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
4584 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4586         * doc/autoconf.texi: Fix some typos.
4588 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
4590         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
4591         more globally, since the 2006-06-30 patch didn't suffice.  Problem
4592         reported by Keith Marshall.  Also, don't bother with builddir2,
4593         since it shouldn't be needed any more.
4595 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
4597         * doc/autoconf.texi (Generic compiler characteristics):
4598         Document AC_COMPUTE_INT.  Fix wrong statements on Default
4599         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
4601         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
4602         (_AC_COMPUTE_INT): Add obsoletion warnings.
4603         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
4604         AC_COMPUTE_INT.
4606         * NEWS: Document change.
4608 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
4610         * doc/autoconf.texi (Volatile Objects): New section.
4612         * NEWS: Document previous change.
4614 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
4616         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
4617         Require that long long int be at least 64 bits wide.  C99 requires
4618         this and enough programs depend on it so we should check for it.
4619         Bruno Haible reports in
4620         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
4621         that long long int is 32 bits wide with some nonstandard compilers.
4622         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
4624 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
4626         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
4627         to a nonexistent file, so that we don't have to worry about
4628         a local site configuration that doesn't use /usr/local.
4629         Problem reported by Keith Marshall in
4630         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
4632 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
4634         * doc/autoconf.texi: Be more consistent about using @acronym with
4635         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
4636         quite right (it talked about "OSF/Tru64", even though the
4637         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
4638         and it even mentioned "OSF 4"!) and at this point there's little
4639         reason to talk about OSF any more, since it died in 1994.
4640         (Specific Compiler Characteristics): Simplify example of
4641         negative-size array.
4642         (File Descriptors): Reorder to make the text flow better.
4643         Remove joke about "appreciate the various levels"; I didn't get it.
4644         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
4645         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
4646         (File Descriptors, Limitations of Usual Tools):
4647         Tone down the advice against renaming or removing open files.
4648         (Limitations of Usual Tools): Add a new section, on 'rm'.
4650 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
4652         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
4653         -lXt in LIBS, idea from Karsten Hopp; this was due since
4654         this change:
4656         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
4657         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
4658         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
4659         (which belong to Xt, not X itself).  See Debian bug 327655.
4661 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4663         * configure.ac (AC_INIT): Bump to 2.60a.
4664         * NEWS: Update.
4666 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4668         Version 2.60.
4670         * configure.ac, NEWS: Update.
4672 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4674         * config/texinfo.tex: Sync from upstream.
4676         * bin/autom4te.in (handle_traces): Transform the `@S|@'
4677         quadrigraph correctly in traces.
4679         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
4680         Fix typos.
4682         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
4683         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
4684         not defined.
4685         * doc/autoconf.texi (Changed Directory Variables): New node,
4686         to document the whole `datarootdir' business a bit better.
4687         * NEWS: Update.
4688         * tests/torture.at (datarootdir workaround): Extend test.
4689         Prompted by report by Alexandre Julliard.
4691 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
4693         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
4694         when using default mode of IBM C 6 for AIX.  Problem and two-line
4695         fix reported by Larry Jones.
4697 2006-06-22  Alexandre Julliard <julliard@winehq.org>
4699         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
4700         about literal '${datarootdir}' if a definition is found in the
4701         output file.
4703 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
4705         * NEWS: Use "M4" rather than "m4" when appropriate.
4706         Problem reported by Eric Blake.
4707         * doc/autoconf.texi: Likewise.
4708         Use @acronym around BSD, GCC, and GNU when appropriate.
4709         (Why GNU M4): Renamed from "Why GNU m4".
4710         (Redefined M4 Macros): Mention that Posix
4711         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
4712         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
4713         to int.
4715 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4717         * bin/autom4te.in (handle_output): Do not forbid the empty
4718         pattern.
4719         * tests/tools.at (autoconf: the empty token): New test.
4721 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
4723         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
4724         calls, so that we do not care whether they are LIFO or FIFO;
4725         in the m4_wrap, do not check which diversion is the topmost
4726         one, just check that the stack is balanced at the end.
4727         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
4728         base diversion forever--pop the previous diversion before
4729         opening the new one; consequently, remove the m4_wrap call.
4730         * lib/autotest/general.m4 (AT_INIT): Likewise.
4731         * tests/m4sugar.at: Do not use
4732         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
4734 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
4735         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4737         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
4738         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
4739         Rework example of m4wrap token-pasting trouble so that it doesn't
4740         care whether it's LIFO or FIFO.
4741         Fix some "contrary to"s that are awkward in English.
4743 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4745         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
4746         to `yes' instead of `int$1_t' if the type is found, for more
4747         consistent configure output (where $1 is the number of bits).
4748         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
4749         Suggested by Bruno Haible.
4751         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
4752         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
4753         with system headers.  Report by Bruno Haible.
4755 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4757         * config/config.guess, config/config.sub: Sync from upstream.
4759         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
4760         in order to avoid picking up an older installed frozen m4sh.m4f.
4761         Besides an outdated shell startup, this could have been created
4762         by an earlier M4 version with incompatible frozen file format.
4764 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
4766         * README: Recommend m4 1.4.4 instead of 1.4.3..
4767         * doc/autoconf.texi: Likewise.
4768         (Special Chars in Names): Say that $(.FOO) is portable, as
4769         suggested by Stepan Kasal.
4770         (Installation Directory Variables, Build Directories):
4771         (Automatic Remaking, Subdirectories, Fortran Compiler):
4772         (Making testsuite Scripts, Defining Directories):
4773         Quote variable usages better.
4774         (Making testsuite Scripts): Add clean-local rule to makefile
4775         snippet, by Eric Blake.
4776         (Installation Directory Variables): Fix table item font.
4777         Reword slightly to clarify.  Generalize advice about
4778         not using special characters to include all file-related
4779         vars, not just VPATH.
4780         (Special Chars in Variables): Warn about special characters in
4781         $(srcdir) too.
4782         (Assignments): Clarify default-value example as suggested by
4783         Ralf Wildenhues in
4784         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
4785         (Special Shell Variables): Note leading ./ or ../, as suggested
4786         by Eric Blake.
4787         (Limitations of Builtins): Under cd, warn about CDPATH.
4788         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
4789         Ralf Wildenhues.
4791 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4793         * doc/autoconf.texi (Configuration Actions): Remove duplicate
4794         `@var', for texi2html.
4795         (Systemology): Some more word wrapping, for DVI output.
4796         (autom4te Invocation): The short option for `--melt' is `-M',
4797         not `-m'.
4799 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
4801         * doc/autoconf.texi: More formatting and English tweaks,
4802         many suggested by Ralf Wildenhues.
4803         Reword to avoid "@code{...}'s" and the like, since it's ugly
4804         with Emacs info mode.  discontents -> woes.
4805         Put a few "will"s back.  time stamp -> timestamp.
4806         side-effect -> side effect.
4808 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
4810         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
4811         Warn about $@ not persisting.  Problem reported by Julien Danjou in
4812         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
4813         (Special Chars in Names): Renamed from Leading _ in Macro Names.
4814         Mention other special chars, too.
4816 2006-06-14  Eric Blake  <ebb9@byu.net>
4818         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
4820 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
4822         * doc/autoconf.texi: Some systematic minor improvements, as
4823         follows.  Use "makefile" when talking about makefiles
4824         generally (which might be named "makefile" or "Makefile" or even
4825         "foo.mk"), "Makefile" when talking about a specific makefile
4826         called "Makefile".  This unclutters the text from weird quotes
4827         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
4828         values" rather than "@var{foo}s" and similar constructs containing
4829         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
4830         English-language improvements.  Change the prefix "sub-" to "sub"
4831         and "re-" to "re".
4832         Put blank lines around examples more consistently.
4833         Avoid "rather" and "very" as intensifiers.
4834         Avoid "will" as an auxiliary.
4835         (Limitations of Make): Split this node into....
4836         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
4837         (Leading _ in Macro Names, Backslash-Newline-Newline):
4838         (Backslash-Newline Comments, Long Lines in Makefiles):
4839         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
4840         (obj/ and Make, make -k Status, VPATH and Make):
4841         (VPATH and Double-colon, $< in Explicit Rules):
4842         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
4843         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
4844         New nodes, resulting from splitup of Limitations of Make.
4845         All cross-references changed.  Raise the top node from
4846         a section to a chapter, and all subnodes accordingly.
4847         Redo the introductory wording to match the new organization.
4848         (Installation Directory Variables): Use an example that is
4849         closer to what Autoconf actually does.  Mention that VPATH's
4850         value should not contain metacharacters or white space.
4851         (Fortran Compiler): Fix a VPATH bug in an example.
4852         (Leading _ in Macro Names): Mention that this problem is no longer
4853         of practical concern.
4854         (VPATH and Make): Reword the advice to make it clearer
4855         that Autoconf and Automake support VPATH in non-GNU make, but
4856         many packages have bugs in this area.
4857         ($< in Explicit Rules): Refer to Build Directories rather
4858         than using a (non-VPATH-safe) example.
4859         (Automatic Rule Rewriting): Mention the sort of disaster that
4860         can ensue with Solaris-style rule rewriting with VPATH.
4862 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4864         * doc/install.texi (Compilers and Options): Weaken the
4865         suggestion to use GNU make for VPATH builds.
4867         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
4868         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
4870         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
4871         in regular expression.
4873 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4875         * doc/autoconf.texi (Installation Directory Variables):
4876         Drop extra @samp from `@table @samp' item.
4877         (Limitations of Usual Tools): Comment fix.
4878         Do not nest @samp just to point to other table items.
4879         (Writing testsuite.at) <AT_CHECK>: The second argument to
4880         `@dvar' is already @samp'ed.
4881         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
4882         do not use @var in the second argument.
4884 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
4886         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
4887         $as_shell.exe too.  Problem reported by Andreas Buening in
4888         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
4890 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4892         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
4893         `unused variable' compiler warning, for `-Wall -Werror'.
4894         Reported by Jaap Haitsma in
4895         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
4897 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
4899         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
4900         case the compiler dumps core.  Problem reported for
4901         OpenServer 5.0.7 by Tim Rice in
4902         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
4903         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
4904         Likewise.
4906 2006-06-06  Tim Rice <tim@multitalents.net>.
4908         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
4909         "ERROR" only shows up in "make check" output if there is an
4910         error.
4912 2006-06-06  Eric Blake  <ebb9@byu.net>
4914         * tests/tools.at (automatically allowed tokens): Fix typo.
4916 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
4918         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
4920         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
4921         typically overflows on x86 CPUs, even though the C standard
4922         requires otherwise.
4924 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4926         * configure.ac (AC_INIT): Bump to 2.59e.
4927         * NEWS: Update.
4929 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4931         Version 2.59d.
4933         * config/texinfo.tex: Sync from upstream.
4935         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
4936         seen, invoke libtoolize with `--ltdl' argument.
4937         * lib/autom4te.in (Autoreconf-preselections): Adjust.
4938         * NEWS: Update.
4939         Suggested by Eric Blake.
4941 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
4943         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
4944         reported by Ralf Wildenhues.
4945         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
4947 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4949         * THANKS: Update.
4951 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
4953         * doc/autoconf.texi: Modernize some of the references to Solaris.
4955 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
4957         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
4958         message issued by AC_REQUIRE.
4959         * tests/m4sugar.at: Check m4_require's error message.
4960         * tests/base.at: Check AC_REQUIRE's error message.
4961         * tests/local.at (AT_CHECK_M4): New macro, almost identical
4962         to...
4963         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
4964         AT_CHECK_M4.
4965         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
4966         `expout' as the last parameter.
4967         * tests/tools.at: Adapt to the above change.
4969 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
4971         * doc/autoconf.texi (Limitations of Usual Tools): Correct
4972         information about race-free implementations of mkdir.
4974 2006-06-04  Eric Blake  <ebb9@byu.net>
4976         * bin/autoreconf.in (help): Document M4 environment variable.
4977         * bin/autoconf.as (Usage): Likewise.
4978         * bin/autom4te.in (help): Likewise.
4979         * doc/autoconf.texi (autom4te Invocation): Likewise.
4981 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
4983         * NEWS: GNU make now recommended for VPATH builds.
4984         Mention that some macros are now documented to be obsolescent.
4985         * doc/autoconf.texi:
4986         Prefer "current" to "modern" to describe
4987         currently-used (albeit perhaps old-fashioned) hosts.
4988         Mention which ancient features no longer need to be worried about.
4989         setgid -> set-group-ID
4990         setuid -> set-user-ID (these are the Posix terms)
4991         Fix some misuses of "only".
4992         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
4993         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
4994         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
4995         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
4996         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
4997         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
4998         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
4999         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
5000         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
5001         Mention that these macros are obsolescent.
5002         (Installation Directory Variables): shall -> should
5003         (File Descriptors): Mention that 0, 1, 2 might get reopened.
5004         Mention that it's now safe to use 3 and 4.
5005         (Limitations of Usual Tools): cp -r is now specified by Posix.
5006         Omit longwinded and obsolescent discussion of cp -f.
5007         Modernize discussion of expr, ls.
5008         (Limitations of Make): Modernize discussion of VPATH builds.
5009         Mention $? as a workaround in some cases.
5010         * doc/install.texi (Basic Installation):
5011         Mention "./configure; make; make install" first.  Be more
5012         specific about why this file is generic.  Remove unnecessary
5013         parens.  Remove misleading "only".  Remove obsolete advice
5014         about csh.  Don't say "configure" takes awhile; say it
5015         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
5016         and CC=c99 rather than CC=c89, as these are blessed by current
5017         Posix.  Recommend GNU make if doing a VPATH build.
5019 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
5021         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
5022         examples involving shell prompts.
5024 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
5025         and Paul Eggert  <eggert@cs.ucla.edu>
5027         * doc/autoconf.texi (Here-Documents): Add details about the
5028         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
5029         use "here-documents" instead of "here documents".
5031 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5033         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
5035 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
5037         * doc/autoconf.texi (File System Conventions): Warn about ":"
5038         anywhere in directory names.
5040 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
5042         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
5043         about quoting the case statement, just in case.
5044         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
5045         was fixed in ksh93g; reported by Ralf Wildenhues.
5047 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
5049         * doc/autoconf.texi (System Services): Do not document
5050         overriding EXEEXT via ac_cv_exeext=ext.
5051         (Particular Programs) <AC_PROG_MKDIR_P>:
5052         Document that ${MKDIR_P} understands --.
5053         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
5054         comment.
5056 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5058         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
5059         argument with leading hyphen.  Problem reported by Paul Eggert.
5061 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
5063         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
5064         about quoting ac_try: quote all of it, if any of it seems suspicious.
5065         This means we don't have to worry about ${ or sed any more.
5066         Also, double-quote the case statement, to work around misuses via
5067         underquoting as reported by Ralf Wildenhues in
5068         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
5069         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
5070         undocumented and dangerous macro.
5071         Problem reported by Ralf Wildenhues in
5072         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
5074 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5076         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
5077         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
5078         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
5080 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
5082         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
5083         since evidently some packages rely on the old, broken behavior.
5084         Problem reported by Ralf Wildenhues in
5085         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
5086         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
5087         pre-2006-05-26 definitions, but leave in the comments that
5088         these macros are dangerous and should not be used.
5089         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
5090         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
5091         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
5092         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
5093         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
5095 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
5097         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
5098         the use of 'tr', since this is our only use of 'tr'.
5100 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5101         and Paul Eggert  <eggert@cs.ucla.edu>
5103         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
5104         Don't assume 'grep' works on long lines, since AIX grep doesn't.
5106 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5108         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
5109         the output file in the `${datarootdir}' test.
5111 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
5112         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5114         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
5115         mention of `datarootdir' in the input file(s), but literal
5116         `${datarootdir}' in the output file, and we haven't warned yet,
5117         then warn as well: the user may have (erroneously) used
5118         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
5119         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
5120         * tests/torture.at (datarootdir workaround): Extend this test.
5121         * NEWS: Update.
5123 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5124         and Paul Eggert  <eggert@cs.ucla.edu>
5126         * doc/autoconf.texi (autoheader Invocation): The first argument to
5127         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
5128         alternatives and clear up the language a bit.
5130 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
5132         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
5133         ac_config_guess, ac_config_sub, ac_configure.
5134         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
5135         Fix typo that prevented an unnecessary space from being removed.
5136         Problems reported by Ralf Wildenhues in:
5137         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
5139 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
5141         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
5142         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
5143         Don't use the term "thread-safe" to talk about mkdir race
5144         conditions, since the problem is more a process than a thread
5145         issue.  Problem reported by Stepan Kasal in:
5146         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
5147         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
5148         the test for 'install' more closely.  Look at MKDIR_P first.
5149         Look in the PATH, and at /opt/sfw/bin.
5150         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
5151         Don't bother to try mkdir -p, since we already check mkdir --version;
5152         just look at the version number.  (There's no easy way to check
5153         for race-free implementations.)
5154         * tests/tools.at (autoconf: subdirectories): Adjust to above
5155         changes, since MKDIR_P now might end in "/mkdir -p".
5157         * doc/autoconf.texi (autoheader Invocation): Mention that the
5158         first arg of AC_DEFINE_UNQUOTED must be a literal.
5159         Problem reported by Ben Pfaff in
5160         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
5162         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
5163         * doc/autoconf.texi (Special Chars in Variables): New section.
5164         (Preset Output Variables): Warn about special chars in CPPFLAGS.
5165         (Installation Directory Variables): Quote $(datadir) better.
5166         (Limitations of Builtins): Describe some of eval's trickiness.
5168         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
5169         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
5170         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
5171         in front of every arg, not just trailing args.  Quote apostrophes.
5172         (_AC_EVAL_ECHO): New macro.
5173         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
5174         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
5175         removed.
5176         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
5177         exposed by quoting of eval argument.  Put the command on line line
5178         so it logs better.
5179         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
5180         (_AC_PATH_X, AC_PATH_X): Quote more safely.
5181         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
5182         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
5183         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
5184         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
5185         Use eval more safely.
5186         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
5187         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
5188         to be replaced.
5189         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
5190         lines, exposed by quoting of eval argument.
5192 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
5193         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5195         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
5196         initialization of `ac_cv_exeext', do not override it if it was
5197         already set, unless it was set to `no', for compatibility with
5198         Autoconf-2.13, and comment this.
5199         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
5200         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
5201         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
5202         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
5203         Document that this test may be overridden by setting
5204         `ac_cv_exeext'.
5206 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5208         Revert these two patches:
5210         2006-04-06  Eric Blake  <ebb9@byu.net>
5211         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
5212         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
5213         2006-04-01.
5215         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
5216         Clean up _AC_COMPILER_EXEEXT* macros.
5217         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
5218           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
5219           ac_file to the name of the default output file and call
5220           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
5221           initial `rm' of the candidate files...
5222         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
5223           the same list in subsequent `rm' calls, and for the temporary
5224           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
5225           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
5226         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
5227         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
5228           no longer needed) by libtool.  Make it a cache check.
5229         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
5230           copied here by mistake.
5231         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
5232           _AC_COMPILER_EXEEXT.
5233         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
5234           _AC_COMPILER_OBJEXT directly.
5235         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5237 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5239         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
5240         Fix description of how the buggy `sed' works.
5242 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
5244         Sync from Automake:
5246         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
5247         ENOLCK.  Only mention `make -j' when applicable.  Only raise
5248         fatal errors when `make -j' is involved.  Improve error message.
5250 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5252         * doc/autoconf.texi (Here-Documents): We now know more about
5253         the variable expansion in here documents bug.
5254         Thanks to Tim Rice and Stepan Kasal.
5256         * doc/autoconf.texi (Making testsuite Scripts): Add an example
5257         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
5259 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5261         * tests/autotest.at (Multiline command from M4 expansion):
5262         No failure to be expected if the shell quotes newlines in
5263         commands in the `set -x' output.  Report by Tim Rice.
5264         * THANKS: Update.
5266 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
5268         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
5269         expansion in the here-documents used by config.status, as that
5270         runs afoul of the Korn shell version M-12/28/93d bug described in
5271         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
5272         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
5273         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
5275 2006-05-23  Jim Meyering  <jim@meyering.net>
5277         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
5278         Fix typo introduced with 2006-04-02 change.  It reversed the sense
5279         of the test.
5281 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
5283         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
5284         ac_dB slightly, to save bytes in the script.
5285         Max out at 50 lines, rather than 96; this is more likely
5286         (though not guaranteed) to avoid obscure 'sed' failures.
5288 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5290         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
5291         `tr -d -' as bad option argument.  Work around this by deleting
5292         an unrelated character.
5293         Report by Tim Rice <tim@multitalents.net>.
5295 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
5296             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
5297             Stepan Kasal  <kasal@ucw.cz>
5299         * doc/autoconf.texi (Particular Programs): Do not promise that
5300         we always prefer the GNU version of the program, and that we
5301         search according to PATH; both rules can have exceptions.
5302         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
5303         AC_PROG_SED.  Move descriptions of limitations
5304         to the Limitations of Usual Tools section.
5305         (Limitations of Usual Tools) <sed>: Mention script length
5306         limitations with Solaris /usr/ucb/sed.
5307         <grep>: Fix wording for empty alternative.  Mention that -c and
5308         -l should not be combined, and that -E and -F should not be
5309         combined.
5311 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
5312         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5314         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
5315         limits in Solaris 8 /usr/ucb/sed by testing a long script.
5317 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
5319         * doc/autoconf.texi (Defining Symbols): Literal parameter of
5320         AC_DEFINE is now passed to m4_pattern_allow.
5321         * NEWS: Mention that; likewise for AC_SUBST.
5322         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
5323         the parameter to m4_pattern_allow.
5324         * tests/tools.at: Add a check for that.
5326 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
5328         * lib/autoconf/status.m4: Fix typos.
5330 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5332         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
5333         only the files that this macro generates.
5335 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
5337         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
5338         the HP-UX sed limitation of 99 commands, labels do not count.
5339         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
5340         in the comment.
5341         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
5343 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
5345         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
5346         Import the following fix from coreutils:
5348         2006-01-13  Jim Meyering  <jim@meyering.net>
5350         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
5351         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
5352         not double-quote uses of that variable, to accommodate the rare
5353         case in which getmntent is available in none of the libraries
5354         checked.  This happens at least on FreeBSD 5.0.
5356 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
5358         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
5359         ac_config_guess, ac_config_sub, and ac_configure, since evidently
5360         some other programs unwisely rely on these undocumented vars.
5361         But put in warning comments about them.
5362         Problem reported by Ralf Wildenhues in
5363         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
5364         * NEWS: Document that these variables are intended to go away.
5366 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5368         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
5369         and set the language to C++ (analogous to the equivalent Fortran
5370         tests).
5372         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
5373         * doc/autoconf.texi (C++ Compiler): Document it.
5374         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
5375         * NEWS: Update.
5377 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5379         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
5380         that caused config.status to generate 100-command sed scripts; the
5381         portable limit is 99.
5383 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5385         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
5386         variable `ac_d' instead of `d' to avoid infringing namespace.
5387         Report by Ralf Menzel.
5389 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
5391         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
5392         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
5393         * tests/tools.at (autoconf: subdirectories): New test, taken from
5394         the corresponding problem report by Ralf Wildenhues in:
5395         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
5397         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
5398         Quote some uses of shell variables if they might suffer unexpected
5399         globbing.  This doesn't fix all instances of quoting problems that
5400         I found, just the easy ones that look safe.
5401         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
5402         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
5403         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
5404         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
5405         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
5406         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
5407         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
5408         Likewise.
5409         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
5410         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
5412 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5414         * bin/autoreconf.in ($help): Reword according to the manual.
5415         Suggested by Olly Betts.
5417 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
5418         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5420         * bin/autoreconf.in: Pass the directory argument to
5421         `require_configure_ac'.  Fix comment.
5422         * tests/torture.at (Configuring subdirectories): Expose this.
5423         Reported by Olly Betts.
5425 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5427         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
5428         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
5429         Automake as follows:
5431         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
5432         `$configure_in' instead of `configure.in', to preserve
5433         directory component.
5435 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5437         * config/config.guess, config/config.sub, config/texinfo.tex,
5438         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
5440 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
5442         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
5443         test for C99 conformance; (bool) 0.5 is an integer constant
5444         expression, but (bool) -0.5 is not.  Problem reported by Fedor
5445         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
5447 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
5449         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
5450         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
5451         Warn about obsolete install-sh files.  Remove stray sentence
5452         fragment and fix cross reference.
5453         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
5454         install -d; this undoes the 2006-05-10 change.
5455         (MKDIR_P): Mark with AN_MAKEVAR.
5456         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
5457         that we don't require $INSTALL to be thread-safe.  Move comments
5458         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
5459         of AC_PROG_INSTALL.  Output a message saying that we're checking
5460         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
5461         MKDIR_P instead of AC_SUBST.
5462         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
5463         Special magic for MKDIR_P, too.
5464         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
5465         a dnl.
5466         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
5468 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
5470         Sync from Automake, as follows:
5472         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5473         * config/install-sh: Initialize IFS, so field splitting isn't
5474         turned off later.
5475         * config/mkinstalldirs: Likewise.
5476         * config/missing: Remove superfluous quotes.  Replace all uses of
5477         `[' by `test', for consistency, and for..
5478         * config/missing (sed_minuso, sed_output): New variables.
5479         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
5480         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
5481         Fixes `missing' to detect `--output' for help2man.  Fixes
5482         PR automake/483.  Report by Dennis J. Linse.
5483         (autom4te): Document in `missing --help'.
5485 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
5487         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
5488         * config/install-sh: Don't use 'path' to talk about file names,
5489         as per GNU coding standards.  Close a race condition reported by Ralf
5490         Wildenhues and Stepan Kasal.  There is still a race condition
5491         on hosts that predate Posix 1003.1-1992, but we can't help this.
5492         Don't mishandle weird characters like space on pre-Posix hosts.
5493         Invoke mkdir at most once per dir arg on pre-Posix hosts.
5494         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
5495         AC_PROG_MKDIR_P from AS_MKDIR_P.
5496         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
5497         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
5498         earlier editions are not (including Automake 1.8.3).
5499         Do not suggest mkinstalldirs for thread-safety.
5500         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
5501         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
5502         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
5503         presence of special characters and race conditions.
5504         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
5505         in Autoconf's name space.
5507 2006-05-10  Bruno Haible  <bruno@clisp.org>
5508         and Paul Eggert  <eggert@cs.ucla.edu>
5510         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
5511         from Automake with minor changes.
5512         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
5514 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
5516         * config/install-sh: Update to Automake CVS version, as follows:
5517         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
5518         * lib/install-sh: Simplify the expr implementation of dirname.
5519         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
5520         * lib/install-sh: Handle --, and diagnose unknown options.
5522 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5524         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
5525         `./autom4te' to create `./testsuite', since the `all' target
5526         will ensure its presence, but `installcheck' should not create
5527         the uninstalled wrappers.
5529         * tests/torture.at (Unusual Automake input files): Skip if we
5530         detect automake < 1.8.
5532 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5534         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
5535         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
5536         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
5537         * NEWS: Update.
5539 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5541         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
5542         munge (multiple) white space and other oddities.
5543         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
5544         single quotes in variable assignment.
5545         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
5546         and similar failures by adding multiple spaces, tabs, and other
5547         special characters.
5548         Report and different test suggested by Francesco Romani
5549         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
5551         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
5552         single quotes, we only need to search for single quotes; this
5553         both simplifies the search pattern, and makes us less
5554         susceptible to `echo' variations for arguments not containing
5555         single quotes.
5556         (_AC_ARG_VAR_VALIDATE): Likewise.
5558 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5560         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
5561         `$*' and IFS concatenation issue with traditional shells and
5562         bash-2.04.  Report by Seanster@Seanster.com.
5564 2006-05-03  Bruno Haible  <bruno@clisp.org>
5566         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
5567         precisely which Mac OS X versions have the od problem.
5569 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
5571         * doc/autoconf.texi: Use @option systematically.
5573 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
5574         and Bruno Haible  <bruno@clisp.org>
5576         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
5577         about 'od'.
5578         (Integer Overflow): Mention the special case of integer division
5579         overflow.
5581 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5583         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
5584         traditional shells like the Solaris one that do not use the
5585         first IFS character for assembling `$*'.
5586         Prompted by a related report from autoconf_bug@nro.ca.
5588 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
5589         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5591         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
5592         Mention more problems with the -e option.
5594 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5596         * NEWS: Typo.
5597         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
5599         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
5600         in URLs to improve DVI formatted output (requires texinfo 4.6).
5601         (System Services, Systemology, Shellology): Likewise.
5602         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
5603         output.
5605         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
5606         continuous text.
5607         (Runtime): Fix macro argument names to match description:
5608         `action-if-found' -> `action-if-true' and similarly.
5609         (Obsolete Macros): Likewise.
5610         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
5611         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
5612         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
5614 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5616         * doc/autoconf.texi (Limitations of Make): Clean up markup.
5618         * ChangeLog: Typo.
5619         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
5620         DVI output.
5622 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5624         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
5625         /bin/sh set unsorted output.
5626         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
5627         * tests/local.at: Likewise.
5629 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
5631         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
5632         (Integer Overflow, Null Pointers, Buffer Overruns):
5633         (Floating Point Portability, Exiting Portably): New sections.
5634         (Writing Test Programs): Fix some langauge.  Recommend exiting
5635         with status 1, not merely nonzero.  Clarify exit declaration.
5636         (Run Time): Move C exit status stuff to new Exiting Portably section.
5637         (Systemology): Mention Posix and levenez.  Update v7 reference.
5638         (Portable Shell): Mention the Posix shell.
5640 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
5642         * bin/autoconf.as (me): Replace by as_me.
5644 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
5646         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
5647         since as_me isn't set yet.
5649 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
5651         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
5652         a few minor bugs in this area.
5654         * doc/autoconf.texi (Programming in M4sh): Comment out the
5655         documentation of AS_BASENAME, for now.
5656         (Shell Substitutions): Do not use AS_DIRNAME in an example.
5657         (Limitations of Builtins) <basename>: Do not refer to
5658         AS_BASENAME.
5659         * bin/autoconf.as (me): Don't use AS_BASENAME.
5660         (dir): Remove the unused variable.
5661         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
5662         AS_DETECT_REQUIRED.  All uses changed.
5663         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
5664         All uses changed.
5665         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
5666         (AS_BASENAME): Use "basename --" to protect against leading "-".
5667         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
5668         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
5669         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
5670         (_AS_DIRNAME_PREPARE): Likewise.
5671         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
5672         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
5673         (AS_DIRNAME): Use "dirname --".
5675 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
5677         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
5678         of "run time" and "run-time" changed to "runtime", for consistency.
5679         * lib/autoconf/fortran.m4: Likewise (in comment).
5680         * lib/autoconf/functions.m4: Likewise.
5681         * lib/autoconf/general.m4: Likewise.
5682         * lib/autoconf/headers.m4: Likewise.
5684         * doc/autoconf.texi (Run Time): Document the exit status situation
5685         with more accuracy and detail.
5687 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5689         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
5690         Archive is not officially `GNU' any more.  Update URL.
5691         (Defining Directories): Likewise
5692         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
5694 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5696         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
5697         newline from the `trap' code to finish `config.log'; the NetBSD
5698         /bin/sh resets the exit status after an empty command, as
5699         documented in doc/autoconf.texi.
5700         Reported by Dalibor Topic <robilad@kaffe.org>.
5702 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5704         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
5705         Suggested by Bruno Haible.
5707 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
5709         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
5710         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
5711         Instead, just list the shells that we know work.
5712         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
5713         changed.  Be more cautious about the _cv_ variable.
5714         * tests/tools.at (Syntax of the shell scripts): Check the
5715         _cv_ variable once, at first, to avoid an internal autoconf error
5716         when sh -n does not work.
5718 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5720         * lib/Autom4te/FileUtils.pm: Sync from Automake.
5722 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
5724         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
5725         use ">&-" since we're only 99.999% sure that this is portable,
5726         and since the MinGW bug is fixed in a different way.
5727         * lib/autotest/general.m4 (AT_INIT): Likewise.
5729 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
5731         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
5732         before opening config.log, to avoid hitting a bug on MinGW.
5734 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
5736         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
5737         AS_MESSAGE_LOG_FD before reopening it onto the log file.
5738         This works around a MinGW bug reported by Eric Paire.
5739         Make sure that all writes to the log file append to it,
5740         rather than possibly losing data.
5741         * lib/autotest/general.m4 (AT_INIT): Likewise.
5743 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
5745         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
5746         description.
5748 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5750         * NEWS: Update.
5752         * configure.ac (AC_INIT): Bump to 2.59d.
5754 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5756         Version 2.59c.
5758         * Makefile.maint (news-date-check): Do not require a leading `*'
5759         before the release date in NEWS.
5761 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
5762         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5764         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
5765         the instantiated file do not contain the string 'datarootdir'
5766         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
5767         @mandir@, replace the reference '${datarootdir}' by the value.
5768         * tests/torture.at (datarootdir workaround): New test.
5769         * NEWS: Advertise this temporary fixup.
5770         Based on a patch by Bruno Haible, reported and analyzed by
5771         Paul Eggert and Noah Misch.
5773 2006-04-12  Eric Blake  <ebb9@byu.net>
5775         * tests/autotest.at (Debugging a failed test): Fix comment.
5777 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
5779         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
5780         all the changes since 2006-04-07.
5782 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5784         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
5785         succeeded, but `ln -s file dir' failed, take care to remove the
5786         leftover target before the next test, to prevent its spurious
5787         failure; also make sure `ln file dir' works before selecting it.
5788         Thanks to Keith Marshall for pointing this out.
5789         * THANKS: Update.
5791         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
5792         assignments in `at_debug_args', so that we put them correctly
5793         in the `run' script.
5794         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
5795         Reported by Eric Blake.
5797 2006-04-11  Eric Blake  <ebb9@byu.net>
5799         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
5800         top-level tests after micro-suite has been run.   Used in...
5801         (Debugging a successful test, Debugging script and environment),
5802         (Debugging a failed test): ...these new tests.  The first of these
5803         is fixed by...
5804         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
5805         macro, split out from...
5806         (AT_INIT): ...here, so that using -d also generates a run script.
5807         Document that -d inhibits top-level logging.
5808         * doc/autoconf.texi (testsuite Invocation): Document that -d only
5809         inhibits top-level logging; debug scripts are created.
5811         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
5812         check.
5813         * tests/autotest.at (Empty test, Empty check): New test to check it.
5815         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
5816         from gcc.
5818 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
5820         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
5821         the files if a problem appears.  Make the empty *.at files
5822         read-only, too.  Proposed by Ralf Wildenhues.
5824 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5826         * config/Makefile.am: Add comment to force updated Makefile.in.
5828         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
5829         space only patch to this file, this patch causes the Makefile.in
5830         files that include freeze.mk to be updated, and thus have a
5831         newer time stamp again, which in turn makes a pristine CVS
5832         checkout have correct time stamps.
5834         * Makefile.maint (cvs-sv): New macro, to be used..
5835         (config.guess-url_prefix, config.sub-url_prefix)
5836         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
5837         point to CVS text checkout of Gnulib files.
5838         (copyright-check): Bump current year.
5839         (announcement): Do not hard-wire `./announce-gen'.
5840         (cvs-update): Propagate failures of `cvs' and `move-if-change'
5841         correctly.
5842         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
5843         `chmod +x'.
5844         (wget_files): Update config.guess, config.sub, texinfo.tex by
5845         `wget-update', now that their URLs work again.
5847 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
5849         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
5850         Problem noted by Paul D. Smith.
5852 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5854         * doc/autoconf.texi: Remove unused words from word list.
5855         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
5856         .x-sc_trailing_space: New files.
5858         * doc/standards.texi: Sync from gnulib.
5860         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
5861         `LIBOBJDIR' as experimental.
5863         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
5864         with a target directory; it's internally implemented as `cp'
5865         anyway, but since Autoconf advertises the possibility to use
5866         a target directory when LN_S is `ln -s', we need to find out.
5867         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
5868         analyzed by Keith Marshall <keith.marshall@total.com>.
5870         * THANKS: Update.
5872 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
5874         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
5875         confdefs.h as-is.  In general, if it has backslash-newline or the
5876         like, then it doesn't work either to sort or to remove empty
5877         lines.
5879 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
5881         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
5883 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
5885         * lib/autom4te.in (Automake-preselections): Preselect
5886         _AM_SUBST_NOTMAKE.
5888 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
5890         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
5891         apostrophe within a single-quoted string, as this is the usual
5892         tradition and is easier to read than '"'"'.  Don't rely on the
5893         shell treating "$/" like '$/'.  Use a more-consistent indenting
5894         style for the trap.
5896 2006-04-09  Eric Blake  <ebb9@byu.net>
5898         * tests/autotest.at (Backquote command substitution),
5899         (Multiline backquote command substitution): Remove mistaken
5900         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
5901         applied...
5902         (Parenthetical command substitution, Multiline parenthetical
5903         command substitution): here.
5905 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
5907         Import macros from gnulib (often changing their name).
5909         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
5910         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
5911         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
5912         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
5913         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
5914         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
5915         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
5916         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
5917         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
5918         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
5919         The manual mentions Gnulib more prominently.
5920         * doc/autoconf.texi (Gnulib): New node.
5921         (Pointers): Add Gnulib URL.
5922         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
5923         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
5924         Gnulib section.
5925         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
5926         suggest a #define rather than a typedef for _Bool, and mention
5927         Gnulib rather than trying to substitute stdbool code.
5928         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
5929         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
5930         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
5931         AC_STRUCT_DIRENT_D_TYPE.
5932         (Particular Types): Mention stdint.h and inttypes.h as standard
5933         headers too.
5934         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
5935         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
5936         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
5937         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
5938         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
5939         (C Compiler): Move AC_C_LONG_DOUBLE to ...
5940         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
5941         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
5942         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
5943         (Coding Style).  Don't mention m4_expand_once.
5944         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
5945         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
5946         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
5947         (AC_CHECK_FUNCS): Use it.
5948         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
5949         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
5950         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
5951         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
5952         (AC_HEADER_ASSERT): New macro.
5953         (AC_HEADER_STDBOOL): Don't assume "#error" works.
5954         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
5955         Catch a bug in an HP-UX C compiler.
5956         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
5957         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
5958         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
5959         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
5960         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
5961         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
5962         New macros.
5964         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
5965         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
5967 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
5969         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
5970         of the warning introduced by the 2001-08-28 change.
5972 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
5973             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5975         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
5976         variables shall be overriden by the cache.
5977         * tests/torture.at (AC_ARG_VAR): Test also with a first value
5978         that contains braces.
5980 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
5982         Revert the patch from 2006-04-01 and only improve
5983         _AS_DETECT_BETTER_SHELL:
5985         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
5986         skip nonexistent directories.
5987         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
5988         only shell candidates which exist.
5989         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
5990         * lib/autotest/general.m4 (AT_INIT): No need to give three
5991         parameters to _AS_PATH_WALK.
5993 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
5994             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5996         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
5997         distinguish m4sugar macros.
5998         * tests/tools.at (autoupdating with aclocal and m4_include):
5999         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
6000         test case by Noah Misch <noah@cs.caltech.edu>.
6002 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
6004         Revert my change from 2006-03-17, in other words:
6005         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
6006           and DUALCASE=1.
6007         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
6008         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
6009           it is set.
6011 2006-04-07  Eric Blake  <ebb9@byu.net>
6013         * doc/autoconf.texi (Programming in M4sh): Document that
6014         AS_MKDIR_P exits the script on failure.
6015         * lib/autotest/general.m4: Remove redundant AS_ERROR.
6017 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6019         * config/elisp-comp, config/install-sh, config/mdate-sh,
6020         config/missing, config/mkinstalldirs: Sync from Automake.
6022         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
6023         from Automake.
6025         * doc/make-stds.texi: Sync from gnulib.
6027 2006-04-06  Eric Blake  <ebb9@byu.net>
6029         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
6030         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
6031         2006-04-01.
6033 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
6034             Eric Blake  <ebb9@byu.net>,
6035             Paul Eggert  <eggert@cs.ucla.edu>,
6036             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6038         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
6039         whether `set' quotes correctly: redirect stderr of the tested
6040         `set', and use a subshell, for Ultrix; use `sed' instead of
6041         `grep' for zsh `set' which may write binary output; match only
6042         at the beginning of a line, to avoid false positives.
6043         In order to avoid false positives by unrelated variables with
6044         multiline content, put the dump algorithm in a subshell and
6045         unset all variables containing newlines (except some which are
6046         special to the shell).  Warn about cache variables that are
6047         unset.
6049 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6051         * config/config.guess, config/config.sub, config/texinfo.tex:
6052         Sync from upstream.
6054         * tests/mktests.sh: Reword comments.
6056         * tests/mktests.sh: Only skip internal macros starting with
6057         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
6058         Update exclusion lists for the test suite to this end:
6059         (AC_ARG_VAR): Do test this now.
6060         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
6061         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
6062         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
6063         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
6065         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
6066         shell issue with double-quoted command substitutions of native
6067         commands.
6068         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
6069         Marshall.
6071         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
6072         no file matches the glob, discard the warning, set `nullglob'.
6073         (syntax-check): Likewise.
6074         (sc_cast_of_x_alloc_return_value): Likewise.
6075         (sc_cast_of_alloca_return_value, sc_error_exit_success)
6076         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
6077         (m4-check): Likewise.
6078         (sc_system_h_headers): Do not print rule on execution.
6079         (sc_tight_scope): Do not fail for non-existing `src' directory.
6080         (sc_changelog): Skip the Copyright footer.
6081         * lib/autoconf/lang.m4: Remove trailing space.
6083         * lib/autoconf/status.m4: More replacements to
6084         <tab><space> where this makes sense.
6086 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
6088         * tests/Makefile.am (maintainer-check-posix):
6089           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
6091         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
6092           ac_config_<foo>s again, sometimes normalized, sometimes not.
6093         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
6094         (AC_CONFIG_COMMANDS): Do not do so here.
6095         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
6096           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
6097           2005-07-25 rewrite.  Noticed by Noah Misch.
6099         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
6100           _AC_PRESERVE_HELP_ORDER, ...
6101         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
6103         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
6104           inside m4_expand_once; it is redundant.
6106         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
6107           for --help from Cygnus `configure.'
6109 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
6111         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
6112         on a patch proposed by Ralf Wildenhues.
6114 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
6116         * lib/autoconf/status.m4: Replace <space>''<tab> with
6117         <tab><space> where this makes sense.
6119 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
6120             Noah Misch  <noah@cs.caltech.edu>
6122         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
6123         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
6124         * doc/autoconf.texi (Help Formatting): New node.
6125         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
6127 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6129         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
6130         lib/autoconf/specific.m4, lib/autoconf/status.m4,
6131         lib/autoconf/types.m4, lib/autotest/general.m4,
6132         tests/mktests.sh, tests/torture.at: White space cleanup:
6133         remove some SPACE before TAB, or add quoting ('' or @&t@).
6135         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
6137         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
6139 2006-04-05  Eric Blake  <ebb9@byu.net>
6141         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
6142         empty test suite works.
6143         * tests/autotest.at (Empty test suite): Remove xfail.
6145 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
6147         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
6148         TAGS to ac_config_<foo>s.
6149         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
6150         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
6151         normalizing it, consistent it with previous releases.
6152         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
6154 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
6156         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
6157         Use simplified args that Eric Blake originally suggested.
6159 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
6161         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
6162         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
6163         Use 'comm' rather than N instances of grep; this also fixes a bug
6164         whereby substrings were incorrectly matched, causing us to not
6165         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
6166         (exclude_list): Exclude empty macros.
6167         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
6169         Use awk rather than grep -E or egrep, to avoid
6170         portability problems with regular expressions containing newlines.
6171         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
6172         Switch from grep to awk syntax.
6173         (ac_exclude_script): Renamed from ac_exclude_egrep.
6174         (au_exclude_script): Renamed from au_exclude_egrep.
6176 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
6178         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
6179         a subdirectory subject to Cygnus `configure'.
6180         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
6182         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
6183         report request when we have no AC_PACKAGE_BUGREPORT.
6185 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6187         * THANKS: Update.
6189         * tests/mktests.sh: Update copyright year in the header of the
6190         generated files.
6192         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
6193         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
6194         typedef'ed restricted pointer, to catch a compiler bug on
6195         HP-UX 11.x, and fix warnings so it passes with -Werror.
6196         (_AC_PROG_CC_C99): Likewise.
6197         Reported by Albert Chin <china@thewrittenword.com>.
6198         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
6200 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
6202         * bin/autoscan.in (subdirs): New global.
6203         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
6204         (output): Emit AC_CONFIG_SUBDIRS as needed.
6205         * tests/autoscan.at (autoscan): Remove XFAIL.
6207 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
6209         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
6211 2006-04-03  Eric Blake  <ebb9@byu.net>
6213         * THANKS: Add myself.
6215 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6217         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
6218         to log, point to testsuite output tree.
6220 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
6222         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
6223         * doc/autoconf.texi (Function Portability): Mention that C++
6224         has trouble with 'exit'.
6225         (Guidelines): Test programs shouldn't use 'exit'.
6226         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
6227         Remove; all uses removed.
6228         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
6229         Return from 'main' instead of calling 'exit'.
6230         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
6231         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
6232         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
6233         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
6234         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
6235         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
6236         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
6237         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
6238         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6239         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
6240         * tests/compile.at: Likewise.
6242 2006-04-02  Pavel Roskin  <proski@gnu.org>
6244         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
6246 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
6248         Clean up _AC_COMPILER_EXEEXT* macros.
6250         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
6251           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
6252           ac_file to the name of the default output file and call
6253           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
6254           initial `rm' of the candidate files...
6255         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
6256           the same list in subsequent `rm' calls, and for the temporary
6257           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
6258           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
6259         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
6260         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
6261           no longer needed) by libtool.  Make it a cache check.
6262         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
6263           copied here by mistake.
6264         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
6265           _AC_COMPILER_EXEEXT.
6266         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
6267           _AC_COMPILER_OBJEXT directly.
6268         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6270 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
6272         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
6273         (AS_DIRNAME): Use it.
6274         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
6276         * tests/*.at: Remove the generated ones.
6278 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
6280         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
6282 2006-04-01  Eric Blake  <ebb9@byu.net>
6284         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
6285         directories, unless optional third argument supplied.
6286         (AS_UNAME): Don't optimize PATH walk.
6288         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
6290 2006-04-01  Eric Blake  <ebb9@byu.net>
6291         and Stepan Kasal  <kasal@ucw.cz>
6293         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
6294         and fix some typos.
6296 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
6298         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
6299         Autoconf version number despite a zero- or one-argument AC_INIT.
6301         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
6302         subordinate tools.
6303         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
6304         * doc/autoconf.texi (autoreconf Invocation): Document it.
6306         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
6307         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
6309 2006-04-01  Eric Blake  <ebb9@byu.net>
6311         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
6312         * lib/autotest/general.m4: Be tolerant of existing directory when
6313           rm failed to remove it.
6315 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6317         * bin/autoupdate.in: Redefine m4_location so that warnings print
6318         the correct lines of the input file by subtracting..
6319         (_au__first_line): ..this new definition.
6321         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
6322         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
6323         Remove stray newline in output.
6324         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
6325         AC_DEFUN this for autoconf, including the obsoletion diagnose.
6326         Fixes autoupdating of code where the replacement output contains
6327         m4sugar macros.
6328         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
6329         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
6330          (au_exclude_list): Add AC_LANG_SAVE.
6331         * tests/tools.at: Several new tests for all of this.
6332         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
6333         hairy details.
6334         The AC_LANG_SAVE issue was reported against Libtool by
6335         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
6336         Kristian Kvilekval <kris@cs.ucsb.edu>.
6338 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
6340         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
6341           switch all of them on and of when necessary.  Fixes the bug when
6342           m4sugar macros (e.g., m4_define) were expanded after the first
6343           automatic update (e.g., after AC_PREREQ or AC_INIT).
6345 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
6347         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
6348         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
6350         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
6351         correctly.  Problem reported by Eric Blake.
6352         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
6353         Ralf Wildenhues.
6355 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
6357         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
6358         Tighten up the basename/dirname wording.
6360 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6362         * Makefile.maint (sc_texi_notab): New check: do not use TABs
6363         in texinfo files outside of verbatim environments.
6364         (syntax-check-rules): Update.
6365         * doc/autoconf.texi (Configuration Headers): Conform to it.
6367 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
6369         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
6370           aclocal cannot be given on the command line.
6372 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
6374         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
6375         Give an example for AS_DIRNAME instead of referring to Posix..
6376         (File System Conventions): Put discussion of // versus / here, and
6377         modernize it a bit.
6378         (Limitations of Usual Tools): Add basename.  Remove verbiage
6379         after dirname, since it got moved to the above sections.
6380         All this was inspired by a patch proposed earlier by Eric Blake.
6382 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6384         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
6385         `$0' to protect against spaces.
6386         * lib/autotest/general.m4 (AT_INIT): Likewise.
6387         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
6388         `$0', $as_me.
6390 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6392         * bin/autoscan.in: The value of find_configure_ac should be
6393         checked for existence, so we don't barf over a nonexisting
6394         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
6396 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6398         * bin/autoupdate.in: Fix some typos.
6400 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
6402         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
6404         * lib/autoscan/autoscan.list: Refreshed.
6406 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6408         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
6409         and Erlang related variables.
6411         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
6412         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
6413         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
6414         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
6415         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
6416         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
6417         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
6418         (_AC_PROG_OBJC_G): New macros.
6419         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
6420         * doc/autoconf.texi (Objective C Compiler): New node.
6421         (Preset Output Variables): Document OBJCFLAGS.
6422         (Language Choice): Document `Objective C' language.
6423         (Fortran Compiler): Fix typo.
6424         * NEWS: Updated.
6425         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
6427 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
6429         * doc/autoconf.texi (Default Includes): Fix typo
6430           s/AC_HEADERS_STDC/AC_HEADER_STDC/
6431         (Limitations of Usual Tools): s/unwriteable/unwritable/
6432         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
6433           Fix typos in the comments.
6435 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
6437         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
6438           Factor out the warning to...
6439         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
6440         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
6441         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
6443         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
6444           case `ac_delim' when writing the sed script.
6446         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
6447           moved DUALCASE=1 ...
6448         (AS_SHELL_SANITIZE): ... here.
6449         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
6450           that it is set.
6452         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
6453           AC_SUBST.
6454         (_AC_PATH_PROG): Store the result to VARIABLE.
6455         (AC_PATH_PROG): No need to set VARIABLE again.
6457         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
6458           the first one is usual AT_CHECK_MACRO test, the second one checks
6459           that the same works when cross-compiling.
6460         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
6461         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
6463 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6465         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
6466         the directory `/usr/bin/posix' in the shell search, to prefer
6467         the Posix shell not only in subsequent spawns as with `$BIN_SH'
6468         on Tru64.
6470         * doc/autoconf.texi (contents): To fix texi2html output, hide
6471         `@setcontentsaftertitlepage' for HTML.
6472         (Writing Autoconf Macros): Likewise, insert space after `@c'.
6473         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
6474         `@,{c}'.
6476 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
6478         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
6479           sanitizing...
6480         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
6481         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
6482           why IFS is restored so late; thank you, Ralf, for reminding us.
6484 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
6486         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
6487           variables in the examples.
6489 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
6491         * doc/autoconf.texi (several sections): Cleaned up documentation for
6492         macros in erlang.m4.
6494 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6496         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
6497         failure condition for `$(cmd)' style command substitutions.
6498         (Parenthetical command substitution, Multiline parenthetical
6499         command substitution): Use it.
6501         * doc/autoconf.texi (Special Shell Variables): Missing word.
6502         Reported by Keith Marshall <keith.marshall@total.com>.
6504         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
6505         IFS even in case of empty `$PATH'.
6507 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6509         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
6510         `expr' away if there is nothing to do.
6511         < --keywords >: Simplify and robustify argument handling.
6512         Revert erroneous comment from 2005-08-23.  Extend to allow
6513         keyword negation with `!'.
6514         Update help message.  Remove broken code to prevent running
6515         tests multiple times.
6516         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
6517         Update and fix the documentation accordingly.
6518         * tests/autotest.at (Keywords): Renamed to..
6519         (Keywords and ranges): .. this.  Extended to make sure negated
6520         keywords, keywords taken from AT_SETUP arguments, and numeric
6521         test ranges work, and that matching is case-insensitive.
6523 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6525         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
6526         allow to pass unnamed structs even in C++.
6527         (AC_CHECK_SIZEOF):  Likewise.
6528         Also fix quoting error in `AC_MSG_FAILURE' arguments.
6529         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
6530         struct): New tests for unnamed structs, each both native and
6531         cross-compiling.
6533         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
6534         a structure inside a cast, for C++ conformance.
6535         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
6536         Also fix quoting error in `AC_MSG_FAILURE' arguments.
6538         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
6539         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
6540         trying to execute the command `no'.
6542         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
6543         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
6544         expanded outside.
6546         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
6547         example.  Do not emphasize `$%', it is hardly new and special.
6548         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
6550         * doc/autoconf.texi (Limitations of Usual Tools): Document
6551         OpenBSD and traditional `grep' failure to handle multiple
6552         patterns separated by newlines.
6554 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
6556         * doc/autoconf.texi (several sections): Add documentation for macros
6557         in erlang.m4.
6559 2006-03-10  Eric Blake  <ebb9@byu.net>
6561         * doc/autoconf.texi (Obsolete Macros): Fix wording of
6562         AC_TRY_LINK_FUNC.
6564 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
6566         * doc/autoconf.texi: Use @acronym more consistently for acronyms
6567         like BSD, GPL, LGPL.  Fix minor English typos.
6568         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
6569         Mention that these macros are becoming obsolete.
6570         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
6571         Use more modern terminology for which standard is what.
6572         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
6573         and to ansi2knr.
6574         (AC_PROG_CXX): Likewise.
6575         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
6576         Remove obsolete discussion about how to port to K&R.
6577         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
6578         the obsolescent AC_HEADER_STDC.
6579         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
6580         can't rely on it.
6582 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6584         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
6585         Remove stdin redirection from /dev/null to allow pipe to work.
6587 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
6589         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
6590         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
6591         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
6592         Ralf Wildenhues.
6594 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6596         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
6597         HP-UX sed is 99 commands, not 100.
6598         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
6599         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
6600         newline for portability.
6601         * tests/torture.at (Torturing config.status): Also test 100
6602         AC_SUBST_FILE invocations.  Fix test to actually verify the
6603         AC_CONFIG_FILES output.
6604         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
6605         command, label, and read-file `r' limits.  Unify HP-UX spelling.
6607         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
6608         non-suffix rule.
6609         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
6610         non-GNU make.
6611         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
6612         * tests/mktests.sh: Small shell portability fixes.
6614 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6616         * doc/autoconf.texi (Caching Results): Fix the examples to use a
6617         recommended quoting style and discard unwanted output.
6619 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
6621         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
6622         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
6623         cases, and to work around Tru64 expr bug.
6625 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6627         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
6628         expr bug that turns the result of a regex match into a number if
6629         possible.
6631 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6633         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
6634         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
6635         in section `Specific Compiler Characteristics'.
6637 2006-03-04  Eric Blake  <ebb9@byu.net>
6639         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
6640         variable warning.
6642 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6644         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
6645         order of variable initialization, so even the Solaris 2.6 shell
6646         can create a config header correctly.  Fixes lots of test suite
6647         failures.
6649 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6651         * doc/autoconf.texi (Text processing Macros): New node to
6652         document the m4sugar macros m4_re_escape, m4_tolower,
6653         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
6655 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
6657         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
6658         XrmInitialize (0) -> XrmInitialize ().
6659         Reported by Toshio Kuratomi.
6661 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6663         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
6664         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
6665         * doc/autoconf.texi (Programming in M4sh): Adjusted.
6666         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
6667         both macros are defun'ed so that required macros are evaluated
6668         outside.
6670         * doc/autoconf.texi (Prerequisite Macros): State more precisely
6671         where a required macro will be expanded.
6672         (Coding Style): Another reason not to use `m4_define'.
6674 2006-02-21  Eric Blake  <ebb9@byu.net>
6676         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
6678 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6680         * doc/autoconf.texi (Looping constructs): New node, to
6681         document m4_for, m4_foreach, m4_foreach_w, and mention
6682         obsolete AC_FOREACH.
6683         (Obsolete Macros): Document AC_FOREACH.
6684         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
6685         (m4_for): Fix to never loop (almost) endlessly, work correctly
6686         with arithmetic expressions in arguments, a step of zero or
6687         non-integer multiple of the interval, and avoid integer
6688         overflow.
6689         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
6690         m4_foreach_w.
6692 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
6694         Add basic support for Erlang, both for configuring Erlang/OTP
6695         tools, and Erlang as a conf test language.
6696         * lib/autoconf/erlang.m4: New file.
6697         * lib/autoconf/autoconf.m4: Add erlang.m4.
6698         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
6699         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
6700         * NEWS: Add short description of new macros.
6701         * THANKS: Add Romain Lenglet.
6703 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6705         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
6706         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
6708 2006-02-15  Eric Blake  <ebb9@byu.net>
6710         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
6711         warning.
6713 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6715         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
6716         (_AS_CASE): Private helper macro.
6717         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
6718         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
6719         Fix syntax of AS_IF description
6720         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
6721         for the AC_REQUIRE mess.
6722         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
6723         AS_SHELL_SANITIZE.
6725 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
6727         * doc/autoconf.texi: Minor style cleanup.
6728         Be consistent about spaces after commas.
6729         Insert [] where empty args look a bit funny.
6730         Fix some "i.e." and "e.g." usages.
6731         Try to avoid "X/Y" usages.
6732         Don't be pedantic about "ISO C99"; just say C99.
6733         Prefer GNU style for spaces in front of parens.
6734         (Function Portability): Comment about C89 versus C99
6735         signed integer division.
6736         (Particular Headers): Use current gnulib style for dirent
6737         includes.
6739 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
6740         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6742         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
6743         macros without parameters.
6744         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
6745         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
6746         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
6747         `$#' bug.
6748         (autoupdate): Updated to match AU_ALIAS fix.
6750 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6751         and Paul Eggert  <eggert@cs.ucla.edu>
6753         * doc/autoconf.texi (Programming in M4sh): Document
6754         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
6756 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6758         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
6759         (AS_BOURNE_COMPATIBLE): ..this.
6760         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
6762 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
6764         * doc/install.texi (Defining Variables): Tighten up the
6765         CONFIG_SHELL wording.
6767 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
6768         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6770         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
6771         of (set -o) rather than testing whether (set -o posix) succeeds,
6772         to work around a bug in the AIX 5.3 shell.  Problem originally
6773         reportd by Howard Chu for libtool.
6775 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
6777         * doc/autoconf.texi (Running the Compiler, Running the Linker):
6778         Changes the macro arguments in summaries to match the
6779         descriptions.
6781 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
6783         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
6784         hint as ``a workaround for a bug.''
6786 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6788         * bin/autoreconf.in: New option `--no-recursive'.
6789         Improve wording for subpackages a bit.
6790         * doc/autoconf.texi (autoreconf Invocation): Updated.
6791         * NEWS: Updated.
6793         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
6794         in environment of `configure', not the command line.
6795         Reported by Howard Chu <hyc@highlandsun.com>.
6797 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
6799         * doc/autoconf.texi (Limitations of Builtins): Document the
6800         problem with "trap -".
6802 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
6804         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
6805         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
6806         messages to differentiate Fortran and Fortran 77 tests.
6807         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
6808         AC_LANG_ASSERT, to allow use in mixed-language projects.
6810 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
6812         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
6813         FOO" to "defined (FOO)".
6814         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
6815         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
6816         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
6817         * tests/tools.at (ifnames): Likewise.
6819 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6821         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
6822         * lib/Autom4te/General.pm (mktmpdir): Likewise.
6823         (END): Improve error message a bit.
6824         Reported by Bruce Korb <bkorb@gnu.org>.
6826 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6828         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
6829         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
6831 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
6833         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
6834         requires sys/stream.h.  Reported by Oliver Kiddle.
6836 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6837             Stepan Kasal  <kasal@ucw.cz>
6839         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
6840         before the removals of test dirs, use `find' to avoid modification
6841         of symlinked directories.
6843 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
6845         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
6846         Don't ignore the macro arguments.
6848 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
6850         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
6851         declaration that works for MSVC.
6853 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6855         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
6856         Add `*.map' and `.inf' for Green Hills compiler.
6857         Reported by Stefan Seefeld <stefan@codesourcery.com>.
6859         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
6860         correctly: pad with spaces after FIRST_PREFIX if necessary,
6861         and compute string lenghts with `m4_qlen' instead of `m4_len'.
6862         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
6863         * tests/m4sh.at (AS_HELP_STRING): Test extended.
6864         * NEWS: Updated.
6865         Reported by numerous people, numerous times.
6867 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6869         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
6870         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
6871         * lib/autoconf/general.m4, lib/autoconf/status.m4:
6872         * lib/autotest/general.m4, tests/local.at:
6873         Update copyright year to 2006.
6875         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
6876         sed substitutions.
6877         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
6878         for file names, again.  Reported by Noah Misch.
6879         (Coding Style): Explain that s|a|b| is preferred for file names.
6880         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
6881         (AC_OUTPUT_MAKE_DEFS): Likewise.
6882         * lib/autotest/general.m4 (AT_INIT): Likewise.
6883         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
6884         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
6886         Fix Posix-conformance bugs re use of { command in sed scripts,
6887         and improve the sed-related documentation a bit.
6888         * doc/autoconf.texi (Installation Directory Variables): Use
6889         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
6890         rather than "sed" when talking about Sed in general.
6891         (Particular Programs): Likewise.
6892         (Coding Style): y is like s with respect to / and ,.
6893         (Limitations of Usual Tools): Document the weird restrictions
6894         that Posix has about { }.  Use better quoting.
6895         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
6896         Rewrite to conform to Posix rules about { } in sed scripts.
6897         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
6898         * tests/foreign.at (Libtool): Likewise.
6899         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
6900         Use our own style advice re 's,a,b,' versus 's|a|b|'.
6902 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6904         * lib/autoconf/status.m4: Fix typo.
6906         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
6907         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
6908         `-def', for the benefit of Portland `pgf90 -Mipa'.
6909         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
6911 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
6913         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
6914         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
6915         shell from zsh to bash.
6917 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
6919         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
6920           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
6922 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
6924         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
6925         parentheses in $(...).  Problem reported by Eric Blake.
6927 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
6929         * doc/autoconf.texi (Limitations of Usual Tools):
6930         Mention which characters can be escaped with \ in portable regular
6931         expressions used in grep, sed, expr.  Mention the leading ^ problem
6932         with expr.  Clean up some confusing wording.  Mention which
6933         grep options are portable.
6935 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
6937         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
6939 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
6941         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
6942         patch, noted by Ralf Wildenhues.
6944 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6946         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
6947         posix' unconditionally, for pdksh in `native sh' emulation.
6949 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
6951         * doc/autoconf.texi (Shellology): Document eval $? problem
6952         with ash.
6953         (Limitations of Builtins): Likewise.
6955 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6957         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
6958         CONFIG_SHELL in the environment of the configure rerun.
6959         * doc/autoconf.texi (Here-Documents, config.status Invocation):
6960         Suggest passing CONFIG_SHELL absolute, and in the environment
6961         rather than as option.
6963 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6965         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
6966         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
6967         Fix macro quoting.  Fix output for n * 98 substituted variables.
6969 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6971         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
6972         `tmp' to avoid file removal race.
6974 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6976         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
6977         ac_clean_files and LIBOBJS.
6979 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6981         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
6982         Factor functionality to..
6983         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
6984         `AC_SUBST($1)' in the public version.
6985         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
6986         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
6987         ac_pt_* variables.
6989 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
6991         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
6992         filesystems.
6994 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6996         * NEWS: Move AH_HEADER mention to right place.
6998 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
7000         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
7001         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
7003 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
7005         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
7006         conftst2.$ac_objext.
7007         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
7009 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
7011         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
7012         conftest.o, to see whether the compiler really obeys; rm the object
7013         file before and after the test and register it with ac_clean_files.
7014         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
7016 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
7018         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
7019         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
7020         code so that the most common case requires less forks.
7022 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
7024         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
7025         not portable; thanks to Paul Eggert and Alexandre.
7027         * NEWS: Fix an old typo.
7029 2005-10-20  Jim Meyering  <jim@meyering.net>
7031         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
7032         the latter'', in two places.
7034 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
7036         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
7037         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
7038         the inner workings of AC_LANG_FUNC_LINK_TRY.
7039         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
7040         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
7041         by the function rather than ignoring it.
7042         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
7043         comparing its address.  Intel's interprocedural optimization was
7044         outsmarting the old heuristic.  Problem reported by
7045         Mikulas Patocka.
7047 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
7049         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
7051 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
7053         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
7054         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
7056 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
7058         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
7059         before removing it (chmod -R u+rwx); there are three instances of this.
7061 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7062             Stepan Kasal  <kasal@ucw.cz>
7064         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
7065         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
7066         make its content writable before removing it.  Remove an errorneous
7067         comment from the end, where the logs of the failed tests are copied
7068         to the main log file.
7070 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
7072         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
7073           in case the computer is too quick.  Double quote the configure.ac
7074           snippets.
7076         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
7077           problems if the testsuite were running too fast.
7079 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
7081         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
7082         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
7083         (which belong to Xt, not X itself).  See Debian bug 327655.
7084         * NEWS: Mention this.
7086 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
7088         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
7090 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
7092         * config/move-if-change: Don't output "$2 is unchanged";
7093         suggested by Ben Elliston.  Handle weird characters correctly.
7095 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
7097         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
7098           calls, so that the final expansion of this macro is shorter.
7099           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
7100           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
7101           the cleanup there.  Use AS_VAR_* macros, to be more general.
7102         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
7104         * lib/autoconf/general.m4: Use AS_IF where appropriate.
7106         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
7108 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
7110         * doc/autoconf.texi (Configuration Headers): Add an index entry
7111           for AH_HEADER.
7113 2005-08-26  Pavel Roskin  <proski@gnu.org>
7115         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
7116         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
7117         running xmkmf.
7119 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
7121         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
7122         The previous patch didn't work, so try a better one.
7124 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
7126         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
7127         in the example.  Reported by Bruno Haible.
7128         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
7129         "if $undefined_var;" succeeds with my shell.
7131         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
7132         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
7133         but change the m4_divert_text to m4_divert_once.
7135 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
7137         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
7138         Work around bug in Solaris /usr/xpg4/bin/awk.
7139         The bug is present in at least Solaris 8 through 10.
7141 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
7143         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
7144         some evil values and relying on the fact that $* concatenates the
7145         parameters by the first character from IFS.
7147 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
7148             Stepan Kasal  <kasal@ucw.cz>
7150         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
7151         first header appears, define AH_HEADER.
7152         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
7153         Update limitations about when to call AC_CONFIG_HEADERS.
7154         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
7155         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
7156         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
7157         ``Configuration Actions''; fix their index entries.
7159         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
7160         options correctly.  Process N-M as M-N if M is smaller than N.
7161         Process ranges correctly so that N-N will run only N.
7162         Sort and uniquify the tests that will be run.  If there is more
7163         than one test, reinsert the banners for the tests.
7164         * tests/autotest.at (Keywords): Unmark XFAIL.
7166 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
7168         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
7169           before passing the macro name to AH_TEMPLATE.
7171         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
7172           now opens log after option processing; in particular, --version
7173           and --help do not touch config.log.
7175         * Makefile.maint: Revert the change from 2005-08-12.
7177 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
7179         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
7180           common code to...
7181         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
7183 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7185         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
7186         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
7187         Language cleanup.
7189         * doc/autoconf.texi (Defining Symbols, Changed Results):
7190         Prepend to LIBS, not append, in examples.
7192 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
7194         When building in place, set srcdir="."; suggested by Tim Van Holder.
7196         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
7197           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
7198         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
7199         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
7200           does not mean "no --srcdir option".
7202 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7204         * tests/autoscan.at (autoscan): New file.
7205         * tests/suite.at: Use it.
7206         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
7207         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
7209         * tests/autotest.at (Keywords): Test keywords combinations.
7211 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
7213         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
7214           add "2>&1"; gzip 1.2.4 prints help on stderr.
7216 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
7218         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
7219         was pushdef'ed twice while popped only once.  Push it only once.
7220         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
7222 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
7224         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
7225         prefixed by mere "===", not "configure: === ".
7227 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
7229         * Makefile.maint: Update from Bison.
7231         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
7232         "<tab>" in comment, so that the point is understandable.
7234 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
7236         Rewrite substantial part of lib/autoconf/status.m4.
7237         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
7238         and CONFIG_COMMANDS are not processed in four separate loops.
7239         Instead, there is one main loop.  This alows that the common code
7240         is expanded only once, thus config.status (and configure) is smaller.
7242         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
7243         the AC_LIST_FILES and cousins macros are no longer used.
7245         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
7246         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
7247         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
7248         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
7249         contain the initialization, nor the for loop, nor the associated
7250         commands; all these go to ...
7251         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
7252         _AC_OUTPUT_CONFIG_STATUS.
7253         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
7254         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
7255         (_AC_OUTPUT_FILE): The creation of the sed script ...
7256         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
7257         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
7258         _AC_OUTPUT_MAIN_LOOP.
7259         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
7260         _AC_CONFIG_COMMANDS): Use ...
7261         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
7262         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
7263         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
7264         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
7265         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
7266         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
7267         ... new macros.
7268         (_AC_CONFIG_UNIQUE): Update.
7269         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
7270         Replaced by this ...
7271         (_AC_LIST_TAGS): ... new common macro.
7272         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
7273         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
7274         (_AC_LIST_TAG_COMMANDS): ... new common macro.
7275         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
7276         this didn't belong to the `config commands' section.
7277         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
7278         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
7279         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
7280         to the `config commands' section either.
7281         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
7282         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
7284         ... and many changes to the comments nearby.
7286         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
7287         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
7288         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
7289         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
7290         (#define header templates): The comment at the top of the generated
7291         header now includes the name(s) of the source file(s).
7293         Several unrelated small changes:
7295         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
7296         parameter to AC_DIAGNOSE.
7297         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
7298         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
7299         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
7300         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
7301         with AU::AC_OUTPUT.
7302         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
7303         in AC_OUTPUT doesn't double-quote it either.
7304         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
7305         parameters.
7307 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
7309         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
7310         versions of Portland Group compiler produce single- and double-quoted
7311         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
7312         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
7314 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
7316         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
7317         This is a corrected version of yesterday's patch.
7319 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
7321         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
7322         path, too; insert a "===" to emphasize the line.
7324         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
7325           ac_cv_build_alias to ac_build_alias.
7326         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
7328         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
7329         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
7330         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
7331         (AC_ARG_VAR): ... here.
7332         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
7333           target_alias.
7335         Keep a list of all precious variables and process them with one simple
7336         for loop, instead of expanding all commands, or, OTOH, complicated
7337         processing of output of "set".
7338         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
7339         variable names in new macro...
7340         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
7341         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
7342           a loop to assign all ac_env_* and ac_cv_env_* variables.
7343         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
7344           to INIT_PREPARE.
7345         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
7346           its value to shell variable ac_precious_vars and call
7347           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
7348         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
7349           _AC_ARG_VAR_VALIDATE.
7351         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
7352           and the AC_SUBSTs ...
7353         (AC_INIT): ... here.
7355         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
7356           the ac_subst_files section in config.log.
7358         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
7360 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
7362         * NEWS: New macro AC_C_TYPEOF.
7363         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
7364         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
7365         * tests/c.at (C keywords): Test AC_C_TYPEOF.
7367         Fix problems reported by Nicolas Joly.
7368         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
7369         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
7370         They are generated by the Tru64 v5.1B shell.
7372 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
7374         Fix my changes from 2005-07-01; reported by Noah Misch.
7375         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
7376         description, the macro now accepts only a single tag.
7377         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
7379         Fix cases when the varsions of Autoconf and Autotest don't match.
7380         Reported by Noah Misch.
7381         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
7382         at_top_builddir, for compatibility with older autotest.
7383         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
7384         is not set, use at_top_builddir, for compatibility with older
7385         versions of autoconf.
7387 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
7389         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
7390         Problem reported by Patrick Welche.
7392 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
7394         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
7395         sed substitution command, so that we allow | in program prefixes
7396         and program suffixes.  (& is a problem anyway; we're not fixing
7397         that here.)
7398         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
7399         configure_input, top_builddir, srcdir, etc.
7400         * lib/autotest/general.m4 (AT_INIT): Likewise, for
7401         PATH_SEPARATOR in AUTOTEST_PATH.
7403 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
7405         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
7406         for loop over config.site files using `set', to allow
7407         directory names containing IFS characters.
7409 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
7411         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
7412         directories with weird names.  Apparently some people like living
7413         on the edge.  However, improve the test that "pwd" actually does
7414         report a name for the working directory.
7415         * NEWS: Remove the claim that we test for funny chars in dir names.
7417 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
7419         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
7420         replaced ...
7421         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
7422         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
7423         Now accept a single tag, not whitespace separated list.
7424         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
7426 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
7428         * doc/autoconf.texi (Configuration Headers): Change the explanation
7429         about #include <config.h>.
7430         (Generic Functions): Mention the Gnulib project.
7431         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
7433         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
7434         document to output the default config_* lists to config.status.
7435         Don't recognize option --file, if the functionality is not there.
7436         Likewise for --header; moreover, recognize --he and --h as shortcuts
7437         for --help in that case.
7439         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
7440         matches the order of execution.  No code changed.
7442 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7444         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
7445         single-quoted -cmdline argument in Portland Group compiler.
7446         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
7448 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
7450         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
7452 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
7454         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
7455         descriptors to child processes; reported by Norman Gray.
7457 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
7459         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
7461         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
7462         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
7463         (AC_SUBST): Call it.
7464         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
7465         the directory specific variables; but don't call it for configure_input.
7467 2005-06-28  Derek Price  <derek@ximbiot.com>
7469         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
7470         addition.
7472 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
7474         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
7475         directory have inherent problems with special characters like spaces,
7476         due to limitations in Make syntax.  Problem reported by Alexandre
7477         Duret-Lutz.
7478         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
7479         Also, fix Tru64 porting problem with shell patterns,
7480         reported by Ralf Wildenhues.
7482 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7484         * doc/autoconf.texi (Subdirectories): Fix markup typos.
7486 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
7488         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
7490         Fix some more shell quoting problems.  Prompted by a bug report
7491         from Justace Clutter.
7492         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
7493         variable into diagnostic.  Make the diagnostic an error, not a warning,
7494         because we really don't support spaces and suchlike in dir names.
7495         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
7496         Don't worry about backslashes in srcdir; it can't happen now.
7497         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
7498         Simplify ac_optarg handling.
7499         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
7501 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
7503         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
7504         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
7505         * tests/atlocal.in: Propagate $EGREP and $SED.
7506         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
7507         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
7509         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
7510         that '\|' is not allowed in BREs; recommend using newline separated
7511         list of patterns instead of multiple -e options.
7513         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
7515         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
7517 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7519         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
7521 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
7523         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
7524         b, t, r, w commands require single space, while : cannot have any.
7525         (Special Shell Variables): Fix sed code this in the example.
7526         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
7527         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
7529         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
7530         expand to the empty list.  Don't use two pairs of m4_changequote,
7531         it's not necessary.
7533 2005-06-20  Derek Price  <derek@ximbiot.com>
7535         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
7537 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
7539         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
7540         * doc/autoconf.texi:
7541         Don't mention Solaris versions so much, if a
7542         problem is common to all extant versions of Solaris.  Say "SunOS
7543         4" instead of "SunOS" for SunOS 4.
7544         (awk): Mention more of the limitations of traditional Awk.
7545         (cat): Don't talk about cat -v.
7547 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
7549         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
7550         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
7551         but the implementation is entirely different and is designed
7552         to be compatible with glibc strverscmp.
7553         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
7555         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
7556         on Mac OS X 10.4 reported by Peter O'Gorman in:
7557         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
7558         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
7559         Use shell builtins rather than 'expr', to work around expr bug.
7561 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
7563         * doc/autoconf.texi: "filesystem" -> "file system".
7564         "behaviour" -> "behavior".
7565         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
7566         * lib/autoconf/general.m4: Omit blank after ":" sed command,
7567         as per POSIX.
7568         * lib/m4sugar/m4sh.m4: Likewise.
7569         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
7570         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
7572         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
7573         (.x.1): Ignore the time stamp in the .TH line when deciding whether
7574         to update the man page.  That way, we don't have to check in new
7575         man pages every month.
7577         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
7578         quotes and backslashes.  Patch from Derek Price.
7580 2005-06-10  Derek Price  <derek@ximbiot.com>
7582         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
7583         AS_TR_SH.
7585 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
7587         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
7588         -u, since it outputs chatter if the input files are the same.
7589         Problem reported by Ralf Menzel.
7591 2005-06-08  Derek Price  <derek@ximbiot.com>
7593         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
7594         renaming them since they are about to be redefined anyhow.
7596 2005-06-08  Derek Price  <derek@ximbiot.com>
7598         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
7599         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
7600         Move m4_undefine to alphabetical order.
7602 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
7604         * README: Recommend GNU M4 1.4.3 or later.
7605         * doc/autoconf.texi (Introduction): Likewise.
7606         Reword to avoid some formatting glitches.
7607         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
7608         Clarify explanation of HP compiler bug.
7609         Redo example output tp match current CVS snapshot.
7610         Use @example.org in email addresses when the examples
7611         might get inadvertently cut-and-pasted into user code.
7612         Remove example of autom4te usage that doesn't seem to work now.
7613         Use modern AC_INIT (except when the example is meant to be
7614         shown with Autoconf 2.13).
7615         Update ksh info for Solaris 9 and later.
7616         KB -> kB.
7617         Modernize description of Automake versions a bit.
7618         Don't claim a future version of Autoconf is near.
7619         * doc/install.texi: Reword to avoid some formatting glitches.
7621 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7623         * doc/autoconf.texi: Add [] to examples, so that the manual
7624         follows its own advice about quoting better.
7625         Reword to avoid some formatting glitches.
7626         * doc/installt.exi: Reword to avoid some formatting glitches.
7628         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
7629         Tru64 ksh pattern matching bug.  Reported against Libtool by
7630         Albert Chin <libtool@mlists.thewrittenword.com> and
7631         Nicolas Joly <njoly@pasteur.fr>.
7633 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
7635         m4_cdr of one-member list was [[]] (one-member list containing an
7636         empty string) instead of [] (an empty list.  Callers were skewed to
7637         match this misbehaviour.  As a consequence of this:
7638          - m4_foreach([x], [], [foo]) expanded to `foo', while
7639          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
7640         This bug has been fixed:
7642         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
7643           expand to an empty string; print error msg if called without
7644           an argument list.
7645         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
7646           misbehaviour; handle [] and [[]] correctly.
7648 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
7650         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
7651         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
7652           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
7654 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
7656         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
7657           swallow records with more than 99 fields.
7658         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
7659           parse the long line.
7661 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
7663         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
7664           swallow literals longer than 399.  Reported by Ralf Wildenhues.
7665         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
7666           to workaround this limitation.
7668 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
7670         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
7671         to gfortran, and make these the first two compiler names
7672         checked (following the general autoconf preference for gcc).
7674 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
7676         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
7677         (DISTCLEANFILES): Remove $(check_SCRIPTS).
7678         (testsuite): Make sure autotest.m4f is up-to-date before using it.
7680 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
7682         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
7683         expression of unbounded size when processing the --list
7684         option.  This runs afoul of a limit of 399 bytes per regular
7685         expression on AIX.  Problem reported by Ralf Wildenhues.
7687 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
7689         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
7690         * doc/autoconf.texi (Particular Headers): Reword example
7691         for multiline stdbool replacement.
7692         (Setting Output Variables): Reword text a bit.  Don't
7693         give all the details about |#_!!_#|.
7694         Reword description of line replacement.
7696 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
7698         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
7699         now contain newlines, and substituted files must be referenced on
7700         a line alone; the sed scripts to substitute them are now very
7701         different.
7702         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
7703         commands can be put in a sed script portably.
7704         * doc/autoconf.texi (Setting Output Variables): Document above
7705         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
7706         use of multiline substitution.
7707         * tests/torture.at: No longer expect substitution of newline to fail.
7709 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
7711         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
7712         From Ralf Menzel (trivial change).
7714 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
7716         * tests/local.at: Don't attempt to check for negated character
7717         classes in shell scripts.  The test was too brittle.
7719 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
7721         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
7722         * doc/autoconf.texi (Limitations of Builtins): Document this
7723           limitation.
7725 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
7727         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
7728           common code; used in many places in the tree.
7729         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
7730         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
7732         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
7734         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
7735           messages when ac_unique_file is not found.
7736         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
7737         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
7738           commands, for consistency with AC_MSG_ERROR and such.
7740         * bin/autoconf.as: Make more use of "shift 2" in option processing.
7742         * bin/Makefile.am: Merge the two rules for creating scripts.
7744 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
7746         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
7747         obsolete; it was never documented.
7748         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
7750 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
7752         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
7753         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
7754         (ac_top_builddir): ... this ...
7755         (ac_top_build_prefix): ... to this; the old name is also kept, for
7756           backward compatibility.
7757         (ac_top_builddir_sub): New variable, without the trailing slash,
7758           always nonempty.
7759         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
7760         * doc/autoconf.texi (Configuration Actions): Rename
7761           ac_top_builddir to ac_top_build_prefix.
7762         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
7763           at_top_builddir to at_top_build_prefix.
7764         * lib/autotest/general.m4 (AT_INIT): Likewise.
7766 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
7768         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
7769           of confdefs.h .
7771 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
7773         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
7774           argument to m4_foreach.  I guess it was necessary in the past,
7775           but I think it's a no-op now.
7777 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
7779         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
7780           ``cat <<_ACEOF'' commands to one.
7781         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
7782         * lib/autoconf/status.m4: On various places, use expr instead of
7783           ``echo|sed.''
7784         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
7785         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
7786         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
7787           a range.
7788         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
7789           the wrong patterns between ``case'' and ``esac.''  The previous
7790           code had false positives.
7792 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
7794         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
7795         as on 2005-05-02.
7796         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
7797         Mention LIBOBJDIR.
7799 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
7801         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
7802         ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
7803         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
7804         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
7805         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
7806         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
7807         config/config.guess, config/config.sub, config/elisp-comp,
7808         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
7809         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
7810         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
7811         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
7812         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
7813         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
7814         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
7815         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
7816         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
7817         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
7818         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
7819         lib/autoconf/general.m4, lib/autoconf/headers.m4,
7820         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7821         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
7822         lib/autoconf/specific.m4, lib/autoconf/status.m4,
7823         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
7824         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
7825         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
7826         lib/autotest/general.m4, lib/emacs/Makefile.am,
7827         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
7828         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
7829         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
7830         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
7831         tests/compile.at, tests/foreign.at, tests/fortran.at,
7832         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7833         tests/semantics.at, tests/suite.at, tests/tools.at,
7834         tests/torture.at, tests/wrapper.as:
7835         Update FSF postal mail address.
7837 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
7839         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
7840           check.
7841         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
7842           enough arguments, similarly as in m4_bpatsubsts.
7844 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
7846         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
7847           of absolute paths.
7849 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
7851         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
7852           for absolute directory names in one loop.
7853         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
7854           abbreviations of --version and --debug.
7856 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
7858         * doc/autoconf.texi (Autoconf Language): Be more precise about
7859         quoting rules.  Problems noted by Stepan Kasal.
7860         Also, throughout this document, be more careful about white space.
7861         "blank", "white space", and "space" all have different meanings
7862         and we should be careful to say what we mean.
7864 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
7866         Fix C++ related problems reported by Werner Lemberg.
7867         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
7868         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
7869         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
7870         avoid problems with C++ and throw.
7871         * tests/compile.at: .cpp, not .cc.
7873         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
7875 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7877         * doc/autoconf.texi (Generic Functions): Typos.
7879 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
7881         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
7882         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
7883         set by latest automake.
7885 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
7887         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
7888         outputs 0 on GNU/Linux these days.
7890 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
7892         * doc/autoconf.texi (Autoconf Language): Add more description
7893         about quoting heuristics.
7894         (Limitations of Builtins): Describe "set -" problems.
7896 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7898         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
7899         not newline.
7901         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
7902         by AC_DEFINE; it was a mistake.
7903         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
7905 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
7907         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
7909 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
7911         * doc/autoconf.texi (External Software): Quadrigraphs are not
7912           processed correctly in AS_HELP_STRING; avoid this in the examples.
7913         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
7914         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
7915           comment and reduce m4_default([foo], []) to [foo].
7916         (m4_strip): Update the explanation.
7918 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
7920         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
7921         Remove core.conftest.* too; it's generated by Tru64 5.1.
7922         Problem reported by Jennis Pruett.
7923         * lib/autoconf/functions.m4
7924         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
7925         Don't bother to remove core files; AC_RUN_IFELSE should do that
7926         for you.
7928 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
7930         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
7932 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
7934         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
7935         Report from Horst Wente.
7937 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
7939         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
7940           the comment.
7942 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
7944         * doc/autoconf.texi (External Software, Package Options): Add
7945           examples showing how to implement --with-* and --enable-* options.
7947 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
7949         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
7950         as well as configure.in.  Problem reported by Gregorio Guidi.
7952 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
7954         * doc/autoconf.texi (Particular Functions): Use gnulib's current
7955         pattern for alloca snippet.
7957 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
7959         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
7961 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
7963         * doc/autoconf.texi (Generic Programs): Fix a typo.
7965 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
7967         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
7968         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
7970 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7972         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
7973         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
7974         whole-archive (-zallextract, -zdefaultextract) options in the hope of
7975         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
7976         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
7978 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
7980         * NEWS: The configure command now warns you if you attempt to use
7981         a directory whose name contains a special character like space,
7982         newline, or "\".
7983         * doc/autoconf.texi (Installation Directory Variables): Allow
7984         "," in file names.  Do not use \@; it's not a portable regexp.
7985         * bin/Makefile.am (edit): Likewise.
7986         * lib/Makefile.am (edit): Likewise.
7987         * tests/Makefile.am (edit): Likewise.
7988         * tests/semantics.at: Likewise.
7989         * tests/torture.at: Likewise.
7990         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
7991         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
7992         * doc/autoconf.texi (File System Conventions): Warn about
7993         unportable file names.
7994         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
7995         (AC_INIT): Use it.
7996         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
7997         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
7998         ac_pwd, and quote srcdir.
7999         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
8001         * doc/autoconf.texi: Fix some systematic formatting problems.
8002         ".)"  needs a following @: if not at the end of a sentence, and
8003         similarly for "!)".  "etc." should be preceded by a comma.
8004         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
8006 2005-03-22  Bruno Haible  <bruno@clisp.org>
8008         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
8009         argument is often called 'build-aux'.
8011 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
8013         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
8014           macro AC_TRY_LINK is obsolete.
8015         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
8016           `AC_CONFIG_FILES'.
8018 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
8020         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
8021           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
8022           from a Common Lisp's `cl'.
8023         (AC_PROG_CXX): Behave according to the documentation: don't
8024           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
8025           make the variable CCC precious; use `cl.exe', not `cl'.
8027 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
8028             Alexandre Duret-Lutz  <adl@gnu.org>
8030         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
8031         /dev/null, as "configure" shouldn't read stdin, and this insulates
8032         us from problems (e.g., when testing for "cl").  Also, do this
8033         redirection before invoking "hostname" or "uname", and keep the
8034         original input stream available via...
8035         (AS_ORIGINAL_STDIN_FD): ... this new macro.
8036         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
8037         bother with "</dev/null" since it's now done at the top of
8038         'configure'.
8039         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
8040         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
8041         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
8042         * doc/autoconf.texi (File Descriptor Macros): New section.
8043         (Printing Messages): Mention it.
8044         * tests/base.at (Input/Output): New test.
8046 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
8048         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
8049         newline if neither \c nor -n work, as that would output two
8050         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
8052 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
8054         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
8055         This causes that any required macros inside will get before the if.
8056         * doc/autoconf.texi (autom4te.cache): A typo.
8058 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
8060         Undo previous change, except keep the change to
8061         lib/autoconf/programs.m4 that replaced grep with shell
8062         pattern-matching.  This is because net-snmp configure reads stdin.
8063         Reported by Noah Misch.
8065 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
8067         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
8068         from /dev/null, as "configure" shouldn't read stdin, and this
8069         insulates us from problems (e.g., when testing for "cl").
8070         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
8071         before invoking "hostname" or "uname".
8072         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
8073         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
8074         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
8075         "</dev/null" since it's now done at the top of 'configure'.
8076         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
8077         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
8078         Also, replace grep with shell pattern-matching, to save a process.
8080 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
8082         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
8083         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
8084         avoid thinking that Allegro Common Lisp's "cl" command is a C++
8085         compiler.
8087 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
8089         * doc/autoconf.texi (Limitations of Usual Tools): Document that
8090         grep -q isn't portable.  Improve grep -s explanation.
8091         Problem reported by Dan Manthey.
8093 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
8095         * doc/autoconf.texi (Special Shell Variables): Clarify
8096         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
8098 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
8100         * doc/autoconf.texi: Use @acronym for DJGPP.
8101         Fix some @code's that should have been @env's, and vice versa.
8102         Sort environment variable names.
8103         Mention that shells no longer inherit IFS.
8104         Don't recommend PATH_SEPARATOR=';' so strongly.
8105         Mention that $RANDOM might expand to the empty string.
8106         "symlink" and "soft link" -> "symbolic link".
8107         Improve mktemp description (reported by Bruno Haible).
8109 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
8111         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
8112         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
8113         Likewise.
8114         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
8115         Likewise.
8117 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
8119         * NEWS: Mention AT_COPYRIGHT.
8121         * tests/local.at (AT_CMP): Use diff directly on input files rather
8122         than copying them.
8124         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
8125         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
8127 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
8128         and Paul Eggert  <eggert@cs.ucla.edu>
8130         * tests/autotest.at (Empty test suite): New test.
8131         * tests/torture.at (Substitute and define special characters)
8132         (Substitute a 2000-byte string, Define to a 2000-byte string)
8133         (Substitute a newline, Define a newline): New tests.
8135 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
8137         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
8138         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
8139         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
8140         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
8141         (Standard regular expressions): New test.
8142         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
8143         excess test name quoting.
8144         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
8145         CPPFLAGS to `configure' instead of setting it in `configure'.
8147         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
8148         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
8149         on some platforms.
8151         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
8152         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
8154         * tests/local.at (AT_CMP): New macro.
8155         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
8156         (AC_SAVE_STATE): Move environment grep...
8157         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
8158         (AT_CONFIG_CMP): New macro.
8159         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
8160         * tests/c.at (Extensions): Do not exit early.
8161         * tests/atlocal.in: Inherit $GREP.
8163         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
8164         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
8166         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
8167         (AC_COPYRIGHT): Factor header comment portion out and move into...
8168         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
8169         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
8170         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
8171         --version output.
8172         * tests/local.at: Add Autoconf test suite copyright notice.
8173         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
8175 2005-02-04  Bruno Haible  <bruno@clisp.org>
8176         and Paul Eggert  <eggert@cs.ucla.edu>
8178         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
8180 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
8182         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
8183         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
8185         Try not to generated lines of unlimited length, as POSIX places a
8186         2047-byte limit on line length of portable text files.
8187         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
8188         Use newline as a separator, not space.
8189         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
8190         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
8191         space.
8193 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8195         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
8196         as_func_*.  Add test to check whether positional parameters
8197         are restored after function return.
8199 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
8201         * doc/autoconf.texi (Special Shell Variables): Mention _,
8202         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
8203         if they contain a lower-case letter.  The DUALCASE problem was
8204         reported by Ralf Wildenhues.
8206         * bin/autoconf.as: Don't exit with status 0 after write failure
8207         with --help or --version.
8208         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
8209         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
8211 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8213         * doc/autoconf.texi (Limitations of Usual Tools):
8214         Unicos 9 sed limitations.
8215         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
8216         to get the option-enhanced interface on older Crays.  Try ftn for
8217         Fortran 95 (newer Crays).
8219 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
8221         * man/Makefile.am (.x.1): Go back to the simple solution, but take
8222         care to echo the commands, so the user knows what's going on.
8223         Modified from a suggestion by Stepan Kasal.
8225         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
8226         with a cross reference.  Derived from a suggestion by Bruce Korb.
8228 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
8230         * doc/autoconf.texi (config.status Invocation): Warn about
8231         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
8232         * doc/install.texi (Defining Variables): Likewise.
8233         Based on a proposed patch by Ralf Wildenhues.
8235         * man/Makefile.am (.x.1): Make sure the required generated files
8236         are up to date.  Problem and original solution proposed by Stepan Kasal.
8237         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
8238         implicit-man-prerequisites): New rules, used by the above.
8240         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
8241         * config/config.guess, config/config.sub, config/install-sh: Likewise.
8242         * config/missing, config/texinfo.tex: Likewise.
8244 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
8246         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
8247         Update the long comment explaining it.
8249         m4_require no longer writes an ``is required by'' line to the
8250         execution stack.  It contains only one bit of non-redundant
8251         information: that the macro was required, not called.  And even
8252         this bit is useless in most situations: have you ever met a macro
8253         which both calls and requires the same macro?
8255         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
8256         (_m4_defun_pro_outer): ... only via this macro, for the outermost
8257           macro.
8258         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
8259         (m4_expansion_stack_pop): Remove the misplaced comment.
8260         (m4_require): Don't put the ``is required by'' line to the
8261           execution stack; slightly improve the out-of-a-defun error message.
8262         (_m4_divert_grow): New macro, counter for the temporary diversions.
8263         (_m4_require_call): Use it.
8264         * tests/m4sugar.at (m4_require): Expect output without the
8265           ``is required by'' messages.
8267 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
8269         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
8270         rather than x for expr.
8272         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
8273         this is safe.
8274         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
8275         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
8276         * lib/autotest/general.m4 (AT_INIT): Likewise.
8277         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
8278         * tests/mktests.sh: Likewise.
8280 2005-01-27  Akim Demaille  <akim@epita.fr>
8282         Have autoheader honor --force.
8284         * doc/make-stds.texi, doc/standards.texi: Update from masters.
8285         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
8286         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
8287         from masters, so that FileUtils.pm's update_file provide --force
8288         support.
8289         * bin/autoheader.in: Pass $force to update_file so that
8290         config.h.in is always recreated when --force.
8292 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
8294         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
8296 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
8298         * doc/autoconf.texi (Limitations of Builtins): Clarify that
8299         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
8301 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
8303         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
8304         Warn about newline stripping in `` and $().  Update Solaris
8305         version to 9.
8306         (Limitations of Builtins): Use expr "X...", not expr "x...", as
8307         X insulates us from future changes to Posix.
8308         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
8309         stripping.
8311 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
8313         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
8314           you cannot use AC_DEFINE to define macros containing `[' or `]'.
8316 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
8318         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
8319         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
8320         bug-tar mailing list.
8322 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
8324         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
8326 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
8328         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
8329         ulongval to be static, to avoid unwanted GCC warning.  Problem
8330         reported by Michael Jennings via Daniel Reed; see
8331         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
8333 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
8335         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
8336         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
8337         datadir, infodir, and mandir.  Adjust argument parsing code.
8338         (_AC_INIT_HELP): Update help text.
8339         * doc/autoconf.texi (Installation Directory Variables): Document
8340         new variables.
8342 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
8344         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
8345         not seem to work, assume it does set $(MAKE).
8346         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
8348 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
8350         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
8352 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
8354         A cleanup of the diversion support in m4sugar.
8356         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
8357         (_m4_divert_n_stack): New macro; the expansion is
8358           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
8359           otherwise.
8360         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
8361         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
8362           stored in _m4_divert_diversion or _m4_divert_dump.
8363         (m4_divert_pop): When the parameter is given, compare the symbolic
8364           name with the last diversion pushed on the stack.  Previously, the
8365           current diversion was compared with the numeric value of the
8366           diversion given as the parameter.
8367         (m4_require): If the macro hasn't been expanded yet, call ...
8368         (_m4_require_call): this new macro.
8370 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8372         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
8373         Workarounds for documented `case' limitations.
8375 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
8377         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
8378         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
8380 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
8382         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
8383         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
8384         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
8386         Patch from Roger Leigh (with some minor changes) as follows:
8387         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
8388         Resurrect AC_PROG_CC_STDC.
8389         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
8390         AC_PROG_CC_C89, AC_PROG_CC_C99.
8391         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
8392         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
8393         AC_PROG_CC_C99): New macros.
8394         (AC_PROG_CC_STDC): Use them.
8395         (_AC_PROG_CC_STDC): Remove.
8396         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
8397         * THANKS: Add Roger Leigh.
8399 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
8401         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
8402         signals that the package uses Automake; a `Makefile.am' is typical but
8403         not essential.  Reported by Magnus Therning.
8404         * tests/torture.at (autoreconf.): New banner.
8405         (autoreconf and non-AC configure): Rename to `Non-Autoconf
8406         AC_CONFIG_SUBDIRS'.
8407         (autoreconf an empty directory): Rename to `Empty directory'.
8408         (Unusual Automake input files): New test.
8410 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
8412         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
8413         (AT_SETUP): Clear AT_capture_files.
8414         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
8415         (AT_KEYWORDS): Fix comment typo.
8416         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
8417         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
8418         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
8420 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
8422         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
8423         If the variable to set is already set, set ac_cv_path_$1
8424         to the preset value so caller can assume ac_cv_path_$1
8425         is available.  (trivial change)
8427 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
8429         * BUGS (Minor Problems): Warn about makefile limitations.
8430         * Makefile.am: Find and update `INSTALL' in $(srcdir).
8431         * man/Makefile.am: Find and update manual pages in $(srcdir).
8433 2004-12-24  Eric Blake  <ebb9@byu.net>
8435         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
8436         shells in subshell, to avoid noise from ash.  (trivial change)
8438 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8440         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
8441         problems with SunOS ksh and backslash escaping, Bourne shells and
8442         closing brackets (both within character classes).  Bug reported
8443         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
8444         <read>: New entry.  Mention non-availability of -r.
8446 2004-12-21  Akim Demaille  <akim@epita.fr>
8448         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
8449         avoid cluttering displayed messages.  Rather, prepend srcdir where
8450         AT_LINE is used for log files.
8452 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
8454         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
8455         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
8456           no longer part of the macro, quote the occurrence of ``$tmp''.
8457         * doc/autoconf.texi (Forbidden Patterns): Typo.
8459 2004-12-21  Akim Demaille  <akim@epita.fr>
8461         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
8462         separated from the test title by forcing a white space.
8464 2004-12-21  Akim Demaille  <akim@epita.fr>
8466         Enable Emacs navigation within testsuite.log files.
8468         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
8469         use the compilation mode.
8470         (AT_LINE): Point to the srcdir.
8472 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
8474         * tests/Makefile.am (installcheck-local): Use $(bindir).
8475         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
8476         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
8477         Makefile.am scheme Autoconf now uses.
8479 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
8481         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
8482         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
8484 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
8486         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
8487         (_AT_CHECK): Use it.
8488         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
8489         (AS_ESCAPE): Fix comment.
8490         * tests/autotest.at: Adjust section banner comments.
8491         (AT_CHECK_AT): Accept STATUS and STDERR.
8492         (AT_CHECK_AT_TEST): Likewise.
8493         (Invalid brace-enclosed parameter expansion)
8494         (Multiline command from M4 expansion)
8495         (Double-M4-quoted command): New tests.
8497 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8499         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
8501 2004-12-17  Akim Demaille  <akim@epita.fr>
8503         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
8504         m4_pattern_allow.
8505         Suggested by Alexandre Duret-Lutz.
8506         * doc/autoconf.texi (Setting Output Variables): Catch up.
8508 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
8510         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
8512 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
8514         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
8515           remove the comment which said we cannot.
8517 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
8519         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
8520         Reini Urban and Paul Eggert for reporting the dependencies.
8522         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
8523         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
8524         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
8526 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
8528         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
8529           so that eg. ``autoscan --help'' doesn't truncate it.
8531 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
8533         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
8534         generated conftest files.
8536 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
8538         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
8539         tracing on commands with possibly-escaped newlines.
8540         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
8541         discontinued behavior and its implications.
8542         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
8543         (BSx641-newline in command, BS-BS-newline in command)
8544         (BSx640-newline in command, Newline-CODE-BS-newline in command)
8545         (Single-quote-BS-newline in command)
8546         (Single-quote-newline-BS-newline in command): New tests.
8548 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
8550         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
8551           on platforms where it works.
8552         (_AS_TEST_PREPARE): Test for ``test -x''.
8553         (_AS_BROKEN_TEST_PREPARE): Nuke.
8555 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
8557         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
8558         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
8559           give only 4-letter prefix to AS_TMPDIR, comment fixed.
8560         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
8561           create the temporary directory.
8562         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
8564 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
8566         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
8567         (trivial change)
8569 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
8571         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
8573 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
8575         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
8576         to avoid using a negated character class.  Reported by Nicolas Joly.
8577         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
8579 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8581         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
8582         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
8583         Don't depend on .x file explicitly, since "make" does that for us.
8584         Suggested by Stepan Kasal.
8586         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
8587         Add *.tmp.
8588         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
8589         ifnames): Factor common code.  And they said it couldn't be done!
8591 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
8593         * bin/.cvsignore: Add autoconf.in.
8594         * tests/.cvsignore: Add wrapper.in.
8595         * lib/autotest/general.m4: Escape '$' in case pattern.
8597 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
8599         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
8601         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
8603         * tests/autotest.at: New file.
8604         * tests/suite.at: Include it.
8605         * tests/Makefile.am: Distribute it.
8607         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
8608           shell tracing on a command that could contain multiple lines.
8609         * doc/autoconf.text: Document that fact and its implications.
8610         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
8611         * tests/autotest.at (Multiline backquote command substitution,
8612           Multiline parameter expansion, Literal multiline command,
8613           Multiline parenthetical command substitution): Remove XFAIL.
8615 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
8617         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
8618         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
8620 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
8622         * configure.ac (test suite): Cease to generate wrapper scripts.
8623         * configure: Regenerate.
8624         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
8625         (m4f_dependencies): Adjust accordingly.
8626         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
8627         (wrapper.in): Generate it in the build directory.
8628         (MAINTAINERCLEANFILES): Delete wrapper.in.
8629         (CLEANFILES): Add wrapper.in.
8630         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
8631         the output.  Replace each $as_me with a @wrap_program@.
8632         * tests/wrapper.in: Delete it; we always build it.
8634         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
8635         (EXTRA_DIST): Remove autoconf.in.
8636         (CLEANFILES): Add autoconf.in.
8637         (autoconf): Find autoconf.in in the build directory.
8638         * bin/autoconf.in: Delete it; we always build it.
8640 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
8642         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
8643         PATH members so as to not prepend an empty element.  Move a comment.
8644         * Makefile.am (SUBDIRS): Build in `tests' last.
8645         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
8647 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
8649         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
8650         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
8651         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
8652         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
8654 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
8656         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
8657         patch: extra "-l"s.
8659 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
8661         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
8662         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
8663         * doc/autoconf.texi (Particular Functions): Mention new behavior.
8665 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
8667         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
8668           out the common code to ...
8669         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
8670           value of the #define--default to 1, iff the macro was called
8671           with exactly one parameter.
8673 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
8675         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
8676         "char c = '\200';" rather than "char c = 0x80;" as the
8677         latter doesn't conform to the strict C standard due to
8678         overflow on signed char hosts.
8680         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
8681         to -qlanglvl=ansi.  We don't want to disable extensions.
8683 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
8685         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
8686         (Using Autotest, testsuite Scripts, Writing testsuite.at):
8687         Reword slightly to avoid some English-language problems noted
8688         by Ralf Wildenhues in:
8689         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
8691 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
8693         * NEWS: Add ^L above each release.
8695 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
8697         Fix documentation problems reported by Russ Boylan in
8698         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
8699         along with some nearby cruft.
8700         * doc/autoconf.texi (Libtool): Libtool can be used without
8701         Automake (not without Autoconf).
8702         (Introduction): Mention lists.gnu.org.
8703         * BUGS: Don't mention bugs.gnu.org.
8704         Remove mention of ancient libtool compatibility problem.
8705         * NEWS: Mention that bugs.gnu.org is kaput.
8706         * README: Likewise.  Mention where mailing list archives can be found.
8708 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
8710         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
8712 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
8714         * doc/autoconf.texi (Pretty Help Strings): Go back to
8715         single-quoting assignments to cache variables.
8717 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
8719         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
8720         with the examples; fix the bug in MY_ARG_WITH example reported
8721         by Alexandre Duret-Lutz.
8722         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
8723         expansion of $1 in the comment emitted to configure.
8725 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
8727         * doc/autoconf.texi (Pretty Help Strings): Fix typo
8728         in my editing of the previous patch.  Problem reported
8729         by Alexandre Duret-Lutz.
8731 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
8733         * doc/autoconf.texi (Autoconf Language): Explain that
8734         ``descriptions'' may not be double quotes.
8735         (Quotation Rule Of Thumb): Likewise.
8736         (Pretty Help Strings): Likewise; remove the wrong comment;
8737         simplify the examples and improve their quoting.
8739 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
8741         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
8742         the $1_found variable, don't test whether the file is executable;
8743         Both things are checked ...
8744         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
8745         the former ``test -f''.
8746         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
8748 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
8750         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
8751         use cp -R instead.
8753 2004-11-10  Derek R. Price  <derek@ximbiot.com>
8755         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
8756         limitations.  Reorder paragraphs for clarity.
8758 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
8760         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
8761         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
8762         variants", "Unix", and some related minor wording fixups.
8764         (Shellology, Special Shell Variables): Document that the Zsh
8765         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
8766         to Alexandre Duret-Lutz for this info.
8768 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
8770         * doc/autoconf.texi (One-Shot Macros): New node.
8772 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
8774         * doc/autoconf.texi (Function Portability): Fix misdescription
8775         of putenv.  Problem reported by Michael Wardle.
8777 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
8779         * doc/autoconf.texi (auindex): New macro.
8780         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
8781         Problem reported by Stepan Kasal.
8783 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
8785         Fix problems reported by Andreas Buening in:
8786         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
8787         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
8788         in test makefile.
8789         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
8790         readable; it's not true in OS/2-emx.
8792 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
8794         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
8795         "/usr/include", clear ac_x_includes instead of leaving it as "no"
8796         (trivial change).  Problem and patch reported by Andrew Church in:
8797         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
8799 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
8801         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
8802         three args in examples.  Problem reported by Frederik Fouvry in:
8803         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
8804         Also, fix some minor spacing and punctuation bugs.
8806 2004-09-02  Akim Demaille  <akim@epita.fr>
8808         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
8809         "case" to restore ordering.
8810         Reported by Stepan Kasal.
8812 2004-08-26  Akim Demaille  <akim@epita.fr>
8814         * doc/autoconf.texi: Minor typos and stylos.
8816 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
8818         * configure.ac (AC_INIT): Bump to 2.59c.
8820 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
8822         Version 2.59b.
8824         * README: Add advice about m4 1.4.2.
8826         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
8827         texinfo.tex for now (done by hand now).
8828         * Makefile.maint (wget_files, cvs_files):
8829         Remove ansi2knr.c; nobody uses it.
8830         (ansi2knr.c-url_prefix): Remove.
8831         (cvs-update): Fix test for failure.  I don't know why it ever
8832         worked...
8834         * doc/autoconf.texi: Update URLs, some of which went stale.
8835         Use @uref rather than @href.
8837         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
8838         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
8840         * config/config.guess, config/config.sub, config/elisp-comp,
8841         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
8842         doc/fdl.texi, doc/standards.texi: Sync with master copy.
8844         * NEWS, TODO, configure.ac, bin/autoscan.in,
8845         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
8846         doc/install.texi, lib/Autom4te/Configure_ac.pm,
8847         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
8848         lib/autoconf/programs.m4, lib/autoconf/status.m4,
8849         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
8850         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
8851         tests/tools.at, tests/torture.at:
8852         Use "file name" rather than "filename" or "path",
8853         to be consistent with the terminology of the GNU coding standards.
8855 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
8857         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
8858         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
8859         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
8860         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
8862         More fixes to support spaces in the name of the build directory.
8863         This isn't a complete fix but it's an improvement.
8865         * bin/autoconf.as (autom4te_options): New var.
8866         Use it instead of appending to AUTOM4TE, so that we can allow
8867         spaces in the build directory's absolute name.
8868         * bin/autoheader.in ($autoconf): Allow spaces in file names.
8869         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
8870         AT_CHECK_NOESCAPE): Likewise.
8871         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
8872         main program): Likewise.
8874 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8876         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
8877         From Ralf Corsepius in:
8878         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
8880 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
8882         * doc/autoconf.texi (Function Portability): Document isinf and
8883         and isnan.  From a suggestion by Kevin Ryde.
8885         * lib/Autom4te/General.pm (END): Return correct exit status even
8886         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
8888 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
8890         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
8891         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
8892         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
8894 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
8896         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
8897         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
8898         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
8899         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
8900         * lib/autom4te.in (Automake-preselections): Preselect
8901         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
8903 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
8905         * lib/autom4te.in (Automake-preselections): Preselect
8906         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
8907         trace them.
8909 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
8911         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
8912         Tru64.
8913         * doc/autoconf.texi (Shellology): Mention BIN_SH.
8914         Document problem with "`""`" in pdksh POSIX mode.
8916 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
8918         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
8919         with pdksh, too.  Problem reported by Patrick Welche via
8920         Gary V. Vaughan.
8921         * doc/autoconf.texi (Shellology): Note that set -o posix is
8922         useful for pkdsh, too.
8924 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
8926         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
8927         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
8928         Don't fail if ENV or BASH_ENV is readonly.
8929         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
8930         etc. are read only.  Problem reported by Ludovic Courtes.
8932 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
8934         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
8935         zsh, disable GLOB_SUBST to avoid backslash handling problems.
8936         (trivial change)
8938 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
8940         * doc/autoconf.texi (File System Conventions): Warn about
8941         names like "aux".  Problem reported by Eric Blake.
8943         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
8944         by zero instead of array size, so that we can use any arithmetic
8945         constant expression (instead of requiring an integer constant
8946         expression).  This allows us to test expressions like DBL_MAX <
8947         LDBL_MAX, which didn't conform to the C standard using the old
8948         method.
8949         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
8950         now that we can do floating-point tests at compile time.
8952 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
8954         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
8955         and LDBL_EPSILON, as the resulting expression isn't an
8956         integer constant expression and violates the C standard.
8957         Problem reported by Nelson H. F. Beebe.  Also, check
8958         for "L" suffix, and check that long double doesn't have
8959         worse range or precision than double, that mixed-mode
8960         arithmetic doesn't generate a diagnostic, that double
8961         constants fit in long double.
8963 2004-06-03  Kevin Ryde  <user42@zip.com.au>
8965         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
8966         malloc(0) and realloc(NULL,size).
8968         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
8969         Bob Proulx.
8971 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
8973         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
8974         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
8975         by Jim Meyering.
8977 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
8979         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
8980         can be rewritten using if-then-else.  Suggested by Bruno Haible.
8982 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
8984         * doc/autoconf.texi (testsuite Scripts): Fix typo.
8985         Problem reported by Stepan Kasal.
8987 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
8989         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
8990         change).  Patch reported by Ralf Wildenhues in
8991         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
8993         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
8994         function F exists if the compiler and linker let you compile an
8995         expression like (F != 0).  Recent versions of GCC optimize away
8996         the reference to F in that case, since every function address must
8997         be nonzero, so the link succeeds even if F does not exist.
8998         Problem reported by Manu in
8999         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
9001         * doc/autoconf.texi (Systemology): Standardize on the spelling of
9002         "Unix".  Many uses changed.
9003         (Limitations of Builtins): Explain better why the ! command isn't
9004         portable.
9006 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
9008         * lib/autom4te.in (Automake-preselections): Preselect
9009         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
9011 2004-05-19  Kevin Ryde  <user42@zip.com.au>
9013         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
9014         referencing AC_FUNC_STRERROR_R.
9016         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
9017         note pessimistic assumption when cross compiling.
9019 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
9021         * doc/autoconf.texi (Limitations of Make): Note that BSD make
9022         (until 2004) invoked subcommands with sh -e, contra POSIX.
9023         Reported by Kevin Ryde.
9025 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
9027         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
9028         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
9029         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
9030         `test -f "        /usr/bin/grep"', which _always_ failed.
9031         (AC_PROG_SED): Ditto bogus PATH fix.
9032         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
9033         requires that grep correctly supports _multiple_ `-e' options, rather
9034         than stating only that grep should accept `-e'.
9036 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
9038         Port to C99, which requires that 'exit' be declared.
9040         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
9041         to ensure that stdlib.h is included.
9042         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
9043         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
9044         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
9045         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
9046         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
9047         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
9048         when using 'exit' in a test; C99 requires that 'exit' be declared.
9050 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
9052         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
9053         now prefers 'grep' implementations that accept -e.
9054         (Limitations of Usual Tools): Describe problems of traditional
9055         egrep and fgrep with long input lines, and of traditional grep
9056         with -e.
9057         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
9058         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
9059         All callers changed.  Append /usr/xpg4/bin to the PATH, for
9060         Solaris.
9061         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
9062         the user with complaints about multiple -e options.
9063         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
9064         Define it with AC_PROG_GREP.
9065         * configure.ac (AC_PROG_GREP): Add.
9066         * lib/freeze.mk (GREP): New macro.
9068 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
9070         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
9071         a possible candidate only after all others fail, rather than
9072         consulting it first.  This improves backward compatibility by
9073         better reflecting the way shell selection occurred in previous
9074         versions of Autoconf, and should help to avoid triggering latent
9075         problems in other packages, such as the one in Automake where zsh
9076         is not handled robustly:
9077         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
9078         Although it is not Autoconf's responsibility to work around
9079         problems in Automake, it nevertheless makes sense to avoid
9080         introducing unnecessary incompatibilites.
9082 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
9083             Gary V. Vaughan  <gary@gnu.org>
9085         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
9086         how deeply nested we are when a suitable tool is found, set the
9087         ac_path_TOOL_found flag.
9088         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
9089         nested we are in this macro.  Break out of all 3 nested loops if
9090         ac_path_TOOL_found is set.
9092 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
9094         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
9095         of the _AS_PATH_WALK loop too if GNU flavor is found.
9097 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
9099         * doc/autoconf.texi (Limitations of Make): Update documentation
9100         for `$<'.  New entry `Long lines', based on a report from Simon
9101         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
9102         paragraph about DJGPP, based on a mail from Richard Dawe.
9104 2004-04-20  Paul Eggert  <eggert@twinsun.com>
9106         * tests/c.at (C keywords): Don't assume that GCC supports
9107         "restrict" and "inline", as sufficiently-old GCC versions do not
9108         (also, GCC configured to be in pedantic C89 mode does not).
9109         Problem reported by Sumit Pandya in:
9110         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
9112         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
9113         consider -g to work if it generates warnings when plain compiles
9114         don't.  Problem reported by Braden McDaniel in:
9115         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
9117         * doc/autoconf.texi (Slashes): New section, to document a problem
9118         reported by Jim Meyering in:
9119         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
9121         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
9122         linker output files before linking, to work around IRIX 6 linker bug.
9123         Problem reported by Rainer Orth in:
9124         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
9126 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
9128         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
9129         best tool so far counter rely on the tool path variable name to
9130         avoid checks for one tool being affected by the results of running
9131         the length check on a previous tool.
9133         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
9134         match expression argument, as different greps have different
9135         regular expression flavours.
9136         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
9137         literals.
9138         (AC_PROG_EGREP): Pass 'EGREP$'.
9139         (AC_PROG_GREP): Pass 'GREP$'.
9141 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
9143         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
9144         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
9146 2004-03-29  Paul Eggert  <eggert@twinsun.com>
9148         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
9149         Types, Specific Compiler Characteristics, System Services,
9150         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
9151         etc. consistently instead of 'long', 'short', 'unsigned' etc.
9152         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
9153         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
9154         Likewise.
9155         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
9156         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
9157         AC_TYPE_OFF_T): Likewise.
9158         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
9159         Likewise.
9161         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
9162         pacify libtool 1.5.2.  Fix quoting problems in sed command.
9164 2004-03-28  Paul Eggert  <eggert@twinsun.com>
9166         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
9167         now defines HAVE_DECL_TZNAME if it is declared, when
9168         HAVE_STRUCT_TM_TM_ZONE is not defined.
9169         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
9170         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
9171         for HAVE_TZNAME.
9173 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
9175         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
9176         superfluous backslashing of quotes (") in sed expressions;
9177         thanks to Paul Eggert.
9179 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
9181         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
9182         Fortran compiler is ifort, also added pghpf; thanks to Nelson
9183         H. F. Beebe for the bug report.
9185 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
9187         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
9188         quoted -cmdline argument in Portland Group compiler (bug
9189         reported by Jeffrey J. Barteet).
9191 2004-03-25  Kevin Ryde  <user42@zip.com.au>
9193         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
9194         (Run Time): ... here, where it's now mentioned.
9196 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
9198         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
9199         inherits from language Autoconf-without-aclocal-m4.
9200         (Customizing autom4te): Adjust example; the cache must now be
9201         disabled for language Autoconf-without-aclocal-m4.
9203 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
9204             Nathanael Nerode  <neroden@twcny.rr.com>
9206         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
9207         AC_CHECK_TOOLS): Warn if a cross-tool is found without
9208         a prefix.
9209         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
9210         AC_CHECK_TARGET_TOOLS): New macros.
9211         * doc/autoconf.texi (Generic Programs): Document
9212         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
9213         AC_CHECK_TARGET_TOOLS, and warn for future changes
9214         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
9215         AC_CHECK_TOOLS.
9216         (Specifying Names): Document the reason for these future
9217         behavioral changes.
9218         * tests/mktests.sh: Do not generate tests for the
9219         new macros.
9220         * NEWS: Document these changes.
9222         * doc/autoconf.texi: Avoid macros with unbraced arguments,
9223         they make TeX hang up.
9225 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
9227         * NEWS: New macro AC_CHECK_ALIGNOF.
9228         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
9229         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
9230         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
9231         vowel.
9232         (AC_CHECK_ALIGNOF): New macro.
9233         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
9234         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
9235         those for sizeof.
9237 2004-03-03  Paul Eggert  <eggert@twinsun.com>
9239         * bin/Makefile.am (edit): Don't use $< in a context where
9240         POSIX doesn't require support for it.  Use $@.in instead.
9241         Problem reported by Anthony N. Frasso in
9242         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
9243         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
9245 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
9247         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
9248         from the next generation of Libtool.
9249         * lib/autom4te.in (Autoreconf-preselections): Ditto.
9251 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
9253         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
9254         is not always thread-safe.  Report from Nathanael Nerode.
9256 2004-02-18  Paul Eggert  <eggert@twinsun.com>
9258         Fix a dependencies problem, stemming from a Autoconf 2.59 build
9259         problem on QNX reported by Stephen Rasku in
9260         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
9262         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
9263         $(m4sh_m4f_dependencies); this removes a FIXME.
9264         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
9265         (MAINTAINERCLEANFILES): Split into pieces,
9266         one per related section.  Add $(srcdir)/wrapper.in.
9268 2004-02-09  Paul Eggert  <eggert@twinsun.com>
9270         * doc/autoconf.texi (Setting Output Variables): Emphasize that
9271         AC_SUBST provides no portable way to escape literal newlines.
9273         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
9274         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
9275         Darwin uses -lcrt2.o and there's little point to cataloging all
9276         the system variants.  Partial fix reported by Andreas Waechter in:
9277         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
9278         for bug reported by Nelson H. F. Beebe in:
9279         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
9281 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
9283         * doc/autoconf.texi (AU_DEFUN): Fix English,
9284         suggested by Paul Eggert.
9285         * lib/autoconf/autoupdate.m4: Correct reference to
9286         acobsolete.m4, suggested by Alexandre Duret-Lutz.
9288 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
9290         * bin/autoupdate.in: Define __file__ so that warnings
9291         refer to the correct file.
9292         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
9293         the behavior of the third argument.
9294         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
9295         correctly the behavior of the third argument.  Document
9296         what the three macros that AU_DEFUN defines do.  Fix
9297         warning message when the third argument includes $0
9298         (reported by Alexandre Duret-Lutz).
9300 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
9301             Eric Sunshine  <sunshine@sunshineco.com>
9302             Paul Eggert  <eggert@twinsun.com>
9304         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
9305         (AS_INIT): Output shell initialization there. Removed optional
9306         parameter. Expand _AS_SHELL_FN_SPY.
9307         (AS_INIT_WITH_SHELL_FN): Removed.
9308         (_AS_SHELL_FN_SPY): New macro.
9309         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
9310         macros.
9311         (AS_SHELL_SANITIZE): Remove loop to find better shell
9312         and documentation for the parameter.
9313         (_AS_DETECT_BETTER_SHELL): Move it here.
9314         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
9315         (_AS_RUN): Move it here, support testing with eval.
9316         (AS_REQUIRE_SHELL_FN): Require shell functions when
9317         it is used.
9318         (_AS_LINENO_WORKS): Put around braces, we do not
9319         trigger the bash bug anymore.
9320         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
9321         use AS_INIT_WITH_SHELL_FN.
9322         * bin/autoconf.in, tests/wrapper.in: Regenerated.
9324 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
9326         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
9327         * doc/autoconf.texi: Don't say that the third parameter
9328         is broken.
9329         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
9330         (AU_DEFUN): Honor the third parameter, create autoupdate
9331         macros with AU_DEFINE.
9332         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
9333         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
9334         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
9335         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
9336         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
9337         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
9338         AC_XENIX_DIR): Likewise.
9339         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
9340         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
9341         * lib/autoconf/status.m4: Remove FIXME.
9342         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
9343         that the macro is not present anymore in the updated
9344         configure.ac.
9345         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
9346         of autoupdate.
9348 2004-01-28  Paul Eggert  <eggert@twinsun.com>
9350         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
9351         copyright years.
9352         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
9353         2003 (except 1997) to the list of copyright years.  This undoes
9354         the 2003-05-22 change, which removed the older years from the list.
9355         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
9357 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
9358             Albert Chin-A-Young  <china@thewrittenword.com>
9360         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
9361         grep or ggrep program in PATH that accepts as long lines as
9362         possible.
9363         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
9364         AC_PROG_GREP.
9365         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
9366         egrep and fgrep respectively if $GREP -E/-F don't work.
9367         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
9368         _AC_PROG_GREP, and AC_PROG_SED.
9369         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
9370         longest input length accepted by a command.
9371         (AC_PROG_SED): Use it.
9372         * doc/autoconf.texi (Particular Programs): Document the changes.
9373         * NEWS: Updated.
9375 2004-01-27  Paul Eggert  <eggert@twinsun.com>
9377         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
9378         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9379         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
9380         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
9382         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
9383         bin/autoconf.in, config/Makefile.in, config/config.guess,
9384         config/config.sub, config/install-sh, config/mdate-sh,
9385         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
9386         lib/Makefile.in, lib/Autom4te/Makefile.in,
9387         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
9388         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
9389         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
9390         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
9391         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
9392         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
9393         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
9394         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
9395         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
9396         tests/actypes.at: Regenerate and/or sync with original
9397         sources.
9399 2004-01-26  Paul Eggert  <eggert@twinsun.com>
9401         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
9402         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
9403         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
9404         not <inttypes.h>.  Problem reported by Tim Mooney in
9405         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
9406         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
9407         Likewise.
9409         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
9410         otherwise "make check" fails because it forbids cmp (I guess
9411         because cmp treats files as binary on DOS-like systems).
9413         * tests/mktests.sh: Update copyright date to 2004, since some tests
9414         have changed in 2004.
9416 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
9418         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
9419         non-truncating sed or gsed program in PATH.
9420         * tests/acprograms.at: Add it.
9421         * doc/autoconf.texi (Particular Programs): Document it.
9422         * NEWS: Updated.
9424 2004-01-15  Paul Eggert  <eggert@twinsun.com>
9426         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
9427         -std1 disables some useful extensions on Tru64.  Problem reported
9428         by N. Lichtmaier in
9429         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
9431 2004-01-14  Paul Eggert  <eggert@twinsun.com>
9433         * doc/autoconf.texi (Programming in M4sh): Document that
9434         AS_MKDIR_P succeeds if the destination is a symbolic link
9435         to an existing directory.
9436         (Limitations of Usual Tools): Note that mkdir -p might not
9437         succeed on symlinks to directories.
9439 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
9441         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
9442         * bin/autoheader.in: Grammar fix in message.
9443         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
9444         Test for dir before calling mkdir -p.  (trivial changes)
9446 2004-01-13  Eric Blake  <ebb9@byu.net>
9448         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
9449         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
9451 2004-01-10  Jim Meyering  <jim@meyering.net>
9453         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
9455 2004-01-09  Paul Eggert  <eggert@twinsun.com>
9457         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
9458         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
9459         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
9460         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
9461         AC_COMPILE_IFELSE, since we now assume our caller invokes
9462         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
9463         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
9464         of AC_RUN_IFELSE; this avoids the warning mentioned above.
9465         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
9467 2004-01-07  Paul Eggert  <eggert@twinsun.com>
9469         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
9470         `"'...'"`, as it's confusing (and I suspect it may not work on
9471         some platforms).  The code was incorrect anyway, as it assumed
9472         that \$ evaluated to itself in that context.  Reported by
9473         Alexandre Duret-Lutz.
9475 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
9477         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
9478         and _LT_AC_TAGCONFIG.
9480 2004-01-06  Paul Eggert  <eggert@twinsun.com>
9482         * doc/autoconf.texi (One Macro Call): Fix an incorrect
9483         example, and add more examples.  Reported by Eric Sunshine.
9485 2004-01-05  Paul Eggert  <eggert@twinsun.com>
9487         * doc/autoconf.texi (Limitations of Usual Tools):
9488         Remove warning against "rm -fr" introduced yesterday; it
9489         was a false alarm.
9491         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
9492         autoscan, autoupdate, ifnames): Don't use chmod -w.
9493         * lib/Makefile.am (autom4te.cfg): Likewise.
9494         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
9495         "chmod -w".
9497 2004-01-04  Paul Eggert  <eggert@twinsun.com>
9498             Paolo Bonzini  <bonzini@gnu.org>
9500         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
9501         by doing lineno substitution only on lines containing "$LINENO".
9503 2004-01-04  Paul Eggert  <eggert@twinsun.com>
9505         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
9506         Use "rm -f" to remove conftest.sed, not plain "rm".
9507         Bug reported by David Relson in
9508         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
9510         * Makefile.am (autom4te-update):
9511         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
9512         * Makefile.maint (my-distcheck, do-po-update): Likewise.
9513         * doc/autoconf.texi (Guidelines): Likewise.
9514         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
9515         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
9516         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
9517         * lib/autotest/general.m4 (AT_INIT): Likewise.
9518         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
9519         * tests/Makefile.am (clean-local): Likewise.
9520         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
9521         srcdir): Likewise.
9522         * doc/autoconf.texi (Limitations of Usual Tools):
9523         Warn against "rm -fr".
9525 2004-01-03  Paul Eggert  <eggert@twinsun.com>
9527         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
9528         -c -o might not work.  From a suggestion by Kevin Ryde.
9529         (C Compiler, Generating Sources, Limitations
9530         of Usual Tools, Limitations of Make, Making testsuite Scripts):
9531         Don't put '-o' after non-options, as POSIX doesn't allow this.
9532         Mention that cc's name might be gcc or c89 or whatever.
9534 2004-01-04  Kevin Ryde  <user42@zip.com.au>
9536         * doc/autoconf.texi: Add various further index entries.
9538 2003-12-29  Paul Eggert  <eggert@twinsun.com>
9540         * bin/autoreconf.in (autoreconf_current_directory):
9541         Fix typo: mkdir without umask arg.
9543 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
9545         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
9546         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
9547         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
9548         explanation clearer.
9550 2003-12-24  Andreas Schwab  <schwab@suse.de>
9552         * doc/autoconf.texi (Default Includes): Fix misspelling of
9553         AC_INCLUDES_DEFAULT.
9555 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
9557         * configure.ac: Test if sh -n works.
9558         * configure: Regenerate.
9559         * tests/atlocal.in: Store the result here.
9560         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
9561         tools.at, looking in atlocal's ac_cv_sh_n_works instead
9562         of explicitly testing.
9563         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
9564         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
9565         * tests/tools.at (Syntax of the shell scripts): Simplify
9566         using AT_CHECK_SHELL_SYNTAX.
9567         (Syntax of the Perl scripts): Remove definition of
9568         AT_CHECK_PERL_SYNTAX.
9570 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
9572         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
9573         stderr to /dev/null.
9574         * bin/autoconf.in: Regenerate.
9575         * bin/wrapper.in: Regenerate.
9577 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
9579         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
9580         Extracted from AS_SHELL_SANITIZE.
9581         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
9582         macros.
9583         (AS_SHELL_SANITIZE): Move reinvocation code from
9584         _AS_LINENO_WORKS, use it to find out if shell
9585         functions work.
9586         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
9587         does not work.
9588         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
9589         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
9590         was called.
9591         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
9592         * bin/autoconf.in: Regenerate.
9593         * tests/wrapper.in: Regenerate.
9594         * tests/tools.at: Test the syntax of tests/autoconf
9595         and tests/testsuite.
9597 2003-11-24  Akim Demaille  <akim@epita.fr>
9599         * config/announce-gen (&print_locations, &print_signatures)
9600         (&sizes): New.
9601         Use them.
9602         No longer rely on Gnus to inline the list of signatures: compute
9603         them on the fly.
9605 2003-11-24  Akim Demaille  <akim@epita.fr>
9607         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
9608         override some files.
9609         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
9610         From Debian Autoconf 2.58.
9612 2003-11-24  Akim Demaille  <akim@epita.fr>
9614         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
9615         uses.
9616         From Debian Autoconf 2.58.
9618 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
9620         * TODO: Remove already done things.  Update the part about finding
9621         tools for the target.
9623 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
9625         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
9626         Make wording more consistent.
9627         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
9628         Explain the transition better.
9629         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
9630         the transition better.
9632 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
9634         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
9635         parameter of AU_DEFUN.
9636         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
9637         (AU_DEFUN): Remove the third parameter, it was not used.
9638         Use AC_DEFUN directly, not AU_DEFINE.
9639         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
9640         the expanded body, consistently with other macros such as AC_USG.
9642 2003-11-17  Paul Eggert  <eggert@twinsun.com>
9644         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
9645         into the initial confdefs.h, to work around a bug in NextStep 3.3
9646         patch 3 reported by Eric Sunshine.
9648 2003-11-15  Kevin Ryde  <user42@zip.com.au>
9650         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
9651         than $target since the latter is not usual, add guidelines on when to
9652         use or not use the system type.
9654 2003-11-12  Derek Price  <derek@ximbiot.com>
9656         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
9657         typo misrepaired by an auto-spellcheck.
9659 2003-11-12  Akim Demaille  <akim@epita.fr>
9661         * bin/autoreconf.in (&parse_args): Don't call automake with
9662         --force-missing unless it actually supports it.
9663         From Debian #219336.
9665 2003-11-12  Akim Demaille  <akim@epita.fr>
9667         * configure.ac: Bump to 2.59a.
9668         Require 2.59.
9670 2003-11-06  Akim Demaille  <akim@epita.fr>
9672         Version 2.59.
9674 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
9676         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
9677         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
9678         and ac_abs_top_srcdir are absolute paths.
9679         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
9681 2003-11-05  Akim Demaille  <akim@epita.fr>
9683         * configure.ac: Bump to 2.58a.
9685 2003-11-05  Kevin Ryde  <user42@zip.com.au>
9687         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
9688         it provokes a warning from makeinfo about looking like a cross
9689         reference in info output.
9691         * doc/autoconf.texi (Function Portability): Add notes on signal
9692         handler return type, as per AC_TYPE_SIGNAL.
9694 2003-11-04  Akim Demaille  <akim@epita.fr>
9696         Version 2.58.
9697         * doc/standards.texi: Update from master.
9699         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
9701 2003-11-04  Akim Demaille  <akim@epita.fr>
9703         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
9704         computing the absolute path to d1 in the source hierarchy: it may
9705         not exist at all.  So don't cd into it.
9706         From Alexandre Duret-Lutz.
9707         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
9709         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
9710         From Paul Eggert, but named after Perl's IO::Spec->catfile.
9711         * doc/autoconf.texi (Programming in M4sh): Document.
9712         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
9714 2003-11-03  Pavel Roskin  <proski@gnu.org>
9716         * doc/autoconf.texi (Generic Structure Checks): Describe
9717         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
9719 2003-10-31  Akim Demaille  <akim@epita.fr>
9721         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
9722         (GNU Fortran): New.
9723         * doc/autoconf.texi (Language Choice): Document.
9724         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
9725         the current language is Fortran.
9727 2003-10-31  Akim Demaille  <akim@epita.fr>
9729         * bin/autom4te.in (&freeze): Use a less likely warning separator
9730         than `\n\n', so that `\n\n\n' is valid in warnings.
9731         Reported by Steve Huston.
9733 2003-10-28  Akim Demaille  <akim@epita.fr>
9735         * Makefile.cfg (local_updates, executable-update): Tweak to be
9736         robust to parallel makes.
9737         Suggested by Alexandre Duret-Lutz.
9739 2003-10-27  Akim Demaille  <akim@epita.fr>
9741         * Makefile.cfg (executable-update): New.
9742         (local_updates): Call it.
9744 2003-10-27  Akim Demaille  <akim@epita.fr>
9746         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
9747         Don't remove core.* as it may remove valid user files.
9748         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
9749         (AC_FUNC_UTIME_NULL): Likewise.
9751 2003-10-23  Akim Demaille  <akim@epita.fr>
9753         Version 2.57g.
9754         * config/config.guess, config/config.sub: Upgrade from masters.
9756 2003-10-23  Akim Demaille  <akim@epita.fr>
9758         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
9759         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
9760         hand...
9762 2003-10-23  Akim Demaille  <akim@epita.fr>
9764         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
9765         Don't forget to remove conftest.err.
9767 2003-10-23  Akim Demaille  <akim@epita.fr>
9769         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
9770         same object file in $LIBOBJS.
9771         Reported by Alexandre Duret-Lutz & Derek Robert Price.
9772         * doc/autoconf.texi (Generic Functions): Adjust.
9774 2003-10-20  Paul Eggert  <eggert@twinsun.com>
9776         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
9777         Use 'eval', so that the resulting configure scripts work even if
9778         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
9780 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
9782         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
9783         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
9784         (_AC_LINK_IFELSE): Check the werror flag.
9785         * doc/autoconf.texi (Generic Compiler Characteristics): Document
9786         AC_LANG_WERROR.
9787         * NEWS: Mention it.
9789 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
9791         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
9792         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
9793         override AC_LINK_IFELSE.
9795 2003-10-15  Paul Eggert  <eggert@twinsun.com>
9797         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
9798         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
9799         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
9800         Mention /usr/dt/bin/dtksh on Solaris.
9801         (Shell Substitutions): Warn about $((...)).
9802         (Parentheses): New section.
9804 2003-10-15  Kevin Ryde  <user42@zip.com.au>
9806         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
9807         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
9809 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
9811         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
9812         cross test.
9814 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
9816         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
9817         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
9819 2003-10-10  Andreas Schwab  <schwab@suse.de>
9821         * bin/autoheader.in: Avoid empty first line in --version and
9822         --help output.
9823         * bin/ifnames.in: Likewise.
9825 2003-10-09  Paul Eggert  <eggert@twinsun.com>
9827         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
9828         Issue a more-informative diagnostic.
9829         Problems reported by Eric Sunshine.
9831 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
9833         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
9834         -mGLOB_options_string stuff for Intel ifc, which can cause
9835         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
9836         pattern-matching instead of grep.
9838 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
9840         * doc/autoconf.texi: Document new FC Fortran macros.
9842 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
9844         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
9845         that future autopoint/aclocal/automake/autoreconf will be able
9846         to trace to find where to install local m4 macros.
9847         * doc/autoconf.texi (Input): Document it.
9848         * NEWS: Updated.
9850 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
9852         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
9853         -lcrtbegin.o to list of ignored flags and fix underquoting of
9854         -lcrt[01].o.
9856 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
9858         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
9859         cache variable instead of $G77 to decide whether to include -O2,
9860         since $G77 is specific to Fortran 77.
9862 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
9864         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
9865         free" flag.  Re-order flags tested into rough order of popularity.
9867 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
9869         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
9870         arguments so that it can be used with syntax identical to
9871         AC_PROG_F77, and so that we can more easily decide to
9872         remove/deprecate the DIALECT optional argument in the future if it
9873         proves troublesome.
9874         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
9875         non-freeform-supporting compilers.  Document freeform flags.
9877 2003-10-03  Akim Demaille  <akim@epita.fr>
9879         * configure.ac: Look for emacs, not macs.
9880         Reported by Eric Sunshine.
9882 2003-10-03  Akim Demaille  <akim@epita.fr>
9884         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
9885         * bin/autoreconf.in (autoreconf_current_directory): Create the
9886         AUX_DIR if needed, for sake of automake --add-missing etc.
9887         Suggested by Alexandre Duret-Lutz.
9889 2003-10-03  Akim Demaille  <akim@epita.fr>
9891         * configure.ac: Quotation and formatting changes.
9892         (EMACS): Don't set it if it is not recent enough to support
9893         autoconf-mode.el.
9894         From Eric Sunshine.
9896 2003-10-02  Akim Demaille  <akim@epita.fr>
9898         * bin/ifnames.in (&scan_file): Skip C++ comments.
9899         From Jeremy Yallop.
9901 2003-10-01  Pavel Roskin  <proski@gnu.org>
9903         * doc/autoconf.texi (Particular Structure Checks):
9904         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
9906 2003-10-01  Akim Demaille  <akim@epita.fr>
9908         Version 2.57f.
9910 2003-09-30  Paul Eggert  <eggert@twinsun.com>
9912         * lib/Autom4te/XFile.pm: Use Errno.
9913         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
9914         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
9916 2003-09-30  Akim Demaille  <akim@epita.fr>
9918         * config/announce-gen (&print_news_deltas): Extracted from...
9919         (&print_changelog_deltas): here.
9920         (&news_file): Rename as...
9921         (@news_file): this.
9923 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
9925         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
9926         have been created when invoking the compiler.
9927         * tests/fortran.at (GNU Fortran 77): Quote $G77.
9929 2003-09-29  Akim Demaille  <akim@epita.fr>
9931         Version 2.57e.
9933         * config/mkinstalldirs: Upgrade.
9935 2003-09-28  Paul Eggert  <eggert@twinsun.com>
9937         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
9938         Problem reported by Lars J. Aas in
9939         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
9940         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
9941         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
9942         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
9944 2003-09-26  Akim Demaille  <akim@epita.fr>
9946         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
9947         directory for AC_CONFIG_COMMANDS' first argument exists.
9948         This makes valid the invocation of _AC_SRCPATH that follows.
9949         Reported by Eric Sunshine.
9950         * doc/autoconf.texi (Configuration Commands): Adjust.
9952 2003-09-26  Akim Demaille  <akim@epita.fr>
9954         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
9955         Reported by Ralf Corsepius.
9957 2003-09-26  Akim Demaille  <akim@epita.fr>
9959         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
9960         arguments.
9961         Actually, use AU_ALIAS.
9962         From Bruno Haible.
9964 2003-09-26  Paul Eggert  <eggert@twinsun.com>
9966         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
9967         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
9968         Problem reported by Eric Sunshine in:
9969         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
9971 2003-09-26  Akim Demaille  <akim@epita.fr>
9973         The test suite are sometimes assigning timings incorrectly.
9974         Reported by Henk Krus.
9975         Diagnosed by Nicolas Joly.
9977         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
9978         AT_help_all.
9979         Instead of making AT_help a sequence of assignments to grow
9980         $at_help_all, just make AT_help_all be the growing contents of
9981         $at_help_all, and make a single assignment in...
9982         (AT_INIT): here.
9983         (at_times_skip): Flip the meaning and rename as...
9984         (at_times_p): this.
9985         (AT_INIT): When summarizing the test that ran, remove
9986         $at_times_file after use, and check it is present before trying to
9987         use it.
9989 2003-09-25  Akim Demaille  <akim@epita.fr>
9991         Version 2.57d.
9993         * bin/Makefile.am (edit): Handle '@configure_input@'.
9994         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
9995         (ifnames): chmod -w.
9996         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
9997         executables, not bin/ executables!  Otherwise all the magic needed
9998         to find non installed files is turned off.  This caused a failure
9999         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
10000         as found in its environment (sent by tests/autoreconf): pointing
10001         to bin/autom4te that could not find its files.
10002         * tests/mktests.sh: Force the replacement of generated files, for
10003         the sake of "mv" program that are interactive when overwriting a
10004         -w file.
10005         * config/install-sh: Upgrade from CVS Automake.
10007 2003-09-23  Paul Eggert  <eggert@twinsun.com>
10009         * doc/autoconf.texi (Limitations of Builtins): Document test -h
10010         versus test -L issues.
10012 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
10013             Paul Eggert  <eggert@twinsun.com>
10015         Trivial change to support GCC's configuration procedure.
10016         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
10017         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
10018         about inconsistency if the preprocessor is set to give errors for
10019         any warning.
10020         * doc/autoconf.texi (C Compiler Characteristics): Document this.
10022 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
10024         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
10025         and XFile.pm from Automake.
10026         * lib/Autom4te/XFile.pm: Update from Automake.
10028 2003-09-12  Akim Demaille  <akim@epita.fr>
10030         Version 2.57c.
10032 2003-09-12  Akim Demaille  <akim@epita.fr>
10034         * config/config.guess, config/config.sub, config/missing,
10035         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
10036         from masters.
10038 2003-09-12  Akim Demaille  <akim@epita.fr>
10040         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
10041         not asm/types.h.
10043 2003-09-11  Akim Demaille  <akim@epita.fr>
10045         * doc/autoconf.texi (Header Portability): linux/random.h.
10046         From Peter Hendrickson.
10048 2003-09-10  Akim Demaille  <akim@epita.fr>
10050         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
10051         willing to edit the output files.
10053 2003-09-10  Akim Demaille  <akim@epita.fr>
10055         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
10056         and AC_FC_FREEFORM.
10057         * tests/mktests.sh: Skip AC_FC_SRCEXT.
10058         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
10060 2003-09-09  Akim Demaille  <akim@epita.fr>
10062         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
10063         Reported by Gary Vaughan.
10064         * bin/autom4te.in (handle_m4): Likewise.
10066 2003-09-09  Akim Demaille  <akim@epita.fr>
10068         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
10069         trailing files.
10071 2003-09-07  Paul Eggert  <eggert@twinsun.com>
10073         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
10074         Improve the accuracy of the wording about obsolescence.
10075         From a suggestion by Ian Lance Taylor in
10076         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
10078 2003-09-05  Paul Eggert  <eggert@twinsun.com>
10080         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
10081         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
10083 2003-09-04  Akim Demaille  <akim@epita.fr>
10085         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
10086         AC_FUNC_WAIT3.
10088 2003-09-04  Akim Demaille  <akim@epita.fr>
10090         * bin/autom4te.in: Use &fatal where more appropriate than &error.
10091         (freeze): When exiting, use $exit_code.
10092         * lib/autoconf/fortran.m4: Comment changes.
10094 2003-09-04  Akim Demaille  <akim@epita.fr>
10096         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
10098 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
10100         Add support for newer Fortran dialects.  The F77 interface is
10101         unchanged, and continues to support Fortran 77.  New FC macros
10102         correspond to all the old F77 macros, with output variables FC,
10103         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
10104         available dialect, but older dialects can be specified.  There are
10105         new macros AC_FC_SRCEXT to set the source extension, and
10106         AC_FC_FREEFORM to accept free-form source files.
10108         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
10109         New macros.
10110         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
10111         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
10112         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
10113         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
10114         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
10115         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
10116         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
10117         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
10118         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
10119         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
10120         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
10121         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
10122         AC_FC_SRCEXT, AC_FC_FREEFORM):
10123         New macros.
10124         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
10125         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
10126         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
10127         Rewrite in terms of the above.
10128         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
10129         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
10130         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
10131         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
10133 2003-09-02  Paul Eggert  <eggert@twinsun.com>
10135         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
10136         Document problems with timestamp resolution that 'make', 'cp -p', and
10137         'touch -r' have.
10139 2003-08-27  Akim Demaille  <akim@epita.fr>
10141         * tests/m4sugar.at (cross_warning): Make sure to enable the
10142         output, so that we can track spurious m4sugar output.
10143         * tests/local.at: Require 2.57.
10144         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
10145         are defaulted by AT_CHECK anyway.
10146         Use AT_CHECK_AUTOM4TE.
10147         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
10148         missing dnl.
10150 2003-08-27  Akim Demaille  <akim@epita.fr>
10152         * bin/autoheader.in: Issue the "Using auxiliary..." message only
10153         when -Wobsolete is set.
10154         Set it on by default.
10155         Suggested by Klee Dienes.
10157 2003-08-27  Akim Demaille  <akim@epita.fr>
10159         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
10160         documentation.
10161         From Guido Draheim.
10163 2003-08-26  Akim Demaille  <akim@epita.fr>
10165         * doc/autoconf.texi (Output): Make clear that one can run code
10166         after AC_OUTPUT.
10168 2003-08-25  Akim Demaille  <akim@epita.fr>
10170         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
10171         CVS Bison.
10173 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
10175         * bin/autoreconf.in (parse_args): Do not pass --no-force to
10176         Automake versions prior to 1.8.
10178 2003-08-25  Akim Demaille  <akim@epita.fr>
10180         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
10181         From Ville Karaila.
10183 2003-08-24  Akim Demaille  <akim@epita.fr>
10185         * configure.ac: Bump to 2.57c.
10187 2003-08-22  Akim Demaille  <akim@epita.fr>
10189         Version 2.57b.
10191         * Makefile.cfg (local-checks-to-skip): New.
10192         * Makefile.maint (local-check): Rename as...
10193         (local-checks-available): this.
10194         (local-check): New.
10196         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
10197         * configure.ac: Require Automake 1.7.6.
10199 2003-08-22  Akim Demaille  <akim@epita.fr>
10201         Output stack traces in warnings.
10203         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
10204         Replace the former...
10205         (m4_warn): Pass the call stack to _m4_warn.
10206         * bin/autom4te.in: Adjust to output the call stack.
10207         * tests/m4sugar.at (m4@&t@_warn): Adjust.
10209 2003-08-22  Akim Demaille  <akim@epita.fr>
10211         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
10212         * bin/autom4te.in: Adjust.
10214 2003-08-21  Akim Demaille  <akim@epita.fr>
10216         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
10217         (&verbose): Remove.
10218         (&getopt): Adjust the note and verb channels, depending upon
10219         --verbose.
10220         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
10221         * bin/autoupdate.in: Adjust.
10222         Use &verb, not &verbose.
10224 2003-08-21  Akim Demaille  <akim@epita.fr>
10226         * bin/autoheader.in (&parse_args): Use &parse_warnings and
10227         &parse_WARNINGS.
10228         ($help): Use Autom4te::ChannelDefs::usage.
10229         * bin/autoscan.in: Use Autom4te::ChannelDefs.
10230         * lib/Autom4te/General.pm: Don't export error: you don't own it.
10232 2003-08-21  Akim Demaille  <akim@epita.fr>
10234         First stab at preserving warnings between calls to autom4te,
10235         including when the cache is used.
10237         There are still several issues: (i) there are too many runs of m4
10238         (one for include, one for warnings, and some more), (ii) warnings
10239         spreading on several lines are not handled gracefully, (iii) the
10240         code meant to have the call stack display for errors does not work
10241         (its handling should move from m4 to autom4te).
10243         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
10244         Use them.
10245         (@preselect): Add m4_warn.
10246         ($exit_status): Remove, use $exit_code.
10247         ($help): Use Autom4te::ChannelDefs::usage.
10248         (&handle_m4): No longer define the m4_warnings.
10249         At each run, extract and report the warnings.
10250         Always cache the result, including if the exit status is on
10251         failure, since if nothing changes, we should result in the same
10252         failure, hence we can use the cache.
10253         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
10254         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
10255         Remove.
10256         (m4_warn): Redefine as a do-nothing: it is its invocation that
10257         matters, as warnings are now reported via traces.
10258         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
10259         the contents of m4_warn: make it _call_ m4_warn, so that tracing
10260         the latter reveals calls to the former.
10262         Adjust the tests.
10264         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
10266 2003-08-21  Akim Demaille  <akim@epita.fr>
10268         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
10269         Use them.
10271 2003-08-21  Akim Demaille  <akim@epita.fr>
10273         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
10274         forward order.
10275         * lib/Autom4te/ChannelDefs.pm: Doc typos.
10276         (&parse_warnings): Accept a list of warning requests.
10277         (&usage): Return a string, not a side effect.
10278         (cross): New warning category.
10280 2003-08-21  Akim Demaille  <akim@epita.fr>
10282         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
10283         (&require_configure_ac): Accept an optional directory argument.
10284         ($configure_ac): Remove.
10285         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
10286         (&catfile): Remove.
10287         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
10288         * bin/autoscan.in: Adjust.
10290 2003-08-20  Akim Demaille  <akim@epita.fr>
10292         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
10293         Reported by Alexandre Duret-Lutz.
10295 2003-08-20  Akim Demaille  <akim@epita.fr>
10297         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
10298         * bin/autom4te: Adjust.
10299         In particular, be Autoconf tools are really silent when properly
10300         working, bind the verbosity of the 'note' channel to $verbose.
10301         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
10302         (&xsystem, &contents): Remove, since they are exported by...
10303         * lib/Autom4te/FileUtils.pm: this.
10304         More perldoc.
10305         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
10306         * lib/Autom4te/FileUtils.pm: here.
10308 2003-08-20  Akim Demaille  <akim@epita.fr>
10310         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
10311         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
10312         from CVS Automake.
10314 2003-08-20  Akim Demaille  <akim@epita.fr>
10316         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
10317         (autom4te-update): New.
10318         * Makefile.cfg (update): Bind autom4te-update.
10320 2003-08-19  Derek Price  <derek@ximbiot.com>
10322         * lib/autotest/general.m4: Comment various HELP_* diversions.
10323         (PARSE_ARGS_BEGIN): New section for option parsing related
10324         initialization.
10325         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
10326         package specific options and associated help.
10328 2003-08-19  Akim Demaille  <akim@epita.fr>
10330         * config/announce-gen, Makefile.cfg: New.
10331         * Makefile.am: Adjust.
10332         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
10334 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
10336         * lib/autom4te.in (Automake-preselections): Preselect
10337         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
10338         and m4_sinclude.
10340 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
10342         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
10343         (Autoconf-without-aclocal-m4): ... this new language.
10344         * doc/autoconf.texi (autom4te Invocation): Mention
10345         Autoconf-without-aclocal-m4.
10347 2003-08-18  Derek Price  <derek@ximbiot.com>
10349         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
10350         RUN-IF-PASS optional arguments.
10352 2003-08-18  Derek Price  <derek@ximbiot.com>
10354         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
10356 2003-08-16  Derek Price  <derek@ximbiot.com>
10358         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
10359         STDOUT & STDERR arguments.
10361 2003-08-14  Derek Price  <derek@ximbiot.com>
10363         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
10364         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
10365         shorter column three.  Add DESCRIPTION to log file content.
10367 2003-08-13  Derek Price  <derek@ximbiot.com>
10369         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
10370         output.
10372 2003-08-12  Derek Price  <derek@ximbiot.com>
10374         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
10375         (AT_CHECK_NOESCAPE): Move core functionality to...
10376         (_AT_CHECK): ...this new macro.
10378 2003-08-07  Derek Price  <derek@ximbiot.com>
10380         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
10381         (AT_CHECK_NOESCAPE): ...to this new macro.
10383 2003-07-31  Paul Eggert  <eggert@twinsun.com>
10385         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
10386         in Bash 2.01.  Problem reported by Brian Gough in
10387         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
10389 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
10391         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
10392         -lcrt1.o, for OS X.  (trivial change)
10394 2003-07-07  Paul Eggert  <eggert@twinsun.com>
10396         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
10397         inside '#ifndef __cplusplus'.  Problem reported by
10398         Bob Friesenhahn.
10400 2003-07-06  Bill Clarke  <llib@computer.org>
10402         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
10403         'long', not 'int', for benefit of Sun's recent C++ compilers
10404         (trivial change).  See:
10405         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
10406         (This really should be 'intptr_t', not 'long', but that would
10407         take more work.)
10409 2003-06-25  Akim Demaille  <akim@epita.fr>
10411         * lib/Makefile.am (autom4te.cfg): Make it read only.
10412         Depend on Makefile since it contains substitutions.
10413         From Paolo Bonzini.
10414         * lib/autom4te.in (args): Add local.at? for Autotest args.
10415         This change was made on autom4te.cfg which is generated.
10416         Reported by Raja R. Harinath.
10418 2003-06-25  Akim Demaille  <akim@epita.fr>
10420         * doc/autoconf.texi (Header Portability): sys/mount.h.
10421         From Gareth McCaughan.
10423 2003-06-23  Akim Demaille  <akim@epita.fr>
10425         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
10426         not all of them.  This fixes 1. the fact that when testing
10427         Autoconf there are many many config.log, 2. the incorrect use of
10428         top_srcdir to find config.log.
10429         Don't mix the detailed output of failed test with the summary of
10430         failures.  Rather, append detailed log afterwards.
10432 2003-06-23  Akim Demaille  <akim@epita.fr>
10434         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
10435         always run: output config.log on $at_group_log.
10437 2003-06-23  Akim Demaille  <akim@epita.fr>
10439         * tests/torture.at (#define header templates): Don't use quotes in
10440         C++ comments as it puzzles Emacs' sh font-lock-mode.
10442 2003-06-23  Akim Demaille  <akim@epita.fr>
10444         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
10445         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
10446         * tests/atspecific.m4: Rename as...
10447         * tests/local.at: This.
10448         * tests/suite.at: Move the globals into...
10449         * tests/local.at: here.
10450         * tests/Makefile.am: Adjust.
10451         * doc/autoconf.texi (testsuite Scripts): Adjust.
10453 2003-06-21  Kevin Ryde  <user42@zip.com.au>
10455         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
10456         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
10457         ensuring we add -std1 for full-ANSI.
10459         * doc/autoconf.texi (hdrindex): New macro.
10460         Add index entries for portability of various standard header files.
10462 2003-06-20  Akim Demaille  <akim@epita.fr>
10464         * configure.ac: Bump to 2.57b.
10466 2003-06-20  Akim Demaille  <akim@epita.fr>
10468         Version 2.57a.
10470 2003-06-20  Akim Demaille  <akim@epita.fr>
10472         * bin/autom4te.in: Don't rely on $HOME being defined.
10473         Reported by Marc Espie as PR/233.
10475 2003-06-20  Akim Demaille  <akim@epita.fr>
10477         * lib/autotest/general.m4: Use at_times_file only if used.
10478         From Nicolas Joly.
10480 2003-06-20  Akim Demaille  <akim@epita.fr>
10482         * config/config.guess, config/config.sub, config/elisp-comp,
10483         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
10484         Update from masters.
10486 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
10488         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
10489         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
10490         (TEST_SCRIPT): New diversion.
10491         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
10492         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
10493         (AT_INIT): Support for expected failures.
10495 2003-06-02  Akim Demaille  <akim@epita.fr>
10497         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
10498         changes.
10499         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
10500         Autoconf nor Automake.
10501         (&contents): New, from Automake.
10502         PODify.
10504 2003-05-28  Paul Eggert  <eggert@twinsun.com>
10506         * NEWS, doc/autoconf.texi (Particular Functions),
10507         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
10508         is the inverse of localtime.
10510 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
10512         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
10513         (handle_exec_errors): New function.  Work around $! being
10514         altered by WEXITSTATUS.
10515         (xqx, xsystem): Use handle_exec_errors.
10517 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
10519         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
10520         Do not call `_exit()', simply modify `$?'.
10521         (xsystem): Reset $! before running system, and check it afterward.
10522         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
10523         63 for version mismatches.
10525 2003-05-23  Akim Demaille  <akim@epita.fr>
10527         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
10528         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
10529         the middle of a line).
10530         * lib/m4sugar/m4sugar.m4: Likewise.
10531         Remove useless spaces in comments.
10533 2003-05-23  Akim Demaille  <akim@epita.fr>
10535         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
10536         exit 63, so that we (or Automake's "missing") can tell the
10537         difference with a plain failure.
10538         * doc/autoconf.texi (Notices): Adjust.
10540 2003-05-23  Akim Demaille  <akim@epita.fr>
10542         * Makefile.am, bin/Makefile.am, config/Makefile.am,
10543         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
10544         White spaces cleanup.
10546 2003-05-22  Jim Meyering  <jim@meyering.net>
10547             Paul Eggert  <eggert@twinsun.com>
10549         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
10550         Remove `#include <stdlib.h>' from the list; we should never
10551         make confdefs.h include <stdlib.h> or <cstdlib>, because the
10552         resulting namespace pollution would cause other tests to fail.
10553         Configure scripts run with some older versions of g++ and HP's
10554         aCC would fail due to such an #include.  Problems reported by
10555         Matthew Mueller in <http://bugs.debian.org/120704> and by
10556         Keith Bostic in
10557         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
10558         In the test, use the test declaration before including <stdlib.h>,
10559         as that's closer to how it'll be used.
10561 2003-05-23  Akim Demaille  <akim@epita.fr>
10563         * doc/autoconf.texi (Header Portability): ucred.h.
10564         From Ian Redfern.
10566 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
10568         Overhaul Autotest's logging: generate separate log files
10569         in testsuite.dir/NNN/testsuite.log, and append them to
10570         testsuite.log instead of re-running the test verbosely.
10572         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
10573         file descriptor, write 0 to at_status_file instead of setting
10574         at_status=0, initialize some new variables (at_status_file,
10575         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
10576         to rerun the tests, instead append the at_group_log to the
10577         at_suite_log when a test fails.
10578         (AT_SETUP): pipe the test case's output into at_tee_pipe,
10579         with the AS_MESSAGE_LOG_FD redirected to stdout.
10580         (AT_CLEANUP): save the output status in $at_status_file
10581         and restore it, redirect the AS_MESSAGE_LOG_FD back to
10582         its original place.
10583         (AT_CHECK): since tests are run with a redirected stdout,
10584         and used to be re-run in verbose mode, turn some $at_verbose
10585         into echo, and don't redirect the output of testing stdout
10586         and stderr.
10588         * lib/autotest/autoconf.texi (testsuite Scripts): Update
10589         the name of the debugging directory and information about
10590         its contents.
10592 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
10594         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
10595         parameter.
10597 2003-05-22  Akim Demaille  <akim@epita.fr>
10599         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
10600         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
10601         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
10602         * lib/autoconf/status.m4: Fix and adjust copyright notices.
10604 2003-05-22  Akim Demaille  <akim@epita.fr>
10606         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
10607         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
10608         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10609         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
10610         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
10611         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
10612         * lib/autoconf/status.m4, lib/autoconf/types.m4,
10613         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
10614         * tests/atspecific.m4, tests/base.at, tests/compile.at,
10615         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
10616         * tests/tools.at, tests/torture.at:
10617         Whitespace clean up.
10618         Suggested by Jim Meyering.
10620 2003-05-22  Akim Demaille  <akim@epita.fr>
10622         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
10623         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
10624         Reported by Jim Meyering.
10626 2003-05-22  Akim Demaille  <akim@epita.fr>
10628         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
10629         Add AC_HELP_STRING  to the obsolete macros section.
10630         Typos.
10631         Use '@.' for sentences that ended in a capital letter.
10632         From Art Haas.
10634 2003-05-22  Akim Demaille  <akim@epita.fr>
10636         * config/config.guess, config/config.sub, config/elisp-comp,
10637         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
10638         * config/texinfo.tex, doc/standards.texi: Update from masters.
10640 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
10642         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
10643         it to eval.
10645 2003-05-21  Akim Demaille  <akim@epita.fr>
10647         * bin/autoupdate.in ($m4): Fix quotation.
10648         Reported by Martin Mokrejs.
10650 2003-05-19  Paul Eggert  <eggert@twinsun.com>
10652         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
10653         Remove non-ASCII characters.
10655 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
10657         * tests/semantics.at (AC_SEARCH_LIBS): New test.
10658         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
10659         AC_CHECK_HEADERS_NEW): New tests.
10661 2003-05-17  Akim Demaille  <akim@epita.fr>
10663         * lib/autoconf/functions.m4: Use the default includes so that
10664         memcmp be declared before being tested.
10665         Reported by Sander Niemeijer.
10666         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
10667         * doc/autoconf.texi (Default Includes): Document
10668         AC_INCLUDES_DEFAULT.
10670 2003-05-17  Akim Demaille  <akim@epita.fr>
10672         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
10673         * doc/autoconf.texi (Obsolete Macros): Adjust.
10674         Reported by Werner LEMBERG and Debian Bug 190886.
10676 2003-05-16  Akim Demaille  <akim@epita.fr>
10678         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
10679         user name space clashes.
10680         Reported by Bruno Haible.
10682 2003-05-16  Akim Demaille  <akim@epita.fr>
10684         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10685         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
10686         them uniform, and more robust to Perl special characters.
10687         Reported by Martin Mokrejs.
10689 2003-05-14  Akim Demaille  <akim@epita.fr>
10691         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
10693 2003-05-14  Akim Demaille  <akim@epita.fr>
10695         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
10696         linux/irda.h.
10698 2003-05-12  Akim Demaille  <akim@epita.fr>
10700         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
10701         message.
10702         From Matthias Andree.
10704 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
10706         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
10707         and truncate.
10709 2003-05-06  Akim Demaille  <akim@epita.fr>
10711         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
10712         longer updates aclocal.m4 if useless, (ii) if a file m4_included
10713         by aclocal.m4 is changed it might require the importing of another
10714         m4 extension file, i.e., aclocal must be run.
10716         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
10717         (&parse_args): Use --force with aclocal if required and supported.
10718         (&autoreconf_current_directory): Use &run_aclocal.
10720 2003-05-06  Akim Demaille  <akim@epita.fr>
10722         Lock autom4te's cache.
10724         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
10725         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
10726         argument instead of a file name, so that the request file remains
10727         open during the whole autom4te run.
10728         ($icache_file): New.
10729         (&freeze): Lock the $icache_file.
10731 2003-04-29  Derek Price  <derek@ximbiot.com>
10733         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
10734         seperator with m4_append_uniq().  It doesn't work.
10735         (AT_CLEANUP): Add `;' to end of at_help_all.
10736         (AT_INIT): Allow --keywords to be specified more than once.  When
10737         grepping $at_help_all for keywords, use the field and keyword
10738         seperators to ensure a complete keyword match.  Alter at_prev handling
10739         to support the new --keywords behavior.
10741 2003-04-27  Karl Berry  <karl@freefriends.org>
10743         * doc/autoconf.texi: Make the dir entries in the autoconf manual
10744         align better with others.  I also made some of the individual
10745         entries on one line, for brevity and to make it easier for me to
10746         sort my dir-example file in the Texinfo distribution :).
10748 2003-04-12  Jim Meyering  <jim@meyering.net>
10750         * NEWS: Mention the new macro.
10751         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
10752         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
10753         * tests/c.at: Test AC_C_RESTRICT.
10754         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
10756 2003-04-08  Akim Demaille  <akim@epita.fr>
10758         * bin/ifnames.in: Skip C++ comments.
10759         From Jeremy Yallop.
10761 2003-04-08  Akim Demaille  <akim@epita.fr>
10763         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
10764         From Ilya Zakharevich.
10766 2003-04-08  Akim Demaille  <akim@epita.fr>
10768         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
10769         net/if.h, stdlib.h.
10771 2003-04-01  Derek Price  <derek@ximbiot.com>
10773         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
10774         from Akim's checkin of 2003-03-29.
10776 2003-04-01  Derek Price  <derek@ximbiot.com>
10778         * tests/torture.at (Configuring subdirectories): Add missing
10779         close-quote for Akim's change from 2003-03-28.
10781 2003-04-01  Akim Demaille  <akim@epita.fr>
10783         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
10784         (AC, AT, MS): these.
10785         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
10786         New.
10787         Use them.
10788         * doc/Makefile.am (CLEANFILES): Adjust.
10789         (TEXI2DVI): Make it --batch.
10791 2003-03-31  Derek Price  <derek@ximbiot.com>
10793         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
10794         which removed the main loop.
10795         Thanks to Akim Demaille.
10797 2003-03-29  Akim Demaille  <akim@epita.fr>
10799         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
10800         that starts a GUI.
10801         From Ilya Zakharevich.
10803 2003-03-29  Akim Demaille  <akim@epita.fr>
10805         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
10806         documentation to read is Autoconf's.
10807         Suggested by Paul Eggert.
10809 2003-03-28  Akim Demaille  <akim@epita.fr>
10811         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
10812         reading the section "Present But Cannot Be Compiled" when the
10813         header causes problems.
10815 2003-03-28  Akim Demaille  <akim@epita.fr>
10817         * tests/torture.at (Configuring subdirectories): Require aclocal
10818         1.4, otherwise the test fails, as it does support configure.ac.
10819         This fixes the "test 40 failed" bug reports.
10821 2003-03-28  Akim Demaille  <akim@epita.fr>
10823         * doc/autoconf.texi (C Compiler): `#line' portability.
10824         From Paul Eggert and Nelson H. F. Beebe.
10826 2003-03-27  Derek Price  <derek@ximbiot.com>
10828         * lib/autotest/general.m4: Eliminate main loop and reorganize test
10829         layout in order to allow scripting around test groups.
10831 2003-03-27  Derek Price  <derek@ximbiot.com>
10833         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
10834         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
10835         use new diversions in preparation for accepting new arguments and
10836         allowing scripting around tests.
10837         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
10839 2003-03-26  Derek Price  <derek@ximbiot.com>
10841         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
10842         obsolete AC_HELP_STRING.
10843         (AC_HELP_STRING): AU_DEFUN to...
10844         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
10845         * tests/m4sh.at (AS_HELP_STRING): New test.
10847         * tests/acgeneral.at: Regenerated.
10849 2003-03-26  Derek Price  <derek@ximbiot.com>
10851         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
10852         sense.  Verbosify the diversion definitions comment.
10854 2003-03-26  Derek Price  <derek@ximbiot.com>
10856         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
10857         AS_PREPARE.
10859 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
10861         * doc/autoconf.texi (Present But Cannot Be Compiled):
10862         Grammar fixes and minor rewording. (trivial change)
10864 2003-03-06  Paul Eggert  <eggert@twinsun.com>
10866         Work around a problem noted by Nelson H. F. Beebe with coreutils
10867         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
10868         2002/05/09) rejects '#line 32768 "configure"' because the line
10869         number overflows.
10870         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
10871         #line directives.
10872         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
10873         * doc/autoconf.texi (Generating Sources): Document this.
10875 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
10877         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
10878         file name for the m4 program, when it has an "exe" file extension.
10879         DJGPP's error messages include the error code in brackets -
10880         remove the error code during normalization.
10882 2003-02-28  Akim Demaille  <akim@epita.fr>
10884         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
10886 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
10888         * doc/autoconf.texi (Limitations of Make): Remove the section
10889         about `$<' in inference rules, it was a bogus interpretation of
10890         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
10891         Tru64 make in the "target lookup" section.
10892         (Automake): Automake 1.5+ no longer requires special tools to be
10893         present on the developer's host.
10895 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
10897         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
10898         to a shell that can handle redirection or quoting correctly.
10899         Override SHELL with the shell detected by configure.
10900         Use of $^O suggested by Tim van Holder.
10901         * bin/autom4te.in (BEGIN): Likewise.
10902         * bin/autoreconf.in (BEGIN): Likewise.
10903         * bin/autoscan.in (BEGIN): Likewise.
10904         * bin/autoupdate.in (BEGIN): Likewise.
10905         * bin/ifnames.in (BEGIN): Likewise.
10907         * bin/ifnames.in: Add final newline to help and version messages.
10909         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
10910         to cope with DOS-style absolute paths, when constructing
10911         ${ac_make}.
10913         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
10914         When constructing paths with IFS=:, quote the path. If we're
10915         constructing a DOS-style absolute path, we don't want to split it
10916         on the colon.
10918         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
10919         in description.
10921 2003-02-25  Pavel Roskin  <proski@gnu.org>
10923         * bin/autoheader.in: Add missing newline when printing
10924         suggestion how change AC_DEFINE call.
10926 2003-02-24  Paul Eggert  <eggert@twinsun.com>
10928         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
10929         2002-09-01 patch by replacing "test -n" with "test -z".
10930         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
10931         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
10933         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
10934         to fix a mismatch between example and discussion.
10936 2003-02-24  Kevin Ryde  <user42@zip.com.au>
10938         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
10939         format starting with "-".
10941 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
10943         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
10944         is not portable inside Makefile.
10946 2003-02-20  Akim Demaille  <akim@epita.fr>
10948         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
10949         compiler says yeah, but preproc says nope, compiler is right.
10950         Conversely, prompt the reader to send a bug report to the
10951         maintainers of the package, not of Autoconf.
10953 2003-02-20  Klee Dienes  <kdienes@apple.com>
10955         * bin/autoreconf.in (autoreconf_current_directory): Properly
10956         handle an empty aclocal.m4.
10958 2003-02-20  Akim Demaille  <akim@epita.fr>
10960         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
10961         $ac_prefix_program.
10962         From Larry Jones.
10964 2002-12-23  Paul Eggert  <eggert@twinsun.com>
10966         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
10967         innocuous variant befor including <limits.h> or <assert.h>.  This
10968         works around a bug reported by Albert Chin: HP-UX 11i
10969         (and earlier versions) have a <limits.h> that declares
10970         gettimeofday and many other functions.
10972 2002-12-03  Paul Eggert  <eggert@twinsun.com>
10974         Version 2.57.
10976         * NEWS, configure.ac: Update version.
10978         * doc/fdl.texi: Upgrade to FDL version 1.2.
10980         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
10981         nontrivially in main's body, so that f's external declaration is
10982         not optimized away in AIX.  This should fix the bug reported by
10983         Martin Frydl in
10984         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
10986         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
10987         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
10988         defined, to support freestanding compilers.  This should fix the
10989         bug reported by Momchil Velkov in
10990         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
10992         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
10993         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
10994         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
10995         by Simon Josefsson in
10996         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
10998         * Makefile.maint (www-gnu): New macro.
10999         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
11000         the location has moved.
11002 2002-12-02  Martin Frydl  <martin@systinet.com>
11004         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
11005         \(.*\) match is too long and there is something more to be checked.
11006         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
11008 2002-11-15  Akim Demaille  <akim@epita.fr>
11010         Version 2.56.
11012         * config/install-sh: chmod +x.
11013         From Paul Eggert.
11014         * config/move-if-change: Indenting changes.
11015         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
11016         * configure.ac (AM_INIT_AUTOMAKE): here.
11017         Require 1.7.1.
11019 2002-11-14  Akim Demaille  <akim@epita.fr>
11021         Version 2.55.
11023         * config/config.guess, config/config.sub, config/install-sh:
11024         Update from masters.
11026 2002-11-14  Akim Demaille  <akim@epita.fr>
11028         * Makefile.maint: Sync with Bison, i.e.:
11029         (po-check): Scan .l and .y files instead of the
11030         .c and the .h files that they generate.  This fixes the bug
11031         reported by Tim Van Holder in:
11032         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
11033         Look for N_ as well as for _.  Try to avoid matching #define for
11034         N_ and _.
11035         From Paul Eggert.
11037 2002-11-14  Akim Demaille  <akim@epita.fr>
11039         * doc/autoconf.texi (C Compiler): Compiling several files at once.
11040         From Paul Eggert and Albert Chin-A-Young.
11042 2002-11-14  Akim Demaille  <akim@epita.fr>
11044         * doc/autoconf.texi (C Compiler): Solitary backslashes.
11045         From Paul Eggert and Albert Chin-A-Young.
11047 2002-11-14  Kevin Ryde  <user42@zip.com.au>
11049         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
11050         than assigning in main, to avoid HP cc +O3 optimizing it away.
11052 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
11054         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
11055         option.  Process --recheck after parsing all options.  Pass -q
11056         option to configure on --recheck.
11057         (AC_OUTPUT): Pass -q from configure to config.status.
11058         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
11059         arguments to record.
11060         * doc/autoconf.texi (config.status Invocation): Document
11061         config.status -q option.
11063 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
11065         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
11066         Makefile.in if Makefile.am exists.
11067         (output): Strip `.am' from Makefiles.  Don't
11068         output AC_CONFIG_FILES if no Makefiles were found.
11070 2002-11-07  Akim Demaille  <akim@epita.fr>
11072         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
11073         (local_updates): New.
11074         * Makefile.maint: Update, from CVS Bison.
11075         (local_updates): New.
11077 2002-11-06  Akim Demaille  <akim@epita.fr>
11079         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
11080         declaration in extern "C" too.
11081         Reported by Roberto Bagnara.
11083 2002-11-06  Akim Demaille  <akim@epita.fr>
11085         * tests/torture.at (Configuring subdirectories): Don't use grep
11086         -w.
11087         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
11088         Reported by Ezra Peisach.
11090 2002-11-05  Akim Demaille  <akim@epita.fr>
11092         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
11093         Remove.
11094         We _have_ to stop using the old compatibility scheme that tried to
11095         avoid useless backslashes because Libtool 1.4.3 contains a
11096         AC_DEFINE([error_t], [int],
11097         [Define to a type to use for \`error_t' if it is not
11098         otherwise available.])
11099         We _have_ to quote the single quote and backslashes with \.  The
11100         old compatibility scheme saw that ` was backslashed, and therefore
11101         did not quote the single quote.  Hence before this patch, Autoconf
11102         was not compatible with Libtool.
11104 2002-11-04  Paul Eggert  <eggert@twinsun.com>
11106         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
11107         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
11108         LC_NAME, LC_PAPER, LC_TELEPHONE.
11109         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
11111 2002-11-04  Akim Demaille  <akim@epita.fr>
11113         Version 2.54c.
11115         * Makefile.maint (update, cvs-update, po-update, do-po-update):
11116         New.
11117         * config/texinfo.tex: Update.
11119 2002-11-03  Akim Demaille  <akim@epita.fr>
11121         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
11122         from...
11123         (&autoreconf): here.
11124         ($help, $make, &parse_args, &autoreconf_current_directory):
11125         Support -m/--make.
11126         * doc/autoconf.texi (autoreconf Invocation): Adjust.
11128 2002-10-31  Bruno Haible  <bruno@clisp.org>
11130         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
11131         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
11132         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
11133         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
11134         to ac_cv_func_realloc_0_nonnull.
11135         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
11137 2002-10-31  Akim Demaille  <akim@epita.fr>
11139         The test suite was no longer checking for trailing envvars and files.
11141         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
11142         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
11144 2002-10-31  Akim Demaille  <akim@epita.fr>
11146         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
11147         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
11148         Make variable, not a shell variable.
11149         Suggested by Bruno Haible.
11151 2002-10-31  Akim Demaille  <akim@epita.fr>
11153         * bin/autom4te.in (load_configuration): Reject #args out of any
11154         language.
11156 2002-10-31  Akim Demaille  <akim@epita.fr>
11158         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
11159         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
11160         (_AC_RUN_IFELSE): Use it.
11161         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
11162         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
11163         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
11164         inline it.
11166 2002-10-30  Akim Demaille  <akim@epita.fr>
11168         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
11169         * doc/autoconf.texi (autom4te Invocation): Adjust.
11170         Suggested by Tim van Holder.
11172 2002-10-29  Paul Eggert  <eggert@twinsun.com>
11174         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
11175         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
11176         Problem reported by Bruno Haible.
11178 2002-10-29  Akim Demaille  <akim@epita.fr>
11180         * doc/autoconf.texi (Header Templates): Put also in words what the
11181         pictures says to assist free style readers.
11182         (Customizing autom4te): s/--cache=/--cache /.
11184 2002-10-29  Akim Demaille  <akim@epita.fr>
11186         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
11187         sys/wait.h.
11188         sparc_address_test returns void.
11189         Use it with an argument, as prototyped.
11190         From Bruno Haible.
11192 2002-10-29  Akim Demaille  <akim@epita.fr>
11194         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
11195         configure.in, not configure.ac.
11196         Reported by Bruno Haible.
11198 2002-10-29  Akim Demaille  <akim@epita.fr>
11200         * tests/torture.at (Deep Package): New test.
11201         (Configuring subdirectories): Don't use a testSubDir as Autotest
11202         now does it itself.
11204 2002-10-29  Akim Demaille  <akim@epita.fr>
11206         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
11207         * doc/autoconf.texi (Invoking autom4te): Rename as...
11208         (autom4te Invocation): this, for consistency with the other nodes.
11210 2002-10-29  Akim Demaille  <akim@epita.fr>
11212         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
11213         Reported by Ralf Corsepius.
11215 2002-10-29  Akim Demaille  <akim@epita.fr>
11217         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
11218         characters is a back as an `obsolete' warning now.
11219         Reported by Ralf Corsepius.
11221 2002-10-28  Akim Demaille  <akim@epita.fr>
11223         * configure.ac: Bump to 2.54c.
11225 2002-10-28  Akim Demaille  <akim@epita.fr>
11227         Version 2.54b.
11229         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
11231 2002-10-28  Akim Demaille  <akim@epita.fr>
11233         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
11234         m4 executable names, and different GNU M4 version.
11235         Reported by Ezra Peisach and Paul Jarc.
11237 2002-10-27  Akim Demaille  <akim@epita.fr>
11239         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
11240         AC_RUN_IFELSE.
11242 2002-10-27  Akim Demaille  <akim@epita.fr>
11244         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
11245         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
11246         Die when a simple Fortran program cannot be compiled.
11247         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
11248         Issue a warning if no function is given.
11250 2002-10-27  Akim Demaille  <akim@epita.fr>
11252         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
11253         Move the documentation of AC_TRY_RUN to...
11254         (Obsolete Macros): here.
11255         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
11256         (autoconf Invocation): Remove the duplicates with `invoking
11257         autom4te'.
11258         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
11259         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
11261 2002-10-27  Akim Demaille  <akim@epita.fr>
11263         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
11264         and AC_LANG_FUNC_LINK_TRY.
11265         (Examining Libraries): Rename as...
11266         (Running the Linker): this.
11267         Document AC_LINK_IFELSE.
11268         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
11269         (Obsolete Macros): here.
11270         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
11271         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
11272         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
11273         * lib/autoconf/headers.m4 (AC_USG): Likewise.
11275 2002-10-27  Akim Demaille  <akim@epita.fr>
11277         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
11279         More `check config.log' messages.
11281         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
11282         * doc/autoconf.texi (Printing Messages): Document it.
11283         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
11284         appropriate.
11285         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
11286         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
11287         (_AC_COMPILER_OBJEXT): Likewise.
11288         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
11289         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
11290         Likewise.
11291         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
11292         Likewise.
11294         Deprecate macros with unusual interfaces.
11296         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
11297         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
11299         Document the new ones, and proper style.
11301         * doc/autoconf.texi (Generating Sources): New.
11302         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
11303         (Examining Declarations): Rename as...
11304         (Running the Preprocessor): this.
11305         Document AC_PREPROC_IFELSE.
11306         (Examining Syntax): Rename as...
11307         (Running the Compiler): this.
11308         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
11309         (Obsolete Macros): Move the definition of AC_TRY_CPP and
11310         AC_TRY_COMPILE here.
11312 2002-10-27  Akim Demaille  <akim@epita.fr>
11314         Move sections around.
11316         * doc/autoconf.texi (Customizing autom4te): Remove a lost
11317         sentence.
11318         Reported by Burno Haible.
11319         (Language Choice): Now the first section of...
11320         (Writing Tests): this section.
11321         Make the introduction less C-centric.
11322         (Guidelines, Test Functions): Move to...
11323         (Writing Test Programs): this new section.
11324         (Test Programs): Merge into...
11325         (Run Time): this.
11327 2002-10-27  Akim Demaille  <akim@epita.fr>
11329         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
11330         autom4te.in that resulted in the need for two `make' runs.
11332 2002-10-27  Akim Demaille  <akim@epita.fr>
11334         * configure.ac: Bump to 2.54b.
11336 2002-10-25  Akim Demaille  <akim@epita.fr>
11338         Version 2.54a.
11340         * Makefile.maint: Update from the Coreutils.
11341         (AMTAR): Remove, obsolete.
11342         (automake_repo): Update to redhat.com.
11343         (cvs_file): New.
11344         Adjust to the fact that ansi2knr is now hosted by Automake.
11345         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
11346         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
11347         Update from masters.
11348         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
11349         autoscan.pre is not to be installed, and autoscan.list is not to
11350         be shipped.
11351         (CLEANFILES): Add autoscan.list.
11352         (autoscan.list): Disable the cache.
11353         * bin/Makefile.am: Include freeze.mk.
11355 2002-10-25  Akim Demaille  <akim@epita.fr>
11357         * bin/autom4te.in (&load_configuration): Take the file as
11358         argument.
11359         (&parse_args): Handle -C, --cache.
11360         ($help): Adjust.
11361         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
11362         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
11363         * doc/autoconf.texi (Invoking autom4te): Document --cache.
11364         Now a subsection of...
11365         (Using autom4te): This new section.
11366         (Customizing autom4te): New.
11367         (autom4te.cache): Adjust.
11369 2002-10-25  Akim Demaille  <akim@epita.fr>
11371         * doc/autoconf.texi (Generic Headers): More information on how to
11372         use AC_CHECK_HEADERS.
11374 2002-10-25  Akim Demaille  <akim@epita.fr>
11376         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
11377         Space changes.
11379 2002-10-25  Akim Demaille  <akim@epita.fr>
11381         * bin/autoscan.in (output): Output AC_PREREQ.
11382         (%needed_macros): Add AC_PREREQ so that configure.ac without one
11383         be reported.
11385 2002-10-23  Akim Demaille  <akim@epita.fr>
11387         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
11388         document _Bool.
11390 2002-10-23  Akim Demaille  <akim@epita.fr>
11392         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
11393         Reported by Peter Eisentraut.
11395 2002-10-23  Akim Demaille  <akim@epita.fr>
11397         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
11398         type _Bool.
11399         Fix a typo.
11400         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
11401         Eggert's recommandations.
11403 2002-10-22  Akim Demaille  <akim@epita.fr>
11405         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
11406         Bison, by Paul Eggert.
11407         * doc/autoconf.texi (Particular Headers): Document it.
11409 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
11411         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
11412         `$ac_configure_args'.
11414 2002-10-22  Akim Demaille  <akim@epita.fr>
11416         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
11417         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
11418         From Art Haas.
11420 2002-10-22  Akim Demaille  <akim@epita.fr>
11422         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
11424         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
11425         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
11426         (_AC_CHECK_HEADER_NEW): Rename as...
11427         (AC_CHECK_HEADER): this.
11429 2002-10-22  Akim Demaille  <akim@epita.fr>
11431         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
11432         words about HP-UX cmp: it was actually a user-written cmp.
11434 2002-10-22  Akim Demaille  <akim@epita.fr>
11436         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
11437         are a few warnings.
11438         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
11439         Quote for Perl '' strings, not "".
11440         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
11441         strings.
11443 2002-10-22  Akim Demaille  <akim@epita.fr>
11445         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
11446         characters is a syntax warning now.
11447         (_AS_QUOTE): Accept $2 as list of characters to quote.
11448         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
11449         Quote for Perl, not sh.
11450         * bin/autoheader.in: When $debug, report the file which is
11451         `do'ne.
11452         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
11453         `@', to tickle Perl's lists.
11454         Reported by Carlos Velasco.
11456 2002-10-18  Akim Demaille  <akim@epita.fr>
11458         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
11459         missing included files _are_ errors.
11460         Thanks to Alexandre Duret-Lutz.
11461         * tests/tools.at (autom4te cache): Adjust.
11462         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
11463         (AT_CHECK_M4SUGAR): Use it.
11464         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
11465         Adjust.
11466         * tests/tools.at (autom4te): Now it does exit 1.
11468 2002-10-17  Akim Demaille  <akim@epita.fr>
11470         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
11471         Fixes the `AC_ARG_VAR' test failures.
11472         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
11473         * lib/freeze.mk (check-forbidden-patterns): New.
11474         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
11475         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
11476         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
11477         /dev/null.
11478         Reported months ago by H. Merijn Brand.
11480 2002-10-17  Akim Demaille  <akim@epita.fr>
11482         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
11484 2002-10-16  Paul Eggert  <eggert@twinsun.com>
11486         * Makefile.maint (wget_files): Remove ansi2knr.c.
11487         (ansi2knr.c-url_prefix): Remove.
11489 2002-10-16  Akim Demaille  <akim@epita.fr>
11491         Because of caching, some files that no longer exist and are no
11492         longer required can still cause errors.
11493         Reported by Alexandre Duret-Lutz.
11495         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
11496         to frozen files in @ARGV, as @ARGV must remain being a list of
11497         files.  Rather, at M4 call sites, use this...
11498         (&files_to_options): New function.
11499         (&freeze): Use &error.
11500         (&up_to_date): If a file that was included according to the cache
11501         is no longer there, then the output is out dated.
11502         (&main): Don't even check whether a file is up to date is anyway
11503         --force is given.
11504         * tests/tools.at (autom4te cache): New.
11506 2002-10-16  Akim Demaille  <akim@epita.fr>
11508         * bin/autoconf.as: Kill dead options.
11509         * bin/autoupdate.in (&parse_args): Kill old options.
11510         * bin/autoreconf.in (&parse_args): Remove dead options.
11511         Factor some code.
11512         (&autoreconf): Report the directories we enter *and leave*, so
11513         that error messages can be easily located, and use GNU Make
11514         format, so that Emacs' compile mode understands us.
11515         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
11516         if some file was changed instead of `print'.
11517         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
11518         (&parse_args): Remove the dead options.
11519         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
11520         autoheader's quiet mode.
11521         (AT_CHECK_AUTOUPDATE): Likewise.
11522         * tests/tools.at (autoupdate): Adjust.
11523         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
11525 2002-10-11  Akim Demaille  <akim@epita.fr>
11527         No longer use CPP to check for the existing of headers: use CC to
11528         check for compilability.
11530         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
11531         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
11532         (_AC_CHECK_HEADER_NEW): Rename as...
11533         (AC_CHECK_HEADER): this.
11535         * lib/autotest/general.m4 (AT_INIT): Include the failed test
11536         numbers in the Subject suggestion.
11538 2002-10-11  Akim Demaille  <akim@epita.fr>
11540         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
11541         Suggest using AC_CHECK_DECLS instead.
11543 2002-10-11  Akim Demaille  <akim@epita.fr>
11545         * tests/torture.at (AC_ARG_VAR): Have configure report the value
11546         of `precious'.
11548 2002-10-11  Akim Demaille  <akim@epita.fr>
11550         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
11551         file name to enable parallel executions.
11552         From Sam Varshavchik.
11554 2002-10-08  Akim Demaille  <akim@epita.fr>
11556         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
11557         aclocal invocation, as Gettext macros might not be visible to
11558         aclocal.
11559         Instead of blindly running autopoint, scan configure.ac (not the
11560         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
11561         Reported by Paul D. Smith.
11563 2002-10-08  Paul Eggert  <eggert@twinsun.com>
11565         Work around problems found when POSIXLY_CORRECT=1 is set.
11566         None of this seems to have anything to do with POSIX, really,
11567         but it's how Perl getopt works.
11568         * bin/autom4te.in (parse_args): Configure GetOpt with
11569         "permute", too.
11570         * doc/autoconf.texi (Invoking autom4te):
11571         --warning -> --warnings.
11572         * lib/autom4te.in: --warning -> --warnings.
11574 2002-09-28  Akim Demaille  <akim@epita.fr>
11576         * doc/autoconf.texi (autom4te.cache): New section.
11578 2002-09-28  Akim Demaille  <akim@epita.fr>
11580         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
11581         (Automake-preselections): Update.
11582         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
11584 2002-09-28  Akim Demaille  <akim@epita.fr>
11586         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
11587         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
11588         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
11589         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
11591 2002-09-28  Akim Demaille  <akim@epita.fr>
11593         * tests/torture.at (Configuring subdirectories): Be robust to
11594         users who use config.site to require for a cache: in this case,
11595         the two last configure runs, using two different sets of
11596         arguments, trigger a legitimate error.
11598 2002-09-28  Akim Demaille  <akim@epita.fr>
11600         * tests/m4sh.at (Functions Support, Functions and return Support):
11601         New.
11603 2002-09-28  Akim Demaille  <akim@epita.fr>
11605         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
11606         autoheader are Perl programs.
11607         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
11608         (autom4te): Specify that the sources are in the $srcdir.
11609         * doc/autoconf.texi (Installation Directory Variables): Adjust.
11611 2002-09-28  Akim Demaille  <akim@epita.fr>
11613         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
11614         (tm_zone): Move their rules to...
11615         * lib/autoconf/types.m4: here, using AN_ macros.
11616         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
11617         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
11618         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
11619         * lib/autoconf/programs.m4: here.
11620         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
11621         (ETAGS_FOR_AUTOCONF): New.
11622         Use it.
11624 2002-09-28  Akim Demaille  <akim@epita.fr>
11626         * lib/autoconf/autoscan.m4: New file.
11627         * lib/autoconf/autoconf.m4: Include it.
11628         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
11629         that were listed in the original autoscan.list.
11630         * lib/autoconf/headers.m4: Similarly with headers.
11631         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
11632         (.m4.m4f): Don't pass --prepend-include, since that's done by
11633         tests/autom4te itself.
11634         * lib/autoscan/Makefile.am: Include freeze.mk.
11635         (autoscan.list): New target --this file is no longer a source.
11636         (autoscan.pre): New file.
11638 2002-09-28  Akim Demaille  <akim@epita.fr>
11640         * bin/autoscan.in (@kinds): Make them singular.
11641         Adjust all uses.
11642         (&init_tables): When --debug, report the list of rules to ease
11643         tracking changes in autoscan.list.
11644         * lib/autoscan/autoscan.list (function): Strip comments, sort.
11646 2002-09-28  Akim Demaille  <akim@epita.fr>
11648         * lib/autoscan/functions, lib/autoscan/headers,
11649         * lib/autoscan/identifiers, lib/autoscan/makevars,
11650         * lib/autoscan/programs: Merge into...
11651         * lib/autoscan/autoscan.list: this.
11652         * bin/autoscan.in (&init_tables): Adjust.
11654 2002-09-28  Akim Demaille  <akim@epita.fr>
11656         * lib/autoscan/functions, lib/autoscan/headers,
11657         * lib/autoscan/identifiers, lib/autoscan/makevars,
11658         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
11659         `functions' line is now prefixed with `function:'.
11660         * bin/autoscan.in (&init_tables): Adjust.
11662 2002-09-28  Akim Demaille  <akim@epita.fr>
11664         From now on, autoscan files must always map a macro name to a
11665         word: there is no `default' macro for autoscan.
11667         * bin/autoscan.in (&init_tables): Reject entries with no macro at
11668         all.
11669         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
11670         explicit.
11672 2002-09-28  Akim Demaille  <akim@epita.fr>
11674         * bin/autoscan.in (%c_keywords): Remove.
11675         (&used): Keep only track of the words we might be interested in.
11676         (&output_kind): It is no longer needed to look for non active
11677         checks.
11679 2002-09-27  Akim Demaille  <akim@epita.fr>
11681         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
11682         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
11683         * lib/autoscan/functions: Adjust.
11684         * doc/autoconf.texi (Particular Functions): Adjust.
11686 2002-09-27  Akim Demaille  <akim@epita.fr>
11688         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
11689         from /tmp.
11690         Thanks to Bill Moseley and Paul Eggert.
11691         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
11692         the tmpdir must be created.
11693         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
11694         dir be in the build tree, instead of $TMPDIR.
11696 2002-09-27  Akim Demaille  <akim@epita.fr>
11698         * bin/autoscan.in: Improve the comments.
11699         (&parse_args): Drop obsolete undocumented options.
11700         (&output_kind): Output warnings.
11701         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
11702         (getwd): Trigger a warning.
11704 2002-09-26  Akim Demaille  <akim@epita.fr>
11706         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
11707         Reported by Ralf Corsepius.
11708         * doc/autoconf.texi (autoreconf Invocation): Likewise.
11710 2002-09-26  Akim Demaille  <akim@epita.fr>
11712         Single suffix rules and seperated dependencies are not portable.
11714         * doc/autoconf.texi (Installation Directory Variables): Update.
11715         (Limitations of Make): Some about `Single Suffix Rules and
11716         Separated Dependencies'.
11717         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
11718         (ifnames, autoscan, autom4te): Un-factor into several rules.
11720 2002-09-25  Paul Eggert  <eggert@twinsun.com>
11722         * BUGS (Interoperability bugs): New section.  Mention libtool
11723         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
11725 2002-09-24  Paul Eggert  <eggert@twinsun.com>
11727         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
11728         make handles suffix-rules differently from GNU make.
11730         * bin/Makefile.am (SUFFIXES, .in): Remove.
11731         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
11732         Move the body of the old .in rule here.
11734 2002-09-16  Akim Demaille  <akim@epita.fr>
11736         i960 compilers create `b.out' files by default.
11737         Reported by Ralf Corsepius.
11739         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
11740         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
11742 2002-09-13  Paul Eggert  <eggert@twinsun.com>
11744         * doc/autoconf.texi (Particular Headers): Remove obsolete
11745         reference to `struct timezone' in the description of
11746         AC_HEADER_TIME.
11748 2002-09-13  Akim Demaille  <akim@epita.fr>
11750         Version 2.54.
11752         * config/config.sub, config/config.guess: Update.
11753         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
11754         * Makefile.am: Adjust.
11756 2002-09-13  Akim Demaille  <akim@epita.fr>
11758         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
11759         reading config.log when the compiler is rejected.
11760         Suggested by Guido Draheim.
11762 2002-09-13  Akim Demaille  <akim@epita.fr>
11764         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
11765         (chdir_init) might hang when stat'ing mounted directories.
11766         Reported by Vance Shipley.
11768 2002-09-12  Akim Demaille  <akim@epita.fr>
11770         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
11771         the lists.
11773 2002-09-12  Akim Demaille  <akim@epita.fr>
11775         * doc/autoconf.texi (Defining Symbols): Present two different
11776         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
11777         difference between 1 argument calls, and 2-3 argument calls.
11779 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
11781         * doc/autoconf.texi: Review grammar and punctuation.
11783 2002-09-11  Paul Eggert  <eggert@twinsun.com>
11785         * doc/autoconf.texi: Fix minor formatting, spelling, and
11786         grammatical typos.
11787         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
11788         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
11789         is obsolescent.
11791 2002-09-11  Akim Demaille  <akim@epita.fr>
11793         * doc/autoconf.texi (Questions): Rename as...
11794         (FAQ): this.
11795         (Defining Directories): New.
11797 2002-09-09  Akim Demaille  <akim@epita.fr>
11799         * doc/autoconf.texi (Making testsuite Scripts): Update.
11800         Suggested by Nishio Futoshi.
11802 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
11804         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
11805         plain `@' is wanted.
11807 2002-09-09  Akim Demaille  <akim@epita.fr>
11809         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
11810         `duplicates', since the algorithm was too naive and could keep
11811         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
11812         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
11813         Reported by Ralf Corsepius.
11814         * tests/torture.at (Configuring subdirectories): Exercise these
11815         cases.
11817 2002-09-09  Akim Demaille  <akim@epita.fr>
11819         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
11820         looking for a replacement file.
11821         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
11822         directory is relative.
11823         * doc/autoconf.texi (Generic Functions): Clarify the replacement
11824         directory definition.
11825         Reported by Andreas Schwab and Jim Meyering.
11827 2002-09-06  Akim Demaille  <akim@epita.fr>
11829         * doc/autoconf.texi (Setting Output Variables): Clarify what
11830         precious variables are.
11831         Suggested by Pontus Skoeld.
11833 2002-09-05  Akim Demaille  <akim@epita.fr>
11835         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
11836         (ifnames, autoscan, autom4te): Since we don't only depend on
11837         configure.ac variables (such as VERSION etc.), but also on prefix
11838         and so forth, depend on Makefile, not configure.ac.
11839         Reported by Alexandre Duret-Lutz.
11840         * doc/autoconf.texi (Installation Directory Variables): Adjust.
11842 2002-09-05  Kevin Ryde  <user42@zip.com.au>
11844         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
11845         doesn't seem to be confined to ia64, just say "some versions".
11847 2002-09-04  Akim Demaille  <akim@epita.fr>
11849         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
11850         Automake 1.6c.
11851         * Makefile.am (maintainer-clean-local): Remove.
11852         (MAINTAINERCLEANFILES): Remove COPYING.
11854 2002-09-03  Paul Eggert  <eggert@twinsun.com>
11856         * doc/autoconf.texi (Configuration Commands): Remove obsolete
11857         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
11858         Brinkmann.
11860 2002-09-03  Akim Demaille  <akim@epita.fr>
11862         * configure.ac: Bump to 2.53d.
11863         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
11864         as of today, on Automake's team suggestion.
11866 2002-09-03  Akim Demaille  <akim@epita.fr>
11868         Version 2.53c.
11870 2002-09-02  Akim Demaille  <akim@epita.fr>
11872         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
11873         SITE_MACRO_DIR.
11874         * configure.ac: Disable SITE_MACRO_DIR.
11876 2002-09-02  Jim Meyering  <meyering@lucent.com>
11878         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
11879         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
11880         Also, tweak grammar: s/make sure to/be sure to/.
11882 2002-09-02  Paul Eggert  <eggert@twinsun.com>
11884         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
11885         directory names are generally preferable to physical names.
11887 2002-09-02  Akim Demaille  <akim@epita.fr>
11889         * lib/Autom4te/General.pm (&update_file): s/die/error/.
11890         Reported by Raja R. Harinath.
11891         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
11892         * bin/autoupdate.in: Use error instead of die.
11894 2002-09-01  Paul Eggert  <eggert@twinsun.com>
11896         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
11897         ordinary shell concatenation rather than echo+tr+sed command that
11898         runs afoul of a long-line-related sed bug in Solaris 8.
11900         * bin/autoheader.in (parse_args): --warning -> --warnings.
11902         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
11903         stdout, as traditional "ls" does.
11904         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
11905         _AC_COMPILER_EXEEXT_O): Likewise.
11906         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
11908         * bin/autoconf.as: Add --prepend-include option.  This patch was
11909         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
11910         but bin/autoconf.in is generated automatically from bin/autoconf.as.
11912         * bin/autoconf.in, configure: Regenerate.
11914         * doc/autoconf.texi (Special Shell Variables): Mention
11915         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
11917         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
11918         MAILPATH and set PS1, PS2, PS4 to default values, to work
11919         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
11920         For LC_ALL etc, first try to set to "C" as POSIX requires and as
11921         the Autoconf documentation specifies; fall back to "unset" only if
11922         this fails.  Use a shell for-loop for this rather than an m4 loop,
11923         to shorten the output script.
11925 2002-08-30  Paul Eggert  <eggert@twinsun.com>
11927         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
11928         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
11929         for the CDPATH problem.  Document PWD.
11930         (Limitations of Builtins): Document the problem that "cd $foo" and
11931         "ls $foo" may refer to different directories in shells conforming
11932         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
11933         example, since the old example is now out of date.
11935         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
11936         FOO" and "ls FOO" talk about different directories; this catches
11937         problems when POSIX 1003.1-2001 "cd" fails due to symlink
11938         spaghetti.
11940         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
11941         of rolling our own unset.
11942         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
11943         in practice we needn't worry about CDPATH if unset doesn't work.
11945         * Makefile.in, aclocal.m4, bin/Makefile.in,
11946         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
11947         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
11948         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
11949         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
11950         tests/Makefile.in: Regenerate with Automake 1.6.3.
11952         * config/config.guess, config/config.sub, config/mkinstalldirs:
11953         Update.
11955         * configure: Regenerate with self.
11957 2002-08-30  Kevin Ryde  <user42@zip.com.au>
11959         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
11960         default output.
11962 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11964         * bin/autom4te.in (Request::load): Correctly test for "do" read
11965         failure.
11967 2002-08-29  Akim Demaille  <akim@epita.fr>
11969         * lib/Autom4te/General.pm (&xqx): New.
11970         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
11971         hand, which is not portable.
11972         (&error): New.
11973         * bin/autom4te.in: Use them.
11974         Use &error instead of die.
11975         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
11976         Adjust.
11978 2002-08-17  Paul Eggert  <eggert@twinsun.com>
11980         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
11981         default list of compilers to try, since it was long ago superseded
11982         by the ksh fc builtin.  Suggested by Steven G. Johnson.
11984 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
11986         * doc/autoconf.texi (Invoking autom4te): End the option table,
11987         fixing a bug introduced by the previous patch.
11988         (Limitations of Make): Add a 'target lookup' subentry in the
11989         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
11991 2002-07-29  Mark D. Roth  <roth@feep.net>
11993         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
11994         options and use $AUTOM4TE_PATH.
11995         * doc/autoconf.texi: Remove documentation of autom4te
11996         --include-envvar and --site-macro-subdir options and document
11997         use of $AUTOM4TE_PATH.
11998         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
11999         arguments from each language section.
12001 2002-07-29  Paul Eggert  <eggert@twinsun.com>
12003         * doc/install.texi: Include copyright symbol in copyright notice.
12005         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
12006         Replace with:
12007         (AM_MAKEINFOFLAGS): New macro.
12008         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
12009         * Makefile.am (INSTALL): Use the new macros.
12010         Use -o rather than --output, since "missing" does not grok --output.
12012 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
12014         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
12015         comments do not always work. Never trust the exit status of
12016         `make -k'.
12018 2002-07-24  Kevin Ryde  <user42@zip.com.au>
12020         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
12021         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
12023 2002-07-23  Paul Eggert  <eggert@twinsun.com>
12025         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
12026         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
12027         apparently treats PATH="nonexistent" as if it contained ".".
12028         Bug reported by Stefan `Sec' Zehl.
12030 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
12032         * doc/autoconf.texi (Limitations of Make): Mention the special
12033         handling of the obj/ directory by BSD make.
12035 2002-07-20  Kevin Ryde  <user42@zip.com.au>
12037         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
12038         backslashes.
12040 2002-07-19  Akim Demaille  <akim@epita.fr>
12042         * doc/autoconf.texi (Function Portability): `exit'.
12043         (Programming in M4sh): Ethymology of M4sh.
12045 2002-07-19  Akim Demaille  <akim@epita.fr>
12047         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
12049 2002-07-18  Akim Demaille  <akim@epita.fr>
12051         Version 2.53b.
12053 2002-07-18  Akim Demaille  <akim@epita.fr>
12055         * config/config.guess, config/config.sub: Update.
12057 2002-07-18  Akim Demaille  <akim@epita.fr>
12059         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
12060         Automake's parts.
12062         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
12063         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
12064         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
12066 2002-07-18  Akim Demaille  <akim@epita.fr>,
12067             Alexandre Duret-Lutz  <duret_g@epita.fr>
12069         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
12070         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
12072 2002-07-17  Russ Allbery  <rra@stanford.edu>
12074         * doc/autoconf.texi (Initializing configure): Clarify the
12075         description of the tarname default.
12077 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
12079         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
12080         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
12081         latter was not run.
12083 2002-07-17  Akim Demaille  <akim@epita.fr>
12085         * lib/Autom4te/General.pm (find_file): Browse the directories in
12086         the order they are given.
12088 2002-07-17  Akim Demaille  <akim@epita.fr>
12090         * tests/wrapsh.as, tests/wrappl.as: Merge into...
12091         * tests/wrapper.as: this.
12092         * tests/Makefile.am, configure.ac: Adjust.
12094 2002-07-17  Mark D. Roth  <roth@feep.net>
12096         * configure.ac: Add --enable-site-macro-dir option.
12097         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
12098         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
12099         --site-macro-subdir options.
12100         * bin/autoconf.in: Add --prepend-include option.
12101         * bin/autoheader.in: Add --prepend-include option.
12102         * bin/autoreconf.in: Add --prepend-include option.
12103         * bin/autoscan.in: Add --prepend-include option.
12104         * bin/autoupdate.in: Add --prepend-include option.
12105         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
12106         macro directory, remove note that include path directories are
12107         used in reverse order, and document --prepend-include option.
12108         * lib/autom4te.in: Use --prepend-include instead of --include.
12109         * tests/wrapsh.in: Use --prepend-include instead of --include.
12111 2002-07-17  Akim Demaille  <akim@epita.fr>
12113         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
12114         tarnames.
12115         * doc/autoconf.texi (Initializing configure): Adjust.
12117 2002-07-17  Akim Demaille  <akim@epita.fr>
12119         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
12120         (_AC_FUNC_MALLOC): New.
12121         (AC_FUNC_MALLOC): Use the latter.
12122         Define HAVE_MALLOC to 0 if broken.
12123         * doc/autoconf.texi (Particular Functions): Adjust.
12125 2002-07-16  Akim Demaille  <akim@epita.fr>
12127         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
12128         * doc/autoconf.texi (C Compiler): Adjust.
12130 2002-07-09  Akim Demaille  <akim@epita.fr>
12132         * doc/autoconf.texi: Properly set the ``header'' part.
12134 2002-07-09  Akim Demaille  <akim@epita.fr>
12136         * doc/autoconf.texi (Systemology): Some about Darwin.
12138 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
12140         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
12141         Don't use AC_REQUIRE in AU_DEFUN.
12143 2002-07-09  Art Haas  <ahaas@neosoft.com>
12145         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
12147 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
12149         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
12150         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
12151         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
12152         so that Emacs setups GNU style for perl-mode and cperl-mode.
12154 2002-06-27  Paul Eggert  <eggert@twinsun.com>
12156         * config/install-sh: Quote $src.  Prefer || to test's -o option,
12157         as per "Limitations of Builtins".
12158         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
12159         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
12161         * tests/mktests.sh: Use grep instead of fgrep, as per
12162         "Limitations of Builtins".
12164 2002-06-15  Paul Eggert  <eggert@twinsun.com>
12166         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
12167         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
12168         so that we consistently test the just-built programs.
12169         * tests/wrappl.as: Likewise.
12171 2002-06-12  Paul Eggert  <eggert@twinsun.com>
12173         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
12174         name, so that symlinks to 'autoconf' work properly.  Bug reported
12175         by Bruno Haible.
12176         * bin/autoheader.in (AUTOM4TE): Likewise.
12177         * bin/autoreconf.in (autoconf, autoheader): Likewise.
12178         * bin/autoscan.in (autom4te): Likewise.
12179         * bin/autoupdate.in (autom4te): Likewise.
12181         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
12182         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
12183         on Solaris 2.5.1.
12185 2002-06-11  Andreas Schwab  <schwab@suse.de>
12187         * doc/autoconf.texi: Add more dir entries.
12189 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
12191         * bin/autom4te.in ($cache): Don't define using `$me', the name
12192         of the cache should not depend on the name under which autom4te
12193         was installed.
12195 2002-06-07  Akim Demaille  <akim@epita.fr>
12197         * tests/tools.at (autoconf: forbidden tokens, basic)
12198         (autoconf: forbidden tokens, exceptions): Adjust to the change of
12199         words in autom4te.in.
12201 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
12203         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
12204         _AC_LANG_PROGRAM_C_F77_HOOKS.
12206 2002-06-07  Akim Demaille  <akim@epita.fr>
12208         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
12209         rename as...
12210         (AC_REPLACE_FNMATCH): this.
12211         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
12212         AC_FUNC_FNMATCH_GNU.
12214 2002-06-07  Akim Demaille  <akim@epita.fr>
12216         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
12217         Rosetta Stone for Unix.
12219 2002-06-07  Akim Demaille  <akim@epita.fr>
12221         * bin/autom4te.in (warn_forbidden): When rejecting a token,
12222         suggest m4_pattern_allow.
12223         Suggested by Adam J. Richter.
12225 2002-06-07  Akim Demaille  <akim@epita.fr>
12227         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
12228         ac_config_libobj_dir.
12229         (AC_CONFIG_LIBOBJ_DIR): New.
12230         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
12231         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
12232         Use ac_config_libobj_dir to find the replacement files.
12233         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
12234         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
12235         (AC_REPLACE_FNMATCH_GNU): these.
12236         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
12237         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
12238         * tests/mktests.sh (ac_exclude_list): Don't check
12239         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
12241 2002-06-06  Paul Eggert  <eggert@twinsun.com>
12243         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
12244         if ln doesn't work.
12245         * NEWS: Likewise.
12246         * doc/autoconf.texi (Configuration Links): Likewise.
12247         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
12249 2002-06-05  Paul Eggert  <eggert@twinsun.com>
12251         * config/config.guess, config/config.sub, config/texinfo.tex:
12252         Update from masters.
12254 2002-05-29  Paul Eggert  <eggert@twinsun.com>
12256         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
12257         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
12258         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
12259         Likewise.
12260         * lib/autoconf/Makefile.am (check-local): Likewise.
12261         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
12262         * lib/autoconf/types.m4 (commentary only): Likewise.
12263         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
12264         * lib/autotest/Makefile.am (check-local): Likewise.
12265         * lib/m4sugar/Makefile.am (check-local): Likewise.
12266         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
12267         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
12269         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
12270         * doc/autoconf.texi (Particular Programs): Document them.
12271         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
12272         * NEWS: Likewise.
12274 2002-05-27  Paul Eggert  <eggert@twinsun.com>
12276         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
12277         * NEWS, doc/autoconf.texi (Particular Types): Document it.
12278         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
12279         instead of AC_MBSTATE_T, which never existed.
12281 2002-05-23  Akim Demaille  <akim@epita.fr>
12283         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
12284         version of Autoconf that is discussed.
12286 2002-05-22  Paul Eggert  <eggert@twinsun.com>
12288         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
12289         from the default list of compilers to try.  Suggested by
12290         Kate Hedstrom.
12291         * NEWS: Document the above.
12292         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
12294 2002-05-17  Paul Eggert  <eggert@twinsun.com>
12296         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
12297         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
12298         This improves on an earlier suggestion by H. Peter Anvin.
12300 2002-05-16  Paul Eggert  <eggert@twinsun.com>
12302         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
12303         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
12304         Both macros now accept an optional source-dir arg.
12305         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
12307         * NEWS: Document this.
12308         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
12310         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
12311         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
12312         not for GNU extensions; this undoes part of the 2000-11-03 change,
12313         reverting to 2.13-compatible behavior.
12314         Add new optional argument DIR.
12315         (AC_FUNC_FNMATCH_GNU): New macro.
12317         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
12319 2002-05-08  Paul Eggert  <eggert@twinsun.com>
12321         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
12322         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
12323         and it causes a 'test' syntax error if it fails.
12324         Bug reported by Stephen Gildea.
12326         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
12327         If prototypes are supported, use them to check this at compile-time,
12328         instead of trying to check it at run-time.  If we must do a run-time
12329         check, assume that setvbuf is standard when cross-compiling, as
12330         nonstandard setvbuf occurs only on ancient and unlikely hosts.
12331         Bug reported by Paul D. Smith.
12333         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
12334         argument specifying location of getloadavg.c.  This removes a
12335         FIXME.  This idea was taken from Jim Meyering's implementation in
12336         textutils.
12337         * doc/autoconf.texi (Particular Functions): Document this.
12338         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
12339         that's what the code does; this fixes a bug reported by
12340         Paul D. Smith.
12342 2002-05-03  Akim Demaille  <akim@epita.fr>
12344         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
12345         autopoint instead of gettextize.
12346         ($uses_alocal): Rename as...
12347         ($uses_aclocal): this.
12348         * doc/autoconf.texi (autoreconf Invocation): Adjust.
12349         Suggested by Bruno Haible.
12351 2002-05-03  Akim Demaille  <akim@epita.fr>
12353         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
12355 2002-04-29  Paul Eggert  <eggert@twinsun.com>
12357         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
12358         files to be 1 second older; just set them to be the same time.
12359         Also, sleep 1 second after the first aclocal, to work around
12360         problems with sub-second time stamps on the input files.
12362 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
12364         * doc/autoconf.texi: Mention "set -e -x" lossage
12365         under node "Limitations of Builtins".
12367 2002-04-29  Akim Demaille  <akim@epita.fr>
12369         * doc/install.texi: Better wording for setting variables when
12370         running configure.
12371         From Christian Cornelssen.
12373 2002-04-29  Akim Demaille  <akim@epita.fr>
12375         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
12376         of lack of $LINENO support, then the test will compare the $LINENO
12377         in testsuite vs. the lineno in the test file.  This is wrong, of
12378         course.
12379         Be sure to protect it.
12380         Reported by Patrick Welche.
12382 2002-04-25  Akim Demaille  <akim@epita.fr>
12384         * doc/autoconf.texi (Obsolete Macros): Typo.
12385         Reported by Vladimir Volovich.
12387 2002-04-25  Akim Demaille  <akim@epita.fr>
12389         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
12390         than some of the input files, hence, on the second run of aclocal,
12391         if some of its input are younger, make them older.
12392         Suggested by Paul Eggert.
12394 2002-04-25  Akim Demaille  <akim@epita.fr>
12396         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
12397         Thanks to Paul Eggert.
12399 2002-04-25  Akim Demaille  <akim@epita.fr>
12401         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
12402         and ac_subst_vars be sh variables containing the list of
12403         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
12404         DEFAULT diversion.
12405         (_AC_INIT_PREPARE): Use them to log them.
12406         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
12407         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
12408         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
12409         _AC_SUBST_FILES and _AC_SUBST_VARS.
12410         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
12412 2002-04-24  Akim Demaille  <akim@epita.fr>
12414         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
12415         autoheader, so that automake does not complain about a missing
12416         config.h.in that was to be created.
12418 2002-04-23  Akim Demaille  <akim@epita.fr>
12420         * bin/autoheader.in (parse_args): --warning takes an argument.
12421         Fixes PR/220.
12423 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
12425         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
12426         and bb.out when cleaning up.
12428 2002-04-22  Akim Demaille  <akim@epita.fr>
12430         Version 2.53a.
12432 2002-04-22  Akim Demaille  <akim@epita.fr>
12434         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
12436 2002-04-22  Akim Demaille  <akim@epita.fr>
12438         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
12439         comma.
12440         Reported by Gregory Giannoni.
12442 2002-04-22  Akim Demaille  <akim@epita.fr>
12444         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
12445         Fixes false failures on Darwin.
12447 2002-04-21  Paul Eggert  <eggert@twinsun.com>
12449         * TODO, bin/autoupdate.in, doc/autoconf.texi,
12450         lib/autoconf/general.m4, lib/autoconf/libs.m4,
12451         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
12452         tests/tools.at: Minor spelling and grammar fixes.
12454 2002-04-20  Paul Eggert  <eggert@twinsun.com>
12456         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
12457         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
12458         * lib/autotest/general.m4 (AT_INIT): Likewise.
12459         * tests/atgeneral.m4 (AT_INIT): Likewise.
12461 2002-04-19  Paul Eggert  <eggert@twinsun.com>
12463         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
12464         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
12465         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
12466         lib/autoconf/functions.m4, lib/autoconf/general.m4,
12467         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
12468         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
12469         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
12470         Minor spelling and grammar fixes.
12472         * doc/autoconf.texi: Follow the outline suggested in the GNU
12473         Sample Texts sections of the Texinfo 4.2 manual.  Most
12474         importantly, this makes sure that the copyright notices appear in
12475         all output formats.  You probably need Texinfo 4.2 to generate
12476         the manual now.
12478         Fix some bugs when using "$@" when there might be zero positional
12479         arguments in cases where this matters.
12481         * bin/autoconf.as: Rewrite so that the problem does not come up.
12482         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
12483         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
12484         * lib/autotest/general.m4 (AT_INIT): Likewise.
12486         * bin/autoheader.in: Use 'case' statement to work around problem.
12487         * bin/auto4mte.in: Likewise.
12488         * bin/autoreconf.in: Likewise.
12489         * bin/autoscan.in: Likewise.
12490         * bin/autoupdate.in: Likewise.
12491         * bin/ifnames.in: Likewise.
12493         * doc/autoconf.texi (Shell Substitutions): Document the problem.
12495         * lib/autotest/general.m4 (AT_INIT):
12496         Use Zsh alias to work around problem.
12497         * tests/atgeneral.m4 (AT_INIT): Likewise.
12499         * tests/c.at: We can't have zero arguments, so remove workaround
12500         that is not portable to Zsh.
12502 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
12504         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
12505         from aclocal.m4 too.
12507 2002-04-12  Akim Demaille  <akim@epita.fr>
12509         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
12511 2002-04-10  Akim Demaille  <akim@epita.fr>
12513         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
12514         workaround for ${1+"$@"}.
12515         * doc/autoconf.texi (Shell Substitutions): Explain it.
12516         From Oliver Kiddle and Peter Stephenson.
12518         Have M4sh perform minimal shell sanitizing.
12520         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
12521         part into...
12522         (_AS_PREPARE): this new macro.
12523         (AS_PREPARE): New.
12524         (AS_INIT): Invoke AS_SHELL_SANITIZE.
12525         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
12527         Adjust Autoconf and Autotest.
12529         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
12530         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
12531         * lib/autotest/general.m4 (AT_INIT): Likewise.
12532         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
12533         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
12534         AS_SHELL_SANITIZE.
12536         Use this M4sh to generate Autoconf's shell scripts.
12538         * tests/wrapsh.as: New, precursor of wrapsh.in.
12539         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
12540         on Autotest and M4sh.
12541         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
12542         (wrapsh.in): New target.
12543         * bin/autoconf.as: New, precursor of autoconf.in.
12544         (autoconf.in): New target.
12546 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
12548         * doc/autoconf.texi (Limitations of Make): Mention the issue
12549         with indented comments in rules.
12551 2002-04-09  Andreas Schwab  <schwab@suse.de>
12553         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
12554         ac_top_builddir when setting ac_abs_top_builddir.
12556 2002-04-06  Kevin Ryde  <user42@zip.com.au>
12558         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
12559         (Portable Shell): Cross reference to Systemology.
12561 2002-04-05  Akim Demaille  <akim@epita.fr>
12563         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
12564         directories when descending in a SUBDIRS.
12565         Reported by Ezra Peisach.
12567 2002-04-04  Andreas Schwab  <schwab@suse.de>
12569         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
12570         contains no literal separators.
12572 2002-04-03  Akim Demaille  <akim@epita.fr>
12574         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
12575         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
12576         Use dnl, not the KILL diversion.
12577         Extracted from...
12578         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
12579         (AC_CONFIG_LINKS): here.
12580         Adjust.
12581         Don't use the KILL diversion, as it kills spurious output, which
12582         results in failures being hidden.
12583         Use m4_defn where appropriate.
12584         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
12585         after the second argument.
12586         Use m4_defn.
12587         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
12588         syntax, as it is provided by M4sugar.
12589         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
12591 2002-04-03  Andreas Schwab  <schwab@suse.de>
12593         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
12594         expanded if $# <= 2.
12596         * bin/autoreconf.in (autoreconf): Run automake after rerunning
12597         aclocal.
12599 2002-04-03  Akim Demaille  <akim@epita.fr>
12601         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
12602         (_AC_COMPILER_EXEEXT_REJECT): New.
12603         Also recognize *.bb and *.bbg as compilation byproducts.
12604         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
12605         (_AC_COMPILER_OBJEXT): Use them.
12606         Fixes Debian #138666.
12608 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
12610         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
12612         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
12613         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
12614         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
12615         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
12616         (AC_C_CONST): Same.
12617         (AC_C_INLINE): Same.
12618         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
12619         * doc/autoconf.texi, NEWS: Document.
12620         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
12621         AC_C_CROSS.
12623 2002-04-02  Akim Demaille  <akim@epita.fr>
12625         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
12626         _AS_MKDIR_P_PREPARE.
12628 2002-03-28  Kevin Ryde  <user42@zip.com.au>
12630         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
12631         to avoid versions of HP C which don't allow that.
12633 2002-03-27  Paul Eggert  <eggert@twinsun.com>
12635         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
12636         (AS_SHELL_SANITIZE): Invoke it.
12637         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
12639 2002-03-26  Akim Demaille  <akim@epita.fr>
12641         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
12643 2002-03-26  Akim Demaille  <akim@epita.fr>
12645         * doc/autoconf.texi (Introduction): The GNATS base moved.
12647 2002-03-25  Paul Eggert  <eggert@twinsun.com>
12649         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
12650         as POSIX requires, as it doesn't work with Zsh.
12651         * doc/autoconf.texi (Assignments): Document the problem.
12653 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
12655         * doc/autoconf.texi (Limitations of Make): Mention more issue
12656         about VPATH, overriding of macros in sub-makes, and handling of
12657         SHELL.
12659 2002-03-21  Paul Eggert  <eggert@twinsun.com>
12661         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
12662         problem with here-document buffer boundaries.
12664         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
12665         when reinvoking the shell, to work around problems with installers
12666         who put strange things like "cd" commands in their environments.
12668 2002-03-19  Akim Demaille  <akim@epita.fr>
12670         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
12671         From Aaron Ucko.
12673 2002-03-19  Akim Demaille  <akim@epita.fr>
12675         * bin/autoscan.in (scan_file): Specify the location in `&used'
12676         invocations.
12677         From Nicolas Joly.
12679 2002-03-19  Akim Demaille  <akim@epita.fr>
12681         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
12682         From Nishio Futoshi.
12684 2002-03-19  Akim Demaille  <akim@epita.fr>
12686         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
12688 2002-03-18  Paul Eggert  <eggert@twinsun.com>
12690         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
12691         (Limitations of Usual Tools): Add mkdir section.
12693         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
12694         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
12695         back on AS_DIRNAME to compute prefixes otherwise; this is
12696         roughly what mkinstalldirs does.  That way, we need not have
12697         our own filename disassembler.  The old disassembler did not
12698         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
12700         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
12701         Create at_test_all by a series of assignments,
12702         not by a single assignment of a long string.  The latter causes ksh
12703         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
12704         presumably because of a buffer overrun.
12706 2002-03-14  Paul Eggert  <eggert@twinsun.com>
12708         * lib/autotest/general.m4 (at_times_skip):
12709         Renamed from at_times.  Now a boolean.
12710         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
12711         says 'times: not found'.
12713 2002-03-14  Akim Demaille  <akim@epita.fr>
12715         * bin/autoreconf.in (&study_gettextize): New.
12716         (&autoreconf): Handle newest gettextize.
12717         Rerun aclocal if needed.
12718         Suggested by Andreas Schwab.
12720 2002-03-13  Akim Demaille  <akim@epita.fr>
12722         * doc/autoconf.texi (Special Shell Variables): More about IFS.
12724 2002-03-13  Akim Demaille  <akim@epita.fr>
12726         * doc/autoconf.texi (Header Portability): New.
12727         Add information about stdint.h and inttypes.h from Paul Eggert.
12729 2002-03-13  Akim Demaille  <akim@epita.fr>
12731         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
12732         -p'.
12733         From Bob Proulx.
12735 2002-03-12  Akim Demaille  <akim@epita.fr>
12737         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
12738         m4_require.
12740 2002-03-11  Andreas Schwab  <schwab@suse.de>
12742         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
12743         does not do it if --with-lispdir is given.
12745 2002-03-08  Akim Demaille  <akim@epita.fr>
12747         Version 2.53.
12749 2002-03-08  Akim Demaille  <akim@epita.fr>
12751         * doc/autoconf.texi (Subdirectories): Clarify that the
12752         subdirectory should exist.
12754 2002-03-08  Akim Demaille  <akim@epita.fr>
12756         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
12758 2002-03-08  Akim Demaille  <akim@epita.fr>
12760         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
12761         aliases the actual variables, and modifications of the former
12762         affect the latter.
12764 2002-03-08  Akim Demaille  <akim@epita.fr>
12766         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
12767         because of C-c: have m4 output in tmp files, then mv them.
12769 2002-03-08  Akim Demaille  <akim@epita.fr>
12771         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
12772         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
12773         * bin/ifnames.in: Copyright update.
12775 2002-03-08  Akim Demaille  <akim@epita.fr>
12777         * doc/autoconf.texi (Invoking autom4te): New.
12779 2002-03-05  Akim Demaille  <akim@epita.fr>
12781         * doc/autoconf.texi (Specifying Names): Clarification suggested by
12782         Kevin Ryde.
12784 2002-03-05  Akim Demaille  <akim@epita.fr>
12786         Version 2.52i.
12788 2002-03-04  Akim Demaille  <akim@epita.fr>
12790         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
12791         * lib/autoconf/general.m4 (AC_INIT): More informative error
12792         message for LIBOBJ.
12794 2002-03-04  Akim Demaille  <akim@epita.fr>
12796         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
12797         parallel builds.
12799 2002-03-04  Akim Demaille  <akim@epita.fr>
12801         * doc/autoconf.texi (Transforming Names): Equality between target
12802         and host is irrelevant.
12803         (Specifying Names, Canonicalizing): Remove all references to the
12804         backward compatibility hooks.  Rather, collect them all into...
12805         (Hosts and Cross-Compilation): this new section.
12806         * doc/install.texi (System Type): Ditto.
12807         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
12808         that `--host' implies cross-compilation.
12810 2002-03-04  Akim Demaille  <akim@epita.fr>
12812         * doc/autoconf.texi (Evaluation Macros): New.
12813         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
12814         useless.
12815         (_m4_foreach): Define the variant with immediate evaluation so
12816         that it contains exactly the items, not an expression which
12817         evaluation is the current item.
12818         (m4_re_string, m4_re_word): Don't over quote them.
12820 2002-03-04  Akim Demaille  <akim@epita.fr>
12822         Instead of having stacking `shift's evaluated at the end, let
12823         `foreach' loops immediately evaluate them.
12825         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
12826         $*.  This is the n-th time I change my mind, but hopefully this is
12827         the last...
12828         (m4_lquote): New.
12829         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
12830         efficient.
12831         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
12832         it was only a hack for m4_text_wrap.
12833         (m4_car2): Remove, replaced by...
12834         (m4_cdr): New.
12835         (_m4_foreach): Adjust.
12836         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
12837         m4_bpatsubst for clarification.
12839 2002-03-04  Akim Demaille  <akim@epita.fr>
12841         * doc/autoconf.texi (Changequote is Evil): New.
12843 2002-03-03  Kevin Ryde  <user42@zip.com.au>
12845         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
12846         on old systems like SunOS.
12848 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
12850         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
12851         lib/autoconf/functions.m4, lib/autoconf/general.m4,
12852         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
12853         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
12854         of messages.
12856 2002-02-28  Akim Demaille  <akim@epita.fr>
12858         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
12859         message to be sent.
12861 2002-02-28  Kevin Ryde  <user42@zip.com.au>
12863         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
12865 2002-02-25  Akim Demaille  <akim@epita.fr>
12867         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
12868         From Akinori Musha.
12870 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
12872         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
12873         translate \r\n to \n.
12875 2002-02-07  Akim Demaille  <akim@epita.fr>
12877         Version 2.52h.
12879 2002-02-07  Akim Demaille  <akim@epita.fr>
12881         Fix Autoconf PR/209.
12882         Also reported by Frank Denis.
12884         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
12886 2002-02-07  Akim Demaille  <akim@epita.fr>
12888         Fix Autoconf PR/207:
12889         AC_PREFIX_PROGRAM fails with dashed program names
12891         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
12892         variable when looking for the prefix program.
12893         Now it also works for shell variables.
12895 2002-02-07  Akim Demaille  <akim@epita.fr>
12897         * doc/autoconf.texi (Limitations of Builtins): More about
12898         case/esac.
12900 2002-02-06  Akim Demaille  <akim@epita.fr>
12902         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
12903         case/esac, some shells don't support it.
12904         Reported by Zack Weinberg.
12905         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
12907 2002-02-06  Akim Demaille  <akim@epita.fr>
12909         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
12910         sure not to introduce newlines in at_groups.
12911         * lib/autotest/Makefile.am (autotest.m4f): Typo.
12913 2002-02-06  Akim Demaille  <akim@epita.fr>
12915         * tests/torture.at (Configuring subdirectories): Skip if aclocal
12916         is not available.
12918 2002-02-05  Paul Eggert  <eggert@twinsun.com>
12920         * doc/autoconf.texi (Specific Compiler Characteristics):
12921         Describe HP-UX cc bug workaround more accurately.
12922         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
12923         not unsigned long.
12924         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
12925         cross-compilers, too.  This undoes some of the most recent change
12926         to this file.
12928 2002-02-05  Akim Demaille  <akim@epita.fr>
12930         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
12931         to make sure they are up to date when `check' is run.
12933 2002-02-05  Akim Demaille  <akim@epita.fr>
12935         * doc/autoconf.texi (Making testsuite Scripts): Document
12936         package.m4.
12938 2002-02-05  Akim Demaille  <akim@epita.fr>
12940         * lib/freeze.mk: New.
12942 2002-02-05  Akim Demaille  <akim@epita.fr>
12944         Implement `autom4te --freeze'.
12946         * bin/autom4te.in (&freeze): New.
12947         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
12948         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
12950 2002-02-05  Akim Demaille  <akim@epita.fr>
12952         * bin/autom4te.in (&parse_args): Implement `frozen files are
12953         optional are the sum of the previous files on the command line'.
12954         Also, pass `--reload-state=' on them, so...
12955         (handle_m4): don't.
12956         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
12957         (M4sh): Rely on M4sugar.
12958         (Autotest, M4sh, M4sugar): Use frozen files.
12960 2002-01-31  Akim Demaille  <akim@epita.fr>
12962         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
12963         * doc/autoconf.texi (Initializing configure): Adjust.
12965 2002-01-30  Akim Demaille  <akim@epita.fr>
12967         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
12968         alphanumeric to `-' instead of `_'.
12970 2002-01-30  Akim Demaille  <akim@epita.fr>
12972         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
12973         for plain code, the other for cross-compilation code.  The latter
12974         is now run with GCC only.
12975         * doc/autoconf.texi (Compilers and Preprocessors): New.
12977 2002-01-30  Akim Demaille  <akim@epita.fr>
12979         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
12980         values.
12981         * doc/autoconf.texi (Initializing configure): Explain how to
12982         change AC_INIT default values.
12984 2002-01-29  Akim Demaille  <akim@epita.fr>
12986         * tests/torture.at (Configuring subdirectories): Use configure.in,
12987         so that aclocal 1.4 works.
12988         Reported by Alexandre Duret-Lutz and Larry Schmitt.
12990 2002-01-28  Akim Demaille  <akim@epita.fr>
12992         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
12993         needs an argument.
12995 2002-01-28  Akim Demaille  <akim@epita.fr>
12997         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
12998         AUTOTEST_PATH *after* it was set.
12999         Don't put `.' in the PATH: the user should be precise and `./' if
13000         needed.  In addition, given that the test suite does some `cd', if
13001         `.' is in the path, the `tested programs' sections will report
13002         programs found in the test suite's directory, while during the
13003         tests (performed in their own directory), these programs are no
13004         longer visible.  In other words, the results is confusing and
13005         useless.
13006         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
13008 2002-01-24  Akim Demaille  <akim@epita.fr>
13010         Version 2.52g.
13012 2002-01-24  Akim Demaille  <akim@epita.fr>
13014         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
13015         * doc/autoconf.texi: Finally add Akim as an author.
13017 2002-01-24  Akim Demaille  <akim@epita.fr>
13019         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
13020         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
13021         Bourne. Use /bin/sh.
13022         From Andreas Buening.
13024 2002-01-24  Akim Demaille  <akim@epita.fr>
13026         * config/config.guess, config/config.sub, config/texinfo.tex:
13027         Update from masters.
13029 2002-01-24  Akim Demaille  <akim@epita.fr>
13031         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
13032         * config/auxdir.m4, config/cond.m4, config/depend.m4,
13033         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
13034         * config/missing.m4, config/sanity.m4, config/select.m4,
13035         * config/strip.m4: Remove, to ease sync'ing with any version of
13036         Automake.
13038 2002-01-24  Akim Demaille  <akim@epita.fr>
13040         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
13041         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
13042         Reported by Geir Ove Myhr.
13044 2002-01-21  Akim Demaille  <akim@epita.fr>
13046         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
13048 2002-01-21  Akim Demaille  <akim@epita.fr>
13050         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
13051         message on invalid options.
13052         * bin/autom4te.in (parse_args): Don't use
13053         Autoconf::General::getopt with non valid options.
13055 2002-01-17  Jim Meyering  <meyering@lucent.com>
13057         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
13058         $ac_cv_exeext so we don't use an old, invalid, cached value.
13060 2002-01-11  Akim Demaille  <akim@epita.fr>
13062         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
13063         Meyering.
13064         * doc/autoconf.texi (Function Portability): Document the strnlen
13065         limitation.
13066         (Particular Functions): Document AC_FUNC_STRNLEN.
13067         * lib/autoscan/functions: Adjust.
13069 2002-01-06  Akim Demaille  <akim@epita.fr>
13071         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
13072         package.m4, since is really depends upon configure.ac, not
13073         configure.
13074         * doc/autoconf.texi (testsuite Scripts): Adjust.
13075         * tests/Makefile.am (package.m4): New.
13076         EXTRA_DIST it since its a source.
13078 2002-01-06  Akim Demaille  <akim@epita.fr>
13080         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
13081         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
13082         and PACKAGE_BUGREPORT from here...
13083         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
13084         arguments.
13085         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
13086         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
13087         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
13088         * tests/tools.at (autoheader): Adjust.
13089         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
13091 2002-01-06  Akim Demaille  <akim@epita.fr>
13093         * bin/autoscan.in (scan_file): Use `&used'.
13095 2002-01-03  Akim Demaille  <akim@epita.fr>
13097         * doc/autoconf.texi (Output): Improved wording regarding use of
13098         AC_OUTPUT.
13099         From Olly Betts.
13101 2001-12-18  Kevin Ryde  <user42@zip.com.au>
13103         * doc/autoconf.texi (Function Portability): Add notes on sscanf
13104         sometimes needing writable input.
13106 2001-12-17  Jim Meyering  <meyering@lucent.com>
13108         * doc/autoconf.texi (New Macros): Tweak wording.
13110 2001-12-14  Akim Demaille  <akim@epita.fr>
13112         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
13113         trailing files, don't apply `-rf' to files which might not be
13114         created by configure (core, core.*, and *.core), but just `rm -f'.
13115         Suggested by Jonathan Kamens.
13117 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
13119         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
13121 2001-12-14  Akim Demaille  <akim@epita.fr>
13123         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
13125 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
13127         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
13128         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
13129         abs_srcdir, top_srcpath to abs_top_srcdir.
13130         (_AC_OUTPUT_FILES): Adjust.
13131         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
13132         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
13133         * tests/wrappl.in, tests/wrapsh.in: Adjust.
13135 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
13137         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
13138         C/Fortran linking on HP/UX, by extracting the Fortran library
13139         search path from the LPATH line in the $F77 -v output.
13141 2001-12-12  Kevin Ryde  <user42@zip.com.au>
13143         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
13144         forbidden file descriptors table.
13146 2001-11-26  Akim Demaille  <akim@epita.fr>
13148         * bin/autoscan.in (%c_keywords): Build it at top level.
13149         Map to 1 in order to simplify its uses.
13151 2001-11-26  Akim Demaille  <akim@epita.fr>
13153         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
13154         Remove $filepath, useless.
13155         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
13156         variables, they are really part of the tokens.
13157         Split the input line on spaces and then look for tokens.
13158         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
13159         because of `lex$U.$(OBJEXT)'.
13160         (&scan_files): Use "@list" instead of join.
13161         * doc/Makefile.am (CLEANFILES): Add *.fns.
13163 2001-11-26  Akim Demaille  <akim@epita.fr>
13165         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
13166         Remove, replaced by...
13167         * tests/wrappl.in: Be common for all the Perl executables.
13168         In particular autoscan and autoheader want -I.
13169         * configure.ac: Adjust.
13170         * lib/autoscan/headers: errno.h is portable.
13172 2001-11-26  Akim Demaille  <akim@epita.fr>
13174         * bin/autoscan.in (used): New.
13175         Use it.
13177 2001-11-26  Akim Demaille  <akim@epita.fr>
13179         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
13180         directives.
13181         (&scan_sh_file): Remove a duplicate pattern.
13182         (&check_configure_ac): Use long options.
13183         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
13185 2001-11-26  Akim Demaille  <akim@epita.fr>
13187         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
13188         Before, having a line containing the opening of a multi line
13189         comment made the whole line be ignored.
13191 2001-11-26  Akim Demaille  <akim@epita.fr>
13193         * doc/autoconf.texi (Using an Autotest Test Suite): New.
13194         (testsuite Scripts): Be one of its subsection.
13195         (Autotest Logs): New.
13197 2001-11-26  Akim Demaille  <akim@epita.fr>
13199         Test groups are now run two directories deeper.
13201         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
13202         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
13203         at_top_builddir.
13204         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
13205         top_srcdir, builddir and top_builddir.
13206         Use `at_*dir' relatively to the directory containing the
13207         suite, use `*dir' when relatively to the current group dir.
13209 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
13211         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
13212         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
13213         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
13214         spelling errors.
13216 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
13218         * doc/autoconf.texi (Using System Type): Add an example of `case
13219         $host' usage so people quit using `case $target' everywhere.
13221 2001-11-22  Akim Demaille  <akim@epita.fr>
13223         * doc/autoconf.texi (Installation Directory Variables): Englishoes
13224         spotted by Jim Meyering.
13226 2001-11-16  Paul Eggert  <eggert@twinsun.com>
13228         This patch implements a `long double' suggestion by Oliver Kiddle.
13230         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
13231         static, to catch errors if the value isn't known at compile-time
13232         and the compiler supports dynamic arrays.  Change its name from
13233         `_array_' to `test_array' to avoid potential name clashes.
13234         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
13235         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
13236         better than double.  Catch a bug in GCC 2.95.2 x86.
13237         * doc/autoconf.texi (C Compiler): Document the above.
13238         * NEWS: Likewise.
13240 2001-11-13  Akim Demaille  <akim@epita.fr>
13242         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
13243         hand.
13244         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
13246 2001-11-13  Akim Demaille  <akim@epita.fr>
13248         * lib/autotest/general.m4 (AT_INIT): After having run the test
13249         group, go back to the initial directory, not to at_suite_dir.
13251 2001-11-13  Akim Demaille  <akim@epita.fr>
13253         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
13254         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
13255         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
13256         option.
13257         (AT_CHECK_CONFIGURE): Use absolute paths.
13258         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
13259         The problem is still the old one: there is no means in M4 (that I
13260         know about) to create a defining macro, because there is no means
13261         to create `$1' etc., therefore, the defining macro ``swallows''
13262         all the arguments meant to the defined macro.
13264 2001-11-13  Akim Demaille  <akim@epita.fr>
13266         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
13267         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
13268         configure.ac.
13269         * tests/aclocal.m4: Remove, as it is no longer used.
13271 2001-11-13  Akim Demaille  <akim@epita.fr>
13273         * lib/autotest/general.m4: Change `tests?' into `groups?' in
13274         variable names when referring to a single test group, or to
13275         `suite' when referring to the whole test suite.
13276         `at_last_test' is removed: m4 compute at_format itself.
13277         (at_stdout, at_stder1, at_stderr): New variables.
13278         (AT_CHECK): Use them.
13280 2001-11-13  Akim Demaille  <akim@epita.fr>
13282         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
13283         in PATH.
13284         Create `testsuite.dir/003/run' instead of `testsuite.003'.
13285         Do it as soon as a test fails, don't wait till the end of the test
13286         suite.
13287         Don't remove $as_me.[0-9]*, since these files no longer exist.
13289 2001-11-13  Akim Demaille  <akim@epita.fr>
13291         * tests/tools.at: Use absolute paths, since we are no longer run
13292         in place.
13294 2001-11-13  Akim Demaille  <akim@epita.fr>
13296         Now that tests are running in their own private dir, there is no
13297         need to list the files to remove at the end of tests groups.
13299         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
13300         (AT_data_files, at_data_files): Remove.
13301         (AT_CLEANUP, AT_DATA): Simplify.
13302         (AT_INIT): Adjust.
13303         Remove the group dir if !debug && !failed.
13304         * tests/atspecific.m4: Adjust.
13306 2001-11-13  Akim Demaille  <akim@epita.fr>
13308         Start a new layout for Autotest: `testsuite' creates
13309         `testsuite.dir' in which the at-check-line etc. files are to be
13310         found, and `testsuite.dir/003' where the test group 3 is run.
13312         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
13313         at_check_line_file, at_format, at_test_normalized, at_group_dir
13314         are new variables.
13315         Create the directories.
13316         Use absolute paths for at- files.
13317         (AT_CHECK): Adjust.
13319 2001-11-11  Michael Matz  <matz@kde.org>
13321         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
13322         (m4_car2): New.
13323         (m4_car): Properly quote arguments.
13325 2001-11-13  Akim Demaille  <akim@epita.fr>
13327         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
13328         with stricter rules on LIBOBJS.
13330 2001-11-12  Paul Eggert  <eggert@twinsun.com>
13332         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
13333         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
13334         __PROTOTYPES too.
13336 2001-11-12  Akim Demaille  <akim@epita.fr>
13338         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
13340 2001-11-12  Akim Demaille  <akim@epita.fr>
13342         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
13343         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
13344         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
13345         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
13346         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
13347         specify to what the macro should be defined (typically to 1).
13349 2001-11-12  Akim Demaille  <akim@epita.fr>
13351         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
13352         From Jim Meyering.
13354 2001-11-12  Akim Demaille  <akim@epita.fr>
13356         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
13357         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
13358         definition used by Automake where LEX is +/- "${missing} lex" and
13359         `missing' itself contains variables.
13361 2001-11-12  Akim Demaille  <akim@epita.fr>
13363         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
13364         Now that M4sh pushes BODY, the comments were output at the end of
13365         the test suites.
13367 2001-11-08  Akim Demaille  <akim@epita.fr>
13369         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
13370         that we can trace macros from aclocal.m4.
13371         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
13372         obsoleted, and redirect to the former anyway.
13373         Reported by Ralf Corsepius.
13375 2001-11-08  Akim Demaille  <akim@epita.fr>
13377         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
13378         processed only if present.
13379         * tests/torture.at (Configuring subdirectories): Use autoreconf
13380         instead of successive calls to autoconf.
13381         Add a nonexistent subdirectory to exercise the patch above.
13382         Reported by Ralf Corsepius.
13384 2001-11-08  Kevin Ryde  <user42@zip.com.au>
13386         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
13387         doesn't accept .S files.
13389 2001-11-07  Akim Demaille  <akim@epita.fr>
13391         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
13392         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
13393         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
13394         * bin/autom4te.in (warn_forbidden): New.
13395         (handle_output): Use it.
13396         Read m4_pattern_forbid with messages.
13398 2001-11-05  Akim Demaille  <akim@epita.fr>
13400         * bin/autom4te.in (--normalize): Remove.
13401         * lib/autom4te.in: Adjust.
13403 2001-11-05  Akim Demaille  <akim@epita.fr>
13405         * tests/Makefile.am (testsuite): Rename this target as...
13406         ($(TESTSUITE)): this.
13407         From Nicolas Joly.
13409 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
13411         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
13412         the --prefix option, also remove it's argument.
13414 2001-11-05  Akim Demaille  <akim@epita.fr>
13416         * doc/autoconf.texi (testsuite Invocation): Update.
13417         (Writing testsuite.at): Update.
13419 2001-11-03  Akim Demaille  <akim@epita.fr>
13421         * doc/autoconf.texi: s/@code/@command/ where appropriate.
13423 2001-11-03  Akim Demaille  <akim@epita.fr>
13425         * lib/Autom4te/General.pm: (&catfile, &canonfile)
13426         (&file_name_is_absolute): New, wrappers around routines from
13427         File::Spec.
13428         Use and export them.
13429         (&find_configure_ac): Optionally take a directory where to look at.
13430         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
13431         the arguments.
13432         Default @ARGV to `.', not find_configure_ac.
13433         (&autoreconf): Argument is a directory.
13434         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
13435         * doc/autoconf.texi (autoreconf Invocation): Update.
13437 2001-11-03  Akim Demaille  <akim@epita.fr>
13439         * lib/Autom4te/General.pm (@export_vars, @export_subs)
13440         (@export_forward_subs): New.
13441         Add basename, dirname, and fileparse.
13442         (@EXPORT): Adjust.
13443         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
13444         Don't look for aclocal flags if we already know aclocal is not
13445         used.
13446         Move aclocal.m4t only if it exists.
13447         Reported by Ezra Peisach.
13449 2001-11-03  Akim Demaille  <akim@epita.fr>
13451         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
13452         passed on command line, defaulting to ./configure.ac if present.
13453         (&maybe_autoreconf, File::Find): Remove, unused.
13454         (&autoreconf): If autoconf is not used, don't try to trace.
13456 2001-11-02  Akim Demaille  <akim@epita.fr>
13458         * configure.ac: Bump to 2.52g.
13460 2001-11-02  Akim Demaille  <akim@epita.fr>
13462         Version 2.52f.
13464 2001-11-02  Akim Demaille  <akim@epita.fr>
13466         * config/config.guess, config/config.sub, doc/standards.texi:
13467         * config/lispdir.m4: Update from masters.
13468         * configure.ac: Bump to 2.52f.
13470 2001-11-02  Akim Demaille  <akim@epita.fr>
13472         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
13473         Don't run aclocal when aclocal.m4 is not from aclocal.
13474         From Ezra Peisach.
13475         Don't run libtoolize and gettextize if --install is not given.
13477 2001-11-01  Paul Eggert  <eggert@twinsun.com>
13479         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
13480         be invoked before _AS_LINENO_PREPARE.
13481         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
13482         than character ranges.
13484         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
13485         invoking AS_BASENAME.  Set the locale variables to 'C' if
13486         possible, as POSIX requires this to get the traditional
13487         behavior.
13488         * doc/autoconf.texi (Special Shell Variables): Describe the above.
13490 2001-10-31  Paul Eggert  <eggert@twinsun.com>
13492         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
13493         with {}, as that triggers a bug in Bash 2.05.
13495         (_AS_LINENO_PREPARE): Use Sed rather than
13496         Awk.  Fix the sed prepass to work even if there are multiple
13497         instances of $LINENO on the same line.  Do not substitute for
13498         other variables like $LINENOT.  Do not check file dates; such a
13499         check is unreliable on sufficiently fast machines, and removing
13500         the check makes the code simpler and more reliable.  Check for
13501         output and chmod failures.
13503         * doc/autoconf.texi (Special Shell Variables): Document
13504         the above.
13506 2001-10-31  Akim Demaille  <akim@epita.fr>
13508         * tests/Makefile.am (atconfig): Remove this target, Automake
13509         handles it now.
13511 2001-10-31  Akim Demaille  <akim@epita.fr>
13513         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
13514         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
13515         provided, while it is optional.
13516         * configure.ac: Adjust.
13518 2001-10-26  Paul Eggert  <eggert@twinsun.com>
13520         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
13521           lib/Autom4te/Struct.pm:
13522         Require Perl 5.005_03 instead of just 5.005, as some tests fail
13523         with 5.005_02.
13525         * doc/autoconf.texi (Special Shell Variables): Document some
13526         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
13528         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
13529         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
13530         eval $LINENO is not portable in practice.
13532 2001-10-24  Akim Demaille  <akim@epita.fr>
13534         * lib/Autom4te/General.pm (backname): New.
13536 2001-10-24  Akim Demaille  <akim@epita.fr>
13538         * m4/: Remove, merged into...
13539         * config/: here.
13541 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
13543         * doc/autoconf.texi (Shellology): Mention the problems with bash
13544         2.05's use of ANSI quoting in its `set' builtin.
13546 2001-10-22  Paul Eggert  <eggert@twinsun.com>
13548         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
13549         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
13550         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
13551         POSIX decided to standardize on the int flavor of strerror_r.
13552         Always do char* test, as there's no reason not to.
13553         Assign to a char* var, to catch strerror_r that returns int*.
13555         * doc/autoconf.texi (Particular Functions):
13556         Document the above changes.  Also, document the fact that
13557         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
13559         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
13561 2001-10-20  Akim Demaille  <akim@epita.fr>
13563         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
13564         the executable was missing from the log.
13566 2001-10-20  Akim Demaille  <akim@epita.fr>
13568         * lib/Autom4te/General.pm (&update_file): If destination is
13569         unchanged, remove the source.
13570         (&up_to_date_p): Don't be verbose, be debug.
13571         * bin/autoreconf.in: No longer support --m4dir.
13572         (&autoreconf): Display the full path of the configure.ac we are
13573         studying.
13574         Trace it only once.
13575         Be sure to honor --force with gettextize.
13576         Always run aclocal.
13577         * doc/autoconf.texi: Adjust.
13579 2001-10-20  Akim Demaille  <akim@epita.fr>
13581         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
13582         Remove, dead.
13583         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
13584         `intl' is already present, as it refuses unless --force.
13585         (&parse_args): Use -I, --include instead of the old Autoconf
13586         options.
13587         ($localdir, $autoconf_dir): Remove.
13588         (@include): New.
13589         (&maybe_autoreconf): New, to preserve $_ for File::Find.
13591 2001-10-19  Jens Petersen  <petersen@redhat.com>
13593         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
13594         * doc/autoconf.texi (Particular Programs): Likewise.
13596 2001-10-19  Akim Demaille  <akim@epita.fr>
13598         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
13599         file in @configure_input@.
13600         Don't mention `automatically' in addition to `generated'.
13601         * tests/torture.at (#define header templates): Adjust.
13603 2001-10-19  Akim Demaille  <akim@epita.fr>
13605         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
13606         comment, explain how to install automatic mode selection.
13607         From Russ Allbery.
13609 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
13611         * bin/autoreconf.in (autoreconf): Display the path to the
13612         configure.ac being studied.
13614 2001-10-18  Paul Eggert  <eggert@twinsun.com>
13616         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
13617         long, to work around a bug in the HP C compiler version HP92453-01
13618         B.11.11.23709.GP.
13620         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
13621         (AS_BASENAME_EXPR): New macro.
13622         (AS_BASENAME_SED): Do not assume GNU sed semantics.
13623         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
13624         and fall back on 'sed' only if the other two fail.  This makes
13625         AS_BASENAME act more like AS_DIRNAME.
13626         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
13627         contains white space.
13628         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
13629         Use AS_DIRNAME, since I think it's now DOS-friendly.
13630         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
13631         Allow "dirname //FOO" to return either / or //, as POSIX allows
13632         either behavior.
13634 2001-10-10  Akim Demaille  <akim@epita.fr>
13636         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
13637         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
13638         From Eric Sharkey.
13640 2001-10-10  Akim Demaille  <akim@epita.fr>
13642         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
13643         m4_define, since...
13644         (_AS_ECHO_N): AS_REQUIREs it.
13646 2001-10-10  Akim Demaille  <akim@epita.fr>
13648         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
13649         (AC_INCLUDES_DEFAULT): Move to...
13650         * lib/autoconf/headers.m4: here.
13651         * lib/autoconf/types.m4: Comment changes.
13652         * doc/autoconf.texi: Specify where the default includes are used
13653         in the macro prototypes.
13655 2001-10-09  Akim Demaille  <akim@epita.fr>
13657         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
13658         transition code.
13660 2001-10-08  Akim Demaille  <akim@epita.fr>
13662         * bin/autoreconf.in (&autoreconf): Remove debugging code.
13663         (&parse_args): Pass verbosity/debugging options to subtools when
13664         --debug, not when --verbose.
13665         * lib/autom4te.in (Autoreconf-preselections): New.
13666         (Autoconf): Use it.
13668 2001-10-08  Akim Demaille  <akim@epita.fr>
13670         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
13672 2001-10-08  Akim Demaille  <akim@epita.fr>
13674         * doc/autoconf.texi (autoreconf Invocation): Adjust.
13675         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
13677 2001-10-08  Akim Demaille  <akim@epita.fr>
13679         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
13680         (Syntax of the shell scripts): Don't.
13681         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
13682         bother with $force since...
13683         * lib/Autom4te/General.pm: does.
13685 2001-10-08  Akim Demaille  <akim@epita.fr>
13687         * bin/autoreconf.in: Rewrite in Perl.
13688         * configure.ac: Adjust.
13689         * lib/Autom4te/General.pm (&up_to_date_p): New.
13690         * bin/autom4te.in (&up_to_date_p): Use it.
13691         Rename as...
13692         (&up_to_date): this.
13694 2001-10-08  Akim Demaille  <akim@epita.fr>
13696         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
13697         (m4_list_cmp): Use $0 to reinvoke yourself.
13698         (m4_patsubsts): New.
13699         (m4_strip, m4_version_unletter): Use it.
13700         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
13702 2001-10-08  Akim Demaille  <akim@epita.fr>
13704         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
13705         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
13706         * lib/autoconf/types.m4, lib/autotest/general.m4,
13707         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
13708         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
13709         m4_bregexp, m4_bpatsubst, and m4_bmatch.
13710         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
13712 2001-10-08  Akim Demaille  <akim@epita.fr>
13714         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
13716 2001-10-08  Akim Demaille  <akim@epita.fr>
13718         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
13719         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
13720         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
13721         * tests/tools.at, tests/m4sh.at: Use it.
13722         * tests/m4sh.at: Don't rely on Autoconf macros.
13723         (DIRNAME_TEST): Also exercise the expr variant.
13724         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
13725         preferred M4sugar extension is now `.4s'.
13726         * tests/README: Remove.
13728 2001-10-08  Akim Demaille  <akim@epita.fr>
13730         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
13731         (m4_provide_if): this.
13732         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
13733         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
13734         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
13735         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
13737 2001-10-08  Akim Demaille  <akim@epita.fr>
13739         Use `add-log-current-defun-function' for ChangeLog creation.
13740         Suggested by Tom Tromey.
13742         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
13743         (autotest-mode): Adjust.
13744         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
13745         'comment-region onto `C-c ;'.
13746         Comments are `#', not `dnl'.
13747         (autoconf-current-defun): New.
13748         (autoconf-font-lock-keywords): Recognize `m4_defun'.
13750 2001-10-08  Akim Demaille  <akim@epita.fr>
13752         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
13753         * lib/m4sugar/m4sh.m4: here.
13754         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
13755         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
13756         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
13757         include handle the m4_pattern_*, no longer push the
13758         BODY diversion nor set the /bin/sh line, AS_INIT does it.
13759         * lib/autotest/general.m4 (AT_INIT): Likewise.
13760         * tests/base.at: Adjust the tests to use AS_INIT.
13761         * tests/tools.at (AT_DATA_FORBIDDEN): New.
13762         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
13763         Autoconf.
13765 2001-10-07  Paul Eggert  <eggert@twinsun.com>
13767         * doc/autoconf.texi (config.status Invocation):
13768         CONFIG_SHELL defaults to a shell that supports LINENO if available.
13770         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
13771         shell does not support LINENO, and if CONFIG_SHELL is unset or
13772         empty, and if we can find a shell that does support LINENO,
13773         then set CONFIG_SHELL to that shell and then re-execute
13774         ourselves with CONFIG_SHELL.
13776 2001-10-05  Paul Eggert  <eggert@twinsun.com>
13778         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
13779         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
13780         build of $(TESTSUITE).
13782 2001-10-05  Akim Demaille  <akim@epita.fr>
13784         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
13785         iff we are a bareword.
13786         Reported by Raja R Harinath.
13788 2001-10-05  Akim Demaille  <akim@epita.fr>
13790         * tests/m4sh.at (LINENO): New.
13791         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
13792         PATH_SEPARATOR before using it.
13793         Fix the absolute path case/esac pattern.
13794         Provide $0 as fallback for as_myself.
13795         Reported by Raja R Harinath.
13797 2001-10-05  Akim Demaille  <akim@epita.fr>
13799         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
13800         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
13802 2001-10-05  Akim Demaille  <akim@epita.fr>
13804         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
13805         (AS_SHELL_SANITIZE): here.  Use it.
13806         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
13807         From Paul Eggert.
13809 2001-10-04  Akim Demaille  <akim@epita.fr>
13811         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
13812         combination of Awk and sed to replace $LINENO.
13814 2001-10-02  Paul Eggert  <eggert@twinsun.com>
13816         * doc/autoconf.texi (Limitations of Builtins): You can't use
13817         "source"; it's not portable.  Remove confusing and
13818         somewhat-incorrect example involving "." and "/".
13820         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
13821         compatibility with POSIX shells.
13823 2001-10-02  Akim Demaille  <akim@epita.fr>
13825         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
13826         instead of exec'ing to preserve $0 and $@.
13828 2001-10-01  Akim Demaille  <akim@epita.fr>
13830         * tests/testsuite (AT_INIT) <at_pass_list>: New.
13831         Don't run twice the same test.
13833 2001-10-01  Akim Demaille  <akim@epita.fr>
13835         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
13836         No longer output the list of tests.
13837         <--list>: New option.
13838         <--full-help>: Remove.
13839         Complete the short/long options duality.
13840         Various small adjustments.
13842 2001-10-01  Akim Demaille  <akim@epita.fr>
13844         * doc/autoconf.texi: Use @kbd for user input.
13845         Always use `$' as shell prompt.
13847 2001-09-30  Paul Eggert  <eggert@twinsun.com>
13849         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
13850         Don't use nested parenthesization.  This patch was originally
13851         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
13852         but somehow it didn't get incorporated then.
13853         * doc/autoconf.texi (Limitations of Usual Tools):
13854         Clarify remark about sed and nested parenthesization.
13856         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
13857         Report an error if the size cannot be determined even though
13858         the type exists.
13859         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
13860         Check for `expr' arithmetic overflow, and for compilation failure,
13861         and invoke a new argument $4 if either is discovered.
13862         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
13863         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
13865 2001-09-28  Akim Demaille  <akim@epita.fr>
13867         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
13868         * m4/lispdir.m4: New.
13869         * aclocal.m4, configure.ac: Adjust.
13871 2001-09-28  Akim Demaille  <akim@epita.fr>
13873         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
13874         (AT_TESTED): this.
13875         (AT_INIT): More the wrapped section to where it will be expanded.
13876         Output `AT_tested' only when existing.
13877         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
13879 2001-09-27  Akim Demaille  <akim@epita.fr>
13881         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
13882         generates too many bug reports.
13884         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
13885         status when executing the ACTION-IF-FALSE.
13886         * tests/base.at (AC_TRY_*): Rename as...
13887         (AC_TRY_COMMAND): this.
13888         (AC_RUN_IFELSE): New.
13889         * tests/compile.at (Extensions, C keywords)
13890         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
13891         (Broken/missing compilers, AC_PROG_CPP with warnings)
13892         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
13893         * tests/c.at (Extensions, C keywords)
13894         (Broken/missing compilers, AC_PROG_CPP with warnings)
13895         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
13896         (AC_PROG_CPP requires AC_PROG_CC): here and...
13897         * tests/fortran.at (GNU Fortran 77): there.
13898         * doc/autoconf.texi (autoconf Invocation): Fix the example:
13899         AC_TRY_RUN is about compilation, not shell commands.
13900         (Test Programs): AC_TRY_RUN works as used to be advertised.
13902 2001-09-27  Akim Demaille  <akim@epita.fr>
13904         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
13905         Raja R Harinath:
13906         Be sure to detect when $LINENO always returns the same value.
13907         Look for the original script, basename($0) is certainly not
13908         enough.
13909         Pass the CLI arguments to `$as_me.lineno'.
13911 2001-09-25  Akim Demaille  <akim@epita.fr>
13913         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
13914         Be sure the close and reopen the LOG fd before and after using tee
13915         to extend the log.
13916         <at_tests_pattern>: Adjust to the new format of at_help_all.
13918 2001-09-23  Akim Demaille  <akim@epita.fr>
13920         * bin/autom4te.in (parse_args): There can be several invocations
13921         of --language now.
13923 2001-09-23  Akim Demaille  <akim@epita.fr>
13925         * doc/autoconf.texi (Top): Wrap in @ifnottex.
13927 2001-09-23  Akim Demaille  <akim@epita.fr>
13929         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
13930         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
13931         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
13932         builddir, buildpath, top_builddir, and top_buildpath.
13933         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
13934         the current directory.
13935         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
13936         variables *before* changing the current directory.
13937         Skip nonexistent dirs.
13938         * doc/autoconf.texi (Preset Output Variables): Document these
13939         variables.
13941         * lib/autotest/general.m4: Do not reset AT_victims.
13942         Don't compute at_srcdir nor at_top_srcdir.
13944         * tests/tools.at: Hence use top_srcdir.
13946         * tests/Makefile.am, tests/autoconf, tests/autoheader,
13947         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
13948         Remove.
13949         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
13950         * tests/wrapsh.in, tests/autoupdate.in: New.
13951         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
13952         * configure.ac: Build the position independent wrappers.
13954         * man/Makefile.am: Now that test wrappers are position
13955         independent, use them and drop dark envvar magic.
13957 2001-09-23  Akim Demaille  <akim@epita.fr>
13959         * doc/autoconf.texi (Common Shell Constructs): Rename as...
13960         (Programming in M4sh): this.
13961         Promote to @section.
13963 2001-09-23  Akim Demaille  <akim@epita.fr>
13965         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
13966         Pass $at_debug_args to the rerun test suite.
13967         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
13968         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
13969         From Paul Eggert.
13971 2001-09-23  Akim Demaille  <akim@epita.fr>
13973         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
13975 2001-09-23  Akim Demaille  <akim@epita.fr>
13977         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
13978         over-escaping.
13980 2001-09-23  Akim Demaille  <akim@epita.fr>
13982         * lib/Autom4te/General.pm (&debug): New.
13983         * bin/autom4te.in ($language): Move to...
13984         (parse_args): here.
13985         Handle --language in languages.
13986         * lib/autom4te.in (Automake-selections, Autoheader-selections)
13987         (Autoscan-selections): New.
13988         (Autoconf): Adjust.
13990 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
13992         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
13993         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
13994         to match current versions from CVS Automake.
13996 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
13998         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
13999         for $LINENO.
14001 2001-09-22  Akim Demaille  <akim@epita.fr>
14003         * lib/autoconf/autotest.m4: Create `package.m4'.
14004         * tests/Makefile.am (package.m4): Remove.
14006 2001-09-22  Akim Demaille  <akim@epita.fr>
14008         Rely on `$LINENO' when possible instead of `__oline__'.
14010         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
14011         `$LINENO' support replacement when not supported.
14012         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
14013         them explicitly to be sure they are not output before this section
14014         (via m4_require).  Cosmetic only.
14015         * lib/autoconf/c.m4, lib/autoconf/general.m4,
14016         * lib/autoconf/programs.m4: Replace all the occurrences of
14017         `__oline__' with `$LINENO'.
14018         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
14020 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
14022         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
14023         character (u: -> ue) in a code comment.
14024         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
14025         it works.
14027 2001-09-21  Akim Demaille  <akim@epita.fr>
14029         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
14030         Suggested by Jim Meyering.
14032 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
14034         * lib/autoconf/programs.m4: Use extensions listed in
14035         $ac_executable_extensions when looking for programs.
14037 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
14039         * lib/autoconf/general.m4: Fix a small Englisho.
14040         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
14041         setting up ac_dir_suffix and ac_top_builddir.
14042         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
14044 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
14046         * doc/autoconf.texi (File System Conventions): Clarify the use of
14047         PATH_SEPARATOR.
14048         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
14049         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
14050         be used instead of ':'.
14051         * lib/autotest/general.m4: Replace occurrences of ':' in
14052         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
14054 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
14056         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
14057         arguments.  Fixed a typo.
14059 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
14061         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
14062         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
14064 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
14066         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
14067         * bin/autoupdate.in: Ditto.
14068         * bin/autoheader.in: Reworded a few comments.
14069         * bin/autoconf.in: Reworded help text for a few options.
14070         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
14071         * bin/autoscan.in, bin/autoupdate.in: Ditto.
14073 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
14075         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
14076         already have $file).  Set output files to binary mode (helps avoid
14077         CR issues on DOSish systems).
14079 2001-09-19  Akim Demaille  <akim@epita.fr>
14081         * lib/autotest/general.m4: Englishoes.
14082         From Tim Van Holder and Alexey Mahotkin.
14084 2001-09-18  Paul Eggert  <eggert@twinsun.com>
14086         * doc/autoconf.texi (Common Shell Constructs): New node,
14087         documenting AS_DIRNAME.
14088         (Limitations of Usual Tools): Refer to it when discussing dirname.
14089         Also, update discussion of POSIX standard to reflect latest draft.
14091         * lib/autoconf/c.m4:
14092         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
14094         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
14095         Do not pass a first argument with leading '-'
14096         to expr, by parenthesizing initial integers that might be negative.
14098         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
14099         now merely checks whether it is an error to pass an argument
14100         to getpgrp.
14102         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
14103         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
14104         whether it is a (compile-time) error to pass an argument to
14105         getpgrp.  This simpler test supports the revised documentation,
14106         and is all that AC_FUNC_GETPGRP's users really need.
14108 2001-09-18  Akim Demaille  <akim@epita.fr>
14110         * doc/autoconf.texi (Limitations of Make) <$<>: New.
14112 2001-09-18  Akim Demaille  <akim@epita.fr>
14114         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
14115         `{}'.
14116         * lib/autotest/general.m4 (AT_INIT): Adjust.
14118 2001-09-18  Paul Wagland  <paul@wagland.net>
14120         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
14121         correctly.
14122         Add test for AS_BASENAME.
14123         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
14124         added test. It now correctly handles /1/2/3/, returning '3' not ''.
14125         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
14126         * tests/base.at: Fixed the expected responses. The old ones were
14127         one line out...
14128         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
14129         the documentation claims it should (and how it behaved in 2.13).
14131 2001-09-18  Akim Demaille  <akim@epita.fr>
14133         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
14134         the AC_CONFIG_COMMANDS invocation.
14135         This also solves the name clash problems.
14136         Don't set the package's ID.
14137         * lib/m4sugar/Makefile.am (version.m4): Revamp.
14138         No longer to be shipped.
14139         (version.in): Remove.
14140         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
14141         * lib/autoconf/status.m4: Adjust.
14142         Use `m4_PACKAGE_STRING'.
14143         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
14144         the only optional argument is the name of the test suite.
14145         Expect `package.m4' to define the package signature.
14146         * lib/autom4te.in (Autotest): Add `package.m4?'.
14147         * tests/Makefile.am (package.m4): New.
14148         * tests/suite.at: ifnames is a victim.
14150 2001-09-18  Akim Demaille  <akim@epita.fr>
14152         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
14153         AC_LIBSOURCE, AC_CONFIG_FILES.
14154         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
14155         program version string doesn't match the package's.
14156         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
14157         after `(cached)'.
14159 2001-09-17  Paul Eggert  <eggert@twinsun.com>
14161         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
14162         Allow expression to return any value that can fit into unsigned long
14163         (not int, as before).  Check for output errors.
14165 2001-09-17  Bruno Haible  <haible@ilog.fr>
14167         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
14168         Always include <stdio.h> and <stdlib.h>. Evaluate
14169         the expression in an extra function before these includes. Call
14170         fprintf "%d" only after ensuring the argument is of type 'int'.
14171         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
14173 2001-09-17  Paul Eggert  <eggert@twinsun.com>
14175         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
14176         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
14177         fatal errors, and AC_CHECK_LIB causes it to include libraries even
14178         when they don't exist.
14180         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
14181         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
14182         need it.
14184         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
14185         version with the version used by fileutils 4.1, except use
14186         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
14187         we don't need it.
14189         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
14191 2001-09-13  Akim Demaille  <akim@epita.fr>
14193         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
14194         _first_.
14195         Reported by Gerrit P. Haase.
14197 2001-09-13  Akim Demaille  <akim@epita.fr>
14199         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
14200         m4_defn'ing is valid.
14202 2001-09-13  Akim Demaille  <akim@epita.fr>
14204         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
14205         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
14206         Use it.
14208 2001-09-13  Akim Demaille  <akim@epita.fr>
14210         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
14211         m4_match.
14212         (m4_re_escape): New.
14213         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
14214         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
14215         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
14216         Likewise.
14217         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
14218         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
14219         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
14220         AT_tests_all for consistency.
14221         Set at_victims.
14222         (AT_VICTIMS): Similar to AT_KEYWORDS.
14223         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
14225 2001-09-13  Akim Demaille  <akim@epita.fr>
14227         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
14229 2001-09-13  Akim Demaille  <akim@epita.fr>
14231         * lib/autotest/general.m4 (AT_INIT): Create and remove
14232         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
14233         test suites can cohabit.
14235 2001-09-13  Akim Demaille  <akim@epita.fr>
14237         * tests/mktests.sh: Don't output banners for empty test files.
14239 2001-09-13  Akim Demaille  <akim@epita.fr>
14241         Test suites can be run independently of configure.
14243         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
14244         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
14245         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
14246         ECHO_N etc.
14247         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
14248         and at_c.
14249         * lib/autotest/general.m4: Use ECHO_*.
14251 2001-09-13  Akim Demaille  <akim@epita.fr>
14253         * bin/ifnames.in: Rewrite in Perl.
14254         * configure.ac: Don't look for AWK.
14255         * tests/tools.at (AWK portability): Remove.
14256         (Syntax of the shell scripts): Don't check ifnames.
14257         (AT_CHECK_PERL_SYNTAX): New.
14258         (Syntax of the Perl scripts): Check ifnames.
14259         * tests/ifnames: New.
14261 2001-09-13  Akim Demaille  <akim@epita.fr>
14263         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
14264         test group titles.
14265         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
14266         Remove all the other keywords.
14268 2001-09-10  Akim Demaille  <akim@epita.fr>
14270         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
14271         SETUP: no longer used.
14272         Support -k, --keywords.
14273         <at_help>: Be `no', `short', or `long'.
14274         <at_help_all>: New variable.
14275         (AT_KEYWORDS): New.
14276         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
14277         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
14278         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
14279         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
14280         No longer fill the HELP diversion.
14281         (AT_CLEANUP): Use them.
14282         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
14283         (m4_list_append): Remove.
14285         Spread a few keywords in the Autoconf test suite.
14287 2001-09-10  Akim Demaille  <akim@epita.fr>
14289         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
14290         PATH_SEPARATOR, let M4sh compute it.
14291         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
14292         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
14293         Move to...
14294         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
14295         Simplify when the path is not a literal.
14296         (AS_UNAME): Use it to report PATH.
14297         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
14298         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
14299         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
14300         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
14301         normalize the path, and to look for victims.
14302         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
14303         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
14305 2001-09-07  Akim Demaille  <akim@epita.fr>
14307         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
14308         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
14309         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
14310         related variables into `at_package_*'.
14311         * lib/autotest/general.m4 (AT_VICTIMS): New.
14312         (AT_INIT): Adjust for stand-alone/embedded test suites.
14313         (AS_MESSAGE_LOG_FD): Define and use it.
14314         * tests/suite.at (AT_VICTIMS): Use it.
14315         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
14316         at_version.
14318 2001-09-07  Akim Demaille  <akim@epita.fr>
14320         Move toward possibly stand-alone test suites.
14322         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
14323         in addition, it introduces useless differences in logs.
14324         (AT_INIT): Let atconfig and atlocal be both optional.
14325         Adjust PATH computation.
14326         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
14328 2001-09-07  Akim Demaille  <akim@epita.fr>
14330         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
14331         m4sugar/version.m4.
14333 2001-09-05  Akim Demaille  <akim@epita.fr>
14335         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
14336         to avoid GCC warnings.
14337         From Uwe Seimet.
14339 2001-09-05  Akim Demaille  <akim@epita.fr>
14341         * bin/autom4te.in: --language is -l, not -s.
14343 2001-09-05  Akim Demaille  <akim@epita.fr>
14345         Be ready to handle filenames as stupid as `dnl.at', for if even
14346         the maintainer is dumb enough to do that...
14348         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
14349         excellence in M4 quotation: consider `__file__' is active.
14351         And BTW, when invoking m4, pass the --include in the right order:
14352         the wrong one.
14354         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
14355         4m.
14357 2001-09-05  Akim Demaille  <akim@epita.fr>
14359         * lib/Autom4te/XFile.pm: New lib file.
14360         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
14361         * bin/autoheader.in: Use it.
14363 2001-09-05  Akim Demaille  <akim@epita.fr>
14365         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
14366         defined.
14368 2001-09-05  Akim Demaille  <akim@epita.fr>
14370         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
14371         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
14373         * bin/autoscan.in: Use `getopt' and `find_files' etc.
14374         Add -I, --include support.
14375         * doc/autoconf.texi (autoscan Invocation): Adjust.
14377 2001-09-05  Akim Demaille  <akim@epita.fr>
14379         CVS GNU M4 doesn't like `undefine(undefined)'.
14381         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
14382         New, extracted from main.
14383         Use IO::File wherever possible.
14384         (input.m4): Be constant, use -I instead of hard coding $tmp.
14385         Therefore be a quoted heredoc.
14386         Don't invoke `_au_disable', since ac was not loaded, but just
14387         `unm4.m4'.
14389 2001-08-31  Akim Demaille  <akim@epita.fr>
14391         Version 2.52d.
14393 2001-08-31  Akim Demaille  <akim@epita.fr>
14395         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
14396         previous patch.
14397         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
14399 2001-08-31  Akim Demaille  <akim@epita.fr>
14401         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
14402         serious problems handling heredocs in heredocs.
14403         Reported by Nicolas Joly.
14405 2001-08-31  Akim Demaille  <akim@epita.fr>
14407         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
14408         (Making testsuite Scripts): Update.
14410 2001-08-31  Akim Demaille  <akim@epita.fr>
14412         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
14414 2001-08-31  Akim Demaille  <akim@epita.fr>
14416         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
14417         (testsuite Scripts): There is no such thing as `atconfig.in'.
14418         And actually one diagram is missing: test suite runtime.
14420 2001-08-31  Akim Demaille  <akim@epita.fr>
14422         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
14423         inverse order.
14425 2001-08-31  Akim Demaille  <akim@epita.fr>
14427         * bin/autoupdate.in (@include): `installcheck' revealed the path
14428         to m4sugar was lacking!
14430 2001-08-31  Akim Demaille  <akim@epita.fr>
14432         * man/Makefile.am (.x.1): We really have to pass
14433         autom4te_perllibdir.
14435 2001-08-31  Akim Demaille  <akim@epita.fr>
14437         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
14438         debug scripts, in particular passing explicitly listed tests to
14439         run is stupid.
14441 2001-08-31  Akim Demaille  <akim@epita.fr>
14443         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
14444         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
14445         Use directly autom4te, not autoconf.
14446         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
14448 2001-08-31  Akim Demaille  <akim@epita.fr>
14450         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
14451         * bin/autoheader.in (%symbol): Strip arguments of macros.
14453 2001-08-31  Akim Demaille  <akim@epita.fr>
14455         * doc/autoconf.texi: Catch up -I, --include changes.
14457 2001-08-31  Akim Demaille  <akim@epita.fr>
14459         * bin/autom4te.in (&parse_args): Die on unknown languages.
14460         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
14461         need for autoconf.
14462         Promote --include over --macrodir and other obsolete options.
14464 2001-08-31  Akim Demaille  <akim@epita.fr>
14466         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
14467         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
14468         * bin/autom4te.in ($autoconf): Pass --force.
14469         `print $out' doesn't print `$_' but `$out'.
14470         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
14471         (autoheader): Pass --force since the test suite goes too fast for
14472         the time stamps.
14473         Adjust to the new autoheader messages.
14475 2001-08-31  Akim Demaille  <akim@epita.fr>
14477         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
14478         Check the completeness of the #template.
14479         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
14480         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
14481         invocation.
14483 2001-08-31  Akim Demaille  <akim@epita.fr>
14485         * lib/Autom4te/General.pm (&find_file, &update_file): New.
14486         * bin/autoupdate.in, bin/autoheader.in: Adjust.
14487         Drop AC_MACRODIR dead for real.
14488         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
14489         `autoheader: `config.hin' is created'.
14490         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
14492 2001-08-31  Akim Demaille  <akim@epita.fr>
14494         * bin/autoheader.in: Rewrite in Perl.
14495         * tests/autoheader: Adjust.
14497 2001-08-31  Akim Demaille  <akim@epita.fr>
14499         * bin/autoconf.in (--include, -I): New option.
14500         Map --localdir, --autoconf-dir onto it.
14501         Forward autom4te's options instead of interpreting them.
14502         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
14503         There is no such envvar since the inception of autom4te.cfg.
14504         * bin/autom4te.in (&parse_args): Uniquify `@include'.
14505         * bin/autoupdate.in: Adjust, and perform more control.
14506         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
14507         * tests/autoconf: Dittowise.
14509 2001-08-31  Akim Demaille  <akim@epita.fr>
14511         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
14512         * bin/autom4te.in (&find_file): Support `FILE?' standing for
14513         optionally `FILE'.
14514         Use -e, not -f, since /dev/null for instance is OK.
14515         (&parse_args): Adjust.
14516         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
14518 2001-08-31  Akim Demaille  <akim@epita.fr>
14520         * configure.ac: Also find tested executables in bin.
14521         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
14522         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
14523         installed peer executables, only PATH is allowed to resolve it.
14524         Pass `autoconf_dir' via options, not via invisible envvars.
14525         * lib/Autom4te/General.pm (&find_peer): Remove.
14526         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
14527         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
14528         * man/Makefile.am: Let help2man rely on PATH instead of trying to
14529         find the executables for it.
14530         * tests/Makefile.am: Major cleanup.  Too lazy to document...
14531         * tests/atlocal.in: Remove all the obscure envvar manipulations.
14532         We only need PERL.
14533         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
14534         indeed related to running the test suite, while passing
14535         --autoconf-dir and others is related to running non installed
14536         Autoconf executables.  So don't do that, leave it to...
14537         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
14538         * tests/autoscan: New.
14539         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
14540         refer to library files: rely on --language.
14542 2001-08-29  Akim Demaille  <akim@epita.fr>
14544         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
14545         s/--set/--language/.
14547 2001-08-29  Akim Demaille  <akim@epita.fr>
14549         * doc/autoconf.texi: Strip the @nodes.
14550         Suggested by Paul Eggert.
14551         (Initializing configure): Typo.
14553 2001-08-29  Akim Demaille  <akim@epita.fr>
14555         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
14556         Suggested by Paul Eggert.
14558 2001-08-29  Akim Demaille  <akim@epita.fr>
14560         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
14561         download in a tmp dir.
14563 2001-08-29  Akim Demaille  <akim@epita.fr>
14565         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
14566         case insensitive OSes out there :(
14567         From Tim Van Holder.
14569 2001-08-29  Akim Demaille  <akim@epita.fr>
14571         * lib/autom4te.in: New.
14572         * lib/Makefile.am (edit, autom4te.cfg): New.
14573         * bin/autom4te.in (BEGIN): Simplify.
14574         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
14575         (&load_configuration): New.  Use it.
14576         (&parse_args): Support --mode, --set, and --melt.
14577         * bin/autoconf.in: Simplify and adjust.
14578         * tests/Makefile.am (AUTOMAKE): Use --set.
14579         * tests/atlocal.in: Adjust.
14580         * BUGS: distcheck and check are weak.
14582 2001-08-29  Akim Demaille  <akim@epita.fr>
14584         * lib/autotest/general.m4: Use
14585                 foo=`(command) 2>/dev/null`
14586         not
14587                 foo=`command` 2>/dev/null
14588         (at-devnull): Rename as...
14589         (AT-devnull): this.
14590         (--clean): Remove AT-* files too.
14591         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
14592         Reported by Nicolas Joly.
14594 2001-08-28  Akim Demaille  <akim@epita.fr>
14596         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
14597         quotes inside single quotes.
14598         Reported by Nicolas Joly.
14600 2001-08-28  Kevin Ryde  <user42@zip.com.au>
14602         * doc/autoconf.texi (Function Portability): Mention C right shifts.
14604 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
14606         * lib/autotest/general.m4: Reword some messages.
14607         (AT_INIT): Check for the `times' builtin before using it.
14608         Support test ranges as arguments to the testsuite.
14609         Have -e imply -d as the help text suggested.
14611 2001-08-27  Akim Demaille  <akim@epita.fr>
14613         * Makefile.maint: Formatting changes.
14614         (do-po-update, po-update, cvs-update, update): New targets.
14615         (AMTAR): Remove.
14617 2001-08-27  Akim Demaille  <akim@epita.fr>
14619         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
14620         <at_cmd_line>: New.
14621         Pass it to debug-*.sh scripts.
14622         <AUTOTEST_PATH>: May contain absolute dir names.
14624 2001-08-27  Akim Demaille  <akim@epita.fr>
14626         * lib/autotest/general.m4 (AT_INIT): Log the command line.
14627         Support `VAR=VAL' as arguments.
14628         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
14629         may be set via the command line.
14631 2001-08-27  Akim Demaille  <akim@epita.fr>
14633         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
14634         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
14635         first the build dirs, then the src dirs.
14636         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
14638 2001-08-27  Akim Demaille  <akim@epita.fr>
14640         * lib/autotest/general.m4 (AT_INIT): Output the definition of
14641         at_data_files earlier.
14642         (--clean, -c): New option.
14643         * tests/Makefile.am: Use this option.
14645 2001-08-27  Akim Demaille  <akim@epita.fr>
14647         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
14648         `ac_top_builddir' to mimic Automake's vocabulary, which much more
14649         readable.
14650         Adjust callers.
14651         * doc/autoconf.texi (Configuration Actions): Document the vars
14652         available in commands.
14653         Emphasize the risks of collisions in init-cmds.
14655 2001-08-27  Akim Demaille  <akim@epita.fr>
14657         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
14658         (Initializing configure): this new node.
14660 2001-08-27  Akim Demaille  <akim@epita.fr>
14662         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
14664 2001-08-27  Akim Demaille  <akim@epita.fr>
14666         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
14667         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
14668         New file.
14669         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
14671 2001-08-27  Akim Demaille  <akim@epita.fr>
14673         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
14674         to...
14675         * lib/autoconf/autoheader.m4: this new file.
14676         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
14677         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
14678         Move to...
14679         * lib/autoconf/autoupdate.m4: this new file.
14681 2001-08-27  Akim Demaille  <akim@epita.fr>
14683         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
14684         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
14685         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
14686         -> ac_dir).
14687         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
14688         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
14690 2001-08-27  Akim Demaille  <akim@epita.fr>
14692         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
14693         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
14694         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
14695         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
14696         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
14697         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
14698         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
14699         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
14700         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
14701         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
14702         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
14703         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
14704         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
14705         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
14706         (_AC_OUTPUT_SUBDIRS): Move to...
14707         * lib/autoconf/status.m4: this new file.
14708         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
14709         * tests/Makefile.am, tests/suite.at: Adjust.
14711 2001-08-27  Akim Demaille  <akim@epita.fr>
14713         Automake 1.5.
14715         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
14716         (AMTAR): Help automake define it.
14717         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
14718         needed, 1.5 can have a macro and a target with the same name.
14719         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
14720         * m4/strip.m4: New.
14721         * m4/init.m4, m4/sanity.m4: Update.
14722         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
14723         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
14724         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
14725         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
14727 2001-08-27  Akim Demaille  <akim@epita.fr>
14729         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
14731         * lib/autoconf/version.in: Remove.
14732         * lib/m4sugar/version.in: New.
14733         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
14734         Adjust callers.
14735         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
14736         the name of the directory they're in, instead of the filename,
14737         since version.m4 is now in m4sugar, but m4_acversion must not be
14738         classified as an Autoconf macro.
14739         ($input_m4): Don't qualify the path to m4sugar.
14740         Rather, pass autoconf_dir to m4.
14741         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
14742         * tests/suite.at: Require 2.52c.
14744 2001-08-27  Akim Demaille  <akim@epita.fr>
14746         testsuite.log should include config.log.
14748         * lib/autotest/autotest.m4: New.
14749         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
14750         * tests/suite.at : Adjust.
14751         (AT_INIT): Log config.log.
14752         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
14753         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
14754         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
14755         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
14756         of config.log on traps.
14757         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
14758         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
14759         for config.status'.
14760         Open the log as soon as possible.
14761         Use the same log introduction as configure's.
14763 2001-08-22  Paul Eggert  <eggert@twinsun.com>
14765         * doc/autoconf.texi (Indices): New node.
14766         Move indices out of the top level menu and into this submenu.
14768 2001-08-22  Akim Demaille  <akim@epita.fr>
14770         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
14771         AC_TRY_COMMAND.
14772         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
14774 2001-08-22  Akim Demaille  <akim@epita.fr>
14776         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
14777         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
14778         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
14779         * lib/autoconf/programs.m4: here.
14780         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
14781         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
14782         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
14783         * lib/autoconf/programs.m4: here.
14784         (_AC_DECL_YYTEXT): Rename as...
14785         (_AC_PROG_LEX_YYTEXT_DECL): this.
14786         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
14787         * tests/Makefile.am, tests/suite.am: Adjust.
14789 2001-08-22  Akim Demaille  <akim@epita.fr>
14791         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
14792         Move to...
14793         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
14794         here.
14795         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
14796         * lib/autoconf/functions.m4: here.
14797         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
14798         (AH_CHECK_LIB): Move to...
14799         * lib/autoconf/libs: this new file.
14800         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
14801         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
14802         * lib/autoconf/libs.m4: here.
14803         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
14805 2001-08-22  Akim Demaille  <akim@epita.fr>
14807         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
14808         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
14809         (AC_SITE_LOAD): Better logging of config.site.
14811 2001-08-20  Akim Demaille  <akim@epita.fr>
14813         * configure.ac (AT_CONFIG): Fix the path.
14814         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
14815         can be used.
14817 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
14819         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
14820         program with AC_LANG_PROGRAM before feeding it to
14821         AC_COMPILE_IFELSE.  Cleanup grep usage.
14823 2001-08-20  Akim Demaille  <akim@epita.fr>
14825         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
14826         * NEWS, README, README-alpha, TODO, tests/README: This package is
14827         `Autoconf', not `autoconf' (the executable).
14829 2001-08-20  Akim Demaille  <akim@epita.fr>
14831         Info readers seem to need `Index' in the index node title :(
14833         * doc/autoconf.texi: Reverse the 2001-08-15 change which
14834         simplified index node names.
14836 2001-08-20  Akim Demaille  <akim@epita.fr>
14838         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
14839         arguments are not literals.
14840         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
14841         Specify the output variables, and macros defined.
14843 2001-08-20  Akim Demaille  <akim@epita.fr>
14845         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
14846         (Examining Syntax) <AC_TRY_COMPILE>
14847         (Examining Libraries) <AC_TRY_LINK>
14848         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
14849         their arguments.
14850         Reported by Werner Lemberg.
14852 2001-08-20  Akim Demaille  <akim@epita.fr>
14854         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
14855         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
14856         Load atlocal late enough to dump it in the log.
14857         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
14859 2001-08-20  Akim Demaille  <akim@epita.fr>
14861         * tests/torture.at (Configuring subdirectories): New test.
14862         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
14863         looking for.
14864         * m4/atconfig.m4: Be sure the let $[0] be expandable.
14865         (top_srcdir): Fix its computation.
14867 2001-08-20  Akim Demaille  <akim@epita.fr>
14869         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
14870         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
14871         test suite lives.
14872         Create `atconfig' automagically.
14873         Configure atlocal.in if present.
14874         * tests/atconfig.in: Remove.
14875         * tests/atlocal.in: New.
14876         * tests/Makefile.am: Adjust.
14878 2001-08-20  Akim Demaille  <akim@epita.fr>
14880         Huh!?!?!  There are still some user EOF tags used, which prevents
14881         their use in AC_CONFIG_COMMANDS for instance...
14883         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
14884         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
14885         `_CSEOF', or `_ATEOF', as appropriate.
14886         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
14887         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
14889 2001-08-20  Akim Demaille  <akim@epita.fr>
14891         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
14892         * tests/semantics.at, tests/tools.at, tests/torture.at:
14893         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
14895 2001-08-20  Akim Demaille  <akim@epita.fr>
14897         Autotest invokes M4sh's initialization.
14899         * lib/autotest/general.m4: Adjust the diversion names.
14900         (AT_INIT): Run AS_INIT.
14901         Use the BINSH diversion to invoke /bin/sh.
14902         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
14903         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
14905 2001-08-20  Akim Demaille  <akim@epita.fr>
14907         Let M4sh have its own diversions.
14909         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
14910         (_m4_divert(NOTICE)): Rename as...
14911         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
14912         (_m4_divert(HEADER-COMMENT)): these.
14913         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
14914         (_m4_divert(NOTICE)): New, for Libtool.
14915         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
14916         long ago with `_m4_divert(GROW)'.
14917         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
14919 2001-08-20  Akim Demaille  <akim@epita.fr>
14921         * tests/base.at, tests/compile.at, tests/foreign.at,
14922         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
14923         * tests/semantics.at, tests/suite.at, tests/tools.at,
14924         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
14926 2001-08-20  Akim Demaille  <akim@epita.fr>
14928         * bin/autom4te.in (handle_output): Handle @__@.
14930 2001-08-20  Akim Demaille  <akim@epita.fr>
14932         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
14933         * lib/autotest/general.m4: Adjust the license.
14935 2001-08-17  Paul Eggert  <eggert@twinsun.com>
14937         * doc/autoconf.texi (Function Portability): Mention snprintf,
14938         following up on a suggestion by Kevin Ryde.
14940 2001-08-17  Akim Demaille  <akim@epita.fr>
14942         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
14943         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
14945 2001-08-17  Akim Demaille  <akim@epita.fr>
14947         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
14948         `$0.log' as for projects where testsuite is in src, we'd have
14949         testsuite.log created in src.
14951 2001-08-17  Akim Demaille  <akim@epita.fr>
14953         * bin/autom4te.in (&parse_args): Recognize --normalize.
14955 2001-08-17  Akim Demaille  <akim@epita.fr>
14957         Start implementing the AC_CHECK_HEADER transition scheme.
14959         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
14960         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
14961         (AC_CHECK_HEADER): Use them.
14963 2001-08-17  Akim Demaille  <akim@epita.fr>
14965         * doc/autoconf.texi: Work around Texinfo buglets.
14966         (Transformation Rules): One example is enough, users are expected
14967         to have their brains on. And BTW, use DESTDIR.
14968         (dvar): New macro.  Use it.
14970 2001-08-17  Akim Demaille  <akim@epita.fr>
14972         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
14973         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
14974         looking for ChangeLogs.
14976 2001-08-17  Akim Demaille  <akim@epita.fr>
14978         * bin/autom4te.in: --normalize is a new option.
14979         * bin/autoconf.in: Use it.
14981 2001-08-17  Akim Demaille  <akim@epita.fr>
14983         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
14984         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
14986 2001-08-16  Paul Eggert  <eggert@twinsun.com>
14988         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
14989         start, not at end.
14991 2001-08-15  Akim Demaille  <akim@epita.fr>
14993         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
14994         Use it.
14996 2001-08-15  Akim Demaille  <akim@epita.fr>
14998         * doc/autoconf.texi (pr): New index.
14999         (prindex, findex): Use, merge, and output them.
15000         (Environment Variable Index, Output Variable Index)
15001         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
15002         (Autotest Macro Index): Rename as...
15003         (Environment Variables, Output Variables,Preprocessor Symbols)
15004         (Autoconf Macros, M4 Macros, Autotest Macros): these.
15005         * doc/install.texi: Use @command.
15006         (Environment Variables): Rename as...
15007         (Defining Variables): this.
15009 2001-08-15  Akim Demaille  <akim@epita.fr>
15011         * doc/autoconf.texi (Function Portability): sprintf's return
15012         value.
15013         From Kevin Ryde.
15015 2001-08-15  Akim Demaille  <akim@epita.fr>
15017         * Makefile.maint (CVS): New.
15018         (local-check): Run changelog-check. last.
15019         (alpha): Don't depend upon local-check, since...
15020         (cvs-dist): depends upon it.
15022 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
15024         * tests/Makefile.am: Use a clean-local rule to remove
15025         autom4te.cache (it's a directory, not a file.
15026         * Makefile.am: Ditto (but maintainer-clean-local).
15028 2001-08-15  Akim Demaille  <akim@epita.fr>
15030         * bin/autom4te.in (@m4_warning): New.
15031         (&handle_m4): Use it.
15032         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
15033         warnings are issued at each run.
15034         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
15035         is in the src tree.
15037 2001-08-15  Akim Demaille  <akim@epita.fr>
15039         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
15040         don't waste time running `autoupdate --version' works.
15041         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
15043 2001-08-13  Akim Demaille  <akim@epita.fr>
15045         * doc/autoconf.texi (ma): Rename this index as...
15046         (ac): this.
15048 2001-08-13  Akim Demaille  <akim@epita.fr>
15050         * Makefile.am: Remove dead code and dead comments.
15051         (pdf, html): New targets.
15052         * doc/autoconf.texi (Using Autotest): New chapter.
15053         * doc/Makefile.am (pdf): New targets.
15054         (CLEANFILES): Adjust.
15056 2001-08-13  Akim Demaille  <akim@epita.fr>
15058         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
15059         duration of the test suite.
15061 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
15063         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
15064         endianness for comparison instead of relying on AT_CHECK_ENV.
15066 2001-08-11  Paul Eggert  <eggert@twinsun.com>
15068         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
15069         to the INSTALL file.
15071 2001-08-11  Paul Eggert  <eggert@twinsun.com>
15073         * NEWS: The autoconf manual now is distributed under the terms
15074         of the GNU Free Documentation License.
15076         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
15077         Add an appendix "Copying This Manual" for the FDL.
15079         * doc/fdl.texi: New file, from
15080         <http://www.gnu.org/licenses/fdl.texi>.
15082         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
15084 2001-08-10  Paul Eggert  <eggert@twinsun.com>
15086         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
15087         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
15088         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
15089         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
15090         m4/sanity.m4, tests/README, tests/aclocal.m4,
15091         tests/atspecific.m4, tests/base.at, tests/compile.at,
15092         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
15093         tests/semantics.at, tests/suite.at, tests/tools.at,
15094         tests/torture.at: Add copyright notice.
15096         * tests/mktests.sh: Update year in copyright notice.
15098 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
15100         * tests/semantics.at (AC_C_BIGENDIAN): New test.
15102 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
15104         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
15105         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
15106         * doc/autoconf.texi (C Compiler Characteristics): Update
15107         documentation for AC_C_BIGENDIAN.
15109 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
15111         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
15112         magic values from an object file when cross-compiling.
15113         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
15115 2001-08-10  Akim Demaille  <akim@epita.fr>
15117         * bin/autom4te.in (&handle_output): Don't use `grep' with side
15118         effects.
15119         Suggested by Russ Allbery.
15121 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
15123         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
15124         current $prefix to the sub-configures.
15126 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
15128         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
15129         extension (needed on BeOS).  Reported by Guido van Rossum.
15131 2001-08-09  Akim Demaille  <akim@epita.fr>
15133         * bin/autom4te.in ($icache): Load it only if older than autom4te.
15135 2001-08-07  Akim Demaille  <akim@epita.fr>
15137         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
15138         removed.
15139         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
15140         No need to remove the files before and after the each test, before
15141         each test and at the end of the suite is enough.
15142         Display only the children `times', not the shell's.
15143         If the test failed or was skipped, at-times is not available.
15145 2001-08-07  Akim Demaille  <akim@epita.fr>
15147         Always produce testsuite.log, including when there are no
15148         failures.  This helps getting information on skipped tests, and
15149         duration of the tests.  Err, implement the latter btw.
15151         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
15152         Dump information on the first run of each test.
15153         (AT_CLEANUP): Create `at-times' containing the duration of the
15154         test group.
15156 2001-08-07  Akim Demaille  <akim@epita.fr>
15158         The use of `dumpstat' revealed that `len' was used although it
15159         should not.  m4_text_wrap was using it, but in the Autoconf world
15160         where it is legal.  Hence (i) test M4sh in its own world, not
15161         Autoconf's, and (ii), ahem, fix the bug :)
15163         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
15164         does not like `' instead of [].
15165         (AT_INIT): Forbid `^_?AT_'.
15166         And don't output such tokens.
15167         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
15168         `script.as', and `autom4te.cache'.
15169         Remove `empty' and `macro' which are no longer used.
15170         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
15171         * tests/m4sugar.at: Use it.
15172         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
15174 2001-08-07  Akim Demaille  <akim@epita.fr>
15176         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
15178 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
15180         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
15182 2001-08-04  Akim Demaille  <akim@epita.fr>
15184         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
15185         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
15186         AC_TRY_LINK.
15187         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
15188         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
15189         (AC_F77_MAIN): Likewise.
15191 2001-08-04  Akim Demaille  <akim@epita.fr>
15193         Don't rely on M4sugar outputting the patterns in files, since we
15194         might process the output _without_ running m4, hence without these
15195         files.
15197         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
15198         * bin/autom4te.in (@Request::includes): Remove, unused.
15199         (@Request::source): Rename as...
15200         (@Request::input): this.
15201         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
15202         (&handle_output): Fetch the patterns from the traces.
15203         `$forbidden' and `$allowed' are constant: use m//o.
15204         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
15205         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
15207 2001-08-04  Akim Demaille  <akim@epita.fr>
15209         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
15210         autoconf', i.e., in addition to caching traces, cache the output.
15212         * bin/autom4te.in (Request::cache): Rename as...
15213         (Request::id): this.
15214         ($cache, $icache, $tcache, $ocache): New.
15215         (&handle_m4): Save M4 output in the cache instead of $tmp.
15216         (&handle_output): Adjust.
15217         (&up_to_date_p): Check that the output cache is up to date too.
15218         (top level): Run `&handle_m4' iff force or the cache is invalid.
15219         Run `&handle_output' if the output cache is more recent.
15221 2001-08-04  Akim Demaille  <akim@epita.fr>
15223         * bin/autom4te.in ($force): New.
15224         (&parse_args, &print_usage): -f, --force is a new option.
15225         (&handle_output): CPP directives might have spaces after `#'.
15226         (&parse_args): The first file only can be frozen.
15228 2001-08-04  Akim Demaille  <akim@epita.fr>
15230         Don't let autom4te compute the `include' traces several times:
15231         first check that the trace cache file is up to date, and then
15232         compare its timestamp with that of the output.
15234         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
15235         the preamble.  Don't require 5.005 as Autom4te::General does it,
15236         and better yet (use `use', not `require'!).
15237         * lib/Autom4te/Struct.pm: Rename the last occurrences of
15238         Class::Struct as Autom4te::Struct.
15239         * lib/Autom4te/General.pm (File::stat): Use it.
15240         (&mtime): New, export it.
15241         * bin/autom4te.in: Use it.
15242         Declare `$req' is invalid if it is outdated.
15243         Don't declare it valid before saving it if something went wrong.
15245 2001-08-04  Akim Demaille  <akim@epita.fr>
15247         Autom4te shall not encode Autoconf data, and preselecting traces
15248         must be proposed to the users.
15250         * bin/autom4te.in (@required_trace): Remove.
15251         (@preselect): New.
15252         (&parse_args, &print_usage): -p, --preselect is a new option.
15253         (&up_to_date_p): Adjust.
15254         * bin/autoconf.in: Preselect some Autoconf macros.
15256 2001-08-04  Akim Demaille  <akim@epita.fr>
15258         * tests/tools.at (autoconf --trace: user macros): Check traces on
15259         macros invoked without arguments, and macros invoked with multiple
15260         lines arguments.
15262 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
15264         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
15265         arguments.
15267 2001-08-03  Akim Demaille  <akim@epita.fr>
15269         * bin/autoconf.in ($@): Work around the usual sh bug.
15270         From Nicolas Joly.
15272 2001-08-03  Akim Demaille  <akim@epita.fr>
15274         Clean up the handling of the M4 builtins tracing exception.
15276         * bin/autom4te.in (Request::request): Don't complete M4 builtins
15277         trace requests.
15278         (@m4_builtins): Rename as...
15279         (@m4_builtin): this.
15280         (%m4_builtin_alternate_name): New.
15281         (&parse_args): Complete the trace requests with alternate names.
15282         (&handle_traces): Hence no longer do it here.
15283         (&trace_requests): Remove, unused.
15285 2001-08-03  Akim Demaille  <akim@epita.fr>
15287         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
15288         m4_if, and m4_wrap.
15290 2001-08-03  Akim Demaille  <akim@epita.fr>
15292         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
15293         (m4_divert_pop): Dump the whole diversion stack when a diversion
15294         mismatch happens.
15295         * bin/autom4te.in (&handle_output): Remember of the first
15296         occurrence of a possibly undefined macro, not the last.
15297         Complain about the possibly undefined macros in the same order as
15298         the appear in the output.
15299         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
15300         * tests/tools.at (autoconf: forbidden tokens, basic)
15301         (autoconf: forbidden tokens, exceptions): No longer sort
15302         autoconf's stderr, as it is now deterministic.
15303         Check that `dnl' is caught.
15305 2001-08-01  Akim Demaille  <akim@epita.fr>
15307         * configure.ac: Bump to 2.52c.
15309 2001-08-01  Akim Demaille  <akim@epita.fr>
15311         Version 2.52b.
15313         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
15315 2001-08-01  Akim Demaille  <akim@epita.fr>
15317         Version 2.52a.
15319 2001-08-01  Akim Demaille  <akim@epita.fr>
15321         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
15322         `die'.
15323         (&END): New.
15324         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
15325         `END', as `Autom4te::General::END' will be triggered.
15326         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
15327         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
15328         system to run `mv', `rm', and `cmp'.
15330 2001-08-01  Akim Demaille  <akim@epita.fr>
15332         * lib/Autom4te/General.pm (&unique): New.
15333         * bin/autoscan.in (&output): Use it to issue trace requests once.
15335 2001-08-01  Akim Demaille  <akim@epita.fr>
15337         * lib/Autom4te/General.pm: New.
15338         * bin/autom4te.in (Autom4te::General): Use it.
15339         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
15340         (&find_configure_ac, &find_slave): Remove.
15341         * bin/autoscan.in: Likewise.
15342         * bin/autoupdate.in: Likewise.
15344 2001-08-01  Akim Demaille  <akim@epita.fr>
15346         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
15347         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
15348         * bin: here, new directory.
15349         * lib/Autoconf: Rename as...
15350         * lib/Autom4te: this, to please case insensitive junkie OSes.
15352 2001-08-01  Akim Demaille  <akim@epita.fr>
15354         * autom4te.in ($m4): Handle the --nesting-limit.
15355         * autoconf.in (M4): Remove.
15357 2001-08-01  Akim Demaille  <akim@epita.fr>
15359         * autoconf.in ($AWK): Remove, no longer used.
15360         * test/tools.at: Use AT_CHECK_AUTOCONF.
15361         (AWK portability): Remove, for autoconf no longer uses AWK.
15362         (Syntax of the Perl scripts): New.
15363         * configure.ac: autoconf no longer needs an AWK with a good
15364         regexp engine.
15365         Use a static test on AC_PACKAGE_VERSION.
15366         * autom4te.in (&up_to_date_p): Output depends on the arguments.
15367         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
15368         * tests/atconfig.in (PERL): New.
15370 2001-08-01  Akim Demaille  <akim@epita.fr>
15372         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
15373         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
15374         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
15375         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
15376         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
15377         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
15378         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
15379         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
15380         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
15381         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
15382         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
15383         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
15384         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
15385         * lib/autoconf/c.m4: here, new file.
15387         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
15388         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
15389         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
15390         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
15391         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
15392         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
15393         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
15394         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
15395         (AC_F77_FUNC): Move to...
15396         * lib/autoconf/fortran.m4: here, new file.
15398 2001-08-01  Akim Demaille  <akim@epita.fr>
15400         * acfunctions.m4: Rename as...
15401         * lib/autoconf/functions.m4: this.
15402         * acgeneral.m4: Rename as...
15403         * lib/autoconf/general.m4: this.
15404         * acheaders.m4: Rename as...
15405         * lib/autoconf/headers.m4: this.
15406         * aclang.m4: Rename as...
15407         * lib/autoconf/lang.m4: this.
15408         * acoldnames.m4: Rename as...
15409         * lib/autoconf/oldnames.m4: this.
15410         * acspecific.m4: Rename as...
15411         * lib/autoconf/specific.m4: this.
15412         * actypes.m4: Rename as...
15413         * lib/autoconf/types.m4: this.
15414         * autoconf.m4: Rename as...
15415         * lib/autoconf/autoconf.m4: this.
15417         * m4sugar.m4: Rename as...
15418         * lib/m4sugar/m4sugar.m4: this.
15419         * m4sh.m4: Rename as...
15420         * lib/m4sugar/m4sh.m4: this.
15422         * tests/atgeneral.m4: Rename as...
15423         * lib/autotest/general.m4: this.
15425         * acfunctions: Rename as...
15426         * lib/autoscan/functions: this.
15427         * acheaders: Rename as...
15428         * lib/autoscan/headers: this.
15429         * acidentifiers: Rename as...
15430         * lib/autoscan/identifiers: this.
15431         * aclibraries: Rename as...
15432         * lib/autoscan/libraries: this.
15433         * acmakevars: Rename as...
15434         * lib/autoscan/makevars: this.
15435         * acprograms: Rename as...
15436         * lib/autoscan/programs: this.
15438 2001-08-01  Akim Demaille  <akim@epita.fr>
15440         * doc/autoconf.texi: Moving/deleting open files is not portable.
15441         Portability issues for `.' (source), and more information about sed.
15443 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
15445         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
15446         which has a special meaning and is not a reference to libibmil.a.
15447         Reported by Matteo Frigo.
15449 2001-07-25  Pavel Roskin  <proski@gnu.org>
15451         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
15452         output.
15454 2001-07-25  Akim Demaille  <akim@epita.fr>
15456         * autoconf.in: Try to define the variables before using them.
15457         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
15458         instead of `$perllibdir'.
15459         * tests/atconfig.in ($autom4te_perllibdir): Export it.
15461 2001-07-25  Akim Demaille  <akim@epita.fr>
15463         * autoconf.in (ac_LF_and_DOT): Remove, unused.
15465 2001-07-24  Akim Demaille  <akim@epita.fr>
15467         Let autoconf use autom4te for traces.
15469         * autoconf.in ($task, task trace): Remove, merely pass --trace to
15470         autom4te.
15471         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
15472         (Because I found no way for autom4te to accept `-').
15473         * autom4te.in (&Request::request): Beware of M4 builtins.
15474         (END): Don't try to remove the content of an empty dir.
15475         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
15476         (&handle_output): Set a default value to `$forbidden'.
15477         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
15478         ($autoconf): Pass --debug and --verbose.
15479         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
15480         cache.
15482 2001-07-24  Akim Demaille  <akim@epita.fr>
15484         Let autoconf use autom4te to create configure.
15486         * autoconf.in ($automate): New var.
15487         (task script): Use autom4te.
15488         * autom4te.in (File::Spec): Use it.
15489         (&find_file): New.
15490         (&parse_args): --warning is -W, not -w.
15491         Find the top level files.
15492         (&handle_m4): Pass the warnings flags.
15493         Don't report verbosely m4's failures, unless requested.
15494         (&handle_output): Don't complain for forbidden tokens in comments.
15495         Be sure to report all the forbidden tokens within a single line.
15496         (&trace_format_to_m4): Preserve `$_'.
15497         (&handle_traces): Sort the output macros.
15498         (&up_to_date_p): Find the files before trying to get its time stamp.
15500 2001-07-24  Akim Demaille  <akim@epita.fr>
15502         * Makefile.am: Ship, build and install Autom4te.
15503         (SUBDIRS): Add lib.
15504         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
15505         * configure.in: Require Perl.
15506         * man/autom4te.in: New.
15508 2001-07-19  Paul Eggert  <eggert@twinsun.com>
15510         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
15511         example, rather than (exit 1); exit (which isn't portable).
15513 2001-07-18  Akim Demaille  <akim@epita.fr>
15515         Version 2.52.
15517 2001-07-18  Akim Demaille  <akim@epita.fr>
15519         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
15520         was run, while they are needed also when it is expanded.
15521         Reported by Nicolas Joly.
15523         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
15524         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
15525         AC_F77_DUMMY_MAIN being expanded.
15527 2001-07-18  Akim Demaille  <akim@epita.fr>
15529         * configure.in: Bump to 2.51a.
15531 2001-07-17  Akim Demaille  <akim@epita.fr>
15533         Version 2.51.
15535 2001-07-17  Akim Demaille  <akim@epita.fr>
15537         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
15538         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
15540 2001-07-17  Akim Demaille  <akim@epita.fr>
15542         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
15543         used.  Well, then use the prototypes when you can, and runtime as
15544         a last resort.
15545         Reported by Artur Frysiak
15547         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
15548         (AC_FUNC_GETPGRP): Use it.
15549         First try to compile with 0-ary or 1-ary calls.
15551 2001-07-17  Akim Demaille  <akim@epita.fr>
15553         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
15554         replacement type.
15555         From Paul Eggert.
15557 2001-07-17  Akim Demaille  <akim@epita.fr>
15559         * Makefile.maint: Sync. with cppi 1.10.
15561 2001-07-17  Akim Demaille  <akim@epita.fr>
15563         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
15564         AC_F77_DUMMY_MAIN has been run.
15565         From Pavel Roskin and Steven G. Johnson.
15567 2001-07-17  Akim Demaille  <akim@epita.fr>
15569         * configure.in: Rename as...
15570         * configure.ac: this.
15572 2001-07-17  Akim Demaille  <akim@epita.fr>
15574         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
15575         rules.
15576         From Marc Espie.
15577         * Makefile.maint (release-archive-dir): Rename as...
15578         (release_archive_dir): this, so that it can be specialized in
15579         Makefile.
15581 2001-07-14  Akim Demaille  <akim@epita.fr>
15583         * configure.in: Bump to 2.50d.
15585 2001-07-14  Akim Demaille  <akim@epita.fr>
15587         Version 2.50c.
15588         * Makefile.maint (alpha): Typo.
15590 2001-07-14  Akim Demaille  <akim@epita.fr>
15592         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
15594 2001-07-14  Akim Demaille  <akim@epita.fr>
15596         * config/config.guess, config/config.sub, config/texinfo.tex
15597         * doc/standards.texi, doc/make-stds.texi: Update.
15599 2001-07-14  Akim Demaille  <akim@epita.fr>
15601         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
15603 2001-07-14  Akim Demaille  <akim@epita.fr>
15605         * Makefile.maint (maintainer-check): Rename as...
15606         (maintainer-distcheck): this.
15607         (changelog-check, static-check): New.
15608         Use them.
15610 2001-07-14  Kevin Ryde  <user42@zip.com.au>
15612         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
15613         for CXX is g++, not gcc.
15615 2001-07-14  Akim Demaille  <akim@epita.fr>
15617         * doc/autoconf.texi (Files): New subsection.
15619 2001-07-14  Akim Demaille  <akim@epita.fr>
15621         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
15622         of...
15623         (Generic Compiler Characteristics): this.
15624         (C++ Compiler): New subsection.
15626 2001-07-14  Akim Demaille  <akim@epita.fr>
15628         * autoscan.in: Use IO::File.
15629         Adjust all the routines to use it.
15630         ($log): New file (autoscan.log).
15631         (output): Dump detailed logs into $log, and a shortened version to
15632         stderr.
15633         (&scan_makefile): Refine the regexp catching tokens in the code.
15634         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
15635         and the `configure.ac' checking feature.
15637 2001-07-12  Akim Demaille  <akim@epita.fr>
15639         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
15640         Reported by Michael Elizabeth Chastain.
15642         * autoconf.in: Refuse such AWK.
15643         * configure.in: Likewise.
15644         * Makefile.am (acversion.m4): Do not use move-if-change this file
15645         has dependencies.
15646         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
15648 2001-07-10  Jens Petersen  <petersen@redhat.com>
15650         * autoscan.in (&scan_makefile): Improve programs regexp to parse
15651         things like "g++", "file.c" and "some-conf" as tokens.
15652         (&scan_file): Match C++ files extensions.
15653         If the filename extension is C++ then ask for c++.
15655 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
15657         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
15658         AC_TRY_LINK_FUNC, to check whether defining a dummy
15659         main-like routine is needed for linking with F77 libs.
15661 2001-07-05  Pavel Roskin  <proski@gnu.org>
15663         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
15664         after using break.
15665         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
15666         linking.
15668 2001-07-05  Akim Demaille  <akim@epita.fr>
15670         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
15671         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
15672         Makes' lives.
15673         Reported by Nicolas Joly.
15675 2001-07-04  Akim Demaille  <akim@epita.fr>
15677         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
15678         up.
15679         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
15680         warnings from compilers.
15681         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
15682         for all the compilers, not only GNU.  Hence move from here...
15683         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
15685 2001-07-04  Akim Demaille  <akim@epita.fr>
15687         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
15688         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
15689         AC_COMPILE_IFELSE.
15691 2001-07-04  Akim Demaille  <akim@epita.fr>
15693         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
15694         the ``strings.h'' change claimed below.
15696 2001-07-04  Akim Demaille  <akim@epita.fr>
15698         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
15700 2001-07-04  Akim Demaille  <akim@epita.fr>
15702         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
15703         strings.h if usable with string.h.
15704         Suggested by Paul Eggert.
15706 2001-07-04  Akim Demaille  <akim@epita.fr>
15708         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
15709         From Jens Petersen.
15711 2001-07-03  Akim Demaille  <akim@epita.fr>
15713         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
15714         etc. in the log.
15716 2001-07-03  Akim Demaille  <akim@epita.fr>
15718         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
15719         compiler, not the preprocessor.
15720         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
15721         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
15722         the right thing.
15723         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
15724         earlier if there are.
15726 2001-07-03  Akim Demaille  <akim@epita.fr>
15728         * autoscan.in ($initfile): Remove.
15729         (&find_file): Rename as...
15730         (&scan_file): this.
15731         Immediately scan the current file, instead of gathering them, and
15732         later having them handled by &scan_files.
15733         (&scan_files): Merely invoke Find::File.
15734         Adjust.
15736 2001-07-02  Akim Demaille  <akim@epita.fr>
15738         * autoscan.in: Formatting changes, matching the invocation order.
15739         (File::Find): Use it instead of Perl 4's `find.pl'.
15740         (&wanted): Rename as...
15741         (&find_file): this.
15743 2001-07-01  Pavel Roskin  <proski@gnu.org>
15745         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
15746         break in the argument to AC_TRY_LINK_FUNC.
15747         (AC_F77_MAIN): Remove conftest* after using break in the
15748         argument to AC_TRY_LINK.
15750 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
15752         Add alternate 'main' routine detection for linking C/C++ with Fortran,
15753         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
15755         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
15756         dummy alternate main is required even if the user provides her own
15757         'main'.
15758         (AC_F77_MAIN): New macro to detect whether it is possible to
15759         provide an alternate 'main' function name, using the 'main' from
15760         the Fortran libraries.
15761         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
15762         cross-language link tests can be performed successfully.
15763         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
15764         after $LIBS, for consistency; this should be the general rule since
15765         the user may want to link to Fortran libraries that require $FLIBS.
15766         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
15768 2001-06-29  Pavel Roskin  <proski@gnu.org>
15770         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
15771         at-stdout and at-stderr instead of removing the newline
15772         from the echo output, which is not guaranteed to work.
15774 2001-06-28  Jens Petersen  <petersen@redhat.com>
15776         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
15777         confdefs.h when non-zero.
15779 2001-06-28  Akim Demaille  <akim@epita.fr>
15781         * configure.in: Bump to 2.50c.
15783 2001-06-26  Akim Demaille  <akim@epita.fr>
15785         Version 2.50b.
15787 2001-06-26  Akim Demaille  <akim@epita.fr>
15789         Version 2.50a.
15791 2001-06-25  Pavel Roskin  <proski@gnu.org>
15793         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
15794         argument, AUTOCONF-FLAGS.
15795         * tests/mktests.sh (update_exclude_list): Add
15796         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
15797         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
15798         AC_FUNC_WAIT3 with "-W no-obsolete".
15800 2001-06-25  Akim Demaille  <akim@epita.fr>
15802         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
15804 2001-06-25  Akim Demaille  <akim@epita.fr>
15806         * autoscan.in (%macro): Now maps from word to list of macros.
15807         (&init_tables): Die when a word which is already handled by
15808         explicit macros is mapped to the default macro.
15809         (&print_unique): Remove, inlined in...
15810         (&output_kind): here.
15811         (File::Basename): Use it.
15812         (&output): Sort the CONFIG_FILES.
15813         * acheaders: Normalize.
15814         * acfunctions: Likewise.
15816 2001-06-25  Akim Demaille  <akim@epita.fr>
15818         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
15819         characteristics in the logs.
15820         Suggested by Mo DeJong.
15822 2001-06-24  Akim Demaille  <akim@epita.fr>
15824         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
15825         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
15826         * doc/autoconf.texi (Autoconf 2.13): New section.
15828 2001-06-24  Akim Demaille  <akim@epita.fr>
15830         * autoconf.in (Task traces): Separate the error messages from the
15831         traces to improve robustness.
15833 2001-06-23  Akim Demaille  <akim@epita.fr>
15835         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
15836         three as failures are unlikely, and speed matters.
15838 2001-06-23  Akim Demaille  <akim@epita.fr>
15840         * doc/autoconf.texi (Redefined M4 Macros): New.
15842 2001-06-23  Akim Demaille  <akim@epita.fr>
15844         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
15845         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
15846         5.3.
15848 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
15850         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
15851         config.status targets to after the evaluation of the INIT-CMDS.
15852         Double quote config.status targets (used to be single quoted).
15854 2001-06-23  Akim Demaille  <akim@epita.fr>
15856         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
15857         Check the content of the created file.
15858         Check the ./config.status command line invocation.
15860 2001-06-23  Akim Demaille  <akim@epita.fr>
15862         * tests/foreign.at (Libtool): Reject prehistoric versions.
15864 2001-06-23  Akim Demaille  <akim@epita.fr>
15866         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
15867         preexisting files matching a.*.
15869 2001-06-23  Akim Demaille  <akim@epita.fr>
15871         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
15872         stderr.
15873         * doc/autoconf.texi (AC_ARG_VAR): Update.
15875 2001-06-21  Akim Demaille  <akim@epita.fr>
15877         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
15878         precious variables have changed.
15879         * tests/torture.at (AC_ARG_VAR): Adjust.
15881 2001-06-21  Akim Demaille  <akim@epita.fr>
15883         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
15884         but some sed choke on multiple `;', and other tools (e.g.,
15885         Automake), include the separator themselves.
15887         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
15889 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
15891         * doc/autoconf.texi (Functions Portability): Rename as...
15892         (Function Portability): this.
15893         (Function Portability): Document potential problems with unlink().
15895 2001-06-19  Paul Eggert  <eggert@twinsun.com>
15897         * NEWS, doc/autoconf.texi: Document quadrigraphs.
15899 2001-06-18  Akim Demaille  <akim@epita.fr>
15901         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
15903 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
15905         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
15906         (_AC_FUNC_VFORK): this.
15907         Remove AC_DEFINEs and don't guess cross-compilation values.
15908         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
15909         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
15910         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
15911         vfork doesn't work.
15912         Guess values if cross-compiling, but warn.
15913         * acfunctions: Add AC_FUNC_FORK.
15914         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
15915         and vfork appropriately.
15917 2001-06-18  Akim Demaille  <akim@epita.fr>
15919         * doc/autoconf.texi (Functions Portability): New section.
15921 2001-06-18  Akim Demaille  <akim@epita.fr>
15923         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
15924         in $M4.
15925         Suggested by Andreas Schwab.
15927 2001-06-18  Akim Demaille  <akim@epita.fr>
15929         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
15930         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
15931         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
15932         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
15933         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
15934         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
15935         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
15936         the converse).
15938 2001-06-18  Akim Demaille  <akim@epita.fr>
15940         * doc/autoconf.texi (ms): New index.
15941         (Macro Index): Rename as...
15942         (Autoconf Macro Index): this.
15943         (M4 Macro Index): New appendix.
15944         (Programming in M4): New chapter.
15945         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
15946         (Quoting): Rename as...
15947         (M$ Quotation): this.
15948         Be part of `Programming in M4).
15950 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
15952         * tests/torture.at (AC_ARG_VAR): Set variables and export them
15953         in separate statements for compatibility with Tru64 v5.1.
15955 2001-06-17  Akim Demaille  <akim@epita.fr>
15957         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
15958         current values of the precious variables, not the previously
15959         cached values.
15960         Pass precious variables which are set to config.status.
15961         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
15962         * tests/torture.at (AC_ARG_VAR): New.
15964 2001-06-15  Paul Eggert  <eggert@twinsun.com>
15966         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
15967         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
15968         and explain why and how to replace them.
15969         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
15970         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
15972 2001-06-15  Akim Demaille  <akim@epita.fr>
15974         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
15975         Reported by Bruno Haible.
15977         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
15978          (_AC_ARG_VAR_PRECIOUS): to here.
15980 2001-06-15  Pavel Roskin  <proski@gnu.org>
15982         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
15983         an unused pointer use cast to this type and `if' statement to
15984         avoid warnings from the compiler.
15985         (AC_HEADER_TIME): Likewise.
15986         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
15987         in `if' statement to avoid warnings from the compiler. Declare
15988         ac_aggr static to avoid the need to initialize it.
15990 2001-06-14  Akim Demaille  <akim@epita.fr>
15992         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
15993         Macros'.
15995 2001-06-13  Akim Demaille  <akim@epita.fr>
15997         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
15998         Suggested by Alexander Mai.
16000 2001-06-13  Akim Demaille  <akim@epita.fr>
16002         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
16003         sys/types.h and sys/stat.h, and check for them.
16005 2001-06-13  Akim Demaille  <akim@epita.fr>
16007         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
16008         INCLUDES.
16010 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
16012         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
16013         succeeds and only try adding libdnet upon a failure.
16015 2001-06-12  Akim Demaille  <akim@epita.fr>
16017         * autoscan.in (&output_kind): Output the comment only if it exists.
16018         (%kind_comment): Add entry for `programs'.
16019         (&output_programs): Use &output_kind.
16020         (&output_functions, &output_identifiers, &output_headers)
16021         (&output_programs): Inline, and remove.
16023 2001-06-12  Akim Demaille  <akim@epita.fr>
16025         * autoscan.in (%kind_comment): New.
16026         (output_kind): New.
16027         (output_functions, output_identifiers, output_headers): Use it.
16029 2001-06-12  Akim Demaille  <akim@epita.fr>
16031         * autoscan.in (&print_unique): Take `$kind' and `$word' as
16032         arguments, to factor indirections into `%macro' and `%used'.
16033         (%generic_macro): Fix a typo.
16035 2001-06-12  Akim Demaille  <akim@epita.fr>
16037         * aclibraries: New.
16038         * autoscan.in (@kinds): Add `libraries'.
16039         Use `@kinds' instead of hard coded lists.
16040         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
16041         Remove, replaced by...
16042         (%used): this.
16044 2001-06-12  Akim Demaille  <akim@epita.fr>
16046         * autoscan.in (%functions_macros %headers_macros)
16047         (%identifiers_macros %programs_macros %makevars_macros): Remove,
16048         replaced by...
16049         (%macro): New.
16051 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
16053         * aclang.m4 (AC_NO_EXECUTABLES): Override
16054         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
16056 2001-06-11  Akim Demaille  <akim@epita.fr>
16058         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
16059         trailing new line.
16060         Reported by Andreas Schwab.
16062 2001-06-11  Akim Demaille  <akim@epita.fr>
16064         * Makefile.am, Makefile.maint: Typos.
16066 2001-06-09  Akim Demaille  <akim@epita.fr>
16068         * doc/autoconf.texi (Here-Documents): New section, gathering
16069         documentation about here-documents.
16070         Use `href', not `uref', and other changes.
16072 2001-06-09  Akim Demaille  <akim@epita.fr>
16074         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
16075         chapter.
16077 2001-06-09  Akim Demaille  <akim@epita.fr>
16079         * doc/autoconf.texi (Limitations of Builtins): Complete the
16080         description of the here-docs penalties with Alexandre Oliva's
16081         explanations.
16083 2001-06-01  Paul Eggert  <eggert@twinsun.com>
16085         * doc/autoconf.texi: Talk about here documents and speedups.
16086         Do not use "echo" on arbitrary strings.
16087         Spell "here-documents" consistently with the standard.
16089 2001-06-09  Akim Demaille  <akim@epita.fr>
16091         * doc/autoconf.texi (Concept Index): Introduce it.
16092         Regenerate the menus.
16094 2001-06-09  Akim Demaille  <akim@epita.fr>
16096         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
16097         * config/prev-version.txt: New.
16098         * config/move-if-change: New, for GNU libc.
16100 2001-06-06  Pavel Roskin  <proski@gnu.org>
16102         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
16104 2001-06-06  Akim Demaille  <akim@epita.fr>
16106         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
16107         properly when $1 is not a literal.
16108         Fixes PR Autoconf/187, reported by Bram Moolenaar.
16110 2001-06-06  Akim Demaille  <akim@epita.fr>
16112         Invoking AC_COPYRIGHT before AC_INIT fails.
16114         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
16115         * acgeneral.m4 (_m4_divert(VERSION_FSF))
16116         (_m4_divert(VERSION_USER)): New.
16117         (AC_COPYRIGHT): $2 is the diversion to use.
16118         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
16119         (AC_INIT): Remove dead comments as now it's commutative.
16121 2001-06-06  Akim Demaille  <akim@epita.fr>
16123         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
16124         PR autoconf/187.
16126 2001-06-05  Akim Demaille  <akim@epita.fr>
16128         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
16129         can be empty.
16130         `*dir' variables cannot be NONE.
16131         Reported by Mark Kettenis.
16133 2001-06-05  Paul Eggert  <eggert@twinsun.com>
16135         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
16137 2001-06-04  Akim Demaille  <akim@epita.fr>
16139         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
16140         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
16141         (AC_TR_SH): Move as...
16142         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
16143         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
16144         (AS_TR_SH): these.
16145         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
16146         (_AS_TR_SH_PREPARE): New.
16147         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
16148         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
16150 2001-06-02  Akim Demaille  <akim@epita.fr>
16152         * Makefile.am (.m4.m4f): Pass the options first.
16153         Fixes PR autoconf/182.
16155 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
16157         GNU getopt, when POSIXLY_CORRECT does not permute options and
16158         arguments.  So pass the options first.
16159         Fixes PR autoconf/184.
16161         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
16162         (run_m4): Remove files.
16163         (run_m4f): Remove.
16164         Update remainder of script to use them.
16165         (for warning in): Do not use a literal comma as it will not be
16166         split by IFS.
16168 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
16170         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
16171         Fortran compilers to check.
16172         (_AC_PROG_F77_V): Add '-###' as a possible option to print
16173         information on library and object files.
16174         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
16175         to check.
16177 2001-06-02  Akim Demaille  <akim@epita.fr>
16179         * autom4te.in (Request::@request): Declare with `vars', not `my',
16180         as it prevents updates via `do FILENAME'.
16182 2001-06-02  Akim Demaille  <akim@epita.fr>
16184         * configure.in (standards_texi): Remove, dead code.
16186 2001-06-02  Akim Demaille  <akim@epita.fr>
16188         * autom4te.in: New.
16190 2001-06-02  Pavel Roskin  <proski@gnu.org>
16192         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
16193         for signals other than 0 - exit with code 1.
16194         * m4sh.m4 (AS_TMPDIR): Likewise.
16195         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
16196         * autoheader.in: Likewise.
16197         * autoreconf.in: Likewise.
16198         * tests/torture.at (Signal handling): New test for the above.
16200 2001-06-01  Akim Demaille  <akim@epita.fr>
16202         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
16203         message.
16205 2001-05-31  Akim Demaille  <akim@epita.fr>
16207         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
16208         Add copyright and comments.
16209         * acheaders: Add stdint.h.
16210         Suggested by Paul Eggert.
16212 2001-05-31  Akim Demaille  <akim@epita.fr>
16214         * atgeneral.m4 (AT_INIT): Use $SHELL.
16215         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
16217 2001-05-31  Akim Demaille  <akim@epita.fr>
16219         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
16220         stdint.h.
16221         From Paul Eggert and Lars Hecking.
16223 2001-05-31  Akim Demaille  <akim@epita.fr>
16225         * tests/base.at: Adjust line numbers in error messages.
16227 2001-05-31  Akim Demaille  <akim@epita.fr>
16229         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
16230         to emit the bangshe line.
16231         Reported by David Carter.
16233 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
16235         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
16236         Fortran (95) compilers to check.
16238 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
16240         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
16241         Macro Archive URL.
16243 2001-05-23  Pavel Roskin  <proski@gnu.org>
16245         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
16246         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
16247         (AC_PROG_CXXCPP): Likewise.
16249 2001-05-22  Akim Demaille  <akim@epita.fr>
16251         * config: New directory.
16252         * configure.in: AC_CONFIG_AUX_DIR it.
16253         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
16255 2001-05-22  Akim Demaille  <akim@epita.fr>
16257         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
16258         * autoupdate.in: Specify the Emacs mode.
16259         * acversion.m4.in: Rename as...
16260         * acversion.m4: this.
16261         * tests/Makefile.am (CLEANFILES): More garbage.
16263 2001-05-22  Akim Demaille  <akim@epita.fr>
16265         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
16266         Rename as...
16267         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
16268         these.
16270 2001-05-21  Akim Demaille  <akim@epita.fr>
16272         * configure.in: Bump to 2.50a.
16275         -----
16277         Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
16278         Software Foundation, Inc.
16280         Copying and distribution of this file, with or without
16281         modification, are permitted provided the copyright notice and this
16282         notice are preserved.